/* ================================================================
   Storefront layout: top promo bar, department tabs, category bar,
   department home, listing page with filters, product page, footer.
   Loaded after style.css and overrides the older home page styles.
   ================================================================ */
:root {
  --ink: #171717;
  --bar: #E6E6E6;
  --field: #F1F1F1;
  --gold: #B8860B;
  --wait: #E79BB4;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --radius: 6px;
}
html[lang="ar"] { --serif: var(--sans); }
html[lang="ur"] { --serif: var(--sans); }
html { scroll-padding-top: 150px; }
.wrap { max-width: 1344px; }
[hidden] { display: none !important; }

/* ---------- Top promo bar ---------- */
.topbar { position: relative; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; min-height: 40px; }
.topbar-promo { flex: 1; min-width: 0; }
.promo-main { width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 28px; padding: 16px 110px; color: #fff; text-align: start; }
.promo-big { font-size: 30px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.promo-sub { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.promo-code { background: var(--sale); border-radius: 4px; padding: 3px 9px; font-size: 13px; letter-spacing: .06em; }
.promo-cta { background: #fff; color: #000; border-radius: 999px; padding: 8px 22px; font-size: 13px; font-weight: 600; }
.promo-main:hover .promo-cta { background: #EDEDED; }
.topbar-lang { position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); display: flex; gap: 14px; }
.topbar-lang a { color: #fff; font-size: 15px; font-weight: 500; padding: 6px 2px; }
.topbar-lang a:hover { text-decoration: underline; text-underline-offset: 4px; }
html[lang="ar"] .promo-big, html[lang="ur"] .promo-big, html[lang="ar"] .promo-sub, html[lang="ur"] .promo-sub { letter-spacing: 0; }

/* ---------- Header ---------- */
.header { box-shadow: none; }
.header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.header-bar { gap: 22px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: "Montserrat", system-ui, sans-serif; font-size: 27px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.logo i { font-style: normal; color: var(--sale); letter-spacing: 0; }
.menu-btn { display: none; }
.dept-tabs { display: flex; gap: 6px; }
.dept-tabs a { min-width: 96px; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 8px;
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.dept-tabs a:hover { background: var(--field); }
.dept-tabs a.is-on { background: var(--ink); color: #fff; }
.search { flex: 1; max-width: 420px; margin-inline-start: auto; height: 38px; align-items: center; background: var(--field); border: 1px solid transparent; border-radius: 6px; padding-inline-start: 14px; overflow: hidden; }
.search > .icon { width: 18px; height: 18px; flex: none; color: #555; }
.search input { padding: 0 10px; font-size: 13px; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { width: 44px; height: 100%; background: transparent; color: var(--ink); }
.search button .icon { width: 18px; height: 18px; }
[dir="rtl"] .search button .icon { transform: scaleX(-1); }
.header-actions { gap: 0; }
.icon-btn { width: 40px; height: 40px; }

/* ---------- Category bar and drop-down ---------- */
.catnav { position: relative; background: var(--bar); }
.catnav-row { display: flex; justify-content: center; gap: 4px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.catnav-row::-webkit-scrollbar { display: none; }
.cat-link { display: inline-flex; align-items: center; gap: 4px; padding: 12px 14px; font-size: 13px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.cat-link:hover, .cat-link.is-on { border-color: var(--ink); }
.cat-link .chev, summary .chev { width: 14px; height: 14px; stroke-width: 2; }
.cat-link.best { color: var(--gold); }
.cat-link.sale { color: var(--sale); font-weight: 600; }
.mega { border-top: 0; }
.mega-inner { grid-template-columns: 1fr 1fr 1.6fr; }
.mega-links a, .mega-links button { text-align: start; font-size: 14px; width: fit-content; }
.mega-links a:hover, .mega-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-feature { grid-template-columns: repeat(3, 1fr); }
.mega-card { border-radius: 4px; }
.mega-card img { border-radius: 4px; background: var(--soft); }

/* Service messages under the header */
.announce { background: #F6F6F6; color: var(--ink-2); height: 32px; border-bottom: 1px solid var(--line); }
.announce-item { line-height: 32px; font-size: 12.5px; letter-spacing: 0; }

/* ---------- Department home ---------- */
#view { min-height: 50vh; }
.section { margin-top: 44px; }
.sec-head { align-items: center; margin-bottom: 18px; }
.sec-title { font-family: var(--sans); font-weight: 700; font-size: 26px; letter-spacing: 0; }
html[lang="ar"] .sec-title, html[lang="ur"] .sec-title { font-size: 24px; }

.rail { display: flex; gap: 4px; margin-top: 28px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 calc((100% - 16px) / 5.25); min-width: 150px; display: grid; gap: 10px; text-align: center; font-size: 22px; font-weight: 500; scroll-snap-align: start; }
.rail-img { display: block; aspect-ratio: 243 / 338; background: #F1EEEA; overflow: hidden; }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rail-item:hover .rail-img img { transform: scale(1.04); }
.rail-sale { background: var(--sale); color: #fff; display: grid; place-items: center; }
.rail-sale b { font-size: 84px; font-weight: 800; opacity: .9; }

.countdown { width: 100%; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #F4F4F4; padding: 12px 20px; text-align: start; }
.cd-title { font-size: 18px; font-weight: 700; }
.cd-clock { display: flex; align-items: flex-start; gap: 10px; }
.cd-clock > i { font-style: normal; font-weight: 700; font-size: 20px; line-height: 46px; }
.cd-unit { display: grid; justify-items: center; gap: 4px; }
.cd-digits { display: flex; gap: 5px; }
.cd-digits b { width: 44px; height: 46px; border-radius: 6px; background: #1E1E1E; color: #fff; font-size: 26px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cd-unit small { font-size: 13px; font-weight: 600; letter-spacing: .04em; }

.hero-wrap { max-width: 1344px; margin: 0 auto; padding: 0 32px; }
.carousel { border-radius: 0; }
.slides { height: clamp(340px, 43vw, 562px); }
.slide-title { font-family: var(--sans); font-weight: 800; font-size: clamp(32px, 4.4vw, 62px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
html[lang="ar"] .slide-title, html[lang="ur"] .slide-title { text-transform: none; }
.slide-text { font-size: 18px; font-weight: 500; }
.slide-copy .cta { height: 46px; border-radius: 6px; padding: 0 28px; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.car-dots { inset-inline-start: 0; inset-inline-end: 0; justify-content: center; bottom: 16px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(120,120,120,.45); }
.car-dots button.is-on { background: var(--ink); }
.slide.light ~ .car-dots button.is-on { background: #fff; }

.cat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: grid; gap: 14px; text-align: center; padding-bottom: 18px; }
.cat-tile-img { display: block; aspect-ratio: 427 / 400; background: #F6F4F1; overflow: hidden; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile-img img { transform: scale(1.05); }
.cat-tile strong { font-size: clamp(22px, 3vw, 40px); font-weight: 500; line-height: 1.1; }

.tiles { gap: 12px; }
.tiles.n1 { grid-template-columns: 1fr; }
.tiles.n2 { grid-template-columns: 1fr 1fr; }
.tile { border-radius: 0; min-height: 300px; }
.tile strong { font-family: var(--sans); font-weight: 700; font-size: 26px; }
.tiles.n1 .tile { min-height: 240px; }

.seo { margin-top: 56px; }
.seo h1 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.seo-text { margin: 0 0 6px; color: var(--ink-2); max-width: 90ch; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.seo-text.open { display: block; }
.trust { margin-top: 44px; }
.trust-item { border-radius: 6px; }

/* ---------- Product cards ---------- */
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 12px; }
.row-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { gap: 6px; }
.card-media { position: relative; }
.card-img { border-radius: 4px; background: #F3F0EC; aspect-ratio: 3 / 4; }
.card .heart { width: 32px; height: 32px; background: rgba(255,255,255,.9); }
.card .heart .icon { width: 17px; height: 17px; }
.card .off { top: 10px; border-radius: 0 4px 4px 0; }
.new-tag { inset-inline-start: 8px; bottom: 8px; font-weight: 600; border-radius: 3px; }
.new-tag.tag-best { background: var(--ink); color: #fff; }
.new-tag.tag-exclusive { background: var(--gold); color: #fff; }
.card:hover .new-tag { opacity: 1; }
.quick-add { position: absolute; inset-inline-end: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 4px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.14); transition: background .15s, color .15s; }
.quick-add .icon { width: 18px; height: 18px; }
.quick-add:hover { background: var(--ink); color: #fff; }
.prices { margin-top: 4px; }
.prices b { color: var(--ink); font-size: 16px; font-weight: 700; }
.prices s { font-size: 13px; }
.card-name { display: block; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-name:hover { text-decoration: underline; }
.link-btn { font-size: 14px; }

/* ---------- Listing page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ink-2); }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
.listing { padding-top: 16px; }
.list-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.list-count { font-size: 12px; font-weight: 600; }
.list-head { display: flex; align-items: center; gap: 12px; margin: 10px 0 18px; }
.list-title { margin: 0; font-size: 22px; font-weight: 700; flex: 1; }
.sort-box { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.sort { height: 34px; border: 1px solid var(--ink); border-radius: 4px; padding: 0 10px; font-size: 12px; min-width: 170px; margin: 0; }
.filter-toggle { display: none; }
.list-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding-inline-end: 6px; scrollbar-width: thin; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-bottom: 6px; }
.filters-head strong { font-size: 17px; }
.filters-close, .filters-apply { display: none; }
.outline-btn.sm { border-radius: 4px; height: 30px; padding: 0 12px; font-size: 12px; font-weight: 500; }
.facet { border-bottom: 1px solid var(--line); padding: 4px 0; }
.facet summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.facet summary::-webkit-details-marker, .acc summary::-webkit-details-marker, .menu-list summary::-webkit-details-marker { display: none; }
details[open] > summary .chev { transform: rotate(180deg); }
.facet-list { display: grid; gap: 2px; max-height: 196px; overflow-y: auto; padding-bottom: 10px; scrollbar-width: thin; }
.facet-opt { display: flex; align-items: center; gap: 12px; padding: 7px 2px; font-size: 13px; cursor: pointer; }
.facet-opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.facet-opt span { flex: 1; }
.facet-opt em { font-style: normal; color: var(--muted); font-size: 12px; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.sw-black { background: #111; } .sw-white { background: #fff; } .sw-grey { background: #9A9A9A; } .sw-beige { background: #D8C7A8; }
.sw-brown { background: #6B4A34; } .sw-red { background: #B0102A; } .sw-pink { background: #E7A4BC; } .sw-orange { background: #D97B45; }
.sw-yellow { background: #E8C547; } .sw-green { background: #5F7F4F; } .sw-blue { background: #3D5C8C; } .sw-purple { background: #7B5EA7; }
.empty { display: grid; gap: 16px; justify-items: center; }
.empty .outline-btn { display: inline-flex; align-items: center; }

/* ---------- Product page ---------- */
.pdp { padding-top: 16px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; margin-top: 14px; align-items: start; }
.pdp-gallery { display: flex; gap: 12px; position: sticky; top: 150px; }
.pdp-thumbs { display: grid; gap: 8px; align-content: start; width: 74px; flex: none; }
.thumb { border: 1px solid transparent; border-radius: 4px; overflow: hidden; background: #F3F0EC; }
.thumb.is-on { border-color: var(--ink); }
.thumb img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.pdp-main { position: relative; flex: 1; background: #F3F0EC; border-radius: 4px; overflow: hidden; }
.pdp-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp-info { display: grid; gap: 16px; max-width: 520px; }
.pdp-info > * { margin: 0; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 700; }
.pdp-price s { color: var(--muted); font-size: 16px; }
.pdp-save { color: var(--sale); font-size: 13px; font-weight: 600; margin-top: -10px; }
.pdp-title { display: flex; align-items: flex-start; gap: 4px; }
.pdp-title h1 { flex: 1; margin: 0; font-size: 20px; font-weight: 400; line-height: 1.35; padding-top: 7px; }
.heart-plain.is-on .icon { fill: var(--sale); stroke: var(--sale); }
.opt-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.sizes button { border-color: var(--ink); border-radius: 4px; min-width: 52px; height: 38px; font-weight: 500; }
.qv-actions { gap: 14px; }
.qty { border-radius: 4px; background: var(--field); border-color: transparent; }
.qty button { width: 44px; height: 42px; }
.qty span { min-width: 34px; }
.qv-actions .solid-btn { border-radius: 6px; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; transition: background .2s; }
.qv-actions .solid-btn .icon { width: 18px; height: 18px; }
.qv-actions .solid-btn.is-wait { background: var(--wait); color: #fff; }
.qv-actions .solid-btn:disabled { background: #BDBDBD; }
html[lang="ar"] .qv-actions .solid-btn, html[lang="ur"] .qv-actions .solid-btn { letter-spacing: 0; font-size: 14px; }
.bnpl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bnpl-box { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 8px; justify-items: start; font-size: 12.5px; }
.bnpl-box p { margin: 0; }
.bnpl-box .pay-mark { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.pdp-ship { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.pdp-ship .icon { flex: none; }
.acc { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.acc-body { padding-bottom: 16px; color: var(--ink-2); display: grid; gap: 12px; }
.acc-body p { margin: 0; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.pdp-feedback { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }
.qv-body { gap: 12px; }

/* ---------- Mobile menu panel ---------- */
.menu-list { display: grid; }
.menu-list > a, .menu-list summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; list-style: none; }
.menu-list details a { display: block; padding: 10px 14px; }
.menu-list details { border-bottom: 1px solid var(--line); }
.menu-list details summary { border-bottom: 0; }
.menu-top.sale { color: var(--sale); }
.menu-top.best { color: var(--gold); }
.seg { overflow-x: auto; }
.seg button { padding: 0 12px; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { margin-top: 48px; background: #000; color: #D0D0D0; }
.footer-grid { grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 32px; color: #D0D0D0; padding-top: 52px; padding-bottom: 36px; }
.footer-grid h3 { margin: 0 0 8px; color: #fff; font-size: 16px; font-weight: 700; }
.footer-grid a { font-size: 13.5px; width: fit-content; }
.footer-grid a.sale { color: #FF7A8E; }
.footer-news p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; }
.footer .news-form input { height: 42px; border-radius: 6px; border-color: #3A3A3A; background: #111; color: #fff; padding: 0 14px; min-width: 150px; }
.footer .news-form .solid-btn { height: 42px; border-radius: 6px; background: #fff; color: #000; padding: 0 18px; }
.footer .news-ok { color: #8EE0A6; }
.footer .field-err { color: #FF9AA8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: #A8A8A8; }
.footer :focus-visible { outline-color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .header-bar { flex-wrap: wrap; }
  .dept-tabs { order: 5; flex-basis: 100%; justify-content: center; }
  .dept-tabs a { min-width: 0; flex: 1; max-width: 150px; }
  .row-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row-grid .card:nth-child(5) { display: none; }
  .promo-big { font-size: 24px; }
  .pdp-grid { gap: 32px; }
}
@media (max-width: 860px) {
  .hero-wrap { padding: 0; }
  .menu-btn { display: grid; margin-inline-start: -8px; }
  .search { max-width: none; }
  .catnav-row { justify-content: flex-start; }
  .cat-link .chev { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; gap: 12px; }
  .row-grid::-webkit-scrollbar { display: none; }
  .row-grid .card, .row-grid .card:nth-child(5) { display: flex; flex: 0 0 42%; scroll-snap-align: start; }
  .rail-item { flex-basis: 30%; font-size: 15px; min-width: 110px; }
  .rail-sale b { font-size: 48px; }
  .list-body { display: block; }
  .filter-toggle { display: inline-flex; align-items: center; }
  .filters { position: fixed; inset: 0; z-index: 55; background: #fff; max-height: none; padding: 16px 20px calc(88px + env(safe-area-inset-bottom, 0px)); transform: translateX(-100%); transition: transform .28s ease; visibility: hidden; }
  [dir="rtl"] .filters { transform: translateX(100%); }
  body.filters-open .filters { transform: none; visibility: visible; }
  body.filters-open { overflow: hidden; }
  .filters-close { display: grid; }
  .filters-apply { display: block; position: fixed; inset-inline: 20px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 6px; }
  .facet-list { max-height: none; }
  .pdp-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdp-gallery { position: static; flex-direction: column-reverse; }
  .pdp-thumbs { width: auto; grid-auto-flow: column; grid-auto-columns: 64px; justify-content: start; }
  .pdp-info { max-width: none; }
  .tiles.n2, .tiles.n3 { grid-template-columns: 1fr; }
  .tiles .tile:first-child { grid-column: auto; }
  .tile { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 170px; }
  .promo-main { padding: 10px 14px; padding-inline-end: 128px; gap: 4px 12px; justify-content: flex-start; }
  .promo-big { font-size: 17px; }
  .promo-sub { font-size: 11px; }
  .promo-cta { display: none; }
  .topbar-lang { inset-inline-end: 12px; gap: 10px; }
  .topbar-lang a { font-size: 13px; }
  .header-bar { gap: 8px 6px; padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 22px; flex: 1; }
  .search { order: 4; flex-basis: 100%; border-radius: 6px; background: var(--field); padding-inline-start: 12px; }
  .search button { order: 0; color: var(--ink); }
  .search input { padding-inline: 10px; }
  .dept-tabs { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .dept-tabs::-webkit-scrollbar { display: none; }
  .dept-tabs a { flex: 0 0 auto; padding: 0 16px; }
  .cat-link { padding: 10px 12px; }
  .section { margin-top: 30px; }
  .sec-title { font-size: 20px; }
  .rail { margin-top: 16px; }
  .countdown { justify-content: center; text-align: center; padding: 12px; }
  .cd-title { font-size: 15px; flex-basis: 100%; text-align: center; }
  .cd-digits b { width: 32px; height: 36px; font-size: 20px; }
  .cd-clock > i { line-height: 36px; }
  .cd-clock { gap: 6px; }
  .slide-copy { padding: 24px 20px 0; gap: 10px; }
  .slide-text { font-size: 14px; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .list-head { flex-wrap: wrap; }
  .list-title { flex-basis: 100%; font-size: 19px; }
  .sort-box { margin-inline-start: auto; }
  .sort-box span { display: none; }
  .sort { min-width: 0; }
  .pdp-price b { font-size: 24px; }
  .pdp-title h1 { font-size: 17px; }
  .bnpl { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 30px; }
  .trust-item { padding: 12px; gap: 10px; }
  .trust-item span { display: none; }
}

/* ================================================================
   Visual polish: photography, compact menus, richer home sections
   ================================================================ */

/* Language: one link, more behind the arrow */
.topbar-lang { gap: 2px; align-items: center; }
.lang-more { position: relative; }
.lang-more summary { list-style: none; cursor: pointer; width: 26px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 4px; }
.lang-more summary::-webkit-details-marker { display: none; }
.lang-more summary:hover { background: rgba(255,255,255,.14); }
.lang-more summary .icon { width: 14px; height: 14px; stroke-width: 2; }
.lang-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 45; background: #fff; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.22); padding: 6px; min-width: 120px; }
.lang-list a { display: block; color: var(--ink); padding: 9px 12px; border-radius: 6px; font-size: 14px; }
.lang-list a:hover { background: var(--field); text-decoration: none; }

/* Header details */
.header-bar { padding-top: 22px; padding-bottom: 22px; }
.dept-tabs a { transition: background .18s, color .18s, transform .18s; }
.dept-tabs a:active { transform: scale(.97); }
.search:focus-within { background: #fff; border-color: var(--ink); }
.cat-link { transition: border-color .15s, color .15s; }
.cat-link .chev { transition: transform .2s; }
.cat-link.is-open { border-color: var(--ink); }
.cat-link.is-open .chev { transform: rotate(180deg); }

/* Drop-down menu: a compact card under the hovered category */
.mega { inset-inline: auto; left: 12px; right: auto; width: max-content; max-width: min(780px, calc(100vw - 24px)); border: 0; border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.mega-inner { display: grid; grid-template-columns: auto auto auto; gap: 44px; padding: 26px 30px 28px; }
.mega h3 { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 700; margin-bottom: 16px; }
.mega-links { gap: 14px; min-width: 130px; }
.mega-links a, .mega-links button { font-size: 13px; color: var(--ink-2); }
.mega-links a:hover, .mega-links button:hover { color: var(--ink); }
.mega-links a b { color: var(--ink); }
.mega-feature { display: grid; grid-template-columns: repeat(2, 132px); gap: 12px; }
.mega-card { gap: 6px; }
.mega-card img { aspect-ratio: 3 / 4; }
.mega-card span { font-size: 12px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Section headings */
.sec-title { font-size: 32px; font-weight: 700; letter-spacing: -.01em; color: #2A0D10; }
.sec-head { margin-bottom: 22px; }
.sec-head .link-btn { font-weight: 600; text-underline-offset: 4px; }
.section { margin-top: 56px; }

/* Category rail */
.rail { gap: 3px; margin-top: 26px; padding-bottom: 4px; }
.rail-item { gap: 12px; font-weight: 500; }
.rail-item:hover > span:last-child { text-decoration: underline; text-underline-offset: 5px; }
.rail-sale { background: linear-gradient(160deg, #C41230, #8E0C22); }

/* Countdown */
.countdown { margin-top: 22px; padding: 14px 24px; transition: background .2s; }
.countdown:hover { background: #EEEEEE; }
.cd-title { font-size: 20px; }
.cd-digits b { box-shadow: inset 0 -18px 0 rgba(255,255,255,.06); }

/* Hero with photography */
.hero-wrap { margin-top: 18px; }
.slide.has-photo .slide-copy { color: #fff; }
.slide.has-photo::after { background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 80%); }
[dir="rtl"] .slide.has-photo::after { background: linear-gradient(-90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 80%); }
.slide.has-photo .cta { background: #fff; color: var(--ink); }
.slide-photo { transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-on .slide-photo { transform: none; }
.slide-copy { max-width: 620px; }
.slide-copy .cta { transition: transform .2s, box-shadow .2s, background .2s; }
.car-arrow { width: 44px; height: 44px; background: #fff; }
.car-dots button { transition: width .25s, background .25s; }
.car-dots button.is-on { width: 26px; border-radius: 5px; }
.carousel:has(.slide.is-on.has-photo) .car-dots button { background: rgba(255,255,255,.55); }
.carousel:has(.slide.is-on.has-photo) .car-dots button.is-on { background: #fff; }

/* Shop by categories: tall photo tiles with large labels */
.cat-tiles { gap: 4px; }
.cat-tile { gap: 16px; padding-bottom: 26px; }
.cat-tile-img { aspect-ratio: 427 / 520; background: #EFEBE6; }
.cat-tile-img img { object-fit: cover; }
.cat-tile strong { font-weight: 500; letter-spacing: -.01em; }
.cat-tile:hover strong { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* Trending now: photo on top, caption block below */
.edit-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.edit-card { display: flex; flex-direction: column; background: #F4F4F4; }
.edit-img { display: block; aspect-ratio: 308 / 400; overflow: hidden; background: #E9E5E0; }
.edit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.edit-card:hover .edit-img img { transform: scale(1.05); }
.edit-cap { display: grid; gap: 6px; padding: 22px 26px 26px; }
.edit-cap small { font-size: 15px; font-weight: 500; color: var(--ink); }
.edit-cap strong { font-size: 26px; font-weight: 700; line-height: 1.15; color: #4A0E17; }
.edit-cap em { font-style: normal; font-size: 14px; color: var(--ink-2); }

/* Banner tiles with photography */
.tiles { gap: 4px; }
.tile { min-height: 380px; padding: 30px; }
.tile:has(img.photo) { color: #fff; }
.tile:has(img.photo)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,0) 62%); }
.tile img.photo { z-index: -2; }
.tile strong { font-size: 30px; }
.tile .tile-cta { text-decoration: none; background: #fff; color: var(--ink); padding: 10px 20px; border-radius: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; width: fit-content; }
html[lang="ar"] .tile .tile-cta, html[lang="ur"] .tile .tile-cta { letter-spacing: 0; }
.tile:not(:has(img.photo)) .tile-cta { background: var(--ink); color: #fff; }
.tile.light:not(:has(img.photo)) .tile-cta { background: #fff; color: var(--ink); }

/* Product cards */
.card-img { border-radius: 0; background: #EFECE8; }
.card-img img { transition: transform .6s var(--ease); }
.card .heart { top: 10px; inset-inline-end: 10px; background: transparent; width: 30px; height: 30px; filter: drop-shadow(0 0 2px rgba(255,255,255,.9)); transition: transform .15s; }
.card .heart .icon { width: 22px; height: 22px; stroke-width: 1.6; stroke: #1b1b1b; fill: rgba(255,255,255,.55); }
.card .heart:hover { transform: scale(1.12); }
.card .heart.is-on .icon { fill: var(--sale); stroke: var(--sale); }
.card .off { top: 10px; inset-inline-start: 10px; border-radius: 3px; font-size: 11px; padding: 3px 7px; }
[dir="rtl"] .card .off { border-radius: 3px; }
.quick-add { inset-inline-end: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 5px; background: #FDE7EE; color: #1b1b1b; box-shadow: none; transition: background .18s, color .18s, transform .18s; }
.quick-add:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.new-tag { inset-inline-start: 10px; bottom: 10px; font-size: 11px; padding: 3px 8px; }
.prices { margin-top: 8px; gap: 8px; }
.prices b { font-size: 17px; }
.card-name { font-size: 13px; line-height: 1.5; }
.card-promo { font-size: 12px; font-weight: 600; color: var(--sale); }
.card-promo b { font-weight: 700; }
.grid { gap: 34px 14px; }

/* Listing */
.list-title { font-size: 24px; }
.facet-opt:hover span { text-decoration: underline; }
.filters::-webkit-scrollbar, .facet-list::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb, .facet-list::-webkit-scrollbar-thumb { background: #BDBDBD; border-radius: 3px; }

/* Product page */
.pdp-main, .thumb { border-radius: 0; }
.pdp-main { background: #EFECE8; }
.sizes button { transition: background .15s, color .15s; }
.sizes button:hover { background: var(--field); }
.sizes button.is-on:hover { background: var(--ink); }
.bnpl-box { transition: border-color .2s; }
.bnpl-box:hover { border-color: #BDBDBD; }
.qv-img { background: #EFECE8; }
.modal { border-radius: 10px; overflow-x: hidden; }

/* Footer */
.footer-grid h3 { font-size: 17px; margin-bottom: 12px; }
.footer-grid a { transition: color .15s; padding: 2px 0; }
.footer-bottom { border-top-color: #262626; }
.trust-item { border: 0; background: #F6F6F6; }

@media (max-width: 1180px) {
  .sec-title { font-size: 26px; }
  .edit-cap strong { font-size: 21px; }
  .edit-cap { padding: 16px 16px 20px; }
}
@media (max-width: 860px) {
  .edit-cards { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .edit-cards::-webkit-scrollbar { display: none; }
  .edit-card { flex: 0 0 62%; scroll-snap-align: start; }
  .tile { min-height: 260px; }
  .slide.has-photo .slide-copy { align-self: end; padding-bottom: 48px; }
  .slide.has-photo::after, [dir="rtl"] .slide.has-photo::after { background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,0) 70%); }
}
@media (max-width: 640px) {
  .sec-title { font-size: 21px; }
  .section { margin-top: 36px; }
  .cat-tile strong { font-size: 18px; }
  .cat-tile { padding-bottom: 14px; gap: 10px; }
  .card-promo { font-size: 11px; }
  .prices b { font-size: 15px; }
  .topbar-lang a { padding: 6px 0; }
}
