:root {
  --bg: #0f1115;
  --surface: rgba(22, 25, 34, 0.95);
  --surface-soft: rgba(27, 30, 42, 0.9);
  --text: #f7f7f9;
  --muted: #9da2b0;
  --gold: #d4af37;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 35px 90px rgba(0, 0, 0, 0.22);
  --radius: 28px;
  --body-bg: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 24%), linear-gradient(180deg, #0f1115 0%, #161922 100%);
  font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.25));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body {
  scrollbar-color: rgba(212, 175, 55, 0.45) transparent;
  scrollbar-width: thin;
}

.top-accent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.85), transparent);
  background-size: 200% 100%;
  animation: accentSweep 6s ease-in-out infinite;
}

@keyframes accentSweep {
  0% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section,
.overview-panel,
.category-showcase,
.product-grid {
  animation: revealUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.overview-panel { animation-delay: 0.08s; }
.category-showcase { animation-delay: 0.16s; }
.product-grid { animation-delay: 0.22s; }

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.8s ease;
}

.weather-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.weather-particle {
  position: absolute;
  top: 0;
  will-change: transform, opacity;
}

.weather-layer.season-winter .flake {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--size, 14px);
  left: var(--x, 50%);
  animation: flakeFall var(--duration, 10s) linear var(--delay, 0s) infinite;
  filter: drop-shadow(0 0 6px rgba(200, 225, 255, 0.55));
}

@keyframes flakeFall {
  0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.85; }
  100% { transform: translate(var(--drift, 40px), 110vh) rotate(180deg); opacity: 0; }
}

.weather-layer.season-autumn .leaf {
  font-size: var(--size, 18px);
  left: var(--x, 50%);
  animation: leafFall var(--duration, 12s) ease-in var(--delay, 0s) infinite;
}

@keyframes leafFall {
  0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.95; }
  50% { transform: translate(calc(var(--drift, 60px) * 0.5), 50vh) rotate(160deg); }
  90% { opacity: 0.85; }
  100% { transform: translate(var(--drift, 60px), 110vh) rotate(320deg); opacity: 0; }
}

.weather-layer.season-spring .petal {
  font-size: var(--size, 16px);
  left: var(--x, 50%);
  animation: petalFall var(--duration, 11s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes petalFall {
  0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
  12% { opacity: 0.95; }
  50% { transform: translate(var(--drift, -50px), 55vh) rotate(180deg); }
  88% { opacity: 0.85; }
  100% { transform: translate(calc(var(--drift, -50px) * 1.6), 110vh) rotate(360deg); opacity: 0; }
}

.weather-layer.season-summer .sun-glow {
  top: 6%;
  right: 8%;
  left: auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 128, 0.35), rgba(255, 166, 37, 0.08) 60%, transparent 75%);
  filter: blur(6px);
  animation: sunPulse 6s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

.weather-layer.season-summer .ray {
  width: 2px;
  top: -5%;
  background: linear-gradient(180deg, rgba(255, 224, 158, 0.55), transparent);
  animation: rayShimmer var(--duration, 4s) ease-in-out var(--delay, 0s) infinite;
  transform-origin: top;
}

@keyframes rayShimmer {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.55; }
}

.weather-layer.season-summer .mote {
  width: var(--size, 6px);
  height: var(--size, 6px);
  border-radius: 50%;
  background: rgba(255, 214, 128, 0.55);
  left: var(--x, 50%);
  animation: moteRise var(--duration, 9s) ease-in-out var(--delay, 0s) infinite;
  box-shadow: 0 0 8px rgba(255, 214, 128, 0.5);
}

@keyframes moteRise {
  0% { transform: translate(0, 100vh); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translate(var(--drift, 30px), -10vh); opacity: 0; }
}

.weather-layer.season-luxury .sparkle {
  width: var(--size, 4px);
  height: var(--size, 4px);
  left: var(--x, 50%);
  top: var(--y, 50%);
  background: radial-gradient(circle, #fff6d8, transparent 70%);
  border-radius: 50%;
  animation: sparkleTwinkle var(--duration, 3s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.3s ease;
  position: relative;
  z-index: 2;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

.sidebar {
  padding: 32px 24px;
  background: rgba(11, 13, 18, 0.96);
  border-right: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.03);
  position: sticky;
  top: 0;
  align-self: start;
  transition: opacity 0.3s ease, width 0.3s ease, padding 0.3s ease;
}

.app-shell.sidebar-collapsed .sidebar {
  width: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(212, 175, 55, 0.32), rgba(212, 175, 55, 0.1));
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--gold);
  position: relative;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.28), 0 14px 30px rgba(212, 175, 55, 0.15);
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  animation: ringPulse 3.2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.1); opacity: 0; }
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.brand-tag {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-title {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-size: 0.82rem;
}

.nav-list, .sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 18px;
  text-align: left;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.nav-item::before {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-item[data-filter="summer"]::before { content: '☀️'; }
.nav-item[data-filter="winter"]::before { content: '❄️'; }
.nav-item[data-filter="spring"]::before { content: '🌸'; }
.nav-item[data-filter="autumn"]::before { content: '🍂'; }
.nav-item[data-filter="luxury"]::before { content: '👑'; }
.nav-item[data-category="all"]::before { content: '✦'; }
.nav-item[data-category="Upper Body"]::before { content: '👕'; }
.nav-item[data-category="Lower Body"]::before { content: '👖'; }
.nav-item[data-category="Accessories"]::before { content: '💎'; }
.nav-item[data-category="Formal"]::before { content: '🎩'; }

.nav-item:hover,
.nav-item.active {
  background: rgba(212, 175, 55, 0.14);
  transform: translateX(4px);
}

.nav-item.active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.nav-item[data-filter="luxury"] {
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.sidebar-footer {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}

.sidebar-dropdown {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sidebar-dropdown:hover {
  background: rgba(212,175,55,0.12);
  transform: translateX(3px);
  border-color: rgba(212,175,55,0.25);
}

.sidebar-dropdown.expanded {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18), 0 16px 34px rgba(212, 175, 55, 0.14);
}

.dropdown-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-icon {
  font-size: 1.05rem;
}

.hero-expression {
  margin: 18px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f2d97d;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

.hero-expression::before {
  content: '✨';
  animation: sparkle 2.5s infinite ease-in-out;
}

.menu-toggle-btn {
  position: relative;
  z-index: 1;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.8; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(-4px) scale(1.04); }
}

.category-list {
  display: grid;
  gap: 10px;
  padding: 4px 0 4px 16px;
  margin-top: 10px;
  margin-left: 6px;
  border-left: 1px solid rgba(212, 175, 55, 0.16);
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.category-list.expanded {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.category-list .category-item {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.category-list.expanded .category-item {
  opacity: 1;
  transform: translateX(0);
}

.category-list.expanded .category-item:nth-child(1) { transition-delay: 0.04s; }
.category-list.expanded .category-item:nth-child(2) { transition-delay: 0.09s; }
.category-list.expanded .category-item:nth-child(3) { transition-delay: 0.14s; }
.category-list.expanded .category-item:nth-child(4) { transition-delay: 0.19s; }
.category-list.expanded .category-item:nth-child(5) { transition-delay: 0.24s; }

.category-list.expanded .category-item:hover,
.category-list.expanded .category-item.active {
  transform: translateX(4px);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  color: var(--gold);
}

.sidebar-dropdown.expanded .dropdown-arrow {
  transform: rotate(-180deg);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 40px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.12);
  color: var(--gold);
  text-align: center;
  font-size: 1rem;
}

.toggle-button {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transition: background 0.25s ease;
}

.toggle-button:hover {
  background: rgba(212, 175, 55, 0.12);
}

.content-area {
  padding: 34px 40px 60px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg, transparent), radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 28%),
              radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 26%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: background-image 0.6s ease, opacity 0.6s ease;
  z-index: 0;
}

body.season-summer .hero-section::after {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 241, 200, 0.25), transparent 16%),
    radial-gradient(circle at 70% 18%, rgba(255, 222, 135, 0.18), transparent 12%),
    radial-gradient(circle at 28% 70%, rgba(255, 206, 109, 0.18), transparent 10%),
    linear-gradient(150deg, rgba(255, 190, 87, 0.1), transparent 45%);
}

body.season-winter .hero-section::after {
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.25), transparent 12%),
    radial-gradient(circle at 40% 18%, rgba(215,235,255,0.22), transparent 10%),
    radial-gradient(circle at 70% 22%, rgba(255,255,255,0.18), transparent 8%),
    linear-gradient(150deg, rgba(180, 220, 255, 0.08), transparent 45%);
}

body.season-spring .hero-section::after {
  background-image:
    radial-gradient(circle at 22% 25%, rgba(198, 239, 208, 0.24), transparent 14%),
    radial-gradient(circle at 65% 15%, rgba(218, 241, 209, 0.18), transparent 10%),
    radial-gradient(circle at 35% 70%, rgba(255, 236, 183, 0.16), transparent 9%),
    linear-gradient(150deg, rgba(156, 225, 181, 0.08), transparent 40%);
}

body.season-autumn .hero-section::after {
  background-image:
    radial-gradient(circle at 18% 18%, rgba(223, 160, 94, 0.26), transparent 12%),
    radial-gradient(circle at 58% 15%, rgba(196, 120, 63, 0.22), transparent 10%),
    radial-gradient(circle at 75% 60%, rgba(255, 208, 145, 0.18), transparent 9%),
    linear-gradient(150deg, rgba(237, 171, 93, 0.1), transparent 40%);
}

body.season-luxury .hero-section::after {
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255, 223, 132, 0.18), transparent 12%),
    radial-gradient(circle at 70% 20%, rgba(255, 236, 198, 0.14), transparent 10%),
    linear-gradient(150deg, rgba(255, 223, 132, 0.08), transparent 35%);
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.hero-copy h1,
.hero-copy p,
.hero-expression,
.hero-topbar span,
.menu-toggle-btn,
.toggle-button,
.card-title,
.card-description,
.card-category,
.price,
.buy-btn {
  text-shadow: 0 0 22px rgba(0,0,0,0.32);
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.menu-toggle-btn {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(255,255,255,0.07);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, background 0.25s ease;
}

.menu-toggle-btn:hover {
  background: rgba(212,175,55,0.16);
  transform: translateY(-2px);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  margin: 18px 0 22px;
  line-height: 0.95;
}

.hero-copy p {
  max-width: 560px;
  color: rgba(247,247,249,0.92);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn {
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn::after,
.ghost-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(212, 175, 55, 0.18);
}

.primary-btn:hover::after,
.ghost-btn:hover::after {
  transform: translateX(120%);
}

.primary-btn {
  background: linear-gradient(135deg, rgba(212,175,55,1), rgba(212,175,55,0.75));
  color: #0f1115;
}

.ghost-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.season-card {
  min-height: 190px;
  border-radius: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  display: grid;
  align-items: end;
  justify-items: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.season-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 27%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.season-card:hover,
.season-card.active {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.32);
  box-shadow: 0 40px 108px rgba(0, 0, 0, 0.24);
}

.season-card:hover::before,
.season-card.active::before {
  opacity: 1;
}

.season-card::after {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  opacity: 0.28;
  filter: blur(20px);
  pointer-events: none;
}

.season-card.season-summer::after {
  background: radial-gradient(circle, rgba(255, 215, 122, 0.35), transparent 55%);
  top: -30px;
  right: -40px;
}

.season-card.season-winter::after {
  background: radial-gradient(circle, rgba(205, 230, 255, 0.28), transparent 55%);
  top: -30px;
  left: -35px;
}

.season-card.season-spring::after {
  background: radial-gradient(circle, rgba(220, 245, 220, 0.28), transparent 55%);
  bottom: -30px;
  right: -40px;
}

.season-card.season-autumn::after {
  background: radial-gradient(circle, rgba(246, 196, 118, 0.28), transparent 55%);
  bottom: -30px;
  left: -40px;
}

.season-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.season-card.season-summer .season-icon {
  background: radial-gradient(circle, rgba(255, 214, 128, 0.25), rgba(255, 166, 37, 0.2));
  color: #f5c14e;
}

.season-card.season-winter .season-icon {
  background: radial-gradient(circle, rgba(174, 204, 255, 0.22), rgba(128, 174, 237, 0.15));
  color: #dceaff;
}

.season-card.season-spring .season-icon {
  background: radial-gradient(circle, rgba(202, 237, 211, 0.25), rgba(165, 219, 169, 0.18));
  color: #d7f1d9;
}

.season-card.season-autumn .season-icon {
  background: radial-gradient(circle, rgba(241, 187, 107, 0.25), rgba(219, 143, 60, 0.18));
  color: #ffddaa;
}

.season-card p {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.season-summer {
  background: linear-gradient(145deg, rgba(255,209,141,0.18), rgba(39, 28, 20, 0.4));
}

.season-winter {
  background: linear-gradient(145deg, rgba(160, 190, 255, 0.18), rgba(14, 23, 38, 0.42));
}

.season-spring {
  background: linear-gradient(145deg, rgba(148, 204, 169, 0.18), rgba(23, 34, 27, 0.42));
}

.season-autumn {
  background: linear-gradient(145deg, rgba(224, 147, 79, 0.18), rgba(32, 20, 15, 0.42));
}

.overview-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 32px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.category-showcase {
  margin-bottom: 32px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0,0,0,0.22);
  background: rgba(22,22,30,0.98);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.category-card:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.78);
  outline-offset: 4px;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,7,10,0) 30%, rgba(6,7,10,0.4) 60%, rgba(6,7,10,0.95) 100%);
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 44px 120px rgba(0,0,0,0.28);
  border-color: rgba(212, 175, 55, 0.35);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img {
  transform: scale(1.09);
}

.category-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 22px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-body {
  transform: translateY(0);
}

.category-card-body > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.category-card .card-category {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-card h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f7f7f9;
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

.category-card:hover .card-category {
  color: #ffd775;
}

.card-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-8px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.category-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
  background: rgba(212, 175, 55, 0.28);
}

html[dir='rtl'] .card-arrow {
  transform: translateX(8px) scale(0.9);
}

html[dir='rtl'] .category-card:hover .card-arrow {
  transform: translateX(0) scale(1);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--gold);
  margin: 0 0 10px;
}

.overview-panel h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
}

.overview-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.overview-stats {
  display: flex;
  gap: 38px;
}

.overview-stats div {
  text-align: right;
}

.overview-stats span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.overview-stats p {
  margin: 8px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.card {
  background: linear-gradient(180deg, rgba(24, 26, 35, 0.95), rgba(14, 16, 24, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.32);
}

.card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover img {
  transform: scale(1.07);
}

.card-body {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.card-title {
  font-size: 1.1rem;
  margin: 0;
}

.card-category {
  color: var(--gold);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.card-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
}

.buy-btn {
  background: rgba(212,175,55,0.1);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.18);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.buy-btn:hover {
  background: rgba(212,175,55,0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212,175,55,0.2);
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .overview-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .season-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .sidebar {
    padding: 24px 18px;
  }

  .hero-section {
    gap: 18px;
  }

  .season-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 260px;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }

  .content-area {
    padding: 24px 20px 44px;
  }

  .overview-stats {
    gap: 24px;
  }
}

@media (max-width: 400px) {
  .season-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    text-align: center;
  }
}

html[dir='rtl'] {
  direction: rtl;
}
html[dir='rtl'] .brand,
html[dir='rtl'] .overview-stats,
html[dir='rtl'] .card-meta,
html[dir='rtl'] .hero-actions {
  direction: rtl;
}

html[dir='rtl'] .nav-item,
html[dir='rtl'] .season-card {
  text-align: right;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(16, 18, 26, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 8px;
  display: grid;
  gap: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  transition: background 0.2s ease;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(212, 175, 55, 0.16);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  padding: 32px 0 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.95rem;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.footer-rights {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Checkout modal */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(24, 26, 35, 0.98), rgba(14, 16, 24, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  box-shadow: 0 50px 130px rgba(0,0,0,0.5);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.modal-overlay.open .modal-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(212,175,55,0.2);
}

.modal-body h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 18px;
  font-size: 1.5rem;
  color: var(--gold);
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 22px;
}

.checkout-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.checkout-product-info p {
  margin: 0;
}

.checkout-product-name {
  font-weight: 600;
}

.checkout-product-price {
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px !important;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.checkout-form input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-form input:focus {
  outline: none;
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

.checkout-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-total {
  color: var(--text);
  font-size: 1rem;
  margin: 4px 0 0;
}

.checkout-error {
  color: #ff8b8b;
  font-size: 0.85rem;
  margin: 0;
}

.checkout-demo-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.checkout-actions .ghost-btn,
.checkout-actions .primary-btn {
  padding: 12px 24px;
}

#checkoutPay.processing {
  opacity: 0.7;
  pointer-events: none;
}

.checkout-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.3), rgba(212,175,55,0.05));
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.checkout-success p {
  color: var(--muted);
  margin: 0 0 20px;
}

@media (max-width: 560px) {
  .checkout-row.two-col {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    padding: 24px;
  }
}
