/* ════════════════════════════════════════════════
   BRARS-STYLE THEME OVERRIDE
   Aplica curvas agresivas, layouts masivos y píldoras
   ════════════════════════════════════════════════ */

/* 1. TYPOGRAPHY & GLOBAL OVERRIDES */
:root {
  --radius-extreme: 80px;
  --radius-pill: 100px;
}

html {
  scroll-snap-type: y proximity; /* Proximity feels less aggressive than mandatory */
  scroll-behavior: smooth;
}

h1.hero-title-massive {
  font-family: var(--font-display);
  font-size: 5vw;
  line-height: 1.05;
  color: var(--brown);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

h1.hero-title-massive em {
  font-family: var(--font-cursive);
  font-size: 1.3em;
  color: var(--terracota);
  font-style: italic;
  font-weight: 400;
}

/* 2. HERO PET (REDISEÑO) */
.hero-pet {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(80px, 15vh, 140px); 
  padding-bottom: clamp(20px, 5vh, 40px); 
  height: 100vh;
  box-sizing: border-box;
  
  /* Variables Dinámicas Carrusel (Restauradas) */
  --hero-bg: #FFB900;
  --hero-shape: #FFD659;
  --hero-shape-sm: #FFCA3A;
  --hero-t-top-stroke: #D84B65;
  --hero-t-bot-color: #E85D75;
  --hero-t-top-color: #FFF;
  --hero-t-bot-stroke: #FFF;
  
  background-color: var(--hero-bg);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.8s ease;
}

@keyframes floatLoop {
  0% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
  100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
}

.fade-transition {
  opacity: 0 !important;
  transform: scale(0.8) !important;
  transition: opacity 0.4s ease, transform 0.5s ease !important;
}

/* Formas decorativas de fondo */
.hero-pet-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-shape-large {
  position: absolute;
  top: 55%; left: 50%;
  transform: translate(-50%, -50%);
  width: 25rem; height: 25rem;
  background: var(--hero-shape);
  border-radius: 4rem;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: background 0.8s ease;
}

.bg-shape-large::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--hero-shape);
  border-radius: 60px;
  transform: rotate(45deg);
  transition: background 0.8s ease;
  transform: rotate(45deg);
}

.bg-shape-small {
  position: absolute;
  background: var(--hero-shape-sm);
  border-radius: 50%;
  opacity: 0.5;
  transition: background 0.8s ease;
}

.bg-shape-1 { width: 100px; height: 100px; top: 15%; left: 20%; }
.bg-shape-2 { width: 150px; height: 150px; top: 75%; right: 15%; }

.decor-star {
  position: absolute;
  color: #FFF;
  font-size: 2rem;
  opacity: 0.8;
  animation: floatLoop 3s ease-in-out infinite;
}
.star-1 { top: 35%; left: 25%; font-size: 1.5rem; animation-delay: 0s; }
.star-2 { top: 25%; right: 30%; font-size: 2.5rem; animation-delay: 1.5s; }
.star-3 { bottom: 30%; left: 20%; font-size: 2rem; animation-delay: 0.7s; }

/* Contenido Principal */
.hero-pet-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Títulos */
.hero-pet-titles {
  margin-bottom: clamp(-40px, -4vh, -10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.title-top {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: 900;
  color: var(--hero-t-top-color);
  line-height: 0.9;
  margin: 0;
  -webkit-text-stroke: 7px var(--hero-t-top-stroke);
  text-shadow: 0px 4px 0px var(--hero-t-top-stroke), 0px 6px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
  transform: rotate(-3deg);
  letter-spacing: 0.05em;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.title-top::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    -webkit-text-stroke: 0;
    color: var(--hero-t-top-color);
    z-index: 3;
}

.title-bottom {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 900;
  color: var(--hero-t-bot-color);
  line-height: 0.75;
  margin: 0;
  margin-top: -8px;
  -webkit-text-stroke: 10px var(--hero-t-bot-stroke);
  text-shadow: 0px 5px 0px var(--hero-t-bot-stroke), 0px 8px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  transform: rotate(-1deg);
  letter-spacing: 0.02em;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.title-bottom::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    -webkit-text-stroke: 0;
    color: var(--hero-t-bot-color);
    z-index: 3;
}

/* Imagen Central y Sellos */
.hero-pet-visual {
  position: relative;
  flex: 1; /* Permite que tome el espacio central */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vh, 20px) 0;
  min-height: 0; /* Permite encogerse si es necesario */
}

.pet-main-img {
  max-height: 55vh; /* Prominencia ajustada para laptops */
  max-width: clamp(320px, 40vw, 580px);
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(94, 55, 27, 0.25));
  animation: floatLoop 4s ease-in-out infinite;
}

.pet-sello {
  position: absolute;
  width: clamp(100px, 25vw, 160px);
  height: auto;
  z-index: 7;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
  animation: floatLoop 3.5s ease-in-out infinite;
}

.pet-sello:hover {
  animation-play-state: paused;
  transform: scale(1.05) rotate(0deg) !important;
}

.pet-sello-left {
  top: 40%;
  left: 28%; /* Acercado a la figura */
  transform: translateY(-50%) rotate(-8deg);
  --rot: -8deg;
  animation-delay: 0.5s;
}

.pet-sello-right {
  top: 70%;
  right: 28%; /* Acercado a la figura */
  transform: translateY(-50%) rotate(5deg);
  --rot: 5deg;
  animation-delay: 1.2s;
}

/* Acciones y Botones */
.hero-pet-actions {
  display: flex;
  gap: 16px;
  margin-top: auto; /* Empuja a la base */
  padding-bottom: 20px;
  position: relative;
  z-index: 20;
}

.btn-pet-solid {
  background: var(--brown);
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 20px rgba(94, 55, 27, 0.3);
  transition: all 0.3s ease;
}

.btn-pet-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(94, 55, 27, 0.4);
}

.btn-pet-outline {
  background: #FFD147;
  color: var(--brown);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  border: 2px solid var(--brown);
  transition: all 0.3s ease;
}

.btn-pet-outline:hover {
  background: var(--brown);
  color: #FFF;
  transform: translateY(-3px);
}

/* Puntitos estilo Carrusel */
.hero-pet-dots {
  display: flex;
  gap: 12px;
  padding-bottom: 30px; /* Asegura visibilidad en la base */
  position: relative;
  z-index: 20;
}

.hero-pet-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(94, 55, 27, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-pet-dots .dot:hover {
  background: rgba(94, 55, 27, 0.6);
  transform: scale(1.2);
}

.hero-pet-dots .dot.active {
  background: var(--brown);
  transform: scale(1.3);
}

/* Arrow Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  z-index: 50;
}

.hero-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn:hover {
  background: #FFF;
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .hero-nav {
    display: none; /* Ocultamos en móvil para no estorbar, o podemos bajarlas */
  }
}

/* Responsividad */
@media (max-width: 768px) {
  .hero-pet {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  
  .bg-shape-large {
    width: 320px; height: 320px;
  }

  .hero-pet-visual {
    margin: 5px 0;
  }
  
  .pet-main-img {
    width: 85%;
  }
  
  .pet-sello-left {
    top: -5%;
    left: -5%;
  }
  
  .pet-sello-right {
    top: 60%;
    right: -10%;
  }

  .hero-pet-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 0 auto;
  }

  .btn-pet-solid,
  .btn-pet-outline {
    width: 100%;
    font-size: 0.95rem;
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    letter-spacing: 0.02em;
  }
}

/* 3. PRODUCT SECTIONS REMOVED FOR CLEAN REBUILD */

/* 5. PROCESO MODERN */
.proceso-modern-section {
  padding: clamp(60px, 12vh, 120px) clamp(20px, 4vw, 60px);
  background: #FFF9F2; /* Creamy peach */
  border-radius: var(--radius-extreme);
  margin: -40px 20px 0;
  position: relative;
  z-index: 6;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.proceso-modern-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 24px;
}

.proceso-modern-heading em {
  font-family: var(--font-cursive);
  color: var(--terracota);
}

.proceso-modern-sub {
  font-size: 1.1rem;
  color: rgba(94, 55, 27, 0.7);
  line-height: 1.6;
  max-width: 25rem;
}

.proceso-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.proceso-modern-step {
  background: #FFF;
  padding: 2.5rem 1.875rem;
  border-radius: 1.875rem;
  position: relative;
  box-shadow: 0 0.625rem 1.875rem rgba(94, 55, 27, 0.05);
}

.proceso-modern-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.proceso-modern-title {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 12px;
}

.proceso-modern-desc {
  font-size: 0.9rem;
  color: rgba(94, 55, 27, 0.7);
  line-height: 1.5;
}

/* 6. TESTIMONIALS MODERN */
.testimonios-modern-section {
  padding: clamp(3.75rem, 12vh, 7.5rem) 0;
  background: var(--brown);
  border-radius: var(--radius-extreme);
  margin: -2.5rem 1.25rem 0;
  position: relative;
  z-index: 7;
  color: #fff;
  overflow: hidden;
}

.testimonios-modern-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.testimonios-modern-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 60px;
  line-height: 1.1;
  word-break: break-word;
}

.testimonios-modern-title em {
  font-family: var(--font-cursive);
  color: var(--beige);
}

.testimonios-modern-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 40px;
  scrollbar-width: none;
}

.testimonio-modern-card {
  width: clamp(280px, 25rem, 400px);
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  border-radius: 2.5rem;
}

.testimonio-modern-stars {
  color: var(--beige);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonio-modern-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.9;
}

.testimonio-modern-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonio-modern-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
}

.testimonio-modern-name {
  font-weight: 600;
  font-size: 1rem;
}

/* 7. FOOTER MASSIVE ARCH */
.footer-new {
  background: var(--brown);
  color: var(--cream);
  padding-top: 6.25rem;
  padding-bottom: 1.25rem;
  margin-top: -3.75rem;
  border-radius: var(--radius-extreme) var(--radius-extreme) 0 0;
  position: relative;
  z-index: 8;
}

/* RESPONSIVE */
@media (max-width: 56.25rem) {
  .hero-inner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  h1.hero-title-massive { font-size: 3rem; }
  .hero-subtitle-large { max-width: 100%; margin: 0 auto; }
  .hero-stats-row { justify-content: center; }
  .hero-visual-block { height: 25rem; margin-top: 2.5rem; }
  
  /* Cat Banner Mobile */
  .cat-banner-curved { height: 45vh; min-height: 20rem; padding: 2.5rem 1.25rem; }
  .cat-banner-title { font-size: 2rem; }
  .cat-banner-desc { font-size: 0.9rem; max-width: 100%; }

  .cat-products-slider { padding: 0 0.625rem; margin-top: -1.875rem; }
  
  .proceso-modern-section { padding: 3.75rem 1.25rem; }
  .proceso-modern-grid { grid-template-columns: 1fr; gap: 1.875rem; }
  
  .testimonios-modern-title { font-size: 2.2rem; }
  .testimonio-modern-card { width: 17.5rem; padding: 1.5625rem; }
}

@media (max-width: 500px) {
  /* Hero Pet Mobile Scaling */
  .hero-pet { 
    padding-top: 140px; /* Reduced overlap with absolute nav */
    padding-bottom: 40px; 
    height: auto; 
    min-height: 100vh; 
  }
  
  .title-top { 
    font-size: 1.1rem; 
    -webkit-text-stroke: 1.5px var(--hero-t-top-stroke); 
    transform: rotate(-2deg);
    margin-bottom: 20px;
  }
  .title-bottom { 
    font-size: 1.8rem; 
    -webkit-text-stroke: 2.5px var(--hero-t-bot-stroke);
    line-height: 1.3;
    margin-top: 15px;
  }
  
  .hero-pet-visual {
    width: 200px;
    height: 200px;
    margin: 20px auto;
  }
  
  .bg-shape-large { width: 220px; height: 220px; opacity: 0.6; }
  .bg-shape-small { width: 50px; height: 50px; }
  
  /* Category Banner Mobile */
  .cat-banner-curved { 
    height: auto; 
    min-height: 380px; 
    padding: 60px 24px 100px; 
    flex-direction: column;
    align-items: flex-start;
  }
  .cat-banner-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
  .cat-banner-title { font-size: 1.8rem; white-space: normal; line-height: 1.2; }
  .cat-banner-desc { font-size: 0.85rem; max-width: 100%; opacity: 0.9; }
  .cat-banner-action { margin-top: 0; }
  .cat-banner-btn { font-size: 0.85rem; padding: 10px 18px; }

  /* 3D Carousel Mobile Adjustments */
  .carousel-viewport { height: 460px; }
  .product-card-arch { width: 220px; }
  
  .item-active { transform: scale(1) translateY(0); z-index: 10; }
  .item-prev { transform: translateX(-55%) rotateY(15deg) scale(0.65); opacity: 0.3; }
  .item-next { transform: translateX(55%) rotateY(-15deg) scale(0.65); opacity: 0.3; }
  .item-prev-2, .item-next-2 { display: none; }
  .item-hidden { opacity: 0; }

  /* Spacing & FAB */
  .proceso-modern-section { margin-top: 20px; }
  .testimonios-modern-section { margin-top: 20px; }

  /* Carousel Buttons - Hidden on mobile (using dots instead) */
  .carousel-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE CAROUSEL STYLES (max-width: 500px)
   Improved product cards and carousel for mobile
   ═══════════════════════════════════════════════════════ */

/* Carousel button styles */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(94, 55, 27, 0.15);
  font-size: 1.2rem;
  color: var(--brown);
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--brown);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

/* Mobile carousel adjustments - GRID LAYOUT INSTEAD OF 3D CAROUSEL */
@media (max-width: 500px) {
  .carousel-btn {
    display: none; /* Hide 3D carousel buttons on mobile */
  }

  /* Hide the 3D carousel elements */
  .carousel-viewport,
  .carousel-track {
    height: auto;
    perspective: none;
    transform-style: flat;
    position: relative;
    display: block;
  }

  .carousel-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px 30px;
  }

  /* Product cards displayed as vertical grid (not 3D carousel) */
  .product-card-arch {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    left: auto;
    top: auto;
    transform: none !important;
    margin-bottom: 0;
    border-radius: 20px 20px 16px 16px;
    padding: 12px;
    padding-bottom: 20px;
    opacity: 1 !important;
    filter: none !important;
  }

  .product-card-arch.item-active,
  .product-card-arch.item-prev,
  .product-card-arch.item-next,
  .product-card-arch.item-prev-2,
  .product-card-arch.item-next-2,
  .product-card-arch.item-hidden {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    display: block;
  }

  .product-img-arch-wrap {
    height: 220px;
    border-radius: 16px 16px 12px 12px;
    margin-bottom: 14px;
    width: 100%;
    aspect-ratio: 1;
  }

  .product-arch-info {
    padding: 8px 4px 0;
  }

  .product-arch-name {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }

  .product-arch-desc {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    margin-bottom: 12px;
  }

  .product-arch-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
  }

  .product-arch-btn-primary {
    flex: 1;
    padding: 14px 18px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .product-arch-btn-wa {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
  }

  .product-arch-btn-wa svg {
    width: 22px;
    height: 22px;
  }

  /* Hide original carousel dots - will use custom */
  .carousel-dots {
    display: none;
  }

  /* Custom mobile navigation */
  .mobile-nav-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(94, 55, 27, 0.03);
    border-radius: 50px;
    margin: 0 16px;
  }

  .mobile-nav-dots .nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(94, 55, 27, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-nav-dots .nav-dot.active {
    background: var(--brown);
    transform: scale(1.3);
  }

  .mobile-nav-btn {
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--brown);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-nav-btn:active {
    transform: scale(0.95);
  }

  /* Category banner mobile - full width */
  .cat-banner-curved {
    height: auto;
    min-height: 280px;
    padding: 30px 20px 40px;
    margin: 0 0 20px;
    border-radius: 0;
  }

  .cat-banner-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .cat-banner-text {
    text-align: center;
  }

  .cat-banner-title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .cat-banner-desc {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .cat-banner-action {
    justify-self: center;
    text-align: center;
  }

  .cat-banner-btn {
    font-size: 0.9rem;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: 50px;
  }

  /* Section spacing */
  .cat-section-modern {
    padding-top: 40px;
    padding-bottom: 60px;
    background: #FAF7F2;
    border-radius: 24px 24px 0 0;
    margin-top: 10px;
  }

  /* Section title */
  .cat-section-title {
    font-size: 1.4rem;
    text-align: center;
    padding: 0 16px 16px;
  }

  
  .cat-banner-desc {
    font-size: 0.85rem;
    max-width: 100%;
  }
  
  .cat-banner-action {
    justify-self: start;
    text-align: left;
  }
  
  .cat-banner-btn {
    font-size: 0.85rem;
    padding: 12px 20px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  .cat-products-slider {
    padding: 0 8px;
    margin-top: -20px;
  }
  
  /* Section spacing */
  .cat-section-modern {
    padding-top: 60px;
    padding-bottom: 100px;
  }
}

/* Extra small mobile (380px and below) */
@media (max-width: 380px) {
  .product-card-arch {
    max-width: 280px;
  }

  .product-img-arch-wrap {
    height: 200px;
  }

  .product-arch-name {
    font-size: 1.3rem;
  }

  .product-arch-btn-primary {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .cat-banner-title {
    font-size: 1.5rem;
  }

  .mobile-nav-dots {
    gap: 8px;
    padding: 12px;
  }

  .mobile-nav-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Carousel Dots Container */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(94, 55, 27, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(94, 55, 27, 0.4);
}

.carousel-dot.active {
  background: var(--brown);
  transform: scale(1.3);
}

/* Mobile carousel navigation buttons */
.carousel-dot-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-dot-btn:hover {
  background: #4a2e16;
  transform: scale(1.1);
}

.carousel-dot-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 500px) {
  .carousel-dots {
    gap: 6px;
    margin-top: 16px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  
  .carousel-dot-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Product Modal Styles */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.product-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.product-modal-overlay.open .product-modal {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-modal-close:hover {
  background: var(--brown);
  color: #fff;
}

.product-modal-gallery {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-modal-main-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

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

.product-modal-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.product-modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-modal-thumb:hover,
.product-modal-thumb.active {
  opacity: 1;
  border-color: var(--brown);
}

.product-modal-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-modal-brand {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(94, 55, 27, 0.6);
}

.product-modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brown);
  margin: 0;
}

.product-modal-price {
  font-size: 1.5rem;
  color: var(--brown);
}

.product-modal-price span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.product-modal-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(94, 55, 27, 0.8);
}

.product-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-spec {
  background: rgba(94, 55, 27, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
}

.product-spec.spec-highlight {
  background: var(--brown);
  color: #fff;
}

.spec-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 2px;
}

.spec-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-modal-wa-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-modal-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Product Modal Mobile */
@media (max-width: 768px) {
  .product-modal {
    grid-template-columns: 1fr;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    position: fixed;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }

  .product-modal-overlay.open .product-modal {
    transform: translateY(0);
  }

  .product-modal-gallery {
    padding: 15px;
  }

  .product-modal-main-img-wrap {
    aspect-ratio: 4/3;
  }

  .product-modal-info {
    padding: 20px;
  }

  .product-modal-title {
    font-size: 1.5rem;
  }

  .product-modal-price {
    font-size: 1.2rem;
  }

  .product-modal-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .product-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .product-modal {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
  }

  .product-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .product-modal-info {
    padding: 16px;
    gap: 12px;
  }

  .product-modal-title {
    font-size: 1.3rem;
  }

  .product-modal-desc {
    font-size: 0.9rem;
  }

  .product-modal-thumbnails {
    gap: 6px;
  }

  .product-modal-thumb {
    width: 50px;
    height: 50px;
  }
}
