/* ==========================================================
   NOVA — DESIGN TOKENS AND SHARED COMPONENTS
========================================================== */

:root {

/* Foundation */
  --ink: #101820;
  --paper: #f4f2ed;
  --white: #fff;
  --acid: #c9ff4b;
  --orange: #ff603b;
  --muted: #697079;
  --line: rgba(16, 24, 32, 0.13);
  --font: "DM Sans", sans-serif;
  /* Typography */
  --font-latin: "DM Sans", system-ui, sans-serif;
  --font-arabic: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --body-leading: 1.7;
  --arabic-leading: 1.85;
  --arabic-heading-leading: 1.22;
  /* Layout and spacing */
  --radius: 18px;
  --header-bg: rgba(244, 242, 237, 0.92);
  --nova-max: 1320px;
  --nova-gutter: clamp(18px, 4vw, 56px);
  --nova-header: 76px;
  --nova-radius: 0px;
  --nova-radius-sm: 6px;
  --nova-radius-md: 12px;
  --nova-radius-lg: 18px;
  --nova-space-1: 8px;
  --nova-space-2: 16px;
  --nova-space-3: 24px;
  --nova-space-4: 40px;
  --nova-space-5: 64px;
  --nova-field-radius: var(--nova-radius, 0px);
  /* Motion */
  --nova-motion-fast: 0.2s;
  --nova-motion-hover: 0.25s;
  --nova-motion-base: 0.3s;
  --nova-motion-medium: 0.35s;
  --nova-motion-slow: 0.75s;
  --nova-motion-long: 0.8s;
  --nova-motion-reveal: 0.9s;
  --nova-ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nova-ease-emphasized: cubic-bezier(0.18, 0.68, 0.25, 1);
  --nova-reveal-distance: 28px;
  --nova-stagger-step: 90ms;
  --nova-ease: var(--nova-ease-standard);
  --nova-duration: var(--nova-motion-hover);
  --nova-duration-fast: var(--nova-motion-fast);
  --nova-duration-slow: var(--nova-motion-slow);
  --nova-orbit-primary-duration: 23s;
  --nova-orbit-secondary-duration: 27s;
  /* Surfaces and effects */
  --shadow: 0 30px 80px rgba(16, 24, 32, 0.14);
  --card: #fff;
  --soft: #e9e7e1;
  --glow: rgba(201, 255, 75, 0.28);
  --nova-orbit-line-soft: rgba(38, 53, 45, 0.12);
  --nova-orbit-glow: rgba(96, 120, 46, 0.28);
  /* SVG and orbit */
  --nova-svg-line: rgba(38, 53, 45, 0.22);
  --nova-svg-accent: #60782e;
  --nova-svg-quiet: rgba(38, 53, 45, 0.12);
  --nova-orbit-line: rgba(38, 53, 45, 0.22);
  --nova-orbit-dot: var(--nova-svg-accent, #60782e);
  --nova-orbit-dot-size: 10px;
  --nova-orbit-glow-ring-opacity: 11%;
  --nova-orbit-glow-radius: 2.6;
  /* Forms and semantic contrast */
  --nova-field-bg: var(--nova-surface, #fff);
  --nova-field-text: var(--nova-text, #142018);
  --nova-field-border: var(--nova-border, rgba(20, 32, 24, 0.2));
  --nova-field-placeholder: var(--nova-muted, #657168);
  --nova-field-focus: var(--acid, #c8ff3d);
  --nova-field-error: #b64f45;
  --nova-field-success: #4f7528;
  --nova-focus-ring: rgba(20, 32, 24, 0.52);
  --nova-on-accent: #142018;
  --nova-field-height: 54px;
}

/* ==========================================================
   NOVA — STYLE
========================================================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}
body.dark {
  --ink: #f5f5ee;
  --paper: #11161c;
  --white: #1b222b;
  --muted: #aeb4bb;
  --line: #333b44;
}
html[dir="rtl"] body {
  --font: "Tajawal", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.promo {
  height: 34px;
  background: var(--acid);
  color: var(--nova-on-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.site-header {
  height: 84px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(16px);
  z-index: 20;
}
.brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: var(--ink);
  color: var(--acid);
  border-radius: 9px;
  font-size: 1rem;
}
.main-nav {
  display: flex;
  gap: 2.3rem;
  margin-inline: auto;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
}
.main-nav a:after {
  content: "";
  height: 2px;
  background: var(--ink);
  position: absolute;
  inset-inline: 0;
  bottom: -7px;
  transform: scaleX(0);
  transition: var(--nova-motion-hover);
}
.main-nav a:hover:after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.icon-btn,
.text-btn,
.cart-btn,
.menu-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  height: 40px;
}
.icon-btn {
  font-size: 1.4rem;
}
.text-btn {
  font-size: 0.8rem;
  font-weight: 700;
}
.cart-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 0 16px;
  border-radius: 24px;
}
.cart-count {
  background: var(--acid);
  color: var(--nova-on-accent);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  margin-inline-start: 7px;
}
.menu-toggle {
  display: none;
  font-size: 1.4rem;
}
.menu-toggle i {
  display: block;
  width: 20px;
  height: 1.5px;
  flex: none;
  background: currentColor;
  transform-origin: center;
  transition:
    transform var(--nova-motion-fast),
    opacity var(--nova-motion-fast);
}
.menu-toggle.active i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle.active i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  padding: 30px 4vw 60px;
  gap: 4vw;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow,
.kicker {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow > span:first-child {
  width: 32px;
  height: 2px;
  background: var(--orange);
}
h1 {
  font-size: clamp(3.4rem, 6vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  margin: 32px 0 30px;
  font-weight: 600;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
html[dir="rtl"] h1 em {
  font-family: "Tajawal", sans-serif;
}
.hero-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 30px 0 56px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.86rem;
  transition: var(--nova-motion-hover);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--acid);
  color: var(--nova-on-accent);
}
.btn.outline {
  border-color: var(--ink);
}
.btn.dark {
  background: #111a22;
  color: #fff;
}
.link-arrow {
  font-weight: 700;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.trust-row {
  display: flex;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.trust-row div {
  display: flex;
  flex-direction: column;
}
.trust-row b {
  font-size: 1.1rem;
}
.trust-row span {
  font-size: 0.71rem;
  color: var(--muted);
}
.hero-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.hero-visual:hover > img {
  transform: scale(1.025);
}
.hero-badge {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  background: var(--acid);
  color: var(--nova-on-accent);
  padding: 20px 24px;
  display: flex;
  gap: 48px;
  align-items: end;
}
.hero-badge b {
  font-size: 2rem;
}
.hero-badge span {
  font-size: 0.78rem;
  font-weight: 700;
}
.product-pin {
  position: absolute;
  top: 42%;
  left: 41%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-pin button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: white;
  font-size: 1.3rem;
}
.product-pin span {
  background: white;
  color: #111;
  padding: 9px 12px;
  display: none;
  flex-direction: column;
  font-size: 0.75rem;
}
.product-pin:hover span {
  display: flex;
}
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 17px 0;
}
.ticker div {
  width: max-content;
  display: flex;
  gap: 35px;
  align-items: center;
  animation: nova-marquee 22s linear infinite;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.ticker i {
  color: var(--acid);
}
.section {
  padding: 110px 4vw;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}
.section-heading h2,
.editorial h2 {
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 16px 0 0;
}
.section-heading > p {
  color: var(--muted);
  max-width: 390px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.category-card {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.category-card.large {
  grid-row: span 2;
}
.category-card.wide {
  grid-column: span 2;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-card:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.category-card span {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  inset-inline: 24px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.category-card b {
  font-size: 1.35rem;
}
.category-card small {
  font-size: 0.7rem;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 25px;
  padding: 9px 16px;
  font-size: 0.78rem;
}
.filter-tabs button.active {
  background: var(--ink);
  color: var(--paper);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-image {
  aspect-ratio: 0.82;
  position: relative;
  background: #e8e7e0;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--paper);
  z-index: 2;
  padding: 5px 9px;
  font-size: 0.63rem;
  font-weight: 700;
}
.label.hot {
  background: var(--orange);
  color: white;
}
.wish {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
}
.wish.active {
  background: var(--orange);
  color: white;
}
.quick-add {
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  transform: translateY(110%);
  border: 0;
  background: var(--acid);
  height: 46px;
  font-weight: 700;
  transition: var(--nova-motion-hover);
}
.product-image:hover .quick-add {
  bottom: 12px;
  transform: translateY(0);
}
.product-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
}
.product-info h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.product-info span {
  font-size: 0.72rem;
  color: var(--muted);
}
.product-info > b {
  font-size: 0.9rem;
}
.center {
  text-align: center;
  margin-top: 48px;
}
.product-card.hide {
  display: none;
}
.editorial {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: #d9dfd5;
  color: #111;
}
.editorial-image {
  min-height: 680px;
  position: relative;
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-image span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: white;
  padding: 8px 11px;
  font-size: 0.66rem;
  font-weight: 700;
}
.editorial-copy {
  padding: 7vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-copy p {
  max-width: 450px;
  color: #4f5852;
  margin: 28px 0 34px;
}
.offer {
  border-top: 1px solid #aab2a8;
  margin-top: 65px;
  padding-top: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.offer b {
  font-size: 2rem;
}
.offer span {
  font-size: 0.8rem;
  max-width: 180px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}
.story-grid span {
  display: block;
  margin-top: 18px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.story-grid h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  max-width: 390px;
}
footer {
  background: #111820;
  color: #edf0ed;
  padding: 70px 4vw 25px;
}
.brand.light span {
  background: var(--acid);
  color: var(--nova-on-accent);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #35404a;
  padding-bottom: 55px;
}
.footer-top p {
  color: #9da5ac;
}
.newsletter {
  width: min(440px, 100%);
}
.newsletter label {
  font-size: 1.3rem;
  font-weight: 600;
}
.newsletter div {
  display: flex;
  border-bottom: 1px solid #788087;
  margin-top: 17px;
}
.newsletter input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 13px 0;
  color: white;
  outline: 0;
}
.newsletter button {
  border: 0;
  background: transparent;
  color: var(--acid);
  font-size: 1.5rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 0;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links b {
  color: #fff;
  margin-bottom: 7px;
}
.footer-links a {
  color: #9da5ac;
  font-size: 0.86rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #7f8991;
  border-top: 1px solid #35404a;
  padding-top: 22px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  background: var(--white);
  z-index: 50;
  transform: translateX(102%);
  transition: var(--nova-motion-medium);
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--ink);
}
html[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-102%);
}
.cart-drawer.open {
  transform: translateX(0) !important;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 1.7rem;
}
.drawer-head button {
  border: 0;
  background: transparent;
  font-size: 2rem;
  color: inherit;
}
.cart-items {
  flex: 1;
  overflow: auto;
  padding: 20px 0;
}
.empty-cart {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
}
.empty-cart b {
  color: var(--ink);
}
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.cart-thumb {
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.cart-item span {
  font-size: 0.75rem;
  color: var(--muted);
}
.cart-item button {
  border: 0;
  background: transparent;
  color: var(--muted);
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.cart-footer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.checkout {
  width: 100%;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: var(--nova-motion-base);
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px;
  z-index: 70;
  opacity: 0;
  transition: var(--nova-motion-hover);
  font-size: 0.85rem;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px 4vw;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-inline-end: 10px;
  }
  .search-trigger {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }
  .hero-copy {
    min-height: 500px;
  }
  .hero-visual {
    min-height: 570px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 260px 300px;
  }
  .category-card.large {
    grid-column: span 2;
    grid-row: auto;
  }
  .category-card.wide {
    grid-column: span 2;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editorial {
    grid-template-columns: 1fr;
  }
  .editorial-image {
    min-height: 540px;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .story-grid article:last-child {
    display: none;
  }
}
@media (max-width: 600px) {
  .promo {
    font-size: 0.62rem;
  }
  .promo-sep,
  .promo span:nth-of-type(3) {
    display: none;
  }
  .site-header {
    height: 70px;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand span {
    width: 28px;
    height: 28px;
  }
  .theme-toggle {
    display: none;
  }
  .cart-btn {
    padding: 0 11px;
  }
  .hero {
    padding-inline: 20px;
    gap: 20px;
  }
  .hero-copy {
    min-height: auto;
    padding: 48px 0 20px;
  }
  h1 {
    font-size: 3.3rem;
  }
  .hero-cta {
    margin-bottom: 38px;
  }
  .trust-row {
    gap: 18px;
    justify-content: space-between;
  }
  .hero-visual {
    min-height: 440px;
  }
  .hero-badge {
    padding: 13px 16px;
  }
  .section {
    padding: 80px 20px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .category-grid {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }
  .category-card {
    min-width: 82vw;
    height: 410px;
    scroll-snap-align: start;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-info {
    display: block;
  }
  .product-info > b {
    display: block;
    margin-top: 7px;
  }
  .filter-tabs {
    margin-top: 25px;
  }
  .quick-add {
    transform: none;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  .editorial-image {
    min-height: 430px;
  }
  .editorial-copy {
    padding: 75px 22px;
  }
  .story-grid {
    display: flex;
    overflow: auto;
  }
  .story-grid article {
    min-width: 82vw;
  }
  .story-grid article:last-child {
    display: block;
  }
  .footer-top {
    display: block;
  }
  .newsletter {
    margin-top: 45px;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }
  .header-actions {
    margin-inline-start: auto;
  }
}

/* ==========================================================
   NOVA — PAGES
========================================================== */
.inner-body {
  background: var(--paper);
}
.inner-header {
  height: 78px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(14px);
}
.inner-nav {
  display: flex;
  gap: 2rem;
  margin: auto;
}
.inner-nav a {
  font-size: 0.86rem;
  font-weight: 700;
}
.inner-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.page-hero {
  padding: 75px 4vw 45px;
}
.breadcrumbs {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 25px;
}
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin: 0;
  line-height: 0.95;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}
.shop-layout {
  padding: 20px 4vw 100px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
}
.filters {
  border-top: 1px solid var(--line);
}
.filter-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group h3 {
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 9px 0;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.shop-toolbar select {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
  color: inherit;
}
.listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 15px;
}
.listing .product-image {
  aspect-ratio: 0.8;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.pagination a.active {
  background: var(--ink);
  color: var(--paper);
}
.detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6vw;
  padding: 45px 4vw 100px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}
.gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 1.4;
}
.product-panel {
  position: sticky;
  top: 110px;
  align-self: start;
}
.product-panel .rating {
  font-size: 0.8rem;
  margin: 15px 0;
}
.product-panel h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  margin: 10px 0 20px;
}
.price {
  font-size: 1.45rem;
  font-weight: 700;
}
.desc {
  color: var(--muted);
  margin: 25px 0;
}
.swatches,
.sizes {
  display: flex;
  gap: 9px;
  margin: 12px 0 25px;
}
.swatches button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 4px solid var(--paper);
  outline: 1px solid var(--line);
}
.sizes button {
  min-width: 48px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  color: inherit;
}
.sizes button.selected {
  background: var(--ink);
  color: var(--paper);
}
.buy-row {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 10px;
}
.qty {
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.qty button {
  border: 0;
  background: transparent;
  color: inherit;
}
.accord {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}
.accord details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.accord summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}
.accord p {
  color: var(--muted);
  font-size: 0.84rem;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: calc(100vh - 78px);
}
.checkout-form {
  padding: 65px max(4vw, calc((100vw - 1200px) / 2)) 80px 4vw;
}
.checkout-summary {
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  padding: 65px 4vw;
}
.form-section {
  margin-bottom: 40px;
}
.form-section h2 {
  font-size: 1.3rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: span 2;
}
.field label {
  font-size: 0.74rem;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 14px;
  min-height: 50px;
}
.order-line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.order-line img {
  width: 62px;
  height: 75px;
  object-fit: cover;
}
.totals {
  margin-top: 22px;
}
.totals div {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
}
.totals .grand {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 1.2rem;
}
.account-layout {
  max-width: 1100px;
  margin: auto;
  padding: 65px 4vw 100px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
}
.account-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.account-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.account-menu a.active {
  font-weight: 700;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.stat-card b {
  font-size: 1.8rem;
  display: block;
}
.stat-card span {
  font-size: 0.76rem;
  color: var(--muted);
}
.order-table {
  width: 100%;
  border-collapse: collapse;
}
.order-table th,
.order-table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.order-table th {
  color: var(--muted);
}
.status {
  padding: 6px 9px;
  background: var(--acid);
  color: var(--nova-on-accent);
  font-size: 0.65rem;
  font-weight: 700;
}
.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.split-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-content {
  padding: 8vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  margin: 15px 0;
}
.split-content p {
  color: var(--muted);
  font-size: 1.05rem;
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.values b {
  display: block;
  font-size: 1.5rem;
}
.faq-wrap {
  max-width: 900px;
  margin: auto;
  padding: 0 4vw 100px;
}
.faq-wrap details {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.faq-wrap summary {
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-wrap p {
  color: var(--muted);
}
.contact-grid {
  max-width: 1100px;
  margin: auto;
  padding: 20px 4vw 100px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.contact-card {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
}
.contact-card div {
  margin: 28px 0;
}
.contact-card span {
  display: block;
  color: #9aa3aa;
  font-size: 0.75rem;
}
.contact-form textarea {
  min-height: 150px;
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.error-page h2 {
  font-size: 2rem;
  margin-top: -25px;
}
.simple-footer {
  background: #111820;
  color: white;
  padding: 35px 4vw;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
}
.mobile-filter {
  display: none;
}
@media (max-width: 900px) {
  .inner-nav {
    display: none;
  }
  .inner-actions {
    margin-left: auto;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
  }
  .mobile-filter {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    color: inherit;
    padding: 10px;
  }
  .listing {
    grid-template-columns: 1fr 1fr;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .product-panel {
    position: static;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    order: -1;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-menu {
    flex-direction: row;
    overflow: auto;
  }
  .account-menu a {
    min-width: max-content;
    padding: 14px;
  }
  .split-page {
    grid-template-columns: 1fr;
  }
  .split-page img {
    height: 500px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .inner-header {
    padding: 0 20px;
  }
  .page-hero {
    padding: 55px 20px 30px;
  }
  .shop-layout,
  .detail {
    padding-inline: 20px;
  }
  .listing {
    gap: 20px 9px;
  }
  .shop-toolbar span {
    font-size: 0.76rem;
  }
  .gallery {
    display: flex;
    overflow: auto;
  }
  .gallery img,
  .gallery img:first-child {
    min-width: 85vw;
    aspect-ratio: 0.85;
    grid-column: auto;
  }
  .buy-row {
    grid-template-columns: 85px 1fr;
  }
  .checkout-form,
  .checkout-summary {
    padding: 45px 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .order-table {
    display: block;
    overflow: auto;
  }
  .split-page img {
    height: 380px;
  }
  .split-content {
    padding: 65px 22px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    padding-inline: 20px;
  }
  .simple-footer {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================
   NOVA — SHELL
========================================================== */
.inner-unified {
  top: 0;
}
.unified-nav {
  overflow: visible;
}
.nav-shop,
.nav-pages {
  position: relative;
}
.nav-pages > button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0;
}
.mega-menu,
.pages-menu {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(10, 18, 25, 0.14);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--nova-motion-fast),
    transform var(--nova-motion-fast);
  z-index: 100;
}
.mega-menu {
  width: 520px;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pages-menu {
  width: 440px;
  grid-template-columns: 1fr 1fr;
  gap: 5px 18px;
}
.mega-menu > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-menu b {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
}
.mega-menu a,
.pages-menu a {
  font-size: 0.82rem !important;
  color: var(--muted);
  padding: 6px 0;
}
.pages-menu a {
  border-bottom: 1px solid var(--line);
}
.nav-shop:hover .mega-menu,
.nav-shop.menu-open .mega-menu,
.nav-pages:hover .pages-menu,
.nav-pages.menu-open .pages-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.filters.filters-open {
  display: block;
}
body.nova-shell .inner-newsletter input {
  color: var(--nova-footer-text);
}
.hero-visual {
  background: #dde5e1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.85s ease,
    transform 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 38px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  padding: 0;
}
.hero-dots button.active {
  background: var(--acid);
}
.category-card,
.product-card,
.story-grid article {
  animation: rise-in 0.65s both;
}
.product-card:nth-child(2),
.story-grid article:nth-child(2) {
  animation-delay: 0.1s;
}
.product-card:nth-child(3),
.story-grid article:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .category-card,
  .product-card,
  .story-grid article {
    transition: none;
    animation: none;
  }
}
@media (max-width: 1100px) {
  .unified-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    max-height: 75vh;
    overflow: auto;
  }
  .unified-nav.open {
    display: flex;
  }
  .inner-unified .menu-toggle {
    display: block;
    margin-inline-start: 18px;
  }
  .mega-menu,
  .pages-menu {
    position: static;
    width: 100%;
    transform: none !important;
    box-shadow: none;
    margin-top: 12px;
    display: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-shop.menu-open .mega-menu,
  .nav-pages.menu-open .pages-menu {
    display: grid !important;
  }
  .nav-pages > button {
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  .inner-unified {
    height: 70px;
  }
  .inner-unified .header-actions .icon-btn {
    display: none;
  }
  .pages-menu {
    grid-template-columns: 1fr;
  }
  footer {
    margin-top: 0;
  }
}
@media (max-width: 1100px) {
  .premium-header .unified-nav.open {
    overflow-x: hidden;
    overscroll-behavior: contain;
    max-height: calc(100dvh - 90px);
  }
  .premium-header .nav-shop.menu-open .mega-menu,
  .premium-header .nav-pages.menu-open .pages-menu {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .premium-header .menu-toggle {
    cursor: pointer;
  }
  .premium-header .menu-toggle:focus-visible,
  .premium-header .nav-trigger:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 3px;
  }
}
@media (max-width: 720px) {
  .premium-header .unified-nav.open {
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 20px 18px 32px !important;
    max-height: calc(100dvh - 86px) !important;
    overflow-y: auto !important;
    z-index: 1000;
  }
  .premium-header .nav-shop.menu-open .mega-menu,
  .premium-header .nav-pages.menu-open .pages-menu {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 16px !important;
  }
  .premium-header .mega-menu .mega-intro,
  .premium-header .mega-menu .mega-promo {
    display: none !important;
  }
  .premium-header .main-nav > a,
  .premium-header .nav-trigger {
    min-height: 45px;
    display: flex;
    align-items: center;
  }
  html[dir="rtl"] .premium-header .unified-nav.open {
    text-align: right;
  }
  html[dir="rtl"] .premium-header .nav-trigger {
    line-height: 1.7;
  }
}

/* ==========================================================
   NOVA — DESIGN SYSTEM
========================================================== */
/* ==========================================================
   NOVA — shared DESIGN TOKENS

   Single source of truth for global colors, typography,
   spacing, radii, motion, forms and decorative systems.
   Contextual Light/Dark values remain in semantic selectors.
========================================================== */

/* Shared NOVA motion tokens: inherited by every theme and page. */

html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
}
.promo {
  height: 34px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--acid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.premium-header {
  height: 82px;
  max-width: none;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  background: rgba(244, 242, 237, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  transition: 0.3s;
  z-index: 1000;
}
.premium-header.scrolled {
  height: 70px;
  box-shadow: 0 10px 35px rgba(16, 24, 32, 0.07);
}
.brand {
  gap: 10px;
}
.brand strong {
  font-size: 24px;
  letter-spacing: -0.05em;
}
.brand span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.unified-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: visible;
}
.unified-nav > a,
.nav-trigger {
  font-size: 13px !important;
  font-weight: 650;
}
.nav-trigger {
  border: 0;
  background: none;
  padding: 30px 0;
  cursor: pointer;
}
.nav-trigger small {
  margin-left: 4px;
}
.header-actions {
  justify-content: flex-end;
  gap: 5px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.icon-btn:hover {
  background: #e7e4dc;
  transform: translateY(-2px);
}
.icon-btn svg,
.bag-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.bag-link {
  height: 44px;
  margin-left: 6px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.bag-link b {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--nova-on-accent);
  display: grid;
  place-items: center;
  font-size: 10px;
}
.nav-shop,
.nav-pages {
  position: static;
}
.mega-menu {
  position: absolute;
  top: 82px;
  left: 50%;
  width: min(1320px, calc(100vw - 48px));
  transform: translate(-50%, 15px);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
  z-index: 20;
}
.nav-shop.menu-open .mega-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-intro {
  padding: 8px 25px 8px 4px;
  border-right: 1px solid var(--line);
}
.mega-intro > span {
  font-size: 10px;
  letter-spacing: 0.13em;
}
.mega-intro h3 {
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 18px 0 14px;
}
.mega-intro p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 240px;
}
.mega-intro > a {
  display: inline-block;
  margin-top: 19px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid;
}
.mega-column {
  display: flex;
  flex-direction: column;
}
.mega-column > b,
.pages-menu b {
  font-size: 10px;
  letter-spacing: 0.14em;
  margin: 9px 0 15px;
}
.mega-column > a {
  display: flex !important;
  justify-content: space-between;
  padding: 10px 0 !important;
  border-bottom: 1px solid #eee;
  font-size: 13px !important;
}
.mega-column em {
  font-style: normal;
  font-size: 10px;
  color: #92989e;
}
.mega-promo {
  border-radius: 12px !important;
  padding: 24px !important;
  background: linear-gradient(145deg, #172027, #293740);
  color: #fff !important;
  display: flex !important;
  flex-direction: column;
  min-height: 208px;
}
.mega-promo span {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--acid);
}
.mega-promo strong {
  font-size: 25px;
  line-height: 1.08;
  margin-top: 22px;
}
.mega-promo i {
  margin-top: auto;
  font-size: 11px;
  font-style: normal;
}
.pages-menu {
  position: absolute;
  top: 82px;
  left: 50%;
  width: min(760px, calc(100vw - 48px));
  transform: translate(-50%, 15px);
  padding: 25px 30px;
  background: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s;
  z-index: 20;
}
.pages-menu > div {
  display: flex;
  flex-direction: column;
}
.pages-menu a {
  font-size: 12px !important;
  padding: 6px 0 !important;
  color: var(--muted);
}
.nav-pages.menu-open .pages-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-backdrop {
  position: fixed;
  inset: 116px 0 0;
  background: rgba(16, 24, 32, 0.38);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 900;
}
.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}
.inner-body main {
  overflow: hidden;
}
.page-hero {
  max-width: 1320px;
  margin: auto;
  padding: 82px 24px 55px;
}
.page-hero h1 {
  max-width: 850px;
  letter-spacing: -0.065em;
}
.split-page {
  max-width: 1320px;
  min-height: auto;
  margin: 0 auto;
  padding: 60px 24px 100px;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(45px, 7vw, 105px);
  align-items: center;
}
.split-page > img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(16, 24, 32, 0.1);
}
.split-content {
  padding: 20px 0;
}
.split-content h1 {
  font-size: clamp(50px, 5.3vw, 78px);
  letter-spacing: -0.07em;
  line-height: 0.93;
  margin: 22px 0 30px;
}
.split-content p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
}
.values {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  gap: 24px;
}
.values b {
  font-size: 30px;
}
.checkout-layout,
.account-layout,
.faq-wrap,
.contact-layout {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.checkout-layout {
  padding: 0 24px 100px;
  gap: 35px;
}
.checkout-form,
.checkout-summary {
  border-radius: var(--radius);
}
.checkout-form {
  background: #fff;
  padding: 10px 30px;
}
.checkout-summary {
  top: 100px;
  background: #e9e7e1;
  padding: 38px;
}
.order-line {
  padding: 20px 0;
}
.order-line img {
  border-radius: 10px;
}
.blog-feature,
.article-wrap {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.blog-feature img,
.blog-card img,
.article-wrap > img {
  border-radius: var(--radius);
}
.motion-ready {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--nova-motion-slow) var(--nova-ease-standard),
    transform var(--nova-motion-slow) var(--nova-ease-standard);
}
.motion-ready.in-view {
  opacity: 1;
  transform: none;
}
.product-card.motion-ready:nth-child(2),
.blog-card.motion-ready:nth-child(2) {
  transition-delay: 0.08s;
}
.product-card.motion-ready:nth-child(3),
.blog-card.motion-ready:nth-child(3) {
  transition-delay: 0.16s;
}
.hero-copy > * {
  animation: hero-up 0.8s both;
}
.hero-copy h1 {
  animation-delay: 0.1s;
}
.hero-copy p {
  animation-delay: 0.2s;
}
.hero-copy .hero-cta {
  animation-delay: 0.3s;
}
.hero-slide.active {
  animation: kenburns 7s ease-out both;
}
@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kenburns {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}
@media (max-width: 1100px) {
  .premium-header {
    grid-template-columns: 1fr auto auto;
    height: 72px;
  }
  .unified-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 105px);
    overflow: auto;
    background: #fff;
    padding: 20px 24px;
    align-items: stretch;
  }
  .unified-nav.open {
    display: flex;
  }
  .nav-trigger {
    padding: 8px 0;
    text-align: left;
  }
  .mega-menu,
  .pages-menu {
    position: static !important;
    width: 100%;
    transform: none !important;
    box-shadow: none;
    border: 0;
    border-radius: 10px;
    margin: 8px 0;
    background: #f3f1ec;
  }
  .mega-menu {
    grid-template-columns: 1fr 1fr;
  }
  .mega-intro,
  .mega-promo {
    display: none !important;
  }
  .premium-header .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .nav-backdrop {
    display: none;
  }
  .split-page > img {
    height: 520px;
  }
}
@media (max-width: 720px) {
  .promo span:not(:first-child) {
    display: none;
  }
  .promo {
    justify-content: center;
  }
  .premium-header {
    padding: 0 18px;
    grid-template-columns: 1fr auto auto;
  }
  .premium-header .header-actions .icon-btn,
  .bag-link span {
    display: none;
  }
  .bag-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .mega-menu {
    grid-template-columns: 1fr;
  }
  .split-page {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .split-page > img {
    height: 420px;
  }
  .split-content h1 {
    font-size: 50px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-layout {
    padding: 0 16px 70px;
  }
  .checkout-form {
    padding: 8px 18px;
  }
  .page-hero {
    padding: 55px 18px 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .motion-ready {
    opacity: 1;
    transform: none;
  }
}
.voice-slider {
  overflow: hidden;
}
.voice-slider .swiper-wrapper {
  display: flex;
  gap: 14px;
}
.voice-slider .swiper-slide {
  flex: 1 1 0;
  min-width: 0;
}

/* ==========================================================
   NOVA — THEME
========================================================== */
body {
  transition:
    background var(--nova-motion-medium),
    color var(--nova-motion-medium);
}
body.dark {
  --ink: #f5f4ef;
  --paper: #0d1114;
  --white: #171d21;
  --card: #171d21;
  --soft: #20272c;
  --muted: #a8b0b5;
  --line: rgba(255, 255, 255, 0.14);
  --header-bg: rgba(13, 17, 20, 0.9);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
body.dark .premium-header {
  background: var(--header-bg);
}
body.dark .mega-menu,
body.dark .pages-menu,
body.dark .unified-nav {
  background: #151b1f;
}
body.dark .mega-column > a {
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .icon-btn:hover {
  background: #222a2f;
}
body.dark .product-image,
body.dark .checkout-form {
  background: var(--card);
}
body.dark footer {
  background: #050708;
}
body.dark img {
  filter: saturate(0.86) brightness(0.88);
}
.theme-btn,
.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font: 700 11px/1 inherit;
}
.lang-btn {
  padding: 0 13px;
}
.theme-btn {
  width: 40px;
  display: grid;
  place-items: center;
}
.theme-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.premium-header {
  position: sticky;
  top: 0;
}
.header-actions {
  display: flex;
  align-items: center;
}
.home-switch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.shop-layout {
  max-width: 1320px;
  margin: auto;
  padding-inline: 24px;
}
.shop-toolbar {
  min-height: 52px;
}
.mobile-filter,
.shop-toolbar select {
  height: 44px;
  border-radius: 999px;
  padding-inline: 16px;
}
.listing .product-card {
  min-width: 0;
}
.listing .product-image {
  overflow: hidden;
  border-radius: 14px;
}
.listing .product-image img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.listing .product-card:hover img {
  transform: scale(1.045);
}
.product-info h3 {
  font-size: 15px;
}
.product-info span {
  font-size: 13px;
}
.error-page {
  --nova-text: #f7f6f1;
  --nova-canvas: #0d1216;
  position: relative;
  min-height: calc(100vh - 116px);
  overflow: hidden;
  background: #0d1216;
  color: #f7f6f1;
}
.error-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.error-code {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 3vw, 30px);
}
.error-code span {
  font-size: clamp(110px, 21vw, 270px);
  line-height: 0.75;
  font-weight: 700;
  letter-spacing: -0.09em;
}
.error-code i {
  width: clamp(85px, 13vw, 165px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  display: grid;
  place-items: center;
  color: var(--nova-on-accent);
  font-size: clamp(42px, 7vw, 90px);
  font-style: normal;
  animation: float 3s ease-in-out infinite;
}
.error-content h1 {
  font-size: clamp(34px, 5vw, 65px);
  margin: 45px 0 12px;
  letter-spacing: -0.06em;
  line-height: 1.2;
  color: var(--acid);
  background: linear-gradient(110deg, #f7f6f1 4%, var(--acid) 52%, #e6fbc8 98%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.error-content p {
  color: #aeb7bd;
  font-size: 16px;
  margin: 0 auto 30px;
  max-width: 520px;
}
.error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.error-actions a {
  border-radius: 999px;
}
.error-links {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.error-links a {
  color: #aeb7bd;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
@keyframes float {
  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}
.alt-home {
  background: #f1efe9;
}
.alt-hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
}
.alt-hero-copy {
  padding: clamp(60px, 9vw, 145px) max(24px, calc((100vw - 1320px) / 2));
  padding-right: 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.alt-hero-copy h1 {
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.78;
  letter-spacing: -0.085em;
  margin: 28px 0;
}
.alt-hero-copy h1 em {
  font-family: serif;
  font-weight: 400;
}
.alt-hero-copy p {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
}
.alt-hero-media {
  position: relative;
  overflow: hidden;
}
.alt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 10s ease-out both;
}
.floating-note {
  position: absolute;
  left: -70px;
  bottom: 45px;
  width: 190px;
  padding: 22px;
  background: var(--acid);
  color: var(--nova-on-accent);
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}
.floating-note b {
  font-size: 28px;
  display: block;
}
.marquee-dark {
  overflow: hidden;
  background: #111820;
  color: #fff;
  padding: 19px 0;
}
.marquee-dark div {
  width: max-content;
  display: flex;
  gap: 45px;
  animation: nova-marquee 20s linear infinite;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.editorial-grid {
  max-width: 1320px;
  margin: auto;
  padding: 110px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.editorial-tile {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}
.editorial-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--nova-motion-long);
}
.editorial-tile:hover img {
  transform: scale(1.04);
}
.editorial-tile div {
  position: absolute;
  inset: auto 25px 25px;
  background: rgba(255, 255, 255, 0.92);
  color: #101820;
  padding: 24px;
  border-radius: 12px;
}
.editorial-tile h2 {
  font-size: 32px;
  margin: 5px 0;
}
.fashion-home {
  background: #090d10;
  color: #fff;
}
.fashion-hero {
  min-height: 790px;
  position: relative;
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.fashion-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.fashion-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 70%);
}
.fashion-copy {
  position: relative;
  z-index: 2;
  padding: 8vw max(24px, calc((100vw - 1320px) / 2));
  max-width: 900px;
}
.fashion-copy h1 {
  font-size: clamp(72px, 11vw, 170px);
  line-height: 0.72;
  letter-spacing: -0.08em;
  margin: 25px 0;
}
.fashion-copy p {
  font-size: 18px;
  max-width: 440px;
}
.fashion-copy .btn {
  border-radius: 999px;
}
.lookbook-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #090d10;
  padding: 2px;
}
.lookbook-row a {
  height: 600px;
  position: relative;
  overflow: hidden;
}
.lookbook-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--nova-motion-long);
}
.lookbook-row a:hover img {
  transform: scale(1.05);
}
.lookbook-row span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  color: #111;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
html[dir="rtl"] body {
  font-family: "Tajawal", "DM Sans", sans-serif;
}
html[dir="rtl"] .premium-header {
  direction: rtl;
}
html[dir="rtl"] .mega-intro {
  border-right: 0;
  border-left: 1px solid var(--line);
  padding-right: 4px;
  padding-left: 25px;
}
html[dir="rtl"] .nav-trigger small {
  margin-left: 0;
  margin-right: 4px;
}
html[dir="rtl"] .product-info,
html[dir="rtl"] .order-table th,
html[dir="rtl"] .order-table td {
  text-align: right;
}
html[dir="rtl"] .floating-note {
  left: auto;
  right: -70px;
}
@media (max-width: 900px) {
  .premium-header {
    grid-template-columns: 1fr auto auto;
  }
  .header-actions {
    gap: 2px;
  }
  .lang-btn {
    padding: 0 10px;
  }
  .shop-layout {
    padding: 10px 16px 70px;
  }
  .shop-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 18px;
  }
  .shop-toolbar > div {
    display: flex;
    gap: 7px;
  }
  .shop-toolbar select {
    max-width: 145px;
  }
  .listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }
  .filters.filters-open {
    display: block;
    padding: 0 16px 18px;
    background: var(--card);
    border-radius: 14px;
  }
  .page-hero {
    padding: 48px 18px 28px;
  }
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }
  .alt-hero {
    grid-template-columns: 1fr;
  }
  .alt-hero-copy {
    padding: 80px 24px;
  }
  .alt-hero-media {
    height: 520px;
  }
  .floating-note {
    left: 18px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    padding: 70px 16px;
  }
  .lookbook-row {
    grid-template-columns: 1fr;
  }
  .lookbook-row a {
    height: 520px;
  }
}
@media (max-width: 600px) {
  .promo {
    height: 28px;
    font-size: 9px;
  }
  .premium-header {
    height: 68px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand span {
    width: 32px;
    height: 32px;
  }
  .header-actions .icon-btn {
    display: none !important;
  }
  .theme-btn {
    display: grid;
  }
  .bag-link {
    margin-left: 2px;
  }
  .menu-toggle {
    margin: 0 6px;
  }
  .shop-toolbar span {
    align-self: center;
    font-size: 13px;
  }
  .mobile-filter,
  .shop-toolbar select {
    height: 42px;
    font-size: 13px;
  }
  .listing .product-image {
    aspect-ratio: 0.75;
  }
  .product-info {
    gap: 4px;
    display: block;
  }
  .product-info > div {
    margin-bottom: 5px;
  }
  .product-info h3 {
    font-size: 14px;
    margin-bottom: 3px;
  }
  .product-info span {
    font-size: 12px;
  }
  .product-info > b {
    font-size: 13px;
  }
  .error-links {
    gap: 13px;
    flex-wrap: wrap;
  }
  .error-content h1 {
    margin-top: 32px;
  }
  .alt-hero-copy h1 {
    font-size: 65px;
  }
  .alt-hero-media {
    height: 430px;
  }
  .editorial-tile {
    min-height: 460px;
  }
  .fashion-hero {
    min-height: 670px;
  }
  .fashion-copy h1 {
    font-size: 75px;
  }
  .lookbook-row a {
    height: 470px;
  }
}

/* ==========================================================
   NOVA — THEME TOKENS
========================================================== */
/* NOVA — kinetic commerce */
.premium-header > * {
  min-width: 0;
}
.premium-header .brand,
.premium-header .menu-toggle,
.premium-header .header-actions {
  flex-shrink: 0;
}
.mobile-tools {
  display: none;
}
.scene {
  position: relative;
  isolation: isolate;
}
.scene-title {
  font-size: clamp(58px, 10vw, 156px);
  line-height: 0.78;
  letter-spacing: -0.09em;
}
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-word:nth-child(2) > span {
  animation-delay: 0.12s;
}
.reveal-word:nth-child(3) > span {
  animation-delay: 0.24s;
}
@keyframes word-in {
  to {
    transform: none;
  }
}

/* One restrained cursor accent across pages. It never hides the native pointer. */
.cursor-orb {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--acid);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 3000;
  transform: translate(-50%, -50%);
  transition:
    width var(--nova-motion-hover),
    height var(--nova-motion-hover),
    opacity var(--nova-motion-hover);
  opacity: 0;
  display: none;
}
.cursor-orb.is-active {
  opacity: 1;
}
.cursor-orb.is-hovering {
  width: 28px;
  height: 28px;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-orb {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-orb {
    display: none;
  }
  .reveal-word > span {
    transform: none;
    animation: none;
  }
}
.kinetic-hero {
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: 54% 46%;
  background: #11171b;
  color: #fff;
}
.kinetic-copy {
  padding: clamp(60px, 8vw, 125px) max(24px, calc((100vw - 1320px) / 2));
  padding-right: 5vw;
  align-self: center;
}
.kinetic-copy .kicker {
  color: var(--acid);
}
.kinetic-copy p {
  max-width: 470px;
  font-size: 18px;
  color: #b9c0c4;
  line-height: 1.7;
}
.kinetic-copy .hero-cta {
  margin-top: 35px;
}
.kinetic-copy .btn {
  border-radius: 999px;
}
.kinetic-visual {
  position: relative;
  overflow: hidden;
}
.kinetic-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: visual-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.kinetic-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.48));
}
.visual-counter {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 25px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  font-size: 13px;
}
.visual-counter b {
  font-size: 30px;
}
.vertical-label {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 25px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.16em;
}
@keyframes visual-in {
  to {
    transform: scale(1);
  }
}
.manifesto {
  padding: 130px max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 7vw;
  align-items: start;
}
.manifesto > span {
  font-size: 12px;
  letter-spacing: 0.14em;
}
.manifesto h2 {
  font-size: clamp(42px, 6.2vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
}
.manifesto h2 em {
  font-family: serif;
  font-weight: 400;
}
.manifesto-foot {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 25px;
}
.manifesto-foot p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.bento-shop {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px 130px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 420px 420px;
  gap: 16px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}
.bento-card:first-child {
  grid-row: span 2;
}
.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover img {
  transform: scale(1.06);
}
.bento-card div {
  position: absolute;
  inset: auto 18px 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #111820;
  border-radius: 15px;
  backdrop-filter: blur(12px);
}
.bento-card h3 {
  font-size: 28px;
  margin: 5px 0;
}
.bento-card p {
  margin: 0;
  color: #5e666c;
}
.horizontal-showcase {
  background: var(--acid);
  color: var(--nova-on-accent);
  padding: 90px 0;
  overflow: hidden;
}
.horizontal-head {
  max-width: 1320px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.horizontal-head h2 {
  font-size: clamp(48px, 7vw, 95px);
  margin: 0;
  letter-spacing: -0.07em;
}
.drag-track {
  display: flex;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  overflow: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.drag-track::-webkit-scrollbar {
  display: none;
}
.drag-card {
  flex: 0 0 min(370px, 78vw);
  scroll-snap-align: start;
}
.drag-card img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: 18px;
}
.drag-card h3 {
  font-size: 20px;
  margin: 14px 0 4px;
}
.drag-card span {
  font-size: 13px;
}
.nova-editorial-home {
  background: #080b0d;
  color: #fff;
}
.fashion-stage {
  height: calc(100vh - 116px);
  min-height: 680px;
  position: relative;
  overflow: hidden;
}
.fashion-stage .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}
.fashion-stage .slide.active {
  opacity: 1;
}
.fashion-stage .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s;
}
.fashion-stage .slide.active img {
  transform: scale(1);
}
.fashion-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.73),
    rgba(0, 0, 0, 0.05) 75%
  );
}
.stage-copy {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1320px) / 2));
  bottom: 10vh;
}
.stage-copy h1 {
  font-size: clamp(76px, 13vw, 190px);
  line-height: 0.7;
  letter-spacing: -0.09em;
  margin: 20px 0 35px;
}
.stage-copy .btn {
  border-radius: 999px;
}
.stage-nav {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 30px;
  display: flex;
  gap: 8px;
}
.stage-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.fashion-intro {
  padding: 130px max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}
.fashion-intro h2 {
  font-size: clamp(50px, 7vw, 102px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 0;
}
.fashion-intro p {
  align-self: end;
  font-size: 18px;
  line-height: 1.7;
  color: #aeb6ba;
}
.fashion-products {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 0 24px 130px;
  max-width: 1380px;
  margin: auto;
}
.fashion-item {
  position: relative;
  overflow: hidden;
}
.fashion-item:nth-child(1) {
  grid-column: 1/6;
}
.fashion-item:nth-child(2) {
  grid-column: 6/10;
  margin-top: 140px;
}
.fashion-item:nth-child(3) {
  grid-column: 10/13;
  margin-top: 40px;
}
.fashion-item img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  transition: var(--nova-motion-long);
}
.fashion-item:hover img {
  transform: scale(1.04);
}
.fashion-item span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}
.fashion-item b {
  font-size: 18px;
}
@media (max-width: 720px) {
  .premium-header {
    display: grid !important;
    grid-template-columns: minmax(94px, 1fr) 42px 44px !important;
    gap: 8px !important;
    padding: 0 14px !important;
  }
  .premium-header .brand {
    width: auto !important;
  }
  .premium-header .menu-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .premium-header .header-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 44px !important;
    display: block !important;
  }
  .premium-header .header-actions > * {
    display: none !important;
  }
  .premium-header .header-actions .bag-link {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
  }
  .bag-link svg {
    width: 18px !important;
    height: 18px !important;
  }
  .bag-link .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
  }
  .unified-nav {
    top: 68px !important;
    padding: 24px 18px 100px !important;
  }
  .mobile-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .mobile-tools button {
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font-weight: 700;
  }
  .mobile-tools .lang-btn,
  .mobile-tools .theme-btn {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .kinetic-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .kinetic-copy {
    padding: 75px 18px;
  }
  .kinetic-visual {
    height: 62vh;
  }
  .scene-title {
    font-size: 64px;
  }
  .manifesto {
    padding: 85px 18px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .manifesto-foot {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bento-shop {
    padding: 0 12px 85px;
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }
  .bento-card,
  .bento-card:first-child {
    flex: 0 0 86vw;
    height: 520px;
    scroll-snap-align: center;
  }
  .horizontal-showcase {
    padding: 70px 0;
  }
  .horizontal-head {
    align-items: start;
    flex-direction: column;
  }
  .fashion-stage {
    height: 700px;
  }
  .stage-copy {
    left: 18px;
    right: 18px;
    bottom: 80px;
  }
  .stage-copy h1 {
    font-size: 76px;
  }
  .stage-nav {
    right: 18px;
    bottom: 18px;
  }
  .fashion-intro {
    padding: 85px 18px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .fashion-products {
    display: flex;
    overflow: auto;
    padding: 0 12px 90px;
    scroll-snap-type: x mandatory;
  }
  .fashion-item,
  .fashion-item:nth-child(n) {
    flex: 0 0 84vw;
    margin: 0;
    scroll-snap-align: center;
  }
  .fashion-item img {
    height: 540px;
  }
}

/* Contextual states use the single global NOVA cursor. */
.cursor-orb.has-label {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: var(--acid);
  color: var(--nova-on-accent);
  mix-blend-mode: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-reveal="fade"] {
  --nova-reveal-distance: 0px;
}
body.creative-motion-ready [data-reveal="scale"] {
  transform: scale(0.96);
}
body.creative-motion-ready [data-reveal="scale"].is-visible {
  transform: scale(1);
}
[data-stagger] > :is([data-reveal], .product-card, .blog-card) {
  transition-delay: calc(
    var(--nova-stagger-index, 0) * var(--nova-stagger-step)
  );
}
[data-svg-draw] :is(path, line, circle, polyline) {
  stroke-dasharray: var(--nova-path-length);
  stroke-dashoffset: var(--nova-path-length);
  transition: stroke-dashoffset var(--nova-motion-reveal)
    var(--nova-ease-emphasized);
}
[data-svg-draw].nova-drawn :is(path, line, circle, polyline) {
  stroke-dashoffset: 0;
}
[data-marquee] {
  overflow: clip;
}
.nova-marquee-track {
  display: flex;
  width: max-content;
  animation: nova-marquee 22s linear infinite;
  will-change: transform;
}
.nova-marquee-track > * {
  flex: none;
}
[data-marquee]:hover .nova-marquee-track {
  animation-play-state: paused;
}
@keyframes nova-marquee {
  to {
    transform: translateX(-50%);
  }
}
html[dir="rtl"] .nova-marquee-track {
  animation-direction: reverse;
}
@media (max-width: 900px), (hover: none), (prefers-reduced-motion: reduce) {
  [data-parallax] {
    --ce-parallax-y: 0px;
  }
  .home-curation-story-main img {
    --home-motion-depth: 0px;
  }
  .nova-marquee-track {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-svg-draw] :is(path, line, circle, polyline) {
    stroke-dashoffset: 0;
    transition: none;
  }
  body.creative-motion-ready [data-reveal],
  [data-reveal],
  .reveal,
  .home-motion-reveal,
  .home-frame-frame,
  .motion-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .orbit-a,
  .orbit-b,
  .home-motion-satellite,
  .home-frame-orbit,
  .end-orbit::after,
  .cf-orbit-scene,
  .home-motion-ambient,
  .home-object-marquee span,
  .marquee-dark div {
    animation: none;
  }
}

/* ==========================================================
   NOVA — RTL FIXES
========================================================== */
html[dir="rtl"] .hero-dots {
  right: auto !important;
  left: 22px !important;
  direction: rtl;
  flex-direction: row-reverse;
}
html[dir="rtl"] .hero-badge {
  right: auto;
  left: 0;
  direction: rtl;
}
html[dir="rtl"] .product-pin {
  direction: rtl;
}
html[dir="rtl"] .stage-copy {
  left: auto;
  right: max(24px, calc((100vw - 1320px) / 2));
  text-align: right;
}
html[dir="rtl"] .stage-nav {
  right: auto;
  left: 30px;
  direction: rtl;
}
html[dir="rtl"] .drag-track,
html[dir="rtl"] .bento-shop,
html[dir="rtl"] .fashion-products {
  direction: rtl;
}
html[dir="rtl"] .slider-controls,
html[dir="rtl"] .error-actions,
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .pagination {
  direction: rtl;
}
html[dir="rtl"] .marquee-dark div {
  animation-direction: reverse;
}
html[dir="rtl"] .visual-counter {
  right: auto;
  left: 25px;
}
html[dir="rtl"] .vertical-label {
  right: auto;
  left: 25px;
}
.cart-drawer {
  z-index: 2200 !important;
}
.overlay {
  z-index: 2100 !important;
}
.cart-drawer .drawer-head {
  position: relative;
}
.cart-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft) !important;
}
.cart-items {
  overflow: auto;
}
.voices {
  position: relative;
  z-index: 1;
}
.type-collage {
  min-height: 820px;
  background: #f6f3ee;
  color: #111820;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 70px 24px;
}
.type-collage h2 {
  font-size: clamp(150px, 29vw, 440px);
  font-weight: 500;
  letter-spacing: -0.11em;
  line-height: 0.7;
  margin: 0;
  position: relative;
  z-index: 1;
}
.type-collage .collage-label {
  position: absolute;
  top: 65px;
  z-index: 5;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.collage-model {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.22));
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.collage-model:hover {
  transform: translateY(-14px) rotate(2deg);
}
.collage-model.one {
  width: 25%;
  left: 12%;
  bottom: 8%;
}
.collage-model.two {
  width: 22%;
  left: 39%;
  top: 22%;
}
.collage-model.three {
  width: 24%;
  right: 10%;
  bottom: 10%;
}
.collage-model img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top;
  border-radius: 180px 180px 18px 18px;
}
.collage-cta {
  position: absolute;
  z-index: 5;
  bottom: 55px;
  background: #111820;
  color: #fff;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
}
@media (max-width: 720px) {
  .cart-drawer {
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
  }
  .cart-drawer.open {
    transform: none !important;
  }
  .cart-drawer .drawer-head {
    padding: 20px !important;
  }
  .cart-drawer .cart-items {
    padding: 16px 20px !important;
  }
  .cart-drawer .cart-footer {
    padding: 20px !important;
  }
  .overlay.show {
    opacity: 1 !important;
  }
  .voice-slider .swiper-wrapper {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .voice-slider .swiper-slide {
    flex: 0 0 86vw !important;
    min-width: 0 !important;
    scroll-snap-align: center;
  }
  .quote-card blockquote {
    font-size: clamp(25px, 8vw, 38px) !important;
    line-height: 1.18 !important;
  }
  .type-collage {
    min-height: 680px;
    padding: 50px 10px;
  }
  .type-collage h2 {
    font-size: 38vw;
  }
  .collage-model.one {
    width: 42%;
    left: 2%;
    bottom: 13%;
  }
  .collage-model.two {
    width: 39%;
    left: 31%;
    top: 22%;
  }
  .collage-model.three {
    width: 40%;
    right: 0;
    bottom: 14%;
  }
  .collage-model img {
    height: 330px;
  }
  .collage-label {
    top: 42px !important;
    font-size: 14px !important;
  }
  .collage-cta {
    bottom: 28px;
  }
  .stage-copy {
    left: 18px !important;
    right: 18px !important;
  }
  .stage-nav {
    right: 18px !important;
    left: auto !important;
  }
  html[dir="rtl"] .stage-nav {
    left: 18px !important;
    right: auto !important;
  }
}

/* ==========================================================
   NOVA — NOVA LAYOUT
========================================================== */
/* NovaMart typography and layout contract */

html {
  font-size: 16px;
}
body {
  font-family: var(--font-latin);
  font-size: 1rem;
  line-height: var(--body-leading);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.02;
  text-wrap: balance;
}
p {
  line-height: 1.72;
}
.btn,
button,
input,
select,
textarea {
  font-family: inherit;
  line-height: 1.35;
}
.main-nav a,
.main-nav button {
  line-height: 1.4;
}
.mega-menu p,
.pages-menu a {
  line-height: 1.55;
}
html[dir="rtl"] body {
  font-family: var(--font-arabic);
  line-height: var(--arabic-leading);
  font-feature-settings: "kern";
  letter-spacing: 0;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .scene-title,
html[dir="rtl"] .fashion-copy h1,
html[dir="rtl"] .stage-copy h1,
html[dir="rtl"] .split-content h1,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .error-content h1 {
  font-family: var(--font-arabic);
  line-height: var(--arabic-heading-leading) !important;
  letter-spacing: 0 !important;
  word-spacing: 0.06em;
  text-wrap: balance;
}
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] blockquote,
html[dir="rtl"] .desc,
html[dir="rtl"] .article-copy {
  line-height: 1.9 !important;
  letter-spacing: 0 !important;
}
html[dir="rtl"] .kicker,
html[dir="rtl"] .blog-meta,
html[dir="rtl"] .promo,
html[dir="rtl"] .mega-column > b,
html[dir="rtl"] .pages-menu b {
  letter-spacing: 0.02em !important;
  line-height: 1.65;
}
html[dir="rtl"] .btn,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  line-height: 1.55;
}
html[dir="rtl"] .main-nav,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .mega-menu,
html[dir="rtl"] .pages-menu,
html[dir="rtl"] footer {
  font-family: var(--font-arabic);
}
html[dir="rtl"] .mega-column > a,
html[dir="rtl"] .pages-menu a {
  line-height: 1.75 !important;
  text-align: right;
}
html[dir="rtl"] .hero-copy h1 em {
  line-height: inherit;
}
html[dir="rtl"] .hero-dots {
  display: flex;
  direction: rtl;
  flex-direction: row-reverse;
}
html[dir="rtl"] .hero-dots button:nth-child(1) {
  order: 3;
}
html[dir="rtl"] .hero-dots button:nth-child(3) {
  order: 1;
}
html[dir="rtl"] .trust-row,
html[dir="rtl"] .product-info,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-top,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
  text-align: right;
}
.premium-header {
  isolation: isolate;
}
.brand {
  line-height: 1;
}
.bag-link {
  line-height: 1;
}
.icon-btn svg,
.bag-link svg,
.theme-btn svg {
  vector-effect: non-scaling-stroke;
}
.hero-copy h1 {
  max-width: 12ch;
}
.page-hero p {
  font-size: 1.0625rem;
}
.product-info {
  line-height: 1.45;
}
.product-info h3 {
  line-height: 1.35;
}
.quote-card blockquote {
  line-height: 1.2;
}
@media (max-width: 720px) {
  html {
    font-size: 15px;
  }
  .premium-header {
    overflow: visible;
  }
  .premium-header .brand strong {
    white-space: nowrap;
  }
  .premium-header .menu-toggle i {
    flex: none;
  }
  .premium-header .bag-link {
    position: relative;
  }
  .hero-copy h1 {
    font-size: clamp(3.15rem, 14vw, 4.65rem);
    line-height: 0.94;
  }
  .hero-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .page-hero h1 {
    line-height: 1.04;
  }
  .quote-card {
    padding: 34px 26px !important;
  }
  .quote-card blockquote {
    line-height: 1.25 !important;
  }
  .shop-toolbar {
    width: 100%;
  }
  .listing {
    width: 100%;
  }
  .product-card {
    overflow: hidden;
  }
  .product-info {
    padding-inline: 2px;
  }
  html[dir="rtl"] .hero-copy h1,
  html[dir="rtl"] .scene-title,
  html[dir="rtl"] .stage-copy h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
    line-height: 1.2 !important;
  }
  html[dir="rtl"] .hero-copy p,
  html[dir="rtl"] .quote-card blockquote {
    line-height: 1.85 !important;
  }
}
@media (max-width: 380px) {
  .premium-header {
    grid-template-columns: minmax(82px, 1fr) 40px 42px !important;
    padding-inline: 10px !important;
    gap: 6px !important;
  }
  .brand strong {
    font-size: 20px !important;
  }
  .brand span {
    width: 30px !important;
    height: 30px !important;
  }
  .premium-header .menu-toggle {
    width: 40px !important;
    height: 40px !important;
  }
  .premium-header .header-actions,
  .premium-header .bag-link {
    width: 42px !important;
  }
  .listing {
    gap-inline: 7px;
  }
  .product-info h3 {
    font-size: 13px;
  }
}

/* ==========================================================
   NOVA — OVERLAYS
========================================================== */
.nova-ui-shade {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 17, 0.55);
  backdrop-filter: blur(5px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--nova-motion-base),
    visibility var(--nova-motion-base);
}
.nova-ui-shade.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nova-ui-search,
.nova-ui-bag {
  --ui-bg: #f8f8f3;
  --ui-ink: #18211d;
  --ui-muted: #65726a;
  --ui-border: #d5dbd2;
  --ui-accent: #d4ff68;
  z-index: 2500;
  background: var(--ui-bg);
  color: var(--ui-ink);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.18);
  visibility: hidden;
  pointer-events: none;
}
body.dark .nova-ui-search,
body.dark .nova-ui-bag {
  --ui-bg: #1c2622;
  --ui-ink: #f1f4ea;
  --ui-muted: #afbbb1;
  --ui-border: #46544b;
  --ui-accent: #d6f878;
}
.nova-ui-bag {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition:
    transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0.38s;
}
html[dir="rtl"] .nova-ui-bag {
  transform: translateX(-105%);
}
.nova-ui-bag.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
html[dir="rtl"] .nova-ui-bag.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.nova-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ui-border);
}
.nova-ui-head h2 {
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0;
}
.nova-ui-close {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--ui-border);
  border-radius: 50%;
  background: transparent;
  color: var(--ui-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.nova-ui-close:hover {
  background: var(--ui-accent);
  color: var(--nova-on-accent);
  border-color: var(--ui-accent);
}
.nova-ui-bag > .nova-ui-head {
  margin: 0 28px;
  padding: 28px 0 19px;
}
.nova-ui-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 28px;
  scrollbar-width: thin;
}
.nova-ui-items.is-empty {
  overflow: hidden;
  display: grid;
  place-items: center;
}
.nova-ui-emptybag {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--ui-muted);
  gap: 12px;
}
.nova-ui-emptybag::before {
  content: "";
  display: block;
  flex: none;
  width: 78px;
  height: 78px;
  border: 1px solid var(--ui-border);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    var(--ui-accent) 0 7px,
    transparent 8px
  );
  margin-bottom: 12px;
}
.nova-ui-emptybag strong {
  color: var(--ui-ink);
  font-size: 23px;
}
.nova-ui-emptybag a {
  color: var(--ui-ink);
  border-bottom: 1px solid;
  margin-top: 12px;
  text-decoration: none;
}
.nova-ui-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-border);
}
.nova-ui-line img {
  width: 76px;
  height: 86px;
  object-fit: cover;
  background: #d5dad1;
}
.nova-ui-line b {
  font-size: 15px;
  font-weight: 600;
}
.nova-ui-line small {
  display: block;
  color: var(--ui-muted);
  margin-top: 8px;
  font-size: 12px;
}
.nova-ui-line strong {
  font-size: 14px;
}
.nova-ui-remove {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-muted);
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  margin-top: 9px;
}
.nova-ui-foot {
  border-top: 1px solid var(--ui-border);
  padding: 23px 28px 28px;
}
.nova-ui-total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 16px;
  margin-bottom: 19px;
}
.nova-ui-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nova-ui-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--ui-ink);
  font-size: 13px;
  font-weight: 600;
  color: var(--ui-ink) !important;
  text-decoration: none;
}
.nova-ui-actions a:last-child {
  background: var(--ui-ink);
  color: var(--ui-bg) !important;
}
.nova-ui-actions a:hover {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: var(--nova-on-accent) !important;
}
html:has(body.nova-overlay-active),
body.nova-shell.nova-overlay-active {
  overflow: hidden;
}
@media (max-width: 600px) {
  .nova-ui-bag > .nova-ui-head {
    margin: 0 20px;
  }
  .nova-ui-items {
    padding: 18px 20px;
  }
  .nova-ui-foot {
    padding: 20px;
  }
}
html[dir="rtl"] .nova-ui-head h2 {
  line-height: 1.55;
  letter-spacing: 0;
}
html[dir="rtl"] .nova-ui-emptybag {
  line-height: 1.8;
}
html[dir="rtl"] .nova-ui-bag {
  right: auto;
  left: 0;
}
html[dir="ltr"] .nova-ui-bag {
  left: auto;
  right: 0;
}
.nova-ui-line small {
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html[dir="rtl"] .nova-ui-line b,
html[dir="rtl"] .nova-ui-line small {
  line-height: 1.75;
}
@media (max-width: 600px) {
  .nova-ui-bag {
    width: min(440px, 100vw);
    max-width: 100vw;
  }
  .nova-ui-actions a {
    font-size: 14px;
    line-height: 1.5;
  }
  .nova-ui-head h2 {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
.mobile-tools .nova-mobile-search {
  grid-column: 1/-1;
  min-height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .nova-ui-shade,
  .nova-ui-search,
  .nova-ui-bag {
    transition: none;
  }
}

/* ==========================================================
   NOVA — BRAND SYSTEM
========================================================== */
/* One considered signature shared by the header, footer and loader. */
.premium-header .brand,
.footer-top .brand {
  gap: 10px;
  text-decoration: none;
}
.premium-header .brand span,
.footer-top .brand span {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #18231e;
  color: #d3ff6a;
  font:
    800 16px/1 "DM Sans",
    sans-serif;
  letter-spacing: -0.09em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.premium-header .brand span::after,
.footer-top .brand span::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 4px;
  width: 1px;
  height: 32px;
  background: rgba(211, 255, 106, 0.28);
  transform: rotate(32deg);
  pointer-events: none;
}
.premium-header .brand strong,
.footer-top .brand strong {
  font-weight: 700;
  letter-spacing: -0.075em;
  font-size: 25px;
  line-height: 1.1;
}
body.dark .premium-header .brand span {
  background: #d6f878;
  color: var(--nova-on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
body.dark .premium-header .brand span::after {
  background: rgba(24, 35, 30, 0.2);
}
.footer-top .brand.light span {
  background: #d6f878;
  color: var(--nova-on-accent);
}
.footer-top .brand.light span::after {
  background: rgba(24, 35, 30, 0.18);
}
@media (max-width: 720px) {
  .premium-header .brand span {
    width: 34px;
    height: 34px;
  }
  .premium-header .brand strong {
    font-size: 23px;
  }
}
@media (max-width: 380px) {
  .premium-header .brand span {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .premium-header .brand strong {
    font-size: 21px;
  }
}

/* The dark token flips --ink to ivory; keep bag glyph and counter readable. */
body.dark .premium-header .bag-link {
  background: var(--ink);
  color: var(--nova-on-accent) !important;
}
body.dark .premium-header .bag-link svg {
  color: var(--nova-on-accent);
}
.premium-header .bag-link .cart-count {
  color: var(--nova-on-accent) !important;
  font-size: 11px;
  line-height: 1;
  flex: none;
}
@media (max-width: 720px) {
  .premium-header .header-actions {
    min-width: 44px !important;
    min-height: 44px;
  }
  .premium-header .bag-link {
    min-width: 44px;
    min-height: 44px;
    flex: none;
  }
  .premium-header .bag-link svg {
    width: 19px !important;
    height: 19px !important;
    flex: none;
  }
  .premium-header .bag-link .cart-count {
    top: -2px;
    right: auto !important;
    inset-inline-end: -2px;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px;
    display: grid;
    place-items: center;
  }
}

/* ==========================================================
   NOVA — SHARED COMPONENTS
========================================================== */
/* Nova pages share a restrained typographic and surface rhythm. */

body.inner-body {
  background: var(--paper);
  color: var(--ink);
}
body.inner-body main {
  min-width: 0;
}
body.inner-body
  :is(
    .page-hero,
    .account-layout,
    .contact-grid,
    .faq-wrap,
    .checkout-layout,
    .detail,
    .split-page
  ) {
  min-width: 0;
}
body.inner-body .page-hero {
  max-width: var(--nova-max);
  padding-inline: var(--nova-gutter);
}
body.inner-body .page-hero h1 {
  line-height: 1.08;
  letter-spacing: -0.06em;
}
body.inner-body .page-hero p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 60ch;
}
body.inner-body :is(.breadcrumbs, .kicker, .blog-meta) {
  color: var(--muted);
}
body.inner-body
  :is(.page-hero, .split-content, .account-layout, .faq-wrap, .contact-grid)
  h2 {
  line-height: 1.22;
  letter-spacing: -0.035em;
}
body.inner-body
  :is(.account-layout, .faq-wrap, .contact-grid, .split-content)
  p {
  font-size: 16px;
  line-height: 1.75;
}
body.inner-body .faq-wrap :is(details, article) {
  border-color: var(--line);
}
body.inner-body .faq-wrap summary {
  line-height: 1.55;
}
body.inner-body .faq-wrap details p {
  font-size: 16px;
  line-height: 1.75;
}
body.inner-body :is(input, select, textarea) {
  font-size: 16px;
}
body.inner-body :is(.contact-form, .checkout-form) .field label {
  font-size: 14px;
  line-height: 1.5;
}
body.inner-body
  :is(.contact-form, .checkout-form)
  :is(input, textarea, select) {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  border-radius: 0;
}
body.inner-body :is(.contact-form, .checkout-form) .btn {
  min-height: 52px;
  font-size: 15px;
}
body.inner-body .account-layout {
  gap: clamp(24px, 4vw, 56px);
}
body.inner-body .stat-card {
  background: var(--white);
  border-color: var(--line);
  min-width: 0;
}
body.inner-body .order-table {
  color: var(--ink);
}
body.inner-body .order-table :is(th, td) {
  border-color: var(--line);
  font-size: 14px;
  line-height: 1.6;
  vertical-align: middle;
}
body.inner-body .order-table th {
  color: var(--muted);
}
body.inner-body .account-menu a {
  font-size: 14px;
  line-height: 1.5;
}
body.inner-body .contact-card {
  background: #17211d;
  color: #f3f6ec;
}
body.inner-body .contact-card span {
  color: #a9b6a9;
}
body.dark.inner-body .contact-card {
  background: #202d28;
  color: #f3f6ec;
}
body.inner-body .contact-card :is(h2, b) {
  overflow-wrap: anywhere;
  line-height: 1.55;
}
body.inner-body .split-page > img {
  min-width: 0;
}
body.inner-body .section {
  min-width: 0;
}
body.inner-body
  :is(.faq-wrap, .contact-grid, .account-layout)
  :is(a, button, summary):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
body.inner-body .nova-demo-note {
  margin: 20px 0;
  border-inline-start: 2px solid currentColor;
  padding: 11px 14px;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
body.inner-body .nova-demo-note[role="status"] {
  color: var(--ink);
}
body.inner-body .newsletter input {
  color: #fff;
}
.inner-body .article-wrap h1 {
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.inner-body .article-wrap :is(.lead, .article-copy p) {
  font-size: 16px;
  line-height: 1.85;
}
.inner-body .article-wrap .article-copy h2 {
  line-height: 1.25;
}
.inner-body .blog-card h2 {
  line-height: 1.4;
}
html[dir="rtl"] .inner-body .article-wrap h1 {
  line-height: 1.48;
  letter-spacing: 0;
}
html[dir="rtl"]
  .inner-body
  .article-wrap
  :is(.lead, .article-copy p, .article-copy h2, .blog-card h2) {
  line-height: 1.9;
  letter-spacing: 0;
}
.nova-newsletter-status {
  font-size: 14px;
  line-height: 1.6;
  color: #c7d3c7;
  margin: 12px 0 0;
}
html[dir="rtl"] .nova-newsletter-status {
  line-height: 1.9;
}
body.inner-body .compare-section {
  max-width: var(--nova-max);
  margin: auto;
}
body.inner-body .compare-scroll {
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
body.inner-body .compare-table {
  min-width: 740px;
  width: 100%;
  border-collapse: collapse;
}
body.inner-body .compare-table th:first-child,
body.inner-body .compare-table td:first-child {
  width: 140px;
  position: sticky;
  inset-inline-start: 0;
  background: var(--paper);
  z-index: 1;
}
body.inner-body .compare-table :is(th, td) {
  min-width: 180px;
  text-align: start;
  padding: 18px 13px;
}
body.inner-body .compare-table img {
  width: 160px;
  height: 145px;
  object-fit: cover;
  display: block;
}
body.inner-body .compare-table .btn {
  min-height: 43px;
  font-size: 13px;
  padding-inline: 12px;
}
body.inner-body .compare-table thead a:hover {
  text-decoration: underline;
}

/* Alternate homes retain their campaigns while using the same day/night surfaces. */
body.inner-body .manifesto {
  background: var(--paper);
  color: var(--ink);
}
body.inner-body .manifesto h2 {
  line-height: 1.06;
}
body.inner-body .manifesto-foot p {
  color: var(--muted);
}
body.inner-body .bento-shop {
  background: var(--paper);
  color: var(--ink);
}
body.inner-body .horizontal-showcase {
  background: color-mix(in srgb, var(--acid) 37%, var(--paper));
  color: #142019;
}
body.dark.inner-body .horizontal-showcase {
  background: #24352c;
  color: #f4f7eb;
}
body.dark.inner-body .horizontal-showcase :is(a, span) {
  color: inherit;
}
body.nova-editorial-home:not(.dark) {
  background: var(--paper);
  color: var(--ink);
}
body.nova-editorial-home:not(.dark) .fashion-stage {
  color: #fff;
}
body.nova-editorial-home:not(.dark) .fashion-intro,
body.nova-editorial-home:not(.dark) .fashion-products {
  background: var(--paper);
  color: var(--ink);
}
body.nova-editorial-home:not(.dark) .fashion-intro p {
  color: var(--muted);
}
body.nova-editorial-home .type-collage {
  background: var(--paper);
  color: var(--ink);
}
body.nova-editorial-home .type-collage h2 {
  font-size: clamp(95px, 22vw, 300px);
  line-height: 0.9;
  letter-spacing: -0.09em;
}
body.nova-editorial-home .collage-cta {
  background: var(--ink);
  color: var(--paper);
}
body.dark.nova-editorial-home {
  background: #11191c;
  color: #f4f5f0;
}
body.dark.nova-editorial-home .type-collage {
  background: #192125;
  color: #f4f5f0;
}
body.dark.nova-editorial-home .fashion-intro p {
  color: #b5bcb8;
}
html[dir="rtl"] body.inner-body .manifesto h2,
html[dir="rtl"] body.inner-body .fashion-intro h2 {
  line-height: 1.48;
  letter-spacing: 0;
}
.premium-header .brand {
  white-space: nowrap;
}
.premium-header .header-actions :is(button, a) {
  flex: none;
}
.premium-header .menu-toggle:focus-visible,
.premium-header .bag-link:focus-visible,
.premium-header .icon-btn:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
html[dir="rtl"] body.inner-body .page-hero h1 {
  line-height: 1.38;
  letter-spacing: 0;
}
html[dir="rtl"]
  body.inner-body
  :is(.page-hero, .account-layout, .faq-wrap, .contact-grid, .split-content)
  :is(p, h2, summary) {
  line-height: 1.85;
  letter-spacing: 0;
}
html[dir="rtl"] body.inner-body .order-table :is(th, td),
html[dir="rtl"] body.inner-body .account-menu a {
  line-height: 1.8;
}
html[dir="rtl"] body.inner-body .contact-card :is(h2, b) {
  line-height: 1.85;
}
html[dir="rtl"]
  body.inner-body
  :is(.contact-form, .checkout-form)
  .field
  label {
  line-height: 1.85;
}
html[dir="rtl"] body.inner-body .nova-demo-note {
  line-height: 1.9;
}
@media (max-width: 900px) {
  body.inner-body .account-layout {
    padding-inline: var(--nova-gutter);
  }
  body.inner-body .contact-grid {
    padding-inline: var(--nova-gutter);
  }
  body.inner-body .faq-wrap {
    padding-inline: var(--nova-gutter);
  }
}
@media (max-width: 900px) {
  body.inner-body .account-menu {
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    gap: 0 18px;
  }
  body.inner-body .account-menu a {
    min-width: 0;
    white-space: normal;
    padding: 12px 2px;
  }
}
@media (max-width: 600px) {
  body.inner-body .page-hero {
    padding-top: 46px;
    padding-bottom: 32px;
  }
  body.inner-body .account-layout {
    gap: 25px;
  }
  body.inner-body .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.inner-body .dashboard-grid .stat-card:last-child {
    grid-column: 1/-1;
  }
  body.inner-body .order-table {
    display: block;
    max-width: 100%;
    overflow: auto;
    scrollbar-width: thin;
  }
  body.inner-body .contact-grid {
    gap: 26px;
  }
  body.inner-body .contact-card {
    padding: 28px 22px;
  }
  body.inner-body .split-page > img {
    height: 390px;
  }
  .premium-header .header-actions {
    flex: none !important;
  }
  .premium-header .brand {
    min-width: 0;
  }
  .premium-header .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 720px) {
  body.inner-body .bento-shop {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    gap: 12px;
    padding: 0 18px 85px;
  }
  body.inner-body .bento-shop .bento-card:nth-child(n) {
    height: clamp(300px, 90vw, 430px);
    min-width: 0;
    flex: none;
    margin: 0;
  }
  body.inner-body .fashion-products {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    gap: 30px;
    padding: 0 18px 80px;
  }
  body.inner-body .fashion-products .fashion-item:nth-child(n) {
    min-width: 0;
    flex: none;
    margin: 0;
  }
  body.inner-body .fashion-products .fashion-item img {
    height: clamp(340px, 105vw, 490px);
  }
  body.nova-editorial-home .type-collage {
    min-height: 600px;
  }
  body.nova-editorial-home .type-collage h2 {
    font-size: clamp(100px, 30vw, 180px);
  }
}
@media (max-width: 380px) {
  body.inner-body .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.inner-body .dashboard-grid .stat-card:last-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.inner-body :is(.stat-card, .blog-card, .product-card, .order-line) {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   NOVA — NOVA STATES
========================================================== */
/* Shared NOVA state surfaces; layouts use the existing design tokens. */
.wishlist-empty {
  min-height: 320px;
}
.nova-state-host {
  min-width: 0;
}
.nova-state {
  width: 100%;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid var(--nova-border);
  border-radius: var(--nova-radius-md, 12px);
  background: var(--nova-surface);
  color: var(--nova-text);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.nova-state-icon {
  width: 68px;
  height: 68px;
  border: 1px solid var(--nova-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--nova-accent, var(--acid));
  background: var(--nova-surface-2);
  margin-bottom: 4px;
}
.nova-state-icon svg,
.nova-notice svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nova-state h3 {
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--nova-text);
}
.nova-state p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nova-muted);
  max-width: 42ch;
  margin: 0;
}
.nova-state .btn {
  margin-top: 12px;
  min-height: 44px;
}
.nova-state--recent {
  border-style: dashed;
}
.nova-state--search,
.nova-state--results {
  border: 0;
  padding: 28px 14px;
  background: transparent;
}
.nova-state--orders {
  align-items: flex-start;
  text-align: start;
  padding-inline: clamp(22px, 4vw, 46px);
}
.nova-state--orders .nova-state-icon {
  width: 54px;
  height: 54px;
}
.nova-skeleton {
  display: flex;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--nova-border);
  border-radius: 10px;
  background: var(--nova-surface);
  min-width: 0;
}
.nova-skeleton > span:first-child {
  flex: none;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--nova-surface-2);
}
.nova-skeleton > span:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.nova-skeleton i {
  display: block;
  height: 11px;
  max-width: 80%;
  border-radius: 9px;
  background: var(--nova-surface-2);
}
.nova-skeleton i:last-child {
  max-width: 55%;
}
.nova-skeleton--product {
  display: block;
  padding: 0;
  overflow: hidden;
}
.nova-skeleton--product > span:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 0.84;
  border-radius: 0;
}
.nova-skeleton--product > span:last-child {
  padding: 18px;
}
.nova-skeleton--gallery {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  border-radius: 0;
}
.nova-skeleton--gallery > span:first-child {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.nova-skeleton--gallery > span:last-child {
  display: none;
}
.nova-skeleton--orders > span:first-child {
  width: 44px;
}
.nova-skeleton--cart > span:first-child {
  width: 58px;
}
.nova-skeleton :is(span, i) {
  animation: nova-skeleton-breathe 1.6s ease-in-out infinite alternate;
}
@keyframes nova-skeleton-breathe {
  to {
    opacity: 0.48;
  }
}
.nova-notice {
  position: fixed;
  z-index: 3500;
  inset-inline-end: 20px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(370px, calc(100vw - 32px));
  padding: 14px 19px;
  background: var(--nova-surface);
  color: var(--nova-text);
  border: 1px solid var(--nova-border);
  box-shadow: var(--nova-shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity var(--nova-motion-base),
    transform var(--nova-motion-base);
}
.nova-notice.is-visible {
  opacity: 1;
  transform: none;
}
.nova-notice svg {
  flex: none;
  width: 21px;
  height: 21px;
  color: var(--acid);
}
.nova-notice[data-kind="error"] svg {
  color: #b74f43;
}
[aria-invalid="true"] {
  border-color: #b74f43 !important;
}
.nova-field-error {
  display: block;
  margin-block-start: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #b74f43;
}
.nova-recent-section {
  max-width: var(--nova-max, 1320px);
  margin: 0 auto;
  padding: 30px var(--nova-gutter, 24px) 90px;
}
.nova-recent-section h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 25px;
}
.nova-recent-list {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, 190px), 280px)
  );
  justify-content: start;
  gap: 16px;
}
.nova-recent-list a {
  color: var(--nova-text);
  text-decoration: none;
}
.nova-recent-list img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  margin-bottom: 10px;
}
@media (max-width: 520px) {
  .nova-state {
    padding: 26px 18px;
  }
  .nova-notice {
    inset-inline: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-skeleton :is(span, i) {
    animation: none;
  }
  .nova-notice {
    transition: none;
  }
}

/* The two order pages are one shared preview journey, not a checkout backend. */
.nova-order-page,
.nova-order-page main {
  background: var(--nova-canvas);
  color: var(--nova-text);
}
.nova-order-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 80px) var(--nova-gutter, 24px) 110px;
}
.nova-order-intro {
  position: relative;
  max-width: 850px;
  margin: 0 auto 65px;
  text-align: center;
}
.nova-order-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--nova-muted);
  text-transform: uppercase;
}
.nova-order-intro h1 {
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.07em;
  line-height: 1.08;
  margin: 28px auto 18px;
  max-width: 13ch;
}
.nova-order-intro p {
  max-width: 58ch;
  margin: 0 auto 22px;
  color: var(--nova-muted);
  line-height: 1.8;
}
.nova-order-reference {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--nova-border);
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--nova-text);
}
.nova-order-confirm {
  display: block;
  width: 108px;
  height: 108px;
  margin: 38px auto 0;
  overflow: visible;
  fill: none;
  stroke: var(--acid);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nova-order-confirm circle {
  stroke-dasharray: 308;
  stroke-dashoffset: 308;
  animation: nova-confirm-draw 1.25s var(--nova-ease-standard) forwards;
}
.nova-order-confirm path {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: nova-confirm-draw 0.7s var(--nova-ease-standard) 0.7s forwards;
}
@keyframes nova-confirm-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.nova-order-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.nova-order-panel {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--nova-border);
  background: var(--nova-surface);
  min-width: 0;
}
.nova-order-panel h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin: 14px 0 30px;
}
.nova-order-panel p {
  color: var(--nova-muted);
  line-height: 1.75;
}
.nova-order-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-block-end: 1px solid var(--nova-border);
}
.nova-order-item img {
  width: 74px;
  height: 84px;
  object-fit: cover;
}
.nova-order-item span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.nova-order-item small {
  color: var(--nova-muted);
}
.nova-order-total {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-block-start: 24px;
  font-size: 18px;
}
.nova-order-shipping {
  padding: 18px 0;
  color: var(--nova-text);
  border-block: 1px solid var(--nova-border);
  margin: 27px 0;
}
.nova-order-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.nova-order-actions .btn {
  min-height: 50px;
}
.nova-order-intro--track {
  margin-block-end: 60px;
}
.nova-order-track {
  max-width: 920px;
  margin-inline: auto;
}
.nova-track-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.nova-track-badge {
  color: var(--nova-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid var(--nova-border);
  padding: 9px 12px;
}
.nova-track-layout {
  position: relative;
  margin: 10px 0 30px;
}
.nova-track-path {
  position: absolute;
  inset-block: 23px;
  inset-inline-start: 3px;
  width: 28px;
  height: calc(100% - 46px);
  overflow: visible;
  fill: none;
  stroke: var(--nova-border);
  stroke-width: 1.5;
}
.nova-track-fill {
  stroke: var(--acid);
  stroke-width: 2;
  stroke-dasharray: 376;
  stroke-dashoffset: 376;
  transition: stroke-dashoffset var(--nova-motion-slow)
    var(--nova-ease-standard);
}
.nova-track-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nova-track-steps li {
  position: relative;
  min-height: 100px;
  display: flex;
  gap: 30px;
  color: var(--nova-muted);
}
.nova-track-steps li:last-child {
  min-height: 55px;
}
.nova-track-node {
  flex: none;
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--nova-border);
  background: var(--nova-surface);
  margin-inline-start: 6px;
}
.nova-track-steps li.is-current .nova-track-node,
.nova-track-steps li.is-complete .nova-track-node {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 0 5px var(--nova-surface);
}
.nova-track-steps strong {
  display: block;
  color: var(--nova-text);
  font-size: 17px;
  line-height: 1.3;
}
.nova-track-steps p {
  margin: 5px 0 0;
  font-size: 13px;
}
.nova-track-steps li:not(.is-current):not(.is-complete) strong {
  color: var(--nova-muted);
}
.nova-track-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--nova-border);
  padding-top: 26px;
  font-size: 13px;
}
.nova-track-demo select {
  min-height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--nova-border);
  background: var(--nova-surface);
  color: var(--nova-text);
}
html[dir="rtl"] .nova-order-page :is(h1, h2, h3, p) {
  letter-spacing: 0;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .nova-order-columns {
    grid-template-columns: 1fr;
  }
  .nova-track-header,
  .nova-track-demo {
    flex-wrap: wrap;
  }
  .nova-order-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-order-confirm :is(circle, path) {
    animation: none;
    stroke-dashoffset: 0;
  }
  .nova-track-fill {
    transition: none;
  }
}

/* Coupon and session-only account controls share the standard field treatment. */
.nova-coupon {
  margin: 22px 0;
  padding-block: 18px;
  border-block: 1px solid var(--nova-border);
}
.nova-coupon label,
.nova-account-form label {
  display: block;
  color: var(--nova-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 9px;
}
.nova-coupon > div {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.nova-coupon input,
.nova-account-form input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--nova-border);
  border-radius: 0;
  background: var(--nova-surface);
  color: var(--nova-text);
}
.nova-coupon .btn {
  min-width: 86px;
}
.nova-coupon > small {
  display: block;
  margin-top: 8px;
  color: var(--nova-muted);
  font-size: 11px;
}
.nova-coupon-row {
  color: var(--nova-text);
}
.nova-coupon-row b,
.nova-order-discount {
  color: var(--nova-svg-accent, var(--acid));
}
.nova-account-form {
  margin-top: 20px;
  display: grid;
  gap: 9px;
  max-width: 360px;
}
.nova-account-form .btn {
  justify-self: start;
  margin-top: 6px;
}
.nova-recent-list > .nova-state {
  grid-column: 1 / -1;
}
@media (max-width: 360px) {
  .nova-coupon > div {
    flex-wrap: wrap;
  }
  .nova-coupon .btn {
    width: 100%;
  }
}

.nova-state-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.nova-state-showcase > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}
.nova-state-showcase b {
  font-size: 12px;
  color: var(--nova-muted);
}
.nova-skeleton-gallery-demo {
  position: relative;
  min-height: 190px;
}
@media (max-width: 720px) {
  .nova-state-showcase {
    grid-template-columns: 1fr;
  }
}

/* Shared documentation-ready primitives: forms, feedback and tabs. */
.nova-form {
  display: grid;
  gap: 20px;
}
.nova-field {
  min-width: 0;
}
.nova-field > label:not(.nova-check):not(.nova-switch),
.nova-field > legend {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--nova-text);
  margin-bottom: 8px;
}
.nova-field > :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--nova-border);
  border-radius: var(--nova-radius);
  color: var(--nova-text);
  background: var(--nova-surface);
  font: inherit;
}
.nova-field > textarea {
  min-height: 110px;
  resize: vertical;
}
.nova-field > :is(input, textarea)::placeholder {
  color: var(--nova-muted);
  opacity: 1;
}
fieldset.nova-field {
  border: 1px solid var(--nova-border);
  padding: 16px;
}
.nova-check,
.nova-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-block: 9px;
  color: var(--nova-text);
  font-size: 14px;
  cursor: pointer;
}
.nova-check input {
  accent-color: var(--nova-svg-accent);
}
.nova-switch {
  position: relative;
}
.nova-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.nova-switch-track {
  width: 39px;
  height: 23px;
  flex: none;
  border: 1px solid var(--nova-border);
  border-radius: 30px;
  background: var(--nova-surface-2);
  transition: background var(--nova-motion-fast);
}
.nova-switch-track::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  margin: 2px;
  border-radius: 50%;
  background: var(--nova-text);
  transition: transform var(--nova-motion-fast);
}
.nova-switch input:checked + .nova-switch-track {
  background: var(--acid);
}
.nova-switch input:checked + .nova-switch-track::before {
  transform: translateX(16px);
}
html[dir="rtl"] .nova-switch-track::before {
  transform: translateX(16px);
}
html[dir="rtl"] .nova-switch input:checked + .nova-switch-track::before {
  transform: translateX(0);
}
.nova-switch input:focus-visible + .nova-switch-track {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.nova-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-block-end: 1px solid var(--nova-border);
}
.nova-tabs [role="tab"] {
  padding: 10px 0;
  border: 0;
  border-block-end: 2px solid transparent;
  background: none;
  color: var(--nova-muted);
  font: inherit;
  cursor: pointer;
}
.nova-tabs [role="tab"][aria-selected="true"] {
  border-color: var(--nova-svg-accent);
  color: var(--nova-text);
}
.nova-tab-panel {
  padding-block: 22px;
  line-height: 1.7;
  color: var(--nova-text);
}
.nova-tab-panel[hidden] {
  display: none;
}
.nova-inline-alert {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-inline-start: 3px solid var(--nova-svg-accent);
  background: var(--nova-surface);
  color: var(--nova-text);
  font-size: 14px;
}
.nova-inline-alert span {
  color: var(--nova-muted);
}
.nova-inline-alert.is-error {
  border-color: #b74f43;
}
.nova-button-loading {
  gap: 10px;
}
.nova-button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  animation: nova-button-spin 0.8s linear infinite;
}
@keyframes nova-button-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-button-spinner {
    animation: none;
  }
}

/* ==========================================================
   NOVA — GLOBAL LAYOUT
========================================================== */
/* ==========================================================
   NOVA — SHARED COMPONENT CONTRACT
   Loaded after the foundations so shared components keep one visual contract.
========================================================== */

/* Wishlist save actions on the shared product card. */
.product-card .nova-save {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--nova-border, var(--line));
  border-radius: 50%;
  background: var(--nova-surface, var(--paper));
  color: var(--nova-text, var(--ink));
  cursor: pointer;
  transition:
    transform var(--nova-duration),
    background var(--nova-duration);
}
.product-card .nova-save:hover {
  transform: scale(1.08);
}
.product-card .nova-save[aria-pressed="true"] {
  background: var(--acid);
  color: #142018;
}
.product-card .nova-save svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.product-card .nova-save[aria-pressed="true"] svg {
  fill: currentColor;
}
.product-save {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--nova-text);
  font-size: 13px;
  cursor: pointer;
}
.product-save svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.product-save[aria-pressed="true"] svg {
  fill: var(--acid);
  stroke: var(--nova-text);
}

/* ==========================================================
   WISHLIST — shared SAVED OBJECTS
========================================================== */
body.nova-page-wishlist .wishlist-section {
  width: min(var(--nova-max), calc(100% - 2 * var(--nova-gutter)));
  margin: 0 auto;
  padding-block: clamp(36px, 6vw, 88px) clamp(85px, 10vw, 150px);
}
.wishlist-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.wishlist-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  color: var(--nova-text);
}
.wishlist-count {
  font-size: 13px;
  color: var(--nova-muted);
}
.wishlist-items {
  display: grid;
  gap: 1px;
  background: var(--nova-border, var(--line));
  border: 1px solid var(--nova-border, var(--line));
}
.wishlist-items[hidden],
.wishlist-empty[hidden] {
  display: none;
}
.wishlist-item {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 55px);
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  background: var(--nova-surface, var(--paper));
  color: var(--nova-text, var(--ink));
}
.wishlist-image {
  display: block;
  aspect-ratio: 1;
  background: var(--nova-surface-2);
  overflow: hidden;
}
.wishlist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nova-duration-slow);
}
.wishlist-image:hover img {
  transform: scale(1.04);
}
.wishlist-item-content {
  min-width: 0;
}
.wishlist-item-meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nova-muted);
}
.wishlist-item h3 {
  margin: 9px 0 8px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.wishlist-item h3 a {
  color: inherit;
  text-decoration: none;
}
.wishlist-item-context,
.wishlist-stock {
  margin: 0;
  color: var(--nova-muted);
  font-size: 13px;
  line-height: 1.6;
}
.wishlist-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}
.wishlist-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--acid);
}
.wishlist-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  min-width: 165px;
}
.wishlist-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}
.wishlist-price del {
  font-size: 13px;
  font-weight: 400;
  color: var(--nova-muted);
}
.wishlist-discount {
  font-size: 11px;
  color: var(--nova-text);
  border: 1px solid var(--nova-border, var(--line));
  padding: 3px 6px;
}
.wishlist-item-actions .btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wishlist-item-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wishlist-remove {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 2px 0;
  color: var(--nova-muted);
  font-size: 12px;
  cursor: pointer;
}
.wishlist-remove:hover {
  color: var(--nova-text);
}
html[dir="rtl"] .wishlist-item h3 {
  line-height: 1.65;
}
@media (max-width: 700px) {
  .wishlist-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .wishlist-item {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .wishlist-item-actions {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 10px;
  }
  .wishlist-price {
    justify-content: flex-start;
    margin-inline-end: auto;
  }
  .wishlist-item-actions .btn {
    width: auto;
    min-width: 145px;
    flex: 1 1 145px;
    order: 2;
  }
  .wishlist-remove {
    order: 3;
  }
}
@media (max-width: 360px) {
  .wishlist-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .wishlist-item h3 {
    font-size: 18px;
  }
  .wishlist-item-actions .btn {
    flex-basis: 100%;
  }
}

/* 01. Shared layout and motion tokens */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 02. Base and keyboard states */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
}
::selection {
  background: var(--acid);
  color: #142018;
}
body.nova-shell
  :is(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

/* The document must not become a second scroll container: sticky header follows the viewport. */
body.nova-shell {
  overflow-x: clip;
  overflow-y: visible;
}
body > main,
body > footer,
body > .promo,
body > .premium-header {
  width: 100%;
  max-width: 100%;
}
body > main {
  position: relative;
  overflow: clip;
}
img {
  max-width: 100%;
}
.nova-image-missing {
  display: block;
  background: var(--nova-surface-2);
  object-fit: cover;
}

/* One header contract on every route. Promo scrolls; header remains sticky. */
body.nova-shell > .promo {
  height: 32px;
  min-height: 32px;
  padding-inline: max(24px, calc((100% - var(--nova-max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: var(--acid);
  color: #101914;
  border: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  z-index: 1;
}
body.nova-shell > .premium-header {
  position: sticky;
  top: 0;
  inset-block-start: 0;
  height: var(--nova-header);
  min-height: var(--nova-header);
  padding-inline: max(24px, calc((100% - var(--nova-max)) / 2));
  display: grid;
  grid-template-columns: minmax(136px, 180px) minmax(440px, 1fr) minmax(
      294px,
      340px
    );
  gap: 18px;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.08);
  z-index: 2200;
  transition:
    background-color var(--nova-motion-base),
    border-color var(--nova-motion-base),
    box-shadow var(--nova-motion-base);
}
body.nova-shell > .premium-header.scrolled {
  height: var(--nova-header);
  min-height: var(--nova-header);
  box-shadow: 0 10px 30px rgba(13, 24, 19, 0.07);
}
body.nova-shell > .premium-header .brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
body.nova-shell > .premium-header .unified-nav {
  position: static;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 30px);
  background: transparent;
  color: inherit;
  overflow: visible;
}
body.nova-shell > .premium-header .unified-nav > a,
body.nova-shell > .premium-header .nav-trigger {
  white-space: nowrap;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
body.nova-shell > .premium-header .header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: inherit;
}
body.nova-shell
  > .premium-header
  .header-actions
  :is(.icon-btn, .lang-btn, .theme-btn) {
  color: inherit;
  flex: 0 0 auto;
}
body.nova-shell > .premium-header .header-actions .bag-link {
  flex: 0 0 auto;
}
body.nova-shell > .premium-header .bag-link {
  height: 46px;
  min-width: 116px;
  margin-inline-start: 5px;
  margin-left: 0;
  padding-inline: 13px;
  display: flex;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
body.nova-shell > .premium-header .bag-link .cart-count {
  background: var(--acid);
  color: #142018;
}
body.nova-shell.dark > .premium-header {
  background: color-mix(in srgb, #111a16 94%, transparent);
  color: #f2f5ed;
  border-color: #344139;
}
body.nova-shell.dark > .premium-header .bag-link {
  background: #f0f3ed;
  color: #152019;
}

/* Menus never affect document flow while closed. */
body.nova-shell > .premium-header :is(.mega-menu, .pages-menu) {
  display: none;
  top: 100%;
  margin-top: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(11, 20, 16, 0.16);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.nova-shell > .premium-header .mega-menu {
  width: min(1280px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  height: auto;
  min-height: 0;
  align-items: start;
  align-content: start;
  grid-auto-rows: max-content;
}
body.nova-shell > .premium-header .pages-menu {
  width: min(620px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
}
body.nova-shell > .premium-header .nav-shop.menu-open > .mega-menu {
  display: grid;
}
body.nova-shell > .premium-header .nav-pages.menu-open > .pages-menu {
  display: grid;
}
body.nova-shell > .premium-header :is(.mega-menu, .pages-menu) a {
  color: inherit;
}
body.nova-shell > .premium-header .mega-menu a.mega-promo {
  color: #f2f5ed;
}
body.nova-shell > .premium-header .mega-promo span {
  color: var(--acid);
}
body.nova-shell.dark > .premium-header :is(.mega-menu, .pages-menu) {
  background: #16211c;
  color: #f0f3ed;
  border-color: #3a493f;
}

/* Shared content rhythm: same canvas, readable Arabic, route-safe spacing. */
body.nova-shell:not(.nova-page-index) > main {
  min-height: calc(100svh - 108px);
}
body.nova-shell.inner-body .page-hero {
  width: min(100%, var(--nova-max));
  max-width: var(--nova-max);
  margin-inline: auto;
  padding-inline: var(--nova-gutter);
}
body.nova-shell.inner-body
  :is(
    .detail,
    .checkout-layout,
    .account-layout,
    .contact-grid,
    .faq-wrap,
    .article-wrap,
    .compare-section,
    .wishlist-section,
    .success-wrap
  ) {
  width: min(100%, var(--nova-max));
  max-width: var(--nova-max);
  margin-inline: auto;
  padding-inline: var(--nova-gutter);
}
body.nova-shell main :is(h1, h2, h3, p) {
  overflow-wrap: anywhere;
}
html[dir="rtl"] body.nova-shell main p {
  line-height: 1.9;
}
html[dir="rtl"] body.nova-shell main :is(h1, h2, h3) {
  line-height: 1.32;
}

/* Drawer contract and resilient product media. */
.nova-ui-shade {
  z-index: 3000;
}
.nova-ui-search,
.nova-ui-bag {
  z-index: 3010;
}
.nova-ui-bag {
  max-width: 100vw;
}
.nova-ui-line {
  grid-template-columns: 86px minmax(0, 1fr) max-content;
  align-items: start;
}
.nova-ui-line > div {
  min-width: 0;
}
.nova-ui-line img {
  display: block;
  width: 86px;
  height: 104px;
  min-width: 86px;
  object-fit: cover;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.nova-ui-line b,
.nova-ui-line small {
  display: block;
  overflow-wrap: anywhere;
}
.nova-ui-qty {
  white-space: nowrap;
}
.nova-ui-qty button {
  display: inline-grid;
  place-items: center;
}

/* Contain the interactive hero card without changing its composition. */
body.nova-page-index .home-classic-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
body.nova-page-index .home-classic-hero-card {
  transform-origin: center;
  filter: drop-shadow(0 24px 28px rgba(8, 18, 14, 0.2));
}
body.nova-page-index .home-classic-hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1180px) {
  :root {
    --nova-header: 70px;
  }
  body.nova-shell > .premium-header {
    grid-template-columns: minmax(120px, 1fr) 44px 44px;
    height: var(--nova-header);
    min-height: var(--nova-header);
    padding-inline: 20px;
    gap: 10px;
  }
  body.nova-shell > .premium-header.scrolled {
    height: var(--nova-header);
    min-height: var(--nova-header);
  }
  body.nova-shell > .premium-header .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }
  body.nova-shell > .premium-header .header-actions {
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    min-width: 44px;
  }
  body.nova-shell > .premium-header .header-actions > :not(.bag-link) {
    display: none;
  }
  body.nova-shell > .premium-header .bag-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    position: relative;
  }
  body.nova-shell > .premium-header .bag-link > span {
    display: none;
  }
  body.nova-shell > .premium-header .bag-link .cart-count {
    position: absolute;
    inset-block-start: -3px;
    inset-inline-end: -3px;
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  body.nova-shell > .premium-header .unified-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    width: 100%;
    height: calc(100dvh - var(--nova-header));
    max-height: calc(100dvh - var(--nova-header));
    padding: 12px 20px 22px;
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    z-index: 2220;
  }
  body.nova-shell > .premium-header .unified-nav.open {
    display: flex;
    flex-direction: column;
  }
  body.nova-shell.dark > .premium-header .unified-nav {
    background: #111a16;
    color: #f0f3ed;
    border-color: #344139;
  }
  body.nova-shell > .premium-header .main-nav > a,
  body.nova-shell > .premium-header .nav-shop,
  body.nova-shell > .premium-header .nav-pages {
    width: 100%;
    flex: none;
    border-bottom: 1px solid var(--line);
  }
  body.nova-shell > .premium-header .main-nav > a,
  body.nova-shell > .premium-header .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 12px 2px;
    font-size: 15px;
    text-align: start;
  }
  body.nova-shell > .premium-header :is(.mega-menu, .pages-menu) {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin: 0 0 10px;
    padding: 10px 2px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  body.nova-shell > .premium-header .nav-shop.menu-open > .mega-menu,
  body.nova-shell > .premium-header .nav-pages.menu-open > .pages-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
  }
  body.nova-shell > .premium-header .mega-intro,
  body.nova-shell > .premium-header .mega-promo {
    display: none;
  }
  body.nova-shell > .premium-header .mega-column > a,
  body.nova-shell > .premium-header .pages-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.55;
  }
  body.nova-shell > .premium-header .mobile-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    flex: none;
  }
  body.nova-shell > .premium-header .mobile-tools button {
    min-height: 48px;
  }
  body.nova-shell
    > .premium-header
    .mobile-tools
    :is(.lang-btn, .theme-btn) {
    width: 100%;
    display: inline-flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 14px;
  }
  body.nova-shell > .premium-header .mobile-tools .theme-btn svg,
  body.nova-shell > .premium-header .mobile-tools button span {
    position: static;
    margin: 0;
    align-self: center;
  }
  body.nova-shell > .premium-header .mobile-tools button span {
    display: block;
    line-height: 1;
    white-space: nowrap;
  }
  body.nova-overlay-active > .premium-header {
    z-index: 2000;
  }
}
@media (max-width: 720px) {
  :root {
    --nova-header: 66px;
    --nova-gutter: 18px;
  }
  body.nova-shell > .promo {
    height: 28px;
    min-height: 28px;
    padding-inline: 14px;
    justify-content: center;
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
  }
  body.nova-shell > .promo span:not(:first-child) {
    display: none;
  }
  body.nova-shell > .premium-header {
    padding-inline: 14px;
    grid-template-columns: minmax(100px, 1fr) 42px 44px;
    gap: 8px;
  }
  body.nova-shell > .premium-header .brand span {
    width: 34px;
    height: 34px;
  }
  body.nova-shell > .premium-header .brand strong {
    font-size: 23px;
  }
  body.nova-shell > .premium-header .menu-toggle {
    width: 42px;
    height: 42px;
  }
  body.nova-shell > .premium-header .unified-nav {
    padding: 8px 18px 18px;
  }
  body.nova-shell > .premium-header .main-nav > a,
  body.nova-shell > .premium-header .nav-trigger {
    min-height: 50px;
    padding-block: 11px;
  }
  body.nova-shell > .premium-header .nav-shop.menu-open > .mega-menu,
  body.nova-shell > .premium-header .nav-pages.menu-open > .pages-menu {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .nova-ui-bag > .nova-ui-head {
    margin-inline: 18px;
    padding-block: 20px 15px;
  }
  .nova-ui-items {
    padding: 8px 18px;
  }
  .nova-ui-line {
    grid-template-columns: 72px minmax(0, 1fr) max-content;
    gap: 12px;
    padding: 16px 0;
  }
  .nova-ui-line img {
    width: 72px;
    height: 88px;
    min-width: 72px;
  }
  .nova-ui-line b {
    font-size: 14px;
  }
  .nova-ui-line small {
    font-size: 12px;
    margin-top: 5px;
  }
  .nova-ui-line > strong {
    font-size: 13px;
  }
  .nova-ui-foot {
    padding: 16px 18px 20px;
  }
  .nova-ui-actions {
    grid-template-columns: 1fr 1fr;
  }
  .nova-ui-actions a {
    min-height: 48px;
  }
  body.nova-page-index .home-classic-hero-card {
    max-width: 48vw;
    max-height: 44vh;
  }
}
@media (max-width: 420px) {
  body.nova-shell > .premium-header {
    padding-inline: 10px;
    grid-template-columns: minmax(90px, 1fr) 40px 42px;
    gap: 6px;
  }
  body.nova-shell > .premium-header .brand span {
    width: 31px;
    height: 31px;
  }
  body.nova-shell > .premium-header .brand strong {
    font-size: 21px;
  }
  body.nova-shell > .premium-header .menu-toggle {
    width: 40px;
    height: 40px;
  }
  body.nova-shell > .premium-header .bag-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
  .nova-ui-line {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .nova-ui-line img {
    width: 64px;
    height: 80px;
    min-width: 64px;
  }
  .nova-ui-line > strong {
    grid-column: 2;
    justify-self: start;
  }
  .nova-ui-actions {
    grid-template-columns: 1fr;
  }
  body.nova-page-index .home-classic-hero-card {
    max-width: 54vw;
  }
}
html[dir="rtl"] body.nova-shell > .premium-header .unified-nav {
  text-align: right;
}
html[dir="rtl"] body.nova-shell > .premium-header .main-nav > a,
html[dir="rtl"] body.nova-shell > .premium-header .nav-trigger {
  line-height: 1.85;
}
html[dir="rtl"] .nova-ui-line :is(b, small, .nova-ui-remove) {
  line-height: 1.8;
}
@media (prefers-reduced-motion: reduce) {
  body.nova-shell > .premium-header,
  body.nova-shell > .premium-header .unified-nav,
  body.nova-page-index .home-classic-hero-card {
    transition: none;
  }
}

/* Theme contract: every component reads from one semantic palette. */
body.nova-shell {
  --nova-canvas: #f5f4ef;
  --nova-surface: #ffffff;
  --nova-surface-2: #ebece6;
  --nova-text: #152019;
  --nova-muted: #4e5c53;
  --nova-border: rgba(21, 32, 25, 0.16);
  --nova-elevated: #fbfbf7;
  --nova-footer: #09100d;
  --nova-footer-text: #eef3ec;
  --nova-footer-muted: #9aa69e;
  --nova-gradient-a: #dde9df;
  --nova-gradient-b: #cbdccb;
  --nova-gradient-glow: rgba(203, 255, 82, 0.22);
  --nova-shadow-sm: 0 8px 26px rgba(10, 25, 16, 0.07);
  --nova-shadow-md: 0 22px 55px rgba(10, 25, 16, 0.14);
  --paper: var(--nova-canvas);
  --white: var(--nova-surface);
  --ink: var(--nova-text);
  --muted: var(--nova-muted);
  --line: var(--nova-border);
  --bs-body-color: var(--nova-text);
  --bs-body-bg: var(--nova-canvas);
  --bs-heading-color: var(--nova-text);
  --bs-secondary-color: var(--nova-muted);
  --bs-border-color: var(--nova-border);
  --bs-emphasis-color: var(--nova-text);
  color-scheme: light;
}
body.nova-shell.dark {
  --nova-canvas: #101815;
  --nova-surface: #18231e;
  --nova-surface-2: #213029;
  --nova-text: #f2f5ed;
  --nova-muted: #aebbb1;
  --nova-border: rgba(242, 245, 237, 0.16);
  --nova-elevated: #1b2822;
  --nova-footer: #050a08;
  --nova-footer-text: #f2f5ed;
  --nova-footer-muted: #9caaa0;
  --nova-gradient-a: #1b2a23;
  --nova-gradient-b: #2a4034;
  --nova-gradient-glow: rgba(203, 255, 82, 0.12);
  --nova-shadow-sm: 0 8px 26px rgba(0, 0, 0, 0.18);
  --nova-shadow-md: 0 22px 55px rgba(0, 0, 0, 0.3);
  --bs-body-color: var(--nova-text);
  --bs-body-bg: var(--nova-canvas);
  --bs-heading-color: var(--nova-text);
  --bs-secondary-color: var(--nova-muted);
  --bs-border-color: var(--nova-border);
  --bs-emphasis-color: var(--nova-text);
  color-scheme: dark;
}
body.nova-shell,
body.nova-shell > main,
body.nova-shell.inner-body {
  background: var(--nova-canvas);
  color: var(--nova-text);
}
body.nova-shell.inner-body
  :is(
    .page-hero,
    .checkout-layout,
    .account-layout,
    .faq-wrap,
    .article-wrap,
    .contact-form,
    .compare-section
  )
  :is(p, small, .breadcrumbs, .kicker, .blog-meta, .desc) {
  color: var(--nova-muted);
}
body.nova-shell
  :is(
    .checkout-form,
    .checkout-summary,
    .stat-card,
    .order-table,
    .faq-wrap details,
    .account-layout,
    .compare-section
  ) {
  color: var(--nova-text);
}
body.nova-shell :is(.checkout-summary, .stat-card) {
  background: var(--nova-surface);
}
body.nova-shell
  :is(.checkout-form, .account-layout, .faq-wrap, .compare-section) {
  background: transparent;
}
body.nova-shell
  :is(
    .order-line,
    .totals .grand,
    .order-table th,
    .order-table td,
    .faq-wrap details,
    .account-menu a
  ) {
  border-color: var(--nova-border);
}
body.nova-shell .order-table th,
body.nova-shell .stat-card span {
  color: var(--nova-muted);
}
body.nova-shell .compare-table :is(th, td):first-child {
  background: var(--nova-canvas);
  color: var(--nova-text);
}
body.nova-shell .btn.outline {
  color: var(--nova-text);
  border-color: var(--nova-text);
}
body.nova-shell .btn.primary,
body.nova-shell .status {
  background: var(--acid);
  color: var(--nova-on-accent);
}
body.nova-shell.dark img {
  filter: none;
}

/* Shared controls: page CTAs use these variants; editorial artwork stays contextual. */
body.nova-shell.inner-body :is(.btn, .nova-button) {
  --button-bg: var(--nova-text);
  --button-ink: var(--nova-canvas);
  --button-border: var(--nova-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--button-border);
  border-radius: var(--nova-radius);
  background: var(--button-bg);
  color: var(--button-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--nova-duration) var(--nova-ease),
    color var(--nova-duration) var(--nova-ease),
    border-color var(--nova-duration) var(--nova-ease),
    transform var(--nova-duration) var(--nova-ease);
}
body.nova-shell.inner-body :is(.btn, .nova-button).primary {
  --button-bg: var(--acid);
  --button-ink: var(--nova-on-accent);
  --button-border: var(--acid);
}
body.nova-shell.inner-body :is(.btn, .nova-button):is(.secondary, .outline) {
  --button-bg: transparent;
  --button-ink: var(--nova-text);
  --button-border: var(--nova-text);
}
body.nova-shell.inner-body :is(.btn, .nova-button).ghost {
  --button-bg: transparent;
  --button-ink: var(--nova-text);
  --button-border: transparent;
}
body.nova-shell.inner-body :is(.btn, .nova-button).small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}
body.nova-shell.inner-body :is(.btn, .nova-button).large {
  min-height: 60px;
  padding: 16px 30px;
  font-size: 16px;
}
body.nova-shell.inner-body :is(.btn, .nova-button):hover {
  transform: translateY(-2px);
  box-shadow: var(--nova-shadow-sm);
}
body.nova-shell.inner-body :is(.btn, .nova-button):active {
  transform: translateY(0);
  box-shadow: none;
}
body.nova-shell.inner-body
  :is(.btn, .nova-button):is(:disabled, .is-disabled, [aria-disabled="true"]) {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
body.nova-shell :is(button, a, summary):focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
body.nova-shell :is(.field input, .field textarea, .field select) {
  min-height: 48px;
  border: 1px solid var(--nova-border);
  border-radius: var(--nova-radius);
  padding: 12px 14px;
}
html[dir="rtl"] body.nova-shell.inner-body :is(.btn, .nova-button) {
  line-height: 1.8;
}

/* One search and bag treatment, independent of the page behind it. */
body.nova-shell .nova-ui-bag {
  --ui-bg: var(--nova-elevated);
  --ui-ink: var(--nova-text);
  --ui-muted: var(--nova-muted);
  --ui-border: var(--nova-border);
  --ui-accent: var(--acid);
  background: var(--ui-bg);
  color: var(--ui-ink);
  border-inline-start: 1px solid var(--ui-border);
  box-shadow: 0 30px 90px rgba(5, 12, 9, 0.24);
}
body.nova-shell .nova-ui-shade {
  background: rgba(7, 13, 10, 0.58);
  backdrop-filter: blur(8px);
}
body.nova-shell .nova-ui-head {
  color: var(--ui-ink);
  border-color: var(--ui-border);
}
body.nova-shell .nova-ui-head h2,
body.nova-shell .nova-ui-total,
body.nova-shell .nova-ui-line b,
body.nova-shell .nova-ui-line strong {
  color: var(--ui-ink);
}
body.nova-shell .nova-ui-line small,
body.nova-shell .nova-ui-remove,
body.nova-shell .nova-ui-emptybag {
  color: var(--ui-muted);
}
body.nova-shell .nova-ui-emptybag strong,
body.nova-shell .nova-ui-emptybag a {
  color: var(--ui-ink);
}
body.nova-shell .nova-ui-close,
body.nova-shell .nova-ui-qty button {
  color: var(--ui-ink);
  background: transparent;
  border-color: var(--ui-border);
}
body.nova-shell .nova-ui-qty {
  display: inline-grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid var(--ui-border);
}
body.nova-shell .nova-ui-qty button,
body.nova-shell .nova-ui-qty span {
  width: auto;
  height: 34px;
  display: grid;
  place-items: center;
  line-height: 1;
}
body.nova-shell .nova-ui-line {
  border-color: var(--ui-border);
}
body.nova-shell .nova-ui-line img {
  background: var(--nova-surface-2);
}
body.nova-shell .nova-ui-foot {
  background: var(--ui-bg);
  border-color: var(--ui-border);
}
body.nova-shell .nova-ui-actions a {
  color: var(--ui-ink);
  border-color: var(--ui-ink);
}
body.nova-shell .nova-ui-actions a:last-child {
  background: var(--ui-ink);
  color: var(--ui-bg);
}
body.nova-shell .nova-ui-actions a:hover {
  background: var(--ui-accent);
  color: var(--nova-on-accent);
  border-color: var(--ui-accent);
}

/* The calm gradient creates a shared transition into the footer. */
body.nova-shell .nova-prefooter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--nova-text);
  background:
    radial-gradient(
      ellipse at 76% 35%,
      var(--nova-gradient-glow),
      transparent 43%
    ),
    linear-gradient(125deg, var(--nova-gradient-a), var(--nova-gradient-b));
}
body.nova-shell .nova-prefooter::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% -15%;
  background: radial-gradient(
    ellipse at 30% 60%,
    rgba(255, 255, 255, 0.16),
    transparent 48%
  );
  animation: nova-gradient-drift 16s ease-in-out infinite alternate;
}
@keyframes nova-gradient-drift {
  to {
    transform: translate3d(4%, -3%, 0) scale(1.06);
  }
}
body.nova-shell .nova-prefooter {
  min-height: 520px;
  padding: clamp(72px, 9vw, 130px) var(--nova-gutter) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}
body.nova-shell .nova-prefooter > div > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--nova-muted);
  margin-bottom: 30px;
}
body.nova-shell .nova-prefooter h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(56px, 7.4vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 500;
  color: var(--nova-text);
}
body.nova-shell .nova-prefooter form {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
body.nova-shell .nova-prefooter form label {
  display: block;
  margin-bottom: 42px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--nova-text);
}
body.nova-shell .nova-prefooter form > div {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--nova-text);
}
body.nova-shell .nova-prefooter form input {
  flex: 1;
  min-width: 0;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--nova-text);
  outline: 0;
}
body.nova-shell .nova-prefooter form input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--nova-gradient-b) inset;
  -webkit-text-fill-color: var(--nova-text);
}
body.nova-shell .nova-prefooter form button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--nova-text);
  color: var(--nova-canvas);
  font-size: 22px;
  transition: var(--nova-motion-base);
}
body.nova-shell .nova-prefooter form button:hover {
  background: var(--acid);
  color: var(--nova-on-accent);
  transform: rotate(-35deg);
}
body.nova-shell .nova-prefooter form small {
  display: block;
  margin-top: 14px;
  color: var(--nova-muted);
}
body.nova-shell .nova-prefooter .nova-newsletter-status {
  color: var(--nova-text);
}
body.nova-shell .nova-prefooter > nav {
  position: absolute;
  inset-inline: var(--nova-gutter);
  bottom: 32px;
  display: flex;
  justify-content: flex-start;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--nova-border);
  font-size: 13px;
  font-weight: 600;
}
body.nova-shell .nova-prefooter > nav a {
  color: var(--nova-text);
}

/* Footer is deliberately dark in both modes; its contrast never depends on page tokens. */
body.nova-shell > footer {
  margin: 0;
  background: var(--nova-footer);
  color: var(--nova-footer-text);
  border: 0;
}
body.nova-shell > footer :is(h1, h2, h3, h4, b, strong, label) {
  color: var(--nova-footer-text);
}

/* Keep muted footer copy from affecting the logo mark's dark N. */
body.nova-shell > footer :is(p, a, span):not(.brand, .brand span) {
  color: var(--nova-footer-muted);
}
body.nova-shell > footer .brand,
body.nova-shell > footer .brand strong {
  color: var(--nova-footer-text);
}
body.nova-shell > footer input {
  background: transparent;
  color: var(--nova-footer-text);
  border: 0;
}
body.nova-shell > footer input::placeholder {
  color: var(--nova-footer-muted);
}
body.nova-shell > footer .newsletter div,
body.nova-shell > footer .footer-top,
body.nova-shell > footer .footer-bottom {
  border-color: rgba(238, 243, 236, 0.16);
}
@media (max-width: 760px) {
  body.nova-shell .nova-prefooter {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 78px 18px 64px;
    gap: 58px;
  }
  body.nova-shell .nova-prefooter h2 {
    font-size: clamp(54px, 15vw, 78px);
    line-height: 1;
  }
  body.nova-shell .nova-prefooter form {
    justify-self: start;
  }
  body.nova-shell .nova-prefooter > nav {
    inset-inline: 18px;
    bottom: 22px;
    gap: 24px;
  }
  body.nova-shell .nova-ui-bag {
    width: 100vw;
  }
  body.nova-shell .nova-ui-bag > .nova-ui-head {
    margin-inline: 18px;
  }
}
@media (max-width: 420px) {
  body.nova-shell .nova-ui-line {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 10px;
  }
  body.nova-shell .nova-ui-line > strong {
    grid-column: auto;
    justify-self: end;
  }
  body.nova-shell .nova-ui-qty {
    grid-template-columns: 30px 34px 30px;
  }
  body.nova-shell .nova-ui-actions {
    grid-template-columns: 1fr 1fr;
  }
}
html[dir="rtl"] body.nova-shell .nova-prefooter h2 {
  line-height: 1.28;
  letter-spacing: 0;
}
html[dir="rtl"] body.nova-shell .nova-prefooter form :is(label, small) {
  line-height: 1.9;
}
html[dir="rtl"] body.nova-shell .nova-prefooter form button:hover {
  transform: rotate(35deg);
}
@media (prefers-reduced-motion: reduce) {
  body.nova-shell .nova-prefooter::before {
    animation: none;
  }
}

/* Shared inner-page hero composition. */
body.nova-shell.inner-body .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 118px);
  padding-bottom: clamp(48px, 6vw, 82px);
  border-bottom: 1px solid var(--nova-border);
}
body.nova-shell.inner-body .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  inset-block-start: -330px;
  inset-inline-end: -120px;
  background: radial-gradient(
    circle,
    var(--nova-gradient-glow),
    transparent 68%
  );
}
body.nova-shell.inner-body .page-hero h1 {
  max-width: 15ch;
  font-size: clamp(46px, 6.5vw, 86px);
  line-height: 1.08;
  color: var(--nova-text);
}
body.nova-shell.inner-body .page-hero p {
  color: var(--nova-muted);
}
body.nova-shell .nova-ui-bag {
  width: min(520px, 100vw);
  border-inline-start: 0;
  background: var(--ui-bg);
}
body.nova-shell .nova-ui-bag::before {
  content: "";
  position: absolute;
  inset-block: 0 auto;
  inset-inline: 0;
  height: 5px;
  background: var(--acid);
  z-index: 2;
}
body.nova-shell .nova-ui-bag > .nova-ui-head {
  min-height: 104px;
  margin: 0;
  padding: 26px 34px 22px;
  background: var(--ui-bg);
}
body.nova-shell .nova-ui-bag .nova-ui-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.055em;
}
body.nova-shell .nova-ui-bag .nova-ui-items {
  padding: 18px 34px;
  background: var(--ui-bg);
}
body.nova-shell .nova-ui-bag .nova-ui-line {
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 0;
  align-items: start;
}
body.nova-shell .nova-ui-bag .nova-ui-line img {
  width: 94px;
  height: 116px;
  min-width: 94px;
}
body.nova-shell .nova-ui-bag .nova-ui-line b {
  font-size: 16px;
  line-height: 1.45;
}
body.nova-shell .nova-ui-bag .nova-ui-line small {
  font-size: 13px;
  line-height: 1.65;
  margin-top: 6px;
}
body.nova-shell .nova-ui-bag .nova-ui-foot {
  padding: 25px 34px 32px;
  background: linear-gradient(
    145deg,
    var(--nova-surface),
    var(--nova-surface-2)
  );
}
body.nova-shell .nova-ui-bag .nova-ui-total {
  font-size: 18px;
  margin-bottom: 22px;
}
body.nova-shell .nova-ui-bag .nova-ui-actions {
  gap: 12px;
}
body.nova-shell .nova-ui-bag .nova-ui-actions a {
  min-height: 56px;
  font-size: 14px;
}
@media (max-width: 720px) {
  body.nova-shell.inner-body .page-hero {
    padding-top: 52px;
    padding-bottom: 38px;
  }
  body.nova-shell.inner-body .page-hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }
  body.nova-shell .nova-ui-bag > .nova-ui-head {
    min-height: 88px;
    padding: 21px 18px 16px;
  }
  body.nova-shell .nova-ui-bag .nova-ui-items {
    padding: 10px 18px;
  }
  body.nova-shell .nova-ui-bag .nova-ui-line {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 17px 0;
  }
  body.nova-shell .nova-ui-bag .nova-ui-line img {
    width: 76px;
    height: 94px;
    min-width: 76px;
  }
  body.nova-shell .nova-ui-bag .nova-ui-foot {
    padding: 18px;
  }
  body.nova-shell .nova-ui-bag .nova-ui-actions a {
    min-height: 50px;
  }
}
@media (max-width: 380px) {
  body.nova-shell .nova-ui-bag .nova-ui-line {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  body.nova-shell .nova-ui-bag .nova-ui-line img {
    width: 68px;
    height: 86px;
    min-width: 68px;
  }
  body.nova-shell .nova-ui-bag .nova-ui-line > strong {
    grid-column: 2;
    justify-self: start;
  }
}

/* ==========================================================
   NOVA — SEARCH
========================================================== */
/* ==========================================================
   NOVA / shared SEARCH
   Shared across every route; the bag remains in its overlay component.
========================================================== */

/* Search surface and transition */
body.nova-shell .nova-ui-search {
  --ui-bg: var(--nova-elevated, var(--paper));
  --ui-ink: var(--nova-text, var(--ink));
  --ui-muted: var(--nova-muted, var(--muted));
  --ui-border: var(--nova-border, var(--line));
  --ui-soft: var(--nova-surface, var(--white));
  --ui-accent: var(--acid, #c9ff4b);
  position: fixed;
  inset: 50% auto auto 50%;
  display: flex;
  flex-direction: column;
  width: min(980px, calc(100vw - 40px));
  max-height: min(750px, calc(100dvh - 48px));
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  background: var(--ui-bg);
  color: var(--ui-ink);
  box-shadow: 0 32px 100px rgba(6, 13, 10, 0.24);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -47%) scale(0.985);
  transition:
    opacity var(--nova-motion-base) ease,
    transform var(--nova-motion-base) cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility var(--nova-motion-base);
  overflow: hidden;
}
body.nova-shell .nova-ui-search.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.nova-ui-search .nova-ui-head {
  flex: none;
  align-items: start;
  border-bottom: 0;
  padding-bottom: 15px;
}
.nova-ui-search .nova-ui-head > div {
  min-width: 0;
}
.nova-search-eyebrow {
  display: block;
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.16em;
  margin-bottom: 7px;
}
.nova-ui-search .nova-ui-head h2 {
  color: var(--ui-ink);
  font-size: clamp(30px, 4vw, 53px);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.nova-ui-search .nova-ui-close {
  width: 43px;
  height: 43px;
  margin-inline-start: 12px;
  transition:
    background var(--nova-motion-fast),
    transform var(--nova-motion-fast);
}
.nova-ui-search .nova-ui-close:hover {
  transform: rotate(90deg);
}

/* Input is the center of the interaction. */
.nova-search-form {
  display: flex;
  align-items: stretch;
  flex: none;
  gap: 15px;
  min-height: 74px;
  border-bottom: 1px solid var(--ui-ink);
  margin: 0 0 24px;
}
.nova-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.nova-search-icon {
  position: relative;
  width: 24px;
  height: 24px;
  font-size: 0;
  flex: none;
}
.nova-search-icon::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  inset-block-start: 2px;
  inset-inline-start: 2px;
  border: 1.5px solid var(--ui-ink);
  border-radius: 50%;
}
.nova-search-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 1.5px;
  inset-block-start: 17px;
  inset-inline-start: 15px;
  background: var(--ui-ink);
  transform: rotate(45deg);
}
html[dir="rtl"] .nova-search-icon::after {
  transform: rotate(-45deg);
}
body.nova-shell .nova-search-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ui-ink);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
}
body.nova-shell .nova-search-field input::placeholder {
  color: var(--ui-muted);
  opacity: 0.8;
}
body.nova-shell .nova-search-field:focus-within {
  color: var(--ui-ink);
}
body.nova-shell .nova-search-form:focus-within {
  border-bottom-width: 2px;
}
.nova-search-submit {
  flex: none;
  align-self: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ui-accent);
  color: var(--nova-on-accent);
  font-size: 22px;
  transition: transform var(--nova-motion-hover);
}
.nova-search-submit:hover {
  transform: translate(2px, -2px);
}
html[dir="rtl"] .nova-search-submit:hover {
  transform: translate(-2px, -2px);
}

/* Two clear zones for discovery and product matches. */
.nova-search-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  gap: clamp(24px, 4vw, 56px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.nova-search-main,
.nova-search-side {
  min-width: 0;
}
.nova-search-side {
  border-inline-start: 1px solid var(--ui-border);
  padding-inline-start: clamp(20px, 3vw, 38px);
}
.nova-search-section-title {
  margin: 0 0 13px;
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.15em;
}
.nova-search-discovery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 25px;
}
.nova-search-discovery-column {
  min-width: 0;
}
.nova-search-term {
  display: block;
  width: max-content;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ui-ink);
  text-align: start;
  padding: 5px 0;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.nova-search-term:hover {
  border-color: currentColor;
}
.nova-search-hint {
  margin: 0;
  color: var(--ui-muted);
  font-size: 14px;
  line-height: 1.6;
}
.nova-search-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--ui-ink);
  font-size: 15px;
  line-height: 1.5;
  padding: 13px 0;
  border-top: 1px solid var(--ui-border);
  transition:
    padding-inline-start var(--nova-motion-fast),
    color var(--nova-motion-fast);
}
.nova-search-category:hover {
  padding-inline-start: 5px;
  color: var(--ui-ink);
}
.nova-search-category span:last-child {
  color: var(--ui-muted);
  transition: transform var(--nova-motion-fast);
}
.nova-search-category:hover span:last-child {
  transform: translate(2px, -2px);
}
html[dir="rtl"] .nova-search-category:hover span:last-child {
  transform: translate(-2px, -2px);
}
.nova-search-note {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--ui-border);
  margin-top: 23px;
  padding-top: 22px;
}
.nova-search-note-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 9px;
  background: var(--ui-ink);
  color: var(--ui-bg);
  font-weight: 700;
}
.nova-search-note p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Results share the same catalog source and honest sale price. */
.nova-search-result {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 91px;
  border-top: 1px solid var(--ui-border);
  color: var(--ui-ink);
  transition:
    padding-inline-start 0.23s,
    background 0.23s;
  animation: nova-search-in 0.24s ease both;
}
.nova-search-result:nth-of-type(2) {
  animation-delay: 35ms;
}
.nova-search-result:nth-of-type(3) {
  animation-delay: 70ms;
}
.nova-search-result:nth-of-type(4) {
  animation-delay: 105ms;
}
.nova-search-result:is(:hover, .is-active, :focus-visible) {
  padding-inline-start: 8px;
  background: var(--ui-soft);
  color: var(--ui-ink);
}
.nova-search-thumb {
  display: block;
  width: 66px;
  height: 76px;
  overflow: hidden;
  background: var(--ui-soft);
}
.nova-search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--nova-motion-medium);
}
.nova-search-result:hover img {
  transform: scale(1.065);
}
.nova-search-result-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.nova-search-result-copy strong {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.nova-search-result-copy small {
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.5;
}
.nova-search-result-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.nova-search-result-price del {
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 400;
}
.nova-search-view-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  border-bottom: 1px solid currentColor;
  padding: 7px 0;
  color: var(--ui-ink);
  font-size: 14px;
  font-weight: 700;
  transition: gap var(--nova-motion-fast);
}
.nova-search-view-all:hover {
  gap: 15px;
  color: var(--ui-ink);
}
.nova-search-message {
  max-width: 45ch;
  margin: 10px 0 22px;
  color: var(--ui-muted);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.nova-search-empty-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 0 21px;
  border: 1px solid var(--ui-border);
  border-radius: 50%;
  font-size: 29px;
  color: var(--ui-ink);
}
.nova-search-reset {
  border: 1px solid var(--ui-ink);
  background: transparent;
  color: var(--ui-ink);
  padding: 11px 16px;
  font-size: 14px;
  margin-bottom: 35px;
  cursor: pointer;
}
.nova-search-reset:hover {
  background: var(--ui-ink);
  color: var(--ui-bg);
}

/* The local search still exposes a calm loading state. */
.nova-search-skeleton {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--ui-border);
  padding: 9px 0;
}
.nova-search-skeleton-image {
  width: 66px;
  height: 76px;
  flex: none;
  background: var(--ui-soft);
}
.nova-search-skeleton-lines {
  width: min(210px, 55%);
  height: 34px;
  background: linear-gradient(
    90deg,
    var(--ui-soft),
    var(--ui-border),
    var(--ui-soft)
  );
  background-size: 200% 100%;
  animation: nova-search-shimmer 1.2s linear infinite;
}
@keyframes nova-search-shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes nova-search-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nova-ui-search :is(button, a):focus-visible {
  outline: 2px solid var(--ui-ink);
  outline-offset: 3px;
}

/* Logical layout keeps arrows and spacing correct in RTL. */
html[dir="rtl"] .nova-ui-search .nova-ui-head h2,
html[dir="rtl"] .nova-ui-search .nova-search-message,
html[dir="rtl"] .nova-ui-search .nova-search-result-copy strong {
  letter-spacing: 0;
  line-height: 1.55;
}
html[dir="rtl"] .nova-ui-search .nova-search-section-title {
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.7;
}
html[dir="rtl"] .nova-ui-search .nova-search-result-copy strong {
  line-height: 1.65;
}
@media (max-width: 720px) {
  body.nova-shell .nova-ui-search,
  body.nova-shell .nova-ui-search.is-open {
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 18px 18px max(20px, env(safe-area-inset-bottom));
    transform: translateY(15px);
  }
  body.nova-shell .nova-ui-search.is-open {
    transform: translateY(0);
  }
  .nova-ui-search .nova-ui-head {
    padding-bottom: 9px;
  }
  .nova-ui-search .nova-ui-head h2 {
    font-size: clamp(29px, 8vw, 43px);
  }
  .nova-search-form {
    min-height: 61px;
    margin-bottom: 18px;
  }
  body.nova-shell .nova-search-field input {
    font-size: 19px;
  }
  .nova-search-content {
    display: block;
    flex: 1;
    overflow-y: auto;
  }
  .nova-search-side {
    border-inline-start: 0;
    border-top: 1px solid var(--ui-border);
    padding: 24px 0 0;
    margin-top: 34px;
  }
  .nova-search-note {
    display: none;
  }
  .nova-search-category {
    padding: 11px 0;
  }
}
@media (max-width: 380px) {
  .nova-search-field {
    gap: 9px;
  }
  .nova-search-form {
    gap: 7px;
  }
  .nova-search-submit {
    width: 41px;
    height: 41px;
  }
  .nova-search-result {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .nova-search-thumb {
    width: 56px;
    height: 68px;
  }
  .nova-search-result-copy strong {
    font-size: 14px;
  }
  .nova-search-result-price {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nova-shell .nova-ui-search,
  .nova-ui-search *,
  .nova-search-skeleton-lines {
    animation: none;
    transition: none;
  }
}

/* ==========================================================
   NOVA — NOVA SVG
========================================================== */
/* NOVA SVG signature: thin orbit, restrained glowing node, measured path. */

body.dark {
  --nova-svg-line: rgba(226, 240, 222, 0.3);
  --nova-svg-accent: #d5fb84;
  --nova-svg-quiet: rgba(226, 240, 222, 0.16);
}

/* Technology Home artwork uses the shared rotator from nova-orbit.css. */
.creative-future .cf-orbits {
  --nova-svg-accent: #d5fb84;
  --nova-svg-line: rgba(217, 255, 233, 0.19);
  animation-fill-mode: backwards;
  transform: translate3d(
    var(--nova-svg-shift-x, 0px),
    var(--nova-svg-shift-y, 0px),
    0
  );
  transition: transform var(--nova-motion-slow) var(--nova-ease-standard);
}

/* Path drawing is initialized with each shape's measured length by
   nova.js; its IntersectionObserver triggers the class once. */
.nova-svg-ready[data-svg-draw]
  :is(path, line, circle, polyline):not(.nova-svg-node) {
  stroke-dasharray: var(--nova-path-length);
  stroke-dashoffset: var(--nova-path-length);
  transition: stroke-dashoffset 1.45s var(--nova-ease-standard);
}
.nova-svg-ready[data-svg-draw].nova-drawn
  :is(path, line, circle, polyline):not(.nova-svg-node) {
  stroke-dashoffset: 0;
}
.nova-svg-node {
  fill: var(--nova-svg-accent);
  stroke: none;
}
.ce-hero-side svg {
  stroke: var(--nova-svg-line);
  transform: translate3d(
    var(--nova-svg-shift-x, 0px),
    var(--nova-svg-shift-y, 0px),
    0
  );
  transition: transform var(--nova-motion-slow) var(--nova-ease-standard);
}
.ce-hero-side svg path {
  stroke: var(--nova-svg-accent);
}
.ce-hero-side svg .nova-svg-node {
  stroke: none;
}

/* A small contour sits behind the feature copy without changing its grid. */
.ce-feature-copy {
  position: relative;
  isolation: isolate;
}
.ce-feature-copy > :not(.nova-feature-contour) {
  position: relative;
  z-index: 1;
}
.nova-feature-contour {
  position: absolute;
  inset-inline-end: clamp(12px, 3vw, 48px);
  inset-block-end: clamp(12px, 2vw, 30px);
  width: min(33%, 170px);
  overflow: visible;
  fill: none;
  stroke: var(--nova-svg-quiet);
  stroke-width: 1.25;
  pointer-events: none;
}
.nova-feature-contour .nova-svg-node {
  stroke: none;
}
.ca-stamp {
  stroke: var(--nova-svg-accent);
  transform: rotate(-18deg)
    translate3d(var(--nova-svg-shift-x, 0px), var(--nova-svg-shift-y, 0px), 0);
  transition: transform var(--nova-motion-slow) var(--nova-ease-standard);
}
.ca-stamp .nova-svg-node {
  stroke: none;
}
.ca-path svg {
  stroke: var(--nova-svg-accent);
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}
.cf-statement svg {
  stroke: var(--nova-svg-line);
}
.cf-statement {
  --nova-svg-line: rgba(213, 251, 132, 0.35);
}
@media (max-width: 760px) {
  .nova-feature-contour {
    width: min(24%, 100px);
    opacity: 0.7;
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .creative-future .cf-orbits,
  .ce-hero-side svg,
  .ca-stamp {
    --nova-svg-shift-x: 0px;
    --nova-svg-shift-y: 0px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-svg-ready[data-svg-draw]
    :is(path, line, circle, polyline):not(.nova-svg-node) {
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ==========================================================
   NOVA — NOVA ORBIT
========================================================== */
/* ==========================================================
   NOVA — MASTER ORBIT SYSTEM
   Future Home / Home 3 is the single motion source of truth.
========================================================== */

body.dark,
.nova-home .home-classic-hero,
.creative-future,
.error-page,
.hx-auth-page,
.hx-contact-page {
  --nova-orbit-line: rgba(226, 240, 222, 0.25);
  --nova-orbit-line-soft: rgba(226, 240, 222, 0.14);
  --nova-orbit-dot: var(--acid, #d5fb84);
  --nova-orbit-glow: rgba(213, 251, 132, 0.34);
}
.nova-orbit {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--nova-orbit-line);
  border-radius: 50%;
  pointer-events: none;
}
.nova-orbit--dashed {
  border-color: var(--nova-orbit-line-soft);
  border-style: dashed;
}
.nova-orbit__rotator {
  transform-origin: 50% 50%;
  animation: nova-orbit-forward var(--nova-orbit-primary-duration) linear infinite;
  will-change: transform;
}
.nova-orbit__rotator--secondary {
  animation-name: nova-orbit-reverse;
  animation-duration: var(--nova-orbit-secondary-duration);
}
.nova-orbit > .nova-orbit__rotator--secondary > .nova-orbit__dot {
  --nova-orbit-dot-size: 6px;
}
.nova-orbit > .nova-orbit__rotator {
  position: absolute;
  inset: 0;
}
svg .nova-orbit__rotator {
  transform-box: view-box;
  transform-origin: center;
}
.nova-orbit > .nova-orbit__rotator > .nova-orbit__dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--nova-orbit-dot-size);
  height: var(--nova-orbit-dot-size);
  border-radius: 50%;
  background: var(--nova-orbit-dot);
  box-shadow:
    0 0 0 calc(var(--nova-orbit-dot-size) * 0.65)
      color-mix(
        in srgb,
        var(--nova-orbit-dot) var(--nova-orbit-glow-ring-opacity),
        transparent
      ),
    0 0 calc(var(--nova-orbit-dot-size) * var(--nova-orbit-glow-radius))
      var(--nova-orbit-glow);
  transform: translate(-50%, -50%);
}
svg .nova-orbit__dot {
  position: static;
  fill: var(--nova-orbit-dot);
  stroke: none;
  filter: drop-shadow(0 0 6px var(--nova-orbit-dot));
}

/* ==========================================================
   NOVA — 404 ORBIT MODIFIER

   Keeps the page composition while using the shared orbit motion.
========================================================== */
.nova-orbit--404 {
  position: absolute;
  inset-block-start: 48%;
  inset-inline-start: 50%;
  z-index: 0;
  translate: -50% -50%;
}
.nova-orbit--404-outer {
  width: min(calc(100vw - 24px), clamp(280px, 76vmin, 980px));
  border-color: color-mix(
    in srgb,
    var(--nova-orbit-line) 54%,
    transparent
  );
}
.nova-orbit--404-inner {
  width: min(calc(78vw - 24px), clamp(218px, 57vmin, 730px));
  border-color: color-mix(
    in srgb,
    var(--nova-orbit-line-soft) 70%,
    transparent
  );
}
@media (max-width: 767px) {
  .nova-orbit--404-outer {
    width: min(calc(100vw - 24px), clamp(280px, 92vw, 680px));
  }
  .nova-orbit--404-inner {
    width: min(calc(78vw - 24px), clamp(218px, 72vw, 490px));
  }
}

/* Pointer ambience moves the composition, never the orbital physics. */
.nova-home .home-classic-orbit {
  position: absolute;
  transform: translate3d(
    var(--nova-orbit-shift-x, 0px),
    var(--nova-orbit-shift-y, 0px),
    0
  );
  will-change: transform;
}
@keyframes nova-orbit-forward {
  to {
    transform: rotate(360deg);
  }
}
@keyframes nova-orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nova-orbit__rotator {
    animation: none;
  }
}

/* ==========================================================
   NOVA — NOVA FORMS
========================================================== */
/* ==========================================================
   NOVA — GLOBAL FORM SYSTEM
========================================================== */

body.dark {
  --nova-field-bg: color-mix(in srgb, var(--nova-surface) 92%, #fff 8%);
  --nova-field-text: var(--nova-text, #f2f5ed);
  --nova-field-border: rgba(236, 243, 232, 0.2);
  --nova-field-placeholder: #aab4ac;
  --nova-field-success: #a9d56b;
  --nova-focus-ring: rgba(242, 245, 237, 0.62);
}

/* Every textual control receives a readable theme color before enhancement. */
body.nova-shell
  :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
        [type="hidden"]
      ),
    textarea,
    select
  ) {
  color: var(--nova-field-text);
  -webkit-text-fill-color: currentColor;
  caret-color: var(--nova-field-focus);
}

/* Textual controls share one surface, boundary and motion language. */
html body.nova-shell
  :is(input, textarea, select).nova-control:where(
    :not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
        [type="hidden"]
      )
  ) {
  width: 100%;
  min-width: 0;
  min-height: var(--nova-field-height);
  padding-block: 13px;
  padding-inline: 16px 44px;
  border: 1px solid var(--nova-field-border);
  border-radius: var(--nova-field-radius);
  color: var(--nova-field-text);
  background: var(--nova-field-bg);
  caret-color: var(--nova-field-focus);
  font: inherit;
  line-height: 1.45;
  transition:
    border-color var(--nova-motion-fast, 180ms) ease,
    box-shadow var(--nova-motion-fast, 180ms) ease,
    background-color var(--nova-motion-fast, 180ms) ease;
}
html[dir="rtl"]
  body.nova-shell
  :is(input, textarea, select).nova-control:where(
    :not([type="checkbox"]):not([type="radio"])
  ) {
  padding-inline: 16px 44px;
}
body.nova-shell textarea.nova-control {
  min-height: 128px;
  resize: vertical;
}
body.nova-shell select.nova-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
html[dir="rtl"] body.nova-shell select.nova-control {
  background-position: 20px 50%, 15px 50%;
}
html body.nova-shell
  :is(input, textarea, select).nova-control:where(
    :not([type="checkbox"]):not([type="radio"])
  ):focus {
  outline: 0;
  border-color: var(--nova-field-focus);
  box-shadow: inset 0 -2px 0 var(--nova-field-focus);
}
html body.nova-shell
  :is(input, textarea, select).nova-control:where(
    :not([type="checkbox"]):not([type="radio"])
  ):focus-visible {
  outline: 0;
  border-block-end-color: var(--nova-field-focus);
  box-shadow: inset 0 -3px 0 var(--nova-field-focus);
}
body.nova-shell .nova-control::placeholder {
  color: var(--nova-field-placeholder);
  opacity: 0.72;
}

/* Composite controls own one boundary instead of nesting rectangles. */
html body.nova-shell
  :is(
    .nova-search-field,
    .hx-faq-search,
    .browse-search,
    .home-curation-news-form > div,
    .nova-prefooter form > div,
    .newsletter > div
  )
  > .nova-control {
  min-height: inherit;
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html body.nova-shell
  :is(
    .nova-search-field,
    .hx-faq-search,
    .browse-search,
    .home-curation-news-form > div,
    .nova-prefooter form > div,
    .newsletter > div
  )
  > .nova-control:focus {
  border: 0;
  box-shadow: none;
}
html body.nova-shell
  :is(
    .nova-search-field,
    .hx-faq-search,
    .browse-search,
    .home-curation-news-form > div,
    .nova-prefooter form > div,
    .newsletter > div
  )
  > .nova-control:focus-visible {
  outline: 0;
}
html body.nova-shell
  :is(
    .nova-search-field,
    .hx-faq-search,
    .browse-search,
    .home-curation-news-form > div,
    .nova-prefooter form > div,
    .newsletter > div
  ):focus-within {
  border-block-end-color: var(--nova-field-focus);
  box-shadow: inset 0 -2px 0 var(--nova-field-focus);
}

/* ==========================================================
   NOVA — FORM STATES
========================================================== */
body.nova-shell .nova-control[aria-invalid="true"],
body.nova-shell .nova-control.is-error {
  border-color: var(--nova-field-error);
  box-shadow: inset 0 -2px 0 var(--nova-field-error);
}
body.nova-shell .nova-control.is-success {
  border-color: var(--nova-field-success);
  box-shadow: inset 0 -2px 0 var(--nova-field-success);
}
body.nova-shell .nova-control:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

/* Keyboard focus uses the NOVA active line, never an external rectangle. */
html
  body.nova-shell
  :is(.nova-experience, main, .nova-search-panel)
  :is(input, textarea, select).nova-control:focus-visible {
  outline: 0;
  border-block-end-color: var(--nova-field-focus);
  box-shadow: inset 0 -3px 0 var(--nova-field-focus);
}
html
  body.nova-shell
  :is(
    .nova-search-field,
    .hx-faq-search,
    .browse-search,
    .home-curation-news-form > div,
    .nova-prefooter form > div,
    .newsletter > div
  )
  > :is(input, textarea, select).nova-control:focus-visible {
  outline: 0;
  box-shadow: none;
}
html body.nova-shell .nova-prefooter form > div:focus-within,
html body.nova-shell footer .newsletter > div:focus-within,
html body.nova-shell .home-curation-news-form > div:focus-within,
html body.nova-shell .nova-search-field:focus-within,
html body.nova-shell .hx-faq-search:focus-within,
html body.nova-shell .browse-search:focus-within {
  border-block-end-color: var(--nova-field-focus);
  box-shadow: inset 0 -3px 0 var(--nova-field-focus);
}
body.nova-shell .nova-control[readonly] {
  background: var(--nova-surface-2);
}
body.nova-shell .nova-field-shell,
body.nova-shell :is(.field, .hx-field, .nova-field) {
  position: relative;
  min-width: 0;
}
body.nova-shell
  :is(.field, .hx-field, .nova-field):focus-within
  > :is(label, legend) {
  color: var(--nova-field-text);
}
body.nova-shell .hx-password .nova-control {
  padding-inline-end: 56px;
}
body.nova-shell .hx-password button {
  inset-inline-end: 5px;
  inset-block-end: 5px;
  border-radius: 50%;
  color: var(--nova-field-placeholder);
}
body.nova-shell .hx-password button:hover {
  color: var(--nova-field-text);
  background: var(--nova-surface-2);
}
body.nova-shell .hx-password button:focus-visible {
  outline: 2px solid var(--nova-focus-ring);
  outline-offset: 1px;
}

/* Native selection controls retain semantics with NOVA geometry. */
body.nova-shell input.nova-choice[type="checkbox"],
body.nova-shell input.nova-choice[type="radio"] {
  appearance: none;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 0;
  border: 1px solid var(--nova-field-border);
  background: var(--nova-field-bg);
  display: inline-grid;
  place-content: center;
  transition:
    border-color var(--nova-motion-fast, 180ms) ease,
    background-color var(--nova-motion-fast, 180ms) ease,
    transform var(--nova-motion-fast, 180ms) ease;
}
body.nova-shell input.nova-choice[type="checkbox"] {
  border-radius: 4px;
}
body.nova-shell input.nova-choice[type="radio"] {
  border-radius: 50%;
}
body.nova-shell input.nova-choice::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--nova-on-accent);
  transform: scale(0);
  transition: transform var(--nova-motion-fast, 180ms) ease;
}
body.nova-shell input.nova-choice[type="checkbox"]::before {
  clip-path: polygon(14% 44%, 0 61%, 40% 100%, 100% 22%, 82% 6%, 38% 70%);
}
body.nova-shell input.nova-choice[type="radio"]::before {
  border-radius: 50%;
}
body.nova-shell input.nova-choice:checked {
  border-color: var(--nova-field-focus);
  background: var(--nova-field-focus);
}
body.nova-shell input.nova-choice:checked::before {
  transform: scale(1);
}
body.nova-shell input.nova-choice:focus-visible {
  outline: 2px solid var(--nova-focus-ring);
  outline-offset: 3px;
}

/* Autofill stays inside the active theme instead of painting a foreign surface. */
body.nova-shell .nova-control:-webkit-autofill,
body.nova-shell .nova-control:-webkit-autofill:hover,
body.nova-shell .nova-control:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px var(--nova-field-bg) inset;
  -webkit-text-fill-color: var(--nova-field-text);
  caret-color: var(--nova-field-text);
  transition: background-color 9999s ease-out;
}

/* Accent buttons always use semantic dark foreground. */
body.nova-shell :is(.btn.primary, button.primary, [type="submit"].primary) {
  color: var(--nova-on-accent);
}
@media (max-width: 560px) {
  :root {
    --nova-field-height: 52px;
  }
  body.nova-shell :is(.fields, .hx-contact-form form, .nova-account-form) {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nova-shell .nova-control,
  body.nova-shell .nova-choice,
  body.nova-shell .nova-choice::before {
    transition: none;
  }
}
