@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Barlow:wght@300;400;500&display=swap');

:root {
  --black: #1a1208;
  --dark: #211a0e;
  --dark-2: #2a2010;
  --dark-3: #332818;
  --dark-4: #3d3020;
  --white: #faf7f2;
  --white-dim: rgba(250,247,242,0.72);
  --white-faint: rgba(250,247,242,0.1);
  --gold: #e07b2a;
  --gold-light: #f09040;
  --gold-dark: #a05518;
  --silver: #c8bfb0;
  --red: #c95c1a;
  --glow: rgba(224,123,42,0.18);
  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: cubic-bezier(0.16, 1, 0.3, 1);
}

/* main */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: #f5ede0;
  color: #1e1408;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

/* scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* custom cursor */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(224,123,42,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s var(--transition);
}
body:hover .cursor-dot { opacity: 1; }

/* utilities */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.gold-text { color: var(--gold); }
.section-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* navbar */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: all 0.5s var(--transition);
}
.nav.scrolled {
  background: rgba(104, 93, 87, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(224,123,42,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 6px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #4a3520;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--transition);
}
.nav-links a:hover { color: #1e1408; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

/* nav dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(245,237,224,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(224,123,42,0.2);
  border-top: 2px solid var(--gold);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #4a3520 !important;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
  color: var(--gold) !important;
  background: rgba(224,123,42,0.08);
  padding-left: 28px;
}

.nav-cta {
  font-family: var(--font-condensed) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: var(--black) !important;
  background: var(--gold);
  padding: 10px 24px !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

/* nav hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 28px; height: 2px;
  background: #1e1408;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* main hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=90') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
  filter: brightness(0.35);
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8,8,8,0.85) 0%,
    rgba(8,8,8,0.4) 60%,
    rgba(8,8,8,0.1) 100%
  );
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--black), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--transition-fast) 0.3s forwards;
}
.hero-label-line {
  width: 48px; height: 1px;
  background: var(--gold);
}
.hero-label-text {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(68px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--transition-fast) 0.5s forwards;
}
.hero-title .accent { color: var(--gold); display: block; }

.hero-subtitle {
  font-family: var(--font-condensed);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(250,247,242,0.75);
  max-width: 480px;
  margin: 24px 0 48px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--transition-fast) 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s var(--transition-fast) 0.9s forwards;
}

/* btn */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 16px 36px;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 15px 36px;
  text-decoration: none;
  border: 1px solid rgba(245,245,245,0.3);
  transition: all 0.3s var(--transition);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* hero scroll */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.hero-scroll-text {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white-dim);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(224,123,42,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* stats */
.hero-stats {
  position: absolute;
  bottom: 60px;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 48px;
  opacity: 0;
  animation: fadeSlideLeft 0.9s var(--transition-fast) 1.1s forwards;
}
.hero-stat {
  text-align: right;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* categories */
.categories {
  padding: 120px 0;
  position: relative;
  background: #ede3d4;
}
.categories::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: #1e1408;
}
.section-title .line2 { color: var(--gold); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .categories-grid { grid-template-columns: 1fr; } }

.category-card {
  position: relative;
  overflow: hidden;
  background: #d4c5b0;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.4s var(--transition);
  text-decoration: none;
  display: block;
  aspect-ratio: 3/4;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s;
}
.category-card:hover::after { border-color: var(--gold); }

.category-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
  filter: brightness(0.45) saturate(0.7);
}
.category-card:hover .category-img {
  transform: scale(1.1);
  filter: brightness(0.3) saturate(0.5);
}

.category-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  transform: translateY(8px);
  transition: transform 0.4s var(--transition);
}
.category-card:hover .category-body { transform: translateY(0); }

.category-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 8px var(--gold));
}
.category-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 6px;
}
.category-desc {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--white-dim);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--transition) 0.05s;
}
.category-card:hover .category-desc {
  opacity: 1;
  transform: translateY(0);
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--transition) 0.1s;
}
.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}
.category-link svg {
  transition: transform 0.3s;
}
.category-card:hover .category-link svg { transform: translateX(4px); }

/* featured products */
.featured {
  padding: 120px 0;
  background: #f5ede0;
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
@media (max-width: 1024px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .featured-grid { grid-template-columns: 1fr; } }

/* card products */
.product-card {
  background: #fff8f0;
  border: 1px solid rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.product-card.show-animation {
  animation: productShow 0.6s var(--transition) both;
}

@keyframes productShow {
  0% { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}
.product-card:hover {
  border-color: rgba(224,123,42,0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 0 40px rgba(224,123,42,0.08);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ede3d4;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
  filter: brightness(0.85);
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--black);
  z-index: 1;
}
.product-badge.new { background: var(--gold); }
.product-badge.sale { background: var(--red); color: var(--white); }

.product-wishlist {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(245,237,224,0.85);
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  z-index: 1;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: var(--gold); border-color: var(--gold); }
.product-wishlist svg { fill: none; stroke: #1e1408; width: 16px; height: 16px; }

.product-body {
  padding: 24px 24px 20px;
}
.product-category-tag {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1e1408;
  margin-bottom: 12px;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: break-word;
}
.product-desc {
  font-size: 14px;
  color: #6b5540;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.5;
  hyphens: auto;
  overflow-wrap: break-word;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  color: #1e1408;
  line-height: 1;
}
.product-price-old {
  font-family: var(--font-condensed);
  font-size: 14px;
  color: rgba(30,20,8,0.35);
  text-decoration: line-through;
  display: block;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s var(--transition);
}
.btn-cart:hover::before { transform: translateX(0); }
.btn-cart span { position: relative; z-index: 1; }
.btn-cart:hover { transform: translateY(-1px); }

/* card products onview */
.product-quick-view {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(224,123,42,0.93);
  padding: 12px;
  text-align: center;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff8f0;
  transform: translateY(100%);
  transition: transform 0.3s var(--transition);
  cursor: pointer;
}
.product-img-wrap:hover .product-quick-view { transform: translateY(0); }

/* about */
.about {
  padding: 0;
  overflow: hidden;
  background: #ede3d4;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; } }

.about-img-side {
  position: relative;
  overflow: hidden;
}
.about-img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.6);
  transition: filter 0.5s, transform 0.7s var(--transition);
}
.about-img-side:hover img {
  filter: brightness(0.55) saturate(0.8);
  transform: scale(1.03);
}
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, #ede3d4 95%);
}

.about-content {
  padding: 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1100px) { .about-content { padding: 64px 40px; } }
@media (max-width: 900px) {
  .about-content { padding: 64px 24px; }
  .about-img-overlay { background: linear-gradient(to top, #ede3d4 10%, transparent); }
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: 2px;
  color: #1e1408;
  margin-bottom: 32px;
}
.about-title span { color: var(--gold); display: block; }

.about-text {
  font-size: 16px;
  font-weight: 300;
  color: #5a4530;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.about-metric-number {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.about-metric-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a6050;
}

/* banner */
.banner-strip {
  background: var(--gold);
  padding: 18px 0;
  overflow: hidden;
}
.banner-strip-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: stripScroll 20s linear infinite;
}
.banner-strip-item {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.banner-strip-dot {
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

.newsletter {
  padding: 100px 0;
  background: #2a2010;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: 'APEX';
  font-family: var(--font-display);
  font-size: 280px;
  color: rgba(255,255,255,0.02);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: 20px;
  white-space: nowrap;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 2px;
  color: #faf7f2;
  margin-bottom: 12px;
}
.newsletter-sub {
  font-family: var(--font-condensed);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(250,247,242,0.65);
  margin-bottom: 40px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  padding: 16px 24px;
  font-family: var(--font-condensed);
  font-size: 15px;
  letter-spacing: 1px;
  color: #faf7f2;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(250,247,242,0.3); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff8f0;
  background: var(--gold);
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* footer */
.footer {
  background: #1e1408;
  padding: 80px 0 0;
  border-top: 1px solid rgba(224,123,42,0.15);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand { max-width: 280px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 6px;
  color: #faf7f2;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: 14px;
  color: rgba(250,247,242,0.55);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,247,242,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(224,123,42,0.08);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 15px;
  color: rgba(250,247,242,0.55);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 15px;
  color: rgba(250,247,242,0.55);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact p svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(250,247,242,0.3);
}
.footer-copy span { color: var(--gold); }

/* products */
.products-hero {
  height: 45vh;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.products-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1449426468159-d96dbf08f19f?w=1920&q=80') center/cover no-repeat;
  filter: brightness(0.25);
}
.products-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 0%, transparent 60%);
}
.products-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
.products-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  letter-spacing: 3px;
  line-height: 0.9;
  color: var(--white);
}
.products-hero h1 span { color: var(--gold); }

/* filter */
.filter-bar {
  background: #fff8f0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 64px;
  z-index: 100;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.filter-bar-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  font-family: var(--font-condensed) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b5540;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 20px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.filter-btn::after {
  content: '';
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #6b5540;
  opacity: 0.8;
  transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
  color: var(--gold-dark);
}

.filter-btn.active::after {
  color: var(--gold);
  opacity: 1;
  text-shadow: 0 0 8px rgba(224,123,42,0.4);
}
.filter-btn:hover { color: #1e1408; }
.filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* sub filter */
.sub-filter {
  background: #ede3d4;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 12px 0;
  overflow: hidden;
  transition: height 0.3s var(--transition), opacity 0.3s;
}
.sub-filter-inner {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sub-filter-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b5540;
  background: linear-gradient(135deg, #fff8f0, #f5ede0);
  border: 1px solid rgba(224,123,42,0.2);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sub-filter-tag:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fff8f0, var(--glow));
  color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(224,123,42,0.15);
}
.sub-filter-tag.active { 
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(224,123,42,0.3);
}
.sub-filter-tag:hover { border-color: var(--gold); color: var(--gold); }
.sub-filter-tag.active { background: var(--gold); color: #fff8f0; border-color: var(--gold); }

/* products layout */
.products-layout {
  padding: 60px 0 120px;
  background: #f5ede0;
}
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.products-count {
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 
    0 4px 16px rgba(224,123,42,0.4),
    2px 2px 0 #1e1408;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.products-count strong, #productCount {
  font-family: 'Playfair Display', var(--font-display), serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #e07b2a 0%, #f09040 50%, #d2691e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.3),
    0 0 20px rgba(224,123,42,0.4);
  display: block;
  line-height: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-count strong.animate-count, #productCount.animate-count {
  transform: scale(1.1) translateY(-4px);
  text-shadow: 
    0 0 20px rgba(224,123,42,0.7),
    0 8px 30px rgba(224,123,42,0.4);
}

.products-count strong {
  font-family: var(--font-display);
  font-size: 32px;
  color: #1e1408;
}


.sort-select {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a3520;
  background: #fff8f0;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 10px 16px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s;
}
.sort-select:focus { border-color: var(--gold); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .products-grid { grid-template-columns: 1fr; } }

/* load more */
.load-more-wrap {
  text-align: center;
  margin-top: 64px;
}

/* anims */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* show scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* cart toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  background: #fff8f0;
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.4s var(--transition-fast);
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.toast.show { transform: translateX(0); }
.toast-icon { color: var(--gold); font-size: 18px; }
.toast-text { font-family: var(--font-condensed); font-size: 15px; letter-spacing: 0.5px; color: #1e1408; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(245,237,224,0.99);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--transition);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; color: #1e1408; }
  .dropdown-menu {
    position: static;
    transform: none !important;
    background: none;
    border: none;
    border-top: none;
    padding: 0;
    opacity: 1;
    pointer-events: all;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; text-align: center; }
  .nav-cta { display: none; }
}

/* div */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.divider-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* view all */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}
.view-all:hover { gap: 16px; }
.view-all svg { transition: transform 0.3s; }
.view-all:hover svg { transform: translateX(4px); }

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--transition); }
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 440px; height: 100vh; background: #2a2010; z-index: 2001; transform: translateX(100%); transition: transform 0.5s var(--transition); display: flex; flex-direction: column; border-left: 1px solid rgba(224,123,42,0.2); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
.cart-drawer.active { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cart-title { font-family: var(--font-condensed); font-size: 26px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.cart-close { background: none; border: none; color: rgba(250,247,242,0.6); cursor: pointer; transition: color 0.3s, transform 0.3s; padding: 4px; display: flex; }
.cart-close:hover { color: var(--gold); transform: rotate(90deg); }
.cart-close svg { width: 24px; height: 24px; }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 32px; display: flex; flex-direction: column; gap: 20px; }
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: #332818; }
.cart-items::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
.cart-empty-msg { font-size: 15px; color: rgba(250,247,242,0.5); text-align: center; margin-top: 40px; }
.cart-item { display: flex; gap: 16px; position: relative; animation: fadeSlideLeft 0.4s var(--transition) forwards; }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; background: #332818; border: 1px solid rgba(255,255,255,0.08); }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cart-item-name { font-family: var(--font-condensed); font-size: 17px; font-weight: 700; color: #faf7f2; line-height: 1.2; padding-right: 24px; }
.cart-item-price { font-family: var(--font-display); font-size: 20px; color: var(--gold); letter-spacing: 1px; line-height: 1; }
.cart-item-remove { position: absolute; top: 0; right: 0; background: none; border: none; color: rgba(250,247,242,0.4); cursor: pointer; font-size: 20px; transition: color 0.2s; line-height: 1; padding: 0 4px; }
.cart-item-remove:hover { color: #e07b2a; }
.cart-footer { padding: 32px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(20,15,8,0.6); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; font-family: var(--font-condensed); font-size: 15px; text-transform: uppercase; letter-spacing: 2px; color: #faf7f2; }
.cart-total-price { font-family: var(--font-display); font-size: 34px; color: var(--gold); letter-spacing: 1px; line-height: 1; }
.cart-tax-note { font-size: 13px; color: rgba(250,247,242,0.4); margin-bottom: 24px; }

/* ── AUTH BUTTON in nav ── */
.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff8f0;
  background: var(--gold);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-auth-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* user avatar/greeting */
.nav-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-user-name {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #4a3520;
}
.nav-logout-btn {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a05518;
  background: none;
  border: 1px solid rgba(160,85,24,0.3);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-logout-btn:hover { border-color: var(--gold); color: var(--gold); }

/* admin pill button (only when logged in as admin) */
.admin-corner-btn {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1100;
  display: none; /* hidden by default, shown only w/ JS */
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff8f0;
  background: #1e1408;
  border: 1px solid var(--gold);
  padding: 8px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.admin-corner-btn.visible { display: inline-flex; }
.admin-corner-btn:hover { background: var(--gold); color: #1e1408; }
.admin-corner-btn svg { width: 14px; height: 14px; }

/* ── GLOBAL PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
  transform: scale(1);
}

#preloader.hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(224,123,42,0.2);
  border-top: 4px solid var(--gold);
  border-radius: 50%;
  animation: spinnerRotate 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin-bottom: 24px;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

.preloader-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.7;
}

/* ── KEYFRAMES ── */
@keyframes spinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderFade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cartSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.1); }
  75% { transform: rotate(270deg) scale(1.1); }
}

/* ── CART BUTTON LOADING ── */
.btn-cart.loading {
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

.btn-cart.loading span {
  opacity: 0;
}

.btn-cart.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff8f0;
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}

.btn-cart.loading::before {
  animation: cartSpin 0.6s ease-in-out;
}

/* ── STAGGERED PRODUCT REVEALS ── */
.products-grid {
  position: relative;
  overflow: hidden;
}

.products-grid.filtering .product-card {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: all 0.4s var(--transition) !important;
}

.product-enter {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.5s var(--transition);
}

/* Stagger delays 0-20 (0.04s step for ~0.8s wave) */
.product-enter-0 { transition-delay: 0s; }
.product-enter-1 { transition-delay: 0.04s; }
.product-enter-2 { transition-delay: 0.08s; }
.product-enter-3 { transition-delay: 0.12s; }
.product-enter-4 { transition-delay: 0.16s; }
.product-enter-5 { transition-delay: 0.20s; }
.product-enter-6 { transition-delay: 0.24s; }
.product-enter-7 { transition-delay: 0.28s; }
.product-enter-8 { transition-delay: 0.32s; }
.product-enter-9 { transition-delay: 0.36s; }
.product-enter-10 { transition-delay: 0.40s; }
.product-enter-11 { transition-delay: 0.44s; }
.product-enter-12 { transition-delay: 0.48s; }
.product-enter-13 { transition-delay: 0.52s; }
.product-enter-14 { transition-delay: 0.56s; }
.product-enter-15 { transition-delay: 0.60s; }
.product-enter-16 { transition-delay: 0.64s; }
.product-enter-17 { transition-delay: 0.68s; }
.product-enter-18 { transition-delay: 0.72s; }
.product-enter-19 { transition-delay: 0.76s; }
.product-enter-20 { transition-delay: 0.80s; }

/* ── GRADIENT HOVER TEXT & SHIMMER ── */
.gradient-hover {
  background: linear-gradient(45deg, var(--gold), var(--gold-light), #f8b86a, var(--gold-dark), var(--gold));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s var(--transition);
  position: relative;
  cursor: pointer;
}

.gradient-hover:hover {
  animation: gradientShift 0.8s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(224,123,42,0.4));
}

/* ── ENHANCED SHIMMER UNDERLINE FITTING TEXT ── */
.nav-links a,
.product-name,
.filter-btn.active,
.sub-filter-tag.active,
.section-title,
.hero-title {
  position: relative;
  display: inline-block; /* Key for underline fit */
}

.nav-links a,
.product-name,
.filter-btn.active,
.sub-filter-tag.active {
  overflow: hidden;
}

.nav-links a::before,
.product-name::before,
.filter-btn.active::before,
.sub-filter-tag.active::before {
  content: attr(data-text); /* Duplicate text for gradient */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSlide 1.5s infinite;
  opacity: 0;
  z-index: 1;
}

.nav-links a:hover::before,
.product-name:hover::before,
.filter-btn.active:hover::before,
.sub-filter-tag.active:hover::before {
  opacity: 1;
}

@keyframes shimmerSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.nav-links a::after,
.product-name::after,
.filter-btn.active::after,
.sub-filter-tag.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--transition);
  box-shadow: 0 0 8px rgba(224,123,42,0.6);
}

.nav-links a:hover::after,
.product-name:hover::after,
.filter-btn.active:hover::after,
.sub-filter-tag.active:hover::after {
  width: 100%;
}

/* Apply to key elements */
.btn-primary span,
.btn-cart span {
  font-weight: 700;
}

.nav-links a,
.product-name,
.filter-btn,
.sub-filter-tag {
  --shimmer-pos: -100%;
}

/* ── WELCOME OVERLAY ── */
.welcome-overlay,
.welcome-preview {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(224,123,42,0.15), transparent 70%),
              linear-gradient(135deg, var(--dark), var(--black));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transform: scale(1.2);
  transition: all 1s var(--transition);
  pointer-events: none;
}

.welcome-preview {
  position: absolute !important;
  z-index: 10;
}

.welcome-overlay.show,
.welcome-preview.show {
  opacity: 1;
  transform: scale(1);
}

.welcome-overlay.fadeout,
.welcome-preview.fadeout {
  opacity: 0;
  transform: scale(0.95);
}

.welcome-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 120px);
  letter-spacing: 6px;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--gold), var(--gold-light), #f8b86a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(224,123,42,0.6);
  margin-bottom: 12px;
  animation: welcomePulse 2s ease-in-out infinite;
  position: relative;
}

.welcome-subtitle {
  font-family: var(--font-condensed);
  font-size: clamp(16px, 3vw, 22px);
  letter-spacing: 2px;
  color: rgba(250,247,242,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

@keyframes welcomePulse {
  0%, 100% { 
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 20px rgba(224,123,42,0.4));
  }
  50% { 
    transform: scale(1.05) translateY(-4px);
    filter: drop-shadow(0 0 40px rgba(224,123,42,0.7));
  }
}

/* cart icon in nav (products page) */
.cart-nav-wrap { position: relative; display: inline-block; }
.cart-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a3520;
  transition: color 0.3s;
}
.cart-icon-btn:hover { color: var(--gold); }
.cart-icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: #fff8f0;
  border-radius: 50%;
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

/* performance upgrades */
.product-card[data-category="performance"] {
  border-left: 4px solid var(--gold);
}
.product-card[data-category="performance"]:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 0 40px rgba(224,123,42,0.16);
}
.product-card[data-category="performance"] .product-category-tag {
  font-family: var(--font-display);
  color: var(--gold-dark);
}
.product-card[data-category="performance"] .product-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
}
.product-card[data-category="performance"] .product-desc {
  font-weight: 400;
}
.product-card[data-category="performance"] .product-price {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
}

.filter-btn[data-filter="performance"].active {
  border-bottom-color: var(--gold-light);
  background: rgba(224,123,42,0.08);
}
.product-category-tag:has([data-sub*="Exhaust"]) { color: var(--gold-dark); }
.product-quick-view {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 20px rgba(224,123,42,0.3);
}

/* login page */
.login-page {
  min-height: 100vh;
  background: #f5ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.login-card {
  width: 100%;
  max-width: 460px;
  background: #fff8f0;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(224,123,42,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.login-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 5px;
  color: #1e1408;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.login-logo span { color: var(--gold); }
.login-tagline {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a07850;
  margin-bottom: 40px;
}
.login-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 36px;
}
.login-tab {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a07850;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 24px 12px 0;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: -1px;
}
.login-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.login-tab:hover:not(.active) { color: #1e1408; }
.login-form { display: flex; flex-direction: column; gap: 20px; }
.login-form.hidden { display: none; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a6050;
}
.form-input {
  background: #f5ede0;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 14px 18px;
  font-family: var(--font-condensed);
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #1e1408;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-input::placeholder { color: rgba(30,20,8,0.3); }
.form-input:focus { border-color: var(--gold); background: #fff8f0; }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff8f0;
  background: var(--gold);
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.35s var(--transition);
}
.form-submit:hover::before { transform: translateX(0); }
.form-submit:hover { transform: translateY(-2px); }
.form-submit span { position: relative; z-index: 1; }
.form-error {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #c95c1a;
  background: rgba(201,92,26,0.08);
  border: 1px solid rgba(201,92,26,0.2);
  padding: 10px 16px;
  display: none;
}
.form-error.visible { display: block; }
.form-success {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #2d7a3a;
  background: rgba(45,122,58,0.08);
  border: 1px solid rgba(45,122,58,0.2);
  padding: 10px 16px;
  display: none;
}
.form-success.visible { display: block; }
.login-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a07850;
  text-decoration: none;
  margin-top: 28px;
  transition: color 0.2s, gap 0.2s;
}
.login-back:hover { color: var(--gold); gap: 12px; }

/* divider or */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  color: #b09070;
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

@media (max-width: 520px) {
  .login-card { padding: 40px 28px; }
}
