@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

/* Reset global y prevención de scroll horizontal */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

html, body {
  max-width: 100%;
}

/* Protección de imágenes */
img {
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  touch-action: none;
}

/* Marca de agua con logo */
.product-image {
  position: relative;
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-image: url('../img/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
  z-index: 10;
  border-radius: 50%;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.slide-image {
  position: relative;
}

.slide-image::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-image: url('../img/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
  pointer-events: none;
  z-index: 10;
  border-radius: 50%;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.6));
}

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background: url('../img/cierrese-encima-de-la-foto-de-cortar-la-madera-con-la-segueta.jpg') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.cart-open {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: -1;
  pointer-events: none;
}

/* Cinta promocional en sección de productos del index */
.promo-banner-productos {
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-top: 2px solid #c49a6c;
  border-bottom: 2px solid #c49a6c;
  color: white;
  padding: 12px 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(196, 154, 108, 0.3);
  font-weight: 600;
  margin-bottom: 30px;
}

/* Cinta promocional fija en páginas de catálogo */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 2px solid #c49a6c;
  color: white;
  padding: 8px 0;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(196, 154, 108, 0.3);
  font-weight: 600;
}

.promo-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-banner 20s linear infinite;
}

.promo-text {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 80px;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.promo-text i {
  color: #c49a6c;
  animation: pulse 1.5s ease-in-out infinite;
  font-size: 15px;
}

@keyframes scroll-banner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .promo-banner-productos {
    padding: 8px 0;
    margin-bottom: 20px;
  }
  
  .promo-banner {
    padding: 5px 0;
  }
  
  .promo-text {
    font-size: 10px;
    padding: 0 30px;
    gap: 8px;
  }
  
  .promo-text i {
    font-size: 12px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: padding 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
}

/* Header en páginas de catálogo (debajo de la cinta) */
.catalog-page header {
  top: 35px;
}

@media (max-width: 768px) {
  .catalog-page header {
    top: 22px;
  }
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  gap: 30px;
  width: 100%;
}

@media (min-width: 1025px) {
  .header-content {
    grid-template-columns: auto 1fr auto;
  }

  .hamburger-group {
    display: none !important;
  }

  .header-left {
    justify-self: start;
  }

  .nav-desktop {
    display: flex !important;
    justify-self: center;
  }

  .header-right {
    justify-self: end;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-self: start;
}

.hamburger-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.5em;
  font-weight: 600;
  color: #333;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-link:hover .logo-circle {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.logo-link:hover .logo-text {
  color: #c49a6c;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c49a6c;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo-text {
  display: none;
  font-size: 0.95em;
  font-weight: 600;
  color: #333;
  margin-left: 8px;
}

@media (min-width: 1025px) {
  .logo-text {
    display: block;
  }
}

.logo i {
  color: #c49a6c;
  font-size: 1.2em;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Barra de búsqueda */
.search-container {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 8px 15px;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.search-btn-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.2em;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.search-btn-mobile:hover {
  color: #8B4513;
}

.mobile-search-overlay {
  display: none;
}

.search-container:focus-within {
  background: white;
  border-color: #c49a6c;
  box-shadow: 0 2px 8px rgba(196, 154, 108, 0.2);
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9em;
  color: #333;
  flex: 1;
  min-width: 150px;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.search-input:focus {
  color: #333;
}

.search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.95em;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-btn:hover {
  color: #c49a6c;
  transform: scale(1.1);
}

/* Efecto highlight para búsqueda */
.search-highlight {
  animation: highlightPulse 0.6s ease-in-out;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 154, 108, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(196, 154, 108, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(196, 154, 108, 0);
  }
}

/* Modal de búsqueda mobile */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-modal.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.search-modal-content {
  background: white;
  border-radius: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-shadow: none;
  position: relative;
  animation: slideFromRight 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@keyframes slideFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.search-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.8em;
  color: #333;
  padding: 8px 12px;
  transition: color 0.3s ease;
  z-index: 10;
}

.search-modal-close:hover {
  color: #c49a6c;
}

.search-modal-input-group {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.search-modal-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.search-modal-input:focus {
  border-color: #c49a6c;
  background: rgba(196, 154, 108, 0.02);
}

.search-modal-btn {
  padding: 12px 16px;
  background: #c49a6c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-modal-btn:hover {
  background: #b8845c;
  transform: scale(1.05);
}

.cart-btn-modern {
  background: transparent;
  color: #333 !important;
  padding: 6px 10px;
  border-radius: 0;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cart-btn-modern:hover {
  background: transparent;
  color: #c49a6c !important;
  transform: scale(1.1);
}

.cart-count-modern {
  background: #c49a6c;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  display: flex;;
  align-items: center;
  justify-content: center;
  height: 20px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

nav a:hover {
  color: #c49a6c;
}

nav a.active {
  color: #c49a6c;
  font-weight: 700;
  background: rgba(196, 154, 108, 0.1);
  padding: 8px 12px;
  border-radius: 5px;
}

/* ===== ESTILOS CARRITO BÁSICO ===== */
.cart-btn {
  background: #c49a6c;
  color: white !important;
  padding: 8px 15px;
  border-radius: 20px;
  position: relative;
  text-decoration: none;
}

.cart-btn:hover {
  background: #a87f55 !important;
  color: white !important;
}

.cart-count {
  background: #fff;
  color: #c49a6c;
  font-size: 0.8em;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 5px;
  font-weight: bold;
}

/* Modal del carrito */
.carrito-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
}

.carrito-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cerrar-carrito {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.cerrar-carrito:hover {
  color: #c49a6c;
}

#carrito-lista {
  margin: 20px 0;
  min-height: 100px;
}

.carrito-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.carrito-total {
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
  color: #c49a6c;
}

.btn-pagar-mp {
  background: linear-gradient(135deg, #FFD700, #FFC700);
  color: #000000;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  font-weight: 400;
}

.btn-pagar-mp:hover {
  background: linear-gradient(135deg, #FFC700, #FFB700);
}

.btn-contacto {
  background: #25d366;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.btn-contacto:hover {
  background: #128c7e;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  padding: 10px 15px;
  background: #c49a6c;
  color: white;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-icon:hover {
  background: #b8935f;
  transform: translateY(-2px);
}

.cart-icon .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  margin-left: 0;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px 50px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-logo-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: visible;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
  margin: 0 auto;
  position: relative;
}

.hero-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Video en el logo hero */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Overlay negro para transición suave */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease-in-out;
}

/* Chispas del logo */
.hero-logo-circle .spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #FFD700, #FFA500);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 8px #FFD700;
}

.hero-logo-circle .spark-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo-circle .spark-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo-circle .spark-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo-circle .spark-4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Clases para activar animaciones manualmente */
.hero-logo-circle .spark-1.active {
  animation: spark-fly-1 0.5s ease-out forwards;
}

.hero-logo-circle .spark-2.active {
  animation: spark-fly-2 0.5s ease-out forwards;
}

.hero-logo-circle .spark-3.active {
  animation: spark-fly-3 0.5s ease-out forwards;
}

.hero-logo-circle .spark-4.active {
  animation: spark-fly-4 0.5s ease-out forwards;
}

@keyframes spark-fly-1 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-80px, 40px) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(-120px, 70px) scale(0.2);
  }
}

@keyframes spark-fly-2 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-10px, 60px) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(-15px, 100px) scale(0.2);
  }
}

@keyframes spark-fly-3 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(70px, 50px) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(110px, 80px) scale(0.2);
  }
}

@keyframes spark-fly-4 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(90px, 30px) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(130px, 50px) scale(0.2);
  }
}

@keyframes spark-fly {
  0%, 45%, 100% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  65% {
    opacity: 0.5;
    transform: translate(15px, 8px) scale(0.6);
  }
  80% {
    opacity: 0;
    transform: translate(25px, 15px) scale(0.2);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-content h1 {
  font-size: 4em;
  font-weight: 100;
  margin: 0;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.5em;
  color: #fff;
  margin: 0 0 15px 0;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1em;
  color: #fff;
  margin: 0 0 40px 0;
  max-width: 600px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #c49a6c;
  color: white;
}

.btn-primary:hover {
  background: #a87f55;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #25d366;
  color: white;
}

.btn-secondary:hover {
  background: #20b358;
  transform: translateY(-2px);
}

.btn-catalog {
  background: #c49a6c;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-catalog:hover {
  background: #c49a6c;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat i {
  font-size: 2em;
  color: #c49a6c;
  margin-bottom: 10px;
}

.stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stat-label {
  font-size: 0.9em;
  color: #fff;
  font-weight: 500;
}

.slides-container {
  padding: 0;
}

.section-title {
  text-align: center;
  padding: 80px 20px 40px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.section-title h2 {
  font-size: 3em;
  font-weight: 200;
  margin: 0 0 15px 0;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.section-title p {
  font-size: 1.2em;
  color: #fff;
  margin: 0;
}

.slide {
  display: flex;
  min-height: 60vh;
  align-items: center;
  padding: 0;
  margin: 0;
  transition: all 0.6s ease;
}

.slide:nth-child(odd) {
  flex-direction: row;
}

.slide:nth-child(even) {
  flex-direction: row-reverse;
  background: rgba(0, 0, 0, 0.8);
}

.slide-image {
  flex: 1;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.slide:hover .slide-image img {
  transform: scale(1.05);
}

.slide-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.slide-icon {
  font-size: 3em;
  color: #c49a6c;
  margin-bottom: 20px;
}

.slide-content h3 {
  font-size: 3em;
  font-weight: 200;
  margin: 0 0 20px 0;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-content p {
  font-size: 1.2em;
  color: #fff;
  margin: 0 0 25px 0;
  font-weight: 300;
  line-height: 1.5;
}

.slide-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.slide-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
  color: #fff;
}

.slide-features i {
  color: #25d366;
  font-size: 0.9em;
}

.slide-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-buy {
  background: #c49a6c;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-buy:hover {
  background: #a87f55;
  transform: translateY(-2px);
}

.btn-info {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-info:hover {
  color: #c49a6c;
  transform: translateX(5px);
}

/* Términos y Condiciones */
#terminos-condiciones {
  background: rgba(248, 249, 250, 0.95);
  padding: 80px 20px;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.terms-content h2 {
  font-size: 2.5em;
  font-weight: 300;
  margin: 0 0 30px 0;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #c49a6c;
  padding-bottom: 20px;
}

.terms-content h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 30px 0 15px 0;
  color: #c49a6c;
}

.terms-content p {
  font-size: 1em;
  color: #555;
  line-height: 1.7;
  margin: 0 0 20px 0;
  text-align: justify;
}

.terms-content a {
  color: #c49a6c;
  text-decoration: none;
  font-weight: 600;
}

.terms-content a:hover {
  text-decoration: underline;
}

.terms-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.terms-content li {
  margin: 10px 0;
  line-height: 1.6;
}

.back-button {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.back-button .btn-primary {
  color: white !important;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(255, 255, 255, 0.98));
  padding: 80px 20px;
  text-align: center;
}

.contact-content-centered {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 2em;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #333;
  letter-spacing: 1px;
}

.contact-header p {
  font-size: 1.1em;
  color: #666;
  margin: 0;
}

/* Contact List - Nueva estructura compacta */
.contact-list {
  background: transparent;
  padding: 40px;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 1em;
  color: #333;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item i {
  font-size: 1.5em;
  color: #c49a6c;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item span {
  text-align: left;
  line-height: 1.4;
}

.contact-social {
  background: transparent;
  padding: 50px;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.instagram-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.instagram-highlight i {
  font-size: 3.5em;
  color: #333;
}

.instagram-label {
  margin: 0;
  font-size: 0.9em;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.instagram-handle {
  display: block;
  font-size: 1.5em;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  margin-top: 5px;
}

.instagram-handle:hover {
  color: #c49a6c;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.social-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-btn.facebook {
  background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-btn.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #c49a6c;
  margin: 0 0 20px 0;
  font-size: 1.4em;
}

.footer-section h4 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: #c49a6c;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #555;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #c49a6c;
}

.main-footer {
  padding-right: 20px;
}

.footer-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.highlight-item i {
  color: #c49a6c;
  font-size: 1.2em;
  margin-top: 2px;
  min-width: 20px;
}

.highlight-item strong {
  display: block;
  color: white;
  font-size: 0.95em;
  margin-bottom: 3px;
}

.highlight-item p {
  color: #ccc;
  font-size: 0.85em;
  margin: 0;
  line-height: 1.3;
}

.footer-contact-info {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: #ccc;
  font-size: 0.9em;
}

.footer-contact-info i {
  color: #c49a6c;
  width: 16px;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #888;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.8em;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #20b358;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== MENÚ HAMBURGUESA ===== */
.hamburger-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover span {
  background: #c49a6c;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Texto Menú al lado de hamburguesa */
.hamburger-text {
  display: none;
  font-size: 0.85em;
  font-weight: 700;
  color: #333;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hamburger:hover ~ .hamburger-text,
.hamburger-text:hover {
  color: #c49a6c;
}

/* ===== NAVEGACIÓN RESPONSIVE ===== */
.nav-menu {
  display: none;
  gap: 30px;
  align-items: center;
  flex: 1;
  margin-left: auto;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #c49a6c;
}

.nav-link.active {
  color: #c49a6c;
  font-weight: 700;
  background: rgba(196, 154, 108, 0.1);
  padding: 8px 12px;
  border-radius: 5px;
}



/* Navbar Desktop (visible solo en desktop) */
.nav-desktop {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-desktop .nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-desktop .nav-link:hover {
  color: #c49a6c;
}

/* Responsive */
@media (max-width: 768px) {
  /* Fondo fijo para móvil usando técnica compatible con iOS */
  body {
    background: none;
    position: relative;
  }
  
  /* Crear capa de fondo fija compatible con móviles */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/Fondo Movil.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -2;
  }

  /* Reducir difuminado en móvil */
  body::before {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }

  header {
    padding: 10px 0;
  }

  .header-content {
    padding: 0 12px;
    gap: 12px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger-text {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .search-container {
    display: none;
  }

  .search-btn-mobile {
    display: flex !important;
  }

  .search-input {
    display: none;
  }

  .search-btn {
    padding: 6px 8px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo-circle {
    width: 35px;
    height: 35px;
    border-width: 2px;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding-top: 70px;
    padding-bottom: 0;
    border-top: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    justify-content: flex-start;
    font-size: 1em;
  }

  .nav-link:hover {
    background: rgba(196, 154, 108, 0.05);
  }

  .search-btn {
    font-size: 1.1em;
  }

  .cart-btn-modern {
    padding: 8px 12px;
    font-size: 0.9em;
  }

  /* Slides compactos en tablet - Mantener layout horizontal */
  .section-title {
    padding: 60px 20px 30px;
  }

  .section-title h2 {
    font-size: 2.2em;
  }

  .slide {
    min-height: 60vh;
    flex-direction: row !important;
  }

  .slide:nth-child(even) {
    flex-direction: row-reverse !important;
  }

  .slide-image {
    height: 60vh;
    flex: 0 0 40%;
  }

  .slide-content {
    padding: 40px 30px;
    max-width: 100%;
    flex: 1;
  }

  .slide-content h3 {
    font-size: 2em;
  }

  .slide-content p {
    font-size: 1em;
  }

  .slide-features {
    margin-bottom: 20px;
  }

  .slide-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 8px 0;
  }

  .header-content {
    padding: 0 10px;
    gap: 8px;
  }

  .hamburger {
    width: 24px;
    height: 20px;
  }

  .logo {
    display: none;
  }

  .search-btn {
    padding: 6px 8px;
    font-size: 1em;
  }

  .cart-btn-modern {
    padding: 6px 10px;
    font-size: 0.85em;
  }

  .cart-count-modern {
    min-width: 18px;
    height: 18px;
    font-size: 0.75em;
  }
}

/* Móviles pequeños - MEJORADO */
@media (max-width: 480px) {
  /* Header optimizado */
  header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  
  .header-content {
    padding: 0 10px;
    gap: 8px;
  }
  
  .logo {
    display: flex;
    flex: 1;
    justify-content: center;
  }
  
  .logo-circle {
    width: 30px;
    height: 30px;
    border-width: 2px;
  }
  
  .hamburger {
    width: 22px;
    height: 18px;
  }
  
  .search-btn {
    padding: 6px 8px;
    font-size: 0.9em;
  }
  
  .cart-btn-modern {
    padding: 6px 10px;
    font-size: 0.85em;
  }
  
  .cart-count-modern {
    min-width: 16px;
    height: 16px;
    font-size: 0.7em;
  }
  
  /* Hero Section - SIN maximización excesiva */
  .hero-section {
    min-height: 100vh;
    padding: 70px 15px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  
  .hero-content {
    width: 100%;
    max-width: 350px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  
  .hero-title {
    margin-bottom: 20px;
    gap: 15px;
  }
  
  .hero-logo-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-width: 3px;
  }
  
  .hero-content h1 {
    font-size: 1.8em;
    margin: 0 0 12px 0;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
    max-width: 250px;
  }
  
  .hero-buttons a {
    padding: 12px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-top: auto;
    padding-bottom: 20px;
  }
  
  .stat {
    text-align: center;
    padding: 10px 5px;
  }
  
  .stat i {
    font-size: 1.3em;
    margin-bottom: 5px;
  }
  
  .stat-number {
    font-size: 1.4em;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
  }
  
  .stat-label {
    font-size: 0.75em;
    line-height: 1.1;
  }
  
  /* Section Title */
  .section-title {
    padding: 30px 12px 20px;
  }
  
  .section-title h2 {
    font-size: 1.4em;
    margin-bottom: 8px;
  }
  
  .section-title p {
    font-size: 0.9em;
  }
  
  /* Slides optimizados para móvil */
  .slides-container {
    padding: 0;
  }
  
  .slide {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0;
    margin: 0;
  }
  
  .slide:nth-child(even) {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
  }
  
  .slide-image {
    width: 100%;
    height: 220px;
    order: 1;
    flex-shrink: 0;
  }
  
  .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-content {
    order: 2;
    padding: 20px 15px;
    max-width: 100%;
    text-align: left;
  }
  
  .slide-icon {
    font-size: 1.8em;
    margin-bottom: 12px;
    color: #c49a6c;
  }
  
  .slide-content h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #fff;
  }
  
  .slide-content p {
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
  }
  
  .slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .slide-features span {
    background: rgba(196, 154, 108, 0.2);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    gap: 6px;
    display: flex;
    align-items: center;
  }
  
  .slide-features i {
    color: #25d366;
    font-size: 0.9em;
  }
  
  .slide-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .btn-catalog,
  .btn-buy {
    padding: 12px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    width: 100%;
    max-width: 220px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  /* Contact Section */
  .contact-section {
    padding: 20px 12px;
  }
  
  .contact-header {
    margin-bottom: 15px;
  }
  
  .contact-header h2 {
    font-size: 1.2em;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .contact-header p {
    font-size: 0.85em;
    line-height: 1.4;
  }
  
  .contact-list {
    padding: 15px 12px;
    margin-bottom: 15px;
    max-width: 100%;
  }
  
  .contact-item {
    gap: 12px;
    padding: 12px 0;
  }
  
  .contact-item i {
    font-size: 1.2em;
    width: 24px;
  }
  
  .contact-item span {
    font-size: 0.9em;
  }
  
  .contact-social {
    padding: 15px 12px;
    max-width: 100%;
  }

  .instagram-highlight {
    flex-direction: column;
    gap: 10px;
  }

  .instagram-highlight i {
    font-size: 2.5em;
  }

  .instagram-label {
    font-size: 0.8em;
  }

  .instagram-handle {
    font-size: 1.1em;
    margin-top: 3px;
  }

  .social-buttons {
    gap: 10px;
  }  .social-btn {
    padding: 12px 20px;
    font-size: 0.85em;
  }
  
  .social-btn i {
    font-size: 1.1em;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  footer h3 {
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  footer p, footer a {
    font-size: 0.85em;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
  
  .footer-links a {
    font-size: 0.85em;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 1.5em;
  }
}

/* Estilos para la página de cotización */
.cotizacion-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.cotizacion-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

.cotizacion-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  color: #2d3748;
  font-size: 1em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.form-group label i {
  color: #c49a6c;
  font-size: 1.1em;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cotizacion-form input,
.cotizacion-form select,
.cotizacion-form textarea,
.personalizado-form input,
.personalizado-form select,
.personalizado-form textarea {
  padding: 15px 18px;
  border: 2px solid #e8ecef;
  border-radius: 12px;
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cotizacion-form input:focus,
.cotizacion-form select:focus,
.cotizacion-form textarea:focus,
.personalizado-form input:focus,
.personalizado-form select:focus,
.personalizado-form textarea:focus {
  outline: none;
  border-color: #c49a6c;
  box-shadow: 0 0 0 4px rgba(196, 154, 108, 0.12), 0 4px 12px rgba(196, 154, 108, 0.15);
  transform: translateY(-1px);
}

/* Estilos modernos específicos para select */
.personalizado-form select,
.cotizacion-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49a6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 50px;
  cursor: pointer;
}

.personalizado-form select:hover,
.cotizacion-form select:hover {
  border-color: #b8956a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Textarea moderno */
.personalizado-form textarea,
.cotizacion-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Placeholders modernos */
.personalizado-form input::placeholder,
.cotizacion-form input::placeholder,
.personalizado-form textarea::placeholder,
.cotizacion-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.personalizado-form input:focus::placeholder,
.cotizacion-form input:focus::placeholder,
.personalizado-form textarea:focus::placeholder,
.cotizacion-form textarea:focus::placeholder {
  opacity: 0.6;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.btn-submit {
  background: #c49a6c;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  background: #a87f55;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(196, 154, 108, 0.4);
}

.cotizacion-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card i {
  font-size: 2.5em;
  color: #c49a6c;
  margin-bottom: 15px;
}

.info-card h4 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 1.2em;
}

.info-card p {
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cotizacion-form-container {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    font-size: 1.05em;
    margin-bottom: 10px;
  }
}

/* Estilos para el modal del carrito */
#cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cart-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  height: 650px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cart-header {
  background: #c49a6c;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 15px 15px 0 0;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2em;
}

.cart-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  padding-bottom: 30px;
  min-height: 200px;
  max-height: 320px;
  margin-bottom: 10px;
}

/* Estilos para scrollbar personalizada */
.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: #c49a6c;
  border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: #b8935f;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-icon {
  color: #c49a6c;
  font-size: 1.5em;
  width: 40px;
  text-align: center;
}

.item-details {
  flex: 1;
}

.item-details h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1em;
}

.item-details p {
  margin: 0;
  color: #666;
  font-size: 0.9em;
}

.item-price {
  color: #c49a6c !important;
  font-weight: 600 !important;
  font-size: 0.95em !important;
}

.btn-remove {
  background: #ff6b6b;
  border: none;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remove:hover {
  background: #ff5252;
}

.empty-cart {
  text-align: center;
  color: #999;
  padding: 40px 20px;
}

.empty-cart i {
  font-size: 3em;
  margin-bottom: 15px;
}

.cart-footer {
  background: #f8f9fa;
  padding: 25px 20px;
  border-top: 2px solid #ddd;
  flex-shrink: 0;
  border-radius: 0 0 15px 15px;
  margin-top: auto;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-count-info {
  color: #ffffff !important;
  font-size: 1em;
  font-weight: 600;
}

.cart-total-info {
  color: #ffffff !important;
  font-size: 1.3em;
  font-weight: 700;
}

.cart-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 0;
  border-radius: 0 0 15px 15px;
}

.cart-actions button {
  color: white !important;
  font-weight: 600;
  text-shadow: none;
}

.btn-clear {
  background: #6c757d;
  color: white !important;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear:hover {
  background: #5a6268;
}

.btn-view-more {
  background: #007bff;
  color: white !important;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background: #0056b3;
}

.btn-checkout {
  background: #25d366;
  color: white !important;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1em;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-checkout:hover {
  background: #20b358;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .cart-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .cart-items {
    max-height: calc(90vh - 200px);
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .cart-actions button {
    width: 100%;
  }
}

/* Estilos para el resumen del carrito en cotización */
.cart-summary-container {
  margin-bottom: 30px;
}

.cart-summary {
  background: linear-gradient(135deg, #c49a6c, #a87f55);
  color: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(196, 154, 108, 0.3);
}

.cart-summary h4 {
  margin: 0 0 20px 0;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.summary-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.summary-item i {
  font-size: 1.2em;
  width: 25px;
  text-align: center;
}

.summary-item span {
  font-weight: 500;
}

@media (max-width: 768px) {
  .summary-items {
    grid-template-columns: 1fr;
  }
}

/* Efectos modernos adicionales para campos del formulario */
.form-group {
  position: relative;
}

.form-group label {
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: #c49a6c;
}

/* Estilo especial para campos requeridos */
.personalizado-form input:required,
.personalizado-form select:required,
.personalizado-form textarea:required,
.cotizacion-form input:required,
.cotizacion-form select:required,
.cotizacion-form textarea:required {
  border-left: 4px solid #fbbf24;
}

.personalizado-form input:required:focus,
.personalizado-form select:required:focus,
.personalizado-form textarea:required:focus,
.cotizacion-form input:required:focus,
.cotizacion-form select:required:focus,
.cotizacion-form textarea:required:focus {
  border-left: 4px solid #c49a6c;
}

/* Validación visual */
.personalizado-form input:valid:not(:placeholder-shown),
.personalizado-form select:valid:not([value=""]),
.personalizado-form textarea:valid:not(:placeholder-shown),
.cotizacion-form input:valid:not(:placeholder-shown),
.cotizacion-form select:valid:not([value=""]),
.cotizacion-form textarea:valid:not(:placeholder-shown) {
  border-color: #10b981;
  border-left-color: #10b981;
}

/* Estilos para carga de archivos */
.file-upload-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-input {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 20px;
  border: 2px dashed #c49a6c;
  border-radius: 8px;
  background-color: rgba(196, 154, 108, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
}

.file-upload-label:hover {
  border-color: #8b5a2b;
  background-color: rgba(196, 154, 108, 0.1);
  transform: scale(1.01);
}

.file-upload-label i {
  font-size: 2em;
  color: #c49a6c;
}

.file-upload-label span {
  text-align: center;
}

.file-upload-label small {
  display: block;
  font-size: 0.85em;
  color: #666;
  font-weight: normal;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background-color: #f5f5f5;
  border-left: 4px solid #10b981;
  border-radius: 4px;
  font-size: 0.95em;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.file-item-info i {
  color: #10b981;
}

.file-item-name {
  flex: 1;
  word-break: break-word;
}

.file-item-size {
  color: #999;
  font-size: 0.85em;
  margin-left: 10px;
}

.file-item-remove {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 1.2em;
  padding: 0 5px;
  transition: color 0.2s;
}

.file-item-remove:hover {
  color: #b91c1c;
}

.form-help-text {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

/* Media queries para archivo upload */
@media (max-width: 768px) {
  .file-upload-label {
    min-height: 100px;
    padding: 15px;
  }

  .file-upload-label i {
    font-size: 1.8em;
  }
}


/* Estilos para la página de producto personalizado */
.personalizado-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-intro {
  margin-bottom: 40px;
}

.intro-card {
  background: linear-gradient(135deg, #c49a6c, #a87f55);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(196, 154, 108, 0.3);
}

.intro-card i {
  font-size: 3em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.intro-card h3 {
  margin: 0 0 15px 0;
  font-size: 1.5em;
}

.intro-card p {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.9;
}

.personalizado-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  backdrop-filter: blur(15px);
  margin-bottom: 40px;
}

.personalizado-form {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.form-section {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 30px;
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section h3 {
  color: #c49a6c;
  margin: 0 0 25px 0;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid #c49a6c;
  padding-left: 15px;
}

.personalizado-info {
  margin-top: 40px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.info-cards .info-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-cards .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.info-cards .info-card i {
  font-size: 2.5em;
  color: #c49a6c;
  margin-bottom: 20px;
}

.info-cards .info-card h4 {
  color: #333;
  margin: 0 0 15px 0;
  font-size: 1.3em;
}

.info-cards .info-card p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .personalizado-form-container {
    padding: 25px;
    margin: 0 -20px 40px -20px;
    border-radius: 0;
  }
  
  .form-section h3 {
    font-size: 1.2em;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .intro-card {
    margin: 0 -20px 40px -20px;
    border-radius: 0;
    padding: 25px 20px;
  }
}

/* Estilos específicos para la sección de tiempo rediseñada */

/* Estilos para páginas de catálogo */
.catalog-section {
  padding: 40px 20px 80px;
  background: transparent;
  min-height: 100vh;
}

.catalog-header {
  text-align: center;
  margin-bottom: 50px;
}

.catalog-header h1 {
  font-size: 2.8em;
  font-weight: 300;
  color: #fff;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.catalog-header p {
  font-size: 1.2em;
  color: #f0f0f0;
  margin: 0 0 25px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c49a6c;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border: 2px solid #c49a6c;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: #c49a6c;
  color: white;
  transform: translateY(-2px);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px;
}

.product-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(196, 154, 108, 0.1);
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card:hover .product-image img {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-info h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.product-info p {
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-size: 0.9em;
  flex-grow: 0;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.product-features span {
  background: rgba(196, 154, 108, 0.1);
  color: #c49a6c;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
  white-space: nowrap;
}

.product-features i {
  margin-right: 4px;
}

.product-price {
  font-size: 1.5em;
  font-weight: 700;
  color: #c49a6c;
  margin: auto 0 0 0;
  padding-top: 10px;
}

.btn-buy-product {
  width: 100%;
  background: #c49a6c;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-buy-product:hover {
  background: #a87f55;
  transform: translateY(-2px);
}

.btn-buy-product:active {
  transform: scale(0.98);
}

/* Responsive para catálogos */
@media (max-width: 768px) {
  .catalog-header h1 {
    font-size: 2.2em;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
  
  .product-card {
    margin: 0;
  }

  .product-image {
    height: 200px;
  }

  .product-info {
    padding: 12px;
  }

  .product-features {
    font-size: 0.8em;
  }

  .product-price {
    font-size: 1.1em;
  }

  .btn-buy-product {
    padding: 8px 12px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .catalog-header h1 {
    font-size: 1.8em;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 8px;
  }

  .product-card {
    margin: 0;
    border-radius: 10px;
  }

  .product-image {
    height: 150px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 0.9em;
  }

  .product-features {
    font-size: 0.7em;
    margin: 4px 0;
  }

  .product-price {
    font-size: 1em;
    font-weight: 700;
  }

  .btn-buy-product {
    padding: 6px 10px;
    font-size: 0.8em;
    width: 100%;
  }
}
.tiempo-centrado {
  max-width: 500px;
  margin: 0 auto;
}

.tiempo-info {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.info-note {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 600px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-note i {
  color: #c49a6c;
  font-size: 1.3em;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-note p {
  margin: 0;
  color: #495057;
  line-height: 1.5;
  font-size: 0.95em;
}

.info-note strong {
  color: #343a40;
}

@media (max-width: 768px) {
  .tiempo-centrado {
    max-width: 100%;
  }
  
  .info-note {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }
  
  .info-note i {
    margin-top: 0;
    align-self: center;
  }

  /* Footer optimizado para móviles */
  footer {
    padding: 40px 15px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 1em;
    margin-bottom: 12px;
  }

  .footer-section p {
    font-size: 0.9em;
  }

  .footer-section a {
    font-size: 0.9em;
  }

  .footer-highlights {
    margin: 15px 0;
    gap: 15px;
  }

  .highlight-item {
    gap: 10px;
  }

  .highlight-item i {
    font-size: 1em;
  }

  .highlight-item strong {
    font-size: 0.9em;
  }

  .highlight-item p {
    font-size: 0.8em;
  }

  .footer-contact-info {
    margin-top: 15px;
    padding-top: 15px;
  }

  .footer-contact-info p {
    font-size: 0.85em;
  }

  .social-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-btn {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .footer-bottom p {
    font-size: 0.85em;
  }
}

/* Media Query Desktop - Centrado del Hero Stats */
@media (min-width: 1025px) {
  .hero-stats {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: center;
  }
}

/* Animación pulse para ícono Próximamente */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}