/* ========================= */
/* ESTILOS BASE EXISTENTES */
/* ========================= */

body.base-layout {
  font-family: 'Lora';
  background: linear-gradient(rgba(47, 23, 15, 0.35), rgba(47, 23, 15, 0.35)), url("../img/bg_main.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;  
}

.card-body {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway';
}

p {
  line-height: 1.75;
}

.text-faded {
  color: rgba(255, 255, 255, 0.3);
}

.site-heading {
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Raleway';
}

.site-heading .site-heading-upper {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.site-heading .site-heading-lower {
  font-size: 5rem;
  font-weight: 100;
  line-height: 4rem;
}

.page-section {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.section-heading {
  text-transform: uppercase;
}

.section-heading .section-heading-upper {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  padding-bottom:.5rem;
}

.section-heading .section-heading-lower {
  display: block;
  font-size: 3rem;
  font-weight: 100;
}

.section-heading .section-heading-under {
  display: block;
  font-size: 1rem;
  text-transform: none;
  font-weight: 300;
  margin-top:.5rem;
}

.bg-faded {
  background-color: rgba(255, 255, 255, 0.85);
}

#mainNav {
  background-color: rgba(190, 150, 110, 0.85);
  font-family: 'Raleway';
}

#mainNav .navbar-brand {
  color: #ffffff;
}

#mainNav .navbar-nav .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

#mainNav .navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 992px) {
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 0.9rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
  }
  #mainNav .navbar-nav .nav-item.active .nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
}

.btn-xl {
  font-weight: 700;
  font-size: 0.8rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.intro {
  position: relative;
}

@media (min-width: 992px) {
  .intro .intro-img {
    width: 75%;
    float: left;
  }
  .intro .intro-text {
    left: 0;
    width: 60%;
    margin-top: 3rem;
    background-color: rgba(190, 150, 110, 0.85);
    color: cornsilk;
    position: absolute;
  }
  .intro .intro-text .intro-button {
    width: 100%;
    left: 0;
    position: absolute;
    bottom: -2rem;
  }
}

@media (min-width: 1200px) {
  .intro .intro-text {
    width: 45%;
  }
}

.cta {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgba(245, 245, 240);
}

.cta .cta-inner {
  position: relative;
  padding: 3rem;
  margin: 0.5rem;
  background-color: rgba(190, 150, 110, 0.85);
  color: cornsilk;
}

.cta .cta-inner:before {
  border-radius: 0.5rem;
  content: '';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.85);
}

.cta .cta-innerv {
  position: relative;
  padding: 3rem;
  margin: 0.5rem;
  background-color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 992px) {
  .about-heading .about-heading-img {
    position: relative;
    z-index: 0;
  }
  .about-heading .about-heading-content {
    margin-top: -5rem;
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 992px) {
  .product-item .product-item-title {
    position: relative;
    z-index: 1;
    margin-bottom: -3rem;
  }
  .product-item .product-item-img {
    position: relative;
    z-index: 0;
    max-width: 60vw;
  }
  .product-item .product-item-description {
    position: relative;
    z-index: 1;
    margin-top: -3rem;
    max-width: 50vw;
  }
}

@media (min-width: 992px) {
  .list-hours {
    width: 50%;
    font-size: 1.1rem;
  }
}

.address strong {
  font-size: 1.2rem;
}

.footer {
  background-color: rgba(190, 150, 110, 0.85);
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(33, 37, 41, 0.1);
}

.font-weight-light {
  font-weight: 100 !important;
}

.mbtm {
  padding-top: 5rem;
}

.mbt {
  padding-top: 2rem;
}

.mbt1 {
  padding-top: 1.25rem;
}

a.link {
  color: rgba(255, 255, 255, 0.7);
}

a.link:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
}

.section-content {
  font-family: 'Lora' !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
}

ul.errorlist {
  padding-top: .75rem;
  font-style: italic;
  color: red;
}

.linksCategoria {
  color: white !important;
  text-decoration: underline !important;
}

.linksCategoria:hover {
  color: red !important;
  text-decoration: none !important;
}

form input,
form textarea {
  width: 100% !important;
  padding: 8px !important;
  margin-top: 4px !important;
  margin-bottom: 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}

form label {
  font-weight: bold !important;
  color: #333 !important;
}

form .btn {
  padding: 10px 20px !important;
  font-size: 16px !important;
}

.login-box {
  max-width: 380px;
  margin: 60px auto;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #212529;
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.login-box input.form-control {
  height: 36px;
  font-size: 0.9rem;
}

.login-links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.zona-cliente {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #1e1e1e;
  color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.zona-cliente h2,
.zona-cliente h4 {
  color: #f5f5f5;
  margin-bottom: 1rem;
}

.zona-cliente ul {
  list-style: none;
  padding-left: 0;
}

.zona-cliente li {
  margin-bottom: 0.5rem;
}

.zona-cliente a {
  color: #00bcd4;
  text-decoration: none;
}

.zona-cliente a:hover {
  text-decoration: underline;
}

.zona-cliente label {
  color: #f5f5f5;
}

.zona-cliente form label {
  color: #f5f5f5 !important;
}

.alert-custom {
  background-color: #2e7d32;
  color: #fff;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid #1b5e20;
}

.base-layout .hero {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  height: 15vh;
  min-height: 80px;
  max-height: 150px;
  background-image: url('../img/nombre_tienda.png');
  background-size: 50% auto;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.titulo {
  font-size: 3.5vw;
  color: rgba(0, 0, 0, 0.7);
  padding: 0.5% 1%;
  border-radius: 4px;
  font-weight: 600;
  font-style: italic;
  font-family: 'Cinzel', serif;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0.3px 0.3px 0 rgba(0, 0, 0, 0.1);
  max-width: 40%;
  white-space: nowrap;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

/* Ajustes responsive */
@media (max-width: 1200px) {
  .base-layout .hero {
    background-size: 55% auto;
  }
  .titulo {
    font-size: 3.2vw;
    max-width: 45%;
  }
}

@media (max-width: 992px) {
  .base-layout .hero {
    background-size: 60% auto;
    height: 14vh;
  }
  .titulo {
    font-size: 3vw;
    max-width: 50%;
    background-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {
  .base-layout .hero {
    background-size: 65% auto;
    height: 12vh;
    min-height: 70px;
  }
  .titulo {
    font-size: 2.8vw;
    max-width: 55%;
    padding: 0.6% 1.2%;
    background-color: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 576px) {
  .base-layout .hero {
    background-size: 70% auto;
    height: 10vh;
    min-height: 60px;
  }
  .titulo {
    font-size: 2.5vw;
    max-width: 60%;
    padding: 0.7% 1.5%;
    background-color: rgba(255, 255, 255, 0.04);
    font-weight: 500;
  }
}

/* ========================= */
/* NUEVOS ESTILOS PARA INDEX Y CONTACTO */
/* ========================= */

:root {
  --primary-color: #0a1a2f;
  --secondary-color: #f60;
  --dark-bg: #111;
  --light-bg: #f8f9fa;
  --text-light: #fff;
  --text-dark: #222;
  --text-gray: #555;
  --spacing-xl: 100px;
  --spacing-lg: 70px;
  --spacing-md: 50px;
  --spacing-sm: 30px;
  --spacing-xs: 20px;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset para evitar conflictos */
body.index-layout,
body.index-layout * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.index-layout {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Header principal CORREGIDO */
.index-layout header {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.index-layout .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.index-layout nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.index-layout .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.index-layout .nav-links {
  display: flex;
  gap: 30px;
}

.index-layout nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.index-layout nav a:hover {
  color: var(--secondary-color);
}

.index-layout nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.index-layout nav a:hover::after {
  width: 100%;
}

/* Menú hamburguesa CORREGIDO */
.index-layout .menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
  padding: 5px;
}

.index-layout .menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  transition: var(--transition);
  transform-origin: center;
}

/* Secciones principales */
.index-layout section {
  padding: var(--spacing-lg) 0;
}

/* Hero section */
.index-layout .hero {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
              url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
  background-size: cover;
  color: var(--primary-color);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.index-layout .hero-content {
  max-width: 800px;
  padding: 40px 0;
}

.index-layout .hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  font-weight: 700;
}

.index-layout .hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
}

.index-layout .btn {
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}

.index-layout .btn:hover {
  background-color: #e55a00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 102, 0, 0.3);
}

/* Servicios */
.index-layout .servicios {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.index-layout .section-title {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
}

.index-layout .section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* SERVICIOS CON IMÁGENES - DISEÑO ACTUALIZADO */
.servicio-box-with-image-dark {
  background: rgba(255, 255, 255, 0.1);
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.servicio-box-with-image-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servicio-box-with-image-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.15);
}

.servicio-box-with-image-dark:hover::before {
  transform: scaleX(1);
}

.servicio-box-with-image-dark .row {
  flex-direction: column;
  align-items: center;
}

.servicio-box-with-image-dark .col-md-4 {
  padding: 0;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.servicio-box-with-image-dark .col-md-4 img {
  width: 100%;
  max-width: 200px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.servicio-box-with-image-dark:hover .col-md-4 img {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.servicio-box-with-image-dark .col-md-8 {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.servicio-box-with-image-dark h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
}

.servicio-box-with-image-dark h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.servicio-box-with-image-dark p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.servicio-box-with-image-dark p:last-of-type {
  margin-bottom: 0;
}

.servicio-box-with-image-dark strong {
  color: var(--text-light);
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Servicio box simple ACTUALIZADO */
.servicio-box-simple {
  background: rgba(255, 255, 255, 0.1);
  padding: 45px 35px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.servicio-box-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servicio-box-simple:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.servicio-box-simple:hover::before {
  transform: scaleX(1);
}

.servicio-box-simple h3 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.servicio-box-simple h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 2px;
}

.servicio-box-simple p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.servicio-box-simple strong {
  color: #ffa726;
  font-weight: 700;
}

/* Formulario de contacto MEJORADO */
.index-layout .contacto-section {
  padding: var(--spacing-lg) 0;
  background-color: var(--primary-color);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.index-layout .contact-title {
  color: var(--text-light);
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.index-layout .contact-form {
  background-color: var(--text-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
}

.index-layout .form-group {
  margin-bottom: var(--spacing-sm);
}

.index-layout .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

.index-layout .form-group input,
.index-layout .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  font-family: inherit;
  background-color: #fafafa;
}

.index-layout .form-group input:focus,
.index-layout .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
  background-color: var(--text-light);
}

.index-layout .form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.index-layout .form-actions {
  text-align: center;
  margin-top: var(--spacing-md);
}

.index-layout .btn-contact {
  width: 100%;
  padding: 15px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.index-layout .btn-contact:hover {
  background-color: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 102, 0, 0.3);
}

.index-layout .alert-success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  border: 1px solid #c3e6cb;
}

/* Footer */
.index-layout footer {
  background-color: #0a0a0a;
  color: #aaa;
  padding: var(--spacing-md) 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ========================= */
/* MEDIA QUERIES CORREGIDAS */
/* ========================= */

@media (max-width: 1200px) {
  .servicio-box-with-image-dark h3 {
    font-size: 1.4rem;
  }
  
  .servicio-box-with-image-dark .col-md-4 img {
    height: 150px;
    max-width: 180px;
  }
  
  .servicio-box-simple {
    padding: 40px 30px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 992px) {
  .index-layout .servicio-box {
    flex: 1 1 calc(50% - var(--spacing-md));
  }
  
  .index-layout .hero h1 {
    font-size: 2.2rem;
  }
  
  .index-layout .section-title {
    font-size: 2rem;
  }
  
  .servicio-box-with-image-dark {
    padding: 30px 25px;
  }
  
  .servicio-box-with-image-dark .col-md-4 img {
    height: 140px;
    max-width: 160px;
  }
  
  .servicio-box-with-image-dark h3 {
    font-size: 1.3rem;
  }
  
  .servicio-box-simple {
    padding: 35px 25px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.5rem;
  }
  
  .servicio-box-simple p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .servicio-box-with-image-dark {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .servicio-box-with-image-dark .col-md-4 {
    margin-bottom: 20px;
  }
  
  .servicio-box-with-image-dark .col-md-4 img {
    height: 140px;
    max-width: 160px;
  }
  
  .servicio-box-with-image-dark h3 {
    font-size: 1.4rem;
  }
  
  .servicio-box-with-image-dark p {
    font-size: 1rem;
  }
  
  .servicio-box-simple {
    padding: 30px 20px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.4rem;
  }
  
  .servicio-box-simple p {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .servicio-box-with-image-dark {
    padding: 22px 18px;
    border-radius: 16px;
  }
  
  .servicio-box-with-image-dark .col-md-4 {
    margin-bottom: 18px;
  }
  
  .servicio-box-with-image-dark .col-md-4 img {
    height: 130px;
    max-width: 140px;
    border-radius: 12px;
  }
  
  .servicio-box-with-image-dark h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .servicio-box-with-image-dark h3::after {
    width: 40px;
  }
  
  .servicio-box-with-image-dark p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .servicio-box-simple {
    padding: 25px 18px;
    border-radius: 16px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
  }
  
  .servicio-box-simple h3::after {
    width: 50px;
  }
  
  .servicio-box-simple p {
    font-size: 1rem;
  }
}

/* Barra de categorías con fondo más claro */
.categorias-bar {
  background: linear-gradient(135deg, rgba(190, 150, 110, 0.7), rgba(160, 120, 80, 0.6));
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.categorias-content {
  font-size: 1.1rem;
  font-family: 'Raleway', sans-serif;
}

.categorias-label {
  font-size: 1.2rem;
  color: #2c1810;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.categoria-link {
  color: #2c1810;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

.categoria-link:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.product-description {
  line-height: 1.5;
  min-height: 42px;
  color: #6c757d;
}

/* Responsive */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    padding: 35px 18px;
  }
}

@media (max-width: 992px) {
  .categorias-content {
    font-size: 1rem;
  }
  
  .categorias-label {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 12px;
  }
  
  .categoria-link {
    padding: 7px 14px;
    font-size: 0.95rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 30px 15px;
  }
  
  .product-image {
    height: 200px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .categorias-bar {
    padding: 15px 0 !important;
  }
  
  .categorias-content {
    font-size: 0.95rem;
  }
  
  .categoria-link {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 25px 12px;
  }
  
  .product-image {
    height: 180px;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .categorias-bar {
    padding: 12px 0 !important;
  }
  
  .categorias-label {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .categoria-link {
    font-size: 0.85rem;
    padding: 5px 10px;
    margin: 2px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 10px;
  }
  
  .product-image {
    height: 160px;
    padding: 10px;
  }
  
  .product-price {
    font-size: 1.3rem;
  }
}

/* Hero section con imagen */
.hero-with-image {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.hero-with-image .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-with-image .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image img {
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Servicios con imágenes */
.servicio-box-with-image {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.servicio-box-with-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.servicio-box-with-image h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.servicio-box-with-image p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-with-image {
    padding: 60px 0;
    text-align: center;
  }
  
  .hero-with-image .hero-content h1 {
    font-size: 2rem;
  }
  
  .servicio-box-with-image {
    text-align: center;
    margin-bottom: 30px;
  }
}
/* SERVICIOS MEJORADOS - DISEÑO OPTIMIZADO */
.servicio-box-with-image-dark {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.servicio-box-with-image-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servicio-box-with-image-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.15);
}

.servicio-box-with-image-dark:hover::before {
  transform: scaleX(1);
}

.servicio-imagen-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.servicio-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.servicio-box-with-image-dark:hover .servicio-imagen {
  transform: scale(1.08);
}

.servicio-contenido {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.servicio-contenido h3 {
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
}

.servicio-contenido h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.servicio-contenido p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
  flex-grow: 1;
}

.servicio-destacado {
  margin-bottom: 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.servicio-destacado strong {
  color: var(--text-light);
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Servicio box simple mejorado */
.servicio-box-simple {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 35px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.servicio-box-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.servicio-box-simple:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.servicio-box-simple:hover::before {
  transform: scaleX(1);
}

.servicio-box-simple h3 {
  color: var(--text-light);
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.servicio-box-simple h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 2px;
}

.servicio-box-simple p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.servicio-box-simple strong {
  color: #ffa726;
  font-weight: 700;
}

/* Ajustes responsive */
@media (max-width: 1200px) {
  .servicio-imagen-container {
    height: 180px;
  }
  
  .servicio-contenido {
    padding: 20px;
  }
  
  .servicio-contenido h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .servicio-imagen-container {
    height: 160px;
  }
  
  .servicio-contenido {
    padding: 18px;
  }
  
  .servicio-contenido h3 {
    font-size: 1.2rem;
  }
  
  .servicio-box-simple {
    padding: 35px 25px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .servicio-imagen-container {
    height: 150px;
  }
  
  .servicio-contenido {
    padding: 20px;
  }
  
  .servicio-contenido h3 {
    font-size: 1.3rem;
  }
  
  .servicio-box-simple {
    padding: 30px 20px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .servicio-imagen-container {
    height: 140px;
  }
  
  .servicio-contenido {
    padding: 18px;
  }
  
  .servicio-contenido h3 {
    font-size: 1.2rem;
  }
  
  .servicio-contenido p {
    font-size: 0.95rem;
  }
  
  .servicio-box-simple {
    padding: 25px 18px;
  }
  
  .servicio-box-simple h3 {
    font-size: 1.2rem;
  }
  
  .servicio-box-simple p {
    font-size: 1rem;
  }
}
/* SEPARACIÓN ENTRE CUADROS DE SERVICIOS - MÁS ESPACIO */
@media (min-width: 992px) {
  .servicios .row {
    margin-left: -20px;
    margin-right: -20px;
  }
  
  .servicios .col-lg-6 {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .servicio-box-with-image-dark {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (min-width: 1200px) {
  .servicios .col-lg-6 {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .servicio-box-with-image-dark {
    margin-left: 15px;
    margin-right: 15px;
  }
}

/* TEXTO DESTACADO BLANCO PURO */
.servicio-destacado strong {
  color: #ffffff !important;
  font-weight: 700;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.servicio-box-simple strong {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* BARRA DE BÚSQUEDA TIENDA */
.buscador-tienda .form-control {
  border: 2px solid #e9ecef;
  border-right: none;
  border-radius: 50px 0 0 50px;
  padding: 12px 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.buscador-tienda .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  outline: none;
}

.buscador-tienda .btn {
  border: 2px solid #667eea;
  border-radius: 0 50px 50px 0;
  padding: 12px 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.buscador-tienda .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Resultados de búsqueda */
.buscador-resultados {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.buscador-resultados p {
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 1.1rem;
}

.buscador-resultados strong {
  color: #667eea;
}

/* Estado vacío */
.products-grid .col-12.text-center {
  grid-column: 1 / -1;
}

.products-grid .col-12.text-center .fa-search {
  opacity: 0.5;
}