/* BetterBio product cards, based on the supplied card references. */
.bb-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;align-items:stretch}
.bb-product-card[data-bbs-card-v4]{position:relative;display:flex;flex-direction:column;min-width:0;container-type:inline-size;background:#fff;border:1px solid #dfe7e0;border-radius:22px;box-shadow:0 6px 20px rgba(24,61,43,.055);overflow:hidden;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease}
.bb-product-card[data-bbs-card-v4]:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,43,.09)}
.bb-product-card[data-bbs-card-v4] .bb-product-picture{position:relative;display:block;flex:none;width:100%;height:auto;aspect-ratio:4/5;margin:0;padding:0;background:#fff;border:0;border-bottom:1px solid #e7ece8;border-radius:0;overflow:hidden}
.bb-product-card[data-bbs-card-v4] .bb-product-picture img{position:absolute;top:8px;left:-15%;display:block;width:130%;max-width:none;height:auto;margin:0;object-fit:contain;mix-blend-mode:normal;filter:none;border-radius:0;transform:none}
.bb-product-card[data-bbs-card-v4] .bbs-card-origin{position:absolute;z-index:2;top:14px;right:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:76px;min-height:73px;padding:9px 5px;border:1px solid #dce6dc;border-radius:14px;background:rgba(255,255,255,.96);color:#254b35;text-align:center;pointer-events:none;box-shadow:0 2px 8px rgba(24,61,43,.04)}
.bb-product-card[data-bbs-card-v4] .bbs-card-origin img{position:static;display:block;width:28px;height:15px;max-width:none;margin:0;border:0;border-radius:2px;object-fit:contain;filter:none;transform:none}
.bb-product-card[data-bbs-card-v4] .bbs-card-origin>span{font-family:inherit;font-size:10px;font-weight:750;line-height:1.2;letter-spacing:.02em}
.bb-product-card[data-bbs-card-v4] .bb-product-card-body{display:flex;flex:1;flex-direction:column;gap:0;min-height:238px;padding:20px;background:#fff}
.bb-product-card[data-bbs-card-v4] .bb-product-category{order:1;display:block;overflow:hidden;margin:0 0 10px;color:#718579;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.09em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.bb-product-card[data-bbs-card-v4] h2{order:2;display:-webkit-box;overflow:hidden;min-height:48px;margin:0 0 12px;color:#173d2c;font-family:inherit;font-size:20px;font-weight:750;line-height:1.2;letter-spacing:-.025em;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bb-product-card[data-bbs-card-v4] h2 a{color:inherit;text-decoration:none}
.bb-product-card[data-bbs-card-v4] .bb-card-description{display:none}
.bb-product-card[data-bbs-card-v4] .bb-price-line{order:3;display:flex;align-items:baseline;gap:8px;margin:0;color:#173d2c;font-family:inherit;font-size:26px;font-weight:750;line-height:1.15;letter-spacing:-.025em}
.bb-product-card[data-bbs-card-v4] .bb-price-line span{font-size:inherit;font-weight:inherit;color:inherit}
.bb-product-card[data-bbs-card-v4] .bb-price-line del{font-size:15px;font-weight:400;color:#7c8c80}
.bb-product-card[data-bbs-card-v4] .bbs-welcome15-card-price{order:4;min-height:29px;margin:8px 0 17px;padding:0;border:0;border-radius:0;background:transparent;color:#6c7d70;line-height:1.4;box-shadow:none}
.bb-product-card[data-bbs-card-v4] .bbs-welcome15-card-price__label{display:inline;margin:0;color:#6c7d70;font-family:inherit;font-size:clamp(11px,3cqw,13px);font-weight:500;letter-spacing:0;text-transform:none}
.bb-product-card[data-bbs-card-v4] .bbs-welcome15-card-price__price{margin-left:4px;color:#315b43;font-family:inherit;font-size:12px;font-weight:650}
.bb-product-card[data-bbs-card-v4] .bbs-welcome15-card-price__note{display:none}
.bb-product-card[data-bbs-card-v4] .bb-card-actions{order:5;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:10px;margin-top:auto;padding-top:15px;border:0}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>a,.bb-product-card[data-bbs-card-v4] .bb-card-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;margin:0;padding:10px 12px;border:1px solid #8da394;border-radius:999px;background:#fff;color:#173d2c;font-family:inherit;font-size:14px;font-weight:650;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>button{border-color:#123b29;background:#123b29;color:#fff}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>a:hover{border-color:#315e43;background:#f3f7f3}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>button:hover{border-color:#24543a;background:#24543a}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>button span{font-size:19px;font-weight:400;line-height:1}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>button:disabled{border-color:#dbe3dc;background:#e8ede8;color:#7b8e80;cursor:not-allowed}
.bb-product-card[data-bbs-card-v4] h2{font-size:clamp(20px,6.5cqw,28px);min-height:2.4em}
.bb-product-card[data-bbs-card-v4] .bb-price-line{font-size:clamp(26px,7.5cqw,36px)}
.bb-product-card[data-bbs-card-v4] .bb-product-category{font-size:clamp(10px,2.8cqw,13px)}
.bb-product-card[data-bbs-card-v4] .bb-card-actions>a,.bb-product-card[data-bbs-card-v4] .bb-card-actions>button{font-size:clamp(14px,4.3cqw,18px);min-height:clamp(46px,13cqw,58px)}
.bb-product-card[data-bbs-card-v4] :is(a,button):focus-visible{outline:3px solid #91ad88;outline-offset:3px}
.bbs-products-grid:has(>.bb-product-card[data-bbs-card-v4]){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.bbs-new-product-card.bb-product-card[data-bbs-card-v4]{background:#fff!important;border:1px solid #dfe7e0!important;border-radius:22px!important;box-shadow:0 6px 20px rgba(24,61,43,.055)!important;overflow:hidden;transform:none}
.bbs-new-product-card.bb-product-card[data-bbs-card-v4]:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(24,61,43,.09)!important}
.bbs-new-product-card.bb-product-card[data-bbs-card-v4] .bb-product-card-body{background:#fff!important}
.bbs-new-product-card.bb-product-card[data-bbs-card-v4] .bbs-new-product-badge{position:absolute;z-index:2;left:16px;top:20px;background:#edf4ec;color:#37613d;border-radius:999px;padding:5px 10px;font-size:10px;line-height:1.3}
@media(max-width:1100px){.bb-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbs-products-grid:has(>.bb-product-card[data-bbs-card-v4]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.bb-product-grid,.bbs-products-grid:has(>.bb-product-card[data-bbs-card-v4]){grid-template-columns:minmax(0,1fr);gap:22px}.bb-product-card[data-bbs-card-v4] .bb-product-card-body{padding:22px}.bb-product-card[data-bbs-card-v4] h2{font-size:22px;min-height:0}.bb-product-card[data-bbs-card-v4] .bb-card-actions>a,.bb-product-card[data-bbs-card-v4] .bb-card-actions>button{min-height:50px;font-size:16px}.bb-product-card[data-bbs-card-v4] .bb-product-category{font-size:11px}.bb-product-card[data-bbs-card-v4] .bbs-welcome15-card-price__label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bb-product-card[data-bbs-card-v4]{transition:none}.bb-product-card[data-bbs-card-v4]:hover{transform:none}}

/* Batch documentation link: a separate footer keeps the CAS text visible. */
.bb-product-card[data-bbs-card-v4] .bbs-card-media{position:relative;flex:none;min-width:0;padding-bottom:58px;border-bottom:1px solid #e7ece8;background:#fff}
.bb-product-card[data-bbs-card-v4] .bbs-card-media .bb-product-picture{border-bottom:0}
.bb-product-card[data-bbs-card-v4] .bbs-card-coa-pill{position:absolute;z-index:2;left:16px;bottom:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;margin:0;padding:7px 13px;border:1px solid #dfe6e0;border-radius:999px;background:#fff;color:#274b36;font-family:inherit;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;box-shadow:0 3px 10px rgba(24,61,43,.1);transition:border-color .18s,background .18s}
.bb-product-card[data-bbs-card-v4] .bbs-card-coa-pill:hover{background:#f3f7f3;border-color:#91a898}
.bb-product-card[data-bbs-card-v4] .bbs-card-coa-pill>span{text-decoration:underline;text-underline-offset:3px}
.bb-product-card[data-bbs-card-v4] .bbs-card-coa-pill svg{position:static;display:block;flex:none;width:15px;height:15px;margin:0;color:#356b45}
.bb-product-card[data-bbs-card-v4] .bbs-card-coa-pill svg:last-child{width:12px;height:12px;color:#6b7d70}
