:root { --ink: #102033; --muted: #4d5d6b; --foam: #f3f6f7; --paper: #ffffff; --water: #0e7490; --water-deep: #0b4f61; --line: #d7e0e4; --sale: #9a3412; --radius: 14px; --max: 1120px; }
* { box-sizing: border-box; } html, body { margin: 0; padding: 0; }
body { font-family: "Avenir Next", "Segoe UI", sans-serif; color: var(--ink); background: var(--foam); line-height: 1.5; }
a { color: inherit; } img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { font-weight: 700; letter-spacing: 0.04em; text-decoration: none; font-size: 1.15rem; }
nav.primary { display: flex; gap: 18px; margin-left: auto; }
nav.primary a { text-decoration: none; color: var(--muted); }
nav.primary a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.cart-btn, .btn, button.chip { font: inherit; border-radius: 999px; cursor: pointer; }
.cart-btn, .btn { border: 0; background: var(--ink); color: white; padding: 10px 16px; text-decoration: none; display: inline-block; }
.btn.secondary, button.chip { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.chip[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.hero { background: linear-gradient(160deg, #0b3a4a, var(--water-deep) 55%, #147a92); color: white; padding: 72px 0 64px; }
.hero p { max-width: 38rem; color: #d7eef3; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card, .panel, article.q { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.card .media { aspect-ratio: 1; background: #e7eef1; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body, .panel { padding: 18px; }
.page { padding: 36px 0 72px; }
.price { font-weight: 700; }
.compare { color: var(--muted); text-decoration: line-through; margin-left: 8px; }
.ribbon { display: inline-block; background: var(--sale); color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); padding: 0; }
fieldset { border: 0; padding: 0; margin: 12px 0; }
label, legend { font-weight: 650; }
input, textarea, select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.field { margin-bottom: 14px; }
.pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
.gallery { background: white; border-radius: var(--radius); min-height: 320px; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.backdrop { position: fixed; inset: 0; background: rgba(16, 32, 51, 0.45); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: white; z-index: 31; padding: 20px; overflow: auto; }
.drawer[hidden], .backdrop[hidden] { display: none; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search { max-width: 360px; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } nav.primary { display: none; } }