/* Estilos específicos para la página de Fresas Integrales de Metal Duro */

/* Ajuste de ruta para el menú móvil desde subcarpetas */
.mobile-menu-background {
    background-image: url('../assets/images/Kennaline Movil_movil_menu_background.png');
  }
  
  .page-content {
    width: 100%;
    position: relative;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
    width: 100%;
  }
  
  .logo-container,
  .logo-container img {
    height: clamp(46.5px, calc(50 / 1920 * 100vw), 50px);
  }
  
  .main-nav {
    top: 0;
  }
  
  .mobile-menu-close {
    height: 78px;
  }
  
  @media (max-width: 1760px) {
    .header-container {
      height: 73.32px;
    }

    .main-nav {
      width: 1006.035px;
      height: 73.32px;
      bottom: -36.66px;
    }
    
    .nav-menu-wrapper {
      gap: 42.3px;
      height: 19.74px;
    }
    
    .nav-link-area {
      height: 19.74px;
    }
    
    .nav-link-area img {
      height: 19.74px;
    }

    .mobile-menu-close {
      height: 73.32px;
    }
  }

  @media (max-width: 1600px) {
    .header-container {
      height: 67.08px;
    }

    .main-nav {
      width: 920.415px;
      height: 67.08px;
      bottom: -33.54px;
    }
    
    .nav-menu-wrapper {
      gap: 38.7px;
      height: 18.06px;
    }
    
    .nav-link-area {
      height: 18.06px;
    }
    
    .nav-link-area img {
      height: 18.06px;
    }

    .mobile-menu-close {
      height: 67.08px;
    }
  }
  
  
  
  /* Estilos del menú móvil - rutas ajustadas desde subcarpeta */
  .mobile-menu-link-nosotros {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_nosotros.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  .mobile-menu-link-productos {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_productos.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  .mobile-menu-link-servicios {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_servicios.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  .mobile-menu-link-soluciones {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_soluciones.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  .mobile-menu-link-clientes {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_clientes.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  .mobile-menu-link-contacto {
    width: 100%;
    height: 21px;
    background-image: url('../assets/images/Kennaline Web_navbar_contacto.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
  }
  
  /* Hero Section 1 */
  .hero {
    width: 100%;
    min-height: 172px;
    position: relative;
    overflow: visible;
    background-color: #000;
  }
  
  .hero-banner-top-left-wrapper {
    position: absolute;
    display: flex;
    top: calc(100% - clamp(21px, calc(52 / 1920 * 100vw), 52px));
    width: clamp(346px, calc(864 / 1920 * 100vw), 864px);
    height: clamp(42px, calc(104 / 1920 * 100vw), 104px);
  }
  
  .hero-banner-top-left {
    left: 0;
    width: clamp(346px, calc(864 / 1920 * 100vw), 864px);
    height: clamp(42px, calc(104 / 1920 * 100vw), 104px);
    padding-left: clamp(33px, calc(116.5 / 1920 * 100vw), 116.5px);
    background-image: url('../assets/images/Kennaline Movil_productos_banner_top_left_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 3;
    display: flex;
    align-items: center;
  }
  
  .hero-banner-top-left-text {
    font-family: 'Saira Condensed', sans-serif;
    font-size: clamp(21.6px, calc(54 / 1920 * 100vw), 54px);
    font-weight: 800;
    margin-left: clamp(8px, calc(20 / 1920 * 100vw), 20px);
    color: #000;
  }
  
  /* Hero Text Section */
  .hero-text-section {
    width: 100%;
    padding: 80px 40px 40px 40px;
    position: relative;
  }
  
  .hero-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: clamp(120px, calc(200 / 1200 * 100vw), 200px);
    font-family: 'Saira Condensed', sans-serif;
    font-size: clamp(16px, calc(42 / 1200 * 100vw), 42px);
    font-weight: 400;
    line-height: 1.2;
  }
  
  /* Products List Section */
  .products-list-section {
    width: 100%;
    padding: 0 80px 60px 80px;
    background-color: #fff;
  }
  
  .products-container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  /* Product Card */
  .product-card {
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 400px;
  }
  
  /* Estilos para product-code cuando muestra texto (SKU) */
  .woocommerce .product-code {
    font-family: 'Saira Condensed', sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    color: #000 !important;
    background-image: none !important;
    aspect-ratio: auto !important;
    height: auto !important;
    padding: 8px 0 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .product-separator {
    width: 100%;
    height: auto;
    aspect-ratio: 400/4;
    background-image: url('../assets/images/Kennaline Movil_productos_product_separator.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    margin-bottom: 15px;
  }

  @media (max-width: 1080px) {
    .hero {
      min-height: 0;
      height: auto;
      aspect-ratio: 1080/172;
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .hero-text-section {
      padding: 60px 20px 20px 20px;
    }
  
    .hero-text {
      height: clamp(100px, calc(200 / 1200 * 100vw), 200px);
      min-height: 100px;
      font-size: clamp(14px, calc(42 / 1200 * 100vw), 42px);
    }
  
    .products-list-section {
      padding: 0 40px 40px 40px;
    }
  
    .products-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  
    .product-image {
      width: 100%;
      max-width: 400px;
      height: auto;
      aspect-ratio: 400/300;
    }

    .logo-container,
    .logo-container img {
      height: 42px;
    }
  }

/* ===============================
   ESTILOS WOOCOMMERCE
================================ */
.woocommerce-products-container {
  width: 100%;
  padding: clamp(80px, calc(100 / 1920 * 100vw), 100px) 60px 60px 60px;
  background-color: #fff;
}

.woocommerce-result-count {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.woocommerce-ordering {
  margin-bottom: 30px;
}

.woocommerce-ordering select.orderby {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
}

.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #000;
}

.products .product {
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 400px;
  margin: 0;
  padding: 0;
}

.woocommerce-LoopProduct-link {
  display: block;
  width: 100%;
  text-decoration: none;
  margin-bottom: 15px;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 400px !important;
}

/* Imagen del producto - solo la imagen principal */
.woocommerce-LoopProduct-link img.attachment-woocommerce_thumbnail {
  width: auto !important;
  height: auto !important;
  max-height: 400px !important;
  display: block !important;
  margin-bottom: 15px !important;
}

/* Separador en el loop de productos - entre SKU y título */
.woocommerce-LoopProduct-link img.product-separator-img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 400/4 !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  margin-top: 5px !important;
  margin-bottom: 10px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.product-sku {
  font-family: 'Saira Condensed', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #666 !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  width: 100%;
}

.product-sku strong {
  font-weight: 600;
  color: #000;
}

.woocommerce-loop-product__title {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 26px !important;
  font-weight: 600;
  color: #000;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

/* SKU en el loop de productos - debe aparecer después del título */
.products .product .product-code {
  font-family: 'Saira Condensed', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #666 !important;
  margin-top: 5px !important;
  margin-bottom: 10px !important;
  width: 100% !important;
  background-image: none !important;
  aspect-ratio: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
}

.woocommerce .button.product_type_simple {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.woocommerce .button.product_type_simple:hover {
  background-color: #333;
  color: #fff;
}

.woocommerce .button.product_type_simple:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Responsive WooCommerce */
@media (max-width: 1080px) {
  .woocommerce-products-container {
    padding: 60px 40px 40px 40px;
  }

  .woocommerce-loop-product__title {
    font-size: 24px !important;
  }
  
  .product-sku, .products .product .product-code, .woocommerce .product-code {
    font-size: 22px !important;
  }
}

@media (max-width: 768px) {
  .woocommerce-products-container {
    padding: 40px 20px 40px 20px;
  }

  .products {
    gap: 30px;
  }

  .products .product {
    width: 100%;
    max-width: 400px;
  }

  .woocommerce-result-count {
    font-size: 14px !important;
  }

  .woocommerce-ordering select.orderby {
    font-size: 14px !important;
    width: 100%;
  }

  .woocommerce-loop-product__title {
    font-size: 22px !important;
  }

  .product-sku, .products .product .product-code, .woocommerce .product-code {
    font-size: 20px !important;
  }


  .woocommerce .button.product_type_simple {
    font-size: 14px !important;
    padding: 8px 16px;
    text-align: center;
  }
}
  