/* ============================================================
   Diamond Crest Tobacco Company — Custom CSS
   Dark/Gold premium cigar brand aesthetic
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --gold:        #c9a84c;
    --gold-dark:   #b8973b;
    --gold-light:  #e8c96b;
    --dark-bg:     #111111;
    --dark-nav:    #1a1a1a;
    --dark-card:   #1e1e1e;
    --dark-border: #333333;
    --text-light:  #e8e0d0;
    --text-muted:  #888888;
    --cream:       #f8f5ef;
    --white:       #ffffff;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background: #fff;
    margin: 0;
    padding: 0;
}

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ---- Typography ---- */
h1, h2, h3, .font-serif { font-family: 'Playfair Display', serif; }

.text-gold { color: var(--gold) !important; }

/* ---- Buttons ---- */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.1s;
}
.btn-gold:hover, .btn-gold:focus {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #1a1a1a;
    transform: translateY(-1px);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: transparent;
    transition: all 0.2s;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #1a1a1a;
}

.badge-gold {
    background-color: var(--gold);
    color: #1a1a1a;
    font-weight: 700;
}

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-gate-box {
    background: #1a1a1a;
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.age-gate-diamond {
    font-size: 4rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.age-gate-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-gate-box p {
    color: #ccc;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.age-gate-buttons .btn {
    min-width: 240px;
}

.age-gate-disclaimer {
    font-size: 0.75rem;
    color: #666;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.age-gate-disclaimer a { color: var(--gold); }

/* ============================================================
   NAVBAR
   ============================================================ */
.dcc-navbar {
    background: var(--dark-nav);
    border-bottom: 2px solid var(--gold);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dcc-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dcc-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.dcc-brand:hover { color: var(--gold-light); text-decoration: none; }

.brand-diamond { color: var(--gold); margin-right: 0.25rem; }

/* Desktop nav links */
.dcc-nav-desktop {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.dcc-nav-desktop li a {
    color: #ccc;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.dcc-nav-desktop li a:hover { color: var(--gold); text-decoration: none; }

/* Cart link & badge */
.dcc-cart-link { position: relative; }

.dcc-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    right: -6px;
    line-height: 1;
}

/* Mobile controls (hamburger + cart icon) */
.dcc-nav-mobile-btns {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.dcc-nav-mobile-btns .dcc-cart-link {
    color: #ccc;
    font-size: 1.15rem;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 4px;
}

/* Hamburger button */
.dcc-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    border-radius: 6px;
    transition: background 0.2s;
}

.dcc-hamburger:hover { background: rgba(255,255,255,0.08); }

.dcc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ccc;
    border-radius: 2px;
    transition: background 0.2s;
}

.dcc-hamburger:hover span { background: var(--gold); }

/* ============================================================
   RIGHT-SIDE NAV DRAWER
   ============================================================ */

/* Overlay/backdrop */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 1100;
    pointer-events: none;
    transition: background 0.35s;
}

.nav-drawer-overlay.is-open {
    background: rgba(0,0,0,0.6);
    pointer-events: all;
}

/* Drawer panel */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: #111;
    border-left: 2px solid var(--gold);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

.nav-drawer.is-open {
    transform: translateX(0);
}

/* Drawer header */
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid #2a2a2a;
    background: #0d0d0d;
}

.nav-drawer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 700;
}

.nav-drawer-close {
    background: none;
    border: 1px solid #333;
    color: #aaa;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-drawer-close:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.08);
}

/* Drawer links */
.nav-drawer-links {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-drawer-links a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-left: 3px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    position: relative;
}

.nav-drawer-links a:hover {
    color: var(--gold);
    background: rgba(201,168,76,0.06);
    border-left-color: var(--gold);
    text-decoration: none;
}

.nd-icon {
    width: 32px;
    height: 32px;
    background: #1e1e1e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: background 0.2s;
}

.nav-drawer-links a:hover .nd-icon {
    background: var(--gold);
    color: #111;
}

.nd-cart-badge {
    margin-left: auto;
    background: var(--gold);
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Drawer footer */
.nav-drawer-footer {
    padding: 1rem 1.4rem;
    border-top: 1px solid #222;
}

.nd-warning {
    font-size: 0.72rem;
    color: #f0c040;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
}

.nd-warning i { margin-top: 2px; flex-shrink: 0; }

.nd-copy {
    font-size: 0.7rem;
    color: #444;
    margin: 0;
}

/* Show/hide based on screen size */
@media (min-width: 992px) {
    .dcc-nav-desktop { display: flex; }
    .dcc-nav-mobile-btns { display: none; }
}

@media (max-width: 991px) {
    .dcc-nav-desktop { display: none; }
    .dcc-nav-mobile-btns { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.dcc-hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #0f0f0f 100%);
    background-image: url('/assets/farm.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dcc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.12) 0%, transparent 70%);
    z-index: 1;
}

.dcc-hero .hero-overlay { z-index: 0; }
.dcc-hero .hero-content { z-index: 2; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 6rem 1.5rem;
}

.hero-diamond {
    font-size: 3.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
    animation: pulse-gold 3s infinite;
}

@keyframes pulse-gold {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #bbb;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.hero-cta {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ============================================================
   WARNING BANNER
   ============================================================ */
.warning-banner {
    background: #2d1a00;
    border-top: 1px solid #5a3800;
    border-bottom: 1px solid #5a3800;
    padding: 0.6rem 0;
    color: #f0c040;
    font-size: 0.82rem;
    text-align: center;
}

.warning-banner p { margin: 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.dcc-about { background: #fff; }

.about-img-frame {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-placeholder {
    text-align: center;
    color: var(--gold);
}

.about-placeholder .about-diamond { font-size: 5rem; display: block; margin-bottom: 1rem; }
.about-placeholder p { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }

.section-eyebrow {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section-subtext { color: #777; }

.about-stats .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
}

.about-stats .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

/* ============================================================
   PRODUCT CARDS (Homepage)
   ============================================================ */
.product-card {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.product-vitola-badge {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.product-card-body { padding: 1.5rem; }

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-pricing { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem; }
.price-single { color: #444; font-weight: 600; font-size: 0.95rem; }
.price-box { color: var(--gold); font-weight: 700; font-size: 0.95rem; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.dcc-page-header {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    padding: 4rem 0 3rem;
    border-bottom: 2px solid var(--gold);
}

.page-diamond {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
}

.page-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-subtitle { color: #888; font-size: 1rem; margin: 0; }

/* Shop product cards */
.shop-product-card {
    background: #fff;
    border: 1px solid #e0dbd2;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.shop-product-img {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.shop-product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.shop-product-card:hover .shop-product-img img {
    opacity: 0.9;
    transform: scale(1.03);
}

.vitola-display { text-align: center; }
.vitola-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    display: block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.shop-product-body { padding: 1.5rem; }

.shop-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.shop-product-desc { color: #666; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }

.pricing-grid {
    display: flex;
    justify-content: space-between;
    background: var(--cream);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.price-option { text-align: center; }
.price-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #888; margin-bottom: 0.2rem; }
.price-value { display: block; font-size: 1.1rem; font-weight: 700; color: var(--gold); }

.qty-input { max-width: 70px; text-align: center; }

/* Shipping teaser */
.shipping-teaser {
    background: var(--cream);
    border: 1px solid #e0dbd2;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.dcc-card { border: 1px solid #e0dbd2; border-radius: 8px; overflow: hidden; }
.dcc-card-header {
    background: #1a1a1a !important;
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold) !important;
}

.cart-table th { font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; background: #f8f5ef; }

.shipping-option {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.shipping-option:hover { border-color: var(--gold); background: #fffbf3; }
.shipping-option.selected { border-color: var(--gold); background: #fffbf3; }
.shipping-option .form-check-input { margin-top: 0.25rem; }
.shipping-option .form-check-label { cursor: pointer; width: 100%; }
.shipping-price { float: right; font-weight: 700; color: var(--gold); }

.summary-row span { color: #555; }

/* ============================================================
   ORDER CONFIRMATION
   ============================================================ */
.confirmation-box { padding: 2rem; background: #f8f5ef; border-radius: 10px; border: 2px solid var(--gold); }
.confirm-icon { font-size: 5rem; color: #28a745; margin-bottom: 1rem; }
.order-number-badge {
    display: inline-block;
    background: var(--dark-nav);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.dcc-why { background: #fff; }
.why-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.why-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: #1a1a1a; margin-bottom: 0.5rem; }
.why-text { color: #666; font-size: 0.9rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.dcc-cta {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}
.cta-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 2rem; margin-bottom: 0.75rem; }
.cta-sub { color: #888; margin-bottom: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.dcc-footer {
    background: #0d0d0d;
    border-top: 2px solid var(--gold);
    padding: 3rem 0 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    color: var(--gold) !important;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-tagline { color: #666; line-height: 1.6; }
.footer-domain { color: #555; }
.footer-heading { color: #aaa; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 1rem; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: #666; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-contact { color: #666; line-height: 1.9; }
.footer-contact i { color: var(--gold); margin-right: 0.4rem; }

/* Tobacco Warning */
.tobacco-warning {
    background: rgba(45, 26, 0, 0.8);
    border: 1px solid #5a3800;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    color: #f0c040;
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.tobacco-warning p { margin-bottom: 0.4rem; }
.tobacco-warning p:last-child { margin-bottom: 0; }

.footer-bottom { color: #444; font-size: 0.8rem; border-top: 1px solid #222; padding-top: 1.5rem; margin-top: 1rem; }


/* ============================================================
   CHECKOUT PROGRESS BAR
   ============================================================ */
.cpb-wrap {
    background: #111;
    border-bottom: 2px solid var(--gold);
    padding: 1.25rem 0;
}

.cpb-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.cpb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.cpb-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #555;
    transition: all 0.3s;
}

.cpb-active .cpb-circle {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
    box-shadow: 0 0 0 4px rgba(201,168,76,0.2), 0 0 20px rgba(201,168,76,0.35);
}

.cpb-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    font-weight: 700;
    transition: color 0.3s;
}

.cpb-active .cpb-label { color: var(--gold); }

.cpb-line {
    flex: 1;
    max-width: 100px;
    height: 2px;
    background: linear-gradient(to right, #333, #2a2a2a);
    margin: 0 0.5rem;
    margin-bottom: 1.4rem;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.cart-flash {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.cart-flash-success { background: #0b2117; color: #4ddb8a; border-bottom: 1px solid #1a5c35; }
.cart-flash-error   { background: #2b0d0d; color: #f07070; border-bottom: 1px solid #7a1c1c; }

/* ============================================================
   CART SECTION
   ============================================================ */
.cart-section { background: #f7f4ef; min-height: 60vh; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.empty-state-inner { max-width: 480px; margin: 0 auto; }

.es-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.es-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed rgba(201,168,76,0.3);
    animation: ring-spin 12s linear infinite;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

.es-icon {
    position: relative;
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.55;
    display: block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    animation: es-float 3s ease-in-out infinite;
}

@keyframes es-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.es-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.es-sub {
    color: #777;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.es-btn { padding: 0.85rem 2.5rem; font-size: 1rem; }

/* Suggested products (empty state) */
.suggested-products {
    border-top: 1px solid #e4dfd6;
    padding-top: 3rem;
    margin-top: 1rem;
}

.suggested-header { text-align: center; margin-bottom: 2rem; }

.suggested-eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.suggested-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin: 0;
}

.sugg-card {
    background: #fff;
    border: 1px solid #e4dfd6;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sugg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.sugg-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.sugg-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}

.sugg-vitola {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.sugg-body { padding: 1.1rem 1.2rem; }

.sugg-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.sugg-prices {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #888;
}

.sugg-box-price { font-weight: 700; color: var(--gold); }

/* ============================================================
   PANEL  (shared card shell)
   ============================================================ */
.panel {
    background: #fff;
    border: 1px solid #e4dfd6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

.panel-head {
    background: #1a1a1a;
    color: var(--gold);
    padding: 0.95rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.92rem;
    border-bottom: 2px solid var(--gold);
}

.panel-head-note { font-size: 0.75rem; color: #888; font-weight: 400; }

.panel-body { padding: 1.4rem; }

.panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: #faf8f4;
    border-top: 1px solid #f0ece5;
}

.pill-badge {
    background: var(--gold);
    color: #111;
    border-radius: 20px;
    padding: 0.18rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.link-danger {
    font-size: 0.82rem;
    font-weight: 600;
    color: #c0392b;
    text-decoration: none;
    transition: color 0.2s;
}

.link-danger:hover { color: #7b241c; text-decoration: none; }

/* ============================================================
   CART ITEM ROWS
   ============================================================ */
.ci-list { border-bottom: 1px solid #f0ece5; }

.ci-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f5f1eb;
    transition: background 0.15s;
}

.ci-row:last-child { border-bottom: none; }
.ci-row:hover { background: #fdfaf5; }

/* Thumb */
.ci-thumb {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e4dfd6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ci-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ci-pill {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
}

.ci-pill-single { background: rgba(0,0,0,0.75); color: var(--gold); }
.ci-pill-box    { background: var(--gold); color: #111; }

/* Meta */
.ci-meta { flex: 1; min-width: 0; }

.ci-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.ci-unit { font-size: 0.78rem; color: #aaa; }

/* Stepper */
.ci-stepper { flex-shrink: 0; }

.stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
    background: #fff;
}

.st-btn {
    width: 34px;
    height: 38px;
    background: #f7f4ef;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #555;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.st-btn:hover { background: var(--gold); color: #111; }

.st-input {
    width: 46px;
    height: 38px;
    border: none;
    border-left: 1.5px solid #e8e3db;
    border-right: 1.5px solid #e8e3db;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    -moz-appearance: textfield;
    background: #fff;
    outline: none;
}

.st-input::-webkit-inner-spin-button,
.st-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Subtotal */
.ci-subtotal { flex-shrink: 0; text-align: right; min-width: 78px; }

.ci-sub-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #bbb;
    margin-bottom: 2px;
}

.ci-sub-val {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
}

/* Delete button */
.ci-del { flex-shrink: 0; }

.del-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #f5c6cb;
    background: #fff5f5;
    color: #c0392b;
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.del-btn:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   SHIPPING OPTIONS
   ============================================================ */
.ship-opt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 2px solid #e4dfd6;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 0.6rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    background: #fff;
}

.ship-opt:hover {
    border-color: var(--gold);
    background: #fffcf4;
}

.ship-opt-sel {
    border-color: var(--gold);
    background: #fffcf4;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.ship-radio { display: none; }

.ship-opt-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.ship-opt-sel .ship-opt-icon {
    background: var(--gold);
    color: #111;
}

.ship-opt-text { flex: 1; }

.ship-opt-name {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 2px;
}

.ship-opt-price {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
}

.ship-opt-check {
    font-size: 1.3rem;
    color: #ddd;
    transition: color 0.2s;
    flex-shrink: 0;
}

.ship-opt-sel .ship-opt-check { color: var(--gold); }

/* ============================================================
   ORDER SUMMARY BOX
   ============================================================ */
.summary-box {
    background: #fff;
    border: 1px solid #e4dfd6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.sb-head {
    background: #1a1a1a;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.sb-body { padding: 1.5rem; }

.sb-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    color: #555;
}

.sb-row strong { color: #1a1a1a; }

.sb-ship-name {
    font-size: 0.76rem;
    color: #aaa;
    margin-bottom: 0.75rem;
    padding-left: 2px;
}

.sb-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0dbd2, transparent);
    margin: 1rem 0;
}

.sb-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sb-total > span:first-child { font-size: 1rem; font-weight: 700; color: #1a1a1a; }

.sb-total-amt {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.sb-checkout-btn {
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 10px;
}

/* Trust items */
.sb-trust {
    border-top: 1px solid #f0ece5;
    padding-top: 1rem;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sb-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: #666;
}

.sb-trust-item i {
    width: 18px;
    color: var(--gold);
    font-size: 0.82rem;
    text-align: center;
    flex-shrink: 0;
}

/* Legal notice */
.sb-legal {
    margin-top: 1rem;
    padding: 0.7rem 0.85rem;
    background: #fdf9f0;
    border: 1px solid #ede5cc;
    border-radius: 8px;
    font-size: 0.71rem;
    color: #a08040;
    line-height: 1.55;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .summary-box { margin-top: 1.5rem; }
}

@media (max-width: 767px) {
    .dcc-hero { min-height: 70vh; }
    .hero-title { font-size: 2.2rem; }
    .pricing-grid { flex-direction: column; gap: 0.5rem; }
    .price-option { display: flex; justify-content: space-between; }

    /* Progress bar */
    .cpb-steps { max-width: 100%; padding: 0 1rem; }
    .cpb-circle { width: 38px; height: 38px; font-size: 0.85rem; }
    .cpb-label { font-size: 0.62rem; }
    .cpb-line { max-width: 50px; margin: 0 0.25rem; margin-bottom: 1.2rem; }

    /* Cart rows */
    .ci-row { flex-wrap: wrap; gap: 0.75rem; padding: 0.85rem 1rem; }
    .ci-thumb { width: 64px; height: 64px; }
    .ci-meta { flex: 1 1 calc(100% - 80px); }
    .ci-stepper, .ci-subtotal, .ci-del { flex-shrink: 0; }
    .ci-subtotal { text-align: left; min-width: auto; }

    /* Shipping */
    .ship-opt { padding: 0.75rem 0.9rem; gap: 0.75rem; }
    .ship-opt-icon { width: 38px; height: 38px; font-size: 0.95rem; }

    /* Panel footer */
    .panel-foot { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .panel-foot > div { width: 100%; display: flex; gap: 0.5rem; }
    .panel-foot .btn { flex: 1; text-align: center; }
}
