/* Shop, product, cart, checkout (new site) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 11px; border: 0; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none !important; cursor: pointer; }
.btn-primary { background: #2F9ED0; color: #fff !important; box-shadow: 0 6px 16px rgba(47,158,208,.28); }
.btn-primary:hover { background: #2787B5; }
.btn-ghost { background: #fff; color: #1B2A4A !important; border: 1px solid #CBD5E1; }
.btn-block { width: 100%; }
.btn-lowes { background: #004990; color: #fff !important; min-height: 48px; }
.btn-lowes img { height: 22px; width: auto; }
.btn-lowes:hover { background: #003a75; }
.pill { background: #EAF6FB; color: #2F9ED0; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.muted { color: #64748B; } .small { font-size: 13px; }
.notice { background: #EAF6FB; border-radius: 10px; padding: 10px 14px; } .notice.err { background: #FDECEC; color: #B3261E; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; width: 1px; height: 1px; }
.link-btn { background: none; border: 0; padding: 0; color: #1F7FAE; text-decoration: underline; cursor: pointer; font: inherit; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: #1B2A4A !important; border: 1px solid #E4EAF0; border-radius: 16px; padding: 14px; background: #fff; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 10px 28px rgba(11,27,43,.10); transform: translateY(-2px); }
.product-card-img { aspect-ratio: 1; background: #F4F8FB; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card-name { font-weight: 700; line-height: 1.3; }
.product-card-price s { color: #94A3B8; margin-right: 4px; }
.product-card-note { font-size: 13px; color: #004990; font-weight: 600; }

.pdp { max-width: 1100px; margin: 0 auto; padding: 28px 18px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pdp-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: #F4F8FB; border-radius: 16px; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumb { width: 64px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: 10px; background: #F4F8FB; cursor: pointer; }
.pdp-thumb.on { border-color: #2F9ED0; } .pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-title { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; margin: 0 0 8px; font-weight: 800; }
.pdp-price { font-size: 24px; margin: 0 0 12px; } .pdp-price s { color: #94A3B8; font-size: 18px; }
.pdp-form { display: grid; gap: 10px; margin: 16px 0; }
.pdp-label { font-weight: 700; font-size: 14px; }
.pdp-form select, .pdp-qty, .checkout-main input, .checkout-main select, .checkout-main textarea { font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid #D5DEE8; border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.pdp-row { display: flex; gap: 10px; } .pdp-qty { width: 84px; flex: 0 0 auto; }
.pdp-desc { margin-top: 24px; font-size: 15px; } .pdp-note { color: #64748B; font-size: 14px; }

.cart-wrap, .checkout-wrap { max-width: 1000px; margin: 0 auto; padding: 28px 18px 56px; }
.cart-table { width: 100%; border-collapse: collapse; } .cart-table th, .cart-table td { padding: 12px 8px; border-bottom: 1px solid #E4EAF0; text-align: left; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 12px; } .cart-prod img { border-radius: 8px; object-fit: contain; background: #F4F8FB; }
.cart-actions { margin: 14px 0; } .cart-totals { max-width: 340px; margin-left: auto; text-align: right; display: grid; gap: 8px; }
.ship-bar { background: #EAF6FB; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; text-align: center; font-weight: 600; }
.ship-bar-track { height: 8px; background: #D3EAF4; border-radius: 99px; overflow: hidden; } .ship-bar-fill { height: 100%; background: #2F9ED0; border-radius: 99px; }
.ship-bar.done .ship-bar-fill { background: #8EC33F; } .ship-bar p { margin: 8px 0 0; }

.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.checkout-main label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 12px; } .checkout-main label input, .checkout-main label select, .checkout-main label textarea { margin-top: 4px; }
.checkout-main h2, .checkout-side h2 { font-size: 18px; margin: 20px 0 10px; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; } .field-err { display: block; color: #B3261E; font-weight: 500; margin-top: 3px; }
.rates { display: grid; gap: 8px; margin-bottom: 8px; } .rate { display: flex !important; align-items: center; gap: 10px; border: 1.5px solid #D5DEE8; border-radius: 10px; padding: 10px 12px; font-weight: 600; } .rate input { width: auto !important; margin: 0 !important; } .rate span { flex: 1; }
.checkout-side { background: #F7FAFC; border: 1px solid #E4EAF0; border-radius: 16px; padding: 18px; position: sticky; top: 90px; }
.sum-lines { list-style: none; margin: 0 0 8px; padding: 0; } .sum-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; margin: 6px 0; } .sum-row.total { font-size: 19px; border-top: 1px solid #E4EAF0; padding-top: 10px; margin-top: 10px; }
.wallet-pay { display: grid; gap: 10px; margin-bottom: 12px; } #googlePayBtn { min-height: 48px; } .apple-pay-btn { -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: black; height: 48px; width: 100%; border: 0; border-radius: 10px; cursor: pointer; } .apple-pay-btn[hidden], #googlePayBtn[hidden] { display: none; } .wallet-or { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; color: #5B6B7D; font-size: .9rem; } .wallet-or::before, .wallet-or::after { content: ''; flex: 1; height: 1px; background: #D5DEE8; }
.btn-paypal { margin-top: 10px; background: #FFC439; color: #003087; border: 0; border-radius: 10px; font-weight: 600; cursor: pointer; padding: 13px 16px; font-size: 1rem; } .btn-paypal:hover { background: #F2B72E; }
.addr-check { margin: -4px 0 12px; padding: 9px 12px; border-radius: 10px; font-size: .92rem; } .addr-check[hidden] { display: none; } .addr-check.ok { background: #EEF7E6; color: #3F6B16; } .addr-check.suggest { background: #FFF8E1; color: #6B4E00; } .addr-check.warn { background: #FDECEA; color: #8A1F17; } .addr-check .link-btn { margin-left: 6px; font-weight: 600; }
#card-container { min-height: 90px; border: 1.5px solid #D5DEE8; border-radius: 10px; padding: 6px; background: #fff; }
@media (max-width: 800px) { .pdp, .checkout-grid { grid-template-columns: 1fr; gap: 22px; } .checkout-side { position: static; } .row3 { grid-template-columns: 1fr 1fr; } .row3 label:first-child { grid-column: 1 / -1; } }

.coupon-box { max-width: 460px; margin: 0 0 18px; } .coupon-box p { margin: 0; }
.gift-pick { background: #F1F8E6; border: 1px solid #CFE3A8; border-radius: 12px; padding: 14px; margin-bottom: 16px; display: grid; gap: 8px; }
.check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; } .check input { width: auto !important; margin-top: 3px !important; }
.sub-box { border: 1.5px solid #D5DEE8; border-radius: 12px; padding: 4px 12px; margin: 6px 0 4px; display: grid; gap: 2px; }
.sub-opt { display: flex !important; gap: 10px; align-items: center; padding: 10px 0; font-weight: 600; border-bottom: 1px solid #EEF2F6; } .sub-opt:last-child { border-bottom: 0; } .sub-opt input[type=radio] { width: auto; }
.sub-opt .grow { flex: 1; } .sub-freq { padding: 0 0 10px 28px; } .sub-freq select { max-width: 220px; }
.acct-wrap { max-width: 780px; margin: 0 auto; padding: 28px 18px 56px; } .acct-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.acct-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid #D5DEE8; text-decoration: none; color: #1B2A4A !important; font-weight: 600; } .acct-tabs a.on { background: #2F9ED0; border-color: #2F9ED0; color: #fff !important; }
.acct-card { border: 1px solid #E4EAF0; border-radius: 14px; padding: 16px; margin-bottom: 14px; background: #fff; }
.st-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #E9EEF4; } .st-pill.active { background: #E3F4D0; color: #3C6A0E; } .st-pill.on_hold, .st-pill.paused { background: #FFF4D6; color: #7A5A00; } .st-pill.cancelled { background: #FDECEC; color: #B3261E; }
.acct-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } .acct-forms label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 12px; } .acct-forms input { font: inherit; padding: 11px 12px; border: 1.5px solid #D5DEE8; border-radius: 10px; width: 100%; box-sizing: border-box; margin-top: 4px; }
@media (max-width: 700px) { .acct-forms { grid-template-columns: 1fr; } }

/* Product reviews */
.reviews{max-width:860px;margin:40px auto;padding:0 16px}
.reviews h2{margin:0 0 8px}.reviews h3{margin:28px 0 10px}
.rv-sum{color:#4B5A73}.rv-stars{color:#F5A623;letter-spacing:2px}
.rv{border-top:1px solid #e5e8ec;padding:14px 0}.rv p{margin:6px 0 0}
.rv-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.rv-head time{color:#94A3B8;font-size:13px;margin-left:auto}
.rv-badge{background:#e8f6ee;color:#15803d;font-size:12px;font-weight:600;padding:2px 8px;border-radius:20px}
.rv-form{display:grid;gap:12px}.rv-form label{display:grid;gap:4px;font-weight:600;font-size:14px}
.rv-form input[type=text],.rv-form input[type=email],.rv-form textarea{font:inherit;padding:10px;border:1px solid #cfd6df;border-radius:8px}
.rv-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:600px){.rv-row{grid-template-columns:1fr}}
.rv-rate{border:0;padding:0;margin:0;display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.rv-rate legend{float:left;margin-right:12px;font-weight:600;font-size:14px}
.rv-rate input{position:absolute;opacity:0}
.rv-rate label{font-size:30px;color:#cfd6df;cursor:pointer;line-height:1}
.rv-rate input:checked~label,.rv-rate label:hover,.rv-rate label:hover~label{color:#F5A623}
.rv-rate input:focus-visible+label{outline:2px solid #2F9ED0}

/* Checkout header, promo row, billing */
.co-head { text-align: center; margin: 0 0 22px; } .co-head h1 { font-size: clamp(30px, 4.5vw, 40px); font-weight: 800; margin: 0 0 8px; line-height: 1.1; }
.co-head p { margin: 0; color: #64748B; font-size: 15px; }
.ship-bar { border: 1px solid #D3EAF4; }
.co-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; align-items: start; }
.co-coupon { background: #EAF4FB; border: 1px solid #C9E1F1; border-radius: 10px; padding: 0; } .co-coupon summary { cursor: pointer; padding: 14px 16px; list-style: none; color: #2B6B92; font-size: 14px; }
.co-coupon summary::-webkit-details-marker { display: none; } .co-coupon summary b { color: #1B7BB0; } .co-coupon .coupon-box { margin: 0; padding: 0 16px 14px; max-width: none; }
.co-student { display: block; background: #F1F8E6; border: 1px solid #CFE3A8; border-radius: 10px; padding: 14px 16px; text-align: center; color: #4A6B1C; font-size: 15px; text-decoration: none; }
.co-student:hover { background: #E8F3D6; }
.bill-box { border: 1.5px solid #D5DEE8; border-radius: 12px; padding: 14px 14px 2px; margin: 8px 0 14px; background: #FAFCFE; }
.small { font-size: 13px; } select[hidden], input[hidden] { display: none !important; }
@media (max-width: 800px) { .co-promos { grid-template-columns: 1fr; } }
.ship-bar[hidden]{display:none}
/* "Placing your order" overlay: the InstaSteam icon turning slowly in the middle of the screen */
#isBusy { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
#isBusy[hidden] { display: none; }
#isBusy img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 6px 22px rgba(20,40,70,.28); animation: isSpin 2.8s linear infinite; }
#isBusy .is-busy-txt { font-weight: 700; font-size: 16px; color: #1B2A4A; }
@keyframes isSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #isBusy img { animation-duration: 8s; } }
