:root { --green: #1C4A47; --ink: #141615; --body: #3D4543; --muted: #56605D; --line: #D9DDDB; --dark: #0C100F; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: #0E2E2C; }
p { margin: 0; color: var(--body); }
h1, h2 { margin: 0; font-family: 'Tenor Sans', serif; font-weight: 400; line-height: 1.12; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid #7FB8B2; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1200px; margin: 0 auto; width: 100%; }
.wrap.narrow { max-width: 880px; }
.section { padding: 96px 5%; }
.section.tight { padding: 56px 5% 96px; }
.stack-sm, .stack-md, .stack-lg, .stack-xl { display: flex; flex-direction: column; }
.stack-sm { gap: 24px; } .stack-md { gap: 32px; } .stack-lg { gap: 48px; } .stack-xl { gap: 80px; }
.start { align-items: flex-start; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; align-items: center; }
.split.top { align-items: start; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.display { font-size: clamp(32px, 4vw, 50px); }
.eyebrow { color: var(--green); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.eyebrow.light { color: #A9D3CE; letter-spacing: 0.28em; }
.cover { width: 100%; object-fit: cover; }
.r32 { aspect-ratio: 3 / 2; } .r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1 / 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px; background: var(--green); color: #fff; border: 1px solid var(--green); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: #143836; color: #fff; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: #E3EEEC; color: var(--green); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn[disabled] { background: #E6E9E7; border-color: #E6E9E7; color: var(--muted); cursor: not-allowed; }
.textlink { background: none; border: none; padding: 0; color: var(--green); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }

.site-header { background: var(--dark); padding: 14px 5%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.site-header .logo img { height: 56px; width: auto; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.site-header nav a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }
.site-header nav a:hover { color: #A9D3CE; }
.site-header .cart-link { gap: 10px; border: 1px solid rgba(255,255,255,0.45); padding: 0 16px; }

.hero { min-height: 600px; padding: 96px 5%; display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(8,11,10,0.86) 0%, rgba(8,11,10,0.55) 45%, rgba(8,11,10,0.1) 100%), url(/images/hero.jpg); background-size: cover; background-position: center; }
.hero-inner { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero h1 { color: #fff; max-width: 620px; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
.hero .btn { background: var(--green); border-color: rgba(255,255,255,0.35); }

.band { background: var(--green); color: #fff; }
.band p { color: #E3EEEC; }

.grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.grid-head h2 { font-size: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.tile { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.tile:hover .tile-name { text-decoration: underline; }
.tile-name { font-size: 17px; font-weight: 500; display: block; }
.tile-price { color: var(--body); display: block; }
.soldout { color: #8A3B12; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; display: block; }
.flag-title { font-size: clamp(30px, 3.6vw, 46px); }
.price { font-size: 22px; }

.gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery .main { border: 1px solid #E6E9E7; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.thumbs button { padding: 0; background: none; border: 2px solid var(--line); width: 84px; height: 84px; }
.thumbs button[aria-current="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills button { min-height: 48px; padding: 10px 20px; border: 1px solid #AEB6B3; background: #fff; color: var(--ink); }
.pills button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.qty { display: inline-flex; align-items: center; border: 1px solid #AEB6B3; }
.qty button { width: 46px; height: 50px; background: none; border: none; font-size: 20px; color: var(--ink); }
.qty span { min-width: 36px; text-align: center; }
.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; background: #EEF4F3; border: 1px solid #C4D8D5; padding: 8px 20px; }
.notice.error { background: #FBEEE8; border-color: #E2B9A6; color: #6B2A0C; padding: 14px 20px; }
.specs { border-top: 1px solid var(--line); padding-top: 20px; width: 100%; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }

.lines { border-top: 1px solid var(--line); }
.line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line img { width: 88px; height: 88px; object-fit: cover; border: 1px solid #E6E9E7; }
.line-info { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.line-name { font-weight: 500; }
.line-total { min-width: 80px; text-align: right; font-weight: 500; }
.line .qty button { width: 44px; height: 44px; font-size: 18px; }
.totals { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.sumrow { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: 100%; max-width: 380px; }
.sumrow.total { font-size: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.sumrow.total strong { font-weight: 600; }
.sumrow input { width: 110px; min-height: 44px; padding: 8px 12px; border: 1px solid #AEB6B3; font: inherit; text-align: right; }
.totals .notice { width: 100%; max-width: 380px; }

.city { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--green); padding-top: 20px; }
.city h2 { font-size: 28px; margin-bottom: 8px; }
.city a { min-height: 44px; display: flex; align-items: center; }

.site-footer { background: var(--dark); color: #C9D1CE; padding: 48px 5%; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.site-footer img { height: 64px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-links a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.copyright { font-size: 14px; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 5%; }
  .section.tight { padding: 32px 5% 64px; }
  .hero { min-height: 480px; padding: 64px 5%; }
  .site-header { justify-content: center; }
  .site-header nav { justify-content: center; gap: 4px 22px; }
  .grid-head { flex-direction: column; gap: 4px; }
  .totals { align-items: stretch; }
  .sumrow, .totals .notice { max-width: none; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}
