/* ==========================================================
   BLACK FRIDAY · Familia Martínez Zabala
   CSS acotado a .bf y .bf-footer (no toca el resto de la web).
   Paleta basada en el theme-color de la tienda (#a0824e).
   Las clases del CSS global de la tienda no se han podido leer:
   si algo se ve distinto, ajusta las variables de abajo.
   ========================================================== */

.bf,
.bf-footer {
  --bf-primary: #7d6238;        /* bronce oscuro (derivado de #a0824e, contraste AA con texto blanco) */
  --bf-primary-dark: #4f3d22;
  --bf-accent: #a0824e;         /* color de marca de la tienda (theme-color) */
  --bf-text: #2b2b2b;
  --bf-muted: #6a6a6a;
  --bf-bg: #ffffff;
  --bf-bg-soft: #f7f3ec;
  --bf-border: #e6dcc8;
  --bf-radius: 2px;
  --bf-max: 1240px;
  --bf-gap: 24px;
  --bf-font: inherit;           /* hereda la fuente de la web */
}

/* ---------- Base ---------- */
.bf {
  font-family: var(--bf-font);
  color: var(--bf-text);
  line-height: 1.6;
}

.bf *,
.bf-footer * {
  box-sizing: border-box;
}

.bf {
  max-width: var(--bf-max);
  margin: 0 auto;
}

.bf > section {
  width: 100%;
  padding: 48px 20px;
}

.bf h1,
.bf h2,
.bf h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--bf-primary-dark);
}

.bf h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.bf h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.bf h3 { font-size: 1.2rem; }

.bf p {
  margin: 0 0 16px;
}

.bf a:not(.button) {
  color: var(--bf-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bf a:not(.button):hover {
  color: var(--bf-primary-dark);
}

/* Resets defensivos frente al CSS global de la web */
.bf ul,
.bf li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bf h1,
.bf h2,
.bf h3 {
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--bf-font);
}

/* ---------- Botones ---------- */
.bf .button {
  display: inline-block;
  padding: 9px 22px;
  background: transparent;
  color: var(--bf-primary);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--bf-primary);
  border-radius: 0;
  box-shadow: none;
  transition: background .2s, color .2s;
}

.bf .button:hover,
.bf .button:focus-visible {
  background: var(--bf-primary);
  color: #fff;
}

/* Botón principal (rellenado): el CTA "Ver todos los vinos" */
.bf__top .button {
  background: var(--bf-primary);
  color: #fff;
}

.bf__top .button:hover,
.bf__top .button:focus-visible {
  background: var(--bf-primary-dark);
  border-color: var(--bf-primary-dark);
}

.bf .button:focus-visible,
.bf a:focus-visible {
  outline: 2px solid var(--bf-accent);
  outline-offset: 2px;
}


.addecomm a{box-sizing: content-box !important; text-decoration: none !important;}
/* ---------- Hero (H1 + intro) ---------- */
.bf__hero {
  text-align: center;
  max-width: var(--bf-max);
}

.bf__hero p {
  font-size: 1.1rem;
  line-height:normal
}

.bf__hero strong {
  color: var(--bf-primary);
}

/* Fondo destacado del hero a ancho completo */
.bf > .bf__hero {
  position: relative;
}

/* ---------- Top ofertas ---------- */
.bf__top {
  text-align: center;
}

.bf__products {
  margin: 32px 0;
  min-height: 0;
}

/* ---------- Secciones con fondo suave (alternas) ---------- */
.bf__bodega,
.bf__fechas {
  background: var(--bf-bg-soft);
}

.bf__bodega > h2,
.bf__bodega > p,
.bf__regalos > h2,
.bf__regalos > p {
  text-align: center;
}

.bf__bodega > p,
.bf__regalos > p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Grid de tarjetas ---------- */
.bf__grid {
  display: grid;
  gap: var(--bf-gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.bf__card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bf-bg);
  border: 1px solid var(--bf-border);
  border-top: 4px solid var(--bf-accent);
  border-radius: var(--bf-radius);
  transition: transform .2s, box-shadow .2s;
}

.bf__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.bf__card p {
  flex: 1;              /* empuja el botón al final de la tarjeta */
  color: var(--bf-muted);
}

.bf__card .button {
  align-self: flex-start;
}

/* ---------- Fechas + lista de ventajas ---------- */
.bf__fechas {
  text-align: center;
}

.bf__fechas > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.bf__fechas ul {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bf__fechas li {
  padding: 8px 18px;
  background: var(--bf-bg);
  border: 1px solid var(--bf-accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--bf-primary-dark);
}

.bf__fechas li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--bf-accent);
}

/* ---------- FAQ ---------- */
.bf__faq {
  max-width: var(--bf-max);
}

.bf__faq > h2 {
  text-align: center;
  margin-bottom: 32px;
}

.bf__faq h3 {
  margin: 28px 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--bf-border);
  font-size: 1.1rem;
}

.bf__faq h3:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.bf__faq p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.bf-footer {
  font-family: var(--bf-font);
  background: var(--bf-primary-dark);
  color: #efe7d8;
  text-align: center;
  padding: 32px 20px;
  font-size: .9rem;
  line-height: 1.6;
}

.bf-footer {
  max-width: var(--bf-max);
  margin-left: auto;
  margin-right: auto;
}

.bf-footer p {
  max-width: 800px;
  margin: 0 auto 12px;
}

.bf-footer p:last-child {
  margin-bottom: 0;
}

.bf-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bf-footer a:hover {
  color: var(--bf-accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .bf > section {
    padding: 32px 16px;
  }

  .bf__grid {
    grid-template-columns: 1fr;
  }

  .bf__card .button,
  .bf__top .button {
    align-self: stretch;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf .button,
  .bf__card {
    transition: none;
  }

  .bf__card:hover {
    transform: none;
  }
}



.goblackfriday{
    display: inline-block;
    width: 8.8%;
    vertical-align: top;
    margin-top: -0.8em;
}
 .goblackfriday a{
  display:block;
    border: 1px solid var(--mz-tan);
    height: 120px;
    box-sizing: border-box;
    align-content: center;
    text-align: center;
    color: var(--mz-tan);
    font-weight: 800;
    cursor:pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1) ;
}

.goblackfriday a:hover{background-color: var(--mz-tan); color:#212121}

#logo{width:15%;}

#header .menu{width:65%;}