:root {
  --blue: #0057b8;
  --blue-dark: #003b7a;
  --red: #e30613;
  --yellow: #ffd400;
  --ink: #152033;
  --muted: #627086;
  --line: #dce4ee;
  --paper: #ffffff;
  --wash: #f4f8fc;
  --success: #177447;
  --warning: #985800;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(22, 55, 90, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.58; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font: inherit; }
.seo-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--blue-dark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.seo-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0, 59, 122, .12); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-row { min-height: 74px; display: flex; align-items: center; gap: 26px; }
.seo-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: .86rem; font-weight: 900; letter-spacing: .06em; line-height: 1.05; text-decoration: none; }
.seo-logo b { display: block; color: var(--red); }
.logo-roundel { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--blue); border: 4px solid var(--yellow); border-radius: 50%; font: 900 1.35rem/1 Georgia, serif; box-shadow: 0 0 0 2px var(--red); }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.desktop-nav a, .language-links a, .cart-link { color: var(--ink); font-size: .88rem; font-weight: 750; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus { color: var(--blue); }
.language-links { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.language-links a { padding: 5px 8px; font-size: .72rem; }
.language-links a[aria-current="page"] { color: #fff; background: var(--blue); }
.cart-link { white-space: nowrap; }
.cart-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding-inline: 5px; color: #fff; background: var(--red); border-radius: 99px; font-size: .7rem; }

.seo-main { padding-block: 22px 72px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted); font-size: .84rem; overflow-x: auto; white-space: nowrap; }
.breadcrumbs a { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0 0 18px; font-size: clamp(2.1rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.05rem; }
.lead { color: #3d4a5f; font-size: 1.06rem; }

.locale-hero { padding: clamp(70px, 10vw, 130px) 0; color: #fff; background: radial-gradient(circle at 82% 18%, rgba(255, 212, 0, .34), transparent 23%), linear-gradient(135deg, #003b7a 0%, #0057b8 60%, #0b73d5 100%); overflow: hidden; }
.locale-hero .eyebrow { color: var(--yellow); }
.locale-hero h1 { max-width: 900px; color: #fff; text-wrap: balance; }
.locale-hero p:not(.eyebrow) { max-width: 760px; color: #eaf4ff; font-size: clamp(1.04rem, 2vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.hero-actions > a:not(.seo-button) { color: #fff; font-weight: 800; }
.seo-button, .seo-buy-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px; color: var(--blue-dark); background: var(--yellow); box-shadow: 0 10px 25px rgba(0, 0, 0, .16); font-weight: 900; text-decoration: none; cursor: pointer; }
.seo-button:hover, .seo-buy-button:hover { transform: translateY(-1px); filter: brightness(.98); }
.seo-buy-button.added { background: var(--success); }
.seo-toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; padding: 12px 17px; color: #fff; background: var(--success); border-radius: 10px; box-shadow: var(--shadow); font-weight: 850; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .2s, transform .2s; }
.seo-toast.visible { opacity: 1; transform: none; }
.seo-section { padding-block: 70px 12px; scroll-margin-top: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-weight: 800; }
.taxonomy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.taxonomy-card { min-height: 210px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: linear-gradient(145deg, #fff, #f7faff); box-shadow: 0 8px 26px rgba(22, 55, 90, .07); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.taxonomy-card:hover { transform: translateY(-3px); border-color: #9bbce1; box-shadow: var(--shadow); }
.taxonomy-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.taxonomy-card p { margin: 0 0 20px; color: var(--muted); }
.taxonomy-card span { margin-top: auto; color: var(--blue); font-weight: 900; }
.brand-card { min-height: 180px; border-top: 5px solid var(--blue); }

.seo-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.seo-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 7px 23px rgba(31, 61, 94, .07); transition: transform .2s, box-shadow .2s; }
.seo-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-image { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--wash); }
.card-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.seo-product-card:hover .card-image img { transform: scale(1.03); }
.card-body { padding: 16px; }
.card-brand { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card-body h3 { min-height: 3.45em; margin: 7px 0 14px; font-size: .98rem; }
.card-body h3 a { color: var(--blue-dark); text-decoration: none; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.card-bottom strong { white-space: nowrap; font-size: 1.1rem; }
.stock { font-size: .72rem; font-weight: 800; text-align: right; }
.stock-inStock { color: var(--success); }
.stock-preorder, .stock-backorder { color: var(--warning); }
.stock-outOfStock { color: #8a3740; }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); font: 900 3rem Georgia, serif; }
.image-placeholder.large { min-height: 500px; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: clamp(32px, 6vw, 78px); align-items: start; }
.product-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-item { aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); cursor: pointer; }
.gallery-item:first-child { grid-column: 1 / -1; border-radius: 20px; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-item:focus, .gallery-item.active { outline: 3px solid rgba(0, 87, 184, .22); outline-offset: 1px; }
.product-summary { position: sticky; top: 105px; }
.product-summary h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
.product-price { margin: 0 0 8px; font-size: 2rem; font-weight: 950; }
.availability { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-weight: 800; }
.availability > span { width: 9px; height: 9px; background: currentColor; border-radius: 50%; }
.buy-box { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; margin: 26px 0; padding: 18px; border: 1px solid #bfd0e4; border-radius: 16px; background: var(--wash); }
.seo-buy-button { width: 100%; color: #fff; background: var(--red); }
.buy-box a { font-size: .84rem; font-weight: 800; }
.trust-list { display: grid; gap: 8px; margin: 0; padding: 0; color: #415168; list-style: none; font-size: .9rem; }
.product-content-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; margin-top: 75px; padding-top: 48px; border-top: 1px solid var(--line); }
.product-content-grid h2 { margin-top: 0; }
.product-content-grid p { white-space: pre-line; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.related-section { margin-top: 70px; }

.collection-hero { max-width: 900px; margin: 30px 0 46px; }
.collection-hero h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); }
.collection-hero > p:not(.eyebrow) { max-width: 790px; color: var(--muted); font-size: 1.13rem; }
.result-count { display: inline-flex; margin-top: 10px; padding: 6px 12px; color: var(--blue-dark); background: #eaf4ff; border-radius: 99px; font-size: .8rem; font-weight: 850; }
.collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seo-guide { max-width: 900px; margin: 60px auto 0; padding: clamp(26px, 5vw, 48px); border-left: 6px solid var(--yellow); border-radius: var(--radius); background: var(--blue-dark); color: #eaf4ff; box-shadow: var(--shadow); }
.seo-guide h2 { margin-top: 0; color: #fff; }
.seo-guide a { color: var(--yellow); font-weight: 850; }

.seo-footer { margin-top: 70px; padding: 55px 0 20px; color: #dfeeff; background: #002d60; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 45px; }
.footer-grid strong { display: block; margin-bottom: 12px; color: #fff; }
.footer-grid p { margin: 0; color: #b9cae0; }
.footer-grid a { display: block; margin-block: 8px; color: #dfeeff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: #9fb5cf; font-size: .78rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .language-links { margin-left: auto; }
  .seo-product-grid, .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .taxonomy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .product-summary { position: static; }
}

@media (max-width: 720px) {
  .seo-shell { width: min(100% - 24px, 1180px); }
  .header-row { min-height: 64px; gap: 10px; }
  .seo-logo > span:last-child { display: none; }
  .logo-roundel { width: 38px; height: 38px; }
  .language-links a { padding: 4px 6px; }
  .cart-link { font-size: 0; }
  .cart-link::first-letter { font-size: 1rem; }
  .cart-count { font-size: .68rem; }
  .locale-hero { padding-block: 65px; }
  .locale-hero h1 { font-size: 2.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .seo-section { padding-top: 55px; }
  .taxonomy-grid, .brand-grid { grid-template-columns: 1fr; }
  .taxonomy-card { min-height: auto; }
  .seo-product-grid, .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .card-body { padding: 12px; }
  .card-body h3 { min-height: 4.3em; font-size: .88rem; }
  .card-bottom { align-items: start; flex-direction: column; }
  .stock { text-align: left; }
  .product-layout, .product-content-grid { grid-template-columns: 1fr; }
  .product-gallery { gap: 7px; }
  .product-summary { padding-top: 10px; }
  .product-summary h1 { font-size: 2.05rem; }
  .buy-box { grid-template-columns: 1fr; }
  .product-content-grid { gap: 25px; margin-top: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
