* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --gold: #c9a96e;
  --gold-light: #e8d5b5;
  --gold-dark: #b8944f;
  --gold-rich: #d4af37;
  --cream: #faf7f2;
  --cream-light: #fdfcfa;
  --white: #ffffff;
  --near-black: #1a1a1a;
  --text: #2d2d2d;
  --text-muted: #8a8a8a;
  --text-light: #b0b0b0;
  --border: #e8e3dc;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(201,169,110,0.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============== ANIMATIONS ============== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(201,169,110,0); }
}
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes toastIn {
  0% { transform: translateX(100%) scale(0.9); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes toastOut {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(100%) scale(0.9); opacity: 0; }
}
@keyframes skeletonLoading {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes badgeBounce {
  0% { transform: scale(1); }
  25% { transform: scale(1.35); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.animate-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(2) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(3) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(4) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(5) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(6) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(7) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(8) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(9) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(10) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(11) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.animate-stagger.visible > *:nth-child(12) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============== HEADER ============== */
.announcement-bar {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  background-size: 200% auto;
  animation: goldShimmer 4s linear infinite;
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--near-black);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.55rem;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

.header-search {
  position: relative;
  width: 320px;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--cream);
  color: var(--text);
}

.header-search input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-gold);
}

.header-search input::placeholder {
  color: var(--text-light);
}

.search-icon-input {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-btn {
  position: relative;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.header-btn:hover {
  background: var(--cream);
  color: var(--gold);
}

.header-btn .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}

.header-btn .badge.show {
  opacity: 1;
  transform: scale(1);
}
.header-btn .badge.bounce {
  animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-btn:active {
  transform: scale(0.92);
  color: var(--gold-dark);
}
.mobile-search-btn { display: none; }

.search-clear {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: var(--transition);
  line-height: 1;
}
.search-clear:hover { background: var(--cream); color: var(--text); }

/* ============== LAYOUT ============== */
.page-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 32px;
  margin-top: 24px;
  min-height: 80vh;
}

/* ============== SIDEBAR FILTERS ============== */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 96px;
  height: fit-content;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 8px;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--gold-light); }

.sidebar-section {
  margin-bottom: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar-section:hover {
  border-color: var(--gold-light);
}

.sidebar-section-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--near-black);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 400;
}

.category-item.sub {
  padding-left: 32px;
  font-size: 0.82rem;
}

.subcategory-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  opacity: 0;
}

.subcategory-wrap.open {
  max-height: 400px;
  opacity: 1;
}

.subcategory-wrap .category-item.sub:first-child {
  margin-top: 4px;
}

.subcategory-wrap .category-item.sub:last-child {
  margin-bottom: 4px;
}

.cat-toggle-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s, border-color 0.4s;
}

.cat-toggle-icon::before,
.cat-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--gold-dark);
  border-radius: 1px;
  transition: background 0.4s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-toggle-icon::before {
  width: 8px;
  height: 1.5px;
}

.cat-toggle-icon::after {
  width: 1.5px;
  height: 8px;
}

.cat-toggle-icon.open {
  transform: rotate(135deg);
  background: var(--gold);
  border-color: var(--gold);
}

.cat-toggle-icon.open::before,
.cat-toggle-icon.open::after {
  background: var(--white);
}

.category-item:hover {
  background: rgba(201,169,110,0.08);
  color: var(--gold-dark);
}

.category-item.active {
  background: rgba(201,169,110,0.18);
  color: var(--gold-dark);
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 9px;
}

.category-item input[type="checkbox"] {
  display: none;
}

.category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}

.category-item.active .category-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.2);
}

.category-item:hover .category-dot {
  background: var(--gold-light);
}

.category-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-light);
  background: rgba(0,0,0,0.03);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ============== PRICE RANGE ============== */
.price-range-wrap {
  padding: 0;
}

.price-reset-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.price-reset-btn:hover {
  color: var(--gold-dark);
  background: rgba(201,169,110,0.1);
}

/* --- Slider --- */
.pr-slider {
  position: relative;
  height: 48px;
  margin: 4px 0 8px;
}

.pr-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  pointer-events: none;
}

.pr-fill {
  position: absolute;
  height: 4px;
  top: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  pointer-events: none;
  z-index: 1;
}

.pr-input {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 4px;
  top: 18px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  pointer-events: none;
  margin: 0;
  z-index: 2;
}

.pr-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: 3px solid var(--gold-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  pointer-events: auto;
  margin-top: -8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pr-input::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 14px rgba(201,169,110,0.3);
}

.pr-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: 3px solid var(--gold-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  pointer-events: auto;
}

.pr-input::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

/* --- Price bubbles below thumbs --- */
.pr-bubble {
  position: absolute;
  top: 32px;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
  line-height: 1.3;
}

/* --- Input fields --- */
.pr-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pr-field {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--near-black);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  text-align: center;
}

.pr-field:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.pr-sep {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

/* --- Preset buttons --- */
.pr-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.pr-preset {
  padding: 8px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.pr-preset:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,169,110,0.06);
}

.pr-preset.active {
  border-color: var(--gold);
  background: rgba(201,169,110,0.12);
  color: var(--gold-dark);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.pr-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Sort */
.sort-dropdown {
  position: relative;
}

.sort-trigger {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sort-trigger:hover {
  border-color: var(--gold);
}

.sort-trigger svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
  display: none;
}

.sort-menu.open {
  display: block;
}

.sort-option {
  width: 100%;
  padding: 11px 16px;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.sort-option:hover {
  background: var(--cream);
}

.sort-option.active {
  background: var(--gold-light);
  font-weight: 600;
  color: var(--near-black);
}

/* Trending toggle */
.trending-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.trending-toggle label {
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.toggle-switch.active {
  background: var(--gold);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.toggle-switch.active::after {
  left: 22px;
}

/* Clear filters */
.clear-filters {
  width: 100%;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.clear-filters:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,169,110,0.04);
}

/* ============== MAIN CONTENT ============== */
.main-content {
  flex: 1;
  min-width: 0;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.main-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-header h2 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--near-black);
  letter-spacing: -0.02em;
}

.main-header .result-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile filter toggle (hidden on desktop) */
.filter-toggle-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.filter-toggle-mobile:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ============== PRODUCT GRID ============== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
  background: var(--cream);
}

.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 25%, #f0ede8 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s ease infinite;
  z-index: 0;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.product-action-btn:hover {
  background: var(--white);
  transform: scale(1.1);
  color: var(--gold);
}
.product-action-btn:active {
  transform: scale(0.9);
}

.product-action-btn.wishlisted {
  background: #fce4e4;
  color: #e74c3c;
}

.product-action-btn svg {
  width: 16px;
  height: 16px;
}

.trending-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(201,169,110,0.3);
}

.product-card-info {
  padding: 16px;
}

.product-card-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--near-black);
}

.product-card-price .strike {
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.85rem;
  margin-right: 8px;
}

.product-card-price .discounted {
  color: #c0392b;
}

/* ============== SKELETONS ============== */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.skeleton-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skeleton-img {
  width: 100%;
  padding-top: 125%;
  background: linear-gradient(90deg, var(--cream) 25%, #f0ede8 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s ease infinite;
}

.skeleton-info {
  padding: 16px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cream) 25%, #f0ede8 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s ease infinite;
}

.skeleton-line.short {
  width: 60%;
}

/* ============== HERO SECTION ============== */
.hero-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  margin-top: 24px;
}

.hero-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #fcfaf7 0%, #f5efe6 40%, #ede3d3 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

.hero-col-text {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseGlow 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--near-black);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--gold-dark);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-light);
  border-radius: 2px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  background: var(--near-black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.hero-btn:hover::after {
  transform: translateX(100%);
}

.hero-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.35);
}
.hero-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.hero-btn:hover svg {
  transform: translateX(4px);
}

.hero-cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.hero-section.visible .hero-inner {
  animation: heroEntrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* --- Visual Column --- */
.hero-col-visual {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.15);
}

.hero-ring-outer {
  width: 320px;
  height: 320px;
  animation: heroSpin 30s linear infinite;
}

.hero-ring-mid {
  width: 240px;
  height: 240px;
  animation: heroSpin 22s linear infinite reverse;
  border-style: dashed;
}

.hero-ring-inner {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border: 1.5px solid rgba(201,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

.hero-ring-icon {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold-light);
  animation: heroSpin 12s linear infinite reverse;
  user-select: none;
  line-height: 1;
}

.hero-accent-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
}

.hero-accent-dot-1 {
  top: 18%;
  right: 8%;
  animation: float 4s ease-in-out infinite 0.5s;
}

.hero-accent-dot-2 {
  bottom: 22%;
  left: 12%;
  animation: float 4.5s ease-in-out infinite 1s;
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

/* ============== TOAST ============== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s ease forwards;
  pointer-events: auto;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success {
  background: var(--near-black);
}

.toast.error {
  background: #c0392b;
}

.toast.info {
  background: var(--text-muted);
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

/* ============== EMPTY STATE ============== */
.no-products {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.no-products svg {
  width: 60px;
  height: 60px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.no-products h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.no-products p {
  font-size: 0.88rem;
}

/* ============== MOBILE FILTER OVERLAY ============== */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-overlay.active {
  opacity: 1;
}

/* ============== RESPONSIVE ============== */

/* Tablets */
@media (max-width: 1024px) {
  .header-inner { padding: 0 20px; }
  .page-layout { padding: 0 20px; flex-direction: column; }
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--white);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: block;
    height: auto;
    max-height: none;
  }
  .sidebar.open { transform: translateX(0); }
  .filter-toggle-mobile { display: inline-flex; }
  .hero-inner { padding: 0 40px; min-height: 360px; }
  .hero-title { font-size: 2.4rem; }
  .hero-col-visual { width: 240px; height: 240px; }
  .hero-ring-outer { width: 230px; height: 230px; }
  .hero-ring-mid { width: 170px; height: 170px; }
  .hero-ring-inner { width: 110px; height: 110px; }
  .hero-ring-icon { font-size: 2.5rem; }
  .hero-accent-dot { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .header-search { width: 220px; }
}

/* Mobile */
@media (max-width: 768px) {
  .announcement-bar { font-size: 0.65rem; letter-spacing: 1px; padding: 6px 12px; }
  .header-inner { padding: 0 16px; height: 60px; }
  .logo-main { font-size: 1.2rem; letter-spacing: 2px; }
  .logo-sub { font-size: 0.45rem; }
  .header-search { display: none; }
  .mobile-search-btn { display: none; } { display: flex; }

  .filter-toggle-mobile { display: inline-flex; }
  .page-layout { padding: 0 12px; margin-top: 12px; gap: 0; }
  .hero-section { padding: 0 12px; margin-top: 12px; }
  .hero-inner { padding: 32px 24px; min-height: auto; flex-direction: column; text-align: center; }
  .hero-title { font-size: 1.8rem; }
  .hero-title span::after { display: none; }
  .hero-col-visual { display: none; }
  .hero-col-text { max-width: 100%; padding: 0; }
  .hero-btn { width: 100%; justify-content: center; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-note { text-align: center; font-size: 0.72rem; }
  .main-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .main-header-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-header h2 { font-size: 1.05rem; letter-spacing: -0.01em; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-image { padding-top: 120%; }
  .product-card-info { padding: 10px; }
  .product-card-title { font-size: 0.78rem; }
  .product-card-price { font-size: 0.9rem; }
  .product-card-actions { opacity: 1; transform: none; }
  .product-action-btn { width: 36px; height: 36px; }
  .product-action-btn svg { width: 15px; height: 15px; }
  .trending-badge { font-size: 0.55rem; padding: 3px 8px; top: 8px; left: 8px; }
  .hero-badge { font-size: 0.6rem; }
  .filter-toggle-mobile { width: 100%; justify-content: center; }
  .toast-container { top: 12px; right: 12px; left: 12px; }
  .toast { max-width: none; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .product-grid { gap: 8px; }
  .product-card-title { font-size: 0.72rem; -webkit-line-clamp: 1; }
  .product-card-price { font-size: 0.82rem; }
  .product-card-info { padding: 8px; }
  .hero-inner { padding: 24px 16px; }
  .hero-title { font-size: 1.5rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-badge { font-size: 0.55rem; padding: 5px 12px; }
}

/* ============== RECENTLY VIEWED ============== */
.recently-viewed {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 60px;
  display: none;
}
.recently-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.recently-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--near-black); }
.recently-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.recently-card { cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); background: var(--white); }
.recently-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.recently-card { position: relative; }
.recently-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  opacity: 0;
}
.recently-card:hover .recently-remove,
.recently-remove:focus-visible { opacity: 1; }
.recently-remove:hover { background: rgba(0,0,0,0.8); }
@media (hover: none) { .recently-remove { opacity: 1; } }
.recently-card.sold-out { opacity: 0.6; cursor: default; }
.recently-card.sold-out:hover { transform: none; box-shadow: none; border-color: var(--border); }
.recently-sold-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: #e74c3c;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.recently-card-img { width: 100%; padding-top: 120%; position: relative; overflow: hidden; background: var(--cream); }
.recently-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recently-card-title { font-size: 0.78rem; font-weight: 500; padding: 10px 10px 2px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recently-card-price { font-size: 0.88rem; font-weight: 700; padding: 0 10px 10px; color: var(--near-black); }

/* ============== BACK TO TOP ============== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--near-black);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--gold-dark); transform: translateY(-3px); }
.back-to-top:active { transform: scale(0.92); }



/* ============== MOBILE SEARCH ============== */
.mobile-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 3000;
  flex-direction: column;
}
.mobile-search-overlay.open { display: flex; }
.mobile-search-panel { display: flex; flex-direction: column; height: 100%; }
.mobile-search-header { display: flex; align-items: center; gap: 8px; padding: 16px; border-bottom: 1px solid var(--border); }
.mobile-search-header input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  background: var(--cream);
  transition: var(--transition);
}
.mobile-search-header input:focus { border-color: var(--gold); background: var(--white); }
.mobile-search-close { background: none; border: none; font-size: 1.6rem; color: var(--text-muted); cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.mobile-search-close:hover { background: var(--cream); color: var(--text); }
.mobile-search-results { flex: 1; overflow-y: auto; padding: 16px; }

@media (max-width: 768px) {
  .back-to-top { bottom: 80px; right: 16px; width: 40px; height: 40px; }
  .recently-viewed { padding: 0 12px 60px; }
  .recently-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .recently-card-title { font-size: 0.7rem; }
  .recently-card-price { font-size: 0.78rem; }
}
