@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #381C2E;          /* Aubergine — primary dark: text & dark surfaces */
  --accent: #7A335A;       /* Plum — primary accent, links */
  --accent-dark: #5C2743;  /* deeper plum — hover */
  --pink: #A95E82;         /* Mauve — light accent / highlights */
  --pink-soft: #F3E7EE;    /* soft mauve blush surface */
  --blue: #A95E82;         /* Mauve (kept name; used in gradients) */
  --blue-soft: #F6F1EE;    /* Porcelain — palest surface */
  --rose: #E7D3DE;         /* soft mauve tint */
  --muted: #8A6B7A;        /* muted mauve — secondary text */
  --line: #E6DAE0;         /* soft hairline (mauve mist tint) */
  --bg: #ffffff;
  --soft: #F6F1EE;         /* Porcelain surface */
  --champagne: #CBA96B;    /* Champagne — premium accent details */
  --ok: #2e7d52;
  --maxw: 100%;
  --radius: 12px;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }

/* Announcement bar */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: .3px;
  padding: 8px 16px;
}
.announce strong { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: 2px; text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--accent-dark); }
.nav-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.cart-link { position: relative; text-decoration: none; font-size: 14px; font-weight: 600; }
.cart-count {
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 1px 7px; margin-left: 4px;
}

/* Header icon buttons */
.header-actions { gap: 6px; }
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: none; background: transparent; cursor: pointer;
  color: var(--ink); text-decoration: none;
  border-radius: 50%;
  transition: background .2s, color .2s, transform .15s;
}
.icon-btn:hover { background: var(--soft); color: var(--accent-dark); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ic { width: 21px; height: 21px; display: block; }
.icon-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--pink); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px;
  text-align: center; border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
}

/* Expandable search bar */
.search-bar { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fff; }
.search-bar.open { max-height: 90px; border-top: 1px solid var(--line); }
.search-form { display: flex; gap: 10px; padding: 14px 20px; }
.search-form input {
  flex: 1; padding: 12px 16px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; font-family: inherit;
}
.search-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* Wishlist heart on cards */
.card-img { position: relative; }
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  color: var(--ink); backdrop-filter: blur(2px);
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.wish-btn .ic { width: 18px; height: 18px; }
.wish-btn:hover { transform: scale(1.12); box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--pink); }
.wish-btn.on { color: var(--pink); }
.wish-btn.on .ic { fill: var(--pink); stroke: var(--pink); }

/* Wishlist toggle button (product page) */
.wish-toggle .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 7px; }
.wish-toggle.on { color: var(--pink); border-color: var(--pink); }
.wish-toggle.on .ic { fill: var(--pink); stroke: var(--pink); }

/* Buy-now-pay-later (tabby / tamara) */
.bnpl {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 4px;
  background: var(--soft);
  display: flex; flex-direction: column; gap: 8px;
}
.bnpl-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #34343f; }
.bnpl-logo {
  flex: none;
  font-weight: 800; font-size: 12px; letter-spacing: .2px;
  padding: 4px 9px; border-radius: 7px; text-transform: lowercase;
}
.bnpl-logo.tabby  { background: #3effc8; color: #0a3a2e; }
.bnpl-logo.tamara { background: #ffe6f2; color: #e6017e; font-weight: 800; letter-spacing: -.2px; }
.tamara-logo { height: 22px; width: auto; display: block; flex: none; }
.bnpl-row .tamara-logo { height: 24px; }
.pm-logo-box { flex: none; width: 54px; height: 30px; display: grid; place-items: center; }
.pm-logo-box .tamara-logo { height: 20px; }

/* Checkout payment methods */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pay-method:hover { border-color: var(--accent); }
.pay-method input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.pay-method.sel { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pm-body { display: flex; align-items: center; gap: 12px; flex: 1; }
.pm-icon {
  flex: none; width: 46px; height: 30px; border-radius: 7px;
  display: grid; place-items: center; color: #fff; background: #111;
}
.pm-icon.card { background: var(--accent); }
.pm-icon.tamara { background: #ffe6f2; color: #e6017e; font-weight: 800; font-size: 11px; letter-spacing: -.2px; text-transform: lowercase; }
.pm-txt { display: flex; flex-direction: column; line-height: 1.3; }
.pm-txt strong { font-size: 14px; }
.pm-txt span { font-size: 12px; color: var(--muted); }
.pay-panel { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 6px; }
.pay-hint { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.applepay-btn {
  width: 100%; background: #000; color: #fff; border: none;
  border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: transform .15s;
}
.applepay-btn:active { transform: scale(.99); }
.tamara-panel { background: var(--soft); border-radius: 10px; padding: 16px; }
.btn-accent[data-pay-btn] svg { vertical-align: -3px; margin-right: 4px; }

/* ===== Checkout (6thStreet-style) ===== */
.checkout-page { padding-top: 24px; }
.checkout-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.checkout-head h1 { margin: 0; font-size: 30px; }

.steps-bar { display: flex; align-items: center; gap: 8px; }
.step-dot {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--soft); color: var(--muted); border: 1.5px solid var(--line);
}
.step-dot i { position: absolute; top: 34px; font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.step-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.step-dot.active i { color: var(--ink); font-weight: 600; }
.step-dot.done { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.step-line { width: 34px; height: 2px; background: var(--line); }

.checkout-main { display: flex; flex-direction: column; gap: 18px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-head h3 { margin: 0; font-size: 17px; }
.step-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}

.delivery-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--accent); background: var(--soft);
  border-radius: 12px; padding: 12px 14px; margin-top: 4px;
}
.delivery-opt .do-ic { font-size: 22px; }
.delivery-opt strong { display: block; font-size: 14px; }
.delivery-opt span { font-size: 12px; color: var(--muted); }
.delivery-opt .do-price { margin-left: auto; font-weight: 700; color: var(--accent-dark); }

/* Summary */
.checkout-summary h3 { display: flex; justify-content: space-between; align-items: baseline; }
.sum-count { font-size: 13px; font-weight: 500; color: var(--muted); }
.sum-items { margin: 8px 0 4px; max-height: 280px; overflow-y: auto; }
.sum-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-thumb {
  position: relative; flex: none; width: 50px; height: 50px; border-radius: 9px;
  background: var(--soft); display: grid; place-items: center; font-size: 24px; overflow: hidden;
}
.sum-thumb img, .sum-thumb video { width: 100%; height: 100%; object-fit: cover; }
.sum-qty {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; padding: 0 4px;
}
.sum-info { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sum-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sum-shade { font-size: 11px; color: var(--muted); }
.sum-price { font-weight: 700; font-size: 14px; white-space: nowrap; }

.promo { display: flex; gap: 8px; margin: 14px 0 6px; }
.promo input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 14px; }
.promo input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.promo .btn { padding: 11px 18px; }
.promo-msg { font-size: 12px; min-height: 16px; margin-bottom: 6px; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: #c0392b; }

.freeship-bar { margin: 6px 0 14px; }
.fs-txt { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.fs-txt.done { color: var(--ok); font-weight: 600; }
.fs-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fs-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent), var(--pink)); transition: width .4s ease; }

.secure-row { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.secure-row svg { color: var(--accent-dark); }

@media (max-width: 900px) {
  .checkout-summary { position: static; order: -1; }
}

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  background: linear-gradient(120deg, #fdeef5 0%, #fbd9e8 45%, #f6bcd6 100%);
  padding: 80px 0;
}

/* Hero with photo (model on the right, copy on the left) */
.hero-photo {
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #fbe1ec;
  background-image:
    linear-gradient(90deg, #fdeef5 0%, rgba(253,238,245,.92) 28%, rgba(253,238,245,.45) 50%, rgba(253,238,245,0) 68%),
    url('hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-photo > .wrap { width: 100%; }
.hero-copy { max-width: 470px; }
.hero-copy .btn { animation: fadeUp .7s ease both; animation-delay: .45s; }
@media (max-width: 760px) {
  .hero-photo {
    min-height: 600px;
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(253,238,245,0) 28%, rgba(253,238,245,.55) 62%, rgba(253,238,245,.96) 100%),
      url('hero.jpg');
    background-position: top center;
    background-size: cover;
  }
  .hero-photo > .wrap { padding-bottom: 26px; }
  .hero-copy {
    max-width: 100%;
    background: rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 22px 20px 24px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(58,18,38,.14);
  }
  .hero h1 { font-size: 33px; margin-bottom: 12px; }
  .hero p { font-size: 15px; margin-bottom: 20px; }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 54px; line-height: 1.05; margin: 0 0 18px; letter-spacing: .2px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 460px; }
.hero-emoji {
  font-size: 180px; text-align: center; line-height: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
}

/* Section */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; margin: 0 0 8px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { color: var(--accent-dark); font-weight: 700; letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }

/* Product grid */
.grid { display: grid; gap: 26px; grid-template-columns: repeat(4, 1fr); }
/* More columns on wide / full-width screens so cards stay tidy */
@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1900px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
  .shop-grid { grid-template-columns: repeat(5, 1fr); }
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.card-img { aspect-ratio: 1/1; display: grid; place-items: center; font-size: 76px; background: var(--soft); overflow: hidden; }
.card-img img, .card-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border: none; border-radius: 999px; cursor: pointer;
  background: rgba(200,77,134,.28); color: #fff; font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, background .2s ease;
  box-shadow: 0 6px 16px rgba(58,18,38,.18);
}
.card-add svg { width: 16px; height: 16px; }
.card:hover .card-add { opacity: 1; transform: translateY(0); pointer-events: auto; }
.card-add:hover { background: rgba(163,49,104,.5); border-color: rgba(255,255,255,.8); }
/* Hover "Add to cart" is desktop-only — hidden on touch devices and tablet/mobile widths */
@media (hover: none), (max-width: 1024px) { .card-add { display: none; } }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-dark); font-weight: 700; }
.card-cat.brand-link { cursor: pointer; }
.card-cat.brand-link:hover { text-decoration: underline; }
.card-name { font-size: 15px; font-weight: 400; margin: 2px 0 0; }
.card-price { font-weight: 700; margin-top: 4px; padding-top: 0; }
.card-price .aed { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Categories strip */
.cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.cat-tile {
  border-radius: var(--radius); padding: 30px 20px; text-align: center;
  background: var(--soft); text-decoration: none; color: inherit; font-weight: 600;
  transition: background .2s;
}
.cat-tile:hover { background: var(--rose); }
.cat-tile .emoji { font-size: 40px; display: block; margin-bottom: 10px; }

/* Category tile with a cover photo */
.cat-tile.cover {
  position: relative; overflow: hidden;
  background-color: var(--accent);
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 180px; padding: 16px;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.cat-tile.cover .emoji { display: none; }
.cat-tile.cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(42,18,38,.55) 100%);
  transition: background .25s ease;
}
.cat-tile.cover:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(42,18,38,.65) 100%); }
.cat-tile.cover .label { position: relative; z-index: 1; }

/* Trust badges */
.trust { background: var(--soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.trust-item .emoji { font-size: 30px; }
.trust-item .trust-ic {
  width: 58px; height: 58px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--rose); color: var(--accent-dark);
  transition: transform .35s ease, background .3s ease, color .3s ease;
}
.trust-item .trust-ic svg { width: 27px; height: 27px; }
.trust-item:hover .trust-ic { transform: translateY(-4px); background: var(--accent); color: #fff; }
.trust-item h4 { margin: 12px 0 4px; font-size: 15px; }
.trust-item p { margin: 0; font-size: 13px; color: var(--muted); }

/* Filters / shop layout */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 88px; }
.filters h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; cursor: pointer; }
.shop-grid { grid-template-columns: repeat(4,1fr); }
.brand-list { max-height: 300px; overflow-y: auto; padding-right: 4px; }
.brand-list label { font-weight: 400; }
.filters h3 + h3, .filters .brand-list { margin-top: 4px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 4px 0 14px; margin-bottom: 14px; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 6px 0; margin-bottom: 8px; user-select: none; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); line-height: 1; }
.filter-group[open] > summary::after { content: "\2212"; }
.filter-group > summary:hover { color: var(--accent); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shop-toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.pd-img { aspect-ratio: 1/1; background: var(--soft); border-radius: var(--radius); display: grid; place-items: center; font-size: 160px; overflow: hidden; }
.pd-img img, .pd-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumb { width: 78px; height: 78px; flex: 0 0 auto; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: var(--soft); overflow: hidden; cursor: pointer; transition: border-color .2s; }
.pd-thumb img, .pd-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--accent); }
.pd-thumb.active { border-color: var(--accent); }
.pd-cat { color: var(--accent-dark); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.pd-brand {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-dark);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 8px;
}
.pd-brand:hover { text-decoration: underline; }
.pd h1, .pd .pd-title {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 2px 0 16px;
  letter-spacing: .2px;
}
.pd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 27px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.pd-price { font-size: 28px; font-weight: 800; margin: 14px 0; }
.pd-price .aed { font-size: 14px; color: var(--muted); }
.pd-desc { color: #34343f; margin: 16px 0; }
.pd-section { margin: 18px 0; }
.pd-section h4 { margin: 0 0 6px; font-size: 14px; }

/* Collapsible accordions (product description / details) */
.pd-acc { margin: 18px 0 4px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 2px; font-size: 15px; font-weight: 600; color: var(--ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s ease;
}
.acc[open] > summary::after { transform: rotate(-135deg); }
.acc > summary:hover { color: var(--accent-dark); }
.acc-body { padding: 0 2px 16px; color: #34343f; font-size: 14.5px; line-height: 1.6; animation: accReveal .25s ease; }
.acc-body ul { margin: 0; padding-left: 18px; }
.acc-body p { margin: 0; }
@keyframes accReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: #fff; border: none; width: 40px; height: 44px; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; height: 44px; border: none; text-align: center; font-size: 16px; }
.pd-actions { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch.active { box-shadow: 0 0 0 2px var(--accent); }

/* Premium assurance panel (product page, below add-to-cart) */
.assurance {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  box-shadow: 0 10px 30px rgba(124, 58, 237, .08);
  overflow: hidden;
  position: relative;
}
.assurance::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--accent), var(--pink));
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  position: relative;
  transition: background .25s ease;
}
.assurance-item + .assurance-item {
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.assurance-item:hover { background: rgba(139, 92, 246, .06); }
.assurance-ic {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #efe6fe);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 4px 12px rgba(139, 92, 246, .22), inset 0 1px 2px rgba(255,255,255,.9);
}
.assurance-tx { display: flex; flex-direction: column; line-height: 1.35; }
.assurance-tx strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .1px;
  color: var(--ink);
}
.assurance-tx span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red, blue)) {
  .assurance-item + .assurance-item { border-top: 1px solid var(--line); }
  .assurance-ic { border-color: var(--line); }
}

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .thumb { width: 88px; height: 88px; background: var(--soft); border-radius: 10px; display: grid; place-items: center; font-size: 40px; overflow: hidden; }
.cart-item .thumb img, .cart-item .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item .name { font-weight: 600; }
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; margin-top: 6px; }
.cart-item .line-price { font-weight: 700; text-align: right; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; }
.summary h3 { margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; margin: 10px 0; font-size: 15px; }
.summary-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-size: 19px; font-weight: 800; }
.summary .note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty .emoji { font-size: 60px; }

/* Forms / checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; padding: 40px 0; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.form-card h3 { margin: 0 0 16px; font-size: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; font-family: inherit;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-note { background: var(--soft); border-radius: 9px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.error { color: #c0392b; font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field.invalid .error { display: block; }

/* Confirmation */
.confirm { text-align: center; padding: 80px 20px; max-width: 620px; margin: 0 auto; }
.confirm .check { font-size: 70px; }
.confirm h1 { font-size: 32px; margin: 12px 0; }
.confirm .order-no { font-weight: 800; color: var(--accent-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfda; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .5px; }
.footer-grid a { display: block; color: #cfcfda; text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand span { color: var(--pink); }
.footer-brand p { font-size: 13px; color: #9a9aaa; max-width: 260px; }
.footer-bottom { border-top: 1px solid #2c2c42; padding: 18px 0; text-align: center; font-size: 12px; color: #8a8a9a; }
.footer-bottom .ph { color: var(--pink); }
.footer-bottom a { color: var(--pink); text-decoration: none; font-weight: 700; }
.footer-bottom a:hover { text-decoration: underline; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .pd, .cart-layout, .checkout-layout, .shop-layout { grid-template-columns: 1fr; }
  .grid, .shop-grid, .cats, .trust-grid, .footer-grid { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 38px; }
  .summary, .filters { position: static; }
  .row-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-grid; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 8px 0; z-index: 60;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px clamp(16px,4vw,56px); font-size: 15px; }
  .nav a::after { display: none; }
}
@media (max-width: 540px) {
  .grid, .shop-grid, .cats, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Animations (storefront only — legal pages use legal.css)
   ============================================================ */
html { scroll-behavior: smooth; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes popCount { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

/* Scroll reveal — base hidden state, revealed when .in is added */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* Header slides in on load */
.site-header { animation: slideDown .5s ease both; }
.announce { animation: fadeIn .6s ease both; }

/* Hero entrance (immediate, staggered) */
.hero .eyebrow { animation: fadeUp .6s ease both; animation-delay: .05s; }
.hero h1 { animation: fadeUp .7s ease both; animation-delay: .15s; }
.hero p { animation: fadeUp .7s ease both; animation-delay: .3s; }
.hero .btn { animation: fadeUp .7s ease both; animation-delay: .45s; }
.hero-emoji { animation: scaleIn .8s ease both, floaty 5s ease-in-out 1s infinite; animation-delay: .3s; }

/* Nav underline animation */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

/* Card image zoom + lift refinements */
.card-img { overflow: hidden; transition: background .3s; }
.card-img, .cat-tile .emoji, .pd-img { transition: transform .35s ease; }
.card:hover .card-img { transform: scale(1.06); }
.cat-tile:hover .emoji { transform: scale(1.12) rotate(-4deg); }

/* Buttons get a soft press */
.btn:active { transform: translateY(1px) scale(.99); }

/* Cart count pop when updated */
.cart-count.bump { animation: popCount .4s ease; }

/* Cart / form cards entrance handled via .reveal; add gentle hover */
.form-card { transition: box-shadow .25s ease; }
.form-card:focus-within { box-shadow: 0 8px 24px rgba(0,0,0,.07); }

/* Toast already transitions; add subtle bounce */
.toast.show { animation: scaleIn .25s ease; }

/* Confirmation check celebration */
.confirm .check { display: inline-block; animation: scaleIn .5s ease both, floaty 4s ease-in-out .6s infinite; }

/* Stagger helper — delays applied inline via JS using --d */
.reveal { transition-delay: var(--d, 0s); }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
