/* =========================================================
   FIRST FASHION — Design System
   A boutique fashion storefront: editorial serif headlines,
   clean sans body type, a deep wine accent, and a signature
   "swing-tag" badge borrowed from real garment price tags.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
    /* Color */
    --ink:        #1C1A19;
    --ink-soft:   #5B5651;
    --paper:      #FFFFFF;
    --surface:    #F5F4F1;
    --line:       #E6E2DB;

    --accent:      #7A1533;   /* deep wine — brand / CTAs */
    --accent-dark: #580F25;
    --accent-tint: #F7E8EB;
    --gold:        #B08A52;   /* signature swing-tag / dividers */
    --gold-tint:   #F3ECDE;
    --sale:        #C1442D;   /* discount / sale — functional red */
    --success:     #2F7D5A;
    --success-tint:#E6F4ED;
    --info:        #1E5FAE;
    --info-tint:   #E9F1FB;

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shape / shadow */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 3px rgba(28,26,25,0.08);
    --shadow-md: 0 8px 24px rgba(28,26,25,0.10);
    --shadow-lg: 0 16px 40px rgba(28,26,25,0.14);
}

*{ box-sizing: border-box; }

body{
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--ink);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a{ color: inherit; }

h1, h2, h3, h4{
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    margin: 0 0 12px;
}

img{ max-width: 100%; display: block; }

::selection{ background: var(--accent); color: #fff; }

:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===================== HEADER ===================== */
.header{
    display:flex;
    align-items:center;
    gap: 18px;
    padding: 14px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 500;
}

.left-section{
    display:flex;
    align-items:center;
    gap:16px;
}

.hamburger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    width:34px;
    height:34px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}

.hamburger span{
    display:block;
    width:20px;
    height:2px;
    background:var(--ink);
    border-radius:2px;
}

.logo a{
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    text-decoration:none;
    letter-spacing: 0.2px;
}

.search-wrapper{
    flex:1;
    max-width: 480px;
    margin: 0 auto;
}

.search-wrapper form{
    position: relative;
}

.search-icon{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color: var(--ink-soft);
    font-size: 14px;
}

.search-wrapper input{
    width:100%;
    padding:11px 16px 11px 40px;
    border-radius:999px;
    border:1px solid var(--line);
    background: var(--surface);
    outline:none;
    font-family: var(--font-body);
    font-size:14px;
    box-sizing:border-box;
    transition: border-color .2s, background .2s;
}

.search-wrapper input:focus{
    border-color: var(--accent);
    background: var(--paper);
}

.header-icons-container{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.icon-btn{
    display:none;
    width:38px;
    height:38px;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    color: var(--ink);
    text-decoration:none;
    font-size:16px;
}

.icon-btn:hover{ background: var(--surface); }

.cart-btn{
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    padding:10px 18px;
    background: var(--accent);
    color:#fff;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
    white-space:nowrap;
    box-shadow: var(--shadow-sm);
    transition: background .2s, transform .2s;
}

.cart-btn:hover{
    background: var(--accent-dark);
    transform: translateY(-1px);
}

@media(max-width:768px){
    .header{ padding:12px 16px; gap:10px; }
    .search-wrapper{ display:none; }
    .icon-btn{ display:flex; }
    .cart-btn span{ display:none; }
    .cart-btn{ padding:0; width:40px; height:40px; justify-content:center; border-radius:50%; }
}

/* SIDEBAR */
.sidebar{
    position:fixed;
    top:0;
    left:-300px;
    width:280px;
    height:100%;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    transition: left .3s ease;
    z-index:1001;
    overflow-y:auto;
}

.sidebar.active{ left:0; }

.sidebar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 22px;
    border-bottom:1px solid var(--line);
}

.sidebar-header .logo-mark{
    font-family: var(--font-display);
    font-weight:700;
    font-size:18px;
    color:var(--accent);
}

.close-btn{
    font-size:24px;
    line-height:1;
    cursor:pointer;
    color: var(--ink-soft);
}

.close-btn:hover{ color: var(--accent); }

.menu-links{ padding: 10px 0 30px; }

.menu-links a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 22px;
    text-decoration:none;
    color: var(--ink);
    font-weight:600;
    font-size:14.5px;
}

.menu-links a i{
    width:18px;
    color: var(--accent);
    font-size:14px;
}

.menu-links a:hover{ background: var(--surface); }

.menu-divider{
    display:block;
    padding: 16px 22px 6px;
    font-size:11px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color: var(--ink-soft);
    font-weight:700;
}

.sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(20,17,15,0.45);
    display:none;
    z-index:1000;
}

.sidebar-overlay.active{ display:block; }

/* ===================== HERO ===================== */
.hero{
    position:relative;
    margin: 18px 18px 8px;
    padding: 64px 40px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color:#fff;
    overflow:hidden;
    text-align:center;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 15% 20%, rgba(122,21,51,0.55), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(176,138,82,0.35), transparent 50%);
}

.hero-eyebrow{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color: var(--gold);
    font-weight:700;
    margin-bottom:14px;
}

.hero h1{
    position:relative;
    color:#fff;
    font-size: clamp(30px, 5vw, 52px);
    line-height:1.1;
    margin: 0 0 14px;
}

.hero h1 em{
    font-style: italic;
    color: var(--gold);
}

.hero p{
    position:relative;
    color: rgba(255,255,255,0.78);
    max-width:480px;
    margin: 0 auto 26px;
    font-size:15px;
}

.hero-cta{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#fff;
    color: var(--ink);
    padding:13px 28px;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
    text-decoration:none;
    transition: transform .2s;
}

.hero-cta:hover{ transform: translateY(-2px); }

@media(max-width:700px){
    .hero{ margin:12px 12px 4px; padding:44px 22px; }
}

/* ===================== SWING TAG (signature) ===================== */
.tag-swing{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding: 3px 10px 3px 16px;
    font-size:11px;
    font-weight:800;
    letter-spacing:0.03em;
    color:#fff;
    background: var(--sale);
    border-radius: 0 4px 4px 0;
    line-height:1.6;
}

.tag-swing::before{
    content:"";
    position:absolute;
    left:5px;
    top:50%;
    width:4px;
    height:4px;
    border-radius:50%;
    background: rgba(255,255,255,0.85);
    transform:translateY(-50%);
    box-shadow: -1px 0 0 rgba(0,0,0,0.15);
}

.tag-swing.gold{ background: var(--gold); color:#3a2c11; }
.tag-swing.ink{ background: var(--ink); }
.tag-swing.success{ background: var(--success); }

/* ===================== CONTAINERS / GRID ===================== */
.container{ max-width:1200px; margin:0 auto; padding: 0 20px; }

.grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:22px;
    padding:26px 20px 10px;
    max-width:1280px;
    margin:0 auto;
}

@media(max-width:1000px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
@media(max-width:700px){ .grid{ grid-template-columns: repeat(2, 1fr); gap:14px; padding:16px 14px 6px; } }

/* PRODUCT CARD */
.card{
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding:0 0 14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration:none !important;
    color:inherit;
    cursor:pointer;
}

.card,
.card *{
    text-decoration:none !important;
}

.card .original-price{
    text-decoration: line-through !important;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
    background: var(--surface);
    transition: transform .4s ease;
}

.card:hover img{ transform: scale(1.04); }

.card .title{
    font-family: var(--font-body);
    font-size:14px;
    font-weight:600;
    margin:14px 14px 6px;
    color: var(--ink);
    min-height:36px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.homepage-price-block{
    margin: 4px 14px 8px !important;
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:6px;
}

.current-price, .regular-price{
    font-weight:800 !important;
    font-size:16px !important;
    color: var(--ink) !important;
    font-family: var(--font-body);
}

.original-price{
    font-size:12.5px !important;
    color: var(--ink-soft) !important;
    text-decoration: line-through;
}

.sale-badge{
    background: var(--sale) !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    padding:2px 7px !important;
    border-radius:4px !important;
}

.discount{
    color: var(--success);
    font-weight:700;
    font-size:12px;
    margin: 0 14px 12px;
}

.btn{
    display:block;
    margin: 0 14px;
    padding:11px;
    text-align:center;
    border:1.5px solid var(--accent);
    color: var(--accent);
    border-radius:999px;
    text-decoration:none;
    font-weight:700;
    font-size:13.5px;
    margin-top:auto;
    transition: background .2s, color .2s;
}

.btn:hover{ background: var(--accent); color:#fff; }

/* PAGINATION */
.page-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    margin:4px;
    padding:0 12px;
    border:1px solid var(--line);
    color: var(--ink);
    text-decoration:none;
    border-radius:999px;
    font-weight:700;
    font-size:13px;
    background: var(--paper);
    transition: .2s;
}

.page-btn.active,
.page-btn:hover{
    background: var(--accent);
    border-color: var(--accent);
    color:#fff;
}

/* ===================== FOOTER ===================== */
.footer{
    background: var(--ink);
    color: #fff;
    margin-top:50px;
}

.footer-container{
    display:grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap:36px;
    padding:50px 20px 30px;
    max-width:1200px;
    margin:0 auto;
}

.footer-col h3{
    font-family: var(--font-display);
    color:#fff;
    font-size:22px;
    margin-bottom:14px;
}

.footer-col h4{
    color: var(--gold);
    font-size:12px;
    letter-spacing:0.08em;
    text-transform:uppercase;
    margin-bottom:16px;
}

.footer-col p{
    font-size:13.5px;
    line-height:1.7;
    color: rgba(255,255,255,0.65);
}

.footer-col a{
    display:block;
    text-decoration:none;
    color: rgba(255,255,255,0.75);
    margin-bottom:11px;
    font-size:13.5px;
}

.footer-col a:hover{ color: var(--gold); }

.footer-bottom{
    text-align:center;
    padding:18px;
    border-top:1px solid rgba(255,255,255,0.1);
    font-size:12.5px;
    color: rgba(255,255,255,0.55);
}

@media(max-width:900px){ .footer-container{ grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px){
    .footer-container{ grid-template-columns: 1fr; text-align:center; }
}

/* ===================== PRODUCT PAGE ===================== */
.product-wrapper{
    max-width:520px;
    margin:0 auto;
    background: var(--surface);
    min-height:100vh;
    box-shadow: var(--shadow-sm);
}

.product-page{ background: var(--surface); padding-bottom:90px; }

.product-gallery{
    background: var(--paper);
    text-align:center;
    padding:0;
}

.main-image{
    width:100%;
    max-width:100%;
    height:460px;
    object-fit:cover;
}

.product-info-block{ background: var(--paper); padding:22px 20px 6px; }

.product-title{
    font-family: var(--font-display);
    font-size:21px;
    font-weight:600;
    margin-bottom:10px;
}

.price-discount-block{ margin-bottom:12px; }
.price-discount-block .current-price{ font-size:22px !important; color: var(--ink) !important; }
.price-discount-block .original-price{ color: var(--ink-soft) !important; }
.price-discount-block .discount-badge{ color: var(--success) !important; font-weight:700 !important; }

.product-extra-tags{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom: 6px;
}

.free-delivery-text{
    color: var(--success);
    font-weight:700;
    font-size:13px;
}

.tag.rating-pill{
    background: var(--success);
    color:#fff;
    font-size:12px;
    font-weight:700;
    padding:3px 9px;
    border-radius:999px;
}

.reviews-count{ color: var(--ink-soft); font-size:12.5px; }

.section-divider{
    border:0;
    border-top:1px solid var(--line);
    margin:18px -20px;
}

/* Sold by */
.sold-by-card{ padding: 4px 0 8px; }
.sold-by-card h3{ font-size:15px; margin-bottom:12px; }

.sold-by-row{ display:flex; align-items:center; gap:12px; }

.seller-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background: var(--accent-tint);
    color: var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    flex-shrink:0;
}

.seller-name{ font-weight:700; font-size:14px; margin:0 0 4px; color: var(--ink); }

.seller-meta{ display:flex; align-items:center; gap:12px; font-size:12px; color: var(--ink-soft); }

.seller-rating{
    background: var(--surface);
    padding:2px 7px;
    border-radius:4px;
    font-weight:700;
    color: var(--ink);
}

.seller-rating i{ color: var(--gold); font-size:10px; }

/* Size selector */
.size-section{ background: var(--paper); padding: 6px 20px 20px; }
.size-section h3{ font-size:15px; margin-bottom:6px; }

.sizes{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }

.sizes button{
    padding:9px 16px;
    border:1.5px solid var(--line);
    background: var(--paper);
    border-radius:999px;
    cursor:pointer;
    font-family: var(--font-body);
    font-weight:600;
    font-size:13px;
    color: var(--ink);
    transition:.2s;
}

.sizes button.active,
.sizes button:hover{
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-tint);
}

/* Buy bar */
.buy-bar{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:520px;
    display:flex;
    background: var(--paper);
    border-top:1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
}

.buy-price{
    flex:1;
    padding:16px;
    font-weight:800;
    font-size:17px;
    text-align:center;
    display:flex;
    align-items:center;
    justify-content:center;
}

.buy-btn{
    flex:1;
    background: var(--accent);
    color:#fff;
    border:none;
    font-weight:700;
    font-size:15px;
    font-family: var(--font-body);
    cursor:pointer;
    letter-spacing:0.02em;
    transition: background .2s;
}

.buy-btn:hover{ background: var(--accent-dark); }

/* Description */
.product-details-block{ background: var(--paper); padding: 6px 20px 20px; }
.product-details-block h3{ font-size:15px; margin-bottom:10px; }
.detail-value{ color: var(--ink-soft); font-size:14px; line-height:1.7; }

.more-info-link{
    display:inline-block;
    margin-top:12px;
    color: var(--accent);
    font-weight:700;
    font-size:13.5px;
    text-decoration:none;
}

/* Ratings & reviews */
.ratings-reviews-block{ background: var(--paper); padding: 6px 20px 20px; }
.reviews-header h3{ font-size:15px; margin-bottom:16px; }

.rating-overview-flex{ display:flex; gap:24px; align-items:center; }

.big-rating{
    font-family: var(--font-display);
    font-size:38px;
    font-weight:700;
    color: var(--success);
    text-align:center;
    flex-shrink:0;
}

.big-rating span{ font-size:44px; }
.big-rating .total-ratings{ font-size:11.5px; color: var(--ink-soft); font-weight:600; font-family: var(--font-body); margin-top:2px; }

.rating-distribution{ flex-grow:1; }
.dist-row{ display:flex; align-items:center; gap:10px; font-size:12px; margin-bottom:7px; color: var(--ink-soft); }
.dist-row .label{ min-width:65px; text-align:right; }
.bar-container{ flex-grow:1; height:6px; background: var(--surface); border-radius:6px; overflow:hidden; }
.bar-fill{ height:100%; border-radius:6px; }
.bar-fill.excellent{ background: var(--success); }
.bar-fill.very-good{ background:#6fcd4a; }
.bar-fill.good{ background: var(--gold); }
.bar-fill.poor{ background:#ff7800; }
.bar-fill.very-poor{ background: var(--sale); }
.dist-row .count{ color: var(--ink-soft); min-width:40px; }

/* Also viewed */
.also-viewed-block{ background: var(--paper); padding: 6px 20px 26px; }
.also-viewed-block h3{ font-size:15px; margin-bottom:14px; }

.viewed-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; }

.viewed-card{
    background: var(--paper);
    border:1px solid var(--line);
    border-radius: var(--radius-sm);
    padding:10px;
    display:flex;
    flex-direction:column;
    transition: box-shadow .2s;
}

.viewed-card a,
.viewed-card a *{
    text-decoration:none !important;
    color:inherit;
}

.viewed-card:hover{ box-shadow: var(--shadow-sm); }

.viewed-card img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:6px;
    margin-bottom:10px;
    background: var(--surface);
}

.viewed-card h4{
    margin:0 0 6px 0;
    font-size:13px;
    font-weight:600;
    color: var(--ink);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.viewed-card .current-price{ font-size:13.5px !important; }
.viewed-card .original-price{ font-size:11.5px !important; }
.viewed-card .discount-badge{ font-size:11px !important; }

.viewed-card .tag.free{
    background:transparent !important;
    color: var(--success) !important;
    font-size:11px !important;
    padding:0 !important;
    border:none !important;
    margin-top:auto;
    font-weight:700;
}

/* ===================== CART ===================== */
.cart-box{
    max-width:520px;
    margin:30px auto;
    background: var(--paper);
    padding:22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.product-wrapper h2{
    font-family: var(--font-display);
    padding: 22px 20px 4px;
    font-size:22px;
}

.product-wrapper > .card{
    margin: 10px 20px 20px;
}

.product-wrapper .card .price{
    margin: 6px 14px 10px;
    font-size:18px;
    font-weight:800;
    font-family: var(--font-body);
}

/* ===================== GENERIC PAGE WRAPPER ===================== */
.page-wrapper{ background: var(--surface); padding: 40px 15px 60px; min-height: 60vh; }

/* ABOUT */
.about-container{
    max-width:820px;
    margin:auto;
    background: var(--paper);
    padding: 48px 46px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.about-title{
    font-size:38px;
    margin-bottom:22px;
}

.about-container p{
    font-size:16px;
    line-height:1.85;
    margin-bottom:18px;
    color: var(--ink-soft);
}

.about-container p b{ color: var(--ink); }

/* CONTACT */
.contact-container{
    max-width:480px;
    margin:20px auto;
    background: var(--paper);
    padding:38px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-title{
    text-align:center;
    font-size:26px;
    margin-bottom:26px;
}

.contact-form label{
    font-weight:700;
    font-size:13px;
    display:block;
    margin-bottom:7px;
    color: var(--ink-soft);
    text-transform:uppercase;
    letter-spacing:0.03em;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom:17px;
    font-size:14px;
    font-family: var(--font-body);
    background: var(--surface);
    outline:none;
    transition: border-color .2s, background .2s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: var(--accent);
    background: var(--paper);
}

.contact-form textarea{ height:120px; resize:vertical; }

.contact-btn{
    width:100%;
    padding:13px;
    background: var(--accent);
    border:none;
    color:#fff;
    font-weight:700;
    font-family: var(--font-body);
    font-size:14.5px;
    border-radius:999px;
    cursor:pointer;
    transition: background .2s;
}

.contact-btn:hover{ background: var(--accent-dark); }

.contact-info{
    text-align:center;
    margin-top:18px;
    font-size:13px;
    color: var(--ink-soft);
}

/* ===================== CATEGORIES ===================== */
.category-header{
    max-width:1200px;
    margin: 30px auto 6px;
    padding: 0 20px;
}

.category-header h1{ font-size:30px; margin-bottom:6px; }
.category-header p{ color: var(--ink-soft); font-size:14px; }

.back-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color: var(--accent) !important;
    text-decoration:none;
    font-weight:700;
    font-size:13.5px !important;
    margin-bottom:14px;
}

.back-link:hover{ text-decoration:underline; }

.category-card-content{
    padding: 6px 14px 4px;
}

.category-card-content h2{
    font-size:17px;
    margin-bottom:4px;
}

.category-card-content span{
    color: var(--ink-soft);
    font-size:12.5px;
    font-weight:600;
}

.empty-state{
    text-align:center;
    padding:50px 20px;
    color: var(--ink-soft);
    font-size:15px;
    background: var(--paper);
    border-radius: var(--radius-md);
    max-width:1200px;
    margin: 0 auto;
}

/* ===================== SEARCH ===================== */
.search-header{ padding: 30px 20px 6px !important; }
.search-header h2{ font-size:22px; }

/* ===================== LEGAL PAGES ===================== */
.legal-wrapper{ background: var(--surface); padding: 40px 15px 60px; }

.legal-box{ max-width: 820px; margin: 0 auto; }

.legal-box .product-wrapper{
    max-width:none;
    background:transparent;
    min-height:0;
    box-shadow:none;
}

.page-container{
    background: var(--paper);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 40px 44px 24px;
    box-shadow: var(--shadow-sm);
}

.page-title{
    font-size:32px;
    margin-bottom:6px;
}

.page-container p{ color: var(--ink-soft); font-size:13.5px; }

.legal-body{
    background: var(--paper);
    padding: 4px 44px 44px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-body p{
    font-size:15px;
    line-height:1.8;
    color: var(--ink-soft);
    margin: 0 0 16px;
}

.legal-body h2{ font-size:19px; margin-top:8px; }
.legal-body b{ color: var(--ink); }

/* ===================== CHECKOUT / WIZARD (shared by
   checkout.php, order-confirmation.php, process_order.php
   which each embed their own <style> block referencing
   these same custom properties) ===================== */
.step-nav div.active{ color: var(--accent) !important; border-bottom-color: var(--accent) !important; }
.wizard-input:focus{ border-color: var(--accent) !important; }
.payment-box{ border-color: var(--accent) !important; background: var(--accent-tint) !important; }
.btn-next{ background: var(--accent) !important; font-family: var(--font-body); }
.btn-next:hover{ background: var(--accent-dark) !important; }
.p-row.green-text{ color: var(--success) !important; }
.info-box.purple{ background:#F4EEFA !important; color:#5B3B8C !important; }
.info-box.blue{ background: var(--info-tint) !important; color: var(--info) !important; }
.info-box.yellow{ background:#FBF3E2 !important; color:#8A5A17 !important; }
.info-box.green{ background: var(--success-tint) !important; color: var(--success) !important; }
.check-circle{ background: var(--success) !important; }
.order-header-green{ background: var(--success-tint) !important; color: var(--success) !important; }
.delivery-est-box{ background: var(--info-tint) !important; color: var(--info) !important; }
.btn-continue{ background: var(--accent) !important; }
.btn-continue:hover{ background: var(--accent-dark) !important; }

/* Any residual hidden ad-injector elements */
[id*="wau"], [class*="wau"] { display: none !important; }
