/* =========================================================
   Aarymantra — storefront chrome
   Loaded after style.css and shares its tokens.
   Styles the header, footer, hero, catalog, cart, product
   pages and common full-page layouts.
   ========================================================= */

/* ================= Announcement bar ================= */
.announce {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0c1022 0%, #1a1a3d 50%, #0c1022 100%);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.announce::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(201, 138, 36, 0.22),
      transparent);
  transform: translateX(-100%);
  animation: lcShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lcShimmer {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(246, 247, 251, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.site-header>.wrap {
  position: relative;
  overflow: visible;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px -8px rgba(67, 56, 202, 0.55);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a,
.header-login {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  transition: right 0.28s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.main-nav a:hover,
.main-nav a.active,
.header-login:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search {
  display: inline-flex;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-search svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: none;
}

.header-search:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-cart svg {
  width: 21px;
  height: 21px;
}

.header-cart:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.header-cart[hidden] {
  display: none !important;
}

.cart-count {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--paper);
}

.account-control {
  position: relative;
}

.account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.account-toggle:hover,
.header-cart:hover,
.header-search:hover {
  color: var(--brand);
}

.account-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin: -4px 0 0 2px;
  transition: transform 0.2s ease;
}

.account-toggle[aria-expanded="true"] .account-chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  z-index: 120;
  min-width: 230px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: lcRise 0.2s ease-out;
}

.account-menu[hidden] {
  display: none;
}

.account-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.87rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.account-menu a:hover {
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.account-menu a[data-logout] {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 14px;
  color: var(--danger);
}

.account-menu a[data-logout]:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

.mobile-account-section {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.header-actions a:focus-visible,
.account-toggle:focus-visible,
.nav-toggle:focus-visible,
.main-nav a:focus-visible,
.account-menu a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- Header responsive ---------- */
@media (max-width: 950px) {
  .site-header>.wrap {
    height: auto !important;
    min-height: 72px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
  }

  .site-header .brand {
    order: 1;
  }

  .site-header .header-actions {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }

  .site-header .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
  }

  .site-header .main-nav {
    order: 3;
    position: static !important;
    inset: auto !important;
    display: none !important;
    flex: 1 0 100%;
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 4px 14px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: none;
    transform: none !important;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .site-header .main-nav.open {
    display: flex !important;
  }

  .site-header .main-nav>a {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid var(--ivory-deep);
    white-space: normal;
    font-size: 0.95rem;
  }

  .site-header .main-nav>a::after {
    display: none;
  }

  .site-header .mobile-account-section {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 14px;
  }

  .mobile-account-section>strong {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.66rem;
    font-weight: 800;
    margin: 0 0 8px;
  }

  .mobile-account-section a {
    display: block;
    padding: 12px 6px;
    color: var(--ink);
    border-bottom: 1px solid var(--ivory-deep);
    font-size: 0.92rem;
  }

  .site-header .header-login {
    display: inline-flex !important;
    font-size: 0.8rem !important;
    padding: 6px 0;
  }

  .site-header .header-cart span {
    display: none;
  }

  .site-header .header-cart {
    padding: 6px;
  }

  .site-header .account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    max-height: min(70vh, 460px);
    overflow: auto;
  }

  .site-header .header-search {
    display: inline-flex;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 390px) {
  .site-header .header-actions {
    gap: 6px;
  }

  .site-header .header-search {
    display: none;
  }

  .site-header .header-login {
    font-size: 0.74rem !important;
  }

  .site-header .brand {
    gap: 8px;
    font-size: 1.1rem;
  }
}

/* ================= Footer ================= */
.site-footer {
  background: #7681c2;
  color: #C8CCDA;
  padding: 64px 0 24px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(201, 138, 36, 0.35),
      transparent);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, var(--gold), #a06d10);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(201, 138, 36, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand p {
  color: #8B92A6;
  max-width: 280px;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  margin: 4px 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: #8B92A6;
  font-size: 0.86rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-soft);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  color: #737A90;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ================= Hero ================= */
.lc-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 620px at 82% 15%, rgba(201, 138, 36, 0.14), transparent 62%),
    radial-gradient(900px 500px at 10% 100%, rgba(67, 56, 202, 0.4), transparent 60%),
    linear-gradient(135deg, #0c1022 0%, #1a1a3d 55%, #0a0c18 100%);
}

.lc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 72% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}

.lc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 580px;
  gap: 40px;
}

.lc-hero-copy {
  padding: 64px 0;
}

.lc-hero .eyebrow {
  color: var(--gold-soft);
  letter-spacing: 0.22em;
}

.lc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 22px 0;
  font-weight: 500;
  color: #f6f1e6;
}

.lc-hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.lc-hero-copy>p {
  max-width: 480px;
  color: rgba(246, 241, 230, 0.78);
  line-height: 1.7;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.lc-hero .btn {
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
}

.lc-hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #14121c;
  box-shadow: 0 12px 30px -10px rgba(201, 138, 36, 0.55);
}

.lc-hero .btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.lc-hero .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.lc-hero .btn-outline:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  gap: 22px;
  margin-top: 54px;
  color: rgba(246, 241, 230, 0.55);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  flex-wrap: wrap;
}

.hero-proof span {
  position: relative;
  padding-left: 14px;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero-index {
  position: absolute;
  right: 4.5%;
  bottom: 20px;
  color: rgba(246, 241, 230, 0.32);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

.lc-device-art {
  height: 460px;
  position: relative;
  display: grid;
  place-items: center;
}

.device-screen {
  position: relative;
  z-index: 1;
  width: min(420px, 82%);
  height: 265px;
  border: 8px solid #2a304a;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 75% 28%, rgba(201, 138, 36, 0.35) 0, transparent 55%),
    linear-gradient(135deg, #141728, #1e2140 60%, #0f1120);
  box-shadow:
    0 40px 90px rgba(3, 5, 12, 0.75),
    0 0 0 1px rgba(201, 138, 36, 0.1) inset;
  display: flex;
  align-items: center;
  padding: 38px;
  animation: lcFloat 7s ease-in-out infinite;
}

@keyframes lcFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.device-screen>span {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f3ede0;
}

.cursor {
  color: var(--gold-soft);
  animation: lcBlink 1.05s steps(2, start) infinite;
}

@keyframes lcBlink {
  to {
    visibility: hidden;
  }
}

.device-base {
  position: absolute;
  z-index: 2;
  width: min(500px, 98%);
  height: 18px;
  bottom: 94px;
  background: linear-gradient(180deg, #5a5f7c, #2a2f4a 55%, #16182c);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  border-radius: 0 0 10px 10px;
}

.device-chip {
  position: absolute;
  right: 1%;
  bottom: 56px;
  border: 1px solid rgba(201, 138, 36, 0.5);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  background: rgba(10, 12, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.device-chip span {
  color: rgba(246, 241, 230, 0.4);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(201, 138, 36, 0.16);
  border-radius: 50%;
  transform: rotate(-25deg);
  animation: lcOrbitPulse 6s ease-in-out infinite;
}

.orbit-two {
  animation-delay: -3s;
}

@keyframes lcOrbitPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.orbit-one {
  width: 500px;
  height: 285px;
}

.orbit-two {
  width: 600px;
  height: 355px;
}

@media (max-width: 992px) {
  .lc-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {

  .lc-hero,
  .lc-hero-inner {
    min-height: 0;
  }

  .lc-hero-inner {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
    padding: 32px 0 20px;
  }

  .lc-hero-copy {
    padding: 42px 0 12px;
  }

  .lc-hero-copy>p {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
    margin-top: 30px;
  }

  .lc-device-art {
    height: 320px;
  }

  .device-screen {
    height: 210px;
  }

  .device-base {
    bottom: 46px;
  }

  .orbit-one {
    width: 380px;
    height: 220px;
  }

  .orbit-two {
    width: 460px;
    height: 290px;
  }
}

@media (max-width: 560px) {
  .hero-index {
    display: none;
  }

  .lc-device-art {
    height: 260px;
  }

  .device-screen {
    height: 170px;
    padding: 22px;
  }

  .device-screen>span {
    font-size: 1.35rem;
  }

  .device-base {
    bottom: 36px;
    height: 14px;
  }

  .device-chip {
    bottom: 14px;
    right: 4%;
    font-size: 0.66rem;
    padding: 8px 11px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 52px;
  }
}

/* ================= Section heads / category grid ================= */
.lc-section-head,
.section-head.lc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 30px;
}

.lc-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 8px 0 0;
  letter-spacing: -0.025em;
}

.lc-section-head p {
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-tile {
  position: relative;
  min-height: 156px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  overflow: hidden;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 138, 36, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-tile:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.category-tile:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 18px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.category-tile:hover .category-icon {
  color: var(--gold);
  transform: translateY(-3px);
}

.category-tile strong {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.category-tile small {
  color: var(--ink-soft);
  margin-top: 2px;
  font-size: 0.84rem;
}

.tile-arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.25s ease;
}

.category-tile:hover .tile-arrow {
  color: var(--brand);
  transform: translate(3px, -3px);
}

@media (max-width: 950px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-tile {
    min-height: 132px;
    padding: 16px;
  }

  .category-icon {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .category-tile strong {
    font-size: 0.9rem;
  }

  .category-tile small {
    font-size: 0.74rem;
  }
}

/* ================= Product grid / card ================= */
.lc-featured {
  background: linear-gradient(180deg, var(--ivory-deep) 0%, var(--ivory) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-results,
.product-grid,
.product-card,
.product-card .card-link,
.product-card .meta,
.product-card .price {
  min-width: 0;
}

.product-card .name,
.product-card .desc,
.product-card .price {
  overflow-wrap: anywhere;
}

.product-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.product-card .thumb {
  position: relative;
  height: 210px;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  max-width: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .thumb img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  border-radius: var(--radius-pill);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.product-card .product-category {
  margin: 14px 0 6px;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.product-card .name {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  min-height: 42px;
  line-height: 1.35;
}

.product-card .desc {
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.product-card .product-model {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.product-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 12px;
  gap: 10px;
}

.product-card .price,
.price-final {
  display: block;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
}

.price-original {
  display: block;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.82em;
  font-weight: 500;
}

.product-price .product-badge {
  position: static;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.product-saving {
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 600;
}

.product-saving[hidden] {
  display: none;
}

.product-card .availability {
  font-size: 0.72rem;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-card .availability.in {
  color: var(--success);
}

.product-card .availability.out {
  color: var(--danger);
}

.product-card .add,
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  font-weight: 600;
}

.product-card .add {
  max-width: 100%;
  white-space: normal;
}

.product-card .add:hover,
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.loading-state,
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 52px 22px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.product-pagination[hidden] {
  display: none;
}

.pagination-summary {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination-buttons button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

.pagination-buttons button:hover:not(:disabled),
.pagination-buttons button[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--paper);
}

.pagination-buttons button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

body[data-role="ADMIN"] .header-cart,
body[data-role="ADMIN"] #cartOverlay,
body[data-role="ADMIN"] #cartDrawer,
body[data-role="ADMIN"] .cart-foot,
body[data-role="ADMIN"] .product-card .add {
  display: none !important;
}

@media (max-width: 950px) {

  .product-grid,
  .catalog-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .product-grid,
  .catalog-results .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-card .thumb {
    height: 150px;
  }

  .product-card .name {
    font-size: 0.86rem;
    min-height: unset;
  }

  .product-card .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-card .add {
    width: 100%;
    min-height: 42px;
  }
}

@media (max-width: 480px) {
  .product-card .thumb {
    height: 130px;
  }

  .product-card .name {
    font-size: 0.82rem;
  }

  .product-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ================= Build / promo bands ================= */
.lc-build {
  background: var(--ivory-deep);
  padding: 84px 0;
  overflow: hidden;
  position: relative;
}

.lc-build::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201, 138, 36, 0.18), transparent 65%);
  pointer-events: none;
}

.lc-build-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.lc-build h2,
.lc-promo h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 14px 0;
}

.lc-build p {
  color: var(--ink-soft);
  max-width: 420px;
  line-height: 1.72;
  margin: 18px 0 28px;
}

.build-graphic {
  height: 340px;
  position: relative;
  display: grid;
  place-items: center;
}

.pc-case {
  position: relative;
  width: 180px;
  height: 260px;
  border: 6px solid #14121c;
  border-radius: 14px;
  background: linear-gradient(140deg, #2a2f4a, #16182c);
  box-shadow: 20px 25px 45px rgba(12, 15, 23, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 20px;
}

.pc-case i {
  display: block;
  height: 51px;
  border-radius: 8px;
  border: 1px solid #3D4568;
  background: linear-gradient(90deg, #2A2F49, #181B2B 50%, var(--brand));
}

.spec {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spec:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.spec b {
  display: block;
  color: var(--muted);
  font-size: 0.57rem;
  margin-top: 4px;
  letter-spacing: 0.14em;
}

.spec-gpu {
  right: 6%;
  top: 45px;
}

.spec-cpu {
  left: 2%;
  top: 95px;
}

.spec-ram {
  right: 1%;
  bottom: 95px;
}

.spec-ssd {
  left: 4%;
  bottom: 44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.trust-grid article {
  padding: 26px 22px 28px 0;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}

.trust-grid article:hover {
  background: rgba(201, 138, 36, 0.05);
}

.trust-grid article+article {
  padding-left: 24px;
}

.trust-grid article:last-child {
  border: 0;
}

.trust-grid article>span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
}

.trust-grid h3 {
  font-size: 1rem;
  margin: 18px 0 8px;
}

.trust-grid p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.lc-promo {
  padding: 76px 0;
  background:
    radial-gradient(900px 420px at 82% 10%, rgba(201, 138, 36, 0.24), transparent 62%),
    linear-gradient(120deg, #0c1022 0%, #1a1a3d 55%, #0a0c18 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lc-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 20% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.lc-promo .wrap {
  position: relative;
  z-index: 1;
}

.lc-promo .eyebrow {
  color: var(--gold-soft);
}

.lc-promo h2 {
  margin: 14px 0 28px;
  color: #fff;
}

.lc-promo .btn-light,
.lc-build .btn-light {
  background: var(--surface);
  color: var(--brand-dark);
  padding: 14px 22px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.lc-promo .btn-light {
  background: var(--gold);
  color: #14121c;
  border-color: var(--gold);
}

.lc-promo .btn-light:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(201, 138, 36, 0.5);
}

.lc-build .btn-light {
  background: var(--brand);
  color: var(--paper);
}

.lc-build .btn-light:hover {
  background: var(--brand-dark);
  color: var(--paper);
  transform: translateY(-2px);
}

@media (max-width: 950px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(n+3) {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .trust-grid article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .lc-build {
    padding: 60px 0;
  }

  .lc-build-inner {
    grid-template-columns: 1fr;
  }

  .build-graphic {
    height: 280px;
  }

  .lc-promo {
    padding: 56px 0;
    text-align: center;
  }

  .lc-promo .btn-light,
  .lc-build .btn-light {
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }
}

/* ================= Cart drawer ================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 20, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 200;
  backdrop-filter: blur(2px);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 210;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  clip-path: inset(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-head h3 {
  margin: 0;
  font-family: var(--font-display);
}

.cart-head button {
  border: none;
  background: var(--paper);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: var(--transition);
}

.cart-head button:hover {
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 24px;
}

.cart-empty {
  padding: 46px 0;
  text-align: center;
  color: var(--ink-soft);
}

.cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ivory-deep);
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 12px;
  padding: 6px;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 20px 24px 24px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 1.08rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.qty-control button {
  border: none;
  background: var(--surface);
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: var(--ink);
  transition: var(--transition);
}

.qty-control button:hover {
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.qty-control span {
  min-width: 26px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

/* ================= Toast ================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 14px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s ease;
  z-index: 300;
  font-weight: 600;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= Shop / catalog ================= */
.shop-page {
  padding: 56px 0 84px;
}

.shop-intro {
  margin-bottom: 34px;
}

.shop-intro h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  letter-spacing: -0.035em;
  margin: 12px 0;
}

.shop-intro p {
  color: var(--ink-soft);
  max-width: 560px;
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 0 18px;
  background: var(--surface);
  transition: var(--transition);
}

.catalog-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.catalog-search span {
  font-size: 1.3rem;
  color: var(--muted);
}

.catalog-search input {
  height: 46px;
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  font: inherit;
  background: transparent;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.sort-select {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 32px 10px 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 32px;
}

.catalog-sidebar {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.catalog-sidebar h2 {
  font-size: 0.95rem;
  margin: 4px 0 16px;
}

.filter-pills {
  display: grid;
  gap: 4px;
}

.filter-pills .pill {
  padding: 11px 14px;
  text-align: left;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pills .pill:hover,
.filter-pills .pill.active {
  background: var(--brand-tint);
  border-left-color: var(--brand);
  color: var(--brand-dark);
  font-weight: 700;
}

.sidebar-note {
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 22px;
}

.catalog-result-head {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  margin: 4px 0 16px;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 950px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-sidebar {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .filter-pills {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 6px;
  }

  .filter-pills .pill {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
  }

  .filter-pills .pill.active {
    border-color: var(--brand);
    background: var(--brand-tint);
  }

  .sidebar-note {
    display: none;
  }
}

@media (max-width: 420px) {
  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-label {
    justify-content: space-between;
  }

  .shop-page {
    padding: 40px 0 60px;
  }
}

/* ================= Product detail overrides ================= */
.product-page {
  color: var(--ink);
}

.product-title {
  color: var(--ink);
  font-family: var(--font-display);
}

.rating-average {
  color: var(--brand);
}

.review-card,
.rating-summary {
  border-radius: var(--radius);
  border-color: var(--line);
}

.review-stars,
.verified {
  color: var(--brand);
}

.product-page .product-actions .btn {
  border-radius: var(--radius-sm);
}

.product-page .product-image {
  border-radius: var(--radius);
  background: var(--paper);
}

/* ================= Checkout snippet overrides ================= */
.checkout-layout {
  gap: 48px !important;
}

.checkout-step h3,
.order-summary h3 {
  color: var(--ink);
}

.checkout-step h3 .num {
  background: var(--brand) !important;
}

.pay-option {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  transition: var(--transition);
}

.pay-option.selected {
  border-color: var(--brand) !important;
  background: var(--brand-tint) !important;
}

.pay-option input {
  accent-color: var(--brand) !important;
}

#checkoutValidation {
  color: var(--danger) !important;
}

#checkoutForm input {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font: inherit;
  max-width: 100%;
}

.order-summary {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--paper) !important;
}

@media (max-width: 560px) {
  .checkout-layout {
    gap: 24px !important;
  }
}

/* ================= Info pages ================= */
.info-page {
  min-height: 54vh;
  background: var(--ivory-deep);
  padding: 80px 0;
}

.info-copy {
  max-width: 900px;
}

.info-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  margin: 14px 0 20px;
}

.info-copy>p {
  max-width: 680px;
  color: var(--ink-soft);
  line-height: 1.78;
  font-size: 1.02rem;
}

.info-copy h2 {
  font-size: 1.35rem;
  margin: 34px 0 10px;
}

.info-copy details,
.info-copy section {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.info-copy details summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.02rem;
  padding: 4px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-copy details summary::-webkit-details-marker {
  display: none;
}

.info-copy details summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.info-copy details[open] summary::after {
  transform: rotate(45deg);
}

.info-copy details p,
.info-copy section p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.info-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .info-page {
    padding: 50px 0;
  }

  .info-actions {
    flex-direction: column;
  }

  .info-actions .btn {
    width: 100%;
    text-align: center;
  }
}

.contact-layout input,
.contact-layout select,
.contact-layout textarea {
  max-width: 100%;
  box-sizing: border-box;
}

/* ================= Admin forms ================= */
.category-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: start;
}

.category-admin-layout>section {
  min-width: 0;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list .value-card {
  margin: 0 !important;
  padding: 18px;
}

.admin-list button {
  min-height: 40px;
}

.admin-list [data-delete] {
  color: var(--danger);
  border-color: #F3C7C7;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-products,
.orders-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 760px) {
  .category-admin-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-admin-layout .btn {
    min-height: 44px;
  }

  .admin-actions .btn {
    flex: 1;
  }
}

.category-form-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-form-card .form-field {
  margin-bottom: 18px;
}

.category-form-card textarea {
  min-height: 110px;
  resize: vertical;
}

/* Floating WhatsApp shortcut. */
.whatsapp-float {
  display: grid;
  position: fixed;
  right: calc(env(safe-area-inset-right, 0px) + 18px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 180;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  background: linear-gradient(145deg, #25d366, #0b8f50);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 97, 56, 0.34), 0 0 0 6px rgba(37, 211, 102, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #0f7745;
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 97, 56, 0.32);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 4px;
}

.whatsapp-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.whatsapp-logo path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-logo path:last-child {
  fill: currentColor;
}

.instagram-mark {
  display: inline-grid;
  flex: 0 0 30px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #7b35bd 0%, #d52d78 52%, #f6a63a 100%);
  color: #fff;
}

.instagram-mark svg {
  width: 19px;
  height: 19px;
}

.instagram-link {
  gap: 10px;
}

.admin-list-search {
  display: grid;
  gap: 7px;
  margin: 14px 0 18px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.admin-list-search input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 500 .94rem var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  transition: var(--transition);
}

.admin-list-search input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.product-pagination span {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
}

.product-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .whatsapp-float {
    position: fixed !important;
    right: max(14px, env(safe-area-inset-right, 0px)) !important;
    bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    width: 58px;
    height: 58px;
    z-index: 9999;
  }

  .contact-links .whatsapp-link,
  .home-page .hero-whatsapp {
    display: inline-flex;
  }
}

/* Refine homepage hierarchy using its existing Inter + Fraunces font pair. */
.home-page .lc-hero h1 {
  font-size: clamp(2.65rem, 5.8vw, 4.6rem);
  line-height: 1;
  margin: 18px 0;
  letter-spacing: -0.04em;
}

.home-page .lc-hero-copy>p {
  max-width: 450px;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.72;
}

.home-page .lc-section-head h2,
.home-page .lc-build h2,
.home-page .lc-promo h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}

.home-page .lc-featured {
  background: var(--paper);
}

.home-page .lc-featured .product-card {
  padding: 10px;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.home-page .lc-featured .product-card:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: translateY(-2px);
}

.home-page .lc-featured .product-card .thumb {
  border-radius: 5px;
  background: transparent;
}

.home-page .hero-whatsapp {
  border-color: #168f55;
  background: #168f55;
  color: #fff;
}

.home-page .hero-whatsapp:hover {
  border-color: #117443;
  background: #117443;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium clay surface refinements shared by storefront and legacy pages. */
:root {
  --clay-shadow: 0 12px 28px -16px rgba(42, 49, 91, .22), 0 3px 8px rgba(42, 49, 91, .045);
  --clay-inset: inset 0 2px 5px rgba(34, 42, 82, .055), 0 1px 0 rgba(255, 255, 255, .9);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  background: rgba(250, 251, 255, .9);
  border-color: var(--line);
}

.brand-mark {
  background: linear-gradient(145deg, #6258ee, #4338ca);
  box-shadow: 0 7px 16px -8px rgba(79, 70, 229, .62), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.nav-toggle,
.account-menu,
.category-tile,
.catalog-sidebar,
.product-card,
.pd-image-wrap,
.pd-product-info,
.pd-review-section,
.co-card,
.co-summary,
.checkout-card,
.cart-item,
.review-card,
.auth-card,
.value-card,
.admin-list,
.profile-card,
.order-card {
  border-color: var(--line);
  box-shadow: var(--clay-shadow);
}

.account-menu,
.catalog-sidebar,
.product-card,
.pd-image-wrap,
.pd-product-info,
.pd-review-section,
.co-card,
.co-summary,
.checkout-card,
.cart-item,
.review-card,
.auth-card,
.value-card,
.admin-list,
.profile-card,
.order-card {
  border-radius: var(--radius-lg);
}

.catalog-search,
.admin-list-search,
input.form-control,
select.form-control,
textarea.form-control,
.form-select,
.form-control {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  box-shadow: var(--clay-inset);
}

.catalog-search:focus-within,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus,
.form-select:focus,
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(185, 160, 255, .4), var(--clay-inset);
}

.btn,
button,
.product-card .add,
.co-submit,
.auth-submit {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn-primary,
.product-card .add,
.co-submit,
.auth-submit {
  background: linear-gradient(135deg, #5b52e8, #4338ca);
  border-color: #4f46e5;
  box-shadow: 0 8px 18px -11px rgba(79, 70, 229, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-primary:hover,
.product-card .add:hover,
.co-submit:hover,
.auth-submit:hover {
  box-shadow: 0 12px 22px -12px rgba(79, 70, 229, .72);
}

.main-nav a:focus-visible,
.header-actions a:focus-visible,
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.table-responsive,
.table {
  border-radius: var(--radius);
}

.table thead,
.table th {
  background: #F7F8FD;
}

.badge,
.availability,
.status-badge {
  border-radius: 999px;
}

/* Storefront hero keeps its dramatic contrast with the violet brand palette. */
.lc-hero {
  background: radial-gradient(900px 560px at 82% 12%, rgba(124, 58, 237, .25), transparent 62%),
    radial-gradient(850px 480px at 8% 100%, rgba(79, 70, 229, .34), transparent 60%),
    linear-gradient(135deg, #11152c 0%, #20204c 55%, #11152c 100%);
}

.announce {
  background: linear-gradient(90deg, #171936, #292657 50%, #171936);
}

@media (max-width: 768px) {

  .product-card,
  .category-tile,
  .co-card,
  .co-summary,
  .checkout-card {
    border-radius: 18px;
  }

  .btn,
  .product-card .add,
  .co-submit,
  .auth-submit {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Page level finishes for views with their own embedded component styles. */
body .auth-shell {
  background:
    radial-gradient(900px 520px at 12% 4%, rgba(79, 70, 229, .11), transparent 62%),
    radial-gradient(760px 520px at 100% 100%, rgba(124, 58, 237, .10), transparent 64%),
    linear-gradient(145deg, #f8f9fd, #eff1fa 58%, #f8f9fd);
}

body .auth-shell::before {
  opacity: .42;
}

body .auth-card,
body .history-card,
body .order-detail-card,
body .review-form-card,
body .checkout-card,
body .profile-card {
  border-color: #e7eaf2;
  box-shadow: 0 24px 58px -34px rgba(35, 43, 86, .34), 0 6px 18px rgba(35, 43, 86, .055);
}

body .history-card:hover {
  border-color: #c9c7fa;
}

body .orders-hero,
body .admin-db-hero {
  background:
    radial-gradient(720px 380px at 88% 0%, rgba(124, 58, 237, .10), transparent 62%),
    radial-gradient(720px 420px at 2% 100%, rgba(79, 70, 229, .09), transparent 64%),
    linear-gradient(135deg, #f4f5fc, #f8f9fd);
}

body .admin-sidebar {
  background: linear-gradient(155deg, #24234e, #14162c 76%);
  box-shadow: 0 22px 44px -24px rgba(24, 26, 61, .52), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body .co-card,
body .co-summary,
body .checkout-page .checkout-card,
body .order-summary,
body .category-form-card,
body .admin-list,
body .history-card,
body .value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
}

body .co-card,
body .co-summary,
body .checkout-page .checkout-card,
body .order-summary,
body .category-form-card,
body .admin-list {
  background: var(--surface);
}

body .co-summary,
body .order-summary {
  background: #f8f9fe;
}

body .catalog-search,
body .sort-select,
body .admin-list-search input,
body .auth-shell .input-group,
body .co-field input,
body .co-field select,
body .co-field textarea,
body .checkout-page input,
body .checkout-page select,
body .checkout-page textarea,
body .category-form-card input,
body .category-form-card select,
body .category-form-card textarea {
  border-color: var(--line-strong);
  box-shadow: var(--clay-inset);
}

body .product-card {
  box-shadow: var(--clay-shadow);
}

body .product-card:hover,
body .value-card:hover,
body .category-tile:hover {
  box-shadow: 0 20px 40px -22px rgba(42, 49, 91, .28), 0 7px 16px rgba(42, 49, 91, .065);
}

body .pd-gallery-main,
body .product-page .product-image {
  background: #f8f9fd;
}

body .admin-db-content,
body .orders-content {
  min-width: 0;
}

body .table-responsive,
body .orders-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {

  body .admin-db-layout,
  body .category-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body .admin-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  body .auth-shell {
    min-height: auto;
    padding: 24px 12px;
  }

  body .auth-panel {
    padding: 28px 22px;
  }

  body .history-card {
    padding: 20px;
  }

  body .section-tight {
    padding-block: 44px;
  }

  body .admin-db-content,
  body .orders-content {
    padding-block: 36px 52px;
  }

  body .table-responsive table {
    min-width: 620px;
  }
}

@media (max-width: 390px) {

  body .wrap,
  body .container {
    width: min(100% - 24px, var(--maxw));
    padding-inline: 0;
  }

  body .auth-panel {
    padding: 24px 18px;
  }

  body .history-card {
    padding: 16px;
  }

  body .product-card {
    padding: 12px;
  }

  body .hero-cta .btn,
  body .info-actions .btn {
    white-space: normal;
  }
}

/* ================= Aarymantra brand and storefront ================= */
:root {
  --ink: #29242f;
  --ink-soft: #625a6b;
  --muted: #777080;
  --paper: #fcfaff;
  --ivory: #fcfaff;
  --ivory-deep: #f5efff;
  --line: #ece7f4;
  --line-strong: #d9cdea;
  --forest: #7c3aed;
  --forest-dark: #6d28d9;
  --forest-tint: #f3e8ff;
  --brand: #7c3aed;
  --brand-dark: #6d28d9;
  --brand-tint: #f3e8ff;
  --gold: #8b5cf6;
  --gold-soft: #ddd6fe;
  --accent: #7c3aed;
  --font-display: "Playfair Display", "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-xs: 0 2px 6px rgba(65, 35, 100, .04), 0 1px 2px rgba(65, 35, 100, .04);
  --shadow-sm: 0 8px 22px -12px rgba(65, 35, 100, .18), 0 2px 6px rgba(65, 35, 100, .04);
  --shadow: 0 18px 42px -20px rgba(65, 35, 100, .22), 0 5px 14px rgba(65, 35, 100, .06);
  --shadow-lg: 0 30px 70px -28px rgba(65, 35, 100, .28), 0 10px 24px rgba(65, 35, 100, .07);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.announce {
  background: var(--forest) !important;
  color: #fff;
  font-size: .68rem;
  letter-spacing: .12em;
}

.announce::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent) !important;
}

.site-header {
  background: rgba(243, 232, 255, .96) !important;
  border-color: rgba(124, 58, 237, .12);
}

.brand {
  gap: 10px;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -.035em;
}

.brand-mark {
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .38);
}

.main-nav a::after {
  background: var(--gold);
}

.main-nav a:hover,
.main-nav a.active,
.header-login:hover {
  color: var(--forest);
}

.nav-toggle:hover,
.header-cart:hover,
.header-search:hover {
  color: var(--forest);
  border-color: var(--forest);
}

.site-footer {
  background: #f3e8ff;
  color: #625a6b;
}

.site-footer .brand,
.site-footer h4 {
  color: #29242f;
}

.site-footer .brand-mark {
  background: #7c3aed;
  color: #fff;
  box-shadow: none;
}

.site-footer a {
  color: #625a6b;
}

.site-footer a:hover {
  color: #6d28d9;
}

.site-footer .footer-bottom {
  border-color: #ddd6fe;
}

.about-hero,
.contact-hero,
.policy-hero,
.faq-hero {
  background: var(--ivory-deep) !important;
}

body .about-hero-art {
  background: url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1000&q=85") center / cover no-repeat !important;
}

body .auth-shell {
  background: var(--ivory-deep) !important;
}

body .contact-band,
body .lc-promo {
  background: var(--forest) !important;
}

body .contact-band .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

body .contact-band .btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.lc-featured,
.shop-page {
  background: var(--paper) !important;
}

.product-card {
  border-radius: 22px;
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  border-color: rgba(124, 58, 237, .2);
  box-shadow: var(--shadow);
}

.product-card .thumb {
  border-radius: 16px;
  background: #f4efe4;
}

.product-card .add,
.btn-primary,
.cart-foot .btn-block {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.product-card .add:hover,
.btn-primary:hover,
.cart-foot .btn-block:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

/* Homepage editorial layout */
.home-page {
  min-width: 0;
}

.am-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.am-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  min-height: min(690px, calc(100svh - 105px));
  padding-block: 55px 68px;
}

.am-hero-copy {
  padding: 12px 0 20px clamp(0px, 2vw, 28px);
}

.am-hero .eyebrow,
.am-hero-copy .eyebrow {
  color: #62764d;
}

.am-hero h1,
.am-intro h2,
.am-ritual h2,
.am-botanicals h2,
.am-story h2,
.am-faq h2 {
  color: var(--forest);
  font-size: clamp(2.8rem, 5.4vw, 5.35rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.am-hero h1 {
  margin: 24px 0 20px;
}

.am-hero h1 em,
.am-intro h2 em,
.am-ritual h2 em,
.am-botanicals h2 em,
.am-story h2 em {
  color: #8e7444;
  font-weight: 500;
}

.am-hero-copy>p {
  max-width: 470px;
  color: #64675e;
  font-size: 1.04rem;
  line-height: 1.8;
}

.am-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.am-hero .btn,
.am-botanicals .btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 3px;
  font-size: .85rem;
  letter-spacing: .015em;
}

.am-hero .btn span,
.am-botanicals .btn span {
  margin-left: 10px;
}

.am-story-link,
.am-story-link:hover {
  color: var(--forest);
  font-size: .88rem;
  font-weight: 600;
}

.am-story-link span {
  margin-left: 8px;
  color: #9b7b43;
}

.am-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: #777a70;
  font-size: .76rem;
  letter-spacing: .02em;
}

.am-hero-note span {
  color: #9b7b43;
  font-size: 1rem;
}

.am-hero-image {
  position: relative;
  min-width: 0;
  height: clamp(390px, 49vw, 600px);
  overflow: hidden;
  background: #c9bda7;
}

.am-hero-image::after,
.am-botanical-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 46%, rgba(20, 35, 23, .46));
  pointer-events: none;
}

.am-hero-image>img,
.am-ritual-image>img,
.am-story-image>img,
.am-botanical-art>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .65, .3, 1);
}

.am-hero-image:hover>img,
.am-ritual-image:hover>img,
.am-story-image:hover>img,
.am-botanical-art:hover>img {
  transform: scale(1.035);
}

.am-image-note {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 4vw, 48px);
  bottom: clamp(26px, 4vw, 46px);
  display: grid;
  gap: 11px;
  color: white;
}

.am-image-note span,
.am-botanical-art>span {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.am-image-note strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
}

.am-image-stamp {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: white;
  font: 500 1.5rem var(--font-display);
}

.am-hero-bottom {
  display: flex;
  justify-content: space-between;
  padding: 12px max(20px, calc((100vw - var(--maxw)) / 2));
  border-top: 1px solid rgba(124, 58, 237, .12);
  color: #6e7468;
  font-size: .62rem;
  letter-spacing: .14em;
}

.am-intro {
  padding-block: clamp(70px, 10vw, 125px);
}

.am-intro-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 7vw;
}

.am-intro-grid>.eyebrow {
  padding-top: 14px;
}

.am-intro h2,
.am-ritual h2,
.am-botanicals h2,
.am-story h2,
.am-faq h2 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.am-intro-grid>div>p,
.am-ritual-copy>p,
.am-botanicals>.wrap>div:first-child>p,
.am-story-copy>p,
.am-faq-grid>div:first-child>p {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.8;
}

.am-products {
  padding-block: 80px 96px;
  background: #f2eee4;
}

.am-products .lc-section-head {
  margin-bottom: 34px;
}

.am-products .lc-section-head h2,
.am-centered-heading h2 {
  margin: 10px 0 8px;
  color: var(--forest);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 500;
}

.am-products .lc-section-head p {
  color: var(--ink-soft);
}

.am-products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.am-products .product-card {
  padding: 14px;
  border: 0;
  background: #faf8f2;
  box-shadow: 0 8px 24px rgba(47, 50, 38, .045);
}

.am-products .product-card .thumb {
  height: clamp(220px, 25vw, 330px);
  background: #f0eadc;
}

.am-products .product-card .thumb img {
  padding: 22px;
}

.am-products .product-card .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.am-products .product-card .add {
  min-height: 43px;
  border-radius: 3px;
}

.am-products .loading-state {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--ink-soft);
  text-align: center;
}

.am-ritual {
  padding-block: clamp(70px, 9vw, 116px);
  background: var(--paper);
}

.am-ritual-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(40px, 8vw, 108px);
  align-items: center;
}

.am-ritual-image {
  position: relative;
  height: clamp(380px, 50vw, 590px);
  overflow: hidden;
  background: #d9d0c0;
}

.am-ritual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: rgba(250, 247, 239, .9);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: .9rem;
}

.am-ritual h2 {
  margin-top: 16px;
}

.am-steps {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.am-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.am-steps li>span {
  padding-top: 2px;
  color: #a18450;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.am-steps strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.am-steps p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.6;
}

.am-values {
  padding-block: 85px 100px;
  background: #f2eee4;
}

.am-centered-heading {
  margin-bottom: 40px;
  text-align: center;
}

.am-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #dcd4c6;
  border-bottom: 1px solid #dcd4c6;
}

.am-value-grid article {
  padding: 30px 26px;
  border-right: 1px solid #dcd4c6;
  transition: background .25s ease;
}

.am-value-grid article:first-child {
  padding-left: 0;
}

.am-value-grid article:last-child {
  border-right: 0;
}

.am-value-grid article:hover {
  background: rgba(255, 255, 255, .38);
}

.am-value-icon {
  display: block;
  margin-bottom: 20px;
  color: #a18450;
  font-size: 1.4rem;
}

.am-value-grid h3 {
  margin-bottom: 9px;
  color: var(--forest);
  font-size: 1.08rem;
  font-weight: 500;
}

.am-value-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.7;
}

.am-botanicals {
  padding-block: clamp(68px, 9vw, 112px);
  background: #e8e2d5;
}

.am-botanical-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.am-botanicals h2 {
  margin-top: 15px;
}

.am-botanicals .btn {
  margin-top: 12px;
  border-color: rgba(124, 58, 237, .35);
  color: var(--forest);
}

.am-botanicals .btn:hover {
  background: var(--forest);
  color: var(--paper);
}

.am-botanical-art {
  position: relative;
  height: clamp(330px, 40vw, 470px);
  overflow: hidden;
  background: #8e9a7e;
}

.am-botanical-art>span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  color: #fff;
}

.am-story {
  padding-block: 85px;
}

.am-story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #f1ebdf;
}

.am-story-image {
  height: clamp(360px, 42vw, 500px);
  overflow: hidden;
  background: #c5cbb1;
}

.am-story-copy {
  padding: clamp(30px, 6vw, 76px);
}

.am-story-copy h2 {
  margin-top: 15px;
}

.am-story-copy .text-link {
  margin-top: 10px;
  color: var(--forest);
}

.am-faq {
  padding-block: 76px 96px;
  background: #f2eee4;
}

.am-faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(40px, 8vw, 100px);
}

.am-faq h2 {
  margin-top: 15px;
}

.am-faq-grid>div:first-child .text-link {
  color: var(--forest);
}

.am-faq-list details {
  border-bottom: 1px solid #dcd4c6;
}

.am-faq-list details:first-child {
  border-top: 1px solid #dcd4c6;
}

.am-faq-list summary {
  position: relative;
  padding: 21px 38px 21px 0;
  color: var(--forest);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  list-style: none;
}

.am-faq-list summary::-webkit-details-marker {
  display: none;
}

.am-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: #a18450;
  font: 400 1.35rem var(--font-body);
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.am-faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.am-faq-list details p {
  max-width: 650px;
  margin: -3px 0 21px;
  padding-right: 24px;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.75;
}

.home-page .site-footer {
  padding-top: 62px;
}

@media (max-width: 900px) {
  .am-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .am-hero h1 {
    font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  }

  .am-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-ritual-grid,
  .am-botanical-grid {
    gap: 36px;
  }

  .am-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-value-grid article:nth-child(2) {
    border-right: 0;
  }

  .am-value-grid article:nth-child(n + 3) {
    border-top: 1px solid #dcd4c6;
  }

  .am-value-grid article:first-child {
    padding-left: 26px;
  }
}

@media (max-width: 640px) {
  .announce {
    font-size: .59rem;
    letter-spacing: .09em;
  }

  .am-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding-block: 45px 25px;
  }

  .am-hero-copy {
    padding: 0;
  }

  .am-hero h1 {
    margin: 18px 0 15px;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .am-hero-copy>p {
    font-size: .94rem;
  }

  .am-hero-actions {
    gap: 15px 20px;
    margin-top: 23px;
  }

  .am-hero-note {
    margin-top: 24px;
  }

  .am-hero-image {
    height: 360px;
  }

  .am-hero-bottom {
    padding-inline: 18px;
    font-size: .52rem;
  }

  .am-intro {
    padding-block: 58px;
  }

  .am-intro-grid,
  .am-ritual-grid,
  .am-botanical-grid,
  .am-story-card,
  .am-faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .am-intro h2,
  .am-ritual h2,
  .am-botanicals h2,
  .am-story h2,
  .am-faq h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .am-products {
    padding-block: 58px;
  }

  .am-products .lc-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .am-products .product-grid {
    gap: 14px;
  }

  .am-products .product-card {
    padding: 10px;
  }

  .am-products .product-card .thumb {
    height: 205px;
  }

  .am-products .product-card .name {
    font-size: 1rem;
  }

  .am-ritual,
  .am-botanicals {
    padding-block: 58px;
  }

  .am-ritual-image {
    height: 350px;
  }

  .am-values {
    padding-block: 60px;
  }

  .am-value-grid article {
    padding: 22px 16px;
  }

  .am-value-grid article:first-child {
    padding-left: 16px;
  }

  .am-value-grid h3 {
    font-size: .96rem;
  }

  .am-value-grid p {
    font-size: .8rem;
  }

  .am-botanical-art {
    height: 310px;
  }

  .am-story {
    padding-block: 52px;
  }

  .am-story-image {
    height: 300px;
  }

  .am-story-copy {
    padding: 30px 22px 34px;
  }

  .am-faq {
    padding-block: 58px;
  }
}

@media (max-width: 390px) {
  .am-products .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-products .product-card .thumb {
    height: 260px;
  }
}

@media (max-width: 950px) {
  .site-header #mainNav {
    position: fixed !important;
    top: 72px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 110;
    display: flex !important;
    width: min(88vw, 380px) !important;
    max-height: calc(100vh - 72px) !important;
    flex: none !important;
    overflow-y: auto !important;
    padding: 14px 22px 28px !important;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 18px 0 0 0;
    background: var(--paper);
    box-shadow: -18px 18px 48px rgba(65, 35, 100, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(100% + 20px)) !important;
    transition: transform .28s ease, opacity .22s ease, visibility .22s ease !important;
  }

  .site-header #mainNav.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Aarymantra dark lavender theme. */
:root {
  --ink: #FFFFFF;
  --ink-soft: #B7B3C8;
  --muted: #B7B3C8;
  --paper: #0B0B0F;
  --ivory: #0B0B0F;
  --ivory-deep: #15151D;
  --surface: #15151D;
  --line: #30283F;
  --line-strong: #493D5D;
  /* Change --brand below to update the primary theme color site-wide. */
  --brand: #B9A0FF;
  --brand-dark: #D0C0FF;
  --brand-tint: #211B2E;
  --forest: var(--brand);
  --forest-dark: var(--brand-dark);
  --forest-tint: var(--brand-tint);
  --gold: #B9A0FF;
  --gold-soft: #D0C0FF;
  --accent: var(--brand);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-sm: 0 5px 16px rgba(0, 0, 0, .35);
  --shadow: 0 12px 28px rgba(0, 0, 0, .4);
  --shadow-lg: 0 20px 46px rgba(0, 0, 0, .5);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.announce {
  padding: 8px 16px;
  background: var(--brand-tint) !important;
  color: var(--brand-dark) !important;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 21, 29, .96) !important;
  border-color: var(--line) !important;
  box-shadow: 0 1px 8px rgba(23, 23, 23, .035);
}

.brand {
  color: var(--ink);
}

.brand-mark,
.site-footer .brand-mark {
  background: var(--brand) !important;
  color: var(--paper) !important;
  box-shadow: none;
}

.main-nav a::after {
  background: var(--brand);
}

.main-nav a:hover,
.main-nav a.active,
.header-login:hover,
.nav-toggle:hover,
.header-cart:hover,
.header-search:hover {
  color: var(--brand-dark);
}

.nav-toggle:hover,
.header-cart:hover,
.header-search:hover {
  border-color: var(--brand);
}

.site-header #mainNav {
  background: var(--surface);
}

.site-footer,
.home-page .site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
}

.site-footer .brand,
.site-footer h4 {
  color: var(--ink);
}

.site-footer a {
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--brand-dark);
}

.site-footer .footer-bottom {
  border-color: var(--line);
}

.btn-primary,
.product-card .add,
.cart-foot .btn-block,
.co-submit,
.auth-submit {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}

.btn-primary:hover,
.product-card .add:hover,
.cart-foot .btn-block:hover,
.co-submit:hover,
.auth-submit:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--paper);
}

.btn-outline:hover,
.filter-pills .pill.active {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-tint);
}

.product-card,
.checkout-card,
.cart-item,
.review-card,
.auth-card,
.pd-image-wrap,
.pd-product-info,
.co-card,
.co-summary {
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  border-color: #c4b5fd;
  box-shadow: var(--shadow);
}

.product-card .thumb,
.pd-gallery-main,
.product-page .product-image {
  background: var(--surface) !important;
}

.product-card .thumb img {
  object-fit: contain;
}

.shop-page,
.lc-featured {
  background: var(--paper) !important;
}

.about-hero,
.contact-hero,
.policy-hero,
.faq-hero,
body .auth-shell {
  background: var(--paper) !important;
}

body .about-hero-art {
  background: radial-gradient(circle at 68% 32%, var(--brand-tint), var(--surface) 68%) !important;
  box-shadow: var(--shadow-sm);
}

body .about-hero-art::before {
  background-image: radial-gradient(circle, rgba(124, 58, 237, .12), transparent 68%) !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

body .about-badge {
  border-color: var(--line);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

body .about-badge span {
  color: var(--ink-soft);
}

body .contact-band,
body .lc-promo {
  background: var(--surface) !important;
}

body .admin-sidebar {
  background: var(--surface);
}

body .contact-band .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.am-hero {
  background: var(--surface) !important;
}

.am-hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: min(680px, calc(100svh - 110px));
  padding-block: clamp(42px, 7vw, 82px);
}

.am-hero .eyebrow,
.am-hero-copy .eyebrow,
.am-intro-grid>.eyebrow,
.am-products .eyebrow,
.am-centered-heading .eyebrow,
.am-botanicals .eyebrow,
.am-story .eyebrow,
.am-faq .eyebrow {
  color: var(--brand-dark);
}

.am-hero h1,
.am-intro h2,
.am-ritual h2,
.am-botanicals h2,
.am-story h2,
.am-faq h2,
.am-products .lc-section-head h2,
.am-centered-heading h2 {
  color: var(--ink);
}

.am-hero h1 em,
.am-intro h2 em,
.am-ritual h2 em,
.am-botanicals h2 em,
.am-story h2 em {
  color: var(--brand-dark);
}

.am-hero-image {
  display: block;
  min-height: 420px;
  aspect-ratio: 1 / .86;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 45%, var(--brand-tint) 0, var(--surface) 62%);
  box-shadow: var(--shadow-sm);
}

.am-hero-image::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(124, 58, 237, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.am-hero-image::after {
  display: none;
}

.am-hero-image>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 48px);
  object-fit: contain;
  object-position: center;
}

.am-image-note {
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(234, 234, 234, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
}

.am-image-note span {
  color: var(--brand-dark);
}

.am-image-note strong {
  color: var(--ink);
}

.am-image-stamp {
  top: 18px;
  right: 18px;
  background: var(--brand);
  color: #fff;
}

.am-hero-bottom {
  color: var(--muted);
}

.am-promise-strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.am-promise-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: 18px;
}

.am-promise-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: .83rem;
  font-weight: 600;
  text-align: center;
}

.am-promise-strip i {
  color: var(--brand);
  font-style: normal;
  font-size: 1rem;
}

.am-ritual {
  background: var(--paper);
}

.am-ritual-image {
  border-radius: var(--radius);
}

.am-ritual-caption {
  border-radius: 8px;
  color: var(--ink);
}

.am-steps li>span,
.am-value-icon {
  color: var(--brand-dark);
}

.am-steps strong,
.am-value-grid h3 {
  color: var(--ink);
}

.am-values {
  background: var(--paper);
}

.am-value-grid {
  border-color: var(--line);
}

.am-value-grid article {
  border-color: var(--line);
}

.am-value-grid article:hover {
  background: var(--paper);
}

.am-botanicals {
  background: var(--paper);
}

.am-botanicals .btn {
  border-color: #c4b5fd;
  color: var(--brand-dark);
}

.am-botanicals .btn:hover {
  background: var(--brand);
  color: var(--paper);
}

.am-story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.am-faq-list details {
  border-color: var(--line);
}

.cart-drawer,
.cart-head,
.cart-foot {
  background: var(--surface);
}

.cart-head,
.cart-foot {
  border-color: var(--line);
}

.cart-overlay {
  background: rgba(23, 23, 23, .4);
}

.pd-gallery-nav:hover,
.pd-thumbnail.active {
  border-color: var(--brand);
}

.pd-review-section .review-stars,
.rating-average,
.review-stars {
  color: var(--brand-dark);
}

:focus-visible {
  outline-color: var(--brand);
}

@media (max-width: 900px) {
  .am-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
  }

  .am-hero-image {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .am-promise-strip .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
    padding-block: 15px;
  }

  .am-promise-strip span {
    justify-content: flex-start;
    font-size: .76rem;
  }

  .am-hero-image {
    min-height: 300px;
    aspect-ratio: 1 / .95;
  }
}

@media (max-width: 390px) {
  .am-promise-strip .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-promise-strip span {
    justify-content: center;
  }
}

/* Keep the botanical photography warm without turning green into a brand color. */
.home-page .am-ritual-image,
.home-page .am-botanical-art,
.home-page .am-story-image {
  background-color: var(--brand-tint);
}

.home-page .am-ritual-image>img,
.home-page .am-botanical-art>img,
.home-page .am-story-image>img {
  filter: sepia(.18) saturate(.78);
}

.home-page .am-botanical-art::after {
  background: linear-gradient(180deg, rgba(243, 232, 255, .04) 42%, rgba(109, 40, 217, .34));
}

.site-header #mainNav {
  box-shadow: -18px 18px 48px rgba(23, 23, 23, .12);
}

#heroProductImage {
  will-change: transform, opacity;
}

#heroProductImage.slide-in-right {
  animation: heroImageSlideRight .45s cubic-bezier(.2, .7, .25, 1) both;
}

@keyframes heroImageSlideRight {
  from {
    opacity: .35;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-header {
  background: var(--surface) !important;
}

.site-header #mainNav {
  background: var(--surface) !important;
}

.site-footer,
.home-page .site-footer {
  background: var(--surface) !important;
  color: var(--ink-soft);
}

.site-footer .brand,
.site-footer h4,
.site-footer .footer-col h4 {
  color: var(--ink) !important;
}

.site-footer .footer-brand p,
.site-footer a,
.site-footer .footer-bottom {
  color: var(--ink-soft) !important;
}

.site-footer .footer-bottom {
  border-color: var(--line) !important;
}

@media (max-width: 950px) {
  .site-header #mainNav {
    top: 72px !important;
    max-height: calc(100dvh - 72px) !important;
    padding: 20px 22px 32px !important;
    border-color: var(--line);
    border-radius: 18px 0 0 0;
    background: var(--brand-tint) !important;
    box-shadow: -18px 18px 48px rgba(65, 35, 100, .16);
  }

  .site-header #mainNav > a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .site-header #mainNav.open {
    clip-path: inset(0) !important;
  }
}

@media (max-width: 640px) {
  .site-header > .wrap {
    min-height: 64px;
  }

  .site-header #mainNav {
    top: 64px !important;
    max-height: calc(100dvh - 64px) !important;
  }

  .am-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-hero-image {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / .95;
  }

  .am-promise-strip .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .site-footer {
    padding-top: 40px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

@media (max-width: 390px) {
  .am-promise-strip .wrap,
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header #mainNav,
  #heroProductImage.slide-in-right,
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Keep the header colors and menu state consistent at every viewport. */
.site-header {
  background-color: var(--surface) !important;
}

.site-header > .wrap {
  background: transparent !important;
}

.site-header .main-nav,
.site-header .main-nav > a,
.site-header .header-actions,
.site-header .account-control,
.site-header .account-menu {
  background-color: transparent;
}

.site-header .account-menu {
  background-color: var(--brand-tint);
  border-color: var(--line);
}

.site-header .account-menu a:hover {
  background-color: var(--brand-tint);
}

.site-footer,
.home-page .site-footer {
  background-color: var(--surface) !important;
}

@media (max-width: 950px) {
  .site-header > .wrap {
    flex-wrap: nowrap !important;
    min-height: 64px !important;
    height: auto !important;
    padding-block: 8px !important;
  }

  .site-header .brand {
    min-width: 0;
    font-size: clamp(.95rem, 4vw, 1.15rem);
  }

  .site-header .header-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .site-header .header-search {
    display: none !important;
  }

  .site-header .account-control {
    display: block !important;
  }

  .site-header .account-menu {
    position: fixed;
    top: 72px;
    right: 12px;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    min-width: 0;
    max-height: min(70vh, 460px);
    overflow: auto;
  }

  .site-header .account-menu a {
    min-height: 44px;
  }

  .site-header #mainNav {
    position: fixed !important;
    inset: 64px 0 0 auto !important;
    display: flex !important;
    width: min(88vw, 380px) !important;
    max-height: calc(100dvh - 64px) !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 18px 22px 30px !important;
    border: 1px solid var(--line) !important;
    border-right: 0 !important;
    border-radius: 18px 0 0 0 !important;
    background: var(--brand-tint) !important;
    box-shadow: -18px 18px 48px rgba(65, 35, 100, .16) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none !important;
    clip-path: inset(0 100% 0 0) !important;
    transition: clip-path .28s ease, opacity .22s ease, visibility .22s ease !important;
  }

  .site-header #mainNav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0) !important;
  }

  .site-header #mainNav > a {
    display: flex !important;
    min-height: 46px;
    align-items: center;
    padding: 12px 4px !important;
    border-bottom: 1px solid var(--line);
    background: transparent !important;
  }

  .site-header #mainNav > a::after {
    display: none !important;
  }

  .site-header .mobile-account-section {
    display: block !important;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .site-header .mobile-account-section a {
    display: block;
    min-height: 44px;
    padding: 11px 4px;
    background: transparent !important;
  }
}

@media (max-width: 390px) {
  .site-header #mainNav {
    width: min(92vw, 380px) !important;
    padding-inline: 18px !important;
  }

  .site-header .header-cart span {
    display: none;
  }

  .site-header .account-menu {
    top: 64px;
  }
}