/* Shared shop styles: product grid, cart, login, checkout (sample sites) */
.shop-top { background: var(--navy); color: #fff; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.cart-count { background: #e11d48; color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chips-row button { border: 1px solid var(--blue); background: transparent; color: var(--blue); padding: 8px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; }
.chips-row button.active, .chips-row button:hover { background: var(--blue); color: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.prod { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(10,22,40,.09); display: flex; flex-direction: column; }
.prod img { width: 100%; height: 220px; object-fit: contain; background: #f4f6fb; padding: 10px; }
.prod-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-body h3 { font-size: 1.05rem; margin: 0; }
.prod-body p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.price { font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.price small { color: var(--muted); font-weight: 500; font-size: 12px; }
.add-btn { margin-top: 10px; background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 11px; font: inherit; font-weight: 700; cursor: pointer; }
.add-btn:hover { filter: brightness(1.08); }
.add-btn.added { background: #16a34a; }
.cart-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 8px 20px rgba(10,22,40,.07); margin-bottom: 14px; }
.cart-line img { width: 90px; height: 90px; object-fit: contain; background: #f4f6fb; border-radius: 10px; }
.cart-line h3 { font-size: 1rem; margin: 0 0 4px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #cfd7e4; background: #fff; cursor: pointer; font-weight: 700; }
.remove { background: none; border: 0; color: #dc2626; cursor: pointer; font: inherit; font-weight: 600; margin-top: 6px; }
.summary { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 12px 30px rgba(10,22,40,.09); position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e6ecf5; font-size: 15px; }
.summary-total { font-weight: 800; font-size: 1.15rem; border-bottom: 0; padding-top: 14px; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px rgba(10,22,40,.08); }
.auth-card { background: #fff; border-radius: 20px; padding: 34px; box-shadow: 0 24px 60px rgba(10,22,40,.12); max-width: 480px; margin: 0 auto; border-top: 5px solid var(--gold); }
.auth-card h2 { margin-bottom: 6px; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 18px; }
.pay-opts label { border: 1px solid #cfd7e4; border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 600; text-align: center; background: #fbfcfe; }
.pay-opts input { display: none; }
.pay-opts input:checked + span { color: var(--blue); }
.pay-opts label:has(input:checked) { border-color: var(--blue); background: #eef4ff; }
.hidden { display: none !important; }
.demo-note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 10px; font-size: 14px; color: #5a4a1a; margin-bottom: 20px; }
.success-box { text-align: center; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 44px 30px; box-shadow: 0 24px 60px rgba(10,22,40,.12); }
.success-box .tick { width: 74px; height: 74px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: 38px; margin: 0 auto 18px; }
@media (max-width: 900px) { .cart-wrap { grid-template-columns: 1fr; } .pay-opts { grid-template-columns: 1fr; } .summary { position: static; } }

.ph { height: 220px; display: grid; place-items: center; color: #fff; font-size: 72px; font-weight: 800; }
.cart-line .ph { width: 90px; height: 90px; font-size: 36px; border-radius: 10px; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-pic { width: 100%; height: 420px; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } .hero-pic { height: 260px; } }

.view-order { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 250; display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #dc2626, #be123c); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: 0 16px 34px rgba(190,18,60,.35); font-weight: 700; min-width: 260px; justify-content: space-between; transition: transform .35s ease; }
.view-order.show { transform: translate(-50%, 0); }
.view-order .vo-count { background: rgba(255,255,255,.22); border-radius: 8px; padding: 4px 9px; }
.view-order strong { margin-left: auto; }
