﻿/* ============================================================
   BRILAZ SHOP — CSS v4 (Renovatio-inspired clean aesthetic)
   Palette: White + Blue #1B4FC4 + Dark #1a1a1a + Light Blue #EEF4FF
   Fonts: Playfair Display (serif) + Inter (sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- VARIABLES ---- */
:root {
  --br-coral:       #1B4FC4;
  --br-coral-dark:  #1540A8;
  --br-coral-light: #BFCFEC;
  --br-dark:        #1a1a1a;
  --br-mid:         #555;
  --br-muted:       #888;
  --br-border:      #D5E0F5;
  --br-cream:       #EEF4FF;
  --br-cream2:      #F5F7FF;
  --br-white:       #ffffff;
  --br-font-serif:  'Playfair Display', Georgia, serif;
  --br-font-sans:   'Inter', system-ui, sans-serif;
  --br-r-sm:        6px;
  --br-r-md:        12px;
  --br-r-lg:        20px;
  --br-r-pill:      999px;
  --br-shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --br-shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --br-shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
  --br-transition:  all 0.25s ease;
  --br-container:   1200px;
  --br-header-h:    72px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--br-font-sans);
  color: var(--br-dark);
  background: var(--br-white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--br-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--br-border);
  height: var(--br-header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--br-header-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-real { height: 44px; width: auto; object-fit: contain; }
.logo-brand {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-family: var(--br-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--br-dark);
  line-height: 1;
}
.logo-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--br-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--br-mid);
  padding: 8px 12px;
  border-radius: var(--br-r-pill);
  transition: var(--br-transition);
}
.site-nav a:hover, .site-nav a.active {
  color: var(--br-dark);
  background: var(--br-cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Search icon */
.search-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--br-dark);
  transition: var(--br-transition);
  background: transparent;
}
.search-btn:hover { background: var(--br-cream); }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--br-r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--br-dark);
  transition: var(--br-transition);
  border: 1.5px solid var(--br-border);
}
.cart-btn:hover {
  border-color: var(--br-coral);
  color: var(--br-coral);
}
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--br-coral);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Login link */
.btn-login {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--br-mid);
  padding: 8px 14px;
  border-radius: var(--br-r-pill);
  transition: var(--br-transition);
}
.btn-login:hover { color: var(--br-dark); background: var(--br-cream); }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--br-dark);
  background: transparent;
  transition: var(--br-transition);
}
.mobile-menu-btn:hover { background: var(--br-cream); }

/* Body offset for fixed header */
body > main, body > .marquee-strip + header + main { padding-top: var(--br-header-h); }
body { padding-top: var(--br-header-h); }

/* ================================================================
   MARQUEE STRIP
   ================================================================ */
.marquee-strip {
  position: fixed;
  top: var(--br-header-h);
  left: 0; right: 0;
  z-index: 999;
  background: var(--br-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-item { padding: 0 28px; }
.marquee-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--br-coral);
  margin-left: 4px;
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Push content below both header + marquee strip */
body { padding-top: calc(var(--br-header-h) + 32px); }

/* ================================================================
   FLASH / ALERTS
   ================================================================ */
.flash-container {
  position: fixed;
  top: calc(var(--br-header-h) + 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 320px;
  pointer-events: none;
}
.flash-msg {
  padding: 14px 22px;
  border-radius: var(--br-r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  pointer-events: auto;
  animation: flashIn 0.3s ease;
  box-shadow: var(--br-shadow-md);
}
@keyframes flashIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.alert-success { background: #1a7a4a; color: #fff; }
.alert-error   { background: var(--br-coral); color: #fff; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--br-r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--br-transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--br-coral);
  color: #fff;
  border-color: var(--br-coral);
}
.btn-primary:hover {
  background: var(--br-coral-dark);
  border-color: var(--br-coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,79,196,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--br-dark);
  border-color: var(--br-dark);
}
.btn-outline:hover {
  background: var(--br-dark);
  color: #fff;
}
.btn-outline-coral {
  background: transparent;
  color: var(--br-coral);
  border-color: var(--br-coral);
}
.btn-outline-coral:hover {
  background: var(--br-coral);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--br-dark);
}
.btn-white {
  background: #fff;
  color: var(--br-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--br-cream);
}
.btn-dark {
  background: var(--br-dark);
  color: #fff;
  border-color: var(--br-dark);
}
.btn-dark:hover { background: #333; border-color: #333; }

.btn-sm  { padding: 9px 20px; font-size: 0.72rem; }
.btn-lg  { padding: 16px 36px; font-size: 0.84rem; }
.btn-xl  { padding: 17px 40px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ================================================================
   HERO SECTION (Renovatio style: full-width, light bg, carousel)
   ================================================================ */
.hero {
  background: linear-gradient(160deg, #fff 0%, var(--br-cream) 50%, #fce8e3 100%);
  min-height: calc(100vh - var(--br-header-h) - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* decorative bg circles */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,79,196,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: var(--br-r-pill);
  border: 1.5px solid var(--br-coral);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--br-coral);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--br-dark);
  margin-bottom: 12px;
}

.hero-title-accent {
  display: block;
  color: var(--br-coral);
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  color: var(--br-mid);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ---- HERO CAROUSEL ---- */
.hero-carousel-wrap {
  width: 100%;
  max-width: 440px;
  position: relative;
  margin: 0 auto;
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--br-r-lg);
}

.carousel-slide {
  display: none;
  width: 100%;
}
.carousel-slide.active { display: block; }

.carousel-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--br-r-lg);
  overflow: hidden;
  box-shadow: var(--br-shadow-lg);
  position: relative;
}

.carousel-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--br-cream2);
  padding: 24px;
}

.carousel-info {
  padding: 20px 24px 24px;
  text-align: left;
  border-top: 1px solid var(--br-border);
}
.carousel-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--br-r-pill);
  background: var(--br-coral);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.carousel-name {
  font-family: var(--br-font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--br-dark);
  margin-bottom: 4px;
}
.carousel-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--br-coral);
}
.carousel-cta {
  position: absolute;
  bottom: 24px;
  right: 24px;
}

/* carousel nav dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--br-border);
  transition: var(--br-transition);
  cursor: pointer;
  border: none;
}
.carousel-dot.active {
  background: var(--br-coral);
  width: 24px;
  border-radius: var(--br-r-pill);
}

/* carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--br-shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--br-dark);
  transition: var(--br-transition);
  border: none;
  cursor: pointer;
}
.carousel-arrow:hover { background: #fff; box-shadow: var(--br-shadow-md); }
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-cream { background: var(--br-cream2); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
}
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--br-coral);
  margin-bottom: 8px;
}
.section-header h2 {
  font-family: var(--br-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--br-dark);
  line-height: 1.2;
}

/* ================================================================
   TRUST BAND
   ================================================================ */
.trust-band {
  background: var(--br-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.trust-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.trust-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ================================================================
   CATEGORY CARDS
   ================================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--br-r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  cursor: pointer;
  background: var(--br-cream2);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}
.cat-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}
.cat-card-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.cat-card-name {
  font-family: var(--br-font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.cat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  transition: var(--br-transition);
}
.cat-card:hover .cat-card-link { color: #fff; gap: 12px; }

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--br-white);
  border-radius: var(--br-r-lg);
  overflow: hidden;
  transition: var(--br-transition);
  border: 1px solid var(--br-border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--br-shadow-lg);
  border-color: transparent;
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--br-cream2);
  overflow: hidden;
}
.product-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }

/* Quick add hover */
.product-card__quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--br-transition);
}
.product-card:hover .product-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}
.btn-add {
  padding: 10px 24px;
  border-radius: var(--br-r-pill);
  background: var(--br-coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--br-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-add:hover { background: var(--br-coral-dark); }

/* Badges */
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--br-r-pill);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-sale     { background: var(--br-coral); color: #fff; }
.badge-featured { background: var(--br-dark); color: #fff; }
.badge-new      { background: #1a7a4a; color: #fff; }

/* Card body */
.product-card__body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--br-muted);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--br-font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--br-dark);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.3;
}
.product-card__pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-current {
  font-size: 1rem;
  font-weight: 700;
  color: var(--br-coral);
}
.price-compare {
  font-size: 0.82rem;
  color: var(--br-muted);
  text-decoration: line-through;
}

/* Stock badges */
.stock-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--br-r-pill);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.stock-badge.out { background: #fde8e7; color: var(--br-coral); }
.stock-badge.low { background: #fff4e5; color: #9a6000; }

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
  align-items: start;
}
.product-gallery-main {
  background: var(--br-cream2);
  border-radius: var(--br-r-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
}
.product-gallery-main img {
  max-height: 100%;
  object-fit: contain;
}
.product-info__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--br-coral);
  margin-bottom: 12px;
}
.product-info h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--br-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.product-price-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.product-price-main { font-size: 1.8rem; font-weight: 700; color: var(--br-coral); }
.product-price-compare { font-size: 1.1rem; color: var(--br-muted); text-decoration: line-through; }
.product-discount-badge {
  padding: 4px 12px;
  border-radius: var(--br-r-pill);
  background: var(--br-coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.product-description {
  font-size: 0.95rem;
  color: var(--br-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.product-add-form { display: flex; flex-direction: column; gap: 12px; }
.quantity-input {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--br-border);
  border-radius: var(--br-r-pill);
  overflow: hidden;
  width: fit-content;
}
.quantity-input button {
  width: 40px; height: 40px;
  font-size: 1.2rem;
  color: var(--br-dark);
  background: var(--br-cream2);
  transition: var(--br-transition);
  border: none;
}
.quantity-input button:hover { background: var(--br-cream); }
.quantity-input input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--br-border);
  border-right: 1.5px solid var(--br-border);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 0;
  outline: none;
}

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-page { padding: 60px 0; }
.cart-page h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 40px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--br-muted);
  padding: 0 0 16px;
  border-bottom: 1.5px solid var(--br-border);
  text-align: left;
}
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--br-border); vertical-align: middle; }
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--br-r-md);
  object-fit: contain;
  background: var(--br-cream2);
  padding: 6px;
}
.cart-item-name { font-weight: 500; font-size: 0.95rem; }
.cart-item-cat  { font-size: 0.72rem; color: var(--br-muted); margin-top: 2px; }

.cart-summary {
  background: var(--br-cream2);
  border-radius: var(--br-r-lg);
  padding: 28px;
  border: 1px solid var(--br-border);
}
.cart-summary h2 {
  font-family: var(--br-font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--br-border);
  font-size: 0.88rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--br-dark);
}
.summary-total-price { font-weight: 700; font-size: 1.1rem; color: var(--br-coral); }

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.checkout-page { padding: 60px 0; }
.checkout-page h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 40px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.checkout-card {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: var(--br-r-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.checkout-card h2 {
  font-family: var(--br-font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--br-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--br-border);
  border-radius: var(--br-r-md);
  font-size: 0.9rem;
  font-family: var(--br-font-sans);
  color: var(--br-dark);
  background: var(--br-white);
  transition: var(--br-transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--br-coral);
  box-shadow: 0 0 0 3px rgba(27,79,196,0.08);
}
.form-control.is-invalid { border-color: var(--br-coral); }
.form-hint { font-size: 0.72rem; color: var(--br-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
select.form-control { cursor: pointer; appearance: none; }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--br-cream2) 0%, var(--br-cream) 100%);
  padding: 40px 20px;
}
.auth-card {
  background: var(--br-white);
  border-radius: var(--br-r-lg);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--br-shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title {
  font-family: var(--br-font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}
.auth-subtitle { text-align: center; color: var(--br-muted); font-size: 0.88rem; margin-bottom: 32px; }

/* ================================================================
   ADMIN LAYOUT
   ================================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0 !important;
}
body:has(.admin-layout) { padding-top: 0 !important; }
body:has(.admin-layout) .marquee-strip,
body:has(.admin-layout) .site-header { display: none; }

.admin-sidebar {
  width: 240px;
  background: var(--br-dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-logo-text {
  font-family: var(--br-font-serif);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
}
.admin-logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.35); margin-top: 2px; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav-section {
  padding: 8px 20px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 12px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: var(--br-transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.admin-nav-link.active { color: #fff; background: rgba(27,79,196,0.12); border-left-color: var(--br-coral); }
.admin-nav-link svg { flex-shrink: 0; opacity: 0.7; }
.admin-nav-link.active svg { opacity: 1; }

.admin-main {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f4f6f9;
}
.admin-topbar {
  background: #fff;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar-title { font-size: 1rem; font-weight: 600; color: var(--br-dark); }
.admin-content { padding: 32px; flex: 1; }

/* Admin cards / stats */
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 32px; }
.admin-stat-card {
  background: #fff;
  border-radius: var(--br-r-md);
  padding: 24px;
  box-shadow: var(--br-shadow-sm);
}
.admin-stat-value { font-size: 2rem; font-weight: 700; color: var(--br-dark); line-height: 1; }
.admin-stat-label { font-size: 0.75rem; color: var(--br-muted); margin-top: 6px; font-weight: 500; letter-spacing: 0.04em; }
.admin-stat-card.highlight .admin-stat-value { color: var(--br-coral); }

/* Admin table */
.admin-table-wrap {
  background: #fff;
  border-radius: var(--br-r-md);
  box-shadow: var(--br-shadow-sm);
  overflow: hidden;
}
.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e8eaed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-table-title { font-size: 0.95rem; font-weight: 600; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--br-muted);
  padding: 12px 24px;
  background: #fafafa;
  border-bottom: 1px solid #e8eaed;
  text-align: left;
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  color: var(--br-dark);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--br-r-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.status-badge.pending    { background: #fff4e5; color: #9a6000; }
.status-badge.processing { background: #e8f4ff; color: #0066cc; }
.status-badge.shipped    { background: #f0e8ff; color: #6600cc; }
.status-badge.delivered  { background: #e8f9ee; color: #1a7a4a; }
.status-badge.cancelled  { background: #fde8e7; color: var(--br-coral); }
.status-badge.active     { background: #e8f9ee; color: #1a7a4a; }
.status-badge.inactive   { background: #f0f0f0; color: var(--br-muted); }

/* Admin form card */
.admin-form-card {
  background: #fff;
  border-radius: var(--br-r-md);
  padding: 32px;
  box-shadow: var(--br-shadow-sm);
  max-width: 720px;
}

/* ================================================================
   CAROUSEL ADMIN — image preview
   ================================================================ */
.img-preview {
  width: 100%; max-height: 200px;
  object-fit: contain;
  border-radius: var(--br-r-md);
  border: 1px solid var(--br-border);
  background: var(--br-cream2);
  padding: 8px;
  margin-top: 8px;
}
.slide-thumb {
  width: 80px; height: 60px;
  object-fit: contain;
  border-radius: var(--br-r-sm);
  background: var(--br-cream2);
  border: 1px solid var(--br-border);
  padding: 4px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--br-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 12px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  padding: 4px 0;
  color: rgba(255,255,255,0.45);
  transition: var(--br-transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination-wrap { display: flex; justify-content: center; padding: 48px 0 0; gap: 8px; }
.pagination-wrap a, .pagination-wrap span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1.5px solid var(--br-border);
  color: var(--br-mid);
  transition: var(--br-transition);
}
.pagination-wrap a:hover { border-color: var(--br-coral); color: var(--br-coral); }
.pagination-wrap .active, .pagination-wrap span.active {
  background: var(--br-coral);
  border-color: var(--br-coral);
  color: #fff;
}

/* ================================================================
   PRODUCTS FILTER BAR
   ================================================================ */
.products-page { padding: 60px 0; }
.products-page h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 8px;
}
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 8px 20px;
  border-radius: var(--br-r-pill);
  border: 1.5px solid var(--br-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--br-mid);
  background: transparent;
  transition: var(--br-transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-pill:hover { border-color: var(--br-coral); color: var(--br-coral); }
.filter-pill.active {
  background: var(--br-coral);
  border-color: var(--br-coral);
  color: #fff;
}

/* ================================================================
   MISC
   ================================================================ */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--br-muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--br-coral); }
.breadcrumb span { color: var(--br-border); }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h2 { font-family: var(--br-font-serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 12px; }
.empty-state p { color: var(--br-muted); margin-bottom: 28px; }

.divider { height: 1px; background: var(--br-border); margin: 24px 0; }

/* Alert inline */
.alert {
  padding: 14px 18px;
  border-radius: var(--br-r-md);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.alert-success-inline { background: #e8f9ee; border: 1px solid #a3d9b8; color: #1a7a4a; }
.alert-error-inline   { background: #fde8e7; border: 1px solid var(--br-coral-light); color: var(--br-coral); }
.alert-info           { background: #e8f4ff; border: 1px solid #a3c9f0; color: #0066cc; }
.invalid-feedback     { font-size: 0.76rem; color: var(--br-coral); margin-top: 4px; }

/* Image upload preview */
input[type="file"]::file-selector-button {
  padding: 8px 16px;
  border-radius: var(--br-r-pill);
  border: 1.5px solid var(--br-border);
  background: var(--br-cream2);
  color: var(--br-dark);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--br-font-sans);
  margin-right: 10px;
  transition: var(--br-transition);
}
input[type="file"]::file-selector-button:hover {
  background: var(--br-cream);
  border-color: var(--br-coral);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .btn-login { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 20px 40px; }
  .hero h1 { font-size: 2.2rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ================================================================
   PAYMENT OPTIONS
   ================================================================ */
.payment-option {
  display: block;
  cursor: pointer;
  border: 1.5px solid var(--br-border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.15s, background 0.15s;
  background: var(--br-white);
}
.payment-option:hover { border-color: var(--br-coral); background: #fff9f8; }
.payment-option.selected { border-color: var(--br-coral); background: #fff9f8; }
.payment-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-option-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fdf2f1;
  color: var(--br-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.payment-option-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--br-dark);
  margin-bottom: 2px;
}
.payment-option-desc {
  font-size: 0.76rem;
  color: var(--br-muted);
  line-height: 1.5;
}
.payment-option-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--br-coral);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================================
   USER PROFILE TABS
   ================================================================ */
.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--br-border);
  margin-bottom: 24px;
}
.profile-tab {
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--br-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.profile-tab:hover { color: var(--br-coral); }
.profile-tab.active { color: var(--br-coral); border-bottom-color: var(--br-coral); }
.profile-panel { display: none; }
.profile-panel.active { display: block; }

/* ================================================================
   CONVENIOS PAGE
   ================================================================ */
.convenios-hero {
  background: linear-gradient(150deg, #1a1a1a 0%, #2c1a16 60%, #3a1f1a 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.convenios-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(27,79,196,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.convenios-hero h1 {
  font-family: var(--br-font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  position: relative;
}
.convenios-hero h1 em { color: var(--br-coral); font-style: italic; }
.convenios-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}
.benefit-card {
  background: var(--br-white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--br-border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--br-coral);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--br-shadow-lg);
}
.benefit-card-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fdf2f1;
  color: var(--br-coral);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--br-dark);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.82rem;
  color: var(--br-muted);
  line-height: 1.65;
}
.company-logo-card {
  background: var(--br-white);
  border: 1px solid var(--br-border);
  border-radius: 10px;
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--br-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.company-logo-card:hover {
  box-shadow: var(--br-shadow-md);
  border-color: rgba(27,79,196,0.3);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--br-border) 0, var(--br-border) 8px, transparent 8px, transparent 16px);
}
.step-card {
  text-align: center;
  padding: 28px 20px;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--br-coral);
  color: #fff;
  font-family: var(--br-font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.convenio-form-card {
  background: var(--br-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--br-shadow-lg);
  border: 1px solid var(--br-border);
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .convenio-form-card { padding: 28px 20px; }
}



/* ═══════════════════════════════════════════════════════
   NAV DROPDOWN
═══════════════════════════════════════════════════════ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 2px;
  cursor: pointer; white-space: nowrap;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--br-border);
  min-width: 200px; padding: 8px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 9px 20px;
  font-size: 0.87rem; color: var(--br-dark);
  font-weight: 400; transition: background 0.12s, color 0.12s;
  white-space: nowrap; text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--br-light); color: var(--br-coral);
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}

/* ═══════════════════════════════════════════════════════
   PARTNERS / LOGOS INFINITE CAROUSEL
═══════════════════════════════════════════════════════ */
.logos-carousel {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex; gap: 0; width: max-content;
  animation: logos-scroll 38s linear infinite;
  will-change: transform;
}
.logos-carousel:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-slide {
  flex-shrink: 0; width: 130px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px;
}
.logo-slide img {
  max-width: 100%; max-height: 70px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(40%) opacity(0.75);
  transition: filter 0.2s;
}
.logo-slide:hover img { filter: grayscale(0%) opacity(1); }
.logo-slide-fallback {
  font-size: 0.72rem; color: var(--br-mid); text-align: center;
  align-items: center; justify-content: center;
  padding: 4px; font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   FOOTER MAP WIDGET
═══════════════════════════════════════════════════════ */
.footer-map-widget iframe {
  display: block; border-radius: 10px;
  opacity: 0.8; transition: opacity 0.2s;
}
.footer-map-widget:hover iframe { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   WHATSAPP FAB (ensure always on top)
═══════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed !important;
  bottom: 28px !important; right: 24px !important;
  width: 58px !important; height: 58px !important;
  background: #25d366 !important;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  color: #fff !important; text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45) !important;
  z-index: 9999 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.whatsapp-fab:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 28px rgba(37,211,102,0.6) !important;
}
@media (max-width:768px) {
  .whatsapp-fab { bottom: 20px !important; right: 16px !important; width: 52px !important; height: 52px !important; }
}



/* ═══════════════════════════════════════════════════════
   SHOP LAYOUT — Sidebar + Main
═══════════════════════════════════════════════════════ */
.shop-layout {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 32px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 88px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--br-border);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  overflow: hidden;
}

.shop-main { min-width: 0; }

.shop-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Sidebar blocks */
.sidebar-block {
  padding: 18px 18px 16px;
  border-bottom: 1.5px solid var(--br-border);
}
.sidebar-block:last-child { border-bottom: none; }

.sidebar-block-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--br-text-muted);
  margin-bottom: 13px;
}

/* Search */
.sidebar-search-input { font-size: 0.88rem; }

/* Category radio list */
.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.87rem;
  color: var(--br-dark);
  transition: background 0.13s, color 0.13s;
  border: 1.5px solid transparent;
  user-select: none;
}
.sidebar-radio-label:hover { background: var(--br-light); color: var(--br-coral); }
.sidebar-radio-label.active {
  background: #fff3f2;
  color: var(--br-coral);
  border-color: rgba(27,79,196,0.18);
  font-weight: 600;
}
.sidebar-radio-label input[type="radio"] { display: none; }
.sidebar-radio-label::before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #d1c9c0;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.sidebar-radio-label.active::before {
  border-color: var(--br-coral);
  background: var(--br-coral);
  box-shadow: inset 0 0 0 3px #fff;
}

/* Actions block */
.sidebar-actions-block { padding-top: 16px; padding-bottom: 20px; }
.sidebar-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.88rem;
}

/* Mobile filter toggle button */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--br-border);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--br-dark);
  transition: border-color 0.15s;
}
.mobile-filter-btn:hover { border-color: var(--br-coral); color: var(--br-coral); }

@media (max-width: 820px) {
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .shop-sidebar { display: none; position: static; top: auto; border-radius: 12px; margin-bottom: 20px; }
  .shop-sidebar.open { display: block; }
  .mobile-filter-btn { display: flex; }
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination { margin-top: 44px; }

.pagination-nav { display: flex; justify-content: center; }

.pagination-list {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--br-dark);
  background: #fff;
  border: 1.5px solid var(--br-border);
  text-decoration: none;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
  cursor: pointer;
}

.pagination-item a.pagination-link:hover {
  background: #fff3f2;
  border-color: var(--br-coral);
  color: var(--br-coral);
}

.pagination-item.active .pagination-link {
  background: var(--br-coral);
  border-color: var(--br-coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(27,79,196,0.3);
}

.pagination-item.disabled .pagination-link {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   NAV DROPDOWN — Fix hover gap (menu closes too fast)
═══════════════════════════════════════════════════════ */
.nav-dropdown-menu {
  top: 100%;
  padding-top: 12px;
  transition: opacity 0.18s 0.12s, transform 0.18s 0.12s, visibility 0.18s 0.12s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transition: opacity 0.15s 0s, transform 0.15s 0s, visibility 0.15s 0s;
}
.nav-dropdown-menu::before { top: 5px; }

/* ═══════════════════════════════════════════════════════
   OFFER POPUP — Homepage carousel
═══════════════════════════════════════════════════════ */
.offer-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  animation: offerFadeIn 0.25s ease;
}
@keyframes offerFadeIn { from { opacity: 0; } to { opacity: 1; } }

.offer-popup-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: offerSlideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  display: flex;
  flex-direction: column;
}
@keyframes offerSlideUp {
  from { transform: translateY(50px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.offer-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1.5px solid var(--br-border);
  flex-shrink: 0;
}
.offer-popup-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--br-dark);
  line-height: 1.2;
}
.offer-popup-subtitle {
  font-size: 0.8rem;
  color: var(--br-text-muted);
  margin-top: 3px;
}
.offer-popup-close-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--br-light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--br-dark);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.offer-popup-close-btn:hover { background: #fce4e1; color: var(--br-coral); }

.offer-popup-body {
  padding: 24px 32px 20px;
  overflow: hidden;
  flex: 1;
}

.offer-carousel-outer {
  position: relative;
  padding: 0 20px;
}

.offer-carousel-track-wrap { overflow: hidden; border-radius: 12px; }

.offer-carousel-track {
  display: flex;
  gap: 14px;
  transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
}

.offer-carousel-card {
  flex: 0 0 calc(25% - 10.5px);
  background: var(--br-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--br-border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.offer-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: rgba(27,79,196,0.25);
}

.offer-carousel-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: #f0ecec;
}
.offer-carousel-img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: #f5f3f0;
}
.offer-carousel-info { padding: 10px 12px 13px; }
.offer-carousel-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--br-dark);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}
.offer-carousel-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--br-coral);
}

.offer-carousel-prev,
.offer-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--br-border);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--br-dark);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  z-index: 2;
  padding: 0;
}
.offer-carousel-prev { left: -2px; }
.offer-carousel-next { right: -2px; }
.offer-carousel-prev:hover, .offer-carousel-next:hover {
  background: var(--br-coral); color: #fff; border-color: var(--br-coral);
}

.offer-carousel-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-top: 18px;
}
.offer-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--br-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none; padding: 0;
}
.offer-dot.active { background: var(--br-coral); transform: scale(1.35); }

.offer-popup-footer {
  padding: 0 24px 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .offer-carousel-card { flex: 0 0 calc(50% - 7px); }
  .offer-popup-body { padding: 16px 16px 14px; }
  .offer-carousel-outer { padding: 0 8px; }
  .offer-popup-footer { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════
   CSS PATCH 3 — Checkout, Map, Mobile, Card
   Applied to: /home/datalynk/brilaz2/public/css/app.css
═══════════════════════════════════════════════════════ */

/* ── CHECKOUT GRID ─────────────────────────────────── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* ── ORDER SUMMARY (right sticky panel) ─────────────── */
.order-summary-box {
  background: #fff;
  border: 1.5px solid var(--br-border, #e8e4df);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.order-summary-box > h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--br-border, #e8e4df);
  color: var(--br-dark, #1a1a1a);
}
.order-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--br-border, #e8e4df);
}
.order-item-row:last-of-type { border-bottom: none; }
.order-item-row img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--br-bg, #f5f3f0);
}
.order-item-row .name {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--br-dark, #1a1a1a);
  line-height: 1.4;
}
.order-item-row .qty {
  font-size: 0.76rem;
  color: var(--br-text-muted, #8a8078);
  margin-top: 2px;
}
.order-item-row .price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--br-dark, #1a1a1a);
  white-space: nowrap;
}
.order-summary-totals {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px solid var(--br-border, #e8e4df);
}
.order-summary-totals .total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--br-text-muted, #8a8078);
  margin-bottom: 6px;
}
.order-summary-totals .total-row.grand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--br-dark, #1a1a1a);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--br-border, #e8e4df);
}

/* ── CARD COMPONENT ─────────────────────────────────── */
.card {
  background: #fff;
  border: 1.5px solid var(--br-border, #e8e4df);
  border-radius: 16px;
  overflow: hidden;
}
.card + .card {
  margin-top: 20px;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--br-border, #e8e4df);
  background: #fafaf9;
}
.card-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--br-dark, #1a1a1a);
}
.card-body {
  padding: 20px;
}

/* ── FOOTER MAP WIDGET — improved ─────────────────── */
.footer-map-widget {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 22px rgba(0,0,0,0.35);
  width: 240px;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-top: 14px;
  flex-shrink: 0;
}
.footer-map-widget:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.18);
}
.footer-map-widget iframe {
  display: block;
  opacity: 0.82;
  filter: contrast(1.05) saturate(0.85);
  transition: opacity 0.2s;
}
.footer-map-widget:hover iframe { opacity: 1; }

/* ── MOBILE RESPONSIVE IMPROVEMENTS ────────────────── */
@media (max-width: 768px) {
  /* Header */
  .site-header .header-inner {
    padding: 10px 16px;
    gap: 8px;
  }
  .header-search { display: none; }

  /* Hero */
  .hero { padding: 36px 16px 40px; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero p { font-size: 0.9rem; }

  /* Categories */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Products grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card { border-radius: 12px; }
  .product-card__img { height: 160px; }
  .product-card__body { padding: 12px; }
  .product-card__title { font-size: 0.82rem; }

  /* Shop layout — sidebar stacks */
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    order: -1;
    position: static;
    display: none; /* hidden by default, toggled by button */
    margin-bottom: 20px;
  }
  .shop-sidebar.is-open { display: block; }
  .sidebar-toggle { display: flex; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-map-widget {
    width: 100%;
    max-width: 100%;
  }
  .footer-map-widget iframe {
    width: 100% !important;
    height: 160px !important;
  }

  /* Auth */
  .auth-page { padding: 20px 16px; }
  .auth-card { padding: 28px 20px; border-radius: 16px; }

  /* Checkout */
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .order-summary-box { position: static; }

  /* Payment options */
  .payment-options { gap: 8px; }
  .payment-option { padding: 12px; }

  /* Pagination */
  .pagination-nav { gap: 4px; }
  .pagination-link { width: 34px; height: 34px; font-size: 0.8rem; }

  /* Container */
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 36px; padding-bottom: 36px; }

  /* Offer popup */
  .offer-popup-modal {
    max-width: calc(100vw - 24px);
    margin: 0 12px;
    border-radius: 16px;
  }
  .offer-popup-title { font-size: 1rem; }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-card__img { height: 130px; }
  .btn { font-size: 0.84rem; padding: 10px 18px; }
  .site-nav { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── CLOUDFLARE TURNSTILE ───────────────────────────── */
.cf-turnstile { margin-bottom: 18px; }
.cf-turnstile > div {
  border-radius: 8px;
  overflow: hidden;
}




/* ====================================================
   CSS PATCH 4 — Flow + Checkout UI + Convenios Carousel
   ==================================================== */

/* -- CONTAINER-SM (limits checkout width) ----------- */
.container-sm {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* -- CHECKOUT SECTION BACKGROUND -------------------- */
.section:has(.checkout-grid) {
  background: #f5f4f1;
  min-height: calc(100vh - 80px);
}

/* -- PAYMENT OPTION LABELS -------------------------- */
.payment-option {
  display: block;
  border: 1.5px solid var(--br-border, #e8e4df);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  background: #fff;
}
.payment-option:hover {
  border-color: var(--br-primary, #d64032);
  box-shadow: 0 0 0 3px rgba(27,79,196,0.08);
}
.payment-option.selected {
  border-color: var(--br-primary, #d64032);
  background: #fff9f8;
  box-shadow: 0 0 0 3px rgba(27,79,196,0.1);
}
.payment-option input[type=radio] { display: none; }
.payment-option-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-option-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #f5ece8; color: var(--br-primary, #d64032);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.payment-option-title { font-weight: 700; font-size: 0.88rem; color: var(--br-dark, #1a1a1a); }
.payment-option-desc  { font-size: 0.75rem; color: var(--br-muted, #8a8078); margin-top: 2px; line-height: 1.5; }
.payment-option-badge {
  margin-left: auto; flex-shrink: 0;
  background: #fef9c3; color: #a16207;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}

/* -- ORDER SUMMARY BOX (sticky sidebar) ------------- */
.order-summary-box {
  background: #fff;
  border: 1.5px solid var(--br-border, #e8e4df);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
  height: fit-content;
}
.order-summary-box h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--br-dark, #1a1a1a);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--br-border, #e8e4df);
}

/* -- FORM STYLES ------------------------------------ */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--br-dark, #1a1a1a); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--br-border, #e8e4df);
  border-radius: 8px; font-size: 0.88rem;
  background: #fff; color: var(--br-dark, #1a1a1a);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--br-primary, #d64032);
  box-shadow: 0 0 0 3px rgba(27,79,196,0.1);
}
.form-control.is-invalid { border-color: #ef4444; }
.form-error { color: #ef4444; font-size: 0.75rem; margin-top: 4px; }

/* -- CONVENIOS PRODUCT STRIP ----------------------- */
.convenios-strip-outer {
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.convenios-strip-track {
  display: flex;
  gap: 20px;
  animation: stripScroll 40s linear infinite;
  width: max-content;
}
.convenios-strip-track:hover { animation-play-state: paused; }
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.convenios-strip-card {
  width: 200px; flex-shrink: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--br-border, #e8e4df);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.convenios-strip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.convenios-strip-card img {
  width: 100%; height: 150px;
  object-fit: cover; display: block;
}
.convenios-strip-info { padding: 12px; }
.convenios-strip-name {
  font-size: 0.8rem; font-weight: 600;
  color: var(--br-dark, #1a1a1a);
  line-height: 1.3; margin-bottom: 5px;
}
.convenios-strip-price {
  font-size: 0.88rem; font-weight: 700;
  color: var(--br-primary, #d64032);
}
.convenios-strip-cat {
  font-size: 0.68rem; color: var(--br-muted, #8a8078);
  margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* -- MOBILE CHECKOUT FORM ROW ---------------------- */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .container-sm { padding-left: 14px; padding-right: 14px; }
}




/* ════════════════════════════════════════════════════════════════
   RESERVAR HORA — Botón navbar
   ════════════════════════════════════════════════════════════════ */
.btn-reservar-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  background: #1d4ed8;
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  margin-left: 8px;
}
.btn-reservar-nav:hover {
  background: #1e40af;
  transform: translateY(-1px);
  color: #fff !important;
}

/* ════════════════════════════════════════════════════════════════
   RESERVAR HORA — Página de reserva
   ════════════════════════════════════════════════════════════════ */
.reservar-section { padding: 3rem 0 5rem; background: #f8f7f4; }
.reservar-header { text-align: center; margin-bottom: 2.5rem; }
.reservar-icon-wrap {
  width: 72px; height: 72px;
  background: #dbeafe; color: #1d4ed8;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.reservar-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 0.5rem; }
.reservar-subtitle { color: #6b7280; font-size: 1rem; max-width: 520px; margin: 0 auto; }
.reservar-empty { text-align: center; padding: 4rem 2rem; color: #6b7280; font-size: 1rem; }
.reservar-step { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.reservar-step-num {
  width: 32px; height: 32px;
  background: #1d4ed8; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.reservar-step-title { font-size: 1.15rem; font-weight: 600; color: #1a1a1a; margin: 0; }
.slots-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.slot-date-group {
  background: #fff; border-radius: 12px; border: 1px solid #e5e7eb;
  padding: 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.slot-date-label { min-width: 90px; text-align: center; }
.slot-weekday { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; font-weight: 600; }
.slot-day { display: block; font-size: 2.25rem; font-weight: 700; color: #1d4ed8; line-height: 1; }
.slot-month { display: block; font-size: 0.8rem; color: #374151; text-transform: capitalize; font-weight: 500; }
.slot-times { display: flex; flex-wrap: wrap; gap: 0.6rem; flex: 1; }
.slot-time-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.65rem 0.85rem; border: 2px solid #e5e7eb; border-radius: 10px;
  cursor: pointer; transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  min-width: 90px; background: #fff;
}
.slot-time-card input[type=radio] { display: none; }
.slot-time-card:hover { border-color: #93c5fd; background: #eff6ff; }
.slot-time-card.selected { border-color: #1d4ed8; background: #eff6ff; box-shadow: 0 0 0 3px rgba(29,78,216,0.12); }
.slot-time-hour { font-size: 1rem; font-weight: 700; color: #111; }
.slot-time-sep { font-size: 0.75rem; color: #9ca3af; margin: 0 2px; }
.slot-time-avail { font-size: 0.7rem; color: #059669; font-weight: 600; margin-top: 3px; }
.reservar-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  background: #fff; padding: 1.75rem; border-radius: 12px; border: 1px solid #e5e7eb;
}
.btn-reservar-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2.5rem; background: #1d4ed8; color: #fff;
  border: none; border-radius: 8px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}
.btn-reservar-submit:hover {
  background: #1e40af; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,78,216,0.25);
}
@media (max-width: 600px) {
  .reservar-form-grid { grid-template-columns: 1fr; }
  .slot-date-group { flex-direction: column; align-items: flex-start; }
  .reservar-title { font-size: 1.5rem; }
}


/* === BRILAZ MOBILE + WA BUTTON PATCH v3 === */
#mobile-nav { display: none; }

/* WhatsApp button on product card */
.wa-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 12px;
  background: #25D366;
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(37,211,102,0.25);
}
.wa-consult-btn:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}
.wa-consult-btn svg { flex-shrink: 0; }

/* WhatsApp button on product detail page */
.wa-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 14px 0 4px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff !important;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.wa-detail-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,211,102,0.45);
}

/* ── MOBILE MENU FIX (slide-down panel below fixed header) ── */
@media (max-width: 768px) {
  .site-header {
    height: auto !important;
    min-height: var(--br-header-h);
  }
  .header-inner {
    height: var(--br-header-h);
  }
  #mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--br-border);
    padding: 8px 0 14px !important;
    max-height: calc(100vh - var(--br-header-h) - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #mobile-nav.open { display: flex !important; }
  #mobile-nav a, #mobile-nav button {
    padding: 12px 6px !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid #f0f3fa;
  }
  #mobile-nav a:last-child, #mobile-nav form:last-child button { border-bottom: none; }

  /* Hide the inline Reservar Hora button in nav (it's already in mobile nav) */
  .site-nav .btn-reservar-nav { display: none; }
  /* Show login in actions on mobile too */
  .btn-login { display: inline-flex !important; padding: 6px 10px; font-size: 0.78rem; }
  .cart-btn span { display: none; }
  .cart-btn { padding: 8px 12px; }

  /* Tighter container */
  .container { padding: 0 14px; }

  /* Smaller logo */
  .logo-real { height: 36px; }

  /* Marquee smaller */
  .marquee-strip { font-size: 0.6rem; height: 26px; }
  body { padding-top: calc(var(--br-header-h) + 26px); }
  .marquee-item { padding: 0 18px; }

  /* Product card: tighter on mobile */
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__name { font-size: 0.92rem; line-height: 1.3; }
  .price-current { font-size: 1rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .product-card__body { padding: 10px; }
  .product-card__name { font-size: 0.85rem; }
  .product-card__cat { font-size: 0.66rem; }
  .price-current { font-size: 0.95rem; }
  .price-compare { font-size: 0.7rem; }
  .wa-consult-btn { font-size: 0.7rem; padding: 7px 8px; gap: 4px; }
  .wa-consult-btn svg { width: 12px; height: 12px; }

  .hero { padding: 36px 16px 28px; min-height: auto; }
  .hero h1 { font-size: 1.6rem !important; line-height: 1.2; }
  .hero p, .hero-subtitle { font-size: 0.92rem; }

  .section, section.section { padding: 32px 0 !important; }

  /* Convenios company logos: tighter grid on small phones */
  .company-logos-grid, .convenios-companies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .company-logo-card {
    padding: 12px !important;
    min-height: 80px;
  }

  .footer-grid { gap: 24px; }
  .footer-col h4 { font-size: 0.9rem; }
  .footer-col a { font-size: 0.82rem; padding: 4px 0; }

  /* Mobile detail page */
  .product-detail__info h1 { font-size: 1.35rem; }
  .price-main { font-size: 1.6rem; }
  .add-to-cart-form { flex-direction: column; gap: 10px; }
  .qty-selector { width: 100%; justify-content: center; }
  .wa-detail-btn { font-size: 0.92rem; padding: 12px 16px; }

  /* FAB doesn't cover content */
  main { padding-bottom: 80px; }
}

@media (max-width: 360px) {
  .header-actions { gap: 4px; }
  .cart-btn { padding: 6px 9px; }
  .btn-login { font-size: 0.72rem; padding: 5px 8px; }
  .logo-real { height: 32px; }
}
/* === END BRILAZ MOBILE + WA BUTTON PATCH v3 === */


/* === BRILAZ TRUST-BAND SVG ICONS === */
.trust-band .trust-icon { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:10px; flex-shrink:0; }
.trust-band .trust-icon svg { width:24px; height:24px; display:block; }
.trust-band .trust-item:nth-child(1) .trust-icon { background:rgba(245,158,11,0.12); color:#fbbf24; }
.trust-band .trust-item:nth-child(2) .trust-icon { background:rgba(168,85,247,0.12); color:#c084fc; }
.trust-band .trust-item:nth-child(3) .trust-icon { background:rgba(34,197,94,0.12);  color:#4ade80; }
.trust-band .trust-item:nth-child(4) .trust-icon { background:rgba(59,130,246,0.12); color:#60a5fa; }
@media (max-width: 480px) {
  .trust-band .trust-icon { width:36px; height:36px; border-radius:8px; }
  .trust-band .trust-icon svg { width:20px; height:20px; }
}
