:root {
  --ink: #1d1d1b;
  --muted: #7a756d;
  --line: #e6e1d8;
  --bg: #ffffff;
  --cream: #f7f3ec;
  --accent: #8a6a3f;
  --sale: #b3261e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement */
.announce { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; height: 34px; overflow: hidden; position: relative; }
.announce-track span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(100%); transition: .6s; padding: 0 16px; text-align: center; }
.announce-track span.on { opacity: 1; transform: none; }
.announce-track span.out { opacity: 0; transform: translateY(-100%); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.header-left, .header-right { display: flex; align-items: center; gap: 14px; }
.header-right { justify-content: flex-end; }
.logo { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .32em; padding-left: .32em; }
.logo.small { font-size: 24px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; position: relative; padding: 6px; font-size: 13px; letter-spacing: .05em; }
.badge { position: absolute; top: 0; right: -4px; background: var(--ink); color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.currency { border: 0; font: inherit; font-size: 13px; background: transparent; cursor: pointer; }
.burger { display: none; }

.nav-list { display: flex; justify-content: center; gap: 36px; list-style: none; }
.nav-list > li > a { display: block; padding: 14px 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; position: relative; }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.nav-list > li:hover > a::after { transform: scaleX(1); }
.nav-list .sale { color: var(--sale); }
.nav-head { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.06); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; padding-top: 32px; padding-bottom: 36px; }
.mega h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.mega a { display: block; color: var(--muted); padding: 4px 0; font-size: 14px; }
.mega a:hover { color: var(--ink); }
.mega-img { position: relative; overflow: hidden; }
.mega-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s; }
.mega-img:hover img { transform: scale(1.05); }
.mega-img span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 22px; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 45; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.on { opacity: 1; visibility: visible; }

/* Buttons */
.btn { display: inline-block; padding: 14px 34px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; transition: .3s; border: 1px solid transparent; text-align: center; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-outline { border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.full { width: 100%; }
.eyebrow { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow.dark { color: var(--muted); }

/* Hero */
.hero { position: relative; height: calc(100vh - 152px); min-height: 460px; max-height: 820px; overflow: hidden; }
.slide { position: absolute; inset: 0; background: var(--img) center 25%/cover; opacity: 0; transition: opacity 1s; display: flex; align-items: flex-end; justify-content: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 55%); }
.slide.active { opacity: 1; }
.slide-text { position: relative; color: #fff; text-align: center; padding-bottom: 90px; transform: translateY(20px); opacity: 0; transition: .9s .3s; }
.slide.active .slide-text { transform: none; opacity: 1; }
.slide h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; margin-bottom: 26px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 48px; width: 56px; height: 56px; opacity: .8; }
.hero-arrow:hover { opacity: 1; }
.hero-arrow.prev { left: 12px; } .hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 2px; background: rgba(255,255,255,.5); }
.hero-dots button.on { background: #fff; }

/* Sections */
.section { padding-top: 72px; padding-bottom: 8px; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: 36px; text-align: center; margin-bottom: 32px; }
.section-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; gap: 16px; position: relative; }
.section-head .section-title { margin: 0; }
.tabs { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.tab { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.tab.active { color: var(--ink); border-color: var(--ink); }
.center { text-align: center; margin-top: 40px; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat { text-align: center; }
.cat img { aspect-ratio: 3/4; width: 100%; object-fit: cover; transition: transform .6s; }
.cat { overflow: hidden; }
.cat:hover img { transform: scale(1.04); }
.cat span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Products */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.card { position: relative; }
.card-img { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--cream); cursor: pointer; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img.alt { opacity: 1; }
.card:hover .card-img img { transform: scale(1.03); }
.tag { position: absolute; top: 12px; left: 12px; background: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; z-index: 2; }
.tag.sale { background: var(--sale); color: #fff; }
.wish { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(255,255,255,.85); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.wish svg { width: 18px; height: 18px; }
.wish.on svg { fill: var(--sale); stroke: var(--sale); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: #fff; padding: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; transform: translateY(140%); transition: transform .35s; }
.card:hover .quick { transform: none; }
.quick:hover { background: var(--ink); color: #fff; }
.card-info { padding-top: 14px; }
.card-info .cat-name { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-info h3 { font-weight: 400; font-size: 15px; margin: 4px 0 6px; }
.price { font-weight: 500; }
.price s { color: var(--muted); font-weight: 400; margin-left: 8px; }
.price .now { color: var(--sale); }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { scroll-snap-align: start; }
.car-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.car-btn { width: 40px; height: 40px; border: 1px solid var(--line); font-size: 24px; line-height: 1; }
.car-btn:hover { border-color: var(--ink); }

/* Banners */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 72px; }
.banner { position: relative; aspect-ratio: 4/5; background: var(--img) center/cover; display: flex; align-items: flex-end; padding: 40px; color: #fff; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 50%); transition: .4s; }
.banner:hover::before { background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.05)); }
.banner div { position: relative; }
.banner h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; margin-bottom: 10px; }
.link { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 3px; }

.wide { margin-top: 80px; height: 460px; background: var(--img, none) center/cover; background-color: #3a332d; position: relative; display: grid; place-items: center; text-align: center; color: #fff; }
.wide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.wide div { position: relative; padding: 0 16px; }
.wide h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }

.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 64px; padding-bottom: 64px; text-align: center; }
.usps svg { width: 32px; height: 32px; margin-bottom: 12px; color: var(--accent); }
.usps h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.usps p { color: var(--muted); font-size: 14px; }

/* Footer */
.footer { background: var(--cream); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.newsletter h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-bottom: 8px; }
.newsletter p { color: var(--muted); margin-bottom: 18px; }
.newsletter form { display: flex; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid var(--ink); border-right: 0; padding: 0 16px; font: inherit; background: #fff; }
.news-msg { margin-top: 10px; color: var(--accent) !important; }
.fcol h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.fcol a { display: block; color: var(--muted); padding: 4px 0; font-size: 14px; }
.fcol a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; margin-bottom: 16px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; }
.socials a:hover { border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.small-muted { color: var(--muted); font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: var(--muted); }

/* Search */
.search-panel { position: fixed; top: 0; left: 0; right: 0; background: #fff; z-index: 70; padding: 28px 0; transform: translateY(-100%); transition: transform .35s; box-shadow: 0 10px 30px rgba(0,0,0,.08); max-height: 90vh; overflow-y: auto; }
.search-panel.on { transform: none; }
.search-panel .container { display: flex; gap: 12px; }
.search-panel input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); font: inherit; font-size: 22px; padding: 10px 0; outline: none; font-family: var(--serif); }
.search-results { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 20px; }
.search-results .r { cursor: pointer; font-size: 13px; }
.search-results img { aspect-ratio: 2/3; object-fit: cover; width: 100%; margin-bottom: 6px; }

/* Drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 80; transform: translateX(100%); transition: transform .4s; display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.ship-meter { padding: 16px 24px; background: var(--cream); font-size: 13px; }
.bar { height: 3px; background: var(--line); margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .4s; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 120px; object-fit: cover; }
.line h4 { font-weight: 400; font-size: 14px; }
.line .meta { color: var(--muted); font-size: 12px; margin: 2px 0 8px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button { width: 30px; height: 30px; }
.qty span { width: 30px; display: grid; place-items: center; font-size: 13px; }
.line-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 16px; }
.drawer-foot p { margin: 4px 0 14px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .3s; }
.modal.on { opacity: 1; visibility: visible; }
.modal-box { position: relative; background: #fff; width: min(900px, 100%); max-height: 92vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.qv-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3; }
.qv-info { padding: 40px 32px; }
.qv-info h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.15; margin-bottom: 8px; }
.qv-info .price { font-size: 18px; margin-bottom: 16px; }
.qv-desc { color: var(--muted); margin-bottom: 20px; }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.sizes button { min-width: 48px; height: 40px; border: 1px solid var(--line); font-size: 13px; padding: 0 10px; }
.sizes button.on { border-color: var(--ink); background: var(--ink); color: #fff; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 22px; font-size: 14px; z-index: 100; transition: transform .35s; max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 40px) / 3); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .nav-list { gap: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 86%); background: #fff; z-index: 70; transform: translateX(-100%); transition: transform .35s; overflow-y: auto; }
  .nav.on { transform: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .nav-list { flex-direction: column; gap: 0; padding: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { padding: 16px 20px; }
  .nav-list > li > a::after { display: none; }
  .has-mega > a::before { content: "+"; float: right; font-size: 18px; line-height: 1; }
  .has-mega.open > a::before { content: "−"; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { transform: none; }
  .has-mega.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 16px; padding: 0 20px 20px; }
  .mega-img { display: none; }
  .hide-sm { display: none !important; }
  .header-main { height: 64px; }
  .logo { font-size: 26px; }
  .hero { height: 70vh; }
  .wide { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .carousel { grid-auto-columns: 70%; gap: 12px; }
  .car-nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .banner { padding: 24px; }
  .banner h3 { font-size: 32px; }
  .usps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .modal-box { grid-template-columns: 1fr; }
  .qv-img img { aspect-ratio: 4/5; }
  .qv-info { padding: 24px 20px; }
  .section { padding-top: 52px; }
  .section-title { font-size: 30px; }
  .quick { transform: none; padding: 9px; font-size: 11px; left: 8px; right: 8px; bottom: 8px; }
  .hero-arrow { display: none; }
  .tabs { gap: 16px; }
}

/* ================= Shared additions ================= */
.card-info { display: block; }
.card-img > a { position: absolute; inset: 0; }
.nav-list > li > a.current::after { transform: scaleX(1); }
.link-dark { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.modal-box.single { grid-template-columns: 1fr; width: min(620px, 100%); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: center; }
.size-table th { font-weight: 500; background: var(--cream); }
.search-results .r { display: block; }
.crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; opacity: .9; }
.crumbs.dark { color: var(--muted); padding: 22px 0 20px; margin: 0; }
.crumbs a:hover { text-decoration: underline; }

/* ================= Category page ================= */
.cat-hero { position: relative; height: 300px; background: var(--img) center 30%/cover; color: #fff; display: flex; align-items: flex-end; padding-bottom: 40px; }
.cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.15)); }
.cat-hero .container { position: relative; }
.cat-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.cat-hero p { max-width: 560px; margin-top: 8px; opacity: .9; }

.shop { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
body.filters-hidden .shop { grid-template-columns: 1fr; }
body.filters-hidden .filters { display: none; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.filters-head h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.filters-head .icon-btn, .filters-foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "+"; font-size: 18px; line-height: 1; font-weight: 300; }
.fgroup[open] summary::after { content: "−"; }
.fopts { padding-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.fopt { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); }
.fopt:hover { color: var(--ink); }
.fopt input { accent-color: var(--ink); width: 16px; height: 16px; }
.fopt span { display: inline-flex; align-items: center; gap: 8px; }
.fopts.pills { flex-direction: row; flex-wrap: wrap; }
.fopts.pills .fopt input { display: none; }
.fopts.pills .fopt span { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; color: var(--ink); }
.fopts.pills .fopt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }

.toolbar { display: flex; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.filter-btn svg { width: 18px; height: 18px; }
.count { color: var(--muted); font-size: 14px; }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.density { display: flex; gap: 6px; }
.density button { display: flex; gap: 2px; padding: 6px; opacity: .35; }
.density button.on, .density button:hover { opacity: 1; }
.density i { width: 4px; height: 14px; background: var(--ink); }
.sort { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { font: inherit; color: var(--ink); border: 1px solid var(--line); padding: 8px 10px; background: #fff; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.chips:empty { margin: 0 0 24px; }
.chip { font-size: 12px; padding: 6px 12px; background: var(--cream); }
.chip:hover { background: var(--line); }
.chip.clear { background: none; text-decoration: underline; }
.shop .grid { grid-template-columns: repeat(var(--cols, 4), 1fr); margin-top: 16px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; }
.no-results h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.no-results .btn { margin-top: 20px; }
.load-more { text-align: center; margin-top: 48px; }
.load-more .bar { width: 200px; margin: 8px auto 20px; }

/* ================= Product page ================= */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.thumbs { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 10px; }
.thumbs button { border: 1px solid transparent; opacity: .6; }
.thumbs button.on { border-color: var(--ink); opacity: 1; }
.thumbs img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.main-img { display: flex; flex-direction: column; gap: 12px; }
.main-img img { width: 100%; aspect-ratio: 2/3; object-fit: cover; cursor: zoom-in; background: var(--cream); }
.gallery-dots { display: none; }
.pdp-info { position: sticky; top: 140px; padding-bottom: 20px; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; margin-bottom: 6px; }
.sku { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 16px; }
.price.big { font-size: 22px; }
.off { font-size: 12px; background: var(--sale); color: #fff; padding: 3px 8px; margin-left: 8px; vertical-align: middle; letter-spacing: .06em; }
.opt { margin-top: 26px; }
.opt .label span { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 14px; }
.opt-row { display: flex; justify-content: space-between; align-items: baseline; }
.opt-row .link-dark { margin: 0; }
.color-opts { display: flex; gap: 10px; }
.color-opts button { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 3px; }
.color-opts button.on { outline-color: var(--ink); }
.sizes button:hover { border-color: var(--ink); }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy { display: flex; gap: 10px; margin: 4px 0 10px; }
.buy .btn { flex: 1; }
.qty.big button, .qty.big span { width: 40px; height: 48px; }
.wish-big { width: 50px; border: 1px solid var(--line); display: grid; place-items: center; }
.wish-big:hover { border-color: var(--ink); }
.wish-big.on svg { fill: var(--sale); stroke: var(--sale); }
.perks { list-style: none; margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; line-height: 1; font-weight: 300; }
.accordion details[open] summary::after { content: "−"; }
.accordion details > div { padding-bottom: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 8px; }
.accordion strong { color: var(--ink); font-weight: 500; }

.sticky-add { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(100%); transition: transform .3s; }
.sticky-add.on { transform: none; }
.sticky-add div { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.sticky-add strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-add .btn { flex: none; padding: 12px 28px; }

.zoom { position: fixed; inset: 0; background: #fff; z-index: 95; display: none; overflow: hidden; }
.zoom.on { display: grid; place-items: center; }
.zoom img { max-height: 100vh; max-width: 100%; object-fit: contain; cursor: zoom-in; transition: transform .3s; }
.zoom img.zoomed { transform: scale(2.2); cursor: zoom-out; }
.zoom .icon-btn { position: absolute; top: 16px; right: 16px; }

@media (max-width: 1100px) {
  .shop .grid { grid-template-columns: repeat(min(var(--cols, 3), 3), 1fr); }
  .pdp { gap: 32px; }
}
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  body.filters-hidden .filters { display: flex; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; max-height: none; width: min(360px, 88%); background: #fff; z-index: 70; transform: translateX(-100%); transition: transform .35s; display: flex; flex-direction: column; padding: 0; }
  .filters.on { transform: none; }
  .filters-head { padding: 16px 20px; border-color: var(--line); }
  .filters-head .icon-btn { display: inline-flex; }
  #filterGroups { flex: 1; overflow-y: auto; padding: 0 20px; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
  .filters-foot .btn { padding: 14px 10px; }
  .shop .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero { height: 220px; padding-bottom: 28px; }

  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; margin: 0 -24px; position: relative; }
  .thumbs { display: none; }
  .main-img { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .main-img::-webkit-scrollbar { display: none; }
  .main-img img { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4/5; }
  .gallery-dots { display: flex; gap: 6px; justify-content: center; position: absolute; bottom: 14px; left: 0; right: 0; }
  .gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
  .gallery-dots i.on { background: #fff; }
  .pdp-info { position: static; }
}
@media (max-width: 640px) {
  .gallery { margin: 0 -16px; }
  .toolbar { gap: 12px; }
  .toolbar-right { gap: 12px; }
  .sort { font-size: 0; }
  .sort select { font-size: 13px; }
  .shop .grid { gap: 28px 12px; }
  .sticky-add { padding: 10px 16px; }
  .sticky-add .btn { padding: 12px 18px; }
}
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .buy .btn, .filters-foot .btn { letter-spacing: .1em; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
}

/* ================= WordPress additions ================= */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.logo.has-img { padding-left: 0; display: inline-flex; }
.logo-img { max-height: 48px; width: auto; }
.nav-head .logo-img { max-height: 32px; }
.nav-list > li.current > a::after { transform: scaleX(1); }
.mega-col h4 a { color: var(--ink); padding: 0; }
@media (min-width: 901px) {
  .mega-inner { grid-template-columns: repeat(3, 1fr) 1.3fr; }
  .mega-inner:not(:has(.mega-img)) { grid-template-columns: repeat(4, 1fr); }
}
.nav-extra { display: none; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; margin-bottom: 26px; }
.cats { grid-template-columns: repeat(var(--n, 6), 1fr); }
.cats-1 { --n: 1; } .cats-2 { --n: 2; } .cats-3 { --n: 3; } .cats-4 { --n: 4; } .cats-5 { --n: 5; }
.cat-ph { display: block; aspect-ratio: 3/4; background: var(--cream); }
.cat img { height: auto; }
.split:empty { display: none; }
.card .card-img img { height: 100%; }
.card-img .tag.soldout { background: var(--ink); color: #fff; }
.card.outofstock .card-img > a img:first-of-type { opacity: .6; }
a.quick { display: block; text-align: center; }
.quick.loading, [data-add].loading { opacity: .5; pointer-events: none; }
.quick-sizes { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; background: #fff; padding: 12px; transform: translateY(140%); opacity: 0; transition: .3s; text-align: center; }
.card.picking .quick-sizes { transform: none; opacity: 1; }
.card.picking .quick { visibility: hidden; }
.quick-sizes p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.quick-sizes div { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.quick-sizes button { min-width: 38px; height: 34px; padding: 0 8px; border: 1px solid var(--line); font-size: 12px; }
.quick-sizes button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.quick-sizes button:disabled { opacity: .35; text-decoration: line-through; pointer-events: none; }
.price del { color: var(--muted); font-weight: 400; margin-left: 8px; order: 2; }
.price ins { text-decoration: none; color: var(--sale); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.price del .amount { color: var(--muted); }
.price .screen-reader-text { display: none; }
.search-results .r.more { display: grid; place-items: center; border: 1px solid var(--line); aspect-ratio: 2/3; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.search-results .r img { aspect-ratio: 2/3; object-fit: cover; width: 100%; margin-bottom: 6px; height: auto; }
.drawer .lyb-cart-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer .empty .btn { margin-top: 18px; }
.line img { width: 84px; height: 120px; object-fit: cover; }
.line.busy { opacity: .5; pointer-events: none; }
.line .meta dl { display: flex; flex-wrap: wrap; gap: 0 6px; }
.line .meta dt, .line .meta dd, .line .meta p { display: inline; margin: 0; }
.view-bag { display: block; text-align: center; margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.6; }
.single-product .wa-float { bottom: 84px; }

/* Content pages */
.page-head { padding-top: 48px; padding-bottom: 28px; text-align: center; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.narrow { max-width: 820px; }
.entry-content { padding-bottom: 72px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }
.entry-content h2 { font-size: 32px; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content img { height: auto; }
.wc-page { padding-bottom: 72px; }
.post-list { padding-bottom: 72px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.post-card h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 6px 0 8px; }
.post-thumb img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; margin-bottom: 14px; }
.post-hero { width: 100%; height: auto; margin-bottom: 32px; }
.pagination-wrap, .woocommerce-pagination { margin-top: 40px; text-align: center; }
.nav-links, .page-numbers { display: inline-flex; gap: 6px; list-style: none; }
.page-numbers a, .page-numbers span, a.page-numbers, span.page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); padding: 0 10px; }
.page-numbers .current, span.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-404 { padding: 100px 16px; }
.page-404 h1 { font-family: var(--serif); font-weight: 500; font-size: 42px; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.comment-list { list-style: none; }

@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(min(var(--n, 6), 3), 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-extra { display: block; padding: 16px 20px; }
  .nav-extra a { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  .mega-col h4 { margin: 8px 0 6px; }
  .nav .mega-inner { grid-template-columns: 1fr; gap: 12px; }
  .nav .mega-img { display: none !important; }
}
@media (max-width: 640px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr; }
  .card.picking .quick-sizes { left: 8px; right: 8px; bottom: 8px; padding: 10px 8px; }
}
@media (hover: none) {
  .quick-sizes { transform: translateY(140%); }
}

/* Logged-in admin bar */
.admin-bar .header { top: 32px; }
.admin-bar .filters, .admin-bar .thumbs, .admin-bar .pdp-info { top: 172px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
.admin-bar .drawer, .admin-bar .search-panel { top: 32px; }
@media (max-width: 900px) { .admin-bar .nav, .admin-bar .filters { top: 32px; } }
@media (max-width: 782px) { .admin-bar .drawer, .admin-bar .search-panel, .admin-bar .nav, .admin-bar .filters { top: 46px; } }

/* Performance */
.banner { background-color: var(--cream); }
.slide { background-color: #2a2622; }
.usps-1 { grid-template-columns: 1fr; } .usps-2 { grid-template-columns: repeat(2, 1fr); } .usps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .usps-3 { grid-template-columns: 1fr; } }
.card, .cat, .banner { contain: layout paint; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.cats-2 { max-width: 760px; margin: 0 auto; }
.cats-3 { max-width: 1040px; margin: 0 auto; }

/* The header (and the phone menu inside it) sits above the dimmed overlay, so menu links can be tapped. */
.header { z-index: 50; }
.nav-open .header { z-index: 65; }

/* Bag: instant updates */
.lyb-cart-inner .line { transition: opacity .25s, max-height .3s, padding .3s; max-height: 260px; }
.lyb-cart-inner .line.gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-width: 0; overflow: hidden; }
.lyb-cart-inner.is-empty .drawer-foot, .lyb-cart-inner.is-empty .ship-meter { display: none; }
.adding { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: lyb-spin .7s linear infinite; flex: none; }
@keyframes lyb-spin { to { transform: rotate(360deg); } }
.lyb-cart-inner a.btn.loading { opacity: .6; pointer-events: none; }
.lyb-cart-inner.is-empty .drawer-body::before { content: "Your bag is empty."; display: block; text-align: center; color: var(--muted); padding: 60px 0; }
.builder-page { padding-bottom: 40px; }
.builder-page h1.screen-reader-text { position: absolute; }


/* ================= Phone layout (Khaadi-style) ================= */
.m-toolbar, .m-tabbar, .sheet, .to-top, .circles, .swipe-bar, .qa-m, .off-pill { display: none; }
.quick svg { display: none; }

@media (max-width: 900px) {
  /* Header: logo only; actions move to the bottom bar */
  .header-left, .header-right { visibility: hidden; }
  .header-main { height: 60px; }
  .nav { z-index: 70; }

  /* Bottom bar */
  body:not(.co-body) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .m-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 66; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .m-tabbar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; font-size: 11px; color: var(--ink); }
  .m-tabbar svg { width: 22px; height: 22px; }
  .m-tabbar .on { font-weight: 600; }
  .tb-ico { position: relative; display: inline-flex; }
  .tb-ico .badge { top: -6px; right: -10px; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .single-product .wa-float { bottom: calc(140px + env(safe-area-inset-bottom)); }
  .sticky-add { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .to-top { display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 44; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
  .to-top.on { opacity: 1; visibility: visible; transform: none; }
  .single-product .to-top { bottom: calc(140px + env(safe-area-inset-bottom)); }
  .drawer, .search-panel { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .search-panel { bottom: auto; }

  /* Shop page top */
  .cat-hero { height: auto; min-height: 0; padding: 28px 0 22px; }
  .cat-hero h1 { font-size: 30px; }
  .cat-intro { display: none; }
  .circles { display: block; padding: 18px 0 6px; }
  .circles-track { display: flex; gap: 18px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; justify-content: safe center; }
  .circles-track::-webkit-scrollbar { display: none; }
  .circle { flex: 0 0 auto; width: 82px; text-align: center; font-size: 12px; }
  .circle-img { display: block; width: 78px; height: 78px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: var(--cream); border: 2px solid transparent; }
  .circle.on .circle-img { border-color: var(--ink); }
  .circle-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .circle-name { display: block; line-height: 1.3; }

  /* Sticky Filter / Sort bar */
  .shop { padding-top: 8px; }
  .shop .toolbar { display: none; }
  .m-toolbar { display: block; position: sticky; top: var(--mtop, 60px); z-index: 40; background: #fff; margin: 0 -16px; padding: 10px 16px 8px; }
  .m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .m-select { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 12px; border: 1px solid #cfc9be; border-radius: 6px; font-size: 13px; background: #fff; }
  .m-select svg { width: 16px; height: 16px; }
  .m-row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 14px; }
  .m-cols { display: flex; gap: 6px; }
  .m-cols button { display: flex; gap: 2px; padding: 6px; opacity: .35; }
  .m-cols button.on { opacity: 1; }
  .m-cols i { width: 12px; height: 18px; border: 1.5px solid var(--ink); border-radius: 2px; }
  .chips { margin: 4px 0 10px; }
  .chips:empty { margin: 0; }

  /* Bottom sheets: Filter by + Sort by */
  .filters, .sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 82vh; z-index: 70; background: #fff; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .35s ease; display: flex; flex-direction: column; box-shadow: 0 -10px 30px rgba(0,0,0,.12); padding: 0; }
  .filters.on, .sheet.on { transform: none; }
  .filters-head { padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
  .filters-head h3 { font-size: 20px; letter-spacing: .02em; text-transform: uppercase; font-weight: 600; }
  .filters-foot { grid-template-columns: 1fr 2fr; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .sheet-grip { display: block; margin: 8px auto 0; padding: 4px 20px; }
  .sheet-grip svg { width: 22px; height: 22px; }
  .sheet h3 { font-size: 20px; letter-spacing: .02em; text-transform: uppercase; font-weight: 600; padding: 8px 20px 14px; }
  .sort-list { list-style: none; overflow-y: auto; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .sort-list a { display: block; padding: 16px 20px; font-size: 15px; }
  .sort-list a.on { background: var(--cream); font-weight: 500; }
}

@media (max-width: 640px) {
  /* Edge-to-edge two-column product grid */
  .shop .grid, .tab-panel .grid { margin-left: -16px; margin-right: -16px; gap: 22px 6px; grid-template-columns: repeat(2, 1fr) !important; }
  .shop .grid.m1 { grid-template-columns: 1fr !important; }
  .card .card-info { padding: 0 8px; }
  .tab-panel .card .card-info, .shop .card .card-info { padding: 0 10px; }
  .card-info .cat-name { font-size: 11px; letter-spacing: .02em; text-transform: none; }
  .card-info h3 { font-size: 14px; margin: 2px 0 4px; }
  .card .price { font-size: 14px; }
  .card .price del { order: -1; margin: 0 6px 0 0; }
  .off-pill { display: inline-block; margin-top: 6px; background: #e8553d; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
  .card-img .tag.sale { display: none; }
  .swatches { display: none; }

  /* Swipeable photos */
  .card-img .card-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .card-img .card-slides::-webkit-scrollbar { display: none; }
  .card-img .card-slides img, .card-img .card-slides img.alt { position: static; flex: 0 0 100%; width: 100%; height: 100%; opacity: 1; scroll-snap-align: start; transform: none !important; }
  .card:hover .card-img img { transform: none; }
  .swipe-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.55); z-index: 2; pointer-events: none; }
  .swipe-bar i { display: block; height: 100%; background: var(--ink); transition: transform .25s; }

  /* Round "Add" button on the photo */
  .quick, .card.picking .quick { transform: none; left: 8px; right: auto; bottom: 10px; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: rgba(255,255,255,.92); font-size: 9px; letter-spacing: .06em; visibility: visible; }
  .quick svg { display: block; width: 18px; height: 18px; }
  .qa-d { display: none; }
  .qa-m { display: block; }
  a.quick { width: auto; height: auto; border-radius: 4px; padding: 8px 10px; }
  .card.picking .quick { visibility: hidden; }
  .wish { top: 8px; right: 8px; width: 38px; height: 38px; }
}

@media (max-width: 900px) {
  .admin-bar .filters, .admin-bar .sheet, .filters, .sheet { top: auto; }
  .cat-hero { background-image: none !important; background-color: var(--cream); color: var(--ink); }
  .cat-hero::before { display: none; }
  .cat-hero .crumbs { color: var(--muted); }
}

/* Closed search panel is fully hidden (no sliver over the header). */
.search-panel { visibility: hidden; transition: transform .35s, visibility 0s linear .35s; }
.search-panel.on { visibility: visible; transition: transform .35s; }
@media (max-width: 600px) { .admin-bar .search-panel, .admin-bar .drawer, .admin-bar .nav { top: 0; } }


/* ================= Phone product page (Khaadi-style) ================= */
.m-buybar, .buy-sheet, .wish-img, .img-count { display: none; }
@media (max-width: 900px) {
  .single-product .crumbs.dark { display: none; }
  .single-product .pdp { padding-top: 0; }
  .gallery { position: relative; }
  .wish-img { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); }
  .wish-img svg { width: 20px; height: 20px; }
  .wish-img.on svg { fill: var(--sale); stroke: var(--sale); }
  .img-count { display: block; position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
  .gallery-dots { display: none !important; }
  .main-img img { aspect-ratio: 2/3; }

  .pdp-info { padding-top: 18px; }
  .pdp-sub { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 4px; }
  .pdp-info h1 { font-family: var(--sans); font-weight: 500; font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
  .pdp-info .price.big { font-size: 18px; font-weight: 500; }
  .pdp-info .off { background: #e8553d; border-radius: 999px; font-size: 11px; padding: 3px 10px; }
  .pdp-info .sku { margin: 2px 0 6px; }
  .pdp-info .small-muted { margin-bottom: 4px; }
  .pdp-info > .wish-big, .pdp-info .buy-area { display: none; }
  .perks { margin: 18px 0; }
  .accordion summary { font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 500; padding: 18px 0; }

  /* Always-visible Add to Bag button above the bottom bar */
  .single-product .sticky-add { display: none !important; }
  .m-buybar { display: block; position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 60; background: #fff; padding: 10px 16px; border-top: 1px solid var(--line); }
  .m-buybar .btn { width: 100%; border-radius: 999px; height: 50px; font-size: 13px; }
  body.single-product { padding-bottom: calc(134px + env(safe-area-inset-bottom)); }
  .single-product .to-top { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .single-product .wa-float { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .single-product .toast { bottom: calc(146px + env(safe-area-inset-bottom)); }

  /* Add to Bag sheet: photo, name, SKU, price, sizes, quantity */
  .buy-sheet { display: flex; }
  .buy-sheet-head { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 6px 20px 16px; border-bottom: 1px solid var(--line); }
  .buy-sheet-head img { width: 76px; height: 106px; object-fit: cover; border-radius: 4px; }
  .bs-name { font-size: 15px; font-weight: 500; line-height: 1.35; }
  .bs-sku { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
  .buy-sheet-body { overflow-y: auto; padding: 4px 20px calc(18px + env(safe-area-inset-bottom)); }
  .buy-sheet-body .buy-area { display: block; margin-top: 0; }
  .buy-sheet-body .size-guide-row { display: block; text-align: right; margin: 14px 0 -26px; position: relative; z-index: 1; }
  .buy-sheet-body .single_add_to_cart_button { border-radius: 999px; }
  .buy-sheet-body .buy-now { border-radius: 999px; }
  .buy-sheet-body .quantity { border-radius: 6px; }

  /* You may also like */
  .related .section-title { font-family: var(--sans); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
  .related .carousel { grid-auto-columns: 46%; gap: 8px; }
}

/* Pop-up message: fully hidden until shown. */
.toast { opacity: 0; visibility: hidden; transition: transform .35s, opacity .25s, visibility 0s linear .35s; }
.toast.on { opacity: 1; visibility: visible; transition: transform .35s, opacity .25s; }


/* ================= Phone homepage (Khaadi-style) ================= */
.m-banner, .c-dots { display: none; }
.section-sub { color: var(--muted); text-align: center; margin-top: -4px; }
.section-head .section-sub { margin-top: -8px; }
@media (min-width: 901px) { .section-sub { display: none; } }
@media (max-width: 900px) {
  .m-tabbar { grid-template-columns: repeat(4, 1fr); }

  /* Slideshow: tall phone format with dots underneath */
  .home .hero { height: auto; aspect-ratio: 4 / 5; min-height: 0; max-height: none; overflow: visible; margin-bottom: 34px; }
  .home .slide { overflow: hidden; }
  .home .slide h1, .home .slide .h1 { font-size: 34px; margin-bottom: 18px; }
  .home .slide-text { padding-bottom: 40px; }
  .home .hero-arrow { display: none; }
  .home .hero-dots { bottom: -22px; gap: 8px; }
  .home .hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: #cfc9be; }
  .home .hero-dots button.on { background: var(--ink); }

  /* Section headings */
  .home .section { padding-top: 40px; }
  .home .section-title { font-family: var(--sans); font-weight: 600; font-size: 24px; margin-bottom: 8px; letter-spacing: .01em; }
  .home .section-head { margin-bottom: 16px; gap: 8px; }
  .home .section-head .car-nav { display: none; }
  .home .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; scrollbar-width: none; gap: 8px; }
  .home .tabs::-webkit-scrollbar { display: none; }
  .home .tab { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12px; letter-spacing: .04em; color: var(--ink); }
  .home .tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* Round category pictures */
  .home-cats { padding-top: 26px !important; }
  .home-cats .section-title { display: none; }
  .home-cats .cats { display: flex; gap: 18px; overflow-x: auto; justify-content: safe center; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; max-width: none; }
  .home-cats .cats::-webkit-scrollbar { display: none; }
  .home-cats .cat { flex: 0 0 84px; contain: none; }
  .home-cats .cat img, .home-cats .cat-ph { width: 80px; height: 80px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto; }
  .home-cats .cat span { font-size: 12px; letter-spacing: 0; text-transform: none; margin-top: 8px; }

  /* Full-width campaign photo inside each section */
  .m-banner { display: flex; margin: 0 -16px 18px; aspect-ratio: 4 / 5; }
  .split { display: none; }

  /* Swipeable product rows (about two cards per screen) */
  .home .m-row-scroll { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 46%; gap: 8px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px !important; padding: 0 16px; scroll-padding: 0 16px; }
  .home .m-row-scroll::-webkit-scrollbar { display: none; }
  .home .m-row-scroll .card { scroll-snap-align: start; }
  .home .tab-panel .center { margin-top: 18px; }
  .home .tab-panel .center .btn { padding: 11px 26px; border-radius: 999px; }
  .c-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
  .c-dots[hidden] { display: none; }
  .c-dots button { width: 7px; height: 7px; border-radius: 50%; background: #cfc9be; padding: 0; }
  .c-dots button.on { background: var(--ink); }
  .home .wide { display: none; }
}


/* ================= Phone menu (Khaadi-style) ================= */
.nav-search, .nav-help, .m-sub-head, .m-view-all { display: none; }
@media (max-width: 900px) {
  .nav { width: 100%; max-width: 100%; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .nav-head { padding: 20px 20px 12px; border-bottom: 0; }
  .menu-heading { font-size: 24px; font-weight: 600; }
  .nav-search { display: flex; align-items: center; gap: 10px; margin: 0 20px 14px; padding: 0 14px; height: 46px; border: 1px solid #cfc9be; border-radius: 8px; }
  .nav-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
  .nav-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; }

  .nav-list { border-top: 1px solid var(--line); }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .nav-list > li > a.sale { color: var(--sale); }
  .has-mega > a::before { content: none !important; }
  .has-mega > a::after { content: "" !important; display: block !important; position: static !important; transform: rotate(45deg) !important; width: 8px; height: 8px; border: solid var(--ink); border-width: 1.5px 1.5px 0 0; background: none !important; }

  /* Sub-menu slides in over the menu */
  .nav .has-mega .mega, .nav .has-mega.open .mega { display: block; position: fixed; inset: 0; z-index: 3; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; padding-bottom: calc(72px + env(safe-area-inset-bottom)); border: 0; box-shadow: none; opacity: 1; visibility: visible; }
  .nav .has-mega.open .mega { transform: none; }
  .m-sub-head { display: flex; align-items: center; gap: 8px; padding: 18px 12px 14px; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
  .m-back { display: grid; place-items: center; width: 36px; height: 36px; }
  .m-back svg { width: 22px; height: 22px; }
  .m-view-all { display: block; padding: 16px 20px; font-size: 15px; font-weight: 500; text-decoration: underline; border-bottom: 1px solid var(--line); }
  .nav .mega-inner { display: block; padding: 0; }
  .nav .mega-col { border-bottom: 1px solid var(--line); }
  .nav .mega-col h4 { margin: 0; }
  .nav .mega-col h4 a, .nav .mega-col > a { display: block; padding: 15px 20px; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
  .nav .mega-col h4 a { font-weight: 500; }
  .nav .mega-col > a { padding-left: 32px; color: var(--muted); border-top: 1px solid #f1ede6; }
  .nav .mega-img { display: none !important; }

  /* Track order / wishlist / account */
  .nav-extra { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .nav-extra a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; font-size: 15px; }
  .nav-extra svg { width: 20px; height: 20px; }

  /* Need Help? */
  .nav-help { display: block; padding: 22px 20px 10px; }
  .nav-help-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
  .nav-help details { border-bottom: 1px solid var(--line); }
  .nav-help summary { list-style: none; cursor: pointer; padding: 15px 0; font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; }
  .nav-help summary::-webkit-details-marker { display: none; }
  .nav-help summary::after { content: "+"; font-size: 20px; line-height: 1; font-weight: 300; }
  .nav-help details[open] summary::after { content: "−"; }
  .nav-help-links { display: grid; gap: 2px; padding-bottom: 12px; }
  .nav-help-links a { padding: 8px 0; color: var(--muted); font-size: 14px; }
  .nav-social { display: flex; gap: 10px; padding: 18px 0 8px; }
  .nav-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
  .nav-social a svg { width: 18px; height: 18px; }
  .nav-social:empty { display: none; }
}
@media (max-width: 900px) {
  .nav .nav-list > li.has-mega > a::after { content: "" !important; display: block !important; position: static !important; width: 9px !important; height: 9px !important; border: solid var(--ink) !important; border-width: 1.5px 1.5px 0 0 !important; background: none !important; transform: rotate(45deg) !important; margin-right: 4px; flex: none; }
  .nav form.nav-search { min-height: 46px; height: 46px; padding: 0 14px; }
  .nav form.nav-search input { height: 44px; padding: 0; }
  .nav .nav-list { padding: 0; }
}
@media (max-width: 900px) {
  .nav .mega a.m-view-all { padding: 16px 20px; color: var(--ink); font-size: 15px; font-weight: 500; }
}


/* ================= Footer (Khaadi-style) ================= */
.kf { background: #fff; padding-top: 0; border-top: 1px solid var(--line); }
.home .usps { display: none; }
.kf-strip { background: #fbf1ec; }
.kf-strip-in { display: flex; justify-content: space-around; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.kf-feat { display: flex; align-items: center; gap: 14px; }
.kf-ico { width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed #e3a58f; display: grid; place-items: center; color: #d0745a; flex: none; }
.kf-ico svg { width: 20px; height: 20px; }
.kf-feat strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kf-feat span { font-size: 13px; color: var(--ink); }
.kf-help { border-bottom: 1px solid var(--line); }
.kf-help-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; max-width: 1100px; }
.kf-help h3 { font-size: 22px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.kf-help a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.kf-help a svg { width: 26px; height: 26px; }
.kf-cols { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 40px; padding-top: 32px; padding-bottom: 32px; max-width: 1100px; }
.kf-col summary, .kf-col h4 { list-style: none; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.kf-col summary::-webkit-details-marker { display: none; }
.kf-links { display: grid; gap: 10px; }
.kf-links a { font-size: 14px; color: var(--ink); }
.kf-links a:hover { text-decoration: underline; }
.kf-social { display: flex; gap: 12px; margin-bottom: 26px; }
.kf-social a { width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.kf-social svg { width: 18px; height: 18px; }
.kf-social .s-tiktok { background: #111; }
.kf-social .s-youtube { background: #e62117; }
.kf-social .s-facebook { background: #1877f2; }
.kf-social .s-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.kf-news { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; max-width: 320px; }
.kf-news input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 6px 0; background: transparent; }
.kf-news button { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.kf .news-msg { margin-top: 8px; font-size: 13px; color: var(--accent); }
.kf-bottom { border-top: 1px solid var(--line); }
.kf-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; max-width: 1100px; flex-wrap: wrap; }
.kf-safe { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.kf-pay { color: var(--ink); font-weight: 500; }
.kf-brand { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.kf-brand .logo { font-size: 18px; letter-spacing: .2em; padding-left: 0; }
.kf-brand .logo-img { max-height: 26px; }

@media (max-width: 900px) {
  .kf-strip-in { flex-direction: column; gap: 14px; padding: 20px 16px; }
  .kf-help-in { padding: 16px; }
  .kf-help h3 { font-size: 20px; }
  .kf-cols { display: block; padding: 6px 16px 24px; }
  .kf-col { border-bottom: 1px solid var(--line); }
  .kf-col summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 17px 0; font-size: 14px; cursor: pointer; }
  .kf-col summary::after { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; }
  .kf-col[open] summary::after { content: "−"; }
  .kf-links { padding-bottom: 16px; gap: 12px; }
  .kf-right { border-bottom: 0; padding-top: 22px; }
  .kf-news { max-width: none; }
  .kf-bottom-in { flex-direction: column; align-items: flex-start; padding: 18px 16px 22px; }
  .kf-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 901px) {
  .kf-col summary { pointer-events: none; }
}
