:root {
  /* Burgundy palette (replacing green naming) */
  --green-50:  #fdf6f1;  /* ivory cream lightest */
  --green-100: #f9e6dd;  /* cream blush */
  --green-200: #f0c8b8;  /* dusty pink */
  --green-300: #d99e8a;
  --green-400: #c2604a;
  --green-500: #a23824;
  --green-600: #8a1f0d;  /* primary hover */
  --green-700: #730800;  /* PRIMARY brand color */
  --green-800: #5c0600;
  --green-900: #3d0400;
  /* Accent (warm amber pairs with burgundy) */
  --orange:     #d4a017;
  --orange-dark: #b8860b;
  /* Cream / Ivory backgrounds */
  --cream-50:  #fffef5;  /* ivory */
  --cream-100: #fdf8e9;  /* light cream */
  --cream-200: #faf0d7;  /* warm cream */
  --cream-300: #f3e2bc;  /* deeper cream */
  /* Neutrals tinted warm */
  --gray-50:  #faf5ef;
  --gray-100: #f3ebe1;
  --gray-200: #e6d9c8;
  --gray-300: #c9b8a3;
  --gray-400: #9a8674;
  --gray-500: #7a6753;
  --gray-600: #5a4a3a;
  --gray-700: #3f3328;
  --gray-800: #2a221b;
  --gray-900: #1a140f;
  --shadow-sm: 0 1px 2px rgba(115,8,0,.06);
  --shadow:    0 4px 12px rgba(115,8,0,.10);
  --shadow-lg: 0 10px 30px rgba(115,8,0,.18);
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gray-900);
  line-height: 1.2;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--green-600); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(115,8,0,.3);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(115,8,0,.4);
}
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-600);
}
.btn-outline:hover {
  background: var(--green-50);
}
.btn-block { width: 100%; }

/* Topbar */
.topbar {
  background: var(--green-800);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
}
.logo-icon { font-size: 32px; }
.logo-accent { color: var(--green-600); }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.active {
  color: var(--green-600);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-600);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn {
  background: var(--gray-50);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  position: relative;
}
.icon-btn:hover {
  background: var(--green-100);
  transform: scale(1.05);
}
.cart-btn {
  background: var(--green-600);
  color: #fff;
  width: auto;
  padding: 0 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  gap: 6px;
}
.cart-btn:hover { background: var(--green-700); }
.cart-badge {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
}
.mobile-only { display: none; }

.search-bar {
  display: none;
  background: var(--gray-50);
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
}
.search-bar.open { display: block; }
.search-bar input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border .2s;
}
.search-bar input:focus { border-color: var(--green-500); }

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: clamp(480px, 65vh, 620px);
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity .8s ease, transform 1.2s ease, visibility .8s;
  padding: 60px 0;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.slide-1 { background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%); }
.slide-2 { background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-300) 100%); }
.slide-3 { background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-100) 100%); }
.slide-4 { background: linear-gradient(135deg, var(--cream-100) 0%, #f7e8d6 100%); }

.slide .hero-text h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s ease .3s;
}
.slide .hero-text p,
.slide .hero-text .hero-buttons,
.slide .hero-text .hero-badge {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s ease .5s;
}
.slide .hero-text .hero-buttons { transition-delay: .7s; }
.slide .hero-image {
  opacity: 0;
  transform: scale(.8);
  transition: all 1s ease .4s;
}
.slide.active .hero-text h1,
.slide.active .hero-text p,
.slide.active .hero-text .hero-buttons,
.slide.active .hero-text .hero-badge {
  opacity: 1;
  transform: translateY(0);
}
.slide.active .hero-image {
  opacity: 1;
  transform: scale(1);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.badge-orange { background: #fef3d4; color: var(--orange-dark); }
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-purple { background: #f3e2bc; color: var(--green-800); }

.hero-text h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 18px;
}
.hero-text > p {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, var(--green-200), var(--green-400));
  border-radius: 50%;
  filter: blur(2px);
  opacity: .7;
  animation: float 6s ease-in-out infinite;
}
.circle-red { background: linear-gradient(135deg, var(--green-200), var(--green-500)); }
.circle-blue { background: linear-gradient(135deg, var(--cream-300), #d4a017); }
.circle-purple { background: linear-gradient(135deg, var(--green-100), var(--green-400)); }

.hero-emoji {
  position: relative;
  font-size: 110px;
  letter-spacing: -8px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.2));
  animation: bounce 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.95);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow);
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  padding-bottom: 4px;
}
.slider-arrow:hover {
  background: var(--green-600);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .3s;
  border: 2px solid var(--gray-400);
}
.dot:hover { background: rgba(255,255,255,.9); }
.dot.active {
  background: var(--green-600);
  border-color: var(--green-600);
  width: 32px;
  border-radius: 100px;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0,0,0,.06);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  width: 0;
  background: var(--green-600);
  transition: width .1s linear;
}

/* Stats bar */
.stats-bar {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
}
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-stats strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-700);
  font-family: 'Playfair Display', serif;
}
.hero-stats span {
  font-size: 13px;
  color: var(--gray-500);
}

/* Featured products slider */
.featured {
  padding: 70px 0;
  background: #fff;
  overflow: hidden;
}
.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.featured-nav {
  display: flex;
  gap: 8px;
}
.slider-arrow-sm {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gray-200);
  background: #fff;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  padding-bottom: 3px;
}
.slider-arrow-sm:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
}
.slider-arrow-sm:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.featured-track-wrap {
  overflow: hidden;
  margin: 0 -8px;
}
.featured-track {
  display: flex;
  gap: 20px;
  padding: 8px;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.featured-track .product-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
}

/* Features */
.features {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.feature:hover {
  background: var(--green-50);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.feature p {
  color: var(--gray-500);
  font-size: 14px;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray-500);
  font-size: 17px;
}

/* Categories */
.categories {
  padding: 80px 0;
  background: var(--gray-50);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover {
  border-color: var(--green-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.cat-emoji { font-size: 48px; }
.cat-name {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 15px;
}

/* Shop */
.shop {
  padding: 80px 0;
  background: #fff;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  background: var(--gray-100);
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--gray-700);
  transition: all .2s;
}
.filter-tab:hover { background: var(--green-100); }
.filter-tab.active {
  background: var(--green-600);
  color: #fff;
}
.sort-select {
  padding: 10px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  outline: none;
}
.sort-select:focus { border-color: var(--green-500); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(30px);
}
.product-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
/* Stagger entrance based on grid index */
.product-card.in-view:nth-child(1)  { transition-delay: .05s; }
.product-card.in-view:nth-child(2)  { transition-delay: .10s; }
.product-card.in-view:nth-child(3)  { transition-delay: .15s; }
.product-card.in-view:nth-child(4)  { transition-delay: .20s; }
.product-card.in-view:nth-child(5)  { transition-delay: .25s; }
.product-card.in-view:nth-child(6)  { transition-delay: .30s; }
.product-card.in-view:nth-child(7)  { transition-delay: .35s; }
.product-card.in-view:nth-child(8)  { transition-delay: .40s; }
.product-card.in-view:nth-child(n+9) { transition-delay: .45s; }

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(115,8,0,.06) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 1;
  border-radius: inherit;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(115,8,0,.25);
  border-color: var(--green-400);
}
.product-card:hover::before { opacity: 1; }
.product-card:active {
  transform: translateY(-4px) scale(1);
  transition-duration: .15s;
}

/* "Just added" pulse */
@keyframes cardPulse {
  0%   { box-shadow: 0 0 0 0 rgba(115,8,0,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(115,8,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(115,8,0,0); }
}
.product-card.added {
  animation: cardPulse .8s ease-out;
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  position: relative;
  overflow: hidden;
}
.product-image > span {
  display: inline-block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.1));
}
.product-card:hover .product-image > span {
  transform: scale(1.18) rotate(-4deg);
  animation: emojiBob 2s ease-in-out infinite .3s;
}
@keyframes emojiBob {
  0%, 100% { transform: scale(1.18) rotate(-4deg) translateY(0); }
  50%      { transform: scale(1.18) rotate(-4deg) translateY(-6px); }
}

/* Shine sweep on hover */
.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.product-card:hover .product-image::after {
  animation: shine .9s ease forwards;
}
@keyframes shine {
  0%   { left: -75%; }
  100% { left: 130%; }
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
  animation: badgePop .5s cubic-bezier(.34,1.56,.64,1) backwards;
  animation-delay: .4s;
  box-shadow: 0 4px 10px rgba(212,160,23,.3);
}
.product-badge.bio {
  background: var(--green-600);
  box-shadow: 0 4px 10px rgba(115,8,0,.3);
}
@keyframes badgePop {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
/* Subtle wiggle on hover */
.product-card:hover .product-badge {
  animation: badgeWiggle 1.2s ease-in-out infinite;
}
@keyframes badgeWiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-4deg); }
  75%      { transform: rotate(4deg); }
}

.wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 2;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s, scale .2s;
  backdrop-filter: blur(4px);
}
.product-card:hover .wishlist {
  opacity: 1;
  transform: translateX(0);
}
.wishlist:hover { background: #fff; transform: scale(1.15) rotate(8deg); }
.wishlist:active { transform: scale(.9); }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.4); }
  40%      { transform: scale(.9); }
  60%      { transform: scale(1.2); }
  80%      { transform: scale(.95); }
}
.wishlist.active { animation: heartBeat .6s ease; }
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.product-cat {
  font-size: 12px;
  color: var(--green-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: letter-spacing .3s ease;
}
.product-card:hover .product-cat { letter-spacing: 1.5px; }
.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  font-family: 'Inter', sans-serif;
  transition: color .3s ease;
}
.product-card:hover .product-name { color: var(--green-700); }
.product-rating {
  color: #f59e0b;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-rating span { color: var(--gray-500); margin-left: 4px; }
.product-card:hover .product-rating {
  animation: ratingShine 1s ease;
}
@keyframes ratingShine {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 6px rgba(245,158,11,.6)); }
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-700);
  transition: transform .3s ease;
}
.product-card:hover .product-price { transform: scale(1.06); }
.product-price small {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.product-price del {
  font-size: 13px;
  color: var(--gray-400);
  margin-right: 4px;
  font-weight: 500;
}
.add-btn {
  background: var(--green-600);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, box-shadow .3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.add-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green-600);
  opacity: 0;
  transform: scale(.7);
  transition: all .3s ease;
}
.product-card:hover .add-btn::before {
  opacity: 1;
  transform: scale(1);
}
.add-btn:hover {
  background: var(--green-700);
  transform: scale(1.18) rotate(90deg);
  box-shadow: 0 8px 20px rgba(115,8,0,.45);
}
.add-btn:active { transform: scale(.9) rotate(90deg); }
@keyframes addPop {
  0%   { transform: scale(1) rotate(0); }
  40%  { transform: scale(1.4) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}
.add-btn.popping { animation: addPop .55s cubic-bezier(.34,1.56,.64,1); }

/* Flying emoji to cart */
.fly-emoji {
  position: fixed;
  z-index: 500;
  font-size: 36px;
  pointer-events: none;
  transition: all .85s cubic-bezier(.55,-0.2,.45,1.4);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
}

/* About */
.about {
  padding: 80px 0;
  background: var(--green-50);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--green-200), var(--green-400));
  border-radius: var(--radius-lg);
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-emoji { font-size: 200px; }
.about-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 16px 0 20px;
}
.about-text p {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  font-size: 15px;
  color: var(--gray-700);
}

/* Newsletter */
.newsletter {
  padding: 60px 0;
  background: var(--green-700);
  color: #fff;
}
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 8px;
}
.newsletter p { opacity: .9; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 480px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.logo-light { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.footer a {
  display: block;
  color: var(--gray-300);
  padding: 4px 0;
  font-size: 14px;
  transition: color .2s;
}
.footer a:hover { color: var(--green-400); }
.footer p {
  font-size: 14px;
  margin: 8px 0;
  color: var(--gray-300);
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
}
.socials a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: 13px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 200;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 201;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-empty {
  text-align: center;
  color: var(--gray-500);
  padding: 40px 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--green-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cart-item-price { color: var(--green-700); font-weight: 700; font-size: 14px; }
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gray-300);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}
.cart-qty button:hover { background: var(--green-50); border-color: var(--green-500); }
.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 18px;
}
.cart-remove:hover { color: #ef4444; }
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}
.cart-total strong {
  font-size: 24px;
  color: var(--green-700);
}
.cart-footer.hidden { display: none; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}
.modal-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin: 16px 0 12px;
  font-weight: 700;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.modal-content input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border .2s;
}
.modal-content input:focus { border-color: var(--green-500); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-summary {
  background: var(--green-50);
  padding: 14px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 14px;
}
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.checkout-summary .total {
  border-top: 1px solid var(--green-200);
  padding-top: 8px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-700);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gray-900);
  color: #fff;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-track .product-card { flex: 0 0 calc((100% - 40px) / 3); }
}

@media (max-width: 900px) {
  .topbar-right { display: none; }
  .nav { display: none; }
  .mobile-only { display: inline-flex; }
  .hero-slider { height: auto; min-height: 720px; }
  .slide { padding: 40px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { height: 200px; order: -1; }
  .hero-circle { width: 220px; height: 220px; }
  .hero-emoji { font-size: 60px; letter-spacing: -3px; }
  .hero-text h1 { font-size: 30px; }
  .hero-text > p { font-size: 15px; margin-bottom: 20px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 22px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 24px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dots { bottom: 18px; }
  .featured-track .product-card { flex: 0 0 calc((100% - 20px) / 2); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 300px; }
  .about-emoji { font-size: 140px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-drawer { width: 100%; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-tab { white-space: nowrap; }
  .featured-header { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 32px; }
  .product-image { height: 160px; font-size: 64px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
