/*
Theme Name: Storefront Child
Template: storefront
Version: 5.0
*/

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300&display=swap');

/* ============================================================
   RESET GLOBAL
============================================================ */
.site-header,
.storefront-handheld-footer-bar { display: none !important; }

/* Quitar sidebar en todas las páginas */
.site-content .col-full,
.col-full { max-width: 100% !important; padding: 0 !important; }

.site-main,
.content-area,
#main-content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

/* Quitar sidebar de WordPress */
#secondary,
.widget-area,
.sidebar,
aside.widget-area { display: none !important; }

/* Quitar columna de contenido partida */
.site-content .content-area {
  width: 100% !important;
  float: none !important;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.woocommerce-store-notice,
.demo_store { display: none !important; }

/* ============================================================
   TOPBAR
============================================================ */
.bb-topbar {
  background: #b5a99a;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #fff;
  width: 100%;
}
.bb-topbar-left { display: flex; align-items: center; gap: 7px; }
.bb-topbar-right { display: flex; align-items: center; gap: 16px; }
.bb-topbar-right a { color: #fff; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.bb-topbar-right a:hover { opacity: 1; }
.bb-topbar-sep { opacity: 0.35; }

/* ============================================================
   NAV
============================================================ */
.bb-nav {
  width: 100%;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid #eeebe8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 24px;
}
.bb-nav-logo img { height: 44px; width: auto; display: block; }
.bb-nav-links { display: flex; gap: 36px; list-style: none; margin: 0 auto; }
.bb-nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity 0.2s;
}
.bb-nav-links a:hover { opacity: 0.45; }
.bb-nav-actions { display: flex; align-items: center; gap: 18px; }
.bb-nav-search {
  border: 0.5px solid #e8e3de;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bbb;
  background: #faf9f8;
  cursor: pointer;
  white-space: nowrap;
}
.bb-nav-icon-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.bb-nav-icon-link:hover { opacity: 0.45; }
.bb-nav-cart span { white-space: nowrap; }
.bb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.bb-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: #1a1a1a;
  transition: all 0.3s;
}
.bb-hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bb-hamburger.active span:nth-child(2) { opacity: 0; }
.bb-hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   INNER PAGES — páginas internas (carrito, cuenta, tienda, producto)
============================================================ */
.woocommerce-page .site-main,
.woocommerce .site-main {
  padding: 40px 40px 64px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* Títulos páginas internas */
.woocommerce-page h1.entry-title,
.woocommerce h1.entry-title,
.entry-title {
  font-family: 'Jost', sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin-bottom: 32px !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-family: 'Jost', sans-serif !important;
  font-size: 10px !important;
  font-weight: 300 !important;
  letter-spacing: 0.1em !important;
  color: #bbb !important;
  margin-bottom: 24px !important;
  text-transform: uppercase !important;
}
.woocommerce-breadcrumb a { color: #bbb !important; text-decoration: none !important; }

/* ── Botones globales WooCommerce ── */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: 'Jost', sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 28px !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #333 !important;
  color: #fff !important;
}

/* ── Botón alt (outline) ── */
.woocommerce button.button.alt {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* ── Mensajes WooCommerce ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  border-top-color: #1a1a1a !important;
}

/* ── Inputs y forms ── */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce textarea,
.woocommerce select {
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  border: 0.5px solid #e0dbd6 !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  color: #1a1a1a !important;
  outline: none !important;
}
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: #1a1a1a !important;
  box-shadow: none !important;
}

/* ── Labels ── */
.woocommerce label {
  font-family: 'Jost', sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
}

/* ============================================================
   SHOP PAGE — tienda
============================================================ */
.woocommerce-page.woocommerce-shop .site-main {
  padding: 40px 40px 64px !important;
}

/* Ordering / resultados */
.woocommerce-result-count,
.woocommerce-ordering {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 300 !important;
  color: #999 !important;
  letter-spacing: 0.04em !important;
}
.woocommerce-ordering select {
  font-size: 11px !important;
  padding: 6px 12px !important;
}

/* Grid productos tienda — 4 columnas cuadradas */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
}

/* ============================================================
   WOOCOMMERCE PRODUCTOS GLOBAL — cuadrados, limpios
============================================================ */
.woocommerce ul.products li.product {
  overflow: hidden !important;
  background: #faf9f7 !important;
  padding: 0 0 16px !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

/* CLAVE: imágenes cuadradas 1:1 */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.6s ease !important;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.04) !important; }

.woocommerce-loop-product__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin: 12px 0 4px !important;
  padding: 0 14px !important;
}
.woocommerce ul.products li.product .price {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 300 !important;
  color: #999 !important;
  letter-spacing: 0.04em !important;
  padding: 0 14px 6px !important;
  display: block !important;
}
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  font-family: 'Jost', sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 0.5px solid #1a1a1a !important;
  color: #1a1a1a !important;
  padding: 8px 18px !important;
  border-radius: 0 !important;
  margin: 8px 14px 0 !important;
  display: inline-block !important;
  transition: background 0.2s, color 0.2s !important;
  box-shadow: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* ============================================================
   SINGLE PRODUCT PAGE
============================================================ */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}
.woocommerce div.product .woocommerce-product-gallery {
  grid-column: 1 !important;
}
.woocommerce div.product .summary {
  grid-column: 2 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-product-gallery img {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.woocommerce div.product h1.product_title {
  font-family: 'Jost', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Jost', sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: #1a1a1a !important;
  letter-spacing: 0.04em !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  color: #777 !important;
  line-height: 1.7 !important;
  margin: 16px 0 24px !important;
}
/* Producto relacionados */
.related.products h2,
.upsells.products h2 {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  margin-bottom: 24px !important;
  padding-bottom: 14px !important;
  border-bottom: 0.5px solid #f0ece8 !important;
}
.related.products ul.products,
.upsells.products ul.products {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ============================================================
   CART PAGE
============================================================ */
.woocommerce-cart .woocommerce { padding: 0 !important; }
.woocommerce table.cart {
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  border-collapse: collapse !important;
  width: 100% !important;
}
.woocommerce table.cart th {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  border-bottom: 0.5px solid #eee !important;
  padding: 14px 10px !important;
}
.woocommerce table.cart td {
  padding: 16px 10px !important;
  border-bottom: 0.5px solid #f5f2ef !important;
  vertical-align: middle !important;
}
.woocommerce table.cart img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.cart-subtotal th,
.order-total th {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* ============================================================
   HERO SLIDER
============================================================ */
.bb-hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  cursor: grab;
}
.bb-hero-slider:active { cursor: grabbing; }
.bb-slides { width: 100%; height: 100%; }
.bb-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}
.bb-slide.active { opacity: 1; }
.bb-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}
.bb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.bb-hero-tag {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.bb-hero-title {
  font-size: clamp(64px, 10vw, 108px);
  font-weight: 200;
  font-style: italic;
  color: #fff;
  line-height: 0.93;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.bb-hero-sub {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  display: block;
}
.bb-hero-title-s2 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.bb-hero-sub-s2 {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.bb-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.bb-dot {
  width: 28px;
  height: 1.5px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.bb-dot.active { background: #fff; width: 44px; }

/* ============================================================
   BUTTONS
============================================================ */
.bb-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.bb-btn:hover { background: rgba(255,255,255,0.15); }

.bb-btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: hsl(32, 38%, 69%);
  color: #1a1a1a;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 24px;
  transition: background 0.2s;
}
.bb-btn-amber:hover { background: hsl(32, 38%, 69%); }

.bb-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.bb-btn-dark:hover { background: #333; }

.bb-btn-round {
  display: inline-block;
  padding: 11px 30px;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.bb-btn-round:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   BENEFITS
============================================================ */
.bb-benefits-img {
  width: 100%;
  line-height: 0;
  border-top: 0.5px solid #f0ece8;
  border-bottom: 0.5px solid #f0ece8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
}
.bb-benefits-pc {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}
.bb-benefits-mobile { display: none; }

/* ============================================================
   PROMO BANNER
============================================================ */
.bb-promo {
  background: #fdf5f3;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c0392b;
  width: 100%;
  border-bottom: 0.5px solid #f5e8e5;
}
.bb-code {
  border: 1px dashed #c0392b;
  color: #c0392b;
  padding: 3px 13px;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
}
.bb-promo-light {
  font-weight: 300;
  font-size: 10px;
  color: #c0392b;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ============================================================
   TRENDING
============================================================ */
.bb-trending {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
}
.bb-trending-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
}
.bb-trending-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
}
.bb-trending-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 52px 64px;
  z-index: 2;
}
.bb-tag {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: block;
}
.bb-trending-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}
.bb-trending-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

/* ============================================================
   NEW IN / BEST SELLERS
============================================================ */
.bb-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 2px;
  background: #e8e3de;
}
.bb-grid-card {
  position: relative;
  overflow: hidden;
  height: 52vw;
  max-height: 600px;
  min-height: 360px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.bb-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.bb-grid-card:hover .bb-grid-img { transform: scale(1.04); }
.bb-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 40px 48px;
}
.bb-grid-text-group { display: flex; flex-direction: column; gap: 10px; }
.bb-grid-label {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
.bb-grid-shop {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  border-bottom: 0.5px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  width: fit-content;
}

/* ============================================================
   FEATURED PRODUCTS — 4 columnas cuadradas
============================================================ */
.bb-featured {
  padding: 56px 40px 48px;
  width: 100%;
  border-top: 0.5px solid #f0ece8;
}
.bb-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid #f0ece8;
}
.bb-featured-header h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.bb-featured-header a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  border-bottom: 0.5px solid #ddd;
  padding-bottom: 1px;
  transition: color 0.2s;
}
.bb-featured-header a:hover { color: #1a1a1a; }

.bb-featured .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2px !important;
}

/* ============================================================
   EXPERIENCE
============================================================ */
.bb-experience {
  padding: 56px 40px 64px;
  width: 100%;
  border-top: 0.5px solid #f0ece8;
}
.bb-experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 24px;
}
.bb-experience-title {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.2;
}
.bb-experience-grid .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
}

/* ============================================================
   CRAFTED — Layout B: 2+1 cada lado | foto centro
============================================================ */
.bb-crafted {
  width: 100%;
  padding: 56px 40px 72px;
  border-top: 0.5px solid #f0ece8;
}
.bb-crafted-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 0.5px solid #eee;
  margin-bottom: 2px;
}
.bb-crafted-header span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.bb-crafted-header a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  border-bottom: 0.5px solid #ddd;
  padding-bottom: 1px;
  transition: color 0.2s;
}
.bb-crafted-header a:hover { color: #1a1a1a; }

.bb-crafted-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2px;
  background: #e8e3de;
  min-height: 560px;
}
.bb-crafted-left,
.bb-crafted-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #e8e3de;
}
.bb-crafted-left-top,
.bb-crafted-right-top {
  flex: 1;
  display: flex;
  gap: 2px;
}
.bb-crafted-left-top .products,
.bb-crafted-right-top .products {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2px !important;
  width: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bb-crafted-left-bot,
.bb-crafted-right-bot {
  flex: 0 0 auto;
}
.bb-crafted-left-bot .products,
.bb-crafted-right-bot .products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Productos en crafted — cuadrados */
.bb-crafted-left li.product,
.bb-crafted-right li.product {
  background: #faf9f7 !important;
  padding: 0 0 12px !important;
  margin: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  float: none !important;
}
.bb-crafted-left li.product a img,
.bb-crafted-right li.product a img {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  transition: transform 0.6s ease !important;
}
.bb-crafted-left li.product a:hover img,
.bb-crafted-right li.product a:hover img { transform: scale(1.04) !important; }
.bb-crafted-left li.product .button,
.bb-crafted-right li.product .button { display: none !important; }
.bb-crafted-left .woocommerce-loop-product__title,
.bb-crafted-right .woocommerce-loop-product__title {
  font-size: 10px !important;
  padding: 8px 10px 2px !important;
  margin: 0 !important;
}
.bb-crafted-left .price,
.bb-crafted-right .price {
  font-size: 10px !important;
  padding: 0 10px !important;
}

/* Foto centro */
.bb-crafted-center {
  position: relative;
  background-size: cover;
  background-position: center 20%;
  overflow: hidden;
  min-height: 560px;
}
.bb-crafted-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.15) 48%,
    transparent 68%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 44px 24px;
  color: #fff;
}
.bb-crafted-sub {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.bb-crafted-title {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 10px;
}
.bb-crafted-caption {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* ============================================================
   FOOTER — global en todas las páginas
============================================================ */
.bb-footer {
  background: #b5a99a;
  padding: 56px 40px 28px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.bb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.bb-footer-brand h4,
.bb-footer-col h4 {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}
.bb-footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.bb-footer-contact-link:hover { color: #fff; }
.bb-footer-follow { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.bb-footer-follow span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.bb-footer-col a {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.bb-footer-col a:hover { color: #fff; }
.bb-footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.18);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.bb-footer-bottom span {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.04em;
}
.bb-social { display: flex; gap: 10px; }
.bb-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s;
}
.bb-social a:hover { background: rgba(255,255,255,0.15); }

/* Quitar footer de Storefront */
.site-footer .col-full { display: none !important; }
.site-footer { padding: 0 !important; margin: 0 !important; background: transparent !important; }

/* ============================================================
   TABLET — 1024px
============================================================ */
@media (max-width: 1024px) {
  .bb-featured .products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .bb-experience-grid .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .bb-crafted-grid { grid-template-columns: 1fr 1fr 1fr; }
  .woocommerce-page .site-main { padding: 32px 24px 48px !important; }
}

/* ============================================================
   MÓVIL — 768px
============================================================ */
@media (max-width: 768px) {

  .bb-topbar { justify-content: center; padding: 7px 16px; font-size: 10px; }
  .bb-topbar-right { display: none; }

  .bb-nav { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .bb-nav-logo img { height: 36px; }
  .bb-hamburger { display: flex; }
  .bb-nav-links {
    display: none; flex-direction: column; width: 100%;
    order: 3; border-top: 0.5px solid #eee; margin-top: 8px;
  }
  .bb-nav-links.open { display: flex; }
  .bb-nav-links li { border-bottom: 0.5px solid #f3f0ed; }
  .bb-nav-links a { padding: 14px 4px; display: block; }
  .bb-nav-search { display: none; }
  .bb-nav-icon-link span { display: none; }
  .bb-nav-actions { gap: 12px; }

  .bb-hero-slider { height: 85vw; min-height: 320px; }
  .bb-slide { padding: 0 24px; }
  .bb-hero-title { font-size: clamp(44px, 13vw, 64px); }
  .bb-hero-title-s2 { font-size: clamp(20px, 6vw, 30px); }
  .bb-hero-sub { font-size: 10px; letter-spacing: 0.14em; }

  .bb-benefits-img { padding: 16px 20px; }
  .bb-benefits-pc { display: none !important; }
  .bb-benefits-mobile {
    display: block !important;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }

  .bb-promo { flex-direction: column; gap: 6px; text-align: center; padding: 14px 16px; }

  .bb-trending { height: 420px; }
  .bb-trending-img { background-position: center 15%; }
  .bb-trending-content { padding: 32px 24px; }
  .bb-trending-title { font-size: 28px; }

  .bb-grid-two { grid-template-columns: 1fr; }
  .bb-grid-card { height: 72vw; max-height: none; min-height: 0; }
  .bb-grid-overlay { padding: 28px 24px; }
  .bb-grid-label { font-size: clamp(28px, 10vw, 44px); }

  .bb-featured { padding: 40px 16px 32px; }
  .bb-featured .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }

  .bb-experience { padding: 40px 16px 48px; }
  .bb-experience-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bb-experience-title { font-size: 18px; }
  .bb-experience-grid .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }

  .bb-crafted { padding: 40px 0 48px; }
  .bb-crafted-header { padding: 0 16px 18px; margin-bottom: 2px; }
  .bb-crafted-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .bb-crafted-center { order: 1 !important; min-height: 72vw !important; }
  .bb-crafted-left { order: 2 !important; }
  .bb-crafted-right { display: none !important; }
  .bb-crafted-left-bot { display: none !important; }
  .bb-crafted-left-top .products {
    grid-template-columns: 1fr 1fr !important;
  }
  .bb-crafted-left li.product a img {
    aspect-ratio: 1/1 !important;
    height: auto !important;
  }

  /* Páginas internas móvil */
  .woocommerce-page .site-main { padding: 24px 16px 48px !important; }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }
  .woocommerce div.product {
    grid-template-columns: 1fr !important;
  }
  .woocommerce div.product .summary { grid-column: 1 !important; }
  .related.products ul.products,
  .upsells.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .bb-footer { padding: 40px 20px 24px; }
  .bb-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .bb-footer-bottom { flex-direction: column; gap: 14px; }
}

@media (max-width: 480px) {
  .bb-hero-title { font-size: 42px; }
  .bb-footer-grid { grid-template-columns: 1fr; }
  .bb-grid-card { height: 80vw; }
}

/* ============================================================
   FIX CRÍTICO — Páginas internas visibles
============================================================ */

/* El contenido principal SIEMPRE visible */
.site-content {
  position: relative !important;
  z-index: 2 !important;
  background: #fff !important;
  min-height: 60vh !important;
}

/* Páginas WooCommerce internas con padding correcto */
.woocommerce-account .site-main,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-order-received .site-main,
.post-type-archive-product .site-main,
.single-product .site-main {
  padding: 48px 40px 80px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: block !important;
  width: 100% !important;
  background: #fff !important;
}

/* Content area full width sin float */
.content-area {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Asegurar que el footer va DESPUÉS del contenido */
.site-footer {
  clear: both !important;
  position: relative !important;
  z-index: 1 !important;
}
.bb-footer {
  position: relative !important;
  z-index: 1 !important;
  clear: both !important;
}

/* Woocommerce account layout */
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}
.woocommerce-MyAccount-navigation {
  border-right: 0.5px solid #f0ece8 !important;
  padding-right: 32px !important;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-MyAccount-navigation li a {
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #aaa !important;
  text-decoration: none !important;
  display: block !important;
  padding: 10px 0 !important;
  border-bottom: 0.5px solid #f5f2ef !important;
  transition: color 0.2s !important;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  color: #1a1a1a !important;
}
.woocommerce-MyAccount-content {
  padding: 0 !important;
}

/* Mobile fix páginas internas */
@media (max-width: 768px) {
  .woocommerce-account .site-main,
  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main,
  .post-type-archive-product .site-main,
  .single-product .site-main {
    padding: 32px 16px 64px !important;
  }
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .woocommerce-MyAccount-navigation {
    border-right: none !important;
    border-bottom: 0.5px solid #f0ece8 !important;
    padding-right: 0 !important;
    padding-bottom: 24px !important;
  }
}
/* ============================================================
   OCULTAR BOTONES COMPARE Y ARREGLAR BOTONES PRODUCTO
============================================================ */

/* Ocultar Compare en todas partes */
.added_to_cart,
.compare-button,
a.compare { display: none !important; }

/* Read More — estilo limpio */
.woocommerce ul.products li.product a.button.product_type_simple,
.woocommerce ul.products li.product a.button.product_type_variable,
.woocommerce ul.products li.product a.read-more-button,
.woocommerce ul.products li.product .button {
  font-family: 'Jost', sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 0.5px solid #1a1a1a !important;
  color: #1a1a1a !important;
  padding: 8px 18px !important;
  border-radius: 0 !important;
  margin: 8px 14px 0 !important;
  display: inline-block !important;
  box-shadow: none !important;
  width: auto !important;
  transition: background 0.2s, color 0.2s !important;
}
.woocommerce ul.products li.product .button:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

/* Experience — imágenes cuadradas, sin botones feos */
.bb-experience-grid .products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2px !important;
}
.bb-experience-grid li.product a img {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
}

/* Crafted — ocultar botones en columnas laterales */
.bb-crafted-left li.product .button,
.bb-crafted-left li.product a.button,
.bb-crafted-right li.product .button,
.bb-crafted-right li.product a.button,
.bb-crafted-left .compare-button,
.bb-crafted-right .compare-button {
  display: none !important;
}

/* Crafted — productos cuadrados limpios */
.bb-crafted-left li.product,
.bb-crafted-right li.product {
  background: #faf9f7 !important;
  padding: 0 0 10px !important;
  margin: 0 !important;
}
.bb-crafted-left li.product a img,
.bb-crafted-right li.product a img {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  width: 100% !important;
  display: block !important;
}

/* Móvil — Experience 2 columnas */
@media (max-width: 768px) {
  .bb-experience-grid .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ============================================================
   CRAFTED — nuevo layout
============================================================ */
.bb-crafted-row1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #f0ece8;
  margin-bottom: 2px;
}

/* Foto cuadrada */
.bb-crafted-photo {
  position: relative;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.bb-crafted-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  color: #fff;
}
.bb-crafted-sub {
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.bb-crafted-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.bb-crafted-caption {
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}

/* 4 productos 2x2 derecha */
.bb-crafted-prods-top .products {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 2px !important;
  background: #f0ece8 !important;
  height: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bb-crafted-prods-top li.product {
  background: #faf9f7 !important;
  padding: 0 0 12px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.bb-crafted-prods-top li.product a img {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}
.bb-crafted-prods-top li.product .button,
.bb-crafted-prods-top li.product a.button {
  display: none !important;
}

/* Fila 2: 4 productos */
.bb-crafted-row2 .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #f0ece8 !important;
}
.bb-crafted-row2 li.product {
  background: #faf9f7 !important;
  padding: 0 0 12px !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.bb-crafted-row2 li.product a img {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}
.bb-crafted-row2 li.product .button,
.bb-crafted-row2 li.product a.button {
  display: none !important;
}

/* MÓVIL */
@media (max-width: 768px) {
  .bb-crafted-row1 { grid-template-columns: 1fr; }
  .bb-crafted-photo { aspect-ratio: 4/3; }
  .bb-crafted-prods-top .products {
    grid-template-columns: 1fr 1fr !important;
  }
  .bb-crafted-row2 .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}