@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

@keyframes fadeInScale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
  75% { transform: translateY(-4px) rotate(-2deg); }
}

@keyframes glow {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
  }
  50% { 
    box-shadow: 0 8px 25px rgba(139, 94, 60, 0.5), 0 0 30px rgba(139, 94, 60, 0.2);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(139,94,60,0.38), 0 4px 12px -2px rgba(0,0,0,0.12); }
  50% { box-shadow: 0 16px 36px -10px rgba(139,94,60,0.48), 0 6px 16px -3px rgba(0,0,0,0.15); }
}

:root {
  --primary: #8B5E3C;
  --secondary: #3E2723;
  --accent: #856628;
  --background: #F5F3EE;
  --card-bg: #FFFFFF;
  --text: #3E2723;
  --muted: #D1C4E9;
  --danger: #B85C38;
  --whatsapp-green: #25D366;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(139, 94, 60, 0.1);
  --gradient-primary: linear-gradient(135deg, #8B5E3C 0%, #A67855 50%, #C89B72 100%);
  --gradient-accent: linear-gradient(135deg, #A3B18A 0%, #C3D3A8 100%);
  --glass-bg: rgba(255,255,255,0.65);
  --border-soft: 1px solid rgba(139, 94, 60, 0.15);
  --focus-ring: 0 0 0 4px rgba(163, 177, 138, 0.35);
  --transition-base: 0.35s cubic-bezier(.21,.8,.35,1);
}

[data-theme="dark"] {
  --background: #1F1A17;
  --card-bg: #27211D;
  --text: #F5EDE6;
  --secondary: #E8D9CF;
  --accent: #856628;
  --muted: #4A3F39;
  --shadow: 0 8px 28px rgba(0,0,0,0.55);
  --glass-bg: rgba(34,28,24,0.6);
  --border-soft: 1px solid rgba(255,255,255,0.08);
  --gradient-primary: linear-gradient(135deg, #8B5E3C 0%, #6A4B32 50%, #4A3425 100%);
  --gradient-accent: linear-gradient(135deg, #49573F 0%, #5E6C52 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  animation: fadeInScale 0.6s ease-out;
}

@media (prefers-reduced-data: reduce), (prefers-reduced-motion: reduce) {
  .product-card img, .hero, .gallery-arrow { animation: none !important; }
}


main {
  flex: 1;
}

.skip-link { position:absolute; left:-999px; top:0; background: var(--gradient-primary); color:#fff; padding:.8rem 1.2rem; z-index:2000; border-radius:0 0 8px 0; font-weight:600; }
.skip-link:focus { left:0; box-shadow: var(--focus-ring); }

:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }

.container { max-width: 1200px; margin: auto; padding: 0 16px; }


header {
  background: var(--glass-bg);
  backdrop-filter: saturate(170%) blur(20px);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(139,94,60,0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px -4px rgba(139,94,60,0.08);
}

.header-container { 
  display: flex; 
  flex-direction: column;
  gap: 1rem;
  align-items: center; 
  position: relative;
}


.logo {
  order: 1;
  text-align: center;
  font-size: 1.7rem; 
  font-weight: 800; 
  letter-spacing: 0.3px; 
  background: var(--gradient-primary); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
  transition: none;
  animation: fadeInScale 0.8s ease-out;
  text-decoration: none; 
  position: relative;
  text-shadow: 0 2px 8px rgba(139,94,60,0.15);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(139,94,60,0.7)) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: none;
  flex-shrink: 0;
  background: transparent !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

.logo:after { 
  content:""; 
  position:absolute; 
  left:50%; 
  transform: translateX(-50%);
  bottom:-4px; 
  width:0%; 
  height:3px; 
  background: var(--gradient-primary); 
  transition: width .5s ease; 
  border-radius:2px; 
}

.logo:hover:after { 
  width:100%; 
}

.logo:hover {
  transform: none;
}

.logo:hover .logo-icon {
  transform: none;
  filter: drop-shadow(0 6px 16px rgba(139,94,60,0.7)) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  background: transparent !important;
}


.main-nav {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul { 
  display: flex; 
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px; 
  list-style: none; 
  margin: 0;
  padding: 0;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.main-nav ul li {
  animation: fadeInScale 0.6s ease-out calc(var(--i) * 0.1s) both;
}

.main-nav ul li:nth-child(1) { --i: 1; }
.main-nav ul li:nth-child(2) { --i: 2; }
.main-nav ul li:nth-child(3) { --i: 3; }

.main-nav ul li a { 
  color: var(--secondary); 
  font-weight: 600; 
  text-decoration: none; 
  font-size: 0.9rem; 
  padding: 8px 16px; 
  border-radius: 12px; 
  position: relative; 
  overflow: hidden; 
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  white-space: nowrap;
  transform: translateY(0);
}

.main-nav ul li a:hover {
  transform: translateY(-3px);
  color: var(--primary);
  background: rgba(139,94,60,0.05);
}

.main-nav ul li a:before { 
  content:""; 
  position:absolute; 
  inset:0; 
  background: var(--gradient-accent); 
  opacity:0; 
  transition: var(--transition-base); 
}

.main-nav ul li a:hover:before { opacity:.18; }
.main-nav ul li a:active { transform: translateY(0); }


.theme-toggle {
  order: 0;
  position: absolute;
  top: 0;
  right: 16px;
  background: var(--glass-bg); 
  border: var(--border-soft); 
  backdrop-filter: blur(12px); 
  cursor: pointer; 
  font-size: 1rem; 
  padding: 8px 12px; 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  color: var(--text); 
  transition: var(--transition-base); 
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.theme-toggle:hover { 
  background: var(--card-bg); 
  transform: translateY(-3px) rotate(15deg); 
}

.theme-toggle:focus { 
  outline:none; 
  box-shadow: var(--focus-ring); 
}

.theme-toggle:active { 
  transform: translateY(-1px) scale(.96); 
}


@media (min-width: 768px) {
  .container { padding: 0 24px; }
  
  header { padding: 1.5rem 0; }
  
  .header-container { 
    flex-direction: row;
    justify-content: space-between; 
    align-items: center; 
    gap: 0;
  }

  .logo {
    order: 0;
    flex: 0 0 auto;
    font-size: 1.9rem;
  }

  .logo-icon {
    width: 9rem;
    height: 9rem;
  }

  .logo:after { 
    left: 0;
    transform: none;
  }

  .main-nav {
    order: 1;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    width: auto;
  }

  .main-nav ul { 
    gap: 32px;
    flex-wrap: nowrap;
  }

  .main-nav ul li a { 
    font-size: 1.05rem; 
    padding: 12px 20px; 
    border-radius: 16px; 
  }

  .theme-toggle {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    position: static;
    font-size: 1.1rem;
    padding: 10px 14px;
    border-radius: 14px;
  }
}


.hero { 
  min-height: 55vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 2rem 0 2.5rem; 
  border-radius: 28px; 
  position: relative; 
  overflow: hidden; 
  padding: 3rem 1.5rem; 
  background: radial-gradient(ellipse at 30% 35%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,0.3) 75%), linear-gradient(145deg,#f5ede4,#e8d9cb,#dbc5b4); 
  box-shadow: 0 24px 72px -30px rgba(139,94,60,0.28), 0 4px 16px -4px rgba(0,0,0,0.08); 
}

.hero:before, .hero:after { 
  content:""; 
  position:absolute; 
  width:240px; 
  height:240px; 
  background: radial-gradient(circle at center, rgba(163,177,138,0.4), rgba(163,177,138,0) 70%); 
  filter: blur(40px); 
  opacity:.35; 
  animation: floatA 14s ease-in-out infinite; 
}

.hero:after { 
  width:280px; 
  height:280px; 
  left:auto; 
  right:-60px; 
  top:-70px; 
  background: radial-gradient(circle at center, rgba(139,94,60,0.35), rgba(139,94,60,0) 70%); 
  animation: floatB 18s ease-in-out infinite; 
}

.hero-content { 
  position:relative; 
  z-index:2; 
  max-width:100%; 
  text-align:center; 
}

.hero-title { 
  font-size: clamp(1.9rem, 6vw, 4.4rem); 
  font-weight:800; 
  letter-spacing:-0.5px; 
  line-height:1.12; 
  margin-bottom:1.25rem; 
  background: linear-gradient(120deg,var(--primary) 0%, var(--secondary) 55%, var(--primary) 95%); 
  background-size: 200% auto;
  -webkit-background-clip:text; 
  background-clip:text; 
  color:transparent; 
  animation: fadeInUp 0.8s ease-out, gradientShift 6s ease infinite;
  text-shadow: 0 2px 10px rgba(139,94,60,0.08);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle { 
  font-size: clamp(1rem, 3vw, 1.4rem); 
  max-width:650px; 
  margin: 0 auto 2rem; 
  font-weight:500; 
  color: var(--secondary); 
  opacity:.88; 
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s both;
}


.categories {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  background: var(--gradient-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease-out, gradientShift 8s ease infinite;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
  animation: fadeInScale 0.8s ease-out calc(var(--i) * 0.2s) both;
}

.category-card:nth-child(1) { --i: 1; }
.category-card:nth-child(2) { --i: 2; }
.category-card:nth-child(3) { --i: 3; }

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.category-card p {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.category-link {
  display: inline-block;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-link:hover {
  color: var(--secondary);
}

.cta-button { 
  position:relative; 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  background: var(--gradient-primary); 
  color:#fff; 
  padding:16px 32px; 
  font-size:1.05rem; 
  font-weight:600; 
  border-radius: 18px; 
  box-shadow: 0 12px 28px -8px rgba(139,94,60,0.38), 0 4px 12px -2px rgba(0,0,0,0.12); 
  text-decoration:none; 
  overflow:hidden; 
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
  letter-spacing:.2px;
  animation: buttonPulse 3s ease-in-out infinite;
}

.cta-button:before { 
  content:""; 
  position:absolute; 
  inset:0; 
  background:linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0) 60%); 
  transform: translateX(-120%); 
}

.cta-button:hover:before { 
  transform: translateX(120%); 
  transition: 0.9s ease; 
}

.cta-button:hover { 
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 18px 40px -12px rgba(139,94,60,0.48), 0 6px 16px -4px rgba(0,0,0,0.15); 
}

.cta-button:active { 
  transform: translateY(-1px); 
}

.cta-button:after { 
  content:"→"; 
  font-size:1.1rem; 
  transition: transform .5s ease; 
}

.cta-button:hover:after { 
  transform: translateX(4px); 
}


@media (min-width: 768px) {
  .hero { 
    min-height:72vh; 
    margin:2.5rem 0 3.5rem; 
    border-radius:42px; 
    padding:4rem 2rem; 
  }

  .hero:before, .hero:after { 
    width:480px; 
    height:480px; 
    filter: blur(60px); 
    opacity:.55; 
  }

  .hero:after { 
    width:540px; 
    height:540px; 
    right:-120px; 
    top:-140px; 
  }

  .hero-content { 
    max-width:760px; 
  }

  .hero-title { 
    letter-spacing:.5px; 
    line-height:1.08; 
    margin-bottom:1.4rem;
  }

  .hero-subtitle { 
    max-width:640px; 
    margin: 0 auto 2.2rem; 
  }

  .cta-button { 
    gap:12px; 
    padding:18px 46px; 
    font-size:1.15rem; 
    border-radius: 18px; 
    letter-spacing:.4px; 
  }

  .cta-button:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 18px 38px -14px rgba(139,94,60,0.55); 
  }

  .cta-button:active { 
    transform: translateY(-2px); 
  }

  .cta-button:after { 
    font-size:1.2rem; 
  }

  .cta-button:hover:after { 
    transform: translateX(6px); 
  }
}
.cta-button:active { transform: translateY(-2px); }
.cta-button:after { content:"→"; font-size:1.2rem; transition: transform .5s ease; }
.cta-button:hover:after { transform: translateX(6px); }


.product-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
  padding: 0 8px;
}


@media (min-width: 768px) {
  .product-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    padding: 0;
  }
}


@media (min-width: 1024px) {
  .product-grid { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 35px !important; 
  }
}


@media (min-width: 1400px) {
  .product-grid { 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important; 
    gap: 40px !important; 
  }
}


@media (min-width: 901px) {
  .product-grid { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 35px !important; 
  }
}


.product-card { 
  background: linear-gradient(145deg, var(--card-bg), rgba(255,255,255,0.95)); 
  border: 1px solid rgba(139,94,60,0.12); 
  border-radius: 22px; 
  box-shadow: 0 6px 16px -8px rgba(139,94,60,0.22), 0 2px 8px -2px rgba(0,0,0,0.08); 
  overflow:hidden; 
  position:relative; 
  display:flex; 
  flex-direction:column; 
  isolation:isolate; 
  backdrop-filter: blur(6px); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor:pointer; 
}

@media (min-width: 768px) {
  .product-card { 
    border-radius: 24px; 
    box-shadow: 0 6px 16px -8px rgba(139,94,60,0.20); 
  }
}

@media (min-width: 1400px) {
  .product-card { 
    border-radius: 28px; 
    box-shadow: 0 6px 18px -10px rgba(139,94,60,0.20); 
  }
}

.product-card:before { 
  content:""; 
  position:absolute; 
  inset:0; 
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0)); 
  opacity:0; 
  transition: opacity .6s ease; 
}

.product-card:after { 
  display:none; 
}

.product-card:hover:before { 
  opacity: 0; 
}

.product-card:hover {
  transform: none;
  box-shadow: 0 6px 16px -8px rgba(139,94,60,0.22), 0 2px 8px -2px rgba(0,0,0,0.08);
  border-color: rgba(139,94,60,0.12);
}


.products-page .product-card { 
  transition: transform .5s cubic-bezier(.25,.75,.25,1), box-shadow .45s ease, background .6s ease, opacity 0.4s ease; 
  transform:none !important; 
  position:relative;
  opacity: 0;
  animation: slideUpFadeIn 0.5s ease forwards;
}

@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products-page .product-card:nth-child(1) { animation-delay: 0.05s; }
.products-page .product-card:nth-child(2) { animation-delay: 0.1s; }
.products-page .product-card:nth-child(3) { animation-delay: 0.15s; }
.products-page .product-card:nth-child(4) { animation-delay: 0.2s; }
.products-page .product-card:nth-child(5) { animation-delay: 0.25s; }
.products-page .product-card:nth-child(6) { animation-delay: 0.3s; }
.products-page .product-card:nth-child(7) { animation-delay: 0.35s; }
.products-page .product-card:nth-child(8) { animation-delay: 0.4s; }
.products-page .product-card:nth-child(n+9) { animation-delay: 0.45s; }

.products-page .product-card:after {
  content:""; 
  position:absolute; 
  top:0; 
  left:-120%; 
  width:55%; 
  height:100%;
  background: linear-gradient(75deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 70%);
  transform: skewX(-18deg) translateX(0); 
  opacity:0; 
  pointer-events:none;
}

.products-page .product-card:hover { 
  transform: none; 
  box-shadow: 0 6px 16px -8px rgba(139,94,60,0.20); 
  border-color: rgba(139,94,60,0.12); 
}

.products-page .product-card:hover:before { 
  opacity: 0; 
}

.products-page .product-card:hover:after { 
  animation: none; 
  opacity: 0; 
}

.products-page .product-card:hover img { 
  transform: scale(1); 
  filter: saturate(.95); 
}

.products-page .product-card:active { 
  transform: translateY(-1px) scale(0.997); 
  transition: transform .18s ease; 
}
.products-page .product-card:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.products-page .product-card:after { display:none; }
.product-card img { 
  width:100%; 
  height:260px; 
  object-fit:cover; 
  border-bottom: 1px solid rgba(139,94,60,0.15); 
  transform:scale(1); 
  transition: transform .55s ease, filter .45s ease; 
  filter: saturate(.95);
  
  
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
  height: auto;
}


#main-product-image,
.product-image,
.hero-image,
.featured-image {
  image-rendering: auto !important;
  -webkit-image-smoothing: auto;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  object-fit: cover;
  object-position: center;
}


  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.product-card:hover img { filter: saturate(.95); }
@keyframes cardSheen { 0% { transform: skewX(-18deg) translateX(0); opacity:0;} 10% {opacity:1;} 55% {opacity:1;} 100% { transform: skewX(-18deg) translateX(240%); opacity:0;} }
@media (prefers-reduced-motion: reduce){ .product-card, .product-card:hover { transform:none !important; } .product-card:after { display:none; } }

.product-card-content { 
  padding: 1rem 1.2rem 1.3rem; 
  display: flex; 
  flex-direction: column; 
  min-height: 120px;
}


.product-card a {
  text-decoration: none !important;
  color: inherit;
}

.product-card a:hover {
  text-decoration: none !important;
}

.product-card a:visited {
  text-decoration: none !important;
}

.product-card-content > div {
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.3rem;
  opacity: 0.8;
}

.product-card h3 { 
  font-size: 1.2rem; 
  font-weight: 700; 
  letter-spacing: .2px; 
  color: var(--secondary); 
  line-height: 1.3; 
  margin-bottom: .25rem;
  transition: color 0.3s ease;
}

.product-card:hover h3 {
  color: var(--secondary);
}

.price { 
  font-size: 1.1rem; 
  font-weight: 700; 
  color: #28a745; 
  display: flex; 
  align-items: center; 
  gap: 4px;
  transition: all 0.3s ease;
  margin-top: auto;
  padding-top: 0.8rem;
}

.product-card:hover .price {
  color: #28a745;
  transform: scale(1);
}


@media (min-width: 768px) {
  .product-card-content { 
    padding: 1.2rem 1.5rem 1.5rem; 
    min-height: 140px;
  }
  
  .product-category {
    font-size: 0.8rem;
  }

  .product-card h3 { 
    font-size: 1.4rem; 
    letter-spacing: .3px; 
    line-height: 1.2; 
  }

  .price { 
    font-size: 1.25rem; 
    gap: 6px; 
  }
}

.badge-popular { 
  position: absolute; 
  top: 8px; 
  left: 8px; 
  background: linear-gradient(135deg,#ffb347,#ff7b00); 
  color: #2b1d12; 
  padding: .3rem .5rem; 
  font-size: .65rem; 
  letter-spacing: .4px; 
  font-weight: 700; 
  border-radius: 8px; 
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); 
  text-transform: uppercase; 
}

[data-theme="dark"] .badge-popular { 
  color: #fff; 
}

.badge-views { 
  position: absolute; 
  bottom: 8px; 
  right: 8px; 
  background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35)); 
  color: var(--secondary); 
  font-size: .58rem; 
  padding: .3rem .5rem .3rem .45rem; 
  border-radius: 999px; 
  backdrop-filter: blur(8px) saturate(160%); 
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  line-height: 1; 
  font-weight: 600; 
  letter-spacing: .4px; 
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.25); 
  border: 1px solid rgba(255,255,255,0.6); 
  animation: badgePop .6s ease; 
}

.badge-views:before { 
  content:""; 
  position:absolute; 
  inset:0; 
  border-radius:inherit; 
  padding:1px; 
  background: linear-gradient(120deg, #8B5E3C, #C89B72, #A3B18A); 
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 
  -webkit-mask-composite: xor; 
  mask-composite: exclude; 
  opacity:.55; 
}

.badge-views .view-icon { 
  width: 14px; 
  height: 14px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  font-size: .8rem; 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); 
}

.badge-views .view-num { 
  font-variant-numeric: tabular-nums; 
  position: relative; 
}


@media (min-width: 768px) {
  .badge-popular { 
    top: 12px; 
    left: 12px; 
    padding: .4rem .7rem; 
    font-size: .7rem; 
    letter-spacing: .5px; 
    border-radius: 10px; 
  }

  .badge-views { 
    bottom: 12px; 
    right: 12px; 
    font-size: .62rem; 
    padding: .4rem .65rem .4rem .55rem; 
    gap: 6px; 
    letter-spacing: .5px; 
  }

  .badge-views .view-icon { 
    width: 16px; 
    height: 16px; 
    font-size: .85rem; 
  }
}
.badge-views.bump { animation: bump .5s ease; }
[data-theme="dark"] .badge-views { background: linear-gradient(145deg, rgba(40,35,30,0.85), rgba(40,35,30,0.4)); color: var(--accent); border:1px solid rgba(255,255,255,0.08); box-shadow: 0 6px 20px -8px rgba(0,0,0,.6); }
[data-theme="dark"] .badge-views:before { opacity:.35; }
@keyframes badgePop { 0% { transform: translateY(6px) scale(.65); opacity:0; } 55% { opacity:1; transform: translateY(-2px) scale(1.05); } 100% { transform: translateY(0) scale(1); opacity:1; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.img-ph { background: linear-gradient(120deg, rgba(0,0,0,0.08) 25%, rgba(0,0,0,0.15) 37%, rgba(0,0,0,0.08) 63%); background-size:400% 100%; animation: shimmer 1.3s ease infinite; }

.product-detail-layout { display:grid; grid-template-columns: 1.05fr .95fr; gap:64px; padding:3rem 2.2rem; background: var(--card-bg); border: var(--border-soft); border-radius:38px; box-shadow: 0 18px 50px -20px rgba(139,94,60,0.35); position:relative; overflow:hidden; }
.product-detail-layout:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 75% 25%, rgba(163,177,138,0.18), transparent 60%); pointer-events:none; }
.product-image-gallery #main-product-image {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 1rem; transition: opacity 0.45s ease, transform .45s ease; opacity: 1; will-change: opacity, transform, filter;
}
.product-image-gallery #main-product-image.fading { opacity:0; transform: scale(.985); }
.product-image-gallery #main-product-image.fade-in { opacity:1; transform: scale(1); transition: opacity .6s ease, transform .6s ease; }
.product-image-gallery #main-product-image.transition-out { opacity:0; transform: scale(.985); filter: blur(6px); }
.product-image-gallery #main-product-image.transition-in { animation: imgReveal .65s cubic-bezier(.22,.65,.35,1); }
@keyframes imgReveal { 0% { opacity:0; transform: scale(1.04); filter: blur(10px); } 55% { opacity:1; filter: blur(2px); } 100% { opacity:1; transform: scale(1); filter: blur(0); } }
.fade-out { opacity: 0.2 !important; }
.product-thumbnails { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.thumbnail-img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); border: 2px solid var(--muted); cursor: pointer; transition: border-color 0.3s, transform .35s ease, filter .35s ease; filter: saturate(.85); }
.thumbnail-img.active-thumbnail { border-color: var(--accent); }
.thumbnail-img:hover { transform: translateY(-4px) scale(1.05); filter: saturate(1); }
.product-image-gallery { position: relative; }
.gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); background: var(--glass-bg); backdrop-filter: blur(12px); width:52px; height:52px; display:flex; align-items:center; justify-content:center; color: var(--secondary); font-size:22px; cursor:pointer; border-radius:18px; border: var(--border-soft); box-shadow: 0 6px 26px -10px rgba(0,0,0,0.35); transition: var(--transition-base); }
.gallery-arrow:hover { background: var(--card-bg); transform: translateY(-50%) scale(1.1); }
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }
.product-info h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary); }
.product-info .price { font-size: 2rem; margin-bottom: 1.2rem; color: #28a745; font-weight: 700; }
.product-sku { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; font-family: 'Roboto', sans-serif; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; }
.product-info p { color: var(--text); line-height: 1.6; margin-bottom: 1rem; }
.button-group { display:flex; flex-wrap:wrap; gap:18px; margin-top:2.6rem; }
.call-button, .whatsapp-button { position:relative; display:inline-flex; align-items:center; justify-content:center; padding:16px 34px; font-size:1.05rem; font-weight:600; letter-spacing:.4px; border-radius: 18px; text-decoration:none; transition: var(--transition-base); overflow:hidden; cursor: pointer; border: none; }
.call-button { background: var(--gradient-primary); color:#fff; box-shadow: 0 8px 26px -8px rgba(139,94,60,0.55); }
.call-button:before, .whatsapp-button:before { content:""; position:absolute; inset:0; background:linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.35) 55%, rgba(255,255,255,0) 75%); transform:translateX(-120%); }
.call-button:hover:before, .whatsapp-button:hover:before { transform:translateX(120%); transition: .9s ease; }
.call-button:hover { transform: translateY(-6px); box-shadow: 0 12px 32px -8px rgba(139,94,60,0.65); }
.whatsapp-button { background: linear-gradient(135deg,#25D366,#2BEA74); color:#fff; box-shadow: 0 8px 26px -10px rgba(37,211,102,0.55); }
.whatsapp-button:hover { transform: translateY(-6px); }
.product-specs { background: var(--card-bg); border-radius:32px; padding:2.6rem 2.4rem; margin-top:3.2rem; border: var(--border-soft); box-shadow: 0 12px 40px -18px rgba(139,94,60,0.35); position:relative; overflow:hidden; }
.product-specs:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 30%, rgba(163,177,138,0.22), transparent 70%); pointer-events:none; }
.product-specs h2 { color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem; }
.product-specs table { width: 100%; border-collapse: collapse; }
.product-specs td { padding: 0.8rem 0; border-bottom: 1px solid var(--muted); }
.product-specs tr:last-child td { border-bottom: none; }

.page-header { text-align: center; padding: 2rem 0; margin-bottom: 3rem; border-bottom: 1px solid var(--muted); }
.page-header h1 { font-size: 3rem; color: var(--primary); }
.page-header p { font-size: 1.2rem; color: var(--secondary); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.filters { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
.filter-group { 
  margin-bottom: 2.5rem; 
  padding: 1.2rem;
  border-radius: 12px;
  background: var(--glass-bg);
  border: var(--border-soft);
  backdrop-filter: blur(10px);
}
.filter-group h3 { margin-bottom: 1rem; font-size: 1.5rem; color: var(--primary); }
.filter-group h4 { 
  margin-bottom: 1rem; 
  font-size: 1.1rem; 
  color: var(--primary);
  font-weight: 600;
}
.filter-group ul { list-style: none; }
.filter-group ul li a { 
  text-decoration: none; 
  color: var(--text); 
  display: block; 
  padding: 0.7rem 0; 
  transition: all 0.3s ease;
  border-radius: 6px;
  padding-left: 0.5rem;
}
.filter-group ul li a:hover { 
  color: var(--primary); 
  background: rgba(139, 94, 60, 0.1);
  transform: translateX(5px);
}
.price-slider { width: 100%; }
.price-range { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 0.5rem; }
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.product-count { font-weight: 600; }
.sort-by { padding: 0.5rem; border: 1px solid var(--muted); border-radius: var(--radius); }
.search-input { padding: 0.55rem 0.9rem; border:1px solid var(--muted); border-radius: var(--radius); background: var(--card-bg); min-width:200px; transition: var(--transition-base); color:#000; }
.search-input::placeholder { color: rgba(0,0,0,.45); }
.search-input:focus { outline:none; box-shadow: var(--focus-ring); border-color: var(--accent); }
.shop-header { gap:1rem; flex-wrap:wrap; }
.shop-header-left { display:flex; align-items:center; gap:1rem; }
.shop-header-right { display:flex; align-items:center; gap:.75rem; }
.fav-filter-btn, .fav-detail-btn { background: var(--glass-bg); backdrop-filter: blur(10px); border: var(--border-soft); padding: 0.55rem 1rem; border-radius: 40px; cursor:pointer; font-weight:600; color: var(--primary); display:inline-flex; align-items:center; gap:.5rem; transition: var(--transition-base); position:relative; }
.fav-filter-btn:hover, .fav-detail-btn:hover { background: var(--card-bg); transform: translateY(-3px); }
.fav-filter-btn[aria-pressed="true"], .fav-detail-btn[aria-pressed="true"] { background: var(--gradient-primary); color:#fff; box-shadow:0 10px 24px -8px rgba(139,94,60,0.5); }
.product-card .fav-btn { position:absolute; top:12px; right:12px; background: rgba(0,0,0,0.35); color:#fff; width:44px; height:44px; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:1.15rem; backdrop-filter: blur(6px); transition: var(--transition-base); z-index:3; }
.product-card .fav-btn.is-fav { background: var(--gradient-primary); box-shadow: 0 8px 24px -10px rgba(139,94,60,0.6); }
.mobile-filters-btn { display:none; }
.product-card .fav-btn:hover { transform: scale(1.12); }
.product-card .fav-btn:active { transform: scale(.92); }

.empty-state { grid-column:1 / -1; text-align:center; padding:3rem 1rem; background: var(--glass-bg); border: var(--border-soft); border-radius:32px; backdrop-filter: blur(10px); animation: fadeInUp .6s ease; }
.empty-state button { margin-top:1.2rem; background: var(--gradient-primary); color:#fff; border:none; padding:.9rem 1.6rem; border-radius: 14px; cursor:pointer; font-weight:600; }

.related-products { margin-top:4rem; }
.related-products h2 { margin-bottom:1.6rem; font-size:1.8rem; background: var(--gradient-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.related-grid { display:grid; gap:32px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }

[data-theme="dark"] .product-card .fav-btn { background: rgba(255,255,255,0.15); }
[data-theme="dark"] .product-card .fav-btn.is-fav { background: var(--gradient-primary); }
[data-theme="dark"] .empty-state { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .search-input { background:#2c2521; color:#fff; }
[data-theme="dark"] .search-input::placeholder { color: rgba(255,255,255,.45); }
[data-theme="dark"] .fav-filter-btn, [data-theme="dark"] .fav-detail-btn { background: rgba(255,255,255,0.09); }
[data-theme="dark"] .fav-filter-btn[aria-pressed="true"], [data-theme="dark"] .fav-detail-btn[aria-pressed="true"] { background: var(--gradient-primary); }



.contact-hero {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text);
  animation: fadeInScale 0.6s ease;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0;
  opacity: 0.9;
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 0 20px rgba(139, 94, 60, 0.5),
    0 0 40px rgba(139, 94, 60, 0.4),
    0 0 60px rgba(139, 94, 60, 0.3),
    0 0 80px rgba(139, 94, 60, 0.15),
    0 15px 45px rgba(139, 94, 60, 0.3);
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(139, 94, 60, 0.5),
      0 0 40px rgba(139, 94, 60, 0.4),
      0 0 60px rgba(139, 94, 60, 0.3),
      0 0 80px rgba(139, 94, 60, 0.15),
      0 15px 45px rgba(139, 94, 60, 0.3);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(139, 94, 60, 0.7),
      0 0 60px rgba(139, 94, 60, 0.5),
      0 0 90px rgba(139, 94, 60, 0.4),
      0 0 120px rgba(139, 94, 60, 0.2),
      0 15px 45px rgba(139, 94, 60, 0.3);
  }
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(139,94,60,0.15));
}

.contact-card:hover .contact-icon img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(139,94,60,0.25));
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-link {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.contact-cta {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-cta:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 0 20px rgba(139, 94, 60, 0.5),
    0 0 40px rgba(139, 94, 60, 0.4),
    0 0 60px rgba(139, 94, 60, 0.3),
    0 0 80px rgba(139, 94, 60, 0.15),
    0 15px 45px rgba(139, 94, 60, 0.3);
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 10;
}

.contact-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--secondary);
  opacity: 0.85;
}

.contact-cta .cta-button {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 2rem 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-cta {
    padding: 2rem 1.5rem;
  }
}

.loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; background-color: var(--background); z-index: 1000; }
.is-loading { visibility: hidden; opacity: 0; }


footer { 
  background: linear-gradient(180deg,var(--card-bg), rgba(245,243,238,0.8)); 
  padding: 4rem 0 1.5rem; 
  margin-top: auto;
  position: relative; 
  overflow: hidden; 
  border-top: 2px solid rgba(139,94,60,0.15);
  animation: slideInLeft 1s ease-out 1s both;
  backdrop-filter: blur(8px);
}

footer:before { 
  content:""; 
  position:absolute; 
  inset:0; 
  background: radial-gradient(circle at 50% -10%, rgba(139,94,60,0.15), transparent 70%); 
  opacity:.6;
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.footer-section h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  color: var(--secondary);
  opacity: 0.8;
  line-height: 1.6;
}

.footer-section a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-section a:not(.social-links a):after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-section a:not(.social-links a):hover:after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: visible;
}


.social-links a:nth-child(1) {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  box-shadow: 0 4px 12px -4px rgba(131,58,180,0.5);
}


.social-links a:nth-child(2) {
  background: #1877F2;
  box-shadow: 0 4px 12px -4px rgba(24,119,242,0.5);
}


.social-links a:nth-child(3) {
  background: #25D366;
  box-shadow: 0 4px 12px -4px rgba(37,211,102,0.5);
}

.social-links a svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
  transform: translateY(-6px) scale(1.08);
  z-index: 10;
}


.social-links a:nth-child(1):hover {
  background: linear-gradient(135deg, #9d4edd 0%, #ff0844 50%, #ffb700 100%) !important;
  box-shadow: 0 16px 40px rgba(131,58,180,0.6) !important;
  color: white !important;
}


.social-links a:nth-child(2):hover {
  background: #1e88ff !important;
  box-shadow: 0 16px 40px rgba(24,119,242,0.6) !important;
  color: white !important;
}


.social-links a:nth-child(3):hover {
  background: #2fe371 !important;
  box-shadow: 0 16px 40px rgba(37,211,102,0.6) !important;
  color: white !important;
}

.social-links a:hover svg {
  transform: scale(1.15) rotate(10deg);
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-bottom p {
  font-weight: 600; 
  letter-spacing: .3px; 
  font-size: 0.9rem;
  color: #666;
}


.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 54px;
  height: 54px;
  background: var(--gradient-primary);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px -4px rgba(139, 94, 60, 0.35);
  z-index: 999;
  backdrop-filter: blur(8px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 32px -8px rgba(139, 94, 60, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}


@media (min-width: 768px) {
  footer { 
    padding: 4rem 0 2rem; 
  }

  .footer-bottom p { 
    letter-spacing: .4px; 
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}


.skeleton { position:relative; background: linear-gradient(90deg, rgba(0,0,0,0.08) 25%, rgba(0,0,0,0.15) 37%, rgba(0,0,0,0.08) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius:12px; color:transparent !important; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

@keyframes floatA { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-40px,25px,0); } }
@keyframes floatB { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(55px,-35px,0); } }

html, body, header, footer, .product-card, .product-detail-layout, .product-specs, .filters { transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base); }

[data-theme="dark"] .hero { background: radial-gradient(circle at 30% 35%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 38%, rgba(255,255,255,0) 70%), linear-gradient(135deg,#2a231f,#312823,#392f29); }
[data-theme="dark"] .product-card { background: linear-gradient(145deg,#2c2521,#241e1a); box-shadow: 0 16px 40px -18px rgba(0,0,0,0.6); }
[data-theme="dark"] .product-card:hover { box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
[data-theme="dark"] .product-card img { border-bottom: 1px solid rgba(255,255,255,0.08); }
[data-theme="dark"] .product-detail-layout { background: var(--card-bg); box-shadow: 0 18px 50px -20px rgba(0,0,0,0.6); }
[data-theme="dark"] .product-specs { background: linear-gradient(145deg,#2c2521,#241e1a); }
[data-theme="dark"] .filters { background:#2c2521; border: 1px solid rgba(255,255,255,0.08); }
[data-theme="dark"] footer { background: linear-gradient(180deg,#27201d,#221b18); }
[data-theme="dark"] .gallery-arrow { background: rgba(50,40,35,0.6); }
[data-theme="dark"] .gallery-arrow:hover { background:#2f2723; }
[data-theme="dark"] .theme-toggle { background: rgba(60,50,45,0.55); }
[data-theme="dark"] .cta-button { box-shadow: 0 12px 32px -10px rgba(0,0,0,0.65); }
[data-theme="dark"] .call-button { box-shadow: 0 12px 32px -10px rgba(0,0,0,0.65); }
[data-theme="dark"] .whatsapp-button { box-shadow: 0 12px 32px -10px rgba(0,0,0,0.6); }

.no-transitions * { transition: none !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) { * { animation: none!important; transition: none!important; } }


@media (max-width: 900px) {
  .product-detail-layout, .contact-section { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position:fixed; inset:0 0 0 auto; width:300px; max-width:80%; background: var(--card-bg); z-index:1100; transform: translateX(105%); display:block; padding:2rem 1.4rem 4rem; border-left: var(--border-soft); box-shadow: -10px 0 30px -8px rgba(0,0,0,0.25); overflow-y:auto; transition: transform var(--transition-base); }
  .filters.open { transform: translateX(0); }
  .filters h3 { margin-top:0; }
  .filters-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.45); backdrop-filter: blur(4px); z-index:1095; opacity:0; transition: opacity var(--transition-base); }
  .filters-overlay[hidden] { display: none; }
  .filters-overlay.active { opacity:1; }
  body.drawer-open { overflow:hidden; }
  .mobile-filters-btn { display:inline-flex; background: var(--gradient-accent); color:#2c2c2c; border:none; padding:.55rem 1rem; border-radius: 40px; font-weight:600; cursor:pointer; box-shadow:0 6px 16px -8px rgba(0,0,0,0.25); }
  .shop-header-right { flex:1 1 100%; }
  .shop-header { align-items:flex-start; }
  .button-group { grid-template-columns: 1fr; }
  
  .product-grid { 
    grid-template-columns: 1fr !important; 
    gap: 20px !important;
    padding: 0 8px !important;
  }
}

@media (min-width: 768px) {
  .button-group { grid-template-columns: 1fr 1fr; }
}

img.blur-up { filter: blur(18px); transform: scale(1.02); transition: filter .7s ease, transform .7s ease; }
img.blur-up.lazy-loaded { filter: blur(0); transform: scale(1); }

.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }


.features-section {
  padding: 4rem 1rem;
  background: var(--background);
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 0 20px rgba(139, 94, 60, 0.5),
    0 0 40px rgba(139, 94, 60, 0.4),
    0 0 60px rgba(139, 94, 60, 0.3),
    0 0 80px rgba(139, 94, 60, 0.15),
    0 15px 45px rgba(139, 94, 60, 0.3);
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 10;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 6px 18px rgba(139,94,60,0.25));
}

.feature-icon {
  font-size: 3.8rem;
  margin-bottom: 1.8rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(139,94,60,0.15));
  animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  font-size: 1.02rem;
  color: var(--secondary);
  opacity: 0.8;
  line-height: 1.65;
}


.popular-products {
  padding: 4rem 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all-link:hover {
  color: var(--accent);
  transform: translateX(8px);
  background: rgba(139,94,60,0.08);
}

.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.products-preview-grid .product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 2;
}


.product-category {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.loader-small {
  text-align: center;
  padding: 3rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.no-products,
.error-message {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  font-size: 1.1rem;
}

.error-message {
  color: var(--danger);
}


@media (max-width: 768px) {
  .features-section {
    padding: 3rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .popular-products {
    padding: 3rem 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .products-preview-grid {
    grid-template-columns: 1fr;
  }
}


.breadcrumb {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--primary);
  font-weight: bold;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb li:last-child {
  color: #666;
  font-weight: 500;
}


.product-image-gallery {
  position: relative;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s;
}

.zoom-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 10;
}

.zoom-btn:hover {
  background: white;
  transform: scale(1.1);
}


.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.zoom-modal.active {
  display: flex;
}

.zoom-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s;
  z-index: 10000;
}

.zoom-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

.zoom-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.zoom-nav {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  pointer-events: all;
}

.zoom-nav:hover {
  background: white;
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


.social-share {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--radius);
}

.social-share h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.share-btn svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.share-btn:hover svg {
  transform: scale(1.15);
}

.facebook-share {
  background: #1877f2;
  color: white;
}

.facebook-share:hover {
  background: #0d5dbf;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.whatsapp-share {
  background: #25d366;
  color: white;
}

.whatsapp-share:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.twitter-share {
  background: #1da1f2;
  color: white;
}

.twitter-share:hover {
  background: #0c85d0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.copy-link {
  background: #6c757d;
  color: white;
}

.copy-link:hover {
  background: #5a6268;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.copy-link.copied {
  background: #28a745;
}

.copy-link.copied::after {
  content: '✓';
  position: absolute;
  top: -25px;
  font-size: 1.2rem;
  animation: fadeOut 1s ease;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.85rem;
  }

  .zoom-modal {
    padding: 1rem;
  }

  .zoom-close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }

  .zoom-nav {
    width: 40px;
    height: 40px;
  }

  .social-share {
    padding: 1rem;
  }

  .share-btn {
    width: 40px;
    height: 40px;
  }
}


.active-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.filter-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

#active-filters-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.active-filter-tag button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.active-filter-tag button:hover {
  opacity: 1;
}

.clear-filters-btn {
  padding: 0.5rem 1rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.clear-filters-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}


.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.close-filters-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-filters-btn:hover {
  color: var(--accent);
}


.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.empty-state p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

#reset-filters {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

#reset-filters:hover {
  background: #6b4528;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}


.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.skeleton-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(90deg, var(--border) 25%, var(--hover-bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-content {
  padding: 1rem;
}

.skeleton-line {
  height: 1rem;
  background: linear-gradient(90deg, var(--border) 25%, var(--hover-bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 768px) {
  .close-filters-btn {
    display: block;
  }

  .active-filters {
    padding: 0.75rem;
  }

  .filter-label {
    width: 100%;
    margin-bottom: 0.25rem;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}


.offline-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ff6b6b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
  font-weight: 500;
}

.offline-indicator.show {
  transform: translateX(-50%) translateY(0);
}

.offline-indicator.online {
  background: #51cf66;
}


.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--accent);
  max-width: 350px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: #51cf66;
}

.toast.error {
  border-left-color: #ff6b6b;
}

.toast.info {
  border-left-color: #4dabf7;
}

.toast-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text-light);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--text);
}


.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.loading {
  opacity: 1;
}

.page-transition::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #6b4528);
  animation: loading-bar 1.5s ease-in-out infinite;
}

@keyframes loading-bar {
  0% { width: 0; left: 0; }
  50% { width: 70%; left: 15%; }
  100% { width: 0; left: 100%; }
}


body {
  animation: fadeInPage 0.3s ease-in;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.order-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  padding-top: 2rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.order-modal.active {
  display: flex;
  opacity: 1;
}

.order-modal-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(100vh - 4rem);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  pointer-events: auto;
}


#sms-modal .order-modal-content,
#code-modal .order-modal-content {
  max-width: 400px;
}

#code-modal .order-modal-content {
  text-align: center;
}

#verification-code {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  font-weight: bold;
}

.resend-btn {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.resend-btn:hover {
  background: var(--accent-color);
  color: white;
}

.resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.countdown-timer {
  color: var(--accent-color);
  font-weight: bold;
  margin-top: 0.5rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.order-modal-close:hover {
  background: rgba(139, 94, 60, 0.1);
  transform: rotate(90deg);
}

.order-modal h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--background);
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.order-product-info {
  background: var(--background);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--muted);
}

.order-product-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.order-product-info strong {
  color: var(--primary);
}

.order-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139,94,60,0.3);
}

.order-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139,94,60,0.4);
}

.order-submit-btn:active {
  transform: translateY(0);
}

.order-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.order-note {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .order-modal {
    padding: 1rem;
    padding-top: 1.5rem;
    height: 100vh;
    height: 100dvh;
  }

  .order-modal-content {
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
    padding: 1.5rem;
  }

  .order-modal h2 {
    font-size: 1.5rem;
  }

  
  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }
}


@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.pulse-success {
  animation: successPulse 0.4s ease;
}


.order-success-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--card-bg);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10001;
  max-width: 500px;
  width: 90%;
  text-align: center;
  opacity: 0;
  animation: successNotificationIn 0.4s ease forwards;
}

@keyframes successNotificationIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.order-success-notification.hide {
  animation: successNotificationOut 0.3s ease forwards;
}

@keyframes successNotificationOut {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: successBounce 0.6s ease;
}

@keyframes successBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.success-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.order-number-display {
  background: var(--background);
  padding: 1rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 2px solid #4caf50;
}

.order-number-label {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.order-number-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4caf50;
  font-family: monospace;
}


@media (max-width: 768px) {
  .toast {
    bottom: 80px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}



.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999998;
  opacity: 0;
  animation: overlayFadeIn 0.3s ease forwards;
  cursor: pointer;
}

.success-overlay.hide {
  animation: overlayFadeOut 0.3s ease forwards;
}

@keyframes overlayFadeIn {
  to { opacity: 1; }
}

@keyframes overlayFadeOut {
  to { opacity: 0; }
}

.order-success-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(139,94,60,0.1);
  z-index: 999999;
  max-width: 480px;
  width: 90%;
  text-align: center;
  opacity: 0;
  pointer-events: auto;
  animation: successModalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border: 2px solid rgba(139,94,60,0.2);
}

.order-success-notification.hide {
  animation: successModalOut 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes successModalIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes successModalOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
  filter: drop-shadow(0 4px 8px rgba(139,94,60,0.2));
}

@keyframes scaleIn {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 0.5s ease 0.2s backwards;
}

.success-message {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.5s ease 0.3s backwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-number-display {
  background: linear-gradient(135deg, rgba(139,94,60,0.05) 0%, rgba(139,94,60,0.1) 100%);
  border: 2px solid rgba(139,94,60,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  animation: fadeInUp 0.5s ease 0.4s backwards;
  box-shadow: 0 4px 12px rgba(139,94,60,0.1);
}

.order-number-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-number-value {
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.success-close-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(139,94,60,0.3);
  margin-top: 1rem;
  animation: fadeInUp 0.5s ease 0.5s backwards;
}

.success-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139,94,60,0.4);
  filter: brightness(1.1);
}

.success-close-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(139,94,60,0.3);
}

@media (max-width: 768px) {
  .order-success-notification {
    padding: 2rem 1.5rem;
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
  }
  
  .success-icon {
    font-size: 4rem;
  }
  
  .success-title {
    font-size: 1.6rem;
  }
  
  .success-message {
    font-size: 1rem;
  }
  
  .order-number-value {
    font-size: 1.3rem;
  }
  
  .success-close-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}


.faq-section {
  padding: 4rem 0;
  background: var(--background);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.5rem;
  background: var(--primary);
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--card-bg);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
}


.faq-search {
  margin-bottom: 2rem;
  text-align: center;
}

.faq-search input {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--card-bg);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.faq-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.faq-search input::placeholder {
  color: var(--text-muted);
}


@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: faqSlideDown 0.3s ease;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 0;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 1rem;
  }
  
  .faq-search input {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
}
