/* ============================================================
   Besties — tienda a medida (layout del mockup aprobado)
   Solo afecta las páginas de la tienda (.oe_website_sale).
   Colores/tipografías del sitio en vivo.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Grandstander:wght@500;600;700;800&family=Sora:wght@400;500;600;700&display=swap');

:root{
  --b-azul:#025797; --b-azul2:#56b6ff; --b-ciruela:#472652;
  --b-crema:#f6e3d0; --b-crema2:#fbf3ea; --b-rosa:#f888a0; --b-lila:#987ada;
  --b-texto:#242627; --b-borde:#ece0d2;
}

.oe_website_sale, .oe_website_sale *{font-family:"Sora",system-ui,-apple-system,Arial,sans-serif;}
.oe_website_sale h1,.oe_website_sale h2,.oe_website_sale h3{font-family:"Grandstander","Sora",cursive;color:var(--b-ciruela);}

/* ancho cómodo */
.oe_website_sale.container{max-width:1200px;}

/* ---------- barra de aviso ---------- */
.b-aviso{background:#ffe9a8;color:#6b4e12;text-align:center;font-weight:600;
  font-size:.92rem;padding:9px 14px;border-radius:12px;margin:6px 0 14px;}

/* ---------- hero ---------- */
.b-hero{display:flex;gap:28px;align-items:center;background:var(--b-crema);
  border-radius:26px;padding:34px 38px;margin-bottom:26px;flex-wrap:wrap;}
.b-hero__col{flex:1 1 420px;min-width:300px;}
.b-hero__eyebrow{color:var(--b-rosa);font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;font-size:.78rem;margin-bottom:6px;}
.b-hero__title{font-family:"Grandstander",cursive;font-weight:800;color:var(--b-ciruela);
  font-size:2.6rem;line-height:1.05;margin:0 0 14px;}
.b-hero__sub{color:#5b4a52;font-size:1.02rem;max-width:34em;margin-bottom:20px;}
.b-hero__cta{display:flex;gap:12px;flex-wrap:wrap;}
.b-btn{display:inline-block;border-radius:12px;font-weight:700;padding:12px 22px;
  text-decoration:none;cursor:pointer;border:2px solid transparent;transition:.15s;}
.b-btn--primary{background:var(--b-azul);color:#fff !important;}
.b-btn--primary:hover{background:#024a81;}
.b-btn--ghost{background:#fff;color:var(--b-ciruela) !important;border-color:#e6cdb7;}
.b-btn--ghost:hover{background:#fff6ec;}
.b-hero__card{flex:0 0 300px;background:#fff;border-radius:20px;padding:26px 22px;
  text-align:center;box-shadow:0 10px 30px rgba(71,38,82,.08);}
.b-hero__card .iso{width:54px;height:54px;border-radius:50%;background:var(--b-crema2);
  display:inline-flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:8px;}
.b-hero__off{font-family:"Grandstander",cursive;font-weight:800;color:var(--b-rosa);
  font-size:2.3rem;line-height:1;margin:4px 0;}
.b-hero__card small{color:#6a5a62;}
.b-hero__card b{color:var(--b-azul);}

/* ---------- sección: encabezado con link ---------- */
.b-sec-head{display:flex;align-items:baseline;justify-content:space-between;
  margin:26px 0 14px;}
.b-sec-head h2{margin:0;font-size:1.7rem;font-weight:800;}
.b-sec-head a{color:var(--b-azul);font-weight:600;text-decoration:none;}
.b-sec-head a:hover{text-decoration:underline;}

/* ---------- chips de categoría ---------- */
.b-chips{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 8px;}
.b-chip{border:0;border-radius:999px;padding:9px 18px;font-weight:600;font-size:.92rem;
  background:#eaf4ff;color:var(--b-azul);text-decoration:none;transition:.15s;}
.b-chip:hover{background:#d8ebff;color:var(--b-azul);}
.b-chip--on{background:var(--b-azul);color:#fff;}

/* ---------- tarjetas de producto ---------- */
.oe_website_sale .oe_product_cart{background:#fff;border:1px solid var(--b-borde);
  border-radius:20px;overflow:hidden;padding:0;height:100%;transition:.15s;}
.oe_website_sale .oe_product_cart:hover{box-shadow:0 12px 26px rgba(71,38,82,.10);
  transform:translateY(-2px);}
.oe_website_sale .oe_product_cart form,
.oe_website_sale .oe_product_cart form>div{position:relative;display:flex;flex-direction:column;height:100%;}
/* Odoo ancla section e img en position:absolute; forzamos flujo normal en columna */
.oe_website_sale .oe_product_cart section{position:static !important;top:auto !important;
  bottom:auto !important;left:auto !important;right:auto !important;height:auto !important;
  width:auto !important;transform:none !important;order:1;}
.oe_website_sale .oe_product_cart .oe_product_image{position:relative !important;top:auto !important;
  left:auto !important;transform:none !important;order:0;}
.oe_website_sale .oe_product_cart .oe_product_image img{position:static !important;}
.oe_website_sale .oe_product_cart .b-card-foot{order:2;}
.oe_website_sale .oe_product_image{background:#fff;margin:0;padding:14px 14px 10px;
  height:210px !important;border-bottom:1px solid var(--b-borde);
  display:flex;align-items:center;justify-content:center;overflow:hidden;}
.oe_website_sale .oe_product_image a{display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;}
.oe_website_sale .oe_product_image span{display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;}
.oe_website_sale .oe_product_image img{max-height:188px !important;max-width:94% !important;
  width:auto !important;height:auto !important;object-fit:contain;mix-blend-mode:multiply;}
.oe_website_sale .oe_product_cart section, .oe_website_sale .oe_product_cart .b-card-body{
  padding:14px 16px 16px;display:flex;flex-direction:column;gap:3px;flex:1;}
.b-eyebrow{color:var(--b-lila);font-weight:700;text-transform:uppercase;
  letter-spacing:.07em;font-size:.72rem;}
.oe_website_sale .oe_product_cart h6{margin:0;}
.oe_website_sale .oe_product_cart h6 a[itemprop='name']{color:var(--b-texto) !important;
  font-weight:700;font-size:1rem;line-height:1.2;text-decoration:none;display:block;}
.b-desc{color:#8a7d84;font-size:.85rem;min-height:1.1em;}
.oe_website_sale .product_price{margin-top:auto;}
.oe_website_sale .product_price b span{color:var(--b-azul) !important;
  font-family:"Grandstander",cursive;font-weight:800;font-size:1.3rem;}
.b-iva{color:#9a8d94;font-size:.72rem;margin-top:-2px;}
.b-price-ask{margin-top:auto;color:var(--b-ciruela);font-family:"Grandstander",cursive;
  font-weight:700;font-size:1.05rem;}
.b-detail .b-price-ask{font-size:1.6rem;margin:6px 0 18px;}
.b-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:0 16px 16px;}
.b-add{background:var(--b-azul);color:#fff !important;border:0;border-radius:11px;
  padding:9px 18px;font-weight:700;text-decoration:none;font-size:.9rem;white-space:nowrap;}
.b-add:hover{background:#024a81;color:#fff !important;}
/* insignias */
.b-badge{position:absolute;top:12px;z-index:3;border-radius:999px;font-size:.72rem;
  font-weight:700;padding:5px 11px;color:#fff;}
.b-badge--pickup{left:12px;background:var(--b-azul);}
.b-badge--off{right:12px;background:var(--b-rosa);}
/* quitamos el ribbon "Sale" y el botón feo de Odoo */
.oe_website_sale .ribbon-wrapper{display:none;}
.oe_website_sale .oe_product_cart .btn-danger[title]{display:none;}

/* ---------- banda de servicios ---------- */
.b-servicios{background:var(--b-crema);border-radius:24px;padding:28px 30px;margin:34px 0;}
.b-serv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.b-serv{border-radius:18px;padding:22px;color:#fff;}
.b-serv .ico{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;font-size:20px;}
.b-serv h3{color:#fff;font-size:1.2rem;margin:0 0 6px;}
.b-serv p{margin:0 0 10px;opacity:.95;font-size:.92rem;}
.b-serv a{color:#fff;font-weight:700;text-decoration:none;}
.b-serv--azul{background:var(--b-azul2);} .b-serv--rosa{background:var(--b-rosa);}
.b-serv--lila{background:var(--b-lila);}

/* ---------- fila de confianza ---------- */
.b-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:26px 0 10px;}
.b-trust__it{display:flex;gap:12px;align-items:flex-start;}
.b-trust__ic{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#eaf4ff;
  display:flex;align-items:center;justify-content:center;font-size:19px;}
.b-trust__it b{color:var(--b-ciruela);display:block;font-size:.95rem;}
.b-trust__it span{color:#8a7d84;font-size:.82rem;}

@media(max-width:800px){
  .b-hero__title{font-size:2rem;} .b-serv-grid,.b-trust{grid-template-columns:1fr;}
}

/* ============================================================
   Detalle POR VARIANTE: galería grande + miniaturas + lightbox
   ============================================================ */
.b-detail{padding:14px 0 40px;}
.b-crumb{background:transparent;padding:6px 0;margin:0 0 10px;font-size:.9rem;}
.b-crumb a{color:var(--b-azul);text-decoration:none;}
.b-detail__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:start;}
@media(max-width:860px){.b-detail__grid{grid-template-columns:1fr;}}

/* galería */
.b-gal__main{position:relative;background:#fff;border:1px solid var(--b-borde);
  border-radius:20px;padding:18px;display:flex;align-items:center;justify-content:center;
  min-height:340px;}
.b-gal__img{max-width:100%;max-height:520px;width:auto;height:auto;cursor:zoom-in;
  object-fit:contain;}
.b-gal__zoomhint{position:absolute;right:14px;bottom:12px;background:rgba(36,38,39,.72);
  color:#fff;font-size:.74rem;padding:5px 10px;border-radius:20px;pointer-events:none;}
.b-gal__thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.b-gal__thumb{width:74px;height:74px;object-fit:contain;background:#fff;cursor:pointer;
  border:2px solid var(--b-borde);border-radius:14px;padding:6px;transition:.15s;}
.b-gal__thumb:hover{border-color:var(--b-azul2);}
.b-gal__thumb--on{border-color:var(--b-azul);}

/* info */
.b-info__title{font-size:2rem;line-height:1.1;margin:4px 0 8px;}
.b-info .b-eyebrow{color:var(--b-rosa);font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;font-size:.76rem;}
.b-info .b-desc{color:#5b4a52;font-size:1rem;margin:0 0 16px;}
.b-price{font-family:"Grandstander",cursive;font-weight:800;color:var(--b-ciruela);
  font-size:2rem;line-height:1;}
.b-info .b-iva{color:#8a7d84;font-size:.84rem;margin:2px 0 18px;}
.b-add--lg{display:inline-block;background:var(--b-azul);color:#fff !important;
  font-weight:700;border:0;border-radius:14px;padding:14px 30px;font-size:1.02rem;
  cursor:pointer;text-decoration:none;}
.b-add--lg:hover{background:#024a81;}
.b-badge--inline{position:static;display:inline-block;margin-top:14px;}

/* lightbox (imagen grande al frente de todo) */
.b-lightbox{position:fixed;inset:0;z-index:20000;background:rgba(20,16,24,.86);
  display:none;align-items:center;justify-content:center;cursor:zoom-out;padding:28px;}
.b-lightbox.on{display:flex;}
.b-lightbox img{max-width:92vw;max-height:92vh;width:auto;height:auto;
  border-radius:12px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.5);}
