/* ================================================================
   Additions on top of the storefront look (style.css + shop.css):
   the clothesline on the home page, scroll motion, and the parcel
   list on the order page. Nothing here changes the existing design.
   ================================================================ */

/* ---------- The clothesline ---------- */
.line-sec { --wood: #C99B63; --wood-dark: #A77A45; --cloth-bg: #EFECE8;
  position: relative; margin-top: 56px; padding-bottom: 8px; overflow: hidden; }
.line-sec.is-hero { margin-top: 0; padding-top: 40px; background: linear-gradient(180deg, #F4F4F4 0%, #fff 100%); }
.line-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.line-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.line-title { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 32px; line-height: 1.05; letter-spacing: -.01em; color: #2A0D10; }
.is-hero .line-title { font-weight: 800; font-size: clamp(34px, 5.4vw, 76px); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
html[lang="ar"] .line-title, html[lang="ur"] .line-title, html[lang="ar"] .line-eyebrow, html[lang="ur"] .line-eyebrow { letter-spacing: 0; text-transform: none; line-height: 1.4; }
.line-cta { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.line-cta .icon { width: 16px; height: 16px; }
[dir="rtl"] .line-cta .icon { transform: scaleX(-1); }

.clothesline { --sag: clamp(46px, 7vw, 104px); margin-top: 26px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-bottom: 26px; }
.clothesline::-webkit-scrollbar { display: none; }
.line-inner { position: relative; display: flex; justify-content: space-around; align-items: flex-start; gap: 10px; width: 100%; min-width: calc(var(--n) * 168px); padding: 0 1.5vw; }
.rope { position: absolute; inset-inline: 0; top: 0; width: 100%; height: calc(var(--sag) * 2.083); overflow: visible; pointer-events: none; }
.rope path { fill: none; stroke: #8A8A82; stroke-width: 1.6; stroke-linecap: round; }
/* each piece sits where the string is at its place along the line: y = 2t(1 - t) x drop */
.hang { --t: calc((var(--i) + .5) / var(--n)); --k: calc(1 + var(--i) * .13);
  position: relative; flex: 0 1 clamp(132px, 12.6vw, 208px); display: block; margin-top: calc(2 * var(--t) * (1 - var(--t)) * var(--sag) * 2 + 2px);
  transform-origin: 50% 0; rotate: calc(var(--swing, 0) * var(--k) * .22deg);
  /* the wind of the scroll also turns each piece a little on the string */
  transform: perspective(900px) rotateY(calc(var(--swing, 0) * var(--k) * .9deg)); }
.cloth { position: relative; display: block; transform-origin: 50% 0; animation: sway 6.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .14)); transition: filter .4s; }
.hang:nth-child(even) .cloth { animation-duration: 7.8s; }
.hang:nth-child(3n) .cloth { animation-duration: 5.6s; }
.cloth img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--cloth-bg);
  /* a soft scalloped hem, like cloth hanging free */
  clip-path: polygon(0 0, 100% 0, 100% 97.5%, 87.5% 100%, 75% 97.8%, 62.5% 100%, 50% 97.8%, 37.5% 100%, 25% 97.8%, 12.5% 100%, 0 97.5%); }
/* the fold over the string, and the shading of hanging fabric */
.cloth::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.12)); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.cloth::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(90deg, rgba(0,0,0,.09), transparent 14%, transparent 46%, rgba(0,0,0,.06) 52%, transparent 60%, transparent 88%, rgba(0,0,0,.10)); }
/* wooden pegs */
.pin { position: absolute; z-index: 2; top: -13px; width: 9px; height: 30px; border-radius: 2.5px 2.5px 4px 4px;
  background: linear-gradient(90deg, var(--wood-dark), var(--wood) 38%, #E3BE8A 55%, var(--wood) 72%, var(--wood-dark)); box-shadow: 0 2px 3px rgba(0,0,0,.22); }
.pin::after { content: ""; position: absolute; inset-inline: -1.5px; top: 11px; height: 2.5px; border-radius: 2px; background: linear-gradient(180deg, #D9D9D9, #8C8C8C); }
.pin:nth-of-type(1) { inset-inline-start: 22%; rotate: -4deg; }
.pin:nth-of-type(2) { inset-inline-end: 22%; rotate: 5deg; }
.hang-off { position: absolute; z-index: 2; top: 18px; inset-inline-start: 0; background: var(--sale); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 0 3px 3px 0; }
[dir="rtl"] .hang-off { border-radius: 3px 0 0 3px; }
.hang-tag { display: grid; gap: 2px; margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink); }
.hang-tag b { font-size: 16px; font-weight: 700; }
.hang-tag span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hang:hover .cloth, .hang:focus-visible .cloth { animation-play-state: paused; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .22)); }
.hang:hover .hang-tag span { text-decoration: underline; }
/* cloth sways and slowly turns on the string, so it shows a little of its depth */
@keyframes sway {
  0%, 100% { transform: perspective(700px) rotate(-1.5deg) rotateY(-9deg); }
  50% { transform: perspective(700px) rotate(1.7deg) rotateY(10deg); }
}

/* ---------- Order page: parcels and items that could not be supplied ---------- */
.parcels .parcel { padding: 12px 0; border-top: 1px solid var(--line); }
.parcels .parcel:first-of-type, .parcels h3 + .parcel { border-top: 0; }
.parcel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.parcel p { margin: 4px 0 0; }
.parcel .track { font-weight: 600; }
.mini.is-gone img, .mini.is-gone p, .mini.is-gone b { opacity: .45; }
.mini.is-gone b { text-decoration: line-through; }
.gone-note { display: block; color: var(--sale); }

/* ---------- Scroll motion (only when the visitor has not asked for less motion) ---------- */
/* a stitched thread under the header that grows as you scroll down the page */
.motion .header::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: calc(var(--progress, 0) * 100%);
  background: repeating-linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 14px); pointer-events: none; }
.motion .rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0ms); }
.motion .rv.in { opacity: 1; translate: 0 0; }
/* photos unfold from the top, like cloth being shaken out */
.motion .cat-tile.rv .cat-tile-img, .motion .edit-card.rv .edit-img, .motion .card.rv .card-img {
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: var(--d, 0ms); }
.motion .cat-tile.rv.in .cat-tile-img, .motion .edit-card.rv.in .edit-img, .motion .card.rv.in .card-img { clip-path: inset(0 0 0 0); }
/* pieces drop onto the line one by one, and the string draws itself */
.motion .hang.rv { translate: 0 -34px; }
.motion .hang.rv.in { translate: 0 0; }
.motion .rope path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .cloth { animation: none; } }

/* ---------- 3D ---------- */
/* rows give their items depth, so they can turn in space as they arrive */
.motion .grid, .motion .cat-tiles, .motion .edit-cards, .motion .tiles, .motion .rail { perspective: 1300px; }
/* product cards stand up from the page */
.motion .card.rv, .motion .edit-card.rv { transform: rotateX(24deg) translateZ(-80px); transform-origin: 50% 100%;
  transition: opacity .8s var(--ease), translate .8s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
/* category tiles open like pages, from alternate sides */
.motion .cat-tile.rv { transition: opacity .8s var(--ease), translate .8s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.motion .cat-tile.rv:nth-child(odd) { transform: rotateY(-28deg) translateZ(-60px); transform-origin: 0 50%; }
.motion .cat-tile.rv:nth-child(even) { transform: rotateY(28deg) translateZ(-60px); transform-origin: 100% 50%; }
/* round category shortcuts spin in like coins */
.motion .rail-item.rv { transform: rotateY(75deg); transition: opacity .7s var(--ease), translate .7s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
/* banner tiles fold down from their top edge */
.motion .tile.rv { transform: rotateX(-16deg) translateZ(-40px); transform-origin: 50% 0;
  transition: opacity .8s var(--ease), translate .8s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.motion .card.rv.in, .motion .edit-card.rv.in, .motion .cat-tile.rv.in:nth-child(n), .motion .rail-item.rv.in, .motion .tile.rv.in { transform: none; }

/* tied to the scroll: the banner carousel and the clotheslines lean back as they pass (--p is -1 above the middle of the screen, 1 below) */
.motion .hero-wrap .carousel { transform: perspective(1600px) rotateX(calc(var(--p, 0) * 6deg)) scale(calc(1 - var(--pa, 0) * .045)); transform-origin: 50% 50%; }
.motion .line-sec .clothesline { transform: perspective(1400px) rotateX(calc(var(--p, 0) * -11deg)) translateZ(calc(var(--pa, 0) * -60px)); transform-origin: 50% 0; }
.motion .tiles { transform: perspective(1500px) rotateX(calc(var(--p, 0) * 4deg)); }

/* photos tilt toward the mouse (desktop only; the script adds .tilt) */
.tilt .card-media, .tilt .pdp-main, .tilt .qv-img { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
/* the big photos: as the frame leans, the photo inside comes forward a little, for depth */
.tilt .pdp-main .js-img, .tilt .qv-img .js-img { transition: transform .6s var(--ease); }
.tilt .pdp-main.is-tilting .js-img, .tilt .qv-img.is-tilting .js-img { transform: scale(1.04); }
html.tilt.motion .cat-tile .cat-tile-img, html.tilt.motion .edit-card .edit-img {
  transition: clip-path 1s var(--ease) var(--d, 0ms), transform .4s var(--ease), box-shadow .4s var(--ease); }
.is-tilting { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); box-shadow: 0 26px 40px -24px rgba(0, 0, 0, .45); z-index: 1; }

@media (max-width: 760px) {
  .line-sec { margin-top: 40px; }
  .line-sec.is-hero { margin-top: 0; padding-top: 26px; }
  .line-title { font-size: 26px; }
  .clothesline { --sag: 34px; }
  .line-inner { justify-content: flex-start; gap: 18px; padding: 0 20px; width: auto; min-width: max-content; }
  .hang { flex: 0 0 142px; }
}

/* ---------- Search suggestions ---------- */
.search { position: relative; overflow: visible; }
.suggest { position: absolute; z-index: 40; top: calc(100% + 6px); inset-inline: 0; min-width: 300px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); padding: 6px; }
.sug-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 6px; color: var(--ink); }
.sug-item img { width: 44px; height: 58px; object-fit: cover; border-radius: 3px; background: #EFECE8; flex: none; }
.sug-item span { display: grid; gap: 2px; min-width: 0; }
.sug-item b { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-item small { font-size: 13px; font-weight: 700; }
.sug-item small s { font-weight: 400; color: var(--muted); }
.sug-item:hover, .sug-item.is-active { background: #F4F4F4; }
.sug-all { justify-content: center; font-weight: 600; font-size: 13px; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 4px; padding: 12px 8px; }
.sug-none { margin: 0; padding: 14px 10px; color: var(--muted); font-size: 13.5px; }

/* ---------- Sticky buy bar (phones only) ---------- */
.buybar { display: none; }
@media (max-width: 860px) {
  .buybar { display: flex; align-items: center; gap: 12px; position: fixed; inset-inline: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); z-index: 34;
    padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    transform: translateY(130%); transition: transform .3s var(--ease); }
  .buybar.show { transform: none; }
  .buybar-txt { display: grid; min-width: 0; flex: 1; }
  .buybar-txt b { font-size: 16px; }
  .buybar-txt span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .solid-btn { flex: none; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; }
  .buybar .solid-btn .icon { width: 18px; height: 18px; }
  body.buybar-on .to-top { bottom: calc(146px + env(safe-area-inset-bottom, 0px)); }
  /* the cookie notice moves up so it never covers the buy bar */
  body.buybar-on .cookie { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- WhatsApp button ---------- */
.wa-btn { position: fixed; z-index: 34; inset-inline-end: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .2s var(--ease), box-shadow .2s; }
.wa-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 28px rgba(0, 0, 0, .24); }
.wa-btn .icon { width: 26px; height: 26px; stroke-width: 1.7; }
body.has-wa .to-top { bottom: 84px; }
@media (max-width: 860px) {
  .wa-btn { width: 48px; height: 48px; inset-inline-end: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-wa .to-top { bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
  body.buybar-on .wa-btn { bottom: calc(142px + env(safe-area-inset-bottom, 0px)); }
  body.has-wa.buybar-on .to-top { bottom: calc(200px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Store picker with many stores ---------- */
.loc-search { width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; margin-bottom: 10px; }
.loc-list { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; padding-inline-end: 4px; }
.loc-list .radio-card[hidden] { display: none; }

/* ---------- Payment marks: white cards with each brand's colours ---------- */
.pay-mark { gap: 6px; background: #fff !important; border: 1px solid #E4E4E4 !important; color: #222; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.pay-mark em { font-style: normal; }
.pay-mark .icon { width: 18px; height: 18px; flex: none; }
.footer .pay-marks .pay-mark { color: #222; border-color: transparent !important; }
.pay-mark::before { display: none !important; }
.pm-mc { position: relative; display: inline-block; width: 26px; height: 16px; flex: none; }
.pm-mc b { position: absolute; top: 0; width: 16px; height: 16px; border-radius: 50%; }
.pm-mc b:first-child { left: 0; background: #EB001B; }
.pm-mc b:last-child { right: 0; background: #F79E1B; mix-blend-mode: multiply; }
.pm-visa { color: #1A1F71; font-style: italic !important; font-weight: 900; letter-spacing: .02em; }
.pm-MADA em { color: #1B6FB5; text-transform: lowercase; }
.pm-MADA em::before { content: ""; display: inline-block; width: 12px; height: 5px; margin-inline-end: 4px; vertical-align: middle; border-radius: 2px; background: linear-gradient(90deg, #84B740 50%, #259BD6 50%); }
.pay-marks .pay-mark.pm-APPLE_PAY, .pay-mark.pm-APPLE_PAY { background: #000 !important; border-color: #000 !important; color: #fff !important; }
.footer .pay-marks .pay-mark.pm-APPLE_PAY { border-color: #555 !important; }   /* stays visible on the black footer */
.pm-STC_PAY em { color: #4F008C; }
.pay-marks .pay-mark.pm-TABBY, .pay-mark.pm-TABBY { background: #3BFFC1 !important; border-color: #3BFFC1 !important; color: #111 !important; }
.pay-marks .pay-mark.pm-TAMARA, .pay-mark.pm-TAMARA { background: linear-gradient(90deg, #F9D5A7, #F6B7C6, #C9B7F2) !important; border-color: transparent !important; color: #111 !important; }
.pm-jz1 { color: #E3122B; }
.pm-jz2 { color: #F2A900; }
.pm-EASYPAISA em { color: #00A650; letter-spacing: -.02em; }
.pm-BANK_TRANSFER, .pm-COD { font-weight: 600; }
.pay-mark.has-logo { padding: 3px 10px; }
.pay-mark.has-logo img { height: 100%; max-height: 24px; max-width: 110px; object-fit: contain; display: block; }
.pay-marks.small .pay-mark.has-logo img { max-height: 20px; }

/* ---------- Social media ---------- */
.footer .social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social-title { color: #BDBDBD; font-size: 13px; margin-inline-end: 4px; }
.soc { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1E1E1E; color: #fff; border: 1px solid #2E2E2E;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.soc svg { width: 19px; height: 19px; }
.soc:hover, .soc:focus-visible { transform: translateY(-2px); border-color: transparent; }
.soc-facebook:hover, .soc-facebook:focus-visible { background: #1877F2; }
.soc-instagram:hover, .soc-instagram:focus-visible { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.soc-tiktok:hover, .soc-tiktok:focus-visible { background: #000; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.soc-youtube:hover, .soc-youtube:focus-visible { background: #FF0000; }
.soc-x:hover, .soc-x:focus-visible, .soc-threads:hover, .soc-threads:focus-visible { background: #000; border-color: #444; }
.soc-snapchat:hover, .soc-snapchat:focus-visible { background: #FFFC00; color: #111; }
.soc-pinterest:hover, .soc-pinterest:focus-visible { background: #E60023; }
.soc-linkedin:hover, .soc-linkedin:focus-visible { background: #0A66C2; }
.soc-telegram:hover, .soc-telegram:focus-visible { background: #26A5E4; }
/* in the help panel (light background) */
.help-social { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.help-social > div { display: flex; gap: 8px; flex-wrap: wrap; }
.help-social .soc { background: #111; border-color: #111; }
@media (max-width: 760px) {
  .footer .social { width: 100%; }
  .soc { width: 42px; height: 42px; }
}

/* ---------- Flags ---------- */
/* colour flags on systems without flag emoji (Windows): a flag-only font, used only for the flag characters */
@font-face { font-family: "Twemoji Country Flags"; font-display: swap; unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2") format("woff2"); }
.flag { display: inline-block; font-size: 20px; line-height: 1; font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
/* systems without flag emoji (Windows) show the country code as a small badge instead */
.no-flag-emoji .flag, .no-flag-emoji .flag-btn .flag, .no-flag-emoji .locale-btn .flag, .no-flag-emoji .loc-list .radio-card.cty .flag { font-size: 0 !important; }
.no-flag-emoji .flag::after { content: attr(data-cc); display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 3px; border-radius: 3px;
  font: 700 10px/1 system-ui, sans-serif; letter-spacing: .04em; color: #fff; background: #3D4A57; }
.flag-btn .flag { font-size: 22px; }
.locale-btn .flag { font-size: 18px; }
/* country list in the picker */
.loc-list .radio-card.cty { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.loc-list .radio-card.cty .flag { font-size: 24px; flex: none; }
.loc-list .radio-card.cty small { display: block; }
@media (max-width: 640px) {
  .loc-list { max-height: 52vh; }
}

/* ---------- Stars and reviews ---------- */
.stars { display: inline-flex; gap: 1px; color: #D9D9D9; font-size: 14px; line-height: 1; vertical-align: -1px; }
.stars i { font-style: normal; }
.stars i.on { color: #F2A900; }
.stars i.half { background: linear-gradient(90deg, #F2A900 50%, #D9D9D9 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .stars i.half { background: linear-gradient(-90deg, #F2A900 50%, #D9D9D9 50%); -webkit-background-clip: text; background-clip: text; }
.card-stars { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.pdp-stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.pdp-stars span { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rv-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
.rv-summary .stars { font-size: 18px; }
.rv-list { display: grid; gap: 14px; max-width: 820px; }
/* "rv-item", not "rv": "rv" marks blocks the scroll motion reveals, and would keep reviews invisible */
.rv-item { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.rv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-head .flag { font-size: 16px; }
.rv-verified { font-size: 11px; font-weight: 600; color: #1F6B3A; background: #E3EFE6; padding: 2px 8px; border-radius: 999px; }
.rv-item p { margin: 6px 0 0; line-height: 1.6; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rv-photos button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.rv-photos img { width: 88px; height: 88px; object-fit: cover; display: block; }
.rv-ask-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
/* picking 1 to 5 stars: the inputs come in reverse order so the stars before the chosen one light up too */
.rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { font-size: 34px; line-height: 1; color: #D9D9D9; cursor: pointer; transition: color .15s; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #F2A900; }
.rate input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* ---------- Product photo gallery and zoom ---------- */
.pdp-main { position: relative; }
.pdp-main img[data-zoom] { cursor: zoom-in; }
.pm-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); opacity: 0; transition: opacity .2s; }
.pm-arrow.prev { inset-inline-start: 10px; }
.pm-arrow.next { inset-inline-end: 10px; }
.pdp-main:hover .pm-arrow, .pm-arrow:focus-visible { opacity: 1; }
.pm-count { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
@media (hover: none) { .pm-arrow { opacity: 1; } }
/* the main product photo: the whole product, never cropped, at a height that fits the screen with its details beside it;
   click it for the full-screen view */
.pdp-main { background: #fff; }
.pdp-main .js-img { aspect-ratio: auto; height: min(560px, calc(100vh - 230px)); min-height: 320px; object-fit: contain; }
@media (min-width: 861px) {
  .pdp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .pdp-thumbs { max-height: max(320px, min(560px, calc(100vh - 230px))); overflow-y: auto; scrollbar-width: thin; padding-inline-end: 2px; }
}
@media (max-width: 860px) {
  .pdp-main .js-img { height: auto; aspect-ratio: 1 / 1; min-height: 0; }
}
/* quick view: the same arrows, and a dot for each photo */
.qv-img { position: relative; overflow: hidden; }
.qv-img:hover .pm-arrow { opacity: 1; }
.qv-dots { position: absolute; bottom: 10px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 40px; }
.qv-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.qv-dots button.is-on { background: var(--ink); box-shadow: 0 0 0 1px #fff; }
/* the product video: over the main photo, in the product page and the quick view */
.pm-video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; background: #111; }
.pm-video[hidden] { display: none; }
.on-video .pm-arrow, .on-video .pm-count { z-index: 3; }
.thumb-video { position: relative; }
.thumb-video::after, .qv-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; translate: 2px 0; }
.thumb-video::before { content: ""; position: absolute; z-index: 1; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.thumb-video::after { z-index: 2; }
.qv-play { position: absolute; z-index: 3; bottom: 26px; inset-inline-start: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.qv-play.is-on { display: none; }
/* a colour circle showing the colour's own photo */
.colors button.has-photo { border-color: #d6d2cc; }
.zoom { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .94); display: none; align-items: center; justify-content: center; }
.zoom.show { display: flex; }
.zoom img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 4px; }
.zoom-x { position: absolute; top: 14px; inset-inline-end: 14px; background: #fff; }
.zoom-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.zoom-nav.prev { inset-inline-start: 14px; }
.zoom-nav.next { inset-inline-end: 14px; }
body.zoom-open { overflow: hidden; }
.seo-product { padding: 30px 0; }
.seo-product img { max-width: 300px; height: auto; }

/* ---- flash sales ---- */
.card .off.flash { background: linear-gradient(90deg, #b0102a, #e0452a); }
.pdp-flash { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 6px 12px; border-radius: 999px;
  background: #fff1ec; color: #b0102a; font-size: 13px; font-variant-numeric: tabular-nums; }
.pdp-flash .fs-bolt { animation: fs-pulse 1.6s ease-in-out infinite; }
@keyframes fs-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pdp-flash .fs-bolt { animation: none; } }

/* ---- "email me when it's back" ---- */
.notify-me { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed #c9c4bb; border-radius: 10px; background: #faf8f4; }
.notify-me .nm-title { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.notify-me .nm-title .icon { width: 16px; height: 16px; }
.notify-me .nm-row { display: flex; gap: 8px; }
.notify-me input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid #cfcac1; border-radius: 6px; font: inherit; background: #fff; }
.notify-me .nm-done { margin: 0; color: #1f6b3a; font-weight: 600; font-size: 14px; }

/* ---------- Country / currency and language drop-downs in the top bar ---------- */
/* above the sticky header (z-index 30), so the open menus are not hidden behind it */
.loc-bar { gap: 14px; align-items: center; z-index: 40; }
.loc-drop { position: relative; }
.loc-drop summary, .loc-one { list-style: none; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px; border-radius: 4px;
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.loc-drop summary { cursor: pointer; }
.loc-drop summary::-webkit-details-marker { display: none; }
.loc-drop summary:hover, .loc-drop[open] summary { background: rgba(255,255,255,.14); }
.loc-drop summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.loc-drop summary .flag { font-size: 18px; letter-spacing: 0; }
.loc-globe { width: 18px; height: 18px; }
.loc-chev { width: 14px; height: 14px; stroke-width: 1.8; transition: transform .2s; }
.loc-drop[open] .loc-chev { transform: rotate(180deg); }
.loc-short { display: none; }
html[lang="ar"] .loc-drop summary, html[lang="ur"] .loc-drop summary, html[lang="ar"] .loc-one, html[lang="ur"] .loc-one { letter-spacing: 0; }

.loc-menu { min-width: 250px; max-height: min(70vh, 480px); overflow-y: auto; overscroll-behavior: contain; }
.topbar-lang .loc-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.loc-menu .loc-name { flex: 1; }
.loc-menu .flag { font-size: 20px; flex: none; }
.loc-menu small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.topbar-lang .loc-menu a:hover { background: var(--field); }
.topbar-lang .loc-menu a.is-on { background: var(--field); font-weight: 600; }
.loc-other { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 4px; padding: 11px 12px 9px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 500; text-align: start; border-radius: 0 0 6px 6px; }
.loc-other:hover { background: var(--field); }
.loc-other .icon { width: 20px; height: 20px; }

/* the promo text keeps clear of the drop-downs */
@media (min-width: 1100px) { .promo-main { padding-inline: 250px; } }
@media (min-width: 641px) and (max-width: 1099px) { .promo-main { padding-inline: 20px 250px; } }

@media (max-width: 640px) {
  .loc-bar { gap: 2px; }
  .loc-drop summary, .loc-one { gap: 4px; padding: 0 4px; font-size: 12px; letter-spacing: .04em; }
  .loc-sym, .loc-full { display: none; }
  .loc-short { display: inline; }
  .loc-menu { min-width: 230px; max-height: 60vh; }
  .promo-main { padding-inline-end: 140px; }
}

/* ================================================================
   More depth: light on the tilting photos, titles that flip up word
   by word, the hero in layers, 3D ribbons, a page turn between pages
   and the photo that flies into the bag. Only with .motion / .tilt,
   so visitors who asked for less motion see the plain store.
   ================================================================ */

/* light moving across a photo as it tilts toward the mouse */
:where(.tilt .card-media, .tilt .cat-tile-img, .tilt .edit-img, .tilt .pdp-main, .tilt .qv-img) { position: relative; }
.tilt .card-media::after, .tilt .cat-tile-img::after, .tilt .edit-img::after, .tilt .pdp-main::after, .tilt .qv-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%); }
.tilt .is-tilting::after { opacity: 1; }
.tilt .card-media.is-tilting .heart, .tilt .card-media.is-tilting .quick-add { z-index: 2; }

/* titles: each word stands up from the line, one after another */
.split .w { display: inline-block; perspective: 520px; }
.split .w > span { display: inline-block; transform-origin: 50% 100%; backface-visibility: hidden;
  transition: transform .9s var(--ease), opacity .7s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms + 120ms); }
.motion .rv:not(.in) .split .w > span { opacity: 0; transform: translateY(.5em) rotateX(-88deg); }

/* the hero in layers: the photo drifts slower than the words in front of it */
.motion .hero-wrap .slide-photo { scale: 1.1; translate: 0 calc(var(--p, 0) * -30px); }
.motion .hero-wrap .slide-copy { translate: 0 calc(var(--p, 0) * 18px); transition: translate .2s linear; }

/* two ribbons crossing in space, sliding with the scroll */
.ribbon-sec { position: relative; height: clamp(120px, 13vw, 170px); margin-top: 48px; overflow: hidden; perspective: 1000px; }
.ribbon { position: absolute; top: 50%; left: -5%; width: 110%; margin-top: -26px; padding: 13px 0; overflow: hidden; transform-style: preserve-3d; }
.ribbon.r1 { z-index: 1; background: var(--ink); color: #fff; box-shadow: 0 20px 34px -20px rgba(0, 0, 0, .55);
  transform: rotate(-3deg) rotateX(calc(var(--p, 0) * 16deg)); }
.ribbon.r2 { background: #EDEAE5; color: var(--ink); transform: rotate(2.6deg) rotateX(calc(var(--p, 0) * -16deg)) translateZ(-50px); }
.ribbon-track { display: flex; align-items: center; width: max-content; }
.ribbon-track span, .ribbon-track i { margin-inline: 12px; white-space: nowrap; }
.ribbon-track span { font-size: clamp(16px, 2.1vw, 25px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.ribbon-track i { font-style: normal; font-size: .9em; color: var(--sale); }
.r2 .ribbon-track span { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
html[lang="ar"] .ribbon-track span, html[lang="ur"] .ribbon-track span { letter-spacing: 0; text-transform: none; }
.motion .r1 .ribbon-track { animation: ribbon 46s linear infinite; translate: calc(var(--sy, 0) * -.35px) 0; }
.motion .r2 .ribbon-track { animation: ribbon 52s linear infinite reverse; translate: calc(var(--sy, 0) * .35px - 520px) 0; }
@keyframes ribbon { to { transform: translateX(-33.333%); } }

/* the page turns in when another page opens */
.motion #view.view-in { animation: view-in .7s var(--ease) both; transform-origin: 50% 0; }
@keyframes view-in {
  from { opacity: 0; transform: perspective(1400px) rotateX(5deg) translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* the photo flying into the bag, and the bag catching it */
.fly-bag { position: fixed; z-index: 300; object-fit: cover; border-radius: 8px; pointer-events: none; box-shadow: 0 22px 40px -14px rgba(0, 0, 0, .45); }
.bag-bump .icon { animation: bag-bump .55s var(--ease); }
@keyframes bag-bump { 0% { transform: scale(1); } 35% { transform: scale(1.32) rotate(-8deg); } 70% { transform: scale(.92) rotate(4deg); } 100% { transform: none; } }

@media (max-width: 640px) {
  .ribbon-sec { margin-top: 30px; }
  .ribbon { padding: 10px 0; margin-top: -20px; }
  .motion .hero-wrap .slide-photo { translate: 0 calc(var(--p, 0) * -16px); }
}

/* ---- order notices: confirm a cash order, finish an online payment ---- */
.confirm-box { margin: 14px 0; padding: 16px 18px; border: 2px solid #111; border-radius: 12px; background: #fffdf8; }
.confirm-box h3 { margin: 0 0 6px; font-size: 17px; }
.confirm-box p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.confirm-box .solid-btn, .confirm-box .outline-btn { display: block; text-align: center; text-decoration: none; margin-top: 8px; }
.hosted-note { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 12px; padding: 10px 12px; border-radius: 8px; background: #f3f6f1; color: #1f4d2e; font-size: 13px; line-height: 1.5; }
.hosted-note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* ---- links search engines read before the script draws the page ---- */
.seo-links { padding: 24px 16px; }
.seo-links h1 { font-size: 22px; margin: 0 0 12px; }
.seo-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.seo-links a { color: inherit; }

/* ---- Tunban wordmark: "store" set small under its bottom-right corner ---- */
.logo .mark { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; vertical-align: middle; }
.logo .mark-name { line-height: 1; }
.logo .mark-sub { font-family: "Montserrat", system-ui, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .34em;
  text-transform: lowercase; color: var(--sale); margin: 3px -.34em 0 0; line-height: 1; }
@media (max-width: 760px) { .logo .mark-sub { font-size: 8.5px; margin-top: 2px; } }

/* ---------- Pages (policies, About us, FAQ) and the blog ---------- */
.site-page { max-width: 820px; padding-top: 18px; padding-bottom: 40px; }
.site-page h1 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 18px; }
.page-body { line-height: 1.75; font-size: 16px; }
.page-body h2 { font-size: 20px; margin: 28px 0 8px; }
.page-body h3 { font-size: 17px; margin: 20px 0 6px; }
.page-body p { margin: 0 0 12px; }
.page-body ul { margin: 0 0 14px; padding-inline-start: 22px; }
.page-body li { margin: 4px 0; }
.page-body a { text-decoration: underline; text-underline-offset: 3px; }
.page-cover { width: 100%; max-height: 420px; object-fit: cover; margin: 6px 0 20px; }
.blog { padding-top: 18px; padding-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 18px; }
.blog-card { display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #EFECE8; }
.blog-card small { color: var(--muted); }
.blog-card h2 { font-size: 18px; margin: 0; }
.blog-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.blog-card span { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Collections and bundle offers ---------- */
.col-head { margin: -4px 0 16px; max-width: 760px; }
.col-head p { margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.offer-note { display: inline-block; margin: 6px 0; padding: 6px 12px; border-radius: 999px; background: #FFF4D6; color: #7A5600;
  font-size: 13px; font-weight: 600; text-decoration: none; }
a.offer-note:hover { background: #FBE9B5; }
.sold-note { margin: 4px 0; font-size: 13px; color: #A3361F; font-weight: 600; }
.sold-note::before { content: "🔥 "; }
.occasions .cat-tile-img:empty { background: linear-gradient(135deg, #E9E3DA, #D9CFC2); }

/* ---------- Goes well with ---------- */
.pair-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pair-item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 10px; background: #fff; }
.pair-img img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #EFECE8; }
.pair-txt { display: grid; gap: 4px; font-size: 14px; }
.pair-txt a { color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pair-pick { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }
.pair-total { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
.pair-total .js-pair-sum { font-weight: 600; }

/* ---------- Customer photo wall ---------- */
.sec-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.wall-item { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #EFECE8; }
.wall-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wall-item:hover img { transform: scale(1.06); }
.wall-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 16px 8px 6px; font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
@media (max-width: 860px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Size finder ---------- */
.finder { border: 1px solid var(--line); padding: 14px; background: #FAF8F5; }
.finder h3 { margin: 0 0 10px; }
.finder-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.finder-f { display: grid; gap: 4px; font-size: 13px; }
.finder-f input, .finder-f select { width: 120px; padding: 8px 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.finder-out { margin: 10px 0 0; min-height: 1.4em; }

/* ---------- Rewards: points and inviting friends ---------- */
.pts-card { display: grid; gap: 2px; padding: 18px; margin-bottom: 14px; background: var(--ink); color: #fff; }
.pts-card span { font-size: 13px; opacity: .8; }
.pts-card b { font-size: 34px; line-height: 1.1; }
.pts-card small { font-size: 13px; opacity: .85; }
.pts-list { display: grid; }
.pts-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pts-row span { display: grid; gap: 2px; }
.pts-row small { color: var(--muted); font-size: 12px; }
.pts-row b.plus { color: #1F6B3A; }
.pts-row b.minus { color: var(--muted); }
.ref-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin: 10px 0;
  border: 1px dashed var(--ink); background: #FAF8F5; }
.ref-code b { font-size: 20px; letter-spacing: 2px; font-family: ui-monospace, monospace; }
.gift-box { margin: 8px 0; }
.gift-box > summary { cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.gift-box .promo-form { margin-top: 8px; }
.points-use { margin: 8px 0; }
