/* BCFA V4.4 — Shopping Experience */
:root{--shop-shadow:0 26px 70px rgba(7,17,92,.20)}
.product-card{position:relative}
.product-card:hover .product-media img{transform:scale(1.035)}
.product-quick-tools{position:absolute;right:12px;top:12px;z-index:4;display:grid;gap:8px}
.product-quick-tools button{width:40px;height:40px;border:1px solid rgba(7,17,92,.1);border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(7,17,92,.12);display:grid;place-items:center;color:var(--navy);font-size:18px;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease}
.product-quick-tools button:hover{transform:translateY(-2px);background:var(--navy);color:#fff}
.product-quick-tools .is-favorite{background:#effbf4;color:var(--green);border-color:rgba(20,201,107,.22)}
.product-details-btn{width:100%;margin-top:10px;border:0;background:transparent;color:var(--navy);font-weight:850;cursor:pointer;padding:8px 0;text-decoration:underline;text-underline-offset:5px}
.product-details-btn:hover{color:var(--green)}

.shop-experience-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 22px;padding:13px 15px;border:1px solid var(--line);background:#fff;border-radius:18px;box-shadow:0 10px 34px rgba(7,17,92,.06)}
.shop-experience-copy{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.shop-experience-copy b{color:var(--navy)}
.favorites-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #dfe6f4;background:#f8fbff;color:var(--navy);border-radius:999px;padding:10px 15px;font-weight:850;cursor:pointer}.favorites-toggle.active{background:#effbf4;border-color:rgba(20,201,107,.3);color:#08783d}.favorites-count{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:12px}.favorites-toggle.active .favorites-count{background:var(--green)}

.product-modal{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:24px;background:rgba(3,10,53,.68);backdrop-filter:blur(15px);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.product-modal.open{opacity:1;visibility:visible}
.product-modal-panel{width:min(980px,100%);max-height:min(90dvh,820px);overflow:auto;background:#fff;border-radius:30px;box-shadow:var(--shop-shadow);position:relative;transform:translateY(14px) scale(.985);transition:transform .26s cubic-bezier(.2,.8,.2,1)}
.product-modal.open .product-modal-panel{transform:none}
.product-modal-close{position:sticky;float:right;top:14px;right:14px;margin:14px 14px 0 0;z-index:8;width:44px;height:44px;border:0;border-radius:50%;background:#eef3fb;color:var(--navy);font-size:26px;cursor:pointer;box-shadow:0 8px 18px rgba(7,17,92,.1)}
.product-modal-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:0;clear:both}
.product-modal-media{min-height:520px;background:linear-gradient(145deg,#f7fbff,#eaf3ff);display:grid;place-items:center;padding:34px;overflow:hidden;border-radius:30px 0 0 30px}
.product-modal-media img{width:100%;height:100%;max-height:500px;object-fit:contain;filter:drop-shadow(0 24px 34px rgba(7,17,92,.12))}
.product-modal-placeholder{display:grid;place-items:center;text-align:center;gap:12px;color:var(--navy)}.product-modal-placeholder span{font-size:82px}.product-modal-placeholder small{color:var(--muted);font-weight:750}
.product-modal-copy{padding:42px 38px 34px}.product-modal-kicker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.product-modal-kicker span{border-radius:999px;background:#eef5ff;padding:7px 11px;color:var(--navy);font-weight:800;font-size:12px}.product-modal-kicker span:first-child{background:#eafaf1;color:#08783d}.product-modal-copy h2{font-size:clamp(2rem,4vw,3.35rem);line-height:1.03;color:var(--navy);margin:.15em 0 .35em;letter-spacing:-.04em}.product-modal-description{color:var(--muted);font-size:1.04rem;line-height:1.65}
.product-modal-price{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.product-modal-price>div{padding:16px;border-radius:18px;background:#f7f9fd;border:1px solid #e8edf6}.product-modal-price small{display:block;color:var(--muted);font-weight:750}.product-modal-price strong{display:block;color:var(--navy);font-size:22px;margin-top:4px}.product-modal-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 22px}.product-modal-specs span{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f5;color:var(--muted);font-size:14px}.product-modal-specs b{color:var(--navy);text-align:right}
.product-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-modal-actions .btn{min-height:50px}.product-modal-actions .wide{grid-column:1/-1}.product-modal-note{margin-top:14px;font-size:12px;color:var(--muted);line-height:1.5}

.recent-section{margin-top:34px;padding-top:28px;border-top:1px solid var(--line)}.recent-section[hidden]{display:none}.recent-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:16px}.recent-head h2{margin:0;color:var(--navy);font-size:clamp(1.35rem,3vw,2rem)}.recent-head p{margin:5px 0 0;color:var(--muted)}.recent-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.recent-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:14px;display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;box-shadow:0 8px 28px rgba(7,17,92,.05);cursor:pointer}.recent-card-media{width:58px;height:58px;border-radius:15px;background:#f3f7fd;display:grid;place-items:center;overflow:hidden}.recent-card-media img{width:100%;height:100%;object-fit:contain}.recent-card-media span{font-size:28px}.recent-card b{color:var(--navy);line-height:1.15}.recent-card small{display:block;color:var(--muted);margin-top:4px}.recent-card:hover{border-color:rgba(20,201,107,.35);transform:translateY(-2px)}

body.modal-open{overflow:hidden}
@media(max-width:900px){.product-modal{padding:10px}.product-modal-panel{max-height:94dvh;border-radius:26px}.product-modal-layout{grid-template-columns:1fr}.product-modal-media{min-height:300px;max-height:340px;border-radius:26px 26px 0 0;padding:20px}.product-modal-copy{padding:24px 20px 98px}.product-modal-close{position:absolute}.recent-products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-modal-actions{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.4),#fff 24%);padding-top:14px;z-index:3}}
@media(max-width:600px){.shop-experience-bar{align-items:flex-start;flex-direction:column}.favorites-toggle{width:100%;justify-content:center}.product-modal-price,.product-modal-specs{grid-template-columns:1fr}.product-modal-actions{grid-template-columns:1fr}.product-modal-actions .wide{grid-column:auto}.recent-products{grid-template-columns:1fr}.product-quick-tools{right:9px;top:9px}.product-quick-tools button{width:38px;height:38px}.product-modal-copy h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.product-modal,.product-modal-panel,.recent-card,.product-quick-tools button{transition:none!important}}
.product-modal-actions .is-favorite{background:#effbf4!important;color:#08783d!important;border-color:rgba(20,201,107,.3)!important}
