:root { --blue:#4f75b8; --teal:#46c4bd; --ink:#292929; --muted:#6d7280; --line:#e8ebf0; --surface:#f7f9fc; --white:#fff; }
* { box-sizing:border-box; }
body { margin:0; font-family:Arial, Helvetica, sans-serif; color:var(--ink); background:var(--white); }
a { color:inherit; text-decoration:none; }
.container { width:min(1120px, calc(100% - 40px)); margin-inline:auto; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px max(20px, calc((100% - 1120px)/2)); border-bottom:1px solid var(--line); background:#fff; position:sticky; top:0; z-index:10; }
.brand img { display:block; width:170px; height:auto; max-height:78px; object-fit:contain; }
.main-nav { display:flex; align-items:center; gap:24px; font-weight:700; font-size:.95rem; }
.main-nav a { color:#5a5e66; padding:8px 0; border-bottom:2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color:var(--blue); border-bottom-color:var(--teal); }
.cart-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--teal); color:white; font-size:.75rem; }
.hero { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; padding-block:84px 72px; }
.eyebrow { margin:0 0 12px; color:var(--blue); font-size:.78rem; font-weight:800; letter-spacing:.14em; }
h1,h2 { margin:0 0 18px; line-height:1.05; letter-spacing:-.04em; }
h1 { font-size:clamp(2.5rem, 6vw, 5.3rem); } h1 span { color:var(--teal); } h2 { font-size:clamp(2rem, 4vw, 3rem); }
.hero-copy > p:not(.eyebrow) { max-width:520px; color:var(--muted); font-size:1.1rem; line-height:1.7; margin-bottom:28px; }
.btn { display:inline-block; border:0; border-radius:12px; padding:14px 20px; font-weight:800; cursor:pointer; } .btn-primary { background:var(--blue); color:#fff; } .btn-primary:hover { background:#3f629f; }
.hero-card { min-height:310px; border-radius:28px; background:linear-gradient(145deg, #eef5ff, #effcf9); display:grid; place-items:center; align-content:center; padding:30px; text-align:center; } .hero-card img { width:min(100%, 300px); height:auto; } .hero-card p { color:var(--muted); font-weight:700; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:24px; } .text-link { color:var(--blue); font-weight:800; }
.product-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; padding-bottom:72px; } .empty-state { grid-column:1/-1; border:1px dashed #cfd6e1; border-radius:16px; padding:40px; color:var(--muted); text-align:center; background:var(--surface); }
.page-content { padding-block:58px 80px; } .shop-toolbar { display:flex; gap:12px; margin:28px 0; } input,select { width:100%; border:1px solid #d9dfe8; border-radius:10px; padding:13px 14px; font:inherit; background:white; } select { max-width:240px; }
.site-footer { border-top:1px solid var(--line); background:var(--surface); } .footer-inner { display:flex; justify-content:space-between; gap:20px; padding-block:25px; color:var(--muted); font-size:.85rem; }
@media (max-width:800px) { .hero { grid-template-columns:1fr; padding-block:52px; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .site-header { flex-wrap:wrap; } .main-nav { gap:14px; } .section-heading, .footer-inner { align-items:start; flex-direction:column; } }
@media (max-width:480px) { .container { width:min(100% - 28px,1120px); } .brand img { width:140px; } .product-grid { grid-template-columns:1fr; } .shop-toolbar { flex-direction:column; } select { max-width:none; } }

/* Product catalogue */
.product-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(41,41,41,.05); transition:transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(41,41,41,.1); }
.product-image { position:relative; display:grid; place-items:center; min-height:210px; padding:18px; background:var(--surface); }
.product-image img { display:block; width:100%; height:180px; object-fit:contain; mix-blend-mode:multiply; }
.image-placeholder { color:var(--muted); font-size:.85rem; }
.stock-badge { position:absolute; top:12px; right:12px; border-radius:999px; padding:5px 8px; background:#e7f8ee; color:#187443; font-size:.68rem; font-weight:800; }
.stock-badge.sold-out { background:#fff0f0; color:#b42318; }
.product-card-body { display:flex; flex:1; flex-direction:column; padding:16px; }
.product-category, .product-brand { margin:0; color:var(--muted); font-size:.75rem; }
.product-card h3 { margin:7px 0 8px; font-size:1rem; line-height:1.35; }
.product-brand { margin-bottom:16px; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; }
.product-bottom strong { color:var(--ink); font-size:1rem; }
.btn-small { padding:9px 11px; border-radius:9px; font-size:.75rem; }
.btn:disabled { cursor:not-allowed; opacity:.55; }
.btn-outline { border:1px solid var(--line); background:#fff; color:var(--ink); }
.cart-list { display:grid; gap:12px; }
.cart-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.cart-item p { margin:5px 0 0; color:var(--muted); font-size:.8rem; }
.cart-item-controls { display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:.85rem; }
.cart-summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; }

/* Expanded footer */
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding-block:44px 30px; }
.footer-brand img { width:165px; max-width:100%; height:auto; }
.footer-heading { margin:0 0 12px; color:var(--ink); font-size:.85rem; font-weight:800; }
.footer-copy { max-width:300px; margin:14px 0 0; color:var(--muted); font-size:.86rem; line-height:1.7; }
.footer-links { display:grid; gap:9px; }
.footer-links a { color:var(--muted); font-size:.86rem; }
.footer-links a:hover { color:var(--blue); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-block:18px; border-top:1px solid var(--line); color:var(--muted); font-size:.78rem; }
.footer-bottom p { margin:0; }
@media (max-width:800px) { .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .cart-summary { align-items:flex-start; flex-direction:column; } }
@media (max-width:480px) { .footer-grid { grid-template-columns:1fr; gap:24px; } .footer-bottom { align-items:flex-start; flex-direction:column; } .cart-item { align-items:flex-start; flex-direction:column; } }
