:root {
  --ink: #18211f;
  --muted: #66706d;
  --paper: #f4f6f3;
  --line: #dce2df;
  --accent: #e9674f;
  --accent-dark: #c94e39;
  --dark: #17201e;
  --container: min(1120px, calc(100% - 48px));
  --cat-local: #6a5cf5;
  --cat-internal: #1f9d5b;
  --cat-external: #e9674f;
  --shadow-card: 0 1px 2px rgba(24,33,31,.04);
  --shadow-card-hover: 0 22px 44px -18px rgba(24,33,31,.28);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(233,103,79,.25); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }

.cap-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; width: var(--container); min-height: 84px; margin: 0 auto; gap: 24px; background: rgba(244,246,243,.86); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(24,33,31,.28); border-radius: 50%; font-size: 13px; }
.cap-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid transparent; border-radius: 26px; background: transparent; font: inherit; font-weight: 750; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: rgba(24,33,31,.22); background: #fff; color: var(--ink); }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

main { width: var(--container); margin: 0 auto; }

.shop-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 54px; min-height: 380px; align-items: end; padding: 92px 0 70px; border-bottom: 1px solid var(--line); }
.shop-hero-glow { position: absolute; z-index: 0; top: -220px; left: -140px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(233,103,79,.16), transparent 65%); filter: blur(10px); pointer-events: none; }
.shop-hero-grid { position: absolute; z-index: 0; inset: 0; background-image: linear-gradient(rgba(24,33,31,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(24,33,31,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 12% 8%, #000, transparent 62%); pointer-events: none; }
.shop-hero-copy, .shop-hero-note { position: relative; z-index: 1; }
.shop-hero h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(40px, 5.2vw, 66px); font-weight: 540; }
.shop-hero-copy > p:not(.eyebrow) { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 20px; }
.shop-hero-note { padding: 26px; border-radius: 14px; background: linear-gradient(150deg,#24302c 0%,#17201e 100%); color: #fff; box-shadow: 0 30px 60px -28px rgba(23,32,30,.55); }
.shop-hero-note span { display: block; margin-bottom: 12px; color: #f49b88; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.shop-hero-note p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }

.shop-section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .3fr 1fr; gap: 50px; margin-bottom: 34px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 2.7vw, 38px); font-weight: 570; white-space: nowrap; }

.shop-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 30px; padding: 5px; border-radius: 30px; background: #e9ece8; }
.shop-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 24px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.shop-tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.shop-tabs button[data-filter="all"]::before { display: none; }
.shop-tabs button[data-filter="local"] { color: var(--cat-local); }
.shop-tabs button[data-filter="internal"] { color: var(--cat-internal); }
.shop-tabs button[data-filter="external"] { color: var(--cat-external); }
.shop-tabs button:not(.active):hover { background: rgba(24,33,31,.06); }
.shop-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-card), 0 6px 16px -6px rgba(24,33,31,.18); }
.shop-tabs button[data-filter="local"].active { color: var(--cat-local); }
.shop-tabs button[data-filter="internal"].active { color: var(--cat-internal); }
.shop-tabs button[data-filter="external"].active { color: var(--cat-external); }

.shop-tabs-description { max-width: 100%; margin: -16px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.shop-grid .product-card[hidden] { display: none; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(24,33,31,.14); }
.product-card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cat-external); }
.product-card[data-category="internal"]::before { background: var(--cat-internal); }
.product-card[data-category~="local"][data-category~="internal"]::before,
.product-card[data-category="local internal external"]::before { background: linear-gradient(90deg, var(--cat-local), var(--cat-internal), var(--cat-external)); }
.product-card-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.product-card-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat-external); }
.product-card[data-category="internal"] .product-card-label::before { background: var(--cat-internal); }
.product-card[data-category="internal"] .product-card-label { color: var(--cat-internal); }
.product-card[data-category="local internal external"] .product-card-label::before { background: linear-gradient(135deg, var(--cat-local), var(--cat-external)); }
.product-card[data-category="local internal external"] .product-card-label { color: #4a4f6b; }
.product-card h3 { margin-bottom: 14px; font-size: 22px; font-weight: 640; letter-spacing: -.01em; }
.product-card p { margin: 0 0 20px; color: var(--muted); flex-grow: 1; }
.product-card ul { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.product-card li { position: relative; padding: 8px 0 0 15px; border-top: 1px solid var(--line); color: #38423d; font-size: 13.5px; }
.product-card li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: rgba(24,33,31,.28); }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.product-card-price { display: flex; flex-direction: column; }
.product-card-price strong { font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.product-card-price span { color: var(--muted); font-size: 12px; }
.product-card .button { min-height: 44px; padding: 10px 20px; box-shadow: 0 10px 22px -10px rgba(233,103,79,.55); }
.product-card .button:hover { box-shadow: 0 14px 26px -10px rgba(233,103,79,.65); }

.shop-note { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 36px; align-items: end; margin: 20px 0 70px; padding: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.shop-note h2 { margin-bottom: 16px; font-size: clamp(29px, 3.6vw, 44px); font-weight: 570; }
.shop-note p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--muted); }
.shop-note-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.shop-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; width: var(--container); margin: 0 auto; padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.shop-footer .brand { color: var(--ink); }

.modal { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,22,20,.74); backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; width: min(620px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 42px; border-radius: 12px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.24); }
.modal-panel h2 { margin-bottom: 28px; font-size: clamp(29px,4vw,42px); font-weight: 570; }
.modal-close { position: absolute; z-index: 3; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 25px; cursor: pointer; }
.lead-form { display: grid; gap: 15px; align-content: start; }
.lead-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.lead-form input, .lead-form textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #b9c1be; outline: none; background: transparent; color: var(--ink); resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #929a97; }
.form-note { margin: 0; color: var(--muted); font-size: 11px; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-status { min-height: 22px; margin: 0; font-size: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; }
body.modal-open { overflow: hidden; }

@media (max-width: 920px) {
  :root { --container: min(100% - 30px, 680px); }
  .cap-header { position: static; min-height: auto; padding: 20px 0; flex-direction: column; align-items: flex-start; }
  .cap-actions { justify-content: flex-start; }
  .section-heading, .shop-note { grid-template-columns: 1fr; }
  .section-heading h2 { white-space: normal; }
  .shop-note-actions { justify-content: flex-start; }
  .shop-hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 0 52px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-section { padding: 64px 0; }
  .shop-note { padding: 34px 24px; }
  .modal-panel { padding: 30px 20px; }
}

@media (max-width: 560px) {
  .cap-actions, .cap-actions .button, .shop-hero-actions, .shop-note-actions, .shop-note .button { width: 100%; }
  .shop-hero h1 { font-size: 39px; }
  .product-card-footer { flex-direction: column; align-items: stretch; }
  .product-card-footer .button { width: 100%; }
}
