/*
Theme Name: HUBLER MAQUINARIA
Theme URI: https://hubler.cl
Author: HUBLER Automation & Packaging
Author URI: https://hubler.cl
Description: Plantilla oficial HUBLER MAQUINARIA para maquinaria de envasado, selladoras, flowpack, termoformadoras, codificación e inspección. 100% idéntico a la vista previa de AI Studio.
Version: 2.8.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hubler-maquinaria
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --hubler-bg: #0b0c0e;
  --hubler-card-bg: #12151c;
  --hubler-card-border: #1f242e;
  --hubler-red-primary: #c81e1e;
  --hubler-red-dark: #8b1818;
  --hubler-text-primary: #ffffff;
  --hubler-text-secondary: #94a3b8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #0b0c0e !important;
  color: #e2e8f0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.01em;
  color: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Custom Layout Utilities */
.hubler-container, .container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .hubler-container, .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .hubler-container, .container { padding-left: 2rem; padding-right: 2rem; } }

/* Modals */
.hubler-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.hubler-modal-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.hubler-modal-content {
  background: #101319;
  border: 1px solid #273042;
  border-radius: 0.75rem;
  max-width: 56rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
}

/* STANDALONE INDUSTRIAL DISPLAY & GRID UTILITIES (Guarantees visible layout without external CDN) */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sm\:flex { display: flex !important; }
  .sm\:block { display: block !important; }
  .sm\:hidden { display: none !important; }
}

@media (min-width: 768px) {
  .md\:block { display: block !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-5 { grid-column: span 5 / span 5 !important; }
  .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }

/* Backgrounds & Text */
.bg-\[\#0b0c0e\] { background-color: #0b0c0e !important; }
.bg-\[\#07080a\] { background-color: #07080a !important; }
.bg-\[\#0c0d10\] { background-color: #0c0d10 !important; }
.bg-\[\#0e1014\], .bg-\[\#0e1015\] { background-color: #0e1014 !important; }
.bg-\[\#12151c\] { background-color: #12151c !important; }
.bg-\[\#161a22\] { background-color: #161a22 !important; }
.bg-\[\#101319\] { background-color: #101319 !important; }
.bg-\[\#141720\] { background-color: #141720 !important; }
.bg-\[\#8b1818\] { background-color: #8b1818 !important; }
.bg-\[\#c81e1e\] { background-color: #c81e1e !important; }

.text-white { color: #ffffff !important; }
.text-gray-200 { color: #e2e8f0 !important; }
.text-gray-300 { color: #cbd5e1 !important; }
.text-gray-400 { color: #94a3b8 !important; }
.text-gray-500 { color: #64748b !important; }
.text-red-400 { color: #f87171 !important; }
.text-red-500 { color: #ef4444 !important; }
.text-\[\#c81e1e\] { color: #c81e1e !important; }
.text-emerald-400 { color: #34d399 !important; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-\[\#1f242e\] { border-color: #1f242e !important; }
.border-\[\#273042\] { border-color: #273042 !important; }
.border-\[\#2b3342\] { border-color: #2b3342 !important; }
.border-\[\#1b1f28\] { border-color: #1b1f28 !important; }
.border-\[\#1a1e27\] { border-color: #1a1e27 !important; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-lg { max-width: 32rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.cursor-pointer { cursor: pointer; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); }

/* Machinery Filters */
.hubler-filter-btn {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid #232936;
  background: #151820;
  color: #94a3b8;
}
.hubler-filter-btn:hover {
  background: #1f242e;
  color: #ffffff;
}
.hubler-filter-btn.active {
  background: #8b1818 !important;
  color: #ffffff !important;
  border-color: #c81e1e !important;
  box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

/* Custom Logo styling from WordPress Customizer */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.custom-logo {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================================================================
   ELEMENTOR FULL INTEGRATION & LAYOUT RESETS (100% COMPATIBILITY)
   ========================================================================= */
.elementor-page .site-main,
.elementor-page #primary,
.elementor-content-container,
.elementor-full-width-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
  max-width: 80rem !important;
}

.elementor-widget-heading .elementor-heading-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  letter-spacing: -0.01em;
}

.elementor-fit-aspect-ratio,
.elementor-widget-video .elementor-video-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Prevent horizontal overflow scroll in Elementor full-width stretch sections */
body.elementor-page {
  overflow-x: hidden !important;
}

/* =========================================================================
   WOOCOMMERCE INDUSTRIAL DARK STYLING (HÜBLER DESIGN SYSTEM)
   ========================================================================= */

/* Single Product Main Container */
.woocommerce div.product,
.woocommerce-page div.product {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2.5rem !important;
  background: #12151c !important;
  border: 1px solid #1f242e !important;
  border-radius: 1rem !important;
  padding: 2.5rem !important;
  margin-bottom: 3.5rem !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7) !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* Gallery & Product Images (Left Column) */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
  flex: 1 1 45% !important;
  max-width: 48% !important;
  min-width: 300px !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  background: #161a22 !important;
  border: 1px solid #222938 !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  max-height: 440px !important;
  width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 0.5rem !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 1rem !important;
  right: 1rem !important;
  background: #0e1015 !important;
  border: 1px solid #2b3548 !important;
  color: #ffffff !important;
  border-radius: 0.5rem !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: calc(25% - 0.6rem) !important;
  float: none !important;
  background: #161a22 !important;
  border: 1px solid #222938 !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
  padding: 0.35rem !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
  border-color: #c81e1e !important;
  transform: translateY(-2px) !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  width: 100% !important;
  height: 70px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Product Summary / Info (Right Column) */
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  flex: 1 1 45% !important;
  max-width: 50% !important;
  min-width: 300px !important;
  float: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .product_title {
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  line-height: 1.15 !important;
  margin: 0 0 1rem 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.woocommerce div.product .price,
.woocommerce div.product p.price {
  color: #34d399 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.25rem !important;
  font-family: 'Barlow Condensed', sans-serif !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: #cbd5e1 !important;
  font-size: 0.925rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
  border-top: 1px solid #1f242e !important;
  border-bottom: 1px solid #1f242e !important;
  padding: 1.25rem 0 !important;
}

.woocommerce div.product .product_meta {
  color: #94a3b8 !important;
  font-size: 0.8125rem !important;
  border-top: 1px solid #1f242e !important;
  padding-top: 1rem !important;
  margin-top: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.woocommerce div.product .product_meta a {
  color: #ef4444 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.woocommerce div.product .product_meta a:hover {
  text-decoration: underline !important;
}

/* =========================================================================
   RELATED PRODUCTS & UPSELLS ("TAMBIÉN TE RECOMENDAMOS...")
   ========================================================================= */
.woocommerce section.related,
.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce-page section.related,
.woocommerce-page .related.products {
  width: 100% !important;
  clear: both !important;
  margin-top: 4rem !important;
  padding-top: 3rem !important;
  border-top: 1px solid #1f242e !important;
  box-sizing: border-box !important;
}

.woocommerce section.related > h2,
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2,
.woocommerce-page section.related > h2 {
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin: 0 0 2rem 0 !important;
  padding-left: 1rem !important;
  border-left: 4px solid #c81e1e !important;
  display: flex !important;
  align-items: center !important;
}

/* =========================================================================
   PRODUCTS GRID (ARCHIVE, CATEGORIES, RELATED PRODUCTS)
   ========================================================================= */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products,
.woocommerce ul.products[class*="columns-"] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
  margin: 1.5rem 0 3rem 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Clearfix killer: eliminate WooCommerce legacy pseudo-elements that break CSS grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

/* Individual Product Card in Grid */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #12151c !important;
  border: 1px solid #1f242e !important;
  border-radius: 0.75rem !important;
  padding: 1.25rem !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover {
  border-color: rgba(200, 30, 30, 0.8) !important;
  background: #161a24 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 30px -10px rgba(200, 30, 30, 0.35) !important;
}

.woocommerce ul.products li.product a {
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 0.75rem !important;
}

.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 190px !important;
  object-fit: contain !important;
  margin: 0 0 1rem 0 !important;
  padding: 0.75rem !important;
  background: #171b24 !important;
  border: 1px solid #222938 !important;
  border-radius: 0.5rem !important;
  display: block !important;
  transition: transform 0.4s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #ffffff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0.5rem 0 !important;
  line-height: 1.3 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  width: 100% !important;
  transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #ef4444 !important;
}

.woocommerce ul.products li.product .price {
  color: #34d399 !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-align: center !important;
  margin-bottom: 0.75rem !important;
}

/* Action Buttons in Grid */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: auto !important;
  background-color: #8b1818 !important;
  color: #ffffff !important;
  border-radius: 0.5rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1rem !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
  border: 1px solid #a31c1c !important;
  cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #c81e1e !important;
  border-color: #ef4444 !important;
  box-shadow: 0 6px 16px rgba(200,30,30,0.4) !important;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1100px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .woocommerce div.product {
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products,
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: 1fr !important;
  }
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  background: #12151c !important;
  border-bottom: 1px solid #1f242e !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #0e1117 !important;
  border: 1px solid #1f242e !important;
  border-bottom: none !important;
  border-radius: 0.375rem 0.375rem 0 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #12151c !important;
  border-color: #c81e1e !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: #12151c !important;
  border: 1px solid #1f242e !important;
  border-top: none !important;
  padding: 1.5rem !important;
  color: #cbd5e1 !important;
}
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  color: #64748b !important;
  font-size: 0.75rem !important;
}
.woocommerce-breadcrumb a:hover {
  color: #ef4444 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0b0c0e; }
::-webkit-scrollbar-thumb { background: #1f242e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8b1818; }

/* =========================================================================
   CONTACT FORM 7 (PLUGIN CONTACTO) - HUBLER INDUSTRIAL DARK STYLING
   ========================================================================= */
.wpcf7 {
  width: 100%;
}
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select,
.wpcf7-textarea {
  width: 100% !important;
  background-color: #0d0709 !important;
  border: 1px solid #3b171f !important;
  border-radius: 0.375rem !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.8125rem !important;
  color: #f1f5f9 !important;
  font-family: inherit !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box !important;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  outline: none !important;
  border-color: #c81e1e !important;
  box-shadow: 0 0 0 2px rgba(200, 30, 30, 0.25) !important;
}
.wpcf7 textarea,
.wpcf7-textarea {
  min-height: 90px;
  resize: vertical;
}
.wpcf7 select,
.wpcf7-select {
  background-color: #0d0709 !important;
  color: #f1f5f9 !important;
  cursor: pointer;
}
.wpcf7 select option {
  background-color: #101319;
  color: #ffffff;
}
.wpcf7 input[type="submit"],
.wpcf7-submit {
  width: 100% !important;
  background: #8b1818 !important;
  border: 1px solid #a81d1d !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.8125rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.375rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: #a81d1d !important;
  box-shadow: 0 4px 14px rgba(168, 29, 29, 0.4) !important;
}
.wpcf7-not-valid-tip {
  color: #f87171 !important;
  font-size: 0.7rem !important;
  margin-top: 0.25rem !important;
  display: block;
}
.wpcf7-response-output {
  margin: 1rem 0 0 0 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
  background: #181114 !important;
  border: 1px solid #3d1921 !important;
  color: #e2e8f0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid #10b981 !important;
  background: #064e3b !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.875rem !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.6) !important;
  text-align: center !important;
  display: block !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #dc2626 !important;
  background: #450a0a !important;
  color: #fee2e2 !important;
}
.wpcf7-spinner {
  background-color: #c81e1e !important;
  margin: 0.5rem auto 0 auto !important;
  display: block;
}
