/* ============================================================
   Perfume store layout (perfume-wholesale.html)
   Loaded after site.css. Retail-style layout: white page, rounded
   cards and panels, product shelves, an order list sent on WhatsApp.
   ============================================================ */

.store {
  background: #fff;
  --panel: #F3F6FA;
  --panel-2: #E9EFF6;
  --card-line: rgba(10, 14, 23, .09);
  --radius: 18px;
}
.store .section { padding: clamp(72px, 9vw, 130px) 0; }
.store .btn { border-radius: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #B9C0CE; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { opacity: .8; transition: opacity .2s, color .2s; white-space: nowrap; }
.topbar-links a:first-child { color: #fff; font-weight: 700; opacity: 1; }
.topbar-links a:hover { opacity: 1; color: #fff; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-note strong { color: #fff; font-weight: 600; }
.topbar-note .pulse { width: 6px; height: 6px; }
.topbar-perks { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; white-space: nowrap; }
.topbar-perks li + li::before { content: "·"; margin-right: 18px; opacity: .5; }
.topbar-perks a:hover { color: #fff; }

/* ---------- Store header ---------- */
.store-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--card-line);
}
.store-header-inner {
  display: grid; grid-template-columns: auto auto minmax(220px, 1fr) auto;
  grid-template-areas: "logo nav search actions";
  align-items: center; gap: clamp(16px, 2.2vw, 34px); height: 84px;
}
.store-header .logo { grid-area: logo; width: 76px; color: var(--ink); }
.store-header .menu-toggle { display: none; grid-area: menu; color: var(--ink); }
.store-header .icon-btn:hover { background: var(--panel); }
.store-nav { grid-area: nav; display: flex; gap: clamp(14px, 1.7vw, 26px); }
.store-nav a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s;
}
.store-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--azure);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.store-nav a:hover { color: var(--azure-2); }
.store-nav a:hover::after { transform: scaleX(1); }

/* Search */
.store-search { grid-area: search; position: relative; min-width: 0; }
.search-field {
  display: flex; align-items: center; height: 48px; padding: 0 6px 0 18px;
  background: var(--panel); border: 1px solid var(--card-line); border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-field:focus-within { background: #fff; border-color: var(--azure); }
.search-field input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none;
  font-size: 14.5px; color: var(--ink);
}
.search-field input::placeholder { color: #7A8194; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-btn {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border: 0; border-radius: 9px; background: none; color: var(--ink); cursor: pointer;
}
.search-btn:hover { background: var(--panel-2); }
.search-btn svg { width: 19px; height: 19px; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 5;
  max-height: min(470px, 70vh); overflow: auto; padding: 8px;
  background: #fff; border: 1px solid var(--card-line); border-radius: 14px;
  box-shadow: 0 30px 70px -24px rgba(10, 14, 23, .3);
}
.sr-label {
  display: block; padding: 10px 10px 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.sr-brands { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 10px; }
.sr-brand {
  padding: 6px 12px; border: 1px solid var(--card-line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s;
}
.sr-brand:hover { background: var(--panel); border-color: var(--azure); }
.sr-item {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 10px; transition: background .2s;
}
.sr-item:hover { background: var(--panel); }
.sr-thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--panel); display: grid; place-items: center; }
.sr-item:hover .sr-thumb { background: #fff; }
.sr-thumb svg { width: 36px; height: auto; }
.sr-item strong { display: block; font-size: 14px; line-height: 1.3; }
.sr-item span { display: block; font-size: 12.5px; color: var(--muted); }
.sr-add {
  height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--ink); background: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.sr-add:hover, .sr-add.added { background: var(--ink); color: #fff; }
.sr-empty { margin: 0; padding: 14px 10px 12px; font-size: 14px; color: var(--muted); }
.sr-empty a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--azure); }

/* Header actions */
.store-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.store-action {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px;
  border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer;
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s;
}
.store-action:hover { background: var(--panel); }
.store-action svg { width: 22px; height: 22px; flex: none; }
.wa-action svg { color: #1FAF5A; }
.order-btn { background: var(--ink); color: #fff; padding: 0 12px 0 16px; }
.order-btn:hover { background: #1C2436; }
.order-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700;
  transition: background .3s, transform .3s var(--ease);
}
.order-count.has-items { background: var(--azure); }
.order-count.bump { transform: scale(1.25); }

/* ---------- Hero banner ---------- */
.promo-wrap { padding-top: clamp(14px, 2vw, 24px); }
.promo {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(16px, 3vw, 48px);
  min-height: 520px; padding: clamp(36px, 4.6vw, 68px) clamp(26px, 4.6vw, 68px) 0;
  border-radius: 26px;
}
.promo-copy { position: relative; z-index: 1; padding-bottom: clamp(36px, 4.6vw, 68px); }
.promo-title {
  margin: 20px 0 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 5.4vw, 82px); line-height: .96; letter-spacing: -.015em;
}
.promo-title em {
  font-style: italic; font-weight: 400; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
.promo .lead { margin-top: 22px; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.promo-art { position: relative; z-index: 1; align-self: end; }
.promo-art svg { width: 100%; height: auto; }
.promo-art .float { animation: float 7s ease-in-out infinite; }

/* Brand strip */
.brand-strip {
  margin-top: 14px; overflow: hidden; border: 1px solid var(--card-line); border-radius: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brand-strip-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.brand-strip:hover .brand-strip-track { animation-play-state: paused; }
.brand-strip span {
  display: inline-flex; align-items: center; gap: 28px; padding: 13px 0 13px 28px;
  font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: var(--ink);
}
.brand-strip span::after { content: "\2726"; font-size: 9px; color: var(--azure); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(20px, 2.6vw, 32px); }
.cat { display: block; text-align: center; }
.cat-media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: var(--cat-bg); display: flex; align-items: flex-end; justify-content: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-media svg { width: 88%; height: auto; transition: transform .7s var(--ease); }
.cat:hover .cat-media { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(10, 14, 23, .4); }
.cat:hover .cat-media svg { transform: translateY(-6px) scale(1.02); }
.cat-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); }
.cat-label svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cat:hover .cat-label svg { transform: translateX(4px); }
.cat--men { --cat-bg: #DDEBFA; }
.cat--women { --cat-bg: #F8E4EB; }
.cat--unisex { --cat-bg: #E8E5FA; }

/* ---------- Store sections ---------- */
.store-section { padding-top: clamp(64px, 7.5vw, 104px); }
.store-section.tight { padding-top: clamp(14px, 1.8vw, 22px); }
.s-head { text-align: center; margin-bottom: clamp(26px, 3.2vw, 42px); }
.s-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.s-head h2 em {
  font-style: italic; font-weight: 400; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em;
}
.s-head p { margin: 12px auto 0; max-width: 56ch; font-size: 15.5px; color: var(--muted); }
.s-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; }
.s-note { font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 8px; }
.s-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding-bottom: 3px;
  font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--ink);
}
.s-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.s-link:hover svg { transform: translateX(4px); }
.s-foot { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }
.s-foot .btn { border-radius: 12px; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.p-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.p-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 28px 54px -30px rgba(10, 14, 23, .38); }
.p-media {
  position: relative; margin: 8px; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center;
  background: #F1F4F8;
}
.p-media svg { width: 62%; height: auto; transition: transform .7s var(--ease); }
.p-card:hover .p-media svg { transform: translateY(-5px) scale(1.04); }
.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.p-group {
  position: absolute; top: 15px; right: 14px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.p-group.arabian { color: #A3651F; }
.p-info { flex: 1; display: flex; flex-direction: column; padding: 8px 18px 0; }
.p-name { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-brand { margin: 3px 0 0; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.p-meta { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.p-price { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.p-actions { padding: 14px 18px 18px; }
.p-add {
  width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.p-add svg { width: 16px; height: 16px; }
.p-add:hover { background: var(--ink); color: #fff; }
.qty {
  display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 4px;
  border-radius: 10px; background: var(--ink); color: #fff;
}
.qty button {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  transition: background .2s;
}
.qty button:hover { background: rgba(255, 255, 255, .2); }
.qty button svg { width: 16px; height: 16px; }
.qty output { font-size: 13px; font-weight: 700; }

/* ---------- Perks strip ---------- */
.perks {
  margin-top: clamp(64px, 7.5vw, 104px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.perks-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.perks:hover .perks-track { animation-play-state: paused; }
.perk {
  display: inline-flex; align-items: center; gap: 10px; margin-right: 10px; padding: 12px 18px;
  border-radius: 12px; background: var(--panel); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.perk svg { width: 20px; height: 20px; color: var(--azure-2); }

/* ---------- Shelves ---------- */
.shelf { padding: clamp(40px, 5vw, 64px) clamp(18px, 3.4vw, 52px); border-radius: 30px; background: var(--panel); }
.shelf-body { position: relative; }
.shelf-track {
  --g: clamp(12px, 1.6vw, 20px);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--g)) / 4); gap: var(--g);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 10px; margin: -4px -2px -10px; scrollbar-width: none;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track > * { scroll-snap-align: start; }
.shelf-track:focus-visible { outline-offset: 6px; }
.shelf .p-card { border-color: transparent; }
.shelf-arrow {
  position: absolute; top: 38%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--card-line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(10, 14, 23, .35);
  transition: opacity .25s, transform .25s var(--ease), background .2s;
}
.shelf-arrow svg { width: 18px; height: 18px; }
.shelf-arrow:hover { background: var(--ink); color: #fff; }
.shelf-arrow.prev { left: -23px; }
.shelf-arrow.next { right: -23px; }
.shelf-arrow[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Shop by brand ---------- */
.brand-grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden;
}
.brand-tile {
  min-height: 112px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-right: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line);
  background: #fff; color: var(--ink); text-align: center; cursor: pointer; transition: background .25s;
}
.brand-tile:nth-child(8n) { border-right: 0; }
.brand-tile:nth-last-child(-n + 8) { border-bottom: 0; }
.brand-tile:hover { background: var(--panel); }
.brand-tile strong { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.05; }
.brand-tile span { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azure-2); }
.brand-tile.arabian span { color: #A3651F; }

/* ---------- Collection banners ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.banner {
  position: relative; overflow: hidden; isolation: isolate; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(28px, 3.2vw, 46px); border-radius: 26px; color: #fff;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--b-bg); }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6, 9, 15, .92) 0%, rgba(6, 9, 15, .5) 34%, rgba(6, 9, 15, 0) 62%);
}
.banner--designer { --b-bg: linear-gradient(160deg, #1B3A6B 0%, #0A1222 100%); }
.banner--arabian { --b-bg: linear-gradient(160deg, #5E3A15 0%, #1C1008 100%); }
.banner-tab {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  padding: 10px 24px 12px; border-radius: 0 0 16px 16px; background: #fff; color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.banner-art { align-self: center; width: min(86%, 440px); margin: 34px 0 30px; transition: transform .9s var(--ease); }
.banner:hover .banner-art { transform: translateY(-6px); }
.banner h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4vw, 62px); line-height: 1; }
.banner p { margin: 10px 0 0; max-width: 44ch; font-size: 15px; color: rgba(255, 255, 255, .72); }
.banner .banner-brands { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.banner-btn { margin-top: 24px; height: 50px; padding: 0 24px; border-radius: 12px; background: #fff; color: var(--ink); }
.banner-btn:hover { background: #E8F3FF; transform: translateY(-1px); }


/* ---------- Product photos (white-background shots, blended into the tinted backgrounds) ---------- */
.p-media img { width: 94%; height: auto; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.04); }
.sr-thumb img, .order-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sr-thumb, .order-thumb { overflow: hidden; }
.cat-media { align-items: center; }
.cat { min-width: 0; }
.cat-media img { width: 60%; height: auto; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.cat:hover .cat-media img { transform: translateY(-4px) scale(1.03); }

/* Fanned photo cards (hero + collection banners) */
.fan { position: relative; width: 100%; aspect-ratio: 1.3 / 1; }
.fan-card {
  position: absolute; top: 16%; width: 50%; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 18px; background: #fff;
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .8s var(--ease);
}
.fan-card img { width: 100%; height: 100%; object-fit: contain; }
.fan-card:nth-child(1) { left: 0; transform: rotate(-7deg); }
.fan-card:nth-child(2) { left: 21%; top: 0; width: 58%; z-index: 2; }
.fan-card:nth-child(3) { right: 0; transform: rotate(7deg); }
.promo:hover .fan-card:nth-child(1), .banner:hover .fan-card:nth-child(1) { transform: rotate(-9deg) translateX(-8px); }
.promo:hover .fan-card:nth-child(2), .banner:hover .fan-card:nth-child(2) { transform: translateY(-8px); }
.promo:hover .fan-card:nth-child(3), .banner:hover .fan-card:nth-child(3) { transform: rotate(9deg) translateX(8px); }
.promo-fan { align-self: center; justify-self: center; width: 100%; max-width: 600px; padding: 0 2% clamp(36px, 4.6vw, 68px); }

/* ---------- Steps on white ---------- */
.store .steps-section { background: #fff; }

/* ---------- Order list panel ---------- */
.order-panel { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; transition: visibility .45s; }
.order-panel.open { visibility: visible; pointer-events: auto; }
.order-scrim { position: absolute; inset: 0; background: rgba(10, 14, 23, .5); opacity: 0; transition: opacity .45s var(--ease); }
.order-panel.open .order-scrim { opacity: 1; }
.order-sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: #fff;
  transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -30px 0 80px -30px rgba(10, 14, 23, .4);
}
.order-sheet:focus { outline: none; }
.order-panel.open .order-sheet { transform: none; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; border-bottom: 1px solid var(--card-line); }
.order-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.05; }
.order-sub { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.order-sub strong { color: var(--ink); }
.order-head .icon-btn { color: var(--ink); flex: none; }
.order-head .icon-btn:hover { background: var(--panel); }
.order-items { flex: 1; overflow: auto; list-style: none; margin: 0; padding: 4px 24px; }
.order-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--card-line); }
.order-item:last-child { border-bottom: 0; }
.order-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--panel); display: grid; place-items: center; }
.order-thumb svg { width: 42px; height: auto; }
.order-item strong { display: block; font-size: 14.5px; line-height: 1.3; }
.order-item span { display: block; font-size: 12.5px; color: var(--muted); }
.order-remove { margin-top: 4px; padding: 0; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.order-remove:hover { color: var(--ink); }
.mini-qty { display: flex; align-items: center; height: 38px; border: 1px solid var(--card-line); border-radius: 10px; }
.mini-qty button { width: 34px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 9px; }
.mini-qty button:hover { background: var(--panel); }
.mini-qty button svg { width: 14px; height: 14px; }
.mini-qty output { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }
.order-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 32px; text-align: center; color: var(--muted); }
.order-empty svg { width: 54px; height: 54px; color: #B9C2D0; }
.order-empty p { margin: 0; max-width: 30ch; font-size: 14.5px; }
.order-empty p strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }
.order-empty .btn { height: 48px; border-radius: 12px; }
.order-foot { padding: 20px 24px 24px; border-top: 1px solid var(--card-line); background: var(--panel); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; }
.order-total strong { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; }
.order-progress { height: 6px; margin: 14px 0 10px; border-radius: 99px; background: #D8E0EA; overflow: hidden; }
.order-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .5s var(--ease); }
.order-progress.done span { background: #1FAF5A; }
.order-hint { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.order-hint strong { color: var(--ink); }
.order-send { width: 100%; height: 56px; border-radius: 12px; }
.order-send svg { width: 18px; height: 18px; }
.order-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 85;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--ink); color: #fff;
  box-shadow: 0 20px 50px -18px rgba(10, 14, 23, .55);
  font-size: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast-check { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #1FAF5A; }
.toast-check svg { width: 14px; height: 14px; }
.toast-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button {
  flex: none; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.toast button:hover { background: rgba(255, 255, 255, .22); }

/* Drawer: secondary links */
.drawer-sub { margin-top: 28px !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px 22px !important; }
.drawer .drawer-sub a { font-family: var(--sans); font-size: 14px; font-weight: 600; border: 0; padding: 4px 0; color: var(--muted-d); }


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1500px) {
  .wa-action .label { display: none; }
  .wa-action { padding: 0 11px; }
  .topbar-perks li:nth-child(2) { display: none; }
}

@media (max-width: 1160px) {
  .store-header-inner { grid-template-columns: auto auto 1fr auto; grid-template-areas: "menu logo search actions"; }
  .store-header .menu-toggle { display: grid; }
  .store-nav { display: none; }
  .topbar-links a:not(:first-child) { display: none; }
}

@media (max-width: 1024px) {
  .promo { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .promo-copy { padding-bottom: 0; }
  .promo-art { max-width: 560px; width: 100%; margin: 0 auto; }
  .shelf-track { grid-auto-columns: calc((100% - 2 * var(--g)) / 3); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-tile:nth-child(8n) { border-right: 1px solid var(--card-line); }
  .brand-tile:nth-child(4n) { border-right: 0; }
  .brand-tile:nth-last-child(-n + 8) { border-bottom: 1px solid var(--card-line); }
  .brand-tile:nth-last-child(-n + 4) { border-bottom: 0; }
  .banner-art { width: min(80%, 420px); }
}

@media (max-width: 900px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .banners { grid-template-columns: 1fr; }
  .topbar-perks { display: none; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: center; height: 34px; font-size: 12px; }
  .topbar-links { display: none; }
  .store-header-inner {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "search";
    height: auto; padding-top: 10px; padding-bottom: 10px;
  }
  .store-header .menu-toggle, .store-header .sub-brand, .store-actions { display: none; }
  .store-header .logo { width: 64px; justify-self: center; }
  .store-header .menu-toggle { justify-self: start; }
  .store-actions { justify-self: end; gap: 2px; }
  .wa-action { display: none; }
  .order-btn .label { display: none; }
  .order-btn { height: 42px; padding: 0 10px 0 12px; gap: 7px; }
  .search-field { height: 44px; }

  .promo { padding: 30px 22px 0; border-radius: 20px; }
  .promo-title { font-size: clamp(40px, 11.5vw, 56px); }
  .promo-actions { margin-top: 26px; }
  .promo-actions .btn { flex: 1 1 100%; }
  .brand-strip span { font-size: 16px; padding: 11px 0 11px 22px; gap: 22px; }

  .cats { gap: 8px; }
  .cat-media { aspect-ratio: 1 / 1.05; border-radius: 14px; }
  .cat-media svg { width: 130%; max-width: none; flex: none; }
  .cat-media img { width: 100%; }
  .cat-label { margin-top: 10px; font-size: 12.5px; line-height: 1.3; }
  .cat-label svg { display: none; }

  .p-grid { gap: 10px; }
  .p-media { margin: 6px; border-radius: 10px; }
  .p-badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 10px; }
  .p-group { display: none; }
  .p-info { padding: 6px 12px 0; }
  .p-name { font-size: 11.5px; letter-spacing: .06em; }
  .p-brand { font-size: 15.5px; }
  .p-meta { font-size: 12.5px; }
  .p-price { font-size: 12.5px; margin-top: 8px; }
  .p-actions { padding: 12px; }
  .p-add { height: 44px; padding: 0 6px; gap: 6px; font-size: 11.5px; letter-spacing: .03em; white-space: nowrap; }
  .p-add svg { width: 14px; height: 14px; }
  .qty { height: 40px; }
  .qty button { width: 32px; height: 32px; }
  .qty output { font-size: 12px; }

  .shelf { padding: 32px 14px 28px; border-radius: 22px; }
  .shelf-track { grid-auto-columns: 46%; --g: 10px; }
  .shelf-arrow { display: none; }

  .s-head.row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .s-note { padding-bottom: 0; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-tile { min-height: 64px; padding: 10px 8px; gap: 3px; }
  .brand-tile strong { font-size: 18px; }
  .brand-tile:nth-child(n) { border-right: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
  .brand-tile:nth-child(2n) { border-right: 0; }
  .brand-tile:nth-last-child(-n + 2) { border-bottom: 0; }

  .banner { min-height: 440px; border-radius: 20px; padding: 26px 22px; }
  .banner-art { width: 96%; margin: 30px 0 24px; }
  .banner-btn { width: 100%; }

  .toast { bottom: calc(var(--tabbar-h) + 12px); }

  /* Best sellers: one swipeable row (like the shelves below) instead of five rows of two */
  .p-grid[data-products="best"] {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
  }
  .p-grid[data-products="best"]::-webkit-scrollbar { display: none; }
  .p-grid[data-products="best"] > * { scroll-snap-align: start; }
}

/* ============================================================
   Client's photos (cut from his mockup): light hero + price-list photo
   ============================================================ */
.promo--photo {
  position: relative; overflow: hidden; isolation: isolate; color: var(--ink);
  background: linear-gradient(100deg, #F7F6F4 0%, #F0EFED 48%, #E6E5E6 100%);
}
.promo--photo .lead { color: var(--muted); }
.promo--photo .btn-line { border-color: rgba(10, 14, 23, .25); background: rgba(255, 255, 255, .5); }
.promo--photo .btn-line:hover { border-color: var(--ink); background: #fff; }
.promo--photo .ship-chip { border-color: rgba(10, 14, 23, .12); background: rgba(255, 255, 255, .6); color: var(--muted); }
.promo--photo .ship-chip strong { color: var(--ink); }
.promo-photo {
  position: relative; z-index: 1; align-self: end; justify-self: end; margin: 0;
  width: calc(100% + clamp(26px, 4.6vw, 68px) + 90px); max-width: 780px; margin-left: -90px;
  margin-right: calc(-1 * clamp(26px, 4.6vw, 68px));
}
.promo-photo img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0%, #000 22%);
  mask-composite: intersect;
}

.catalog-photo {
  margin: 0; width: min(400px, 100%); overflow: hidden; border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(-1.5deg); transition: transform .8s var(--ease);
}
.catalog-photo:hover { transform: rotate(0deg) translateY(-4px); }
.catalog-photo img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .promo--photo { grid-template-columns: 1fr; }
  .promo-photo { justify-self: center; width: calc(100% + 2 * clamp(26px, 4.6vw, 68px)); max-width: none; margin: 8px calc(-1 * clamp(26px, 4.6vw, 68px)) 0; }
  .promo-photo img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
  }
}
@media (max-width: 760px) {
  .promo-photo { width: calc(100% + 44px); margin: 4px -22px 0; }
  .catalog-photo { width: min(340px, 100%); }
}

/* ---------- Bold type (store sections) ---------- */
.promo-title, .s-head h2, .brand-strip span, .brand-tile strong, .banner h3, .order-head h2, .order-total strong { font-family: var(--display); }
.promo-title { font-weight: 800; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; }
.promo-title em, .s-head h2 em { font-style: normal; font-weight: inherit; padding-right: 0; }
.s-head h2 { font-weight: 800; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
.brand-strip span { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.brand-tile strong { font-weight: 800; font-size: clamp(14px, 1.15vw, 17px); letter-spacing: -.01em; }
.banner h3 { font-weight: 800; font-size: clamp(34px, 3.2vw, 48px); letter-spacing: -.025em; text-transform: uppercase; }
.order-head h2 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.order-total strong { font-weight: 800; font-size: 24px; }
@media (max-width: 760px) {
  .promo-title { font-size: clamp(28px, 8.6vw, 40px); }
  .brand-strip span { font-size: 12.5px; }
}

/* ---------- Brand logos in the Shop by Brand tiles (all shown in black, like the reference) ---------- */
.brand-tile { gap: 10px; }
.brand-logo {
  display: block; height: 30px; width: auto; max-width: 88%; object-fit: contain;
  filter: brightness(0); opacity: .86; transition: opacity .25s, transform .4s var(--ease);
}
.brand-tile:hover .brand-logo { opacity: 1; transform: scale(1.05); }
/* Houses without a logo file yet: set as a spaced wordmark */
.brand-tile strong { font-size: 16px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 30px; }
/* Per-logo sizing: stacked or square marks need more height than long wordmarks */
.brand-logo--carolina-herrera { height: 34px; }
.brand-logo--versace { height: 48px; }
.brand-logo--valentino { height: 44px; }
.brand-logo--al-haramain { height: 58px; }
.brand-logo--armaf { height: 50px; }
.brand-logo--lattafa { height: 48px; }
.brand-logo--rasasi { height: 38px; }
.brand-logo--swiss-arabian { height: 46px; }
@media (max-width: 760px) {
  .brand-logo { height: 24px; }
  .brand-logo--carolina-herrera { height: 30px; }
  .brand-logo--versace, .brand-logo--lattafa { height: 40px; }
  .brand-logo--valentino, .brand-logo--swiss-arabian, .brand-logo--armaf { height: 38px; }
  .brand-logo--al-haramain { height: 46px; }
  .brand-logo--rasasi { height: 32px; }
}

/* ---------- Price request: picked state on cards + picks inside the application form ---------- */
.p-add.is-picked { background: var(--ink); color: #fff; }
.p-add.is-picked .off { display: none; }
.p-add.is-picked:hover { background: #2A3142; }
.p-add.is-picked:hover .on { display: none; }
.p-add.is-picked:hover .off { display: inline; }
.request-field { padding: 16px 18px; border: 1px dashed var(--line-d); border-radius: 12px; background: rgba(255, 255, 255, .02); gap: 12px; }
.field-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); }
@media (max-width: 760px) {
  .field-label { font-size: 12px; letter-spacing: .14em; }
  .chip button { width: 30px; height: 30px; }
  /* Bigger tap areas without moving anything */
  .crumbs a { padding: 10px 6px; margin: -10px -6px; }
  .site-header--bar .logo { padding: 4px 0; }
}
.field-label .opt { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .7; }
.request-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 5px 5px 12px; border-radius: 999px;
  background: rgba(58, 151, 242, .14); border: 1px solid rgba(124, 196, 245, .3); color: #fff; font-size: 13px; font-weight: 600;
}
.chip em { font-style: normal; font-weight: 500; color: var(--muted-d); }
.chip button {
  width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
.chip button:hover { background: rgba(255, 255, 255, .24); }
.chip button svg { width: 12px; height: 12px; }
.request-hint { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted-d); }
.request-hint a { color: var(--sky); border-bottom: 1px solid rgba(124, 196, 245, .4); }
@media (max-width: 760px) { .p-add .long { display: none; } }

/* ---------- Wide screens: fill the width ---------- */
@media (min-width: 1440px) {
  .p-grid { grid-template-columns: repeat(5, 1fr); }
  .shelf-track { grid-auto-columns: calc((100% - 4 * var(--g)) / 5); }
}
/* Best sellers has 10 picks: show the first 8 below 5 across */
@media (min-width: 761px) and (max-width: 1439.98px) {
  .p-grid[data-products="best"] > :nth-child(n + 9) { display: none; }
}

/* ============================================================
   Part of the JMF site
   The perfume page sits under the JMF site header (the same
   header, menu and footer as the home page). Under it, the sticky
   Perfume Wholesale bar: section name, perfume links, search,
   WhatsApp, price request.
   ============================================================ */
.site-header--bar,
.site-header--bar.is-scrolled {
  position: relative; inset: auto; z-index: 61;
  background: var(--ink); border-bottom: 1px solid var(--line-d);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header--bar .header-inner,
.site-header--bar.is-scrolled .header-inner { height: 76px; }
.site-header--bar .logo { width: 68px; }
.store .site-header .btn { border-radius: 2px; }
@media (max-width: 1024px) {
  /* from here down the Perfume Wholesale bar has the menu button */
  .site-header--bar .menu-toggle { visibility: hidden; }
}
@media (max-width: 760px) {
  .site-header--bar .menu-toggle { visibility: visible; }
  .site-header--bar .header-inner,
  .site-header--bar.is-scrolled .header-inner { height: 60px; }
  .site-header--bar .logo { width: 54px; }
}

/* Section name in the sticky bar: "The JMF Foundation / Perfume Wholesale" */
.sub-brand { grid-area: logo; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sub-parent {
  font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; transition: color .2s;
}
.sub-parent:hover { color: var(--azure-2); }
.sub-title {
  font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
/* The theme button joins this bar only once the site header has scrolled away */
.store-actions .theme-btn { display: none; }
.store-header.is-stuck .store-actions .theme-btn { display: inline-flex; }
@media (max-width: 760px) {
  .sub-brand { justify-self: center; align-items: center; text-align: center; gap: 5px; }
  .sub-parent { font-size: 9px; letter-spacing: .2em; }
  .sub-title { font-size: 15px; }
}

/* Breadcrumb above the hero */
.crumbs { margin: 0 0 12px; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before {
  content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--azure-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* Application form: how many units (28 Nov). Preset tiles plus an own amount; 10 minimum. */
.unit-opts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.unit-opt { position: relative; display: block; cursor: pointer; }
.unit-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.unit-opt span {
  height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1px solid var(--line-d); border-radius: 2px; background: rgba(255, 255, 255, .035); color: #fff;
  transition: border-color .2s, background .2s;
}
.unit-opt b { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: -.01em; }
.unit-opt small { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); line-height: 1; }
.unit-opt:hover span { border-color: rgba(255, 255, 255, .25); }
.unit-opt input:checked + span { border-color: var(--azure); background: rgba(58, 151, 242, .16); box-shadow: inset 0 0 0 1px var(--azure); }
.unit-opt input:checked + span small { color: var(--sky); }
.unit-opt input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.unit-own { position: relative; }
.unit-own .input { padding-right: 70px; }
.unit-suffix { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted-d); pointer-events: none; }
.units-field.invalid .unit-own .input { border-color: #E36A6A; }
@media (max-width: 760px) {
  .unit-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
