:root {
  --color-accent: #0984e3;
  --color-background: #f8f9fa;
  --color-primary: #0c2461;
  --color-secondary: #1e3799;
  --color-text: #2d3436;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--color-background); color: var(--color-text); min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--color-primary); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 0.95rem; opacity: 0; transition: all 0.3s; z-index: 400; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Header V3: Brutalist ── */
header { background: #000; color: #fff; padding: 0; position: sticky; top: 0; z-index: 100; border-bottom: 2px solid #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: stretch; min-height: 56px; }
.logo { font-size: 1.2rem; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; padding: 0 16px; border-right: 1px solid #333; }
nav { display: flex; align-items: stretch; }
.nav-link { color: #999; font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; padding: 0 20px; border-left: 1px solid #333; transition: background 0.15s, color 0.15s; }
.nav-link:hover { background: #fff; color: #000; }
.cart-link { color: #fff; font-weight: 700; }
@media (max-width: 700px) { .header-inner { flex-wrap: wrap; } .logo { flex: 1; border-right: none; border-bottom: 1px solid #333; } nav { width: 100%; } .nav-link { flex: 1; justify-content: center; padding: 12px 8px; font-size: 0.75rem; } }

/* ── Hero V2: Brutalist ── */
.hero { background: #fff; color: #000; padding: 64px 0; border-bottom: 2px solid #000; }
.hero-title { font-size: 3rem; font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: 1; margin-bottom: 12px; }
.hero-subtitle { font-size: 1rem; color: #666; font-weight: 400; max-width: 480px; }
@media (max-width: 700px) { .hero { padding: 40px 0; } .hero-title { font-size: 2rem; } }

/* ── Products V3: Brutalist list ── */
.page-title { font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; padding: 32px 0 0; border-bottom: 2px solid #000; padding-bottom: 12px; }
.products { display: flex; flex-direction: column; padding: 0 0 48px; }
.product-card { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid #ddd; transition: background 0.15s; }
.product-card:hover { background: #f5f5f5; }
.product-image { width: 64px; height: 64px; min-width: 64px; display: flex; align-items: center; justify-content: center; font-size: 2rem; border: 1px solid #000; }
.product-info { flex: 1; min-width: 0; }
.product-name { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.product-desc { font-size: 0.8rem; color: #666; }
.product-bottom { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.product-price { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.add-btn { background: #000; color: #fff; border: none; padding: 8px 16px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: background 0.15s; border-radius: 0; }
.add-btn:hover { background: #333; }
@media (max-width: 700px) { .product-card { flex-wrap: wrap; gap: 12px; } .product-bottom { width: 100%; justify-content: space-between; } }

/* ── Product Detail V2: Brutalist ── */
.back-link { display: inline-block; margin: 24px 0; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #000; border-bottom: 1px solid #000; }
.back-link:hover { color: #666; border-color: #666; }
.product-detail { display: flex; gap: 40px; padding: 0 0 48px; border-top: 2px solid #000; padding-top: 32px; }
.detail-image { width: 280px; height: 280px; min-width: 280px; display: flex; align-items: center; justify-content: center; font-size: 6rem; border: 2px solid #000; }
.detail-info { flex: 1; }
.detail-name { font-size: 1.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 8px; }
.detail-desc { font-size: 0.95rem; color: #666; margin-bottom: 24px; line-height: 1.5; }
.detail-price { font-size: 1.5rem; font-weight: 900; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 16px; align-items: center; }
.qty-picker { display: flex; align-items: center; border: 2px solid #000; }
.qty-btn { background: #fff; border: none; width: 40px; height: 40px; font-size: 1.2rem; cursor: pointer; font-weight: 700; transition: background 0.15s; border-radius: 0; }
.qty-btn:hover { background: #000; color: #fff; }
#qty-display { width: 40px; text-align: center; font-weight: 700; border-left: 2px solid #000; border-right: 2px solid #000; line-height: 40px; }
.add-btn-lg { background: #000; color: #fff; border: none; padding: 0 32px; height: 44px; font-size: 0.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background 0.15s; border-radius: 0; }
.add-btn-lg:hover { background: #333; }
.not-found { padding: 48px 0; font-size: 1.1rem; color: #666; }
.not-found a { color: #000; font-weight: 700; border-bottom: 1px solid #000; }
@media (max-width: 700px) { .product-detail { flex-direction: column; gap: 24px; } .detail-image { width: 100%; min-width: 0; height: 200px; font-size: 4rem; } .detail-actions { flex-direction: column; align-items: stretch; } .add-btn-lg { text-align: center; padding: 12px; } }

/* ── Cart V2: Brutalist ── */
.cart-page-empty { padding: 48px 0; text-align: center; }
.cart-page-empty p { font-size: 1.1rem; color: #666; margin-bottom: 24px; }
.cart-table { margin-bottom: 32px; }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #ddd; }
.cart-row-product { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: #000; }
.cart-row-icon { width: 48px; height: 48px; min-width: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid #000; }
.cart-row-name { font-weight: 700; font-size: 0.95rem; }
.cart-row-price { font-size: 0.8rem; color: #666; }
.cart-row-qty { display: flex; align-items: center; border: 1px solid #000; }
.cart-row-qty span { width: 32px; text-align: center; font-weight: 700; font-size: 0.9rem; border-left: 1px solid #000; border-right: 1px solid #000; line-height: 32px; }
.cart-row-subtotal { font-weight: 700; font-size: 0.95rem; min-width: 120px; text-align: right; }
.cart-row-remove { background: none; border: 1px solid #000; width: 32px; height: 32px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.cart-row-remove:hover { background: #000; color: #fff; }
.cart-summary { border-top: 2px solid #000; padding: 24px 0 48px; max-width: 360px; margin-left: auto; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; }
.cart-summary-total { font-weight: 900; font-size: 1.1rem; border-top: 1px solid #ddd; padding-top: 12px; margin-top: 4px; }
.checkout-btn { display: block; width: 100%; background: #000; color: #fff; border: none; padding: 14px; font-size: 0.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; margin-top: 20px; transition: background 0.15s; }
.checkout-btn:hover { background: #333; }
.continue-link { display: block; text-align: center; margin-top: 12px; font-size: 0.85rem; color: #000; border-bottom: 1px solid #000; width: fit-content; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .cart-row { flex-wrap: wrap; } .cart-row-subtotal { min-width: auto; } .cart-summary { max-width: 100%; } }

/* ── CTA V2: Brutalist ── */
.cta { text-align: center; padding: 48px 0; border-top: 2px solid #000; border-bottom: 2px solid #000; margin: 32px 0; }

/* ── Footer V3: Brutalist ── */
footer { background: #000; color: #999; padding: 0; margin-top: 48px; font-size: 0.8rem; border-top: 2px solid #000; }
.footer-inner { display: flex; justify-content: space-between; align-items: stretch; min-height: 48px; }
.footer-copyright { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid #333; }
.footer-links { display: flex; align-items: stretch; }
.footer-links a { display: flex; align-items: center; padding: 0 20px; color: #999; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; font-weight: 500; border-left: 1px solid #333; transition: background 0.15s, color 0.15s; }
.footer-links a:hover { background: #fff; color: #000; }
@media (max-width: 700px) { .footer-inner { flex-direction: column; } .footer-copyright { padding: 12px 16px; border-right: none; border-bottom: 1px solid #333; } .footer-links a { padding: 12px 16px; border-left: none; border-top: 1px solid #333; } }
