/* =========================================================================
   DEETYA ENTERPRISE — main stylesheet
   Modern, mobile-first e-commerce UI.
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
    --brand:        #ff3f6c;   /* Myntra-esque pink accent */
    --brand-dark:   #e11d54;
    --ink:          #1c1c28;
    --ink-soft:     #4b4b5c;
    --muted:        #8b8ba0;
    --line:         #ececf2;
    --bg:           #ffffff;
    --bg-soft:      #f7f7fb;
    --bg-softer:    #fbfbfd;
    --dark:         #14142b;
    --green:        #03a685;
    --amber:        #ff9f1c;
    --shadow-sm:    0 2px 8px rgba(20,20,43,.06);
    --shadow-md:    0 8px 28px rgba(20,20,43,.10);
    --shadow-lg:    0 18px 50px rgba(20,20,43,.16);
    --radius:       14px;
    --radius-sm:    10px;
    --radius-lg:    22px;
    --container:    1200px;
    --font:         'Manrope', system-ui, -apple-system, sans-serif;
    --serif:        'Playfair Display', Georgia, serif;
    --t:            .25s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px;
    letter-spacing: .2px; transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    border: 1.5px solid transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(255,63,108,.32); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(255,63,108,.42); transform: translateY(-2px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 15px; }

/* ---- Topbar ----------------------------------------------------------- */
.topbar { background: var(--dark); color: #fff; font-size: 12.5px; letter-spacing: .3px; }
.topbar__inner { display: flex; justify-content: center; padding: 8px 20px; text-align: center; }

/* ---- Header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.brand__mark {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), #ff7a3d); color: #fff;
    font-family: var(--serif); font-size: 20px; box-shadow: 0 6px 14px rgba(255,63,108,.35);
}
.brand__text { white-space: nowrap; }

.main-nav { display: flex; gap: 26px; margin-left: 14px; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color var(--t); }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: width var(--t); }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.search { display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; transition: border-color var(--t), box-shadow var(--t); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,63,108,.1); background: #fff; }
.search input { border: none; background: none; outline: none; width: 190px; font-size: 14px; }
.search button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--brand); color: #fff; transition: background var(--t); }
.search button:hover { background: var(--brand-dark); }

.cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); transition: background var(--t); }
.cart-link:hover { background: var(--bg-soft); }
.cart-badge { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; border: 2px solid #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }

/* ---- Toast / flash ---------------------------------------------------- */
.toast {
    position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-12px);
    background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
    font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 200;
    opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Hero ------------------------------------------------------------- */
.hero { background: linear-gradient(160deg, #fff5f7 0%, #f4f1ff 55%, #eef6ff 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 20px 72px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; color: var(--brand); margin-bottom: 16px; }
.hero__title { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.5px; margin-bottom: 18px; }
.hero__sub { font-size: 16.5px; color: var(--ink-soft); max-width: 480px; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 34px; }
.hero__stats strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__media { position: relative; }
.hero__media > img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/4.4; }
.hero__floater { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; font-size: 12px; font-weight: 700; animation: floaty 4s ease-in-out infinite; }
.hero__floater span:last-child { color: var(--muted); font-weight: 600; }
.hero__floater--1 { top: 26px; left: -14px; }
.hero__floater--2 { bottom: 34px; right: -14px; animation-delay: 1.5s; }
.hero__floater-badge { color: var(--brand); font-size: 18px; font-weight: 800; }
.hero__floater-star { color: var(--amber); font-size: 16px; font-weight: 800; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Trust strip ------------------------------------------------------ */
.trust { border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 20px; }
.trust__item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust__icon { font-size: 24px; }
.trust__item strong { display: block; font-size: 14px; }
.trust__item small { color: var(--muted); font-size: 12.5px; }

/* ---- Sections --------------------------------------------------------- */
.section { padding: 56px 20px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.4px; }
.section__link { font-weight: 700; color: var(--brand); font-size: 14px; white-space: nowrap; }
.section__link:hover { color: var(--brand-dark); }

/* ---- Category grid ---------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-tile:hover img { transform: scale(1.08); }
.category-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }
.category-tile__label { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-weight: 700; font-size: 14px; z-index: 1; }

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

.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__media { position: relative; display: block; aspect-ratio: 1/1.08; overflow: hidden; background: var(--bg-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }

.badge { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .3px; color: #fff; z-index: 2; }
.badge--best-seller { left: 12px; background: var(--ink); }
.badge--trending { left: 12px; background: linear-gradient(135deg,#ff7a3d,#ff3f6c); }
.badge--new { left: 12px; background: var(--green); }
.badge--discount { right: 12px; background: var(--brand); }
.stock-flag { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--brand-dark); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; z-index: 2; box-shadow: var(--shadow-sm); }

.product-card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__brand { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.product-card__title { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.product-card__title a:hover { color: var(--brand); }

.rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.rating__stars { color: var(--amber); letter-spacing: 1px; font-size: 13px; }
.rating__stars .star.empty { color: var(--line); }
.rating__value { font-weight: 700; }
.rating__count { color: var(--muted); }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price__now { font-size: 17px; font-weight: 800; }
.price__mrp { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price__off { font-size: 12.5px; font-weight: 800; color: var(--green); }
.product-card__form { margin-top: auto; padding-top: 10px; }

/* ---- Promo banner ----------------------------------------------------- */
.promo { background: linear-gradient(120deg, #14142b, #2a1e4d 60%, #45215e); color: #fff; }
.promo__inner { padding: 60px 20px; background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=60'); background-size: cover; background-position: center; border-radius: 0; position: relative; }
.promo__inner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,20,43,.92), rgba(69,33,94,.72)); }
.promo__text { position: relative; max-width: 480px; }
.promo__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; color: #ff9f8a; margin-bottom: 12px; }
.promo__title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin-bottom: 14px; }
.promo__sub { color: rgba(255,255,255,.82); margin-bottom: 24px; }

/* ---- Newsletter ------------------------------------------------------- */
.newsletter { background: var(--bg-soft); }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 20px; flex-wrap: wrap; }
.newsletter h2 { font-size: 26px; letter-spacing: -.4px; }
.newsletter p { color: var(--ink-soft); }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; }
.newsletter__form input { padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; min-width: 260px; outline: none; background: #fff; transition: border-color var(--t); }
.newsletter__form input:focus { border-color: var(--brand); }
.newsletter__msg { flex-basis: 100%; color: var(--green); font-weight: 700; font-size: 14px; }

/* ---- Breadcrumb & titles --------------------------------------------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; padding: 22px 0 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.page-title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.5px; margin: 10px 0 24px; }

/* ---- Listing page ----------------------------------------------------- */
.listing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 22px; flex-wrap: wrap; }
.listing-head__title { font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; letter-spacing: -.4px; }
.listing-head__count { color: var(--muted); font-size: 13.5px; }
.listing-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.listing-sort select { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; cursor: pointer; font-weight: 600; }
.listing-sort select:focus { border-color: var(--brand); }

.listing-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding-bottom: 60px; }
.filters { position: sticky; top: 88px; align-self: start; }
.filters__title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.filters__list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 600; transition: background var(--t), color var(--t); }
.filters__list a:hover { background: var(--bg-soft); color: var(--ink); }
.filters__list a.is-active { background: var(--brand); color: #fff; }

/* ---- Empty state ------------------------------------------------------ */
.empty-state { text-align: center; padding: 70px 20px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.empty-state__emoji { font-size: 54px; margin-bottom: 12px; }
.empty-state h2 { font-size: 22px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ---- Product detail (PDP) -------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 14px 0 20px; }
.pdp__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1.05; box-shadow: var(--shadow-sm); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumb { width: 72px; height: 82px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); transition: border-color var(--t); background: var(--bg-soft); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--brand); }

.pdp__brand { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.pdp__title { font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-bottom: 14px; }
.pdp .rating { margin-bottom: 18px; font-size: 14px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__price .price__now { font-size: 30px; }
.pdp__price .price__mrp { font-size: 17px; }
.pdp__price .price__off { font-size: 15px; }
.pdp__tax { color: var(--muted); font-size: 13px; margin: 4px 0 20px; }

.urgency { display: flex; flex-direction: column; gap: 8px; background: #fff6f8; border: 1px solid #ffdbe4; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 22px; }
.urgency__stock { color: var(--brand-dark); font-weight: 800; font-size: 14px; }
.urgency__viewers { color: var(--ink-soft); font-weight: 600; font-size: 13.5px; }

.pdp__desc { color: var(--ink-soft); margin-bottom: 26px; }
.pdp__buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.qty-select { display: flex; align-items: center; gap: 8px; }
.qty-select select { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; outline: none; }
.qty-select select:focus { border-color: var(--brand); }

.assurance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.assurance li { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---- Cart ------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; padding-bottom: 60px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-items: center; }
.cart-item__media { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1.1; background: var(--bg-soft); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__brand { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.cart-item__title { font-size: 15px; font-weight: 700; margin: 2px 0 6px; }
.cart-item__title a:hover { color: var(--brand); }
.cart-item__price { font-weight: 800; font-size: 15px; }
.cart-item__mrp { font-weight: 500; font-size: 12.5px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.cart-item__actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 34px; height: 34px; font-size: 18px; font-weight: 700; color: var(--ink); transition: background var(--t); }
.qty-stepper button:hover:not(:disabled) { background: var(--bg-soft); }
.qty-stepper button:disabled { color: var(--line); cursor: not-allowed; }
.qty-stepper__num { min-width: 34px; text-align: center; font-weight: 800; font-size: 14px; }
.cart-item__remove { color: var(--muted); font-size: 13px; font-weight: 700; transition: color var(--t); }
.cart-item__remove:hover { color: var(--brand); }
.cart-item__total { font-weight: 800; font-size: 16px; align-self: center; }
.cart-items__foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; }
.link-arrow { color: var(--brand); font-weight: 700; font-size: 14px; }
.link-muted { color: var(--muted); font-weight: 700; font-size: 14px; }
.link-muted:hover { color: var(--brand); }

.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cart-summary--sticky { position: sticky; top: 88px; }
.cart-summary__title { font-size: 17px; font-weight: 800; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 12px; color: var(--ink-soft); }
.cart-summary__row--save { color: var(--green); font-weight: 700; }
.cart-summary__row .free { color: var(--green); font-weight: 800; }
.cart-summary__row--total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.cart-summary__savemsg { background: #ecfdf6; color: var(--green); font-weight: 700; font-size: 13px; padding: 10px 12px; border-radius: 10px; margin: 6px 0 16px; text-align: center; }
.cart-summary__cod { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; font-weight: 600; }

/* ---- Checkout --------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding-bottom: 60px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 20px; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.checkout-card__title { font-size: 18px; font-weight: 800; margin-bottom: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.field label span { color: var(--brand); }
.field input, .field textarea, .field select {
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; outline: none;
    background: var(--bg-softer); transition: border-color var(--t), box-shadow var(--t), background var(--t); font-size: 14.5px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,63,108,.1); background: #fff; }
.field textarea { resize: vertical; }
.field__error { color: var(--brand-dark); font-size: 12.5px; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--half { max-width: 50%; }

.payment-option { display: flex; align-items: center; gap: 14px; border: 2px solid var(--brand); background: #fff6f8; border-radius: var(--radius-sm); padding: 16px; cursor: pointer; }
.payment-option input { accent-color: var(--brand); width: 18px; height: 18px; }
.payment-option__icon { font-size: 26px; }
.payment-option__body { display: flex; flex-direction: column; }
.payment-option__body strong { font-size: 15px; }
.payment-option__body small { color: var(--ink-soft); font-size: 13px; }
.payment-option__check { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 999px; font-weight: 800; }
.payment-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); background: var(--bg-soft); padding: 12px 14px; border-radius: 10px; }

.checkout-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.checkout-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.checkout-item__media { position: relative; }
.checkout-item__media img { width: 48px; height: 54px; object-fit: cover; border-radius: 8px; }
.checkout-item__qty { position: absolute; top: -8px; right: -8px; background: var(--ink); color: #fff; width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 800; border: 2px solid #fff; }
.checkout-item__name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.checkout-item__price { font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---- Order success ---------------------------------------------------- */
.success { max-width: 860px; margin: 0 auto; text-align: center; padding: 40px 0 70px; }
.success__icon { display: grid; place-items: center; margin-bottom: 18px; }
.success__circle { stroke: var(--green); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle .6s ease forwards; }
.success__check { stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .35s .55s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success__title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.success__sub { color: var(--ink-soft); margin-bottom: 22px; }
.success__id { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px dashed var(--brand); border-radius: 999px; padding: 10px 22px; margin-bottom: 34px; }
.success__id span { color: var(--muted); font-size: 13px; font-weight: 600; }
.success__id strong { font-size: 18px; letter-spacing: 1px; color: var(--brand-dark); }
.success__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; margin-bottom: 34px; }
.success__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.success__card-title { font-size: 16px; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.success__items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.success__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.success__item img { width: 48px; height: 54px; object-fit: cover; border-radius: 8px; }
.success__item-name { font-size: 13.5px; font-weight: 700; }
.success__item-meta { font-size: 12.5px; color: var(--muted); }
.success__item-total { font-weight: 800; }
.success__totals { border-top: 1px solid var(--line); padding-top: 14px; }
.success__totals > div { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
.success__totals .free { color: var(--green); font-weight: 800; }
.success__grand { font-size: 17px; font-weight: 800; color: var(--ink); }
.success__details { display: grid; grid-template-columns: 90px 1fr; gap: 10px 12px; font-size: 14px; }
.success__details dt { color: var(--muted); font-weight: 700; }
.success__details dd { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill--cod { background: #ecfdf6; color: var(--green); }
.success__eta { margin-top: 16px; background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-soft); }
.success__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- About / Contact -------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 20px 0 50px; }
.about-hero__title { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; letter-spacing: -.5px; }
.about-hero__text p { color: var(--ink-soft); margin-bottom: 14px; }
.about-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0 60px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: transform var(--t), box-shadow var(--t); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card__icon { font-size: 34px; display: block; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { color: var(--ink-soft); font-size: 13.5px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0 70px; align-items: start; }
.contact__info h2, .contact__form-wrap h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.4px; }
.contact__info > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact__item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact__icon { font-size: 22px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 12px; flex-shrink: 0; }
.contact__item h4 { font-size: 15px; margin-bottom: 3px; }
.contact__item p { color: var(--ink-soft); font-size: 14px; }
.contact__item a:hover { color: var(--brand); }
.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.alert { padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.alert--success { background: #ecfdf6; color: var(--green); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--dark); color: #c9c9de; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 30px; padding: 54px 20px 40px; }
.brand--footer { color: #fff; margin-bottom: 14px; }
.footer__tag { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { font-size: 13.5px; transition: color var(--t); }
.footer__col ul a:hover { color: #fff; }
.footer__contact { font-size: 13.5px; line-height: 1.7; margin-bottom: 12px; }
.footer__contact a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer__pay strong { color: #fff; }

/* ---- Social-proof popup ---------------------------------------------- */
.social-proof {
    position: fixed; left: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg);
    max-width: 320px; transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s;
}
.social-proof.show { transform: translateY(0); opacity: 1; }
.social-proof__img { width: 48px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.social-proof__title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.social-proof__meta { font-size: 12px; color: var(--muted); }
.social-proof__meta b { color: var(--green); }
.social-proof__close { position: absolute; top: 6px; right: 8px; font-size: 18px; color: var(--muted); line-height: 1; }
.social-proof__close:hover { color: var(--ink); }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .hero__inner { gap: 28px; }
    .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .search { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 0 auto 0 0; width: 78%; max-width: 320px; background: #fff; flex-direction: column;
        gap: 0; padding: 80px 22px 30px; box-shadow: var(--shadow-lg); transform: translateX(-100%); transition: transform var(--t);
        z-index: 120; margin-left: 0;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .main-nav a::after { display: none; }
    body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { order: -1; max-width: 440px; }
    .cart-layout, .checkout-layout, .pdp, .success__grid, .about-hero, .contact { grid-template-columns: 1fr; }
    .cart-summary--sticky, .filters { position: static; }
    .listing-layout { grid-template-columns: 1fr; }
    .filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
    .filters__list { display: flex; flex-wrap: wrap; gap: 8px; }
    .filters__list a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .trust__inner { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
    .hero__stats { gap: 22px; }
    .hero__floater { display: none; }
    .section { padding: 40px 20px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer__brandcol { grid-column: 1 / -1; }
    .values { grid-template-columns: 1fr; }
    .newsletter__form input { min-width: 100%; }
    .newsletter__form { width: 100%; }
    .newsletter__form .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr; }
    .field--half { max-width: 100%; }
    .pdp__buy { flex-direction: column; align-items: stretch; }
    .pdp__buy .btn { width: 100%; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item__total { grid-column: 2; text-align: right; }
    .success__actions .btn { flex: 1; }
    .social-proof { left: 12px; right: 12px; max-width: none; }
}

@media (max-width: 420px) {
    .product-grid { grid-template-columns: 1fr; }
    .brand__text { font-size: 17px; }
}
