:root {
  --br-primary: #136436;
  --br-secondary: #eb5a00;
  --br-dark: #1a1a1a;
  --br-light: #f7f7f7;
}

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

.br-label {
  color: var(--br-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.br-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--br-secondary);
}

.br-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
}
.br-btn-primary {
  background: var(--br-secondary);
  color: #fff;
}
.br-btn-primary:hover {
  background: var(--br-primary);
  color: #fff;
}

/* ===================== FIX: neutralizar ancestros del tema que rompen el full-bleed ===================== */
/* Se identificó en devtools que el banner cuelga de: #main > #content.page-home > .br-hero-slider
   Si esos contenedores tienen transform/filter/perspective/contain, ni siquiera position:fixed escapa.
   Los neutralizamos puntualmente solo en la home, sin afectar el resto del sitio. */
body.page-home #main,
body.page-home #content.page-home,
body.page-home #content {
  overflow: visible !important;
  max-width: none !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  contain: none !important;
  -webkit-transform: none !important;
}

/* ===================== BLOQUE 1 - BANNER ===================== */
/* El layout crítico (ancho completo, alto, posición) del banner vive en un <style>
   inline dentro de bloque1.tpl para garantizar que siempre se aplique sin depender
   de caché. Aquí solo quedan estilos que NO se redefinen ahí. */

.br-slide {
  display: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.br-slide.active {
  display: block;
  opacity: 1;
}

.br-slide-content {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.br-slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
}
.br-slide-content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px;
  opacity: .95;
}

.br-hero-product-link {
  display: block;
}

.br-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.br-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s ease;
}
.br-dot.active {
  background: var(--br-secondary);
}

.br-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 5;
  transition: background .2s ease;
}
.br-slider-arrow:hover {
  background: var(--br-secondary);
}
.br-arrow-prev { left: 20px; }
.br-arrow-next { right: 20px; }

/* ===================== BLOQUE 2 - ABOUT ===================== */
.br-about-section {
  padding: 80px 0;
  background: #fff;
}
.br-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.br-about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.br-about-img {
  overflow: hidden;
  border-radius: 6px;
}
.br-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/1;
  transition: transform .3s ease;
}
.br-about-img:hover img {
  transform: scale(1.05);
}
.br-about-img-1 { margin-top: 0; }
.br-about-img-2 { margin-top: 30px; }

.br-about-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--br-dark);
  margin: 0 0 20px;
}
.br-about-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.br-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}
.br-stat {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--br-secondary);
  padding-left: 16px;
}
.br-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--br-primary);
  line-height: 1;
}
.br-stat-lbl {
  font-size: 13px;
  text-transform: uppercase;
  color: #777;
  margin-top: 6px;
}

/* ===================== BLOQUE 3 - MENU ===================== */
.br-menu-section {
  position: relative;
  padding: 80px 0;
  background: var(--br-light);
  box-shadow: 0 0 0 100vmax var(--br-light);
  clip-path: inset(0 -100vmax);
}
.br-menu-heading {
  text-align: center;
  margin-bottom: 40px;
}
.br-menu-heading h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--br-dark);
  margin: 0;
}

.br-menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.br-menu-tab {
  background: #fff;
  border: 2px solid transparent;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--br-dark);
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.br-menu-tab:hover {
  border-color: var(--br-secondary);
}
.br-menu-tab.active {
  background: var(--br-primary);
  color: #fff;
  border-color: var(--br-primary);
}

.br-menu-products {
  min-height: 200px;
  position: relative;
}
.br-menu-products.br-loading {
  opacity: .4;
  pointer-events: none;
}

.br-no-products {
  text-align: center;
  color: #888;
  padding: 40px 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .br-about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .br-stats { flex-direction: column; gap: 16px; }
}

