:root {
  color-scheme: light;
  --ink: #173346;
  --muted: #647987;
  --teal: #087f84;
  --teal-dark: #06666b;
  --line: #dfe9e9;
  --surface: #ffffff;
  --wash: #f5f9f7;
  --gold: #e9b955;
  --shadow: 0 16px 45px rgba(23, 51, 70, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wash); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.store-shell { min-height: 100vh; }
.store-container { width: min(100% - 44px, 1280px); margin-inline: auto; }
.store-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.store-header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 86px; gap: 24px; }
.store-logo { display: inline-flex; align-items: center; text-decoration: none; }
.store-logo img { display: block; height: 64px; width: auto; }
.header-right { align-items: center; display: flex; gap: 18px; }
.header-note { color: var(--muted); font-size: 13px; }
.header-cart { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-flex; gap: 10px; font-size: 13px; font-weight: 700; padding: 10px 15px; text-decoration: none; white-space: nowrap; }
.header-cart:hover { border-color: #a6ceca; color: var(--teal-dark); }
.header-cart svg { height: 18px; width: 18px; }
.header-count { align-items: center; background: var(--teal); border-radius: 999px; color: white; display: inline-flex; font-size: 11px; height: 21px; justify-content: center; min-width: 21px; padding: 0 5px; }
.store-main { padding: 32px 0 72px; }
.hero { background: linear-gradient(116deg, #0d5960 0%, #087f84 54%, #2d9a91 100%); border-radius: 22px; box-shadow: 0 18px 42px rgba(6, 102, 107, .16); color: white; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr); min-height: 205px; overflow: hidden; position: relative; }
.hero::before, .hero::after { border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; position: absolute; pointer-events: none; }
.hero::before { height: 370px; right: -80px; top: -190px; width: 370px; }
.hero::after { bottom: -240px; height: 460px; right: 120px; width: 460px; }
.hero-copy { padding: 30px 40px; position: relative; z-index: 1; }
.eyebrow { color: #c5eeea; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { font-size: clamp(30px, 3.4vw, 43px); letter-spacing: -.045em; line-height: 1.08; margin: 10px 0 11px; max-width: 550px; }
.hero p { color: #e4f6f3; line-height: 1.65; margin: 0; max-width: 440px; }
.hero-aside { align-self: center; display: grid; gap: 8px; padding: 24px 34px 24px 0; position: relative; z-index: 1; }
.hero-step { align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 11px; display: flex; gap: 11px; padding: 8px 12px; }
.hero-step b { align-items: center; background: rgba(255,255,255,.18); border-radius: 50%; display: inline-flex; flex: 0 0 25px; height: 25px; justify-content: center; font-size: 11px; }
.hero-step span { font-size: 13px; font-weight: 600; }
.store-notice { border: 1px solid #f4d5d1; border-radius: 13px; background: #fff7f5; color: #9b3c35; line-height: 1.5; margin-top: 20px; padding: 13px 17px; }
.store-notice.warn { border-color: #f4e0ac; background: #fffbef; color: #7e5a19; }
.store-layout { align-items: start; display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) 320px; margin-top: 28px; }
.store-primary { min-width: 0; }
.setup-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow); display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) auto; padding: 24px 27px; }
.section-kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.setup-card h2, .catalog-heading h2, .cart-heading h2 { font-size: 20px; letter-spacing: -.025em; margin: 5px 0 5px; }
.setup-card p, .catalog-heading p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.state-picker { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.state-option { border: 1px solid #cddfde; border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 13px; font-weight: 700; padding: 10px 14px; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; white-space: nowrap; }
.state-option:hover { background: #edf8f6; border-color: var(--teal); color: var(--teal-dark); transform: translateY(-1px); }
.state-option.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.state-option:focus-visible, .header-cart:focus-visible, .product-button:focus-visible, .checkout-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.agent-line { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 8px; line-height: 1.5; margin: 14px 2px 0; }
.agent-line strong { color: var(--ink); font-weight: 700; }
.agent-dot { background: #a3b6b8; border-radius: 50%; height: 4px; width: 4px; }
.catalog-section { margin-top: 34px; }
.catalog-heading { align-items: end; display: flex; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.catalog-heading h2 { font-size: 24px; margin: 0 0 5px; }
.result-count { background: #e8f3f1; border-radius: 999px; color: var(--teal-dark); font-size: 12px; font-weight: 800; padding: 7px 11px; white-space: nowrap; }
.catalog-toolbar { margin-bottom: 19px; position: relative; }
.catalog-toolbar svg { color: #84999f; height: 18px; left: 16px; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); width: 18px; }
.catalog-search { background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); height: 47px; outline: 0; padding: 0 16px 0 45px; width: 100%; }
.catalog-search:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,132,.12); }
.catalog-search::placeholder { color: #9aaab0; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(23,51,70,.035); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.product-card[hidden], .catalog-empty[hidden] { display: none !important; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-image-wrap { align-items: center; background: linear-gradient(145deg, #f6faf8, #e8f4f0); display: flex; height: 190px; justify-content: center; padding: 20px; }
.product-image { height: 100%; max-width: 100%; object-fit: contain; width: 100%; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-sku { color: #70898f; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-name { font-size: 16px; font-weight: 750; line-height: 1.35; margin: 7px 0 8px; min-height: 43px; }
.product-price { color: var(--teal-dark); font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.product-fields { display: grid; gap: 12px; margin-top: auto; }
.field-label { color: #657b85; display: block; font-size: 11px; font-weight: 700; margin-bottom: 5px; }
.variation-select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23647987' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center / 17px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); height: 42px; padding: 0 35px 0 11px; width: 100%; }
.variation-select:focus { border-color: var(--teal); outline: 3px solid rgba(8,127,132,.13); }
.qty-row { align-items: center; display: flex; justify-content: space-between; gap: 12px; }
.qty-row .field-label { margin-bottom: 0; }
.qty-stepper { align-items: center; background: #f7faf9; border: 1px solid var(--line); border-radius: 10px; display: flex; height: 40px; overflow: hidden; }
.qty-stepper button { background: transparent; border: 0; color: var(--ink); font-size: 18px; height: 100%; width: 34px; }
.qty-stepper button:hover { background: #e8f3f1; }
.qty-stepper input { appearance: textfield; background: transparent; border: 0; color: var(--ink); font-size: 13px; font-weight: 700; height: 100%; outline: 0; text-align: center; width: 35px; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-button { background: var(--teal); border: 1px solid var(--teal); border-radius: 10px; color: #fff; font-size: 13px; font-weight: 800; min-height: 43px; transition: background .18s, transform .18s; width: 100%; }
.product-button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.catalog-empty { background: #fff; border: 1px dashed #bcd8d5; border-radius: 18px; color: var(--muted); padding: 60px 25px; text-align: center; }
.catalog-empty-icon { align-items: center; background: #e9f5f2; border-radius: 16px; color: var(--teal); display: inline-flex; height: 56px; justify-content: center; margin-bottom: 16px; width: 56px; }
.catalog-empty-icon svg { height: 25px; width: 25px; }
.catalog-empty h3 { color: var(--ink); font-size: 18px; margin: 0 0 6px; }
.catalog-empty p { font-size: 13px; line-height: 1.6; margin: 0; }
.cart-card { background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow); padding: 22px; position: sticky; top: 24px; }
.cart-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 17px; }
.cart-heading h2 { margin: 0; }
.cart-count { background: #edf7f4; border-radius: 999px; color: var(--teal-dark); font-size: 11px; font-weight: 800; padding: 6px 9px; }
.cart-empty { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; padding: 21px 6px 26px; text-align: center; }
.cart-empty-icon { align-items: center; background: #f0f7f5; border-radius: 50%; display: inline-flex; height: 45px; justify-content: center; margin-bottom: 10px; width: 45px; }
.cart-empty-icon svg { color: var(--teal); height: 19px; width: 19px; }
.cart-item { border-top: 1px solid var(--line); display: grid; gap: 7px; grid-template-columns: minmax(0,1fr) auto; padding: 14px 0; }
.cart-item:first-child { border-top: 0; padding-top: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; line-height: 1.35; }
.cart-item-meta { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 4px; }
.cart-item-price { font-size: 13px; font-weight: 800; white-space: nowrap; }
.cart-remove { background: transparent; border: 0; color: #a34c49; font-size: 11px; padding: 6px 0 0; text-decoration: underline; text-underline-offset: 2px; }
.cart-total { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 17px 0 19px; }
.cart-total span { color: var(--muted); font-size: 13px; }
.cart-total strong { font-size: 21px; letter-spacing: -.02em; }
.checkout-button { background: var(--ink); border: 1px solid var(--ink); border-radius: 11px; color: #fff; font-size: 13px; font-weight: 800; min-height: 46px; width: 100%; }
.checkout-button:hover { background: #26536b; }
.checkout-button:disabled { background: #ccd6d9; border-color: #ccd6d9; cursor: not-allowed; }
.cart-footnote { color: #8a9ba1; font-size: 11px; line-height: 1.5; margin: 11px 0 0; text-align: center; }
.store-footer { border-top: 1px solid var(--line); color: #81959b; font-size: 12px; padding: 22px 0; text-align: center; }
@media (max-width: 1100px) { .store-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 20px; } .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .setup-card { grid-template-columns: 1fr; } .state-picker { justify-content: flex-start; } }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero-copy { padding: 28px 32px 10px; } .hero-aside { grid-template-columns: repeat(3,1fr); padding: 12px 32px 25px; } .hero-step { display: block; } .hero-step b { margin-bottom: 6px; } .store-layout { grid-template-columns: 1fr; } .cart-card { position: static; } }
@media (max-width: 560px) { .store-container { width: min(100% - 28px,1280px); } .store-header-inner { min-height: 72px; } .store-logo img { height: 53px; } .header-note { display: none; } .store-main { padding-top: 17px; } .hero { border-radius: 19px; min-height: 0; } .hero-copy { padding: 25px 24px 26px; } .hero h1 { font-size: 30px; } .hero-aside { display: none; } .setup-card { padding: 21px; } .state-picker { display: grid; grid-template-columns: 1fr; } .state-option { justify-content: center; } .catalog-heading h2 { font-size: 21px; } .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; } .product-image-wrap { height: 135px; padding: 13px; } .product-card-body { padding: 13px; } .product-name { font-size: 14px; min-height: 57px; } .product-price { font-size: 17px; margin-bottom: 12px; } .qty-row { align-items: stretch; flex-direction: column; gap: 6px; } .qty-stepper { align-self: flex-start; } }
@media (max-width: 370px) { .product-grid { grid-template-columns: 1fr; } .product-image-wrap { height: 180px; } .product-name { min-height: 0; } }
