/* ============================================================
   AROMA HUBB — Design System
   Paleta: beige #F5F0EC · nude #E9D4CC · terracota #C99B87 · café #4A3A34 · blanco #FAF8F6
   ============================================================ */

/* -------- Google Fonts -------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* -------- Variables -------- */
:root {
  --beige:       #F5F0EC;
  --nude:        #E9D4CC;
  --terracota:   #C99B87;
  --brown:       #4A3A34;
  --warm-white:  #FAF8F6;
  --text:        #4A3A34;
  --text-muted:  #7A6A64;
  --text-light:  #B0A09A;
  --border:      #EDE5DF;
  --shadow-sm:   0 2px 12px rgba(74,58,52,.06);
  --shadow-md:   0 8px 32px rgba(74,58,52,.10);
  --shadow-lg:   0 20px 60px rgba(74,58,52,.14);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --max-w:       1280px;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* -------- Typography -------- */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }
h4, h5, h6  { font-family: var(--font-sans);  line-height: 1.3; }

.display    { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; }
h1          { font-size: clamp(2rem,   4vw, 3.5rem); font-weight: 400; }
h2          { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 400; }
h3          { font-size: clamp(1.25rem,2vw, 1.75rem); font-weight: 500; }

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

section { padding: 80px 0; }

/* -------- Navigation -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 20px 0;
}

.nav.scrolled {
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 130px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
  transition: height .3s ease, opacity .3s ease;
}

.nav.scrolled .nav__logo-img {
  height: 78px !important;
}

.nav__logo-img:hover { opacity: .88; }

/* Fallback text (si la imagen no carga) */
.nav__logo span { color: var(--terracota); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: .875rem;
  letter-spacing: .5px;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--terracota);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:hover { color: var(--brown); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--brown); }
.nav__links a.active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.nav__icon-btn:hover { background: var(--beige); color: var(--brown); }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--terracota);
  color: white;
  font-size: .625rem;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav__hamburger span {
  width: 100%; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}

/* -------- Mobile Menu -------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.mobile-menu__overlay {
  position: absolute; inset: 0;
  background: rgba(74,58,52,.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--warm-white);
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex; flex-direction: column; gap: 8px;
}

.mobile-menu.open { pointer-events: all; }
.mobile-menu.open .mobile-menu__overlay { opacity: 1; }
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__panel a {
  font-size: 1.125rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: block;
  transition: color var(--transition);
}

.mobile-menu__panel a:hover { color: var(--brown); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .5px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background: var(--brown);
  color: var(--warm-white);
  border-color: var(--brown);
}
.btn--primary:hover {
  background: #3a2c28;
  border-color: #3a2c28;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--terracota {
  background: var(--terracota);
  color: white;
  border-color: var(--terracota);
}
.btn--terracota:hover {
  background: #b88872;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,155,135,.35);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--outline:hover {
  background: var(--brown);
  color: var(--warm-white);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
}
.btn--ghost:hover { color: var(--brown); background: var(--beige); }

.btn--sm { padding: 10px 20px; font-size: .8125rem; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn:disabled, .btn.loading {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* -------- Hero -------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--beige) 0%, var(--nude) 50%, #DEC8BE 100%);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,155,135,.2) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,58,52,.06) 0%, transparent 70%);
  bottom: -50px; left: 5%;
}

.hero__content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero__eyebrow {
  font-size: .8125rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero__title {
  margin-bottom: 24px;
  color: var(--brown);
}

.hero__title em {
  font-style: italic;
  color: var(--terracota);
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__badges {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem;
  color: var(--text-muted);
}

.hero__badge svg { color: var(--terracota); flex-shrink: 0; }

.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero__image-wrap {
  position: relative;
  width: 420px !important;
  height: 420px !important;
  min-width: 420px;
  min-height: 420px;
  flex-shrink: 0;
}

.hero__image-circle {
  position: absolute;
  top: 0; left: 0;
  width: 420px !important;
  height: 420px !important;
  border-radius: 50% !important;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.hero__image-main {
  width: 420px !important;
  height: 420px !important;
  object-fit: cover;
  display: block;
  border-radius: 0;
  animation: float 6s ease-in-out infinite;
}

.hero__image-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}

.hero__image-badge--1 {
  bottom: 60px; left: -24px;
}

.hero__image-badge--2 {
  top: 40px; right: -24px;
}

.hero__image-badge .badge-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.hero__image-badge .badge-text { font-size: .75rem; color: var(--text-muted); line-height: 1.4; }
.hero__image-badge .badge-text strong { display: block; font-size: .875rem; color: var(--brown); }

/* -------- Section headers -------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  font-size: .75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terracota);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 { color: var(--brown); margin-bottom: 16px; }

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--nude), var(--terracota));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* -------- Product Cards -------- */
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

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

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--beige);
}

.product-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--sale      { background: var(--terracota); color: white; }
.badge--new       { background: var(--brown); color: white; }
.badge--featured  { background: var(--nude); color: var(--brown); }
.badge--out       { background: #DDD; color: #888; }

.product-card__actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity var(--transition), transform var(--transition);
}

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

.product-card__action-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.product-card__action-btn:hover { background: var(--brown); color: white; }

.product-card__body {
  padding: 20px;
}

.product-card__category {
  font-size: .75rem;
  color: var(--terracota);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card__name a:hover { color: var(--terracota); }

.product-card__desc {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__price {
  display: flex; align-items: baseline; gap: 8px;
}

.price { font-size: 1.25rem; font-weight: 600; color: var(--brown); }
.price--sale { color: var(--terracota); }
.price--original { font-size: .875rem; color: var(--text-light); text-decoration: line-through; }

.add-to-cart-btn {
  background: var(--brown);
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: .8125rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; gap: 6px;
}

.add-to-cart-btn:hover {
  background: var(--terracota);
  transform: scale(1.02);
}

/* -------- Category Cards -------- */
.category-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card__image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform .5s ease;
}

.category-card:hover .category-card__image { transform: scale(1.04); }

.category-card__body {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card__name { font-family: var(--font-serif); font-size: 1.25rem; color: var(--brown); }
.category-card__count { font-size: .8125rem; color: var(--text-muted); }

/* -------- Features Strip -------- */
.features-strip {
  background: var(--brown);
  padding: 48px 0;
}

.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-item { padding: 8px; }

.feature-item__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  background: rgba(233,212,204,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--nude);
  font-size: 1.375rem;
}

.feature-item__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--warm-white);
  margin-bottom: 6px;
}

.feature-item__text { font-size: .8125rem; color: rgba(250,248,246,.6); }

/* -------- Testimonials -------- */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.testimonial-card__author { display: flex; align-items: center; gap: 12px; }

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--nude);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--terracota);
  font-weight: 600;
}

.testimonial-card__name { font-weight: 600; font-size: .9375rem; color: var(--brown); }
.testimonial-card__loc  { font-size: .8125rem; color: var(--text-light); }

/* -------- Stars -------- */
.stars { display: inline-flex; gap: 2px; }
.star { font-size: .875rem; }
.star--filled { color: var(--terracota); }
.star--half   { color: var(--terracota); }
.star--empty  { color: var(--border); }

/* -------- Newsletter -------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--nude) 0%, var(--beige) 100%);
  padding: 80px 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 32px auto 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  background: white;
  font-size: .9375rem;
  outline: none;
}

.newsletter-form button {
  padding: 16px 28px;
  background: var(--brown);
  color: white;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
}

.newsletter-form button:hover { background: var(--terracota); }

/* -------- Footer -------- */
.footer {
  background: var(--brown);
  color: var(--nude);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(233,212,204,.15);
}

.footer__brand { }

.footer__logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--warm-white);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}

.footer__logo span { color: var(--terracota); }

.footer__tagline {
  font-size: .875rem;
  color: rgba(233,212,204,.7);
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer__social { display: flex; gap: 12px; }

.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(233,212,204,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--nude);
  font-size: .9375rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--terracota);
  border-color: var(--terracota);
  color: white;
}

.footer__col h4 {
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-white);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul li a {
  font-size: .875rem;
  color: rgba(233,212,204,.7);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--terracota); }

.footer__contact p {
  font-size: .875rem;
  color: rgba(233,212,204,.7);
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 8px;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: .8125rem;
  color: rgba(233,212,204,.5);
}

.footer__payments { display: flex; gap: 8px; }

.payment-icon {
  width: 44px; height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .625rem;
  color: var(--nude);
  font-weight: 600;
}

/* -------- Shop Page -------- */
.shop-header {
  padding: 120px 0 48px;
  background: linear-gradient(180deg, var(--beige) 0%, var(--warm-white) 100%);
  text-align: center;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-toolbar__results { font-size: .9375rem; color: var(--text-muted); }

.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: .875rem;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237A6A64'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.filter-group {
  margin-bottom: 32px;
}

.filter-group h4 {
  font-size: .8125rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: .9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.filter-option:hover { color: var(--brown); }

.filter-option input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 4px;
  accent-color: var(--brown);
  cursor: pointer;
}

.price-range { display: flex; gap: 12px; align-items: center; }

.price-range input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  width: 0;
}

.shop-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.shop-products { flex: 1; min-width: 0; }

/* -------- Product Detail -------- */
.product-detail {
  padding-top: 100px;
}

.product-detail__gallery {
  position: sticky;
  top: 100px;
}

.product-detail__main-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--beige);
}

.product-detail__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.product-detail__thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.product-detail__thumb.active { border-color: var(--terracota); }

.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail__info { padding-left: 20px; }

.product-detail__brand {
  font-size: .8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 8px;
}

.product-detail__name {
  margin-bottom: 12px;
  color: var(--brown);
}

.product-detail__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-detail__reviews { font-size: .875rem; color: var(--text-muted); }

.product-detail__price {
  margin-bottom: 24px;
  display: flex; align-items: baseline; gap: 12px;
}

.product-detail__price .price { font-size: 2rem; }

.product-detail__description {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
}

.quantity-selector button {
  width: 44px; height: 44px;
  background: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.quantity-selector button:hover { background: var(--beige); color: var(--brown); }

.quantity-selector input {
  width: 52px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  background: transparent;
}

.product-detail__add-row {
  display: flex; gap: 12px; align-items: center;
  margin-top: 16px;
}

/* -------- Cart Page -------- */
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__image {
  width: 88px; height: 88px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--beige);
}

.cart-item__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.cart-item__variant { font-size: .8125rem; color: var(--text-light); }

.cart-item__remove {
  font-size: .8125rem;
  color: var(--text-light);
  margin-top: 8px;
  display: inline-block;
  cursor: pointer;
  transition: color var(--transition);
}

.cart-item__remove:hover { color: #c0392b; }

.cart-item__price { font-weight: 600; color: var(--brown); font-size: 1.125rem; }

/* -------- Order Summary -------- */
.order-summary {
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.order-summary h3 { margin-bottom: 20px; }

.order-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9375rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.order-summary__line.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  border-top: 1.5px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}

.order-summary__line .free-tag {
  color: #2e8b57;
  font-size: .8125rem;
  font-weight: 600;
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.coupon-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  background: white;
  outline: none;
  transition: border-color var(--transition);
}

.coupon-form input:focus { border-color: var(--terracota); }

/* -------- Checkout -------- */
.checkout-page { padding-top: 100px; }

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-light);
  padding: 0 24px;
  position: relative;
}

.checkout-step::after {
  content: '→';
  position: absolute; right: 0;
  color: var(--border);
}

.checkout-step:last-child::after { display: none; }

.checkout-step.active { color: var(--brown); }
.checkout-step.done   { color: var(--terracota); }

.checkout-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.checkout-step.active .checkout-step__num { background: var(--brown); color: white; }
.checkout-step.done .checkout-step__num   { background: var(--terracota); color: white; }

/* -------- Forms -------- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 8px;
}

.form-label .req { color: var(--terracota); margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px rgba(201,155,135,.15);
}

.form-control.error { border-color: #c0392b; }

.form-error {
  font-size: .8125rem;
  color: #c0392b;
  margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}

.form-hint { font-size: .8125rem; color: var(--text-light); margin-top: 4px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237A6A64'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.form-section h3 {
  font-size: 1.125rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

.form-section h3 .step-num {
  width: 28px; height: 28px;
  background: var(--brown);
  color: white;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

/* -------- Alert / Flash -------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
  border: 1.5px solid transparent;
}

.alert--success { background: #f0fdf4; border-color: #86efac; color: #166534; }
.alert--error   { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.alert--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert--info    { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }

/* -------- Pagination -------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.page-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: white;
  transition: all var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--brown);
  border-color: var(--brown);
  color: white;
}

/* -------- Breadcrumb -------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--terracota); }
.breadcrumb .sep { color: var(--border); }

/* -------- Toast -------- */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 380px;
  pointer-events: all;
  animation: slideInRight .3s ease;
  border-left: 4px solid var(--terracota);
}

.toast--success { border-color: #2e8b57; }
.toast--error   { border-color: #c0392b; }

.toast__icon { font-size: 1.25rem; flex-shrink: 0; }
.toast__text { flex: 1; }
.toast__title { font-weight: 600; font-size: .9375rem; color: var(--brown); }
.toast__msg   { font-size: .8125rem; color: var(--text-muted); }
.toast__close {
  color: var(--text-light);
  font-size: 1.125rem;
  transition: color var(--transition);
  flex-shrink: 0;
}
.toast__close:hover { color: var(--text); }

/* -------- Loading Spinner -------- */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

/* -------- Empty State -------- */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state__icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: .4;
}

.empty-state h3 { margin-bottom: 8px; color: var(--brown); }
.empty-state p  { color: var(--text-muted); margin-bottom: 28px; }

/* -------- Login / Register -------- */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--beige) 0%, var(--nude) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 16px;
}

.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}

.auth-card__logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__logo .brand {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--brown);
  letter-spacing: 2px;
}

.auth-card__logo .brand span { color: var(--terracota); }

.auth-card h2 { margin-bottom: 8px; }
.auth-card .subtitle { color: var(--text-muted); margin-bottom: 32px; }

.auth-divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
  color: var(--text-light);
  font-size: .875rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 24px);
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* -------- Animations -------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

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

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

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

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

.fade-in-up { animation: fadeInUp .6s ease both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__content { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__logo-img { height: 72px !important; }
  .nav.scrolled .nav__logo-img { height: 56px !important; }

  .hero__content { grid-template-columns: 1fr; text-align: center; padding: 60px 0; }
  .hero__visual { order: -1; }
  .hero__subtitle, .hero__actions, .hero__badges { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__image-wrap   { width: 260px !important; height: 260px !important; min-width: 260px; min-height: 260px; margin: 0 auto; }
  .hero__image-circle { width: 260px !important; height: 260px !important; }
  .hero__image-main   { width: 260px !important; height: 260px !important; max-width: 260px; }
  .hero__image-badge--1,
  .hero__image-badge--2 { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .features-strip__grid { grid-template-columns: 1fr 1fr; }

  .shop-layout { flex-direction: column; }
  .filter-sidebar { width: 100%; }

  .product-detail__info { padding-left: 0; }

  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .quantity-selector,
  .cart-item__price { grid-column: 2; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .form-grid-2 { grid-template-columns: 1fr; }
  .checkout-steps { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .auth-card { padding: 32px 24px; }
  .features-strip__grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter-form input, .newsletter-form button { border-radius: var(--radius-sm) !important; }
}
