/* Shop page */
.shop { background: linear-gradient(180deg, #eef3fa 0%, #f5f7fb 240px); margin-top: -1rem; padding: 2rem 0 3.5rem; min-height: calc(100vh - 120px); }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.shop-head h1 { color: #0a2342; font-weight: 800; font-size: 2rem; letter-spacing: -.02em; }
.shop-head p { max-width: 640px; }
.shop-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #009ef7; margin-bottom: .35rem; }
.shop-tabs { background: #fff; padding: .3rem; border-radius: 999px; box-shadow: 0 4px 16px rgba(10,35,66,.06); }
.shop-tabs .nav-link { color: #0a2342; border-radius: 999px; padding: .45rem 1rem; font-weight: 500; }
.shop-tabs .nav-link .badge { background: #009ef7; }
.shop-tabs .nav-link.active { background: #0a2342; color: #fff; }
.shop-tabs .nav-link.active .badge { background: #fff; color: #0a2342; }

.shop-steps { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; color: #8a97a6; }
.shop-steps li { display: flex; align-items: center; gap: .5rem; }
.shop-steps li span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cfd8e3; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.shop-steps li.done { color: #0a2342; font-weight: 600; }
.shop-steps li.done span { background: #009ef7; border-color: #009ef7; color: #fff; }

.shop-panel { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 16px rgba(10,35,66,.06); }
.shop-panel h5 { color: #0a2342; font-weight: 700; }
.sticky-side { position: sticky; top: 90px; }

/* Product cards */
.product-card { background: #fff; border-radius: 18px; box-shadow: 0 4px 16px rgba(10,35,66,.06); height: 100%; display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; border: 1px solid rgba(10,35,66,.05); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,35,66,.14); }
.product-img { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img.wired { background: radial-gradient(circle at 30% 20%, #e3f2ff 0%, #f0f4f9 60%); }
.product-img.battery { background: radial-gradient(circle at 30% 20%, #e4f8ec 0%, #f0f4f9 60%); }
.product-img img { max-height: 200px; max-width: 80%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(10,35,66,.18)); transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img .bi { font-size: 3.5rem; color: #009ef7; }
.product-badge { position: absolute; top: 1rem; left: 1rem; padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #fff; box-shadow: 0 2px 8px rgba(10,35,66,.1); }
.product-badge.wired { color: #0a6fb8; }
.product-badge.battery { color: #1e8a4c; }
.product-body { padding: 1.35rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { color: #0a2342; font-weight: 700; margin-bottom: 0; font-size: 1.3rem; }
.product-body > p { margin: .75rem 0; }
.product-price .price { font-size: 1.7rem; font-weight: 800; color: #0a2342; line-height: 1; }
.product-price .sub { font-size: .8rem; color: #6c757d; margin-left: .15rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: #33424f; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; }
.feature-list .bi { color: #009ef7; flex-shrink: 0; margin-top: .1rem; }
.product-details { font-size: .88rem; background: #f5f7fb; border-radius: 10px; padding: .6rem .9rem; margin-bottom: 1rem; }
.product-details summary { cursor: pointer; font-weight: 600; color: #0a2342; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .5rem; }
.tier { background: #fff; border-radius: 8px; padding: .5rem; text-align: center; border: 1px solid #e3e8ef; }
.tier-qty { font-size: .75rem; color: #6c757d; }
.tier-price { font-weight: 700; color: #0a2342; }
.product-add { display: flex; gap: .75rem; margin-top: auto; }
.product-add .btn { border-radius: 10px; font-weight: 600; }

/* Quantity controls */
.qty-group, .basket-qty { display: inline-flex; align-items: center; border: 1px solid #dfe5ec; border-radius: 10px; overflow: hidden; background: #fff; }
.qty-btn { border: 0; background: transparent; width: 36px; height: 40px; color: #0a2342; display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: #f0f4f9; }
.qty-input { width: 48px; text-align: center; border: 0; border-radius: 0; padding: 0; height: 40px; box-shadow: none !important; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Basket */
.basket-list { display: flex; flex-direction: column; }
.basket-item { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid #eef1f5; }
.basket-item:first-child { border-top: 0; padding-top: 0; }
.basket-thumb { width: 84px; height: 84px; border-radius: 14px; background: #f0f4f9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.basket-thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }
.basket-thumb .bi { color: #009ef7; font-size: 1.6rem; }
.basket-info .fw-semibold { color: #0a2342; }
.basket-price { text-align: right; min-width: 120px; color: #0a2342; }
.saving-pill { display: inline-block; margin-top: .35rem; font-size: .75rem; font-weight: 600; color: #1e8a4c; background: #e4f8ec; border-radius: 999px; padding: .15rem .6rem; }
@media (max-width: 767px) {
    .basket-item { grid-template-columns: 64px 1fr auto; }
    .basket-thumb { width: 64px; height: 64px; }
    .basket-qty { grid-column: 2; }
    .basket-price { grid-column: 3; grid-row: 1; }
    .basket-remove { grid-column: 3; grid-row: 2; text-align: right; }
    .sticky-side { position: static; }
    .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-icon { width: 80px; height: 80px; border-radius: 50%; background: #f0f4f9; color: #009ef7; font-size: 2.2rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.trust-row { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1rem; font-size: .75rem; color: #6c757d; }
.trust-row span { display: flex; align-items: center; gap: .3rem; }
.trust-row .bi { color: #009ef7; }

/* Summary */
.summary .sum-row { display: flex; justify-content: space-between; padding: .4rem 0; color: #4a5a6a; }
.summary .sum-row.total { border-top: 2px solid #0a2342; margin-top: .5rem; padding-top: .85rem; font-weight: 800; color: #0a2342; font-size: 1.25rem; }
.summary .sum-monthly { margin-top: 1rem; background: linear-gradient(135deg, #0a2342, #133a6b); color: #fff; border-radius: 12px; padding: .9rem 1rem; }
.summary .sum-monthly .text-muted { color: rgba(255,255,255,.7) !important; }
.summary .monthly-amt { font-size: 1.3rem; font-weight: 800; }
.summary .monthly-amt small { font-size: .8rem; font-weight: 500; opacity: .8; }

/* How it works */
.how-it-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.hiw { background: #fff; border-radius: 14px; padding: 1.1rem; display: flex; gap: .85rem; box-shadow: 0 4px 16px rgba(10,35,66,.06); }
.hiw strong { color: #0a2342; display: block; margin-bottom: .2rem; }
.hiw-icon { font-size: 1.6rem; color: #009ef7; line-height: 1; }
@media (max-width: 991px) { .how-it-works { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .how-it-works { grid-template-columns: 1fr; } }

.confirm-icon { width: 80px; height: 80px; border-radius: 50%; background: #d1f2dd; color: #198754; font-size: 2.4rem; display: inline-flex; align-items: center; justify-content: center; }
