:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --bg-soft: #efe9de;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --ink: #10161c;
  --ink-soft: #32404b;
  --muted: #6d7780;
  --line: rgba(16, 22, 28, 0.12);
  --line-strong: rgba(16, 22, 28, 0.22);
  --gold: #b89258;
  --gold-dark: #7b5c2d;
  --blue-gray: #415765;
  --blue-gray-soft: #dce5e8;
  --dark: #0d141a;
  --dark-2: #17232b;
  --success: #3f765f;
  --danger: #9b3f3f;
  --shadow-soft: 0 18px 60px rgba(21, 30, 38, 0.1);
  --shadow-card: 0 14px 34px rgba(21, 30, 38, 0.09);
  --radius-card: 8px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --header-height: 78px;
  font-family: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  direction: rtl;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(239, 233, 222, 0.98) 38%, rgba(247, 243, 236, 1) 100%);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea {
  cursor: none;
}

img,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--surface);
  background: var(--blue-gray);
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--dark);
  transform: translateY(-130%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  background: rgba(247, 243, 236, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(16, 22, 28, 0.1);
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 16px 48px rgba(16, 22, 28, 0.08);
}

.header-inner {
  width: min(100% - 48px, 1440px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(184, 146, 88, 0.55);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(184, 146, 88, 0.26)),
    var(--surface);
  box-shadow: inset 0 0 0 6px rgba(184, 146, 88, 0.08);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-link,
.drawer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-link:hover,
.nav-link.is-active,
.drawer-link:hover,
.drawer-link.is-active {
  color: var(--ink);
  background: rgba(65, 87, 101, 0.08);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(16, 22, 28, 0.1);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 146, 88, 0.45);
  background: rgba(255, 255, 255, 0.88);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.cart-count {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding-inline: 5px;
  border-radius: 999px;
  color: var(--surface);
  background: var(--gold-dark);
  font-size: 0.72rem;
  line-height: 1;
}

.menu-button {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(13, 20, 26, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease);
}

.mobile-drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 1100;
  width: min(88vw, 390px);
  padding: 26px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: -22px 0 70px rgba(16, 22, 28, 0.18);
  transform: translateX(105%);
  transition: transform 260ms var(--ease);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.drawer-nav {
  display: grid;
  gap: 6px;
}

.drawer-link {
  justify-content: flex-start;
  min-height: 48px;
  border-bottom: 1px solid rgba(16, 22, 28, 0.08);
  border-radius: 0;
}

.page {
  animation: pageEnter 360ms var(--ease) both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  padding-block: 88px;
}

.section.compact {
  padding-block: 56px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-heading {
  margin: 0;
  color: var(--ink);
  font-size: 2.7rem;
  line-height: 1.32;
  font-weight: 900;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head .section-lead {
  max-width: 540px;
}

.btn {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

.btn.primary {
  color: #fffdf8;
  background: var(--dark);
  box-shadow: 0 18px 42px rgba(13, 20, 26, 0.2);
}

.btn.primary:hover {
  background: var(--blue-gray);
  box-shadow: 0 20px 46px rgba(65, 87, 101, 0.24);
}

.btn.gold {
  color: var(--dark);
  background: #e3c98f;
  border-color: rgba(123, 92, 45, 0.28);
}

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(16, 22, 28, 0.14);
}

.btn.ghost:hover {
  border-color: rgba(184, 146, 88, 0.46);
  background: rgba(255, 255, 255, 0.86);
}

.btn.soft {
  color: var(--ink);
  background: rgba(65, 87, 101, 0.1);
  border-color: rgba(65, 87, 101, 0.14);
}

.btn.small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.92rem;
}

.btn.full {
  width: 100%;
}

.hero-scroll {
  position: relative;
  height: 285vh;
  min-height: 1500px;
  background: var(--dark);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--surface);
  isolation: isolate;
}

.hero-canvas,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 1;
}

.hero-fallback {
  z-index: 0;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 20, 26, 0.08), rgba(13, 20, 26, 0.42) 42%, rgba(13, 20, 26, 0.72)),
    linear-gradient(180deg, rgba(13, 20, 26, 0.36), rgba(13, 20, 26, 0.06) 42%, rgba(13, 20, 26, 0.58));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, 1440px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-top: var(--header-height);
}

.hero-copy {
  width: min(720px, 100%);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.hero-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  margin: 0 0 18px;
  color: #ead3a3;
  font-weight: 900;
}

.hero-title {
  margin: 0;
  font-size: 4.9rem;
  line-height: 1.18;
  font-weight: 950;
  max-width: 820px;
}

.hero-text {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-progress {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - 1440px) / 2 + 24px));
  bottom: 34px;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 10px;
  color: rgba(255, 250, 242, 0.78);
}

.hero-progress-track {
  height: 2px;
  background: rgba(255, 250, 242, 0.24);
  overflow: hidden;
}

.hero-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #e3c98f;
}

.hero-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}

.hero-hint {
  position: absolute;
  z-index: 4;
  left: max(24px, calc((100vw - 1440px) / 2 + 24px));
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.92rem;
}

.hero-hint::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 250, 242, 0.44);
}

.feature-grid,
.category-grid,
.product-grid,
.trust-grid,
.course-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.category-card,
.product-card,
.course-card,
.trust-item,
.cart-row,
.summary-panel,
.form-panel,
.detail-panel,
.empty-state,
.filter-panel,
.contact-info {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 250, 242, 0.74);
  box-shadow: var(--shadow-card);
}

.feature-card,
.trust-item {
  padding: 24px;
}

.feature-icon,
.trust-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 146, 88, 0.28);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(227, 201, 143, 0.16);
  font-weight: 900;
}

.feature-card h3,
.trust-item h3,
.course-card h3,
.product-card h3,
.contact-info h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.55;
}

.feature-card p,
.trust-item p,
.course-card p,
.product-card p,
.contact-info p {
  margin: 10px 0 0;
  color: var(--muted);
}

.category-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  color: var(--surface);
  background: var(--dark);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 520ms var(--ease);
}

.category-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 26, 0.08), rgba(13, 20, 26, 0.74));
}

.category-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.category-body h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.45;
}

.category-body p {
  margin: 10px 0 18px;
  color: rgba(255, 250, 242, 0.78);
}

.product-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 146, 88, 0.32);
  box-shadow: 0 22px 60px rgba(21, 30, 38, 0.14);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--blue-gray-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--dark);
  background: rgba(255, 250, 242, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gold-dark);
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 950;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.orbital-carousel {
  position: relative;
  isolation: isolate;
  outline: none;
}

.orbit-viewport {
  position: relative;
  height: 530px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.orbital-carousel[data-orbit-type="products"] .orbit-viewport {
  height: 625px;
}

.orbit-viewport::before,
.orbit-viewport::after {
  content: "";
  position: absolute;
  inset-inline: 7%;
  top: 56%;
  height: 34%;
  border: 1px solid rgba(184, 146, 88, 0.18);
  border-radius: 50%;
  transform: translateY(-50%) rotateX(68deg);
  pointer-events: none;
}

.orbit-viewport::after {
  inset-inline: 17%;
  height: 23%;
  border-color: rgba(65, 87, 101, 0.1);
}

.orbit-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.orbit-slide {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(390px, 76vw);
  transition:
    transform 620ms var(--ease),
    opacity 620ms var(--ease),
    filter 620ms var(--ease);
  will-change: transform, opacity, filter;
}

.orbital-carousel[data-orbit-type="products"] .orbit-slide {
  width: min(300px, 72vw);
}

.orbital-carousel[data-orbit-type="categories"] .orbit-slide {
  width: min(380px, 72vw);
}

.orbit-slide:not(.is-active) {
  cursor: pointer;
}

.orbit-slide:not(.is-active) .btn {
  pointer-events: none;
}

.orbit-slide.is-active {
  cursor: default;
}

.orbital-carousel .orbit-slide > .reveal {
  opacity: 1;
  transform: none;
}

.orbital-carousel .category-card,
.orbital-carousel .product-card {
  width: 100%;
  box-shadow: 0 24px 70px rgba(21, 30, 38, 0.16);
  backface-visibility: hidden;
}

.orbital-carousel .category-card {
  height: 440px;
  min-height: 0;
}

.orbital-carousel[data-orbit-type="products"] .product-media {
  aspect-ratio: 1.08 / 1;
}

.orbital-carousel[data-orbit-type="products"] .product-body {
  padding: 14px;
}

.orbital-carousel[data-orbit-type="products"] .product-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.orbital-carousel[data-orbit-type="products"] .product-actions {
  gap: 7px;
  margin-top: 12px;
}

.orbital-carousel .product-card:hover {
  transform: none;
}

.orbit-slide.is-active .product-card:hover {
  border-color: rgba(184, 146, 88, 0.42);
  box-shadow: 0 28px 76px rgba(21, 30, 38, 0.18);
}

.orbit-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.orbit-button {
  background: rgba(255, 250, 242, 0.8);
  box-shadow: 0 12px 30px rgba(21, 30, 38, 0.1);
}

.orbit-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 8px;
}

.orbit-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(65, 87, 101, 0.24);
  transition: width 220ms var(--ease), background 220ms var(--ease);
}

.orbit-dot.is-active {
  width: 32px;
  background: var(--gold-dark);
}

.orbital-carousel.is-dragging .orbit-slide {
  transition-duration: 260ms;
}

.promo-stack {
  display: grid;
  gap: 28px;
}

.promo-banner {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--surface);
  background: var(--dark);
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 20, 26, 0.1), rgba(13, 20, 26, 0.52) 42%, rgba(13, 20, 26, 0.72));
}

.promo-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 42px;
}

.promo-content h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.35;
}

.promo-content p {
  margin: 14px 0 24px;
  color: rgba(255, 250, 242, 0.8);
  font-size: 1.08rem;
}

.course-card {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 300px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(220, 229, 232, 0.34)),
    var(--surface);
}

.course-actions {
  display: grid;
  gap: 8px;
}

.dark-band {
  width: 100%;
  margin-block: 38px;
  color: var(--surface);
  background: var(--dark);
}

.dark-band .section-heading,
.dark-band .feature-card h3,
.dark-band .trust-item h3 {
  color: var(--surface);
}

.dark-band .section-lead,
.dark-band .feature-card p,
.dark-band .trust-item p {
  color: rgba(255, 250, 242, 0.72);
}

.dark-band .feature-card,
.dark-band .trust-item {
  background: rgba(255, 250, 242, 0.06);
  border-color: rgba(255, 250, 242, 0.12);
  box-shadow: none;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-card);
  color: var(--surface);
  background:
    linear-gradient(135deg, rgba(13, 20, 26, 0.94), rgba(65, 87, 101, 0.92)),
    var(--dark);
}

.newsletter h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.35;
}

.newsletter p {
  margin: 12px 0 0;
  color: rgba(255, 250, 242, 0.74);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 22, 28, 0.13);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(184, 146, 88, 0.66);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 146, 88, 0.12);
}

.textarea {
  min-height: 150px;
  border-radius: var(--radius-card);
  resize: vertical;
}

.newsletter .field {
  border-color: rgba(255, 250, 242, 0.2);
  color: var(--surface);
  background: rgba(255, 250, 242, 0.1);
}

.newsletter .field::placeholder {
  color: rgba(255, 250, 242, 0.58);
}

.site-footer {
  color: rgba(255, 250, 242, 0.78);
  background: var(--dark);
}

.footer-inner {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: var(--surface);
  font-size: 1.7rem;
  font-weight: 950;
}

.footer-copy {
  max-width: 460px;
  margin: 14px 0 0;
}

.footer-col h2 {
  margin: 0 0 14px;
  color: var(--surface);
  font-size: 1.04rem;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: rgba(255, 250, 242, 0.78);
  overflow-wrap: anywhere;
  transition: color 180ms var(--ease);
}

.footer-list a:hover {
  color: #e3c98f;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  color: rgba(255, 250, 242, 0.62);
}

.listing-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 22px;
  background: rgba(255, 250, 242, 0.82);
}

.filter-group {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  color: var(--ink);
  font-weight: 900;
}

.segment-list {
  display: grid;
  gap: 8px;
}

.segment {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 22, 28, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  text-align: right;
  font-weight: 800;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.segment:hover,
.segment.is-active {
  color: var(--dark);
  border-color: rgba(184, 146, 88, 0.44);
  background: rgba(227, 201, 143, 0.22);
}

.range {
  accent-color: var(--gold-dark);
}

.listing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.listing-count {
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-main-image {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.detail-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.thumb.is-active {
  border-color: var(--gold);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-panel {
  padding: 28px;
  background: rgba(255, 250, 242, 0.82);
}

.detail-panel h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.35;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(16, 22, 28, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-price {
  margin: 0 0 24px;
  color: var(--gold-dark);
  font-size: 1.6rem;
  font-weight: 950;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 42px 64px 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.quantity-control button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
}

.quantity-control input,
.quantity-value {
  width: 64px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-inline: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: center;
  font-weight: 900;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.54);
}

.mini-panel h2 {
  margin: 0 0 10px;
  font-size: 1.04rem;
}

.mini-panel p,
.mini-panel li {
  color: var(--muted);
}

.mini-panel ul {
  margin: 0;
  padding-inline-start: 20px;
}

.cart-layout,
.checkout-layout,
.contact-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.cart-row img {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.cart-row h3 {
  margin: 0;
  font-size: 1.06rem;
}

.cart-row p {
  margin: 5px 0 0;
  color: var(--muted);
}

.cart-tools {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.summary-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 24px;
  background: rgba(255, 250, 242, 0.86);
}

.summary-panel .btn.full + .btn.full {
  margin-top: 10px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(16, 22, 28, 0.08);
}

.summary-line.total {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 950;
  border-bottom: 0;
}

.empty-state {
  padding: 48px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
}

.form-panel {
  padding: 26px;
  background: rgba(255, 250, 242, 0.82);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.field-label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.payment-note {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid rgba(63, 118, 95, 0.24);
  border-radius: var(--radius-card);
  color: #264d3d;
  background: rgba(63, 118, 95, 0.1);
}

.form-panel .btn.full {
  margin-top: 18px;
}

.about-layout {
  grid-template-columns: 1fr 0.75fr;
}

.about-copy {
  max-width: 850px;
  font-size: 1.18rem;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.contact-info {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  overflow-wrap: anywhere;
  color: var(--blue-gray);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2500;
  width: min(420px, calc(100vw - 48px));
  padding: 16px 18px;
  border: 1px solid rgba(184, 146, 88, 0.24);
  border-radius: var(--radius-card);
  color: var(--surface);
  background: rgba(13, 20, 26, 0.94);
  box-shadow: 0 24px 70px rgba(13, 20, 26, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms var(--ease), width 180ms var(--ease), height 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.cursor-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-dark);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 146, 88, 0.55);
  border-radius: 50%;
  color: var(--surface);
  background: rgba(13, 20, 26, 0.02);
  backdrop-filter: blur(2px);
}

.cursor-label {
  opacity: 0;
  color: var(--surface);
  font-size: 0.76rem;
  font-weight: 900;
  transform: scale(0.8);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 68px;
  height: 68px;
  border-color: rgba(227, 201, 143, 0.8);
  background: rgba(13, 20, 26, 0.38);
}

body.cursor-view .cursor-label {
  opacity: 1;
  transform: scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  min-height: 48vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.page-hero {
  padding-top: 76px;
}

.page-hero .section {
  padding-block: 58px 44px;
}

.page-hero h1 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.28;
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .desktop-only {
    display: none;
  }

  .feature-grid,
  .category-grid,
  .product-grid,
  .course-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-layout,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .summary-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 15px;
  }

  .header-inner,
  .section,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1440px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 1.14rem;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 39px;
    height: 39px;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding-block: 58px;
  }

  .section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-heading {
    font-size: 2.05rem;
  }

  .section-lead {
    font-size: 1rem;
  }

  .hero-scroll {
    height: 230vh;
    min-height: 1180px;
  }

  .hero-sticky {
    min-height: 580px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(13, 20, 26, 0.28), rgba(13, 20, 26, 0.18) 42%, rgba(13, 20, 26, 0.78)),
      linear-gradient(90deg, rgba(13, 20, 26, 0.08), rgba(13, 20, 26, 0.62));
  }

  .hero-content {
    align-content: end;
    padding-bottom: 104px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 360px);
  }

  .hero-progress {
    right: 14px;
    bottom: 24px;
    width: calc(100vw - 28px);
  }

  .hero-hint {
    display: none;
  }

  .feature-grid,
  .category-grid,
  .product-grid,
  .course-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 360px;
  }

  .orbit-viewport {
    height: 480px;
  }

  .orbital-carousel[data-orbit-type="products"] .orbit-viewport {
    height: 610px;
  }

  .orbit-viewport::before {
    inset-inline: -22%;
    height: 34%;
  }

  .orbit-viewport::after {
    inset-inline: 8%;
    height: 22%;
  }

  .orbit-slide {
    top: 18px;
    width: min(330px, 78vw);
  }

  .orbital-carousel[data-orbit-type="products"] .orbit-slide {
    width: min(292px, 76vw);
  }

  .orbital-carousel[data-orbit-type="categories"] .orbit-slide {
    width: min(330px, 78vw);
  }

  .orbital-carousel .category-card {
    height: 360px;
    min-height: 0;
  }

  .orbit-controls {
    margin-top: 8px;
  }

  .promo-banner {
    min-height: 380px;
  }

  .promo-content {
    padding: 26px;
  }

  .promo-content h2,
  .newsletter h2 {
    font-size: 1.75rem;
  }

  .newsletter {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .newsletter-form {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .listing-top {
    display: grid;
  }

  .form-grid,
  .detail-actions,
  .detail-tabs {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 84px 1fr;
  }

  .cart-row img {
    width: 84px;
    height: 84px;
  }

  .cart-tools {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.42rem;
  }

  .hero-copy {
    width: 100%;
  }

  .product-actions {
    gap: 10px;
  }

  .orbit-viewport {
    height: 455px;
  }

  .orbital-carousel[data-orbit-type="products"] .orbit-viewport {
    height: 595px;
  }

  .orbit-slide,
  .orbital-carousel[data-orbit-type="products"] .orbit-slide {
    width: min(282px, 82vw);
  }

  .orbital-carousel[data-orbit-type="categories"] .orbit-slide {
    width: min(286px, 82vw);
  }

  .filter-panel {
    padding: 16px;
  }

  .empty-state {
    padding: 30px 18px;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor select,
  body.has-custom-cursor textarea {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }

  .reveal,
  .page,
  .hero-copy,
  .product-card,
  .category-card img,
  .product-media img {
    transition-duration: 1ms;
  }
}

/* WordPress + WooCommerce integration */
body.admin-bar .site-header {
  top: 32px;
}

.tabashop-admin-note {
  position: fixed;
  inset-inline: 20px auto;
  bottom: 20px;
  z-index: 10000;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(151, 109, 49, 0.26);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 18px 50px rgba(8, 16, 21, 0.14);
  color: var(--ink);
  font-size: 0.9rem;
}

.content-surface,
.content-card {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 28px;
  border: 1px solid rgba(17, 24, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 70px rgba(8, 16, 21, 0.06);
}

.content-surface > * + *,
.content-card > * + * {
  margin-top: 16px;
}

.content-article + .content-article {
  margin-top: 28px;
}

.shop-section {
  padding-top: 34px;
}

.shop-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  color: var(--muted);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  float: none;
  margin: 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select {
  min-height: 44px;
  border: 1px solid rgba(17, 24, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-family: inherit;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product.product-card {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product.product-card a {
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  border: 1px solid rgba(17, 24, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
  border-top-color: var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(8, 16, 21, 0.06);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--gold);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #17232c;
  color: #fff;
  transform: translateY(-1px);
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout-review-order,
.woocommerce-order,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid rgba(17, 24, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 70px rgba(8, 16, 21, 0.06);
}

.woocommerce table.shop_table {
  overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px;
}

.woocommerce-cart-form,
.woocommerce-checkout #customer_details,
.woocommerce-checkout-review-order,
.woocommerce-order {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 24px;
}

.cart-collaterals {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
}

.cart-collaterals .cart_totals {
  padding: 24px;
}

.woocommerce form .form-row label {
  color: var(--ink);
  font-weight: 800;
}

.woocommerce .select2-container .select2-selection--single {
  height: 44px;
  border-color: rgba(17, 24, 31, 0.14);
  border-radius: 8px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  color: var(--ink);
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.detail-actions form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.detail-actions form.cart .quantity {
  margin: 0;
}

.detail-actions .single_add_to_cart_button {
  min-width: 180px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce-Tabs-panel {
  line-height: 2;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 980px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .shop-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .content-surface,
  .content-card,
  .woocommerce-cart-form,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout-review-order,
  .woocommerce-order,
  .cart-collaterals {
    width: min(100% - 20px, 1180px);
    padding: 18px;
  }
}
