:root { --border: #e2e5ea; --brand: #1a56db; --muted: #6b7280; --danger: #dc2626; --success: #16a34a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #1f2430; background: #fafafa; }
.shop-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; border-bottom: 1px solid var(--border); background: #fff; }
.shop-header .brand { font-weight: 700; text-decoration: none; color: #1f2430; }
.shop-header .cart-link { text-decoration: none; color: var(--brand); font-weight: 600; }
.shop-main { max-width: 900px; margin: 0 auto; padding: 24px 20px; }
.muted { color: var(--muted); font-size: 13px; }
.description { font-size: 12.5px; color: #4b5063; line-height: 1.5; margin: 4px 0; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.product-image { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.product-card .tag { font-size: 11px; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.product-card h3 { margin: 8px 0 4px; }
.price { margin: 10px 0; }
.price .strike { text-decoration: line-through; color: var(--muted); margin-right: 6px; }
.price .discount { color: var(--success); font-size: 12px; font-weight: 700; margin-left: 6px; }

.btn { display: inline-block; background: var(--brand); color: #fff; border: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; text-decoration: none; }
.btn.secondary { background: none; color: #1f2430; border: 1px solid var(--border); }
.link-btn { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 12px; padding: 0; }

.cart-table { width: 100%; border-collapse: collapse; background: #fff; margin-top: 16px; }
.cart-table th, .cart-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; }
.qty-form input { width: 60px; padding: 4px; border: 1px solid var(--border); border-radius: 6px; }

.cart-value-line { font-size: 15px; margin: 16px 0; }

.offer-box { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.progress-bar { background: #f3f4f6; border-radius: 999px; height: 10px; overflow: hidden; margin-top: 8px; }
.progress-fill { background: linear-gradient(90deg, #f59e0b, #16a34a); height: 100%; transition: width .3s; }

.coupon-box { margin-bottom: 16px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; flex: 1; max-width: 220px; }

.totals-table { width: 100%; max-width: 400px; border-collapse: collapse; margin-bottom: 20px; }
.totals-table td { padding: 6px 0; font-size: 14px; }
.totals-table .total-row td { font-weight: 700; font-size: 16px; border-top: 1px solid var(--border); padding-top: 10px; }

.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; max-width: 400px; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.field input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; }
.error-text { color: var(--danger); font-size: 13px; margin-top: 8px; }
