@font-face {
  font-family: "Leodarun Naskh";
  src: url("./fonts/LeodarunNaskh-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Leodarun Arabic UI";
  src: url("./fonts/LeodarunSansArabic-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #f4ecdf;
  --paper: #0a0908;
  --gold: #d7b577;
  --muted: #c9baa7;
  --wine: #e1c58e;
  --line: rgba(218, 185, 128, .22);
  --arabic-display: "Leodarun Naskh", Georgia, serif;
  --sans: "Leodarun Arabic UI", "Noto Sans Arabic", Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background-color: #080707;
  background-image:
    linear-gradient(rgba(6, 5, 5, .82), rgba(6, 5, 5, .9)),
    url("./leodarun-background.jpeg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
}

button,
input,
select,
textarea {
  font-family: var(--sans);
}

.topbar.wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: none;
  height: 78px;
  margin: 0;
  padding-inline: clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(215, 181, 119, .48);
  background: rgba(9, 8, 7, .93);
  backdrop-filter: blur(16px);
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: rgba(215, 181, 119, .72);
  background: radial-gradient(circle, rgba(215, 181, 119, .15), rgba(8, 7, 6, .7));
  color: #f0d69e;
  box-shadow: 0 0 22px rgba(215, 181, 119, .1);
}

.brand-name {
  color: #f1ddb8;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .14em;
}

.brand-sub {
  color: #bfa983;
}

.nav {
  gap: clamp(12px, 1.6vw, 25px);
  color: #e7dccd;
}

.nav a {
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.nav a:hover {
  color: #f0d59d;
}

.nav-cta {
  border-color: rgba(215, 181, 119, .7);
  color: #f0d59d;
}

.nav-cta:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #17110c !important;
}

.language-switcher {
  border-color: rgba(215, 181, 119, .34);
}

.language-btn {
  border-color: rgba(215, 181, 119, .34);
  color: #e7dccd;
}

.language-btn[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: #17110c;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  height: min(820px, calc(100svh - 78px));
  min-height: 610px;
  margin: 0;
  padding: clamp(42px, 7vw, 108px);
  border-block: 1px solid rgba(215, 181, 119, .35);
  border-radius: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: start;
  background-image:
    linear-gradient(270deg, rgba(7, 5, 5, .97) 0%, rgba(7, 5, 5, .84) 34%, rgba(7, 5, 5, .36) 58%, rgba(7, 5, 5, .04) 100%),
    url("./leodarun-background.jpeg");
  background-position: center, center 46%;
  background-size: cover;
  color: #f7f0e7;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 48%);
  max-width: 560px;
  margin: 0;
  text-align: start;
}

.hero .eyebrow {
  justify-content: flex-start;
  color: #e5c78c;
  font-size: 11px;
  letter-spacing: .19em;
}

.hero .eyebrow:before {
  display: block;
  width: 34px;
  background: var(--gold);
}

.hero-product-name {
  margin: 12px 0 8px;
  color: #dfc38f;
  font: 500 clamp(14px, 1.6vw, 20px) Georgia, "Times New Roman", serif;
  letter-spacing: .2em;
  text-shadow: 0 2px 16px #000;
}

.hero h1 {
  margin: 8px 0 16px;
  color: #f3ddb2;
  font: 500 clamp(38px, 5vw, 68px)/1.32 var(--arabic-display);
  letter-spacing: 0;
  text-shadow: 0 3px 26px rgba(0, 0, 0, .84);
}

.hero-copy p {
  max-width: 460px;
  margin: 0 0 26px;
  color: #e1d4c2;
  font-size: 14px;
  line-height: 2.05;
  text-shadow: 0 2px 14px #000;
}

.hero-actions {
  justify-content: flex-start;
  gap: 14px;
}

.hero .button,
.closing-card .button {
  min-height: 48px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: #17110c;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .32);
}

.hero .button:hover,
.closing-card .button:hover {
  background: #e7ca94;
  border-color: #e7ca94;
}

.hero .text-link {
  color: #eadcc8;
}

.hero-art {
  display: none !important;
}

html[dir="ltr"] .hero {
  background-image:
    linear-gradient(90deg, rgba(7, 5, 5, .97) 0%, rgba(7, 5, 5, .84) 34%, rgba(7, 5, 5, .36) 58%, rgba(7, 5, 5, .04) 100%),
    url("./leodarun-background.jpeg");
}

.intro-strip {
  min-height: 68px;
  padding-block: 18px;
  border-color: rgba(215, 181, 119, .26);
  color: #cdbd9f;
  font-size: 11px;
}

.intro-strip strong {
  color: #f0d59d;
}

.section {
  padding-block: clamp(70px, 8vw, 112px);
}

.section-kicker {
  color: #d7b577;
  font-size: 10px;
  letter-spacing: .18em;
}

.section h2,
.story-copy h2,
.payment-section-head h2 {
  color: #f0d49b;
  font-family: var(--arabic-display);
}

.section-head {
  margin-bottom: 30px;
}

.section-head p,
.category-note {
  color: #c6b69f;
}

.collections-discovery {
  width: min(1320px, calc(100% - 48px));
  padding: 38px 0 26px;
}

.collection-portals {
  gap: 18px;
}

.collection-portal {
  min-height: 390px;
  border: 1px solid rgba(215, 181, 119, .56);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .42);
  background-color: #0d0b09;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.collection-portal:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 207, 146, .85);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .54);
}

.collection-portal.fresh {
  background-image: url("./gallery/gallery-01.jpeg");
  background-position: center 42%;
}

.collection-portal.majestic {
  background-image: url("./gallery/gallery-09.jpeg");
  background-position: center 42%;
}

.portal-art {
  display: none;
}

.portal-content {
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 46px);
  text-align: start;
  background: linear-gradient(270deg, rgba(7, 6, 5, .97) 0%, rgba(7, 6, 5, .82) 37%, rgba(7, 6, 5, .28) 73%, rgba(7, 6, 5, .08) 100%);
}

html[dir="ltr"] .portal-content {
  background: linear-gradient(90deg, rgba(7, 6, 5, .97) 0%, rgba(7, 6, 5, .82) 37%, rgba(7, 6, 5, .28) 73%, rgba(7, 6, 5, .08) 100%);
}

.portal-kicker {
  color: #e0bf81;
  font-size: 10px;
}

.portal-title {
  max-width: 520px;
  margin: 2px 0 8px;
  color: #f2d79f;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.4;
  text-shadow: 0 3px 20px #000;
}

.portal-description {
  max-width: 420px;
  color: #e7dccd;
  font-size: 12px;
  line-height: 1.9;
}

.portal-perfumes {
  justify-content: flex-start;
  max-width: 520px;
  gap: 6px;
  margin: 2px 0 16px;
}

.portal-perfumes li {
  padding: 3px 9px;
  border-color: rgba(218, 187, 137, .38);
  background: rgba(9, 7, 6, .68);
  color: #f2e4cb;
  font-size: 10px;
}

.portal-link {
  min-height: 42px;
  min-width: 142px;
  border-color: rgba(231, 199, 142, .88);
  background: rgba(8, 6, 5, .58);
  color: #f0d49b;
}

.portal-link:hover {
  background: var(--gold);
  color: #17110c;
}

#collection .filters {
  gap: 8px;
}

#collection .filter {
  border-color: rgba(215, 181, 119, .35);
  background: rgba(12, 9, 8, .7);
  color: #ded0bc;
}

#collection .filter[aria-pressed="true"],
#collection .filter:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #17110c;
}

#collection .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

#collection .product {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(215, 181, 119, .28);
  background: linear-gradient(145deg, rgba(20, 15, 12, .92), rgba(7, 6, 5, .94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#collection .product:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 181, 119, .64);
  box-shadow: 0 24px 46px rgba(0, 0, 0, .38);
}

#collection .product-visual {
  aspect-ratio: 2 / 3;
  padding: 6px;
  border-color: rgba(215, 181, 119, .32);
  background: radial-gradient(ellipse at 50% 35%, rgba(112, 69, 37, .24), #090807 70%);
}

#collection .product-meta {
  padding: 14px 4px 4px;
}

#collection .product h3 {
  color: #f0d49b;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
}

#collection .product-type {
  color: #ccb17e;
  font-size: 12px;
}

#collection .product-meta > p {
  color: #b9a98f;
  font-size: 9px;
}

#collection .product-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

#collection .price-option {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 7px 3px;
  border: 1px solid rgba(215, 181, 119, .3);
  background: rgba(7, 6, 5, .72);
  color: #f0dfc2;
}

#collection .price-option small {
  color: #c9b48d;
  font-size: 9px;
  line-height: 1.3;
  direction: ltr;
}

#collection .price-option strong {
  color: #f0d49b;
  font: 500 10px/1.4 Georgia, serif;
  direction: ltr;
  white-space: nowrap;
}

#collection .product-tags {
  margin-top: 10px;
}

#collection .note-tag {
  border-color: rgba(215, 181, 119, .28);
  background: rgba(215, 181, 119, .08);
  color: #ddc897;
}

#collection .note-tag.cold { color: #b5d2d8; }
#collection .note-tag.warm { color: #edc98d; }
#collection .note-tag.soft { color: #dfb8c2; }
#collection .note-tag.sharp { color: #e2a89a; }

.stock-state {
  color: #c59d82;
}

.stock-state.in-stock {
  color: #c5d29b;
}

.order-card-button,
.detail-order-button {
  min-height: 44px;
  border-color: var(--gold);
  background: var(--gold);
  color: #17110c;
  font-family: var(--sans);
  font-size: 13px;
}

.order-card-button:hover,
.detail-order-button:hover {
  background: #edcf97;
  color: #15100b;
}

.gallery-section {
  padding-block: clamp(72px, 8vw, 110px);
}

.gallery-carousel {
  border-color: rgba(215, 181, 119, .56);
  background: rgba(7, 6, 5, .95);
}

.gallery-stage {
  min-height: 520px;
  border-color: rgba(215, 181, 119, .3);
}

.gallery-stage::after {
  background: linear-gradient(180deg, rgba(5, 3, 3, .04), rgba(5, 3, 3, .3));
}

.gallery-image {
  max-width: min(100%, 780px);
  object-fit: contain;
  border-color: rgba(215, 181, 119, .44);
}

.gallery-control {
  border-color: rgba(215, 181, 119, .72);
  color: #f0d49b;
}

.gallery-count {
  color: #f0d49b;
}

.notes-section {
  background: linear-gradient(115deg, rgba(14, 10, 8, .96), rgba(22, 15, 11, .86));
  border-block: 1px solid rgba(215, 181, 119, .32);
}

.notes-copy p {
  color: #cbbba3;
}

.note-list {
  border-color: rgba(215, 181, 119, .28);
}

.note-row {
  border-color: rgba(215, 181, 119, .22);
}

.note-row span:first-child {
  color: #d8b776;
}

.note-row strong {
  color: #f2e5d2;
}

.note-row em {
  color: #ccb27e;
}

.story-panel {
  border: 1px solid rgba(215, 181, 119, .34);
  background: linear-gradient(125deg, rgba(21, 15, 12, .97), rgba(7, 6, 5, .94));
}

.story-art {
  background:
    radial-gradient(ellipse at 50% 47%, rgba(185, 118, 53, .35), transparent 34%),
    url("./gallery/gallery-06.jpeg") center 52% / cover no-repeat;
}

.story-art:before {
  background: rgba(9, 7, 6, .34);
  border-color: rgba(215, 181, 119, .35);
}

.story-art:after {
  border-color: rgba(215, 181, 119, .25);
}

.story-mini {
  display: none;
}

.story-copy h2 {
  color: #f0d49b;
}

.story-copy p {
  color: #d1c2ae;
}

.closing-card {
  border: 1px solid rgba(215, 181, 119, .55);
  background: linear-gradient(120deg, rgba(9, 7, 6, .94), rgba(32, 19, 12, .9));
  color: #f5eadc;
}

.closing-card p {
  color: #d7c39f;
}

.footer {
  border-top: 1px solid rgba(215, 181, 119, .24);
  background: rgba(7, 6, 5, .96);
}

#product-dialog {
  border-color: rgba(215, 181, 119, .72);
  background: linear-gradient(125deg, rgba(21, 15, 12, .99), rgba(7, 6, 6, .99));
}

#product-dialog .detail-visual {
  border-color: rgba(215, 181, 119, .36);
  background: rgba(0, 0, 0, .58);
}

#product-dialog .detail-pyramid {
  border-color: rgba(215, 181, 119, .38);
  background: rgba(0, 0, 0, .38);
}

#product-dialog .detail-note-row {
  border-color: rgba(215, 181, 119, .25);
}

.order-dialog {
  border-color: rgba(215, 181, 119, .74);
  background: linear-gradient(155deg, #1d1511, #0a0807 68%);
}

.payment-methods-section {
  border-color: rgba(215, 181, 119, .25);
}

.payment-method-card {
  border-color: rgba(215, 181, 119, .32);
}

@media (max-width: 1050px) {
  .topbar.wrap {
    padding-inline: 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav {
    gap: 11px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: min(740px, calc(100svh - 72px));
    min-height: 560px;
    padding: 56px 34px;
  }

  .hero-copy {
    width: min(500px, 52%);
  }

  #collection .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .collection-portal {
    min-height: 370px;
  }
}

@media (max-width: 650px) {
  body {
    background-attachment: scroll;
  }

  .topbar.wrap {
    position: sticky;
    width: 100%;
    height: 72px;
    padding-inline: 15px;
    justify-content: center;
  }

  .topbar > .brand {
    left: 50%;
  }

  .topbar > .menu-btn {
    right: 15px;
    border-color: rgba(215, 181, 119, .44);
    background: rgba(10, 8, 7, .88);
    color: #f0d49b;
  }

  .nav {
    top: 66px;
    border-color: rgba(215, 181, 119, .38);
    background: rgba(9, 8, 7, .98);
  }

  .hero {
    width: 100%;
    height: min(760px, calc(100svh - 72px));
    min-height: min(620px, calc(100svh - 72px));
    padding: 40px 24px 34px;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background-image:
      linear-gradient(180deg, rgba(7, 5, 5, .12) 0%, rgba(7, 5, 5, .3) 38%, rgba(7, 5, 5, .94) 100%),
      url("./leodarun-background.jpeg");
    background-position: center, 52% center;
  }

  html[dir="ltr"] .hero {
    background-image:
      linear-gradient(180deg, rgba(7, 5, 5, .12) 0%, rgba(7, 5, 5, .3) 38%, rgba(7, 5, 5, .94) 100%),
      url("./leodarun-background.jpeg");
  }

  .hero-copy {
    width: min(100%, 520px);
    max-width: 520px;
    margin: auto;
    text-align: center;
  }

  .hero .eyebrow {
    justify-content: center;
    font-size: 10px;
  }

  .hero .eyebrow:before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 49px);
  }

  .hero-copy p {
    margin-inline: auto;
    font-size: 13px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .intro-strip {
    justify-content: center;
    gap: 8px 16px;
    padding-inline: 10px;
    text-align: center;
  }

  .collections-discovery {
    width: min(100% - 30px, 540px);
    padding-block: 24px 14px;
  }

  .collection-portals {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-portal {
    min-height: 390px;
  }

  .portal-content {
    padding: 26px 22px;
  }

  .portal-title {
    font-size: clamp(27px, 8vw, 35px);
  }

  .portal-description {
    font-size: 12px;
  }

  .portal-perfumes {
    gap: 5px;
  }

  .portal-perfumes li {
    padding-inline: 7px;
    font-size: 9px;
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  #collection .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #collection .product {
    padding: 7px;
  }

  #collection .product-meta {
    padding: 10px 2px 3px;
  }

  #collection .product h3 {
    font-size: 14px;
  }

  #collection .product-type {
    font-size: 11px;
  }

  #collection .product-prices {
    gap: 4px;
    margin-top: 9px;
  }

  #collection .price-option {
    padding: 6px 2px;
  }

  #collection .price-option small {
    font-size: 8px;
  }

  #collection .price-option strong {
    font-size: 9px;
  }

  .order-card-button {
    min-height: 40px;
    margin-top: 9px;
    padding-inline: 7px;
    font-size: 11px;
  }

  .gallery-section {
    padding: 60px 15px 70px;
  }

  .gallery-carousel {
    padding: 6px;
  }

  .gallery-stage {
    height: min(72svh, 620px);
    min-height: 420px;
  }

  .gallery-image {
    width: 100%;
    height: min(68svh, 590px);
  }

  .notes-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .note-row {
    grid-template-columns: 78px 1fr;
    gap: 8px 12px;
  }

  .note-row em {
    grid-column: 2;
  }

  .story-panel {
    grid-template-columns: 1fr;
  }

  .story-art {
    min-height: 290px;
  }

  .story-copy {
    padding: 30px 24px 38px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-inline: 18px;
  }

  .collection-portal {
    min-height: 410px;
  }

  #collection .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #collection .product {
    padding: 9px;
  }

  #collection .product h3 {
    font-size: 16px;
  }

  #collection .product-visual {
    aspect-ratio: 2 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.reel-frame {width:min(100%,440px);margin-inline:auto;border:1px solid #947849;background:#100e0c;text-align:center}
.reel-frame video {object-fit:contain;background:#090807;display:block;width:100%;height:clamp(500px,78vh,740px);border:0}
.reel-frame a {display:block;padding:14px;color:#e4c99b}

.reel-controls {display:flex;justify-content:center;align-items:center;gap:18px;padding:0 12px 12px;color:#e4c99b}
.reel-controls button {width:44px;height:44px;background:#16120f;border:1px solid #947849;border-radius:50%;color:inherit;font-size:24px;cursor:pointer}
