@font-face {
  font-family: "Space Grotesk";
  src: url("web-assets/spacegrotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("web-assets/inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("web-assets/notosansarabic.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #060b0f;
  --navy: #071522;
  --raised: #0e1a23;
  --raised-2: #13232e;
  --white: #ffffff;
  --silver: #bac6ce;
  --muted: #85939d;
  --teal: #00b98d;
  --dark-teal: #006f5d;
  --pending: #d8bd77;
  --line: rgba(186, 198, 206, .17);
  --line-strong: rgba(186, 198, 206, .3);
  --max: 1320px;
  font-family: Inter, "Noto Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { background: var(--black); color: var(--white); margin: 0; min-height: 100vh; }
body, button, input { font-family: Inter, "Noto Sans Arabic", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(0, 185, 141, .45); outline-offset: 3px; }
[hidden] { display: none !important; }

.preview-notice { background: var(--teal); color: #02130e; font-size: .72rem; font-weight: 700; letter-spacing: .025em; padding: .48rem 1rem; text-align: center; }
.site-header { align-items: center; background: rgba(6, 11, 15, .94); border-bottom: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 1fr auto 1fr; margin-inline: auto; max-width: var(--max); min-height: 4.8rem; padding: .85rem 1.5rem; position: relative; z-index: 30; }
.brand { width: 10.5rem; }
.primary-nav { display: flex; gap: 2rem; }
.primary-nav a { border-bottom: 1px solid transparent; color: var(--silver); font-size: .86rem; padding-block: .5rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a.active { border-color: var(--teal); color: var(--white); }
.header-actions { align-items: center; display: flex; gap: .55rem; justify-self: end; }
.text-control, .cart-control, .menu-control { background: transparent; border: 1px solid var(--line); color: var(--white); min-height: 2.55rem; padding: .55rem .75rem; }
.text-control { font-size: .75rem; }
.cart-control { align-items: center; display: inline-flex; font-size: .76rem; gap: .55rem; }
.cart-control b { align-items: center; background: var(--teal); border-radius: 50%; color: #02130e; display: inline-flex; font-size: .66rem; height: 1.25rem; justify-content: center; min-width: 1.25rem; }
.menu-control { align-items: center; display: none; gap: 3px; justify-content: center; width: 2.7rem; }
.menu-control span { background: var(--white); display: block; height: 1px; width: 1rem; }
.menu-control i { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.cart-panel { background: #0a151d; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .52); padding: 1.4rem; position: fixed; right: max(1rem, calc((100vw - var(--max)) / 2 + 1.5rem)); top: 6.25rem; transform: translateY(0); transition: opacity .18s ease, transform .18s ease; width: min(23rem, calc(100vw - 2rem)); z-index: 50; }
.cart-panel[aria-hidden="true"] { opacity: 0; pointer-events: none; transform: translateY(-.6rem); }
.cart-panel header { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 1rem; }
.cart-panel h2 { font-size: 1.2rem; }
.cart-panel header button { background: transparent; border: 0; color: var(--white); font-size: 1.6rem; }
.cart-panel > div { color: var(--silver); font-size: .84rem; padding: 1.2rem 0; }
.cart-panel small { color: var(--muted); line-height: 1.5; }
.cart-item-heading, .cart-quantity-row, .cart-total { align-items: center; display: flex; justify-content: space-between; }
.cart-item-heading button { background: transparent; border: 0; color: var(--teal); font-size: .72rem; padding: 0; }
.cart-item-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: .85rem 0; padding: .45rem 0; }
.cart-item-facts div { display: flex; justify-content: space-between; padding: .3rem 0; }
.cart-item-facts dt { color: var(--muted); }
.cart-item-facts dd { margin: 0; text-align: end; }
.cart-quantity-row { margin: .8rem 0; }
.cart-quantity { display: grid; grid-template-columns: 2rem 2rem 2rem; }
.cart-quantity button, .cart-quantity b { align-items: center; background: transparent; border: 1px solid var(--line-strong); color: var(--white); display: flex; height: 2rem; justify-content: center; }
.cart-total { border-top: 1px solid var(--line); margin: .8rem 0 0; padding-top: .9rem; }
.cart-shop-link { color: var(--teal); display: block; font-size: .76rem; font-weight: 650; margin: 0 0 1rem; text-decoration: none; }

main { overflow: hidden; }
.home-hero, .collection-section, .customer-information, .breadcrumb, .product-hero, .product-accordions, .site-footer { margin-inline: auto; max-width: var(--max); }
.home-hero { align-items: center; display: grid; gap: clamp(2.5rem, 5vw, 6rem); grid-template-columns: minmax(0, .78fr) minmax(30rem, 1.22fr); min-height: 34rem; padding: 2.75rem 1.5rem 3rem; }
.home-hero h1, .collection-header h2, .product-title-block h1, .site-footer h3, .customer-information h2, .product-accordions summary { font-family: "Space Grotesk", "Noto Sans Arabic", sans-serif; }
.home-hero h1 { font-size: clamp(3rem, 5vw, 3.75rem); letter-spacing: -.045em; line-height: .98; margin: 0; }
.lede { color: var(--silver); font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.6; margin: 1.15rem 0 1.7rem; max-width: 31rem; }
.button { align-items: center; border: 1px solid var(--teal); display: inline-flex; font-size: .86rem; font-weight: 700; justify-content: center; min-height: 2.9rem; padding: .65rem 1.1rem; text-decoration: none; }
.button.primary { background: var(--teal); color: #02130e; }
.button.primary:hover:not(:disabled) { background: #11cca0; }
.button.full { width: 100%; }
.button:disabled { opacity: .42; }
.hero-render { align-self: stretch; background: var(--navy); border: 1px solid var(--line); margin: 0; min-height: 27rem; overflow: hidden; position: relative; }
.hero-render img { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero-render figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: .65rem 1rem; background: #071522ee; color: var(--muted); font-size: .8rem; line-height: 1.4; }

.collection-section { border-top: 1px solid var(--line); padding: 4.5rem 1.5rem 5rem; }
.collection-header { align-items: end; display: grid; gap: 2rem; grid-template-columns: 1fr minmax(18rem, .58fr); margin-bottom: 2rem; }
.section-kicker { color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 .7rem; text-transform: uppercase; }
.collection-header h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; margin: 0; }
.collection-header > p { color: var(--muted); font-size: .82rem; line-height: 1.6; margin: 0; }
.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { background: var(--raised); border: 1px solid var(--line); min-width: 0; }
.card-image { background: #0a141b; display: block; overflow: hidden; }
.card-image img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .25s ease; width: 100%; }
.product-card:hover .card-image img { transform: scale(1.025); }
.card-body { padding: 1.2rem; }
.card-body h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; margin: 0 0 1rem; }
.card-body dl { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 0; padding: .65rem 0; }
.card-body dl div { display: flex; gap: 1rem; justify-content: space-between; padding: .32rem 0; }
.card-body dt { color: var(--muted); font-size: .7rem; }
.card-body dd { font-size: .72rem; margin: 0; text-align: end; }
.card-price { color: var(--silver); font-size: .86rem; font-weight: 600; margin: 1rem 0; }
.card-action { background: transparent; border: 0; color: var(--teal); display: inline; font-size: .78rem; font-weight: 700; padding: 0; text-decoration: none; }

.customer-information { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 1.5rem 5rem; }
.customer-information article { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 2.5rem 2rem 2.5rem 0; }
.customer-information article:not(:first-child) { padding-left: 2rem; }
.customer-information article:last-child { border-right: 0; }
.customer-information h2 { font-size: 1.35rem; margin: 0; }
.customer-information p { color: var(--muted); font-size: .84rem; line-height: 1.65; min-height: 4.3rem; }
.customer-information a { color: var(--teal); font-size: .78rem; font-weight: 650; text-decoration: none; }

.site-footer { border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 2fr repeat(3, 1fr); padding: 3.5rem 1.5rem 2rem; }
.footer-brand img { width: 10rem; }
.site-footer p { color: var(--muted); font-size: .76rem; line-height: 1.65; max-width: 24rem; }
.site-footer h3 { font-size: .82rem; margin: 0 0 1rem; }
.site-footer a { color: var(--muted); display: block; font-size: .76rem; margin: .7rem 0; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-legal { border-top: 1px solid var(--line); grid-column: 1 / -1; max-width: none !important; padding-top: 1.3rem; }
.compact-footer { grid-template-columns: 2fr 1fr 1fr; }

/* Product page */
.breadcrumb { color: var(--muted); display: flex; font-size: .76rem; gap: .65rem; padding: 1.3rem 1.5rem; }
.breadcrumb a { color: var(--silver); text-decoration: none; }
.breadcrumb strong { color: var(--white); }
.product-hero { align-items: start; display: grid; gap: 0 clamp(2.5rem, 5vw, 5.5rem); grid-template-areas: "gallery title" "gallery purchase"; grid-template-columns: minmax(0, 1.05fr) minmax(28rem, .82fr); grid-template-rows: auto 1fr; padding: 1rem 1.5rem 4.5rem; }
.product-gallery { grid-area: gallery; }
.product-title-block { align-self: end; grid-area: title; padding-top: .6rem; }
.gallery-stage { background: var(--navy); border: 1px solid var(--line); overflow: hidden; }
.gallery-stage img { aspect-ratio: 1.18 / 1; height: auto; object-fit: cover; width: 100%; }
.image-caption { color: var(--muted); font-size: .7rem; line-height: 1.5; margin: .75rem 0 0; }
.product-purchase { grid-area: purchase; }
.product-title-block h1 { font-size: clamp(3rem, 4.4vw, 4.5rem); letter-spacing: -.045em; line-height: .94; margin: 0; }
.product-title-block .product-content { color: var(--teal); }
.product-description { color: var(--silver); font-size: 1rem; line-height: 1.65; margin: 1rem 0 1.6rem; max-width: 34rem; }
.purchase-summary { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.purchase-summary p { margin: 0; min-width: 0; padding: .85rem 1rem .85rem 0; }
.purchase-summary p:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1rem; }
.purchase-summary p:nth-child(n + 3) { border-top: 1px solid var(--line); }
.purchase-summary span { color: var(--muted); display: block; font-size: .7rem; margin-bottom: .35rem; }
.purchase-summary strong { font-size: .9rem; }
.pending { color: var(--pending); }
.purchase-controls { align-items: end; display: grid; gap: 1rem; grid-template-columns: auto 1fr; margin-top: 1.4rem; }
.quantity-block label { display: block; font-size: .72rem; font-weight: 650; margin-bottom: .45rem; }
.quantity-control { display: grid; grid-template-columns: 2.65rem 3.2rem 2.65rem; }
.quantity-control button, .quantity-control input { background: transparent; border: 1px solid var(--line-strong); color: var(--white); height: 2.9rem; text-align: center; }
.quantity-control button:hover { border-color: var(--teal); }
.add-cart { width: 100%; }
.delivery-summary { align-items: start; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: .8rem; grid-template-columns: 8.25rem 1fr; margin: 1.4rem 0 0; padding: .8rem 0; }
.delivery-summary strong { font-size: .76rem; }
.delivery-summary span { color: var(--muted); font-size: .76rem; line-height: 1.5; }
.batch-link { color: var(--teal); display: inline-block; font-size: .82rem; font-weight: 650; margin-top: 1.2rem; text-decoration: none; }
.transaction-note { color: var(--muted); font-size: .68rem; line-height: 1.55; margin-top: 1rem; }

.product-accordions { border-top: 1px solid var(--line); padding: 3.5rem 1.5rem 5rem; }
.product-accordions details { border-bottom: 1px solid var(--line); }
.product-accordions summary { cursor: pointer; font-size: 1.25rem; list-style: none; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; }
.product-accordions summary::-webkit-details-marker { display: none; }
.product-accordions summary::after { color: var(--teal); content: "+"; font-family: Inter, sans-serif; font-size: 1.35rem; position: absolute; right: .25rem; top: 1.2rem; }
.product-accordions details[open] summary::after { content: "−"; }
.accordion-content { color: var(--silver); font-size: .86rem; line-height: 1.7; max-width: 54rem; padding: 0 0 1.8rem; }
.accordion-content dl { margin: 0 0 1.2rem; }
.accordion-content dl div { border-top: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; padding: .7rem 0; }
.accordion-content dt { color: var(--muted); }
.accordion-content dd { margin: 0; text-align: end; }
.status-line { border: 1px solid var(--line-strong); color: var(--pending); display: inline-block; font-size: .74rem; padding: .55rem .75rem; }
.support-links a { color: var(--teal); display: block; margin-top: .45rem; text-decoration: none; }

.preview-toast { background: var(--white); bottom: 1.25rem; color: var(--black); font-size: .8rem; left: 50%; max-width: min(32rem, calc(100vw - 2rem)); opacity: 0; padding: .9rem 1.1rem; pointer-events: none; position: fixed; transform: translate(-50%, 1rem); transition: opacity .18s ease, transform .18s ease; z-index: 60; }
.preview-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

[dir="rtl"] .cart-panel { left: max(1rem, calc((100vw - var(--max)) / 2 + 1.5rem)); right: auto; }
[dir="rtl"] .customer-information article { border-left: 1px solid var(--line); border-right: 0; padding: 2.5rem 0 2.5rem 2rem; }
[dir="rtl"] .customer-information article:not(:first-child) { padding-left: 2rem; padding-right: 2rem; }
[dir="rtl"] .customer-information article:last-child { border-left: 0; }
[dir="rtl"] .purchase-summary p { padding-left: 1rem; padding-right: 0; }
[dir="rtl"] .purchase-summary p:nth-child(even) { border-left: 0; border-right: 1px solid var(--line); padding-right: 1rem; }
[dir="rtl"] .product-accordions summary { padding-left: 2.5rem; padding-right: 0; }
[dir="rtl"] .product-accordions summary::after { left: .25rem; right: auto; }
[dir="rtl"] .isolate-ltr, [dir="rtl"] .card-body h3, [dir="rtl"] .product-title-block h1 { direction: ltr; unicode-bidi: isolate; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; grid-column: 1 / -1; grid-row: 2; padding-bottom: .7rem; }
  .primary-nav.is-open { display: flex; }
  .menu-control { display: inline-flex; flex-direction: column; }
  .home-hero { grid-template-columns: minmax(0, .8fr) minmax(26rem, 1.2fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { gap: 1rem; padding-inline: 1rem; }
  .brand { width: 8.7rem; }
  .text-control { border: 0; padding-inline: .2rem; }
  .cart-control { padding-inline: .55rem; }
  .cart-control > span { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
  .primary-nav.is-open { flex-direction: column; gap: 0; }
  .home-hero { gap: 1.8rem; grid-template-columns: 1fr; min-height: auto; padding: 2.7rem 1rem 3rem; }
  .home-hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .lede { font-size: 1rem; margin-bottom: 1.35rem; }
  .hero-render { min-height: 0; }
  .hero-render img { aspect-ratio: 3 / 2; height: auto; }
  .collection-section { padding: 3.5rem 1rem 4rem; }
  .collection-header { align-items: start; grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 1rem; }
  .card-body h3 { font-size: 1.1rem; }
  .card-body dl div { align-items: start; flex-direction: column; gap: .15rem; }
  .card-body dd { text-align: start; }
  .customer-information { grid-template-columns: 1fr; padding-inline: 1rem; }
  .customer-information article, [dir="rtl"] .customer-information article { border-bottom: 1px solid var(--line); border-left: 0; border-right: 0; padding: 2rem 0; }
  .customer-information article:not(:first-child), [dir="rtl"] .customer-information article:not(:first-child) { padding: 2rem 0; }
  .customer-information p { min-height: 0; }
  .site-footer, .compact-footer { grid-template-columns: 1fr 1fr; padding-inline: 1rem; }
  .footer-brand, .footer-legal { grid-column: 1 / -1; }
  .breadcrumb { padding-inline: 1rem; }
  .product-hero { gap: .9rem; grid-template-areas: "title" "gallery" "purchase"; grid-template-columns: 1fr; grid-template-rows: auto; padding: .5rem 1rem 3.5rem; }
  .product-title-block { padding-top: 0; }
  .gallery-stage img { aspect-ratio: 1.9 / 1; object-position: center 58%; }
  .product-title-block h1 { font-size: 2.65rem; }
  .product-description { margin-bottom: .4rem; }
  .product-accordions { padding: 2.5rem 1rem 4rem; }
}

@media (max-width: 480px) {
  .preview-notice { font-size: .65rem; }
  .product-grid { gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: .75rem; }
  .card-body h3 { font-size: .98rem; margin-bottom: .7rem; }
  .card-body dl { padding: .45rem 0; }
  .card-body dt, .card-body dd { font-size: .62rem; }
  .card-price { font-size: .72rem; margin: .7rem 0; }
  .card-action { font-size: .7rem; }
  .purchase-controls { grid-template-columns: 1fr; }
  .quantity-control { grid-template-columns: 2.8rem 1fr 2.8rem; }
  .site-footer, .compact-footer { grid-template-columns: 1fr; }
  .footer-brand, .footer-legal { grid-column: auto; }
}

@media (max-width: 340px) {
  .product-grid { grid-template-columns: 1fr; }
}

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

.card-image img{object-fit:contain;padding:1.5rem}.gallery-stage img{object-fit:contain;padding:1rem}.product-card{min-width:0}
