/* =====================================================================
   BERTONATI THEME — Clean Stylesheet
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) Fonts
--------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;600;700&display=swap');

.prompt-light,
.prompt-regular,
.prompt-semibold,
.prompt-bold {
  font-family: "Prompt", sans-serif;
  font-style: normal;
}
.prompt-light { font-weight: 300; }
.prompt-regular { font-weight: 400; }
.prompt-semibold { font-weight: 600; }
.prompt-bold { font-weight: 700; }

/* ---------------------------------------------------------------------
   2) Base / Global
--------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--wp--preset--font-family--prompt);
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wp--preset--font-family--prompt);
  font-weight: 700;
}

strong {
  font-family: var(--wp--preset--font-family--prompt, "Prompt", sans-serif);
  font-weight: 700;
}

/* Gutenberg: padding base a groups */
:root :where(.wp-block-group) {
  padding: 1rem;
}

/* Quitar outlines agresivos en focus (ojo accesibilidad) */
:where(.wp-site-blocks :focus) {
  outline: 0 !important;
  outline-style: inherit !important;
}

/* ---------------------------------------------------------------------
   3) WP Core Blocks - Search
--------------------------------------------------------------------- */
:root :where(.wp-block-search .wp-block-search__input) {
  border-radius: 50px;
  padding-inline: 1rem;
  font-weight: 500;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0NDQyIgZD0iTTcuODcgMGE3LjkgNy45IDAgMCAwIDAgMTUuOCA3LjggNy44IDAgMCAwIDQuOTktMS44bDMuNiAzLjYyYy4zLjMuNzguMyAxLjA4IDBzLjMtLjc4IDAtMS4wOGwtMy42LTMuNjJBNy45IDcuOSAwIDAgMCA3Ljg3IDBtMCAxLjUzQTYuMzUgNi4zNSAwIDAgMSAxNC4yIDcuOWE2LjM1IDYuMzUgMCAxIDEtMTIuNjkgMCA2LjM1IDYuMzUgMCAwIDEgNi4zNS02LjM3Ii8+PC9zdmc+");
  background-position: right 1rem center;
  background-size: 17px;
  background-repeat: no-repeat;
}

:root :where(.wp-block-search .wp-block-search__input)::placeholder {
  color: #ccc;
}

:root :where(.wp-block-search .wp-block-search__input):hover:not(:placeholder-shown),
:root :where(.wp-block-search .wp-block-search__input):focus:not(:placeholder-shown) {
  background: none;
}

.wp-block-search__button.wp-element-button:hover {
  background-color: #888;
  color: #fff;
}
a:where(:not(.wp-element-button)){
  font-size: inherit;
  font-weight: inherit;		
}
/* ---------------------------------------------------------------------
   4) Social Links
--------------------------------------------------------------------- */
.bt-social-icons .wp-social-link,
.wp-block-social-links .wp-block-social-link.wp-social-link {
  background-color: var(--wp--preset--color--primary);
  border-radius: 50%;
}

.wp-block-social-links .wp-social-link a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------------------------------------
   5) Buttons
--------------------------------------------------------------------- */
.wp-block-button.is-style-fill {
  border: 0 !important;
}

.wp-block-button__link.wp-element-button,
.bt-product-card__buttons .wp-block-button__link {
  border-radius: 8px;
  padding: 1rem 1.75rem !important;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.3s ease-in-out;
}

/* Hover “botón blanco” */
.bt-product-card__buttons .wp-block-button__link.has-primary-color.has-white-background-color.has-text-color.has-background.has-link-color.wp-element-button:hover {
  color: #c4c4c4 !important;
}

/* ---------------------------------------------------------------------
   6) Template/Spacing Fixes
--------------------------------------------------------------------- */
.wp-block-template-part[name="hero-producto"] .wp-block-cover,
.wp-block-template-part[name="hero-page"] .wp-block-cover {
  margin-top: 0 !important;
}

.single.single-product.wp-child-theme-bertonati-theme .wp-block-template-part,
.wp-singular.page-template-default.page header + .wp-block-template-part,
.tax-product_category .wp-site-blocks .wp-block-template-part {
  margin-block-start: 0;
}

.wp-block-group.alignfull.is-layout-flow.wp-block-group-is-layout-flow {
  margin-inline: 0;
  margin-block-start: 0;
}

.wp-block-image > a,
.wp-block-image > figure > a {
  display: block;
  height: 100%;
}

/* ---------------------------------------------------------------------
   7) Header / Navigation
--------------------------------------------------------------------- */
header { position: relative; }

.bt-top-page {
  margin: 0;
  background-color: #000;
}

.bt-header-nav-row {
  position: relative;
  z-index: 50;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* sticky/fixed state */
.bt-header-nav-row.is-fixed {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  justify-content: space-between;
  align-items: center;
}

.admin-bar .bt-header-nav-row.is-fixed { top: 32px; }

.bt-header-nav-row .wp-block-navigation__container:only-child,
.bt-header-nav-row .wp-block-page-list:only-child,
.bt-header-nav-row .is-layout-flex {
  gap: 3.5rem;
}

.bt-header-nav-row.is-fixed .is-content-justification-center {
  justify-content: space-between !important;
}

.current-menu-item.wp-block-navigation-link a span {
  color: var(--wp--preset--color--primary);
  font-weight: 500;
  font-family: var(--wp--preset--font-family--prompt, "Prompt", sans-serif);
}

.wp-block-navigation-item.wp-block-navigation-link .wp-block-navigation-item__content {
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__label:hover {
  font-weight: 600;
  color: var(--wp--preset--color--primary);
}

/* Submenus */
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true] ~ .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container {
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  top: 50px;
  min-width: 220px;
  overflow: hidden;
}

/* Link “no-link” con caret */
.no-link.link-mega-menu .wp-block-navigation-item__content {
  outline-offset: 4px;
  padding-right: .85em;
  position: relative;
}

.no-link.link-mega-menu .wp-block-navigation-item__content::after {
  content: "";
  width: 12px;
  height: 14px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEuNSA0IDYgOGw0LjUtNCIvPjwvc3ZnPg==");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.no-link.link-mega-menu.active .wp-block-navigation-item__content::after {
  transform: translateY(-50%) rotate(-180deg);
}

/* Header centering helper */
.be-center-header {
  align-self: center;
  margin-inline: auto !important;
  max-width: 1720px;
  justify-content: center;
}

.is-fixed .be-center-header { justify-content: space-between; }

.sub-logo { display: none; }
.is-fixed .sub-logo { display: flex; }
.sub-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ---------------------------------------------------------------------
   8) Hero Slider (Swiper)
--------------------------------------------------------------------- */
.bt-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bt-hero-slider__swiper {
  overflow: visible;
  padding-inline: clamp(8px, 3vw, 60px);
}

.bt-hero-slider__wrapper { align-items: stretch; }
.bt-hero-slider__slide { height: auto; }

.bt-hero-slider__slide .bt-hero-slider__cover {
  height: 100%;
  min-height: clamp(360px, 60vh, 560px);
  color: #fff;
}

.bt-hero-slider__cover .wp-block-cover__inner-container {
  gap: 1rem;
  max-width: 520px;
}

.bt-hero-slider__eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}

.bt-hero-slider__buttons .wp-block-button__link {
  transition: all 0.2s ease-in-out;
}

.bt-hero-slider__buttons .wp-block-button__link.has-white-color.has-primary-background-color.has-text-color.has-background.has-link-color.wp-element-button:hover {
  background-color: #fff !important;
  color: var(--wp--preset--color--primary) !important;
  border-color: #fff !important;
  cursor: pointer;
  box-shadow: none !important;
}

.bt-hero-slider__buttons .wp-block-button__link.has-primary-color.has-white-background-color.has-text-color.has-background.has-link-color.wp-element-button:hover {
  color: #c4c4c4 !important;
  cursor: pointer;
}

/* Swiper nav */
.bt-hero-slider__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transform: translateY(-50%);
  cursor: pointer;
}

.bt-hero-slider__nav::after {
  font-size: 18px;
  color: var(--wp--preset--color--primary);
}

.bt-hero-slider__nav--prev { left: clamp(0px, 2vw, 28px); }
.bt-hero-slider__nav--next { right: clamp(0px, 2vw, 28px); }

/* Fallback: Swiper defaults */
.swiper-button-next,
.swiper-button-prev {
  width: 54px !important;
  height: 54px !important;
  background-color: rgba(0,0,0,0.5);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  color: #fff;
}

/* Pagination */
.bt-hero-slider__pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  bottom: 20px !important;
}

.bt-hero-slider__pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  margin-inline: 0 !important;
}

.bt-hero-slider__pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/* ---------------------------------------------------------------------
   9) Product Specs
--------------------------------------------------------------------- */
.bt-product-specs-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-block: 2rem;
  text-align: center;
}

.bt-product-specs-row .wp-block-group { min-width: 180px; }

.bt-product-specs-row .spec-item { text-align: center; }

.bt-product-specs-row .spec-item .value {
  font-family: var(--wp--preset--font-family--prompt);
  font-weight: 700;
  font-size: 2.5rem !important;
  color: var(--wp--preset--color--primary);
}

.bt-product-specs-row .spec-item .label {
  font-family: var(--wp--preset--font-family--prompt);
  font-size: var(--wp--preset--font-size--base);
  color: var(--wp--preset--color--text);
}

.bt-product-specifications p strong { white-space: nowrap; }

/* ---------------------------------------------------------------------
   10) Product Cards + Category Grid
--------------------------------------------------------------------- */
.bt-product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 300px;
}

.bt-product-card__image img,
.bt-product-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.bt-product-card__body {
  background: #f4f4f6;
  height: 100%;
}

.bt-product-card__title {
  margin: 0 0 1rem;
  color: var(--wp--preset--color--primary);
  position: relative;
  z-index: 2;
}

.bt-product-card__title a { text-decoration: none; }

.bt-product-card__lists ul {
  margin: 0;
  padding-left: 1.2rem;
}
.product.type-product .bt-product-card{
  padding: 2rem;
}
.product.type-product .bt-product-card .bt-product-card__title{
  align-self: flex-end;
  margin-left: auto !important;
  margin-right: 0 !important;
}
.bt-product-card__lists li { margin-bottom: 0.35rem; }

.bt-product-card .wp-block-image.aligncenter { z-index: 1; }

.bt-product-card-grid.is-layout-grid,
.wp-block-group.is-layout-grid {
  align-items: stretch;
}

/* Taxonomy/Product listing */
.bt-category-hero { padding: 3rem 0 1.5rem; }

.bt-category-kicker {
  margin: 0;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.bt-category-title {
  margin: .25rem 0 .75rem;
  font-weight: 800;
}

.bt-category-description {
  max-width: 70ch;
  opacity: .85;
}

/* Grid (definitivo) */
.bt-product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .bt-product-grid { grid-template-columns: 1fr 1fr; }
}

.type-product .bt-product-card__title {
  font-weight: 800;
  text-align: right;
  margin: 0;
}

.bt-product-card__actions {
  position: relative;
  z-index: 1;
  margin-left: auto !important;
  margin-right: 0 !important;
}

.bt-product-card__button .wp-block-button__link {
  background: #132d7d;
  border-radius: 10px;
  padding: .75rem 1.2rem;
}

.bt-product-card__button .wp-block-button__link:hover {
  background: #fff;
  color: #132d7d;
}

/* Featured image full-card overlay */
.wp-block-group.bt-product-card .bt-product-card__media.wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------------------
   11) Product Gallery (Swiper) — Consolidated
--------------------------------------------------------------------- */
.bt-product-gallery {
  --bt-gallery-radius: 12px;
}

.bt-product-gallery__main img {
  width: 100%;
  display: block;
  border-radius: var(--bt-gallery-radius);
}

/* Main swiper fixed height */
.bt-product-gallery__main-swiper {
  height: 790px !important;
  position: relative;
}

.bt-product-gallery__main-swiper .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-product-gallery__main-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--bt-gallery-radius);
}

/* Thumbs */
.bt-product-gallery__thumbs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.bt-product-gallery__thumb,
.bt-product-gallery__thumb-slide {
  cursor: pointer;
}

.bt-product-gallery__thumb {
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bt-product-gallery__thumb img {
  display: block;
  width: 140px;
  height: auto;
  border-radius: var(--bt-gallery-radius);
}

.bt-product-gallery__thumb.is-active,
.bt-product-gallery__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px var(--wp--preset--color--primary, #002c6f);
}

.bt-product-gallery__thumb-slide.swiper-slide-thumb-active img {
  outline: 2px solid var(--wp--preset--color--primary, #002c6f);
  outline-offset: 2px;
}

/* Swiper arrows for gallery thumbs */
.bt-product-gallery__nav {
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}
.bt-product-gallery__nav::after {
  font-size: 16px !important;
  color: #fff;
}

/* Swiper “reset” helpers */
.swiper-free-mode > .swiper-wrapper { padding: 0; }

.wp-block-group.swiper-wrapper,
.wp-block-group.swiper-slide {
  padding: 0;
}

.wp-block-group.swiper-slide.bt-product-gallery__thumb-slide {
  width: fit-content !important;
}

.bt-product-gallery__thumbs-swiper .swiper-wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

.bt-product-gallery__thumbs .swiper-slide figure {
  height: 233px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.bt-product-gallery__thumbs .swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.bt-product-gallery__thumb-slide {
  width: 160px;
  /* tamaño ajustable */
  height: 120px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
	margin-top:0;
}

.bt-product-gallery__thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-product-gallery__thumbs-swiper {
  margin-top: 1.5rem;
  overflow: hidden;
}




/* ---------------------------------------------------------------------
   12) Product Equipment (2 cols + images fill)
--------------------------------------------------------------------- */
.bt-product-equipment .wp-block-columns {
  align-items: stretch;
}

.bt-product-equipment__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bt-product-equipment__side .wp-block-image {
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 12px;
}

.bt-product-equipment__side .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bt-product-equipment__main .wp-block-image {
  overflow: hidden;
  border-radius: 12px;
}

.bt-product-equipment__main .wp-block-image,
.bt-product-equipment__main .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  min-height: 650px !important;
  border-radius: 12px;
}

/* ---------------------------------------------------------------------
   13) Service Banner / Grids
--------------------------------------------------------------------- */
.bt-service-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

.bt-service-banner .wp-block-group.bt-service-banner-col {
  height: 100%;
  padding: 0 !important;
}

.bt-service-banner .wp-block-cover,
.bt-service-banner-col {
  height: 100%;
}

.grid-nuestras-instalaciones { padding: 0; }

.grid-certificados .wp-block-image img {
  max-width: inherit;
  height: 140px;
  width: auto;
}

/* ---------------------------------------------------------------------
   14) Download Form (CF7)
--------------------------------------------------------------------- */
.bt-download-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bt-download-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bt-download-form input[type="email"] {
  flex: 1 1 220px;
  max-width: 100%;
}

.bt-download-form__button { flex: 0 0 auto; }

.bt-download-message {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}
.bt-download-message--ok { color: #1a7c3b; }
.bt-download-message--error { color: #b3261e; }

.be-download-form .wpcf7-submit {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  font-family: var(--wp--preset--font-family--prompt);
  transition: all 0.2s ease-in-out;
}

.be-download-form .wpcf7-submit:hover {
  background-color: #fff;
  color: var(--wp--preset--color--primary);
  cursor: pointer;
}

.be-download-form .wpcf7-form-control-wrap input {
  height: 50px;
  padding: 0 12px;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid #ccc;
  max-width: 220px;
}

/* ---------------------------------------------------------------------
   15) Contact Form (CF7 custom)
--------------------------------------------------------------------- */
.bt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bt-contact-form__row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bt-contact-form__row--full .bt-contact-form__field { flex: 1 1 100%; }

.bt-contact-form__field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.bt-contact-form__field label {
  font-weight: 500;
  font-family: var(--wp--preset--font-family--prompt, "Prompt", sans-serif);
  font-size: 1.25rem;
  color: var(--wp--preset--color--primary);
}

.last-letter { color: #ff000f; }

.bt-input,
.bt-select,
.bt-textarea,
.bt-contact-form input[type="text"],
.bt-contact-form input[type="email"],
.bt-contact-form input[type="tel"],
.bt-contact-form textarea,
.bt-contact-form select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.bt-contact-form__field .wpcf7-form-control.bt-input { height: 40px; }
.bt-contact-form__field .wpcf7-select.bt-select { height: 64px; }
.bt-contact-form__field .wpcf7-textarea.bt-textarea { height: 100px; }

.bt-contact-form__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.bt-contact-form__actions .wpcf7-submit { order: 1; }
.bt-contact-form__actions .bt-button-secondary { order: 2; }
.bt-contact-form__actions .wpcf7-spinner { order: 3; }

/* Buttons */
.bt-button-primary {
  background: #00296b;
  color: #fff;
  border-radius: 8px;
  padding: 0.85rem 2.5rem;
  border: none;
  font-size: 20px;
  font-weight: 300;
  font-family: var(--wp--preset--font-family--prompt, "Prompt", sans-serif);
}

.bt-button-secondary {
  background: #fff;
  color: #00296b;
  border-radius: 8px;
  padding: 0.85rem 2.5rem;
  border: 0;
  font-size: 20px;
  font-weight: 300;
  font-family: var(--wp--preset--font-family--prompt, "Prompt", sans-serif);
}

/* ---------------------------------------------------------------------
   16) Contact Section (Cotiza Form + Bootstrap-lite)
--------------------------------------------------------------------- */
.bt-contact-section {
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

/* Labels */
.bt-contact-section .form-label {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.bt-contact-section .form-label > span { color: #ff000f; }

/* Inputs */
.bt-contact-section .form-control,
.bt-contact-section .form-select {
  width: 100%;
  min-height: 67px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 0;
  background-color: #fff;
  box-sizing: border-box;
}

.bt-contact-section textarea.form-control {
  min-height: 160px;
  padding-top: 1rem;
  line-height: 1.4;
  resize: vertical;
  font-family: var(--wp--preset--font-family--prompt);
  font-weight: 300;
}

.bt-contact-section .form-control::placeholder,
.bt-contact-section textarea::placeholder {
  color: #9ca3af;
}

/* Focus refinado */
.bt-contact-section .form-control:focus,
.bt-contact-section .form-select:focus {
  outline: none;
  transform: translateY(-1px);
}

/* Buttons */
.bt-contact-section .bt-submit-clear,
.bt-contact-section .bt-submit-button {
  font-weight: 300;
  padding: 1rem 2.25rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  background-color: #132d7d;
  color: #fff;
  line-height: 1;
  font-family: var(--wp--preset--font-family--prompt);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bt-contact-section .bt-submit-clear {
  color: #132d7d;
  background-color: #fff;
  margin-left: 2rem;
}

.bt-contact-section .bt-submit-button:hover {
  background-color: #fff;
  color: #c4c4c4;
}
.bt-contact-section .bt-submit-clear:hover {
  background-color: #132d7d;
  color: #fff;
}
.bt-contact-section .chile-extra-padding,
.bt-contact-section .comment-extra-padding {
  padding-left: 0;
  padding-right: 0;
}
/* Botones */
.bt-contact-section .bt-submit-clear,
.bt-contact-section .bt-submit-button {
  font-weight: 300;
  padding: 1rem 2.25rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  text-transform: none;
  background-color: #132d7d;
  color: #fff;
  line-height: 1;
  font-family: var(--wp--preset--font-family--prompt);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.bt-contact-section .bt-submit-clear{
  color: #132d7d;
  background-color: #fff;  
  margin-left: 2rem;
}

.bt-contact-section .bt-submit-button:hover {
  background-color: #ffffff;
  color: #C4C4C4;
}
.bt-contact-section .bt-submit-clear:hover {
  background-color: #132d7d;
  color: #fff;
}


.bt-contact-section .bt-submit-button:active {
  transform: translateY(0);
  box-shadow: none;
}


/* Alert + Modal */
.bt-contact-section #formAlert { border-radius: 0.8rem; max-width: 640px; }

#statusModal .modal-content {
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  text-align: center;
  padding: 2rem;
}

#statusModal .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Bootstrap-lite subset */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.col-12 { width: 100%; }
.col-md-4, .col-md-6 { width: 100%; }

.gx-4 { column-gap: 1.5rem; }
.gy-4 { row-gap: 1.5rem; }

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1rem; }
.d-none { display: none !important; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.form-control,
.form-select {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

textarea.form-control {
  min-height: 160px;
  padding-top: 1rem;
  line-height: 1.4;
  resize: vertical;
}

.form-control::placeholder { color: #9ca3af; }

.is-invalid { border-color: #dc3545 !important; }
.is-valid { border-color: #198754 !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary,
.bt-submit-button {
  font-weight: 700;
  padding: 0.95rem 2.25rem;
  font-size: 0.95rem;
  border-radius: 0.8rem;
  background: #132d7d;
  border: 0;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary:disabled,
.bt-submit-button:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.alert { border-radius: 0.8rem; padding: 1rem; }
.alert-danger {
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #842029;
}

.collapse { display: none; }
.collapse.is-open { display: block; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15,23,42,0.55);
  z-index: 9999;
}
.modal.is-open { display: flex; }

.modal-dialog { width: min(560px, 100%); }

.modal-content {
  background: #fff;
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.modal.fade { opacity: 0; transition: opacity .18s ease; }
.modal.fade.is-open { opacity: 1; }

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 4px solid rgba(19,45,125,0.18);
  border-top-color: #132d7d;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.text-secondary { color: #475569; }
.text-success { color: #15803d; }
.text-muted { color: #64748b; }

/* Mejora layout cotiza form en desktop */
@media (min-width: 768px) {
  #cotizaForm > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    row-gap: 2.5rem;
  }

  #cotizaForm > .row > [class*="col-"] {
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #cotizaForm .comment-extra-padding,
  #cotizaForm #chileFields,
  #cotizaForm .text-center.mt-3.comment-extra-padding {
    grid-column: 1 / -1;
  }

  #chileFields .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 1.25rem;
    margin: 0;
  }
  #chileFields .row > * {
    padding: 0 !important;
    width: auto !important;
  }
}

.bt-contact-section .text-center { text-align: left !important; }

/* ---------------------------------------------------------------------
   17) Pagination
--------------------------------------------------------------------- */
.wp-block-query-pagination { padding-block: 40px; }

.wp-block-query-pagination-numbers {
  display: flex;
  gap: 10px;
  flex-direction: row;
}

.wp-block-query-pagination .page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: #f5f5f5;
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next {
  padding: 10px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------------
   18) Carousel v2 buttons
--------------------------------------------------------------------- */
.wp-block-cb-carousel-v2 .cb-button-next,
.wp-block-cb-carousel-v2.cb-rtl .cb-button-prev,
.wp-block-cb-carousel-v2 .cb-button-prev,
.wp-block-cb-carousel-v2.cb-rtl .cb-button-next {
  width: 56px;
  height: 56px;
  border-radius: 56px;
  display: flex;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
}

.wp-block-cb-carousel-v2 .cb-button-next,
.wp-block-cb-carousel-v2.cb-rtl .cb-button-prev {
  left: auto;
  right: calc(var(--wp--custom--carousel-block--navigation-size, 0px)*-1/44*27 - var(--wp--custom--carousel-block--navigation-sides-offset, 0px));
}

.wp-block-cb-carousel-v2 .cb-button-prev,
.wp-block-cb-carousel-v2.cb-rtl .cb-button-next {
  right: auto;
  left: calc(var(--wp--custom--carousel-block--navigation-size, 0px)*-1/44*27 - var(--wp--custom--carousel-block--navigation-sides-offset, 0px));
}

/* ---------------------------------------------------------------------
   19) Cards / News
--------------------------------------------------------------------- */
.be-article-news {
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.14);
  overflow: hidden;
  height: 100%;
}

/* ---------------------------------------------------------------------
   20) WhatsApp floating
--------------------------------------------------------------------- */
.bt-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.bt-whatsapp-float:hover { transform: translateY(-2px); }

.bt-whatsapp-icon {
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MiIgaGVpZ2h0PSI4MSIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzNCQTkzNSIgZD0iTTQwLjgyIDBDMTguMzQgMCAwIDE4LjA1IDAgNDAuMTZjMCA4LjY2IDIuNzYgMTcgOC4wNiAyMy44OWwtMy4yOSAxNC44IDE1LjQ4LTQuMDZhNDIgNDIgMCAwIDAgMjAuNTcgNS40MmMyMi40NyAwIDQwLjgxLTE4LjA0IDQwLjgxLTQwLjE2QzgxLjYzIDE3Ljk1IDYzLjMgMCA0MC44MiAwIi8+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTU4LjUyIDU3LjkgMS45MS0xLjg4YTMuODQgMy44NCAwIDAgMCAuMS01LjMzbC01LjE5LTUuMTFhMy43NiAzLjc2IDAgMCAwLTUuMyAwbC0yLjc2IDIuNzFjLS42NC43NC0xLjcuOTUtMi42NS42My04LjktMy4yMy0xMS45OC05LjctMTIuOTMtMTIuNjItLjMyLS44MyAwLTEuODguNjQtMi41bDIuODYtMi42MWEzLjYgMy42IDAgMCAwIDAtNS4yMmwtNC45OC00LjlhMy43NiAzLjc2IDAgMCAwLTUuMyAwbC0yLjM0IDIuM2E4IDggMCAwIDAtMi41NCA2LjU3Yy42MyA4LjI0IDUuMDkgMjYuMzkgMzEuMTcgMzAuMzUgMi42NS40MiA1LjQtLjUyIDcuMzEtMi40Ii8+PC9zdmc+");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------------------------------------------------------------------
   21) Helpers / Specials
--------------------------------------------------------------------- */
.page.page-id-332 .has-black-background-color {
  background-color: #132d7d !important;
  opacity: 1 !important;
}

.hero-page { background-color: #426ff5; }

.bt-term-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 0 1.5rem;
}

.bt-category-hero-bg {
  background-image: var(--bt-cat-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wp-block-cover.bt-category-hero-bg img { display: none; }

/* Category card overlay link */
.be-card-category { position: relative; }

.be-card-category:hover .has-black-background-color {
  background-color: #132d7d !important;
  transition: background-color .3s ease-in-out;
}

.be-card-category.wp-block-cover .wp-block-cover__inner-container,
.be-card-category.wp-block-cover-image .wp-block-cover__inner-container {
  position: initial;
}

.be-card-category p a {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 2;
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   22) Mega Menu (desktop base)
--------------------------------------------------------------------- */
/* Solo mostrar la grilla activa */
.bt-mega-menu-products .bt-products-grid { display: none; }
.bt-mega-menu-products .bt-products-grid.is-active { 
  display: grid;
  overflow-y: auto;
  max-height: 80vh;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.wp-block-group.bt-mega-mobilebar { display: none; }

/* ---------------------------------------------------------------------
   23) Responsive
--------------------------------------------------------------------- */

/* <= 1040 */
@media (max-width: 1210px) {
  .bt-header-nav-row .wp-block-navigation__container:only-child, .bt-header-nav-row .wp-block-page-list:only-child, .bt-header-nav-row .is-layout-flex {
    gap: 2rem;
  }
}
@media (max-width: 1040px) {
  .bt-header-nav-row .is-layout-flex,
  .bt-header-nav-row .wp-block-navigation__container:only-child,
  .bt-header-nav-row .wp-block-page-list:only-child {
    gap: 2rem;
  }
}

/* <= 1024 */
@media (max-width: 1024px) {
  /* Search toggle (mobile) */
  .bt-header-nav-row .wp-block-search { display: none; }

  .bt-header-nav-row .is-layout-flex,
  .bt-header-nav-row .wp-block-navigation__container:only-child,
  .bt-header-nav-row .wp-block-page-list:only-child {
    gap: 1.5rem;
  }

  .bt-header-nav-row {
    justify-content: space-between;
    align-items: center;
  }

  .bt-mobile-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .bt-header-nav-row.is-search-open .wp-block-search {
    display: block;
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 10000;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .bt-header-nav-row.is-search-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
  }

  .bt-header-nav-row.is-search-open .wp-block-search { z-index: 10001; }
  .bt-header-nav-row.is-search-open .wp-block-search__input { width: 100%; }
  .wp-block-search__inside-wrapper { width: 100% !important; }

  .wp-block-group.bt-mega-mobilebar { display: flex; }
}

/* >= 1025 */
@media (min-width: 1025px) {
  .bt-mobile-search-toggle { display: none; }
}

/* <= 768 */
@media (max-width: 768px) {
  .bt-hero-slider__cover .wp-block-cover__inner-container { max-width: 100%; }
  .bt-hero-slider__cover .wp-block-cover__inner-container > .wp-block-group{
    padding: 2rem!important;
  }
  .bt-hero-slider__buttons { flex-wrap: wrap; }

  .bt-product-gallery__thumb img { width: 110px; }

  .bt-product-specs-row {
    justify-content: center;
    row-gap: 1.5rem;
    flex-wrap: wrap;
  }

  .bt-product-gallery__main-swiper { height: 380px; }
  .bt-contact-section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .bt-product-specifications{
    padding: 1.5rem!important;
    margin-top: 0!important;
  }
  .bt-product-specifications h2{
    margin-bottom: 1.5rem;
  }
  .bt-product-specifications p strong{
    white-space: initial!important;
  }
  .bt-product-specifications .wp-block-group.is-nowrap.wp-block-group-is-layout-flex{
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: left;
    align-items: flex-start;
  }
  .bt-product-specifications > .wp-block-columns{
    flex-direction: column-reverse;
    margin-top: 0!important;
    gap: 1rem!important;
  }
  .bt-product-specifications__buttons{
    flex-direction: row!important;
    justify-content: space-between!important;
  } 
.swiper-free-mode>.swiper-wrapper {
  padding: 0;
}

.swiper-slide.bt-product-gallery__thumb-slide {
  margin: 0;
  padding: 0;
}

.swiper-slide.bt-product-gallery__thumb-slide figure {
  margin: 0;
  padding: 0;
}

.wp-block-group.swiper-wrapper {
  padding: 0;
}

.wp-block-group.swiper-slide.bt-product-gallery__thumb-slide {
  width: fit-content !important;
}   
}
@media (max-width: 730px) {
  .bt-header-nav-row .wp-block-navigation__container:only-child, .bt-header-nav-row .wp-block-page-list:only-child, .bt-header-nav-row .is-layout-flex {
    gap: .75rem;
  }
  .wp-container-content-759e20a8{
    flex-basis: content;
  }
  .sub-logo img{
    width: auto;
    height: 30px;
    min-height: inherit;
  }
}
/* <= 660 */
@media (max-width: 660px) {
  .bt-header-nav-row .is-layout-flex,
  .bt-header-nav-row .wp-block-navigation__container:only-child,
  .bt-header-nav-row .wp-block-page-list:only-child {
    gap: .5rem;
  }
}

/* <= 600 */
@media (max-width: 600px) {
  .no-link.link-mega-menu .wp-block-navigation-item__content::after { display: none; }
}

/* <= 599 (tu breakpoint “mega menu mobile”) */
@media (max-width: 599px) {
  .col-12.text-center.mt-3.comment-extra-padding{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }  
  .wp-block-cb-slide-v2.cb-slide.swiper-slide .wp-block-image{
    margin-bottom: 0!important;
  }
  .wp-block-cb-slide-v2.cb-slide.swiper-slide .wp-block-image img{
    max-width: 70px;
  }  
  .be-center-header { justify-content: space-between; }

  .wp-block-social-links .wp-social-link a,
  .wp-block-site-logo img {
    zoom: .6;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .sub-logo{
    flex-basis: inherit;
  }
  header .wp-block-image img {
    width: auto;
    min-height: 30px;
  }

  .bt-header-nav-row {
    justify-content: space-between;
    padding-block: 4px !important;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
  }
  /* Orden header: nav / logo / search */
  .bt-header-nav-row .wp-block-navigation { order: 1; }
  .bt-header-nav-row .wp-block-image { order: 2; margin-inline: auto; }
  .bt-header-nav-row .wp-block-search,
  .bt-header-nav-row .bt-mobile-search-toggle { order: 3; }

  /* Mega Menu: overlay */
  .bt-mega-menu-container {
    position: fixed;
    inset: 0;
    top: 0;
    background: #fff;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .3s ease, opacity .3s ease;
    max-width: none;
    margin: 0;
    border-radius: 0;
  }

  .bt-mega-menu-container.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .bt-mega-menu-content {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
  }

  .bt-mega-menu-categories {
    position: absolute;
    inset: 0;
    padding-top: 60px !important;
    background: #fff;
    transform: translateX(0);
    transition: transform .3s ease;
  }

  .bt-mega-menu-products {
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    max-width: none;
    margin: 0;
    border-radius: 0;
    padding-top: 60px !important;
  }

  .bt-mega-menu-container.is-products .bt-mega-menu-products { transform: translateX(0); }
  .bt-mega-menu-container.is-products .bt-mega-menu-categories { transform: translateX(-100%); }

  .bt-mega-mobilebar {
    position: fixed;
    top: 12px;
    z-index: 2;
    background-color: #fff;
  }
  .bt-mega-mobilebar  .wp-block-button__link{
    background-color: transparent !important;
    color: var(--wp--preset--color--primary);
  }
  .bt-mega-mobilebar .wp-block-button.bt-back-categories .wp-block-button__link{
    padding-left: 10px !important;
    margin-left: 0 !important;
  }

  .bt-mega-mobilebar--categories {
    white-space: nowrap;
    left: 22px;
    /* display: none !important; */
  }

  .bt-mega-mobilebar--products {
    white-space: nowrap;
    right: 30px;
  }

  .bt-mega-menu-container.is-open.is-categories.is-products .bt-mega-mobilebar--categories {
    display: block !important;
  }

  .bt-menu-close {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSI+PHBhdGggZD0ibTEzLjA2IDEyIDYuNDctNi40Ny0xLjA2LTEuMDZMMTIgMTAuOTQgNS41MyA0LjQ3IDQuNDcgNS41MyAxMC45NCAxMmwtNi40NyA2LjQ3IDEuMDYgMS4wNkwxMiAxMy4wNmw2LjQ3IDYuNDcgMS4wNi0xLjA2TDEzLjA2IDEyWiI+PC9wYXRoPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    padding-block: 4px;
  }

  /* Equipment: apilar y pasar side a 2 columnas */
  .bt-product-equipment .wp-block-columns {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
  }

  .bt-product-equipment__main,
  .bt-product-equipment__side {
    width: 100%;
  }

  .bt-product-equipment__side {
    flex-direction: row;
    gap: 16px;
  }

  .bt-product-equipment__side .wp-block-image { flex: 1 1 0; margin: 0; }

  .bt-product-equipment__side .wp-block-image img {
    height: 200px;
    object-position: right center;
    border-radius: 18px;
  }

  .bt-product-equipment__main .wp-block-image img {
    height: 280px;
    object-position: right top;
    border-radius: 18px;
  }

  .bt-product-equipment__main .wp-block-image,
  .bt-product-equipment__main .wp-block-image img {
    min-height: 200px !important;
  }

  /* Specs en grid 2 cols */
  .wp-block-group.bt-product-specs-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 !important;
    padding-bottom: 2rem !important;
  }

  /* Service layout */
  .grid-services.is-layout-grid {
    display: flex;
    flex-direction: column;
  }

  .bt-service-banner { gap: 0; }
  .bt-service-banner-col {
    width: 100%;
    flex: 1;
    max-width: 100%;
    margin-left: 0;
  }
  .bt-service-banner-col .wp-block-cover { max-width: 100%; margin-left: 0; }

  .bt-service-banner .wp-block-group {
    padding: 20px!important;
  }

  /* Footer tweaks */
  footer > .wp-block-group { padding: 1.5rem !important; }
  footer .wp-block-social-links { justify-content: center; }
  footer .wp-block-social-links .wp-social-link { margin-inline: 6px; }
  footer ul { padding-left: 0; list-style: none; }
  footer ul li { margin-bottom: 0.5rem; }

  footer .bt-footer-location {
    text-align: center;
    max-width: 320px;
  }

  footer .wp-block-group.is-content-justification-space-between.is-layout-flex.wp-block-group-is-layout-flex {
    justify-content: center;
    gap: 1rem;
  }

  /* Product page: gallery + specs */
  .bt-product-gallery__main-swiper { height: inherit !important; }
  .bt-product-gallery__main-swiper .swiper-slide {
    max-height: 230px;
    overflow: hidden;
    border-radius: 8px;
  }

  .bt-product-gallery__thumbs-swiper {
    margin-top: 0;
    padding-inline: 0;
  }

  .bt-product-gallery__main-swiper { border-radius: 8px; }

  .bt-product-equipment {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .bt-contact-section { padding: 2rem !important; }

  .wpcf7-form-control-wrap { display: flex; }

  .bt-contact-form__row { flex-direction: column; }

  .bt-contact-form__actions { justify-content: space-between; }
  .bt-contact-form__actions .wpcf7-spinner { display: none; }

  .bt-whatsapp-icon { width: 40px; height: 40px; }
  .be-partners, .be-partners-2{
    flex-wrap: wrap;
  }
  .be-partners.wp-block-group.is-layout-flex.wp-block-group-is-layout-flex,
  .be-partners-2.wp-block-group.is-layout-flex.wp-block-group-is-layout-flex{
    gap: 1rem;
  }  
  .be-partners .wp-block-image img{
    max-width: fit-content;
    height: 45px;
  }
  .be-partners-2 .wp-block-image img{
    max-width: 100px;
    height: fit-content;
  }
  .bt-product-download-banner .wp-block-columns{
    gap: 1rem;
    flex-direction: column;
  }
  /*.bt-product-download-banner .wp-block-columns .wp-block-column:first-child{
    display: none;
  }*/
  .bt-product-download-banner .wp-block-columns .wp-block-column:nth-child(2){
    padding-left: 1rem;
    align-self: flex-start;
    padding-top: 1.5rem;
    padding-inline: 1.5rem;
    width: initial;
    margin-inline: auto;
  }
  .bt-product-download-banner .wp-block-columns .wp-block-column p{
    letter-spacing: inherit!important;
  }
  .bt-product-download-banner .wp-block-columns .wp-block-column h2{
    letter-spacing: inherit!important;
  } 
  .bt-product-download-banner .wp-block-columns .wp-block-column:last-child{
    flex-basis: initial!important;
    padding-bottom: 1.5rem;
    padding-inline: 1.5rem;    
    width: initial;
  }
  .bt-product-download-banner .wp-block-columns.alignwide .wp-block-column figure.wp-block-image img{
    margin-inline: auto;
    max-width: 300px;
    display: block;
  }

  .types-products{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .types-products .bt-product-card .bt-product-card__body{
    padding-left: 1.5rem!important;
    padding-right: 1.5rem!important;
    padding-bottom: 1.5rem!important;
  }
  .bt-product-card__title{
    margin-bottom: 0;
  }  
}

/* <= 480 */
@media (max-width: 480px) {
  .bt-product-equipment__main .wp-block-image,
  .bt-product-equipment__main .wp-block-image img {
    min-height: inherit !important;
  }
}
