/* =========================================================================
   NEHAL TEXTILE - Global Stylesheet
   Premium ethnic e-commerce UI. Mobile-first, responsive.
   ========================================================================= */

:root {
    --wine:        #7b1e3b;
    --wine-dark:   #5e142c;
    --gold:        #c99a3f;
    --gold-light:  #e6c877;
    --ink:         #1f1a1c;
    --muted:       #6b6167;
    --line:        #ece7e9;
    --bg:          #fdfbfc;
    --bg-soft:     #f7f2f4;
    --white:       #ffffff;
    --green:       #1a8a5a;
    --radius:      14px;
    --radius-sm:   9px;
    --shadow-sm:   0 2px 10px rgba(31,26,28,.06);
    --shadow-md:   0 8px 30px rgba(31,26,28,.10);
    --shadow-lg:   0 18px 50px rgba(31,26,28,.16);
    --serif:       'Playfair Display', Georgia, serif;
    --sans:        'Poppins', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.section { padding: 46px 0; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-weight: 600; font-size: 14px;
    padding: 11px 22px; border-radius: 50px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .22s ease; white-space: nowrap;
    line-height: 1; text-align: center;
}
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 6px 18px rgba(123,30,59,.28); }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(123,30,59,.36); }
.btn-ghost { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: #fff; }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { background: var(--gold-light); color: var(--wine-dark); }
.btn-add { width: 100%; background: #fff; color: var(--wine); border-color: var(--wine); padding: 10px; }
.btn-add:hover { background: var(--wine); color: #fff; }

/* ---------------------------------------------------------- Announcement */
.announcement {
    background: linear-gradient(90deg, var(--wine-dark), var(--wine));
    color: var(--gold-light); text-align: center; font-size: 12.5px;
    letter-spacing: .3px; padding: 8px 12px; font-weight: 500;
}

/* -------------------------------------------------------------- Header */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--wine), var(--gold));
    color: #fff; font-family: var(--serif); font-weight: 700; font-size: 18px;
    display: grid; place-items: center; letter-spacing: .5px;
}
.logo-text { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: .5px; }
.logo-text em { color: var(--wine); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--wine); transition: width .25s ease;
}
.main-nav a:hover { color: var(--wine); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.main-nav ~ .header-actions { margin-left: 20px; }
.cart-link { position: relative; color: var(--ink); display: grid; place-items: center; padding: 6px; transition: color .2s; }
.cart-link:hover { color: var(--wine); }
.cart-badge {
    position: absolute; top: -2px; right: -4px; background: var(--wine); color: #fff;
    font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 10px; display: grid; place-items: center; line-height: 1;
}
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }

/* ---------------------------------------------------------------- Hero */
.hero {
    background:
        linear-gradient(120deg, rgba(94,20,44,.88), rgba(123,30,59,.58) 55%, rgba(201,154,63,.42)),
        url('../images/saree-sunset.jpg');
    background-size: cover; background-position: center 20%;
    color: #fff; padding: 92px 0;
}
.hero-eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--gold-light); font-weight: 600; margin-bottom: 14px; }
.hero-title { font-family: var(--serif); font-size: clamp(30px, 5vw, 54px); line-height: 1.12; font-weight: 700; margin-bottom: 16px; }
.hero-sub { font-size: 16px; max-width: 560px; opacity: .95; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--wine); border-color: #fff; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; opacity: .95; }

/* ------------------------------------------------------- Category strip */
.category-strip { display: flex; gap: 20px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: thin; }
.category-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.category-chip-img {
    width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--white); box-shadow: var(--shadow-md);
    transition: transform .25s, border-color .25s;
}
.category-chip-img img { width: 100%; height: 100%; object-fit: cover; }
.category-chip:hover .category-chip-img { transform: translateY(-4px) scale(1.03); border-color: var(--gold-light); }
.category-chip-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------- Section head */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.section-title { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; color: var(--ink); }
.section-link { color: var(--wine); font-weight: 600; font-size: 14px; }
.section-link:hover { text-decoration: underline; }

/* --------------------------------------------------------- Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.07); }

.badge {
    position: absolute; top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
    padding: 4px 9px; border-radius: 6px; text-transform: uppercase; color: #fff; z-index: 2;
}
.badge-bestseller { left: 12px; background: linear-gradient(135deg,#b8860b,var(--gold)); }
.badge-trending   { left: 12px; background: var(--wine); }
.badge-new        { left: 12px; background: var(--green); }
.badge-discount   { right: 12px; background: #d13a3a; }
.stock-flag {
    position: absolute; bottom: 10px; left: 10px; background: rgba(31,26,28,.82); color: #fff;
    font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(3px);
}

.product-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
.product-name { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--wine); }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.stars { background: var(--green); color: #fff; padding: 1px 7px; border-radius: 5px; font-weight: 600; font-size: 12px; }
.rating-count { color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price-now { font-size: 17px; font-weight: 700; color: var(--ink); }
.price-mrp { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 12.5px; color: var(--green); font-weight: 600; }
.add-form { margin-top: auto; padding-top: 10px; }

/* --------------------------------------------------------- Promo banner */
.promo-banner {
    border-radius: var(--radius); overflow: hidden; color: #fff; padding: 54px 44px;
    background:
        linear-gradient(120deg, rgba(94,20,44,.92), rgba(201,154,63,.58)),
        url('../images/lehenga-red.jpg');
    background-size: cover; background-position: center 25%;
}
.promo-text h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }
.promo-text p { font-size: 16px; max-width: 460px; margin-bottom: 22px; opacity: .96; }

/* ----------------------------------------------------------- Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.trust-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.trust-item h4 { font-size: 15px; margin-bottom: 5px; }
.trust-item p { font-size: 13px; color: var(--muted); }

/* -------------------------------------------------------- Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--wine); }
.breadcrumb span { color: var(--ink); }

/* -------------------------------------------------- Listing page */
.listing-hero { background: var(--bg-soft); padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.listing-title { font-family: var(--serif); font-size: clamp(24px,3.4vw,34px); font-weight: 700; }
.listing-count { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.listing-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }

.filters { position: sticky; top: 90px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.search-form { display: flex; margin-bottom: 20px; border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden; }
.search-form input { flex: 1; border: none; padding: 9px 14px; font-family: var(--sans); font-size: 13.5px; outline: none; background: transparent; }
.search-form button { border: none; background: var(--wine); color: #fff; padding: 0 14px; cursor: pointer; font-size: 14px; }
.filter-title { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); transition: all .18s; }
.filter-list a:hover { background: var(--bg-soft); }
.filter-list a.active { background: var(--wine); color: #fff; font-weight: 600; }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.sort-form select { font-family: var(--sans); font-size: 13.5px; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; color: var(--ink); }
.listing-main .product-grid { grid-template-columns: repeat(3,1fr); }

/* --------------------------------------------------- Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-ico { font-size: 56px; margin-bottom: 14px; }
.empty-state h2 { font-family: var(--serif); margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ============================================ Product Detail (PDP) */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pdp-main-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; background: var(--bg-soft); }
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb { width: 72px; height: 90px; border-radius: 9px; overflow: hidden; border: 2px solid var(--line); background: none; cursor: pointer; padding: 0; transition: border-color .2s; }
.pdp-thumb:hover { border-color: var(--wine); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-title { font-family: var(--serif); font-size: clamp(24px,3.2vw,32px); line-height: 1.2; margin: 4px 0 10px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price-now { font-size: 28px; }
.pdp-price .price-mrp { font-size: 16px; }
.pdp-price .price-off { font-size: 15px; }
.tax-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.urgency { margin: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.urgency-stock { background: #fff4f0; color: #c0392b; border: 1px solid #f6d5cb; padding: 9px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 500; }
.urgency-viewing { background: var(--bg-soft); color: var(--ink); padding: 9px 14px; border-radius: 9px; font-size: 13.5px; }

.pdp-buy { display: flex; gap: 14px; align-items: stretch; margin: 22px 0; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden; background: #fff; }
.qty-btn { width: 40px; height: 46px; border: none; background: #fff; font-size: 20px; color: var(--wine); cursor: pointer; transition: background .18s; }
.qty-btn:hover:not(:disabled) { background: var(--bg-soft); }
.qty-btn:disabled { color: var(--line); cursor: not-allowed; }
.qty-selector input { width: 44px; text-align: center; border: none; font-family: var(--sans); font-size: 15px; font-weight: 600; outline: none; -moz-appearance: textfield; }
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy .btn-primary { flex: 1; min-width: 200px; }

.pdp-meta { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 24px; }
.pdp-meta li { display: flex; justify-content: space-between; padding: 11px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.pdp-meta li:last-child { border-bottom: none; }
.pdp-meta li span { color: var(--muted); }

.pdp-desc { margin-bottom: 20px; }
.pdp-desc h3 { font-size: 16px; margin-bottom: 8px; }
.pdp-desc p { color: var(--muted); font-size: 14px; }
.pdp-assurance { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-assurance span { background: var(--bg-soft); font-size: 12.5px; font-weight: 500; padding: 7px 13px; border-radius: 50px; }

/* ================================================================= Cart */
.page-heading { font-family: var(--serif); font-size: clamp(24px,3.4vw,32px); font-weight: 700; margin-bottom: 26px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); align-items: center; }
.cart-item-img { width: 90px; height: 110px; border-radius: 9px; overflow: hidden; background: var(--bg-soft); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cart-item-info h3 a:hover { color: var(--wine); }
.cart-item-price { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inline-form { display: inline; }
.cart-item-controls .qty-selector { border-radius: 8px; }
.cart-item-controls .qty-btn { height: 34px; width: 34px; font-size: 16px; }
.qty-value { min-width: 34px; text-align: center; font-weight: 600; font-size: 14px; }
.link-remove { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; font-family: var(--sans); transition: color .18s; }
.link-remove:hover { color: #c0392b; }
.cart-item-total { font-size: 16px; font-weight: 700; }
.cart-actions-row { display: flex; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; gap: 10px; }

.cart-summary, .checkout-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.cart-summary h3, .checkout-summary h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--ink); }
.summary-hint { font-size: 12.5px; color: var(--green); margin: 2px 0 6px; }
.summary-total { border-top: 1.5px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.cart-summary .btn { margin-top: 14px; }
.summary-cod { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ============================================================ Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.checkout-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-section-title { font-family: var(--serif); font-size: 19px; margin: 6px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.form-section-title:not(:first-child) { margin-top: 28px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 9px;
    font-family: var(--sans); font-size: 14px; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; background: #fff;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(123,30,59,.1); }
.form-field textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field-half { max-width: 50%; }
.field-error { display: block; color: #c0392b; font-size: 12.5px; margin-top: 5px; }

.payment-box { margin-bottom: 22px; }
.payment-option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--wine); border-radius: var(--radius-sm); padding: 15px 16px; cursor: pointer; background: #fdf7f9; }
.payment-option input { display: none; }
.payment-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wine); position: relative; flex-shrink: 0; }
.payment-option.selected .payment-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--wine); }
.payment-label { display: flex; flex-direction: column; }
.payment-label small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.checkout-secure { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

.checkout-items { margin-bottom: 14px; display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.checkout-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.checkout-item-img { position: relative; width: 52px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-qty { position: absolute; top: -6px; right: -6px; background: var(--wine); color: #fff; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; font-weight: 600; }
.checkout-item-name { font-size: 13px; line-height: 1.3; }
.checkout-item-price { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.checkout-summary .summary-row:first-of-type { border-top: 1px solid var(--line); padding-top: 14px; }

/* ========================================================= Order success */
.success-card { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-md); text-align: center; }
.success-check { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 38px; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(26,138,90,.35); animation: pop .4s ease; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.success-card h1 { font-family: var(--serif); font-size: 28px; margin-bottom: 6px; }
.success-sub { color: var(--muted); margin-bottom: 22px; }
.order-id-box { display: inline-flex; flex-direction: column; gap: 2px; background: var(--bg-soft); border: 1px dashed var(--wine); border-radius: 10px; padding: 12px 30px; margin-bottom: 26px; }
.order-id-box span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.order-id-box strong { font-size: 22px; font-family: var(--serif); color: var(--wine); letter-spacing: 1px; }
.success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; margin-bottom: 24px; }
.success-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.success-block h3 { font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.success-block p { font-size: 13.5px; color: var(--ink); }
.pay-tag { margin-top: 10px; }
.place-time { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.success-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.success-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.success-item img { width: 44px; height: 54px; object-fit: cover; border-radius: 7px; }
.success-item-info { display: flex; flex-direction: column; }
.success-item-name { font-size: 13px; line-height: 1.3; }
.success-item-qty { font-size: 12px; color: var(--muted); }
.success-item-price { font-size: 13.5px; font-weight: 600; }
.success-note { background: #fff8ec; border: 1px solid var(--gold-light); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; margin-bottom: 24px; }
.success-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================== About */
.about-hero { background: linear-gradient(120deg, var(--wine-dark), var(--wine)); color: #fff; padding: 60px 0; text-align: center; }
.about-hero h1 { font-family: var(--serif); font-size: clamp(28px,4vw,42px); margin-bottom: 8px; }
.about-hero p { opacity: .92; font-size: 16px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 14px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-stats { display: flex; gap: 30px; margin-top: 24px; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--serif); font-size: 26px; color: var(--wine); }
.about-stats span { font-size: 12.5px; color: var(--muted); }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2, .contact-form-wrap h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-ico { font-size: 24px; flex-shrink: 0; }
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--muted); }
.contact-item a:hover { color: var(--wine); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.alert-success { background: #eafaf1; border: 1px solid #b7e4cd; color: var(--green); padding: 12px 16px; border-radius: 9px; font-size: 14px; margin-bottom: 18px; }

/* ============================================================== Footer */
.site-footer { background: var(--ink); color: #cfc6ca; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 30px; padding: 50px 18px 36px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text em { color: var(--gold-light); }
.footer-about { font-size: 13.5px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .4px; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 9px; color: #b7adb2; transition: color .18s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact { font-size: 13.5px; line-height: 1.7; margin-bottom: 12px; }
.footer-contact a { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #9a9096; }

/* ======================================================= Recent popup */
.recent-popup {
    position: fixed; bottom: 22px; left: 22px; z-index: 200; display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
    padding: 12px 14px; max-width: 320px; transform: translateY(140%); opacity: 0;
    transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s;
}
.recent-popup.show { transform: translateY(0); opacity: 1; }
.recent-popup img { width: 46px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.recent-popup-body { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.recent-popup-body strong { color: var(--ink); }
.recent-popup-body em { display: block; font-style: normal; font-size: 11px; color: var(--green); margin-top: 2px; }
.recent-popup-close { position: absolute; top: 6px; right: 8px; background: none; border: none; font-size: 16px; color: var(--muted); cursor: pointer; line-height: 1; }

/* ========================================================= Responsive */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3,1fr); }
    .listing-main .product-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .menu-toggle { display: block; order: -1; }
    .main-nav {
        position: fixed; top: 0; left: -280px; width: 260px; height: 100vh; background: #fff;
        flex-direction: column; align-items: flex-start; gap: 4px; padding: 80px 24px 24px;
        box-shadow: var(--shadow-lg); transition: left .3s ease; z-index: 150; margin-left: 0;
    }
    .main-nav.open { left: 0; }
    .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
    .main-nav ~ .header-actions { margin-left: 0; }
    .header-actions { margin-left: auto; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .pdp { grid-template-columns: 1fr; gap: 24px; }
    .cart-layout, .checkout-layout, .listing-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .cart-summary, .checkout-summary { position: static; }
    .success-grid { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
    .about-img { order: -1; }
}

@media (max-width: 640px) {
    .product-grid, .listing-main .product-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
    .hero { padding: 60px 0; }
    .hero-trust { gap: 12px; font-size: 12px; }
    .section { padding: 34px 0; }
    .promo-banner { padding: 40px 24px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding: 36px 18px 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item-total { grid-column: 2; text-align: right; }
    .cart-item-img { width: 72px; height: 88px; }
    .form-row { grid-template-columns: 1fr; }
    .form-field-half { max-width: 100%; }
    .recent-popup { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .category-chip-img { width: 76px; height: 76px; }
}

@media (max-width: 380px) {
    .product-grid, .listing-main .product-grid { grid-template-columns: 1fr; }
    .logo-text { font-size: 17px; }
}
