/* Product page: key-info spec table, bacteriostatic water add-on, cart reminder.
   Loaded after buydeus.css (see inc/water-addon.php). */

/* ---------- key info: one clean spec table ---------- */
body.bd-keyinfo .bd-keyinfo{margin:16px 0 8px}
body.bd-keyinfo .bd-keyinfo__h{display:block;font-size:17px!important;font-weight:700;margin:0 0 10px!important;color:var(--bd-ink,#222)}
body.bd-keyinfo .bd-facts{display:block;margin:0;padding:0;border:1px solid var(--bd-line,#e1e8f2)!important;border-radius:10px;background:#fff;overflow:hidden}
body.bd-keyinfo .bd-facts .bd-facts__row{display:grid!important;grid-template-columns:140px minmax(0,1fr);gap:16px;align-items:baseline;margin:0!important;padding:10px 16px!important;border:0!important;border-bottom:1px solid var(--bd-line,#e1e8f2)!important;border-radius:0;background:transparent}
body.bd-keyinfo .bd-facts .bd-facts__row:nth-child(even){background:#f7f9fc}
body.bd-keyinfo .bd-facts .bd-facts__row:last-child{border-bottom:0!important}
body.bd-keyinfo .bd-facts .bd-facts__row dt{margin:0;font-size:13px;font-weight:500;line-height:1.4;color:var(--bd-muted,#5b6b80)}
body.bd-keyinfo .bd-facts .bd-facts__row dd{margin:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--bd-ink,#222);overflow-wrap:anywhere}
body.bd-keyinfo .bd-facts .bd-facts__row.is-expired dd{color:#b42318}
body.bd-keyinfo .bd-keyinfo__lab{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding:9px 14px;border-radius:8px;background:#f2f4f7;color:#3d4a5c;font-size:13px;font-weight:600;line-height:1.4}
body.bd-keyinfo .bd-keyinfo__lab:before{content:"";flex:0 0 14px;width:14px;height:14px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d4a5c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6L4.5 19a1.5 1.5 0 0 0 1.3 2.2h12.4a1.5 1.5 0 0 0 1.3-2.2L14 9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E")}
@media(max-width:560px){
  body.bd-keyinfo .bd-facts .bd-facts__row{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:9px 12px!important}
}
@media(max-width:360px){
  body.bd-keyinfo .bd-facts .bd-facts__row{grid-template-columns:1fr;gap:2px}
}

/* ---------- bacteriostatic water add-on (inside the cart form) ---------- */
.bd-buybox form.cart .bd-water,.summary form.cart .bd-water{display:grid;grid-template-columns:68px minmax(0,1fr);grid-template-areas:"img txt" "main main";column-gap:12px;row-gap:10px;align-items:start;margin:0 0 4px;padding:12px;border:1.5px solid var(--bd-line,#e1e8f2);border-radius:10px;background:var(--bd-soft,#eef4ff);box-sizing:border-box;width:100%;grid-column:1;grid-row:2;transition:border-color .15s,box-shadow .15s,background .15s}
.bd-water:hover{border-color:var(--bd-blue,#0b5bd3)}
.bd-water:has(input:checked){border-color:var(--bd-blue,#0b5bd3);background:#fff;box-shadow:0 0 0 3px rgba(11,91,211,.14)}
.bd-water:has(input:focus-visible){outline:2px solid var(--bd-blue,#0b5bd3);outline-offset:2px}
.bd-water__img{grid-area:img;display:block;width:68px;height:68px;border-radius:8px;background:#fff;border:1px solid var(--bd-line,#e1e8f2);overflow:hidden}
.bd-water__img img{display:block;width:100%;height:100%;object-fit:contain;margin:0;padding:3px;box-sizing:border-box}
.bd-water__txt{grid-area:txt;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.3}
.bd-water__txt b{font-size:14px;font-weight:700;color:var(--bd-ink,#222)}
.bd-water__txt small{font-size:12px;color:var(--bd-muted,#5b6b80)}
.bd-water__price{font-size:13px;font-weight:700;color:var(--bd-ink,#222);white-space:nowrap}
.bd-water__price del{display:none}
.bd-water__price ins{text-decoration:none;background:transparent;color:inherit}
.bd-water__more{font-size:12px;font-weight:600;color:var(--bd-blue,#0b5bd3)!important;text-decoration:underline;align-self:flex-start}
.bd-water__main{grid-area:main;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border-radius:8px;background:#fff;border:1px solid var(--bd-line,#e1e8f2);cursor:pointer;font-size:14px;font-weight:700;color:var(--bd-ink,#222)}
.bd-water__main input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:var(--bd-blue,#0b5bd3);cursor:pointer}
.bd-buybox form.cart:has(.bd-water) .single_add_to_cart_button{grid-row:3!important}

/* ---------- why the price is reduced ---------- */
.bd-why{display:flex;flex-direction:column;gap:2px;margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff4e5;border:1px solid #ffd8a8;color:#7a3e00;font-size:12.5px;line-height:1.4}
.bd-why b{font-size:13.5px;color:#b4440a}
.bd-why__code{margin-top:4px;color:#5c3000}
.bd-why__code code{display:inline-block;padding:1px 7px;border-radius:5px;background:#fff;border:1px dashed #e8a05a;font-weight:700;font-size:12.5px;color:#7a3e00}

/* ---------- cart page / side cart reminder ---------- */
.bd-waterbar{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:12px 16px;border:1px solid #cfe0fb;border-radius:12px;background:var(--bd-soft,#eef4ff)}
.bd-waterbar__t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.35;color:var(--bd-muted,#5b6b80)}
.bd-waterbar__t b{font-size:14px;color:var(--bd-ink,#222)}
.bd-waterbar__btn{flex:0 0 auto;display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;background:var(--bd-blue,#0b5bd3);color:#fff!important;font-size:14px;font-weight:700;text-decoration:none!important;white-space:nowrap}
.bd-waterbar__btn:hover{background:var(--bd-blue-dark,#08306b)}
.bd-waterbar--compact{flex-direction:column;align-items:stretch;gap:10px;margin:10px 0;padding:12px}
.bd-waterbar--compact .bd-waterbar__btn{justify-content:center}
@media(max-width:560px){
  .bd-waterbar:not(.bd-waterbar--compact){flex-direction:column;align-items:stretch}
  .bd-waterbar:not(.bd-waterbar--compact) .bd-waterbar__btn{justify-content:center}
}

/* ---------- side margins on product pages (the information box and sections touched the screen edges) ---------- */
@media(max-width:1340px){
  body.single-product .bd-info{margin-left:16px!important;margin-right:16px!important;max-width:none}
  body.single-product .woocommerce-tabs,body.single-product .related-wrapper,body.single-product .bd-rv,body.single-product #bd-rv{margin-left:16px;margin-right:16px}
}
@media(max-width:560px){
  body.single-product .bd-info{margin:24px 12px 20px!important}
  body.single-product .bd-info__block{grid-template-columns:1fr!important;gap:8px}
}

/* ---------- brand (Held) long text: same look as the Deus sections ---------- */
body.single-product .bd-info__long h2,body.single-product .bd-info__long h3,body.single-product .bd-info__long h4{font-family:inherit;color:var(--bd-ink,#222)}
body.single-product .bd-info__block--brand .bd-info__long,body.single-product .bd-info__block--about .bd-info__long{border-top:0;padding-top:0;margin-top:0}
body.single-product .bd-info__long h5,body.single-product .bd-info__long h6{font-family:inherit;font-size:15px;font-weight:800;line-height:1.35;margin:18px 0 8px;color:var(--bd-ink,#222)}
