@layer base, layout, components, responsive, motion;

@layer base {
  :root {
    color-scheme: light;
    --ink:#102437;
    --navy:#013771;
    --muted:#475c69;
    --blue:#013f84;
    --blue-dark:#012d5d;
    --teal-tint:#e9f6f3;
    --teal:#028575;
    --line:#d6e5e3;
    --soft:#f4f9f8;
    --white:#fff;
    --error:#a5232a;
    --header:76px;
    --gutter:clamp(1rem,4vw,2.75rem);
    --radius:16px;
    --shadow:0 8px 24px rgb(32 56 91 / .07);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size:96%;
    color:var(--ink);
    background:var(--white);
    line-height:1.55;
    font-synthesis:none;
  }
  *,*::before,*::after {box-sizing:border-box}
  body {margin:0;min-width:0}
  body.menu-active {overflow:hidden}
  h1,h2,h3,p,figure,dl,dd {margin:0}
  h1,h2,h3 {color:var(--navy);line-height:1.12;letter-spacing:-.035em}
  h1 {font-size:clamp(1.8rem,3.7vw,2.95rem);font-weight:760}
  h2 {font-size:clamp(1.3rem,2.3vw,1.9rem);font-weight:740}
  h3 {font-size:1.08rem;font-weight:720}
  p,address {color:var(--muted)}
  a {color:var(--blue-dark);text-underline-offset:.18em}
  img {display:block;max-width:100%}
  button,input,textarea {font:inherit}
  button {cursor:pointer}
  button:disabled {cursor:not-allowed;opacity:.48}
  svg {display:block;width:24px;height:24px}
  address {font-style:normal}
  [hidden] {display:none!important}
  :focus-visible {outline:3px solid var(--teal);outline-offset:3px}
  main:focus {outline:none}
  main {min-height:50vh}
  .skip {position:fixed;z-index:50;left:12px;top:12px;transform:translateY(-150%);padding:.7rem 1rem;background:white;border-radius:6px}
  .skip:focus {transform:none}
}

@layer layout {
  .shell {width:min(1280px,calc(100% - 2 * var(--gutter)));margin-inline:auto}
  .section {padding-block:clamp(3.1rem,6vw,5.75rem)}
  .soft {background:var(--soft)}
  .page-body {padding-block:clamp(2.2rem,5vw,4.8rem)}
  .page-intro {margin-bottom:2.3rem;max-width:790px}
  .page-intro p {font-size:1.06rem;margin-top:1rem;max-width:68ch}
  .section-heading {display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.65rem}
  .section-heading p {margin-top:.55rem}
  .actions {display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
  .split {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:1.5rem}
  .contact-layout {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
  .about-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
}

@layer components {
  .site-header {position:sticky;top:0;z-index:10;background:rgb(255 255 255 / .98);border-bottom:1px solid var(--line);transition:box-shadow .2s,background .2s}
  .site-header.scrolled {background:#fff;box-shadow:0 3px 13px rgb(16 39 73 / .08)}
  .header-row {height:var(--header);display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
  .brand {width:88px;height:74px;display:flex;align-items:center;justify-content:center;border-radius:8px;overflow:hidden}
  .brand img {width:88px;height:88px;object-fit:contain}
  .desktop-nav {align-self:stretch;position:relative;display:flex;align-items:center;gap:clamp(1.3rem,3vw,2.6rem)}
  .desktop-nav a {display:grid;place-items:center;height:100%;color:var(--muted);text-decoration:none;font-size:.95rem;font-weight:650;white-space:nowrap;transition:color .18s}
  .desktop-nav a:hover,.desktop-nav a[aria-current],.desktop-nav a.selected {color:var(--blue-dark)}
  .desktop-nav:has(.selected) a[aria-current]:not(.selected) {color:var(--muted)}
  .nav-indicator {position:absolute;bottom:0;left:0;height:3px;border-radius:3px 3px 0 0;background:var(--teal);opacity:0;transition:transform .145s,width .145s,opacity .14s;pointer-events:none}
  .nav-indicator::after {position:absolute;content:"";width:5px;height:5px;left:calc(50% - 2.5px);top:-1px;border-radius:50%;background:var(--teal)}
  .nav-indicator.shown {opacity:1}
  .header-actions {display:flex;justify-self:end;gap:.5rem}
  .icon-button {position:relative;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:11px;background:white;color:var(--navy);text-decoration:none;transition:background .18s}
  .icon-button:hover {background:var(--teal-tint)}
  .cart-badge {position:absolute;inset:-7px -7px auto auto;background:var(--blue);color:white;min-width:21px;height:21px;padding-inline:4px;border:2px solid white;display:grid;place-items:center;border-radius:20px;font-size:.69rem;font-weight:750;line-height:1}
  .menu-open {display:none}
  .mobile-menu {position:fixed;inset:0 0 0 auto;margin:0;padding:0;width:min(360px,100%);height:100%;max-height:none;max-width:none;border:none;color:var(--ink);transform:translateX(100%);transition:transform .18s ease-out}
  .mobile-menu.visible {transform:none}
  .mobile-menu::backdrop {background:rgb(16 35 67 / .45);opacity:0;transition:opacity .18s}
  .mobile-menu.visible::backdrop {opacity:1}
  .mobile-inner {padding:1.35rem}
  .mobile-title {display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;color:var(--navy)}
  .mobile-menu nav {display:grid;gap:.4rem}
  .mobile-menu a {display:block;padding:.8rem;border-radius:8px;color:var(--navy);text-decoration:none}
  .mobile-menu a:hover,.mobile-menu a[aria-current] {background:var(--teal-tint);color:#00594d}
  .button {display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.62rem 1.05rem;border:1px solid transparent;border-radius:9px;font-weight:700;font-size:.91rem;line-height:1.35;text-align:center;text-decoration:none;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
  .primary {color:white;background:var(--blue);border-color:var(--blue)}
  .primary:hover:not(:disabled) {background:var(--blue-dark);border-color:var(--blue-dark);box-shadow:0 4px 10px rgb(1 63 132 / .17)}
  .secondary,.cart-toggle {color:var(--navy);background:white;border-color:var(--line)}
  .secondary:hover,.cart-toggle:hover:not(:disabled) {background:var(--teal-tint);border-color:#91c6bd;color:var(--blue-dark)}
  .cart-toggle[aria-pressed="true"] {background:var(--navy);border-color:var(--navy);color:white}
  .cart-toggle[aria-pressed="true"]:hover {background:var(--blue-dark);border-color:var(--blue-dark)}
  .text-button {color:var(--blue-dark);padding-inline:0;justify-content:start;background:transparent;min-height:42px}
  .text-button:hover {text-decoration:underline}
  .light {color:var(--navy);background:white;border-color:white}
  .light:hover {background:var(--teal-tint);border-color:var(--teal-tint)}
  .full {width:100%}
  .full+.full {margin-top:.7rem}

  .hero {background:var(--teal-tint);border-bottom:1px solid var(--line)}
  .hero-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);align-items:center;gap:clamp(2rem,5vw,5rem);min-height:530px;padding-block:clamp(2.7rem,5vw,5rem)}
  .eyebrow {text-transform:uppercase;font-size:.75rem;letter-spacing:.145em;font-weight:800;color:#006d60;display:flex;align-items:center;gap:.6rem;margin-bottom:1.2rem}
  .eyebrow span {width:9px;height:9px;border-radius:2px;background:var(--teal)}
  .hero h1 {font-size:clamp(2.3rem,3.7vw,3.45rem);line-height:1.06;letter-spacing:-.05em;max-width:13.5ch}
  .hero-description {font-size:clamp(1rem,1.45vw,1.125rem);max-width:45ch;margin:1.35rem 0 1.7rem}
  .hero-photo {position:relative;width:92%;margin-inline:auto;overflow:hidden;border-radius:22px;aspect-ratio:1.44;background:#d9efea;border:1px solid rgb(255 255 255 / .85);box-shadow:0 14px 38px rgb(29 61 108 / .12)}
  .hero-photo img {width:100%;height:100%;object-fit:cover}
  .category-grid,.service-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
  .category-card,.product-card {overflow:hidden;background:white;border:1px solid var(--line);border-radius:var(--radius);transition:box-shadow .22s,border-color .22s,transform .22s}
  .category-card:hover,.product-card:hover {box-shadow:var(--shadow);border-color:#b3d5cf;transform:translateY(-3px)}
  .category-card>div:last-child {padding:1.1rem 1.25rem .65rem}
  .category-card h3 {font-size:1.13rem}
  .category-card p {margin-top:.45rem;font-size:.94rem}
  .category-card .text-button {margin-top:.35rem}
  .media {position:relative;overflow:hidden;display:grid;place-items:center;background:var(--soft)}
  .media img {width:100%;height:100%;object-fit:cover;transition:transform .36s cubic-bezier(.2,.65,.32,1)}
  .category-card:hover img,.product-card:hover img {transform:scale(1.045)}
  .category-media {width:88%;margin:.7rem auto 0;aspect-ratio:1.65;border-radius:calc(var(--radius) - 4px)}
  .category-media img {position:absolute;inset:0}
  .product-image-link {display:block;border-radius:var(--radius)}
  .product-image-link:focus-visible {outline-offset:-4px}
  .product-media {width:78%;margin:.8rem auto 0;aspect-ratio:1;border-radius:calc(var(--radius) - 4px)}
  .product-media img {position:absolute;inset:0}
  .media-error {position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:.25rem;color:var(--muted);font-size:.84rem}
  .product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}
  .product-card {display:flex;flex-direction:column}
  .product-card-body {padding:1rem;display:flex;flex-direction:column;flex:1;gap:.42rem}
  .product-card h2,.product-card h3 {font-size:1rem;line-height:1.25;letter-spacing:-.02em}
  .product-card h2 a,.product-card h3 a,.cart-item h2 a {color:inherit;text-decoration:none}
  .product-card h2 a:hover,.product-card h3 a:hover,.cart-item h2 a:hover {color:var(--blue-dark);text-decoration:underline}
  .product-spec {font-size:.88rem;line-height:1.45}
  .price {font-size:1.35rem;color:var(--navy);font-weight:780;letter-spacing:-.025em}
  .card-actions {margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:.4rem;padding-top:.45rem}
  .card-actions .button {font-size:.82rem;padding-inline:.25rem;min-height:43px}
  .filters {display:flex;flex-wrap:wrap;gap:.55rem;margin-bottom:1.65rem}
  .filters button {background:white;color:var(--navy);border:1px solid var(--line);border-radius:8px;padding:.55rem .85rem;min-height:44px;font-size:.91rem;font-weight:680}
  .filters button:hover {background:var(--teal-tint)}
  .filters button[aria-pressed="true"] {background:var(--blue);color:white;border-color:var(--blue)}
  .service-grid {grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}
  .service-page {grid-template-columns:repeat(3,minmax(0,1fr))}
  .service-card,.values>article {padding:1.2rem;background:white;border:1px solid var(--line);border-radius:var(--radius)}
  .service-card h2 {font-size:1.15rem}
  .service-card p,.values p {font-size:.94rem;margin:.55rem 0 0}
  .service-card .button {margin-top:.5rem}
  .icon-tile {display:inline-grid;place-items:center;width:43px;height:43px;background:var(--teal-tint);color:var(--blue-dark);border-radius:10px;margin-bottom:.9rem;flex:none}
  .icon-tile svg {width:21px;height:21px}
  .values {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
  .contact-band {display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:clamp(1.5rem,4vw,3.2rem);background:var(--navy);border-radius:20px}
  .contact-band h2 {font-size:clamp(1.35rem,2.65vw,2rem);color:white}
  .contact-band p {color:#d7f0ed;margin-top:.6rem}
  .contact-band .button {flex:none}

  .site-footer {background:var(--soft);border-top:1px solid var(--line);color:var(--muted)}
  .footer-grid {display:grid;grid-template-columns:1.14fr .72fr 1.05fr 1.14fr;gap:1.5rem;padding-block:2.9rem 2.15rem}
  .footer-grid h2 {font-size:.97rem;letter-spacing:0;margin:.6rem 0 1rem}
  .footer-grid a {color:inherit;text-decoration:none;overflow-wrap:anywhere;font-size:.91rem}
  .footer-grid a:hover {color:var(--blue-dark);text-decoration:underline}
  .footer-grid nav a {display:block;margin:.37rem 0}
  .footer-brand img {border-radius:9px;border:1px solid var(--line)}
  .footer-brand p {max-width:30ch;margin-top:.7rem;font-size:.92rem}
  .copyright {font-size:.84rem;padding-block:1rem;border-top:1px solid var(--line)}

  .panel {border:1px solid var(--line);background:white;border-radius:var(--radius);padding:clamp(1.05rem,2.3vw,1.8rem);min-width:0}
  .panel h2 {font-size:1.23rem;margin-bottom:1rem;line-height:1.2}
  .panel p+p {margin-top:.6rem}
  .about-grid .panel p {max-width:65ch}
  .about-grid .button {margin-top:.5rem}
  .empty-state {text-align:center;padding-block:3rem;margin-top:1rem}
  .empty-state p {margin:0 0 1rem}
  .breadcrumb {display:flex;align-items:center;gap:.65rem;font-size:.92rem;margin-bottom:1.25rem;color:var(--muted)}
  .detail-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.2rem,5vw,4.25rem);align-items:start}
  .detail-media {width:84%;max-width:500px;margin-inline:auto;aspect-ratio:1;border:1px solid var(--line);border-radius:18px}
  .detail-media img {position:absolute;inset:0;object-fit:contain}
  .detail-info h1 {font-size:clamp(1.7rem,3.2vw,2.5rem)}
  .detail-price {margin:.55rem 0 .8rem;font-size:1.85rem}
  .availability {color:#00594d;background:var(--teal-tint);border-radius:6px;display:inline-block;padding:.25rem .58rem;font-size:.89rem;margin-top:.9rem!important;font-weight:660}
  .variations {border:0;padding:0;margin:1.15rem 0 0;min-width:0}
  .variations legend {color:var(--navy);font-size:.95rem;font-weight:700;margin-bottom:.42rem}
  .option-row {display:flex;flex-wrap:wrap;gap:.45rem}
  .choice {position:relative;cursor:pointer}
  .choice input {position:absolute;opacity:0;pointer-events:none}
  .choice span {min-height:44px;display:flex;align-items:center;gap:.45rem;border:1px solid var(--line);border-radius:8px;padding:.45rem .7rem;font-size:.91rem}
  .choice input:checked+span {border-color:var(--teal);background:var(--teal-tint);color:var(--navy);font-weight:700}
  .choice input:focus-visible+span {outline:3px solid var(--blue);outline-offset:2px}
  .choice i {border:1px solid #8d98a8;width:17px;height:17px;border-radius:50%;background:var(--swatch)}
  .detail-actions {margin-top:1.35rem}
  .detail-quantity {margin-top:1rem}
  .detail-quantity input {max-width:6rem}
  .detail-actions .button {min-width:126px}
  .specs {border-top:1px solid var(--line);margin-top:1.6rem;padding-top:1.25rem}
  .specs h2 {font-size:1.22rem}
  .specs ul {padding-inline-start:1.25rem;color:var(--muted)}
  .fine-print {font-size:.88rem;color:var(--muted);margin:.7rem 0 1rem}
  .cart-items {display:grid;gap:.85rem}
  .cart-notice {margin-bottom:1rem}
  .cart-item {display:grid;grid-template-columns:94px minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:1rem}
  .cart-media,.summary-media {width:88%;margin-inline:auto;aspect-ratio:1;border-radius:9px}
  .cart-item h2 {margin-bottom:.3rem;font-size:1.1rem}
  .cart-item p,.summary-items p {font-size:.88rem}
  .cart-item p+p {margin-top:0}
  .cart-item-controls {display:grid;gap:.4rem;justify-items:end;color:var(--navy)}
  .stepper {display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}
  .stepper button {color:var(--navy);border:0;background:var(--soft);width:44px;height:44px}
  .stepper button:focus-visible {outline-offset:-4px}
  .stepper button:hover:not(:disabled) {background:var(--teal-tint)}
  .stepper span {font-size:.94rem;min-width:1.65rem;text-align:center}
  .remove {min-height:38px;border:0;background:none;color:var(--error);padding:0;text-decoration:underline;text-underline-offset:.18em;font-size:.88rem}
  .totals {display:grid;gap:.6rem;color:var(--muted);margin:.75rem 0}
  .totals div {display:flex;justify-content:space-between;gap:.75rem}
  .totals .grand-total {border-top:1px solid var(--line);padding-top:.7rem;font-size:1.05rem;font-weight:780;color:var(--navy)}
  .warning,.form-status {color:var(--error)}
  .form-status {margin:.6rem 0;font-size:.93rem}
  .form-status:empty {display:none}

  .fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
  .field {display:flex;flex-direction:column;gap:.28rem;min-width:0}
  .field.wide,.contact-fields .field {grid-column:1/-1}
  .field label {color:var(--navy);font-size:.92rem;font-weight:680}
  .field input,.field textarea {width:100%;min-height:46px;font-size:max(1rem,16px);border:1px solid #9db9b5;border-radius:8px;padding:.55rem .7rem;color:var(--ink);background:#fff;scroll-margin-top:calc(var(--header) + 1.5rem);transition:border-color .18s,box-shadow .18s}
  .field textarea {resize:vertical}
  .field [aria-invalid="true"] {border-color:var(--error);background:#fff8f8}
  .field [aria-invalid="true"]:focus {outline:2px solid var(--error);outline-offset:2px}
  .field-error {color:var(--error);font-size:.86rem}
  .field-error:empty {display:none}
  .checkout-section {margin-top:1.35rem;padding-top:1.2rem;border-top:1px solid var(--line)}
  .checkout-section h3 {margin-bottom:.85rem}
  .checkout-form button[type="submit"] {margin-top:1rem}
  .order-summary {background:var(--soft)}
  .payment {display:flex;gap:.7rem;align-items:center;border:1px solid var(--line);border-radius:10px;margin:1rem 0;padding:.75rem}
  .payment .icon-tile {margin:0}
  .payment p {font-size:.9rem}
  .notice {background:var(--teal-tint);color:#22534e;padding:.75rem .9rem;border-left:3px solid var(--teal);border-radius:5px;line-height:1.5;font-size:.92rem;overflow-wrap:anywhere}
  .notice+.button,.notice~.fields {margin-top:1rem}
  .summary-items {margin:0;padding:0;list-style:none;display:grid;gap:.85rem}
  .summary-items li {display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:start;gap:.65rem;padding-bottom:.85rem;border-bottom:1px solid var(--line)}
  .summary-items li p+p {margin:0}
  .summary-items li>strong {font-size:.92rem}
  .confirmation-actions {margin-top:1.4rem}
  .confirmation-intro {max-width:850px;margin-bottom:1.45rem}
  .saved-order {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1.35rem;margin-bottom:1.5rem;background:var(--teal-tint);border-color:var(--line)}
  .saved-order h2 {font-size:.9rem;letter-spacing:0;margin-bottom:.28rem}
  .saved-reference {color:var(--navy);font-weight:760;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  .saved-order-status {border-left:1px solid #bdd9d4;padding-left:1.35rem}
  .saved-order-status strong {color:var(--navy);font-size:.95rem}
  .saved-order-status p {font-size:.92rem;margin-top:.2rem}
  .saved-delivery,.contact-info dl {display:grid;gap:.8rem}
  .saved-delivery>div,.contact-info dl>div {border-top:1px solid var(--line);padding-top:.75rem}
  .saved-delivery dt,.contact-info dt {font-size:.91rem;font-weight:700;color:var(--navy)}
  .saved-delivery dd,.contact-info dd {margin-top:.18rem;color:var(--muted);overflow-wrap:anywhere}
  .saved-delivery address {color:inherit}
  .contact-info {background:var(--soft)}
  .contact-store-name {color:var(--navy);font-weight:700;margin-bottom:.85rem}
  .contact-guidance {border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
  .contact-guidance h3 {font-size:1rem;letter-spacing:-.01em}
  .contact-guidance ul {color:var(--muted);margin:.5rem 0 0;padding-left:1.15rem;font-size:.94rem}
  .contact-guidance li+li {margin-top:.35rem}
  .contact-intro {margin:-.35rem 0 1rem}
  .contact-email-note {margin-top:.85rem;font-size:.91rem;overflow-wrap:anywhere}
  .contact-layout form .button {margin-top:.9rem}
  #contact-status {color:var(--muted)}
  .policy {max-width:1060px;margin-inline:auto}
  .policy .page-intro {margin-bottom:.85rem}
  .policy .policy-date {font-size:.9rem;margin-bottom:1.5rem}
  .policy-layout {display:grid;grid-template-columns:minmax(0,224px) minmax(0,1fr);align-items:start;gap:clamp(1.5rem,4vw,3.5rem)}
  .policy-toc {position:sticky;top:calc(var(--header) + 1rem);background:var(--soft);padding:1.15rem;border:1px solid var(--line);border-radius:12px}
  .policy-toc h2 {font-size:1rem;letter-spacing:0}
  .policy-toc ol {margin:.5rem 0 0;padding-left:1.15rem;color:var(--muted);font-size:.9rem}
  .policy-toc li+li {margin-top:.42rem}
  .policy-toc a {color:var(--navy);text-decoration:none}
  .policy-toc a:hover {color:var(--blue-dark);text-decoration:underline}
  .policy-content section {border-top:1px solid var(--line);padding-block:1.1rem 1.4rem;scroll-margin-top:calc(var(--header) + 1rem)}
  .policy-content section h2 {font-size:1.17rem;margin-bottom:.55rem}
  .policy-content section p {overflow-wrap:anywhere;max-width:75ch;line-height:1.72}
  .policy-content section p+p {margin-top:.7rem}

  .scroll-top {position:fixed;z-index:4;inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;width:45px;height:45px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white;color:var(--navy);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
  .scroll-top.visible {opacity:1;visibility:visible;transform:none}
  .toast {position:fixed;z-index:20;left:50%;bottom:max(20px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 100px);padding:.7rem 1rem;color:white;background:var(--navy);border-radius:8px;box-shadow:var(--shadow);opacity:0;transform:translate(-50%,8px);transition:opacity .18s,transform .18s;pointer-events:none;font-size:.92rem}
  .toast.visible {opacity:1;transform:translate(-50%,0)}
}
@layer responsive {
  @media (max-width:1100px) {
    .hero-grid {min-height:475px;gap:2.3rem}
    .service-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
    .product-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  }
  @media (max-width:880px) {
    .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
    .hero-grid {min-height:425px;gap:1.7rem}
    .hero h1 {font-size:clamp(2.05rem,4.5vw,2.85rem)}
    .split {gap:1rem}
    .cart-layout {grid-template-columns:minmax(0,1fr)}
  }
  @media (max-width:960px) {
    :root {font-size:92%}
    .product-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  }
  @media (max-width:760px) {
    :root {--header:67px;--gutter:clamp(1rem,4.45vw,2rem);--radius:14px}
    h1 {font-size:clamp(1.55rem,4.6vw,2rem);line-height:1.15;overflow-wrap:anywhere}
    h2 {font-size:clamp(1.2rem,3.25vw,1.55rem);line-height:1.2}
    .page-body {padding-block:clamp(1.6rem,5vw,2.5rem)}
    .page-intro {margin-bottom:1.45rem}
    .page-intro p {font-size:1rem;margin-top:.65rem}
    .section {padding-block:clamp(2.15rem,6.75vw,3.4rem)}
    .section-heading {align-items:flex-start;flex-direction:column;gap:.75rem;margin-bottom:1.2rem}
    .section-heading p {margin-top:.35rem}
    .header-row {display:flex;justify-content:space-between}
    .brand {width:76px;height:65px}
    .brand img {width:76px;height:76px}
    .desktop-nav {display:none}
    .menu-open {display:grid}
    .hero-grid {grid-template-columns:minmax(0,1fr);min-height:0;gap:1.35rem;padding-block:clamp(1.9rem,6vw,3rem)}
    .eyebrow {margin-bottom:.8rem;letter-spacing:.11em}
    .hero h1 {font-size:clamp(1.7rem,5.5vw,2.3rem);max-width:17ch}
    .hero-description {margin:1rem 0 1.25rem}
    .hero-photo {aspect-ratio:1.6;border-radius:15px}
    .category-grid,.service-grid,.values,.about-grid,.product-grid {grid-template-columns:minmax(0,1fr);gap:1rem}
    .product-media {width:68%;max-width:270px;margin-top:.85rem}
    .product-card-body {padding:clamp(1rem,3.4vw,1.3rem);gap:.45rem}
    .category-card h3 {font-size:1.05rem;line-height:1.3}
    .product-card h2,.product-card h3 {font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
    .product-spec {font-size:.875rem;line-height:1.4}
    .product-card .price {font-size:1.15rem;line-height:1.3}
    .card-actions {gap:.55rem}
    .card-actions .button {font-size:.875rem;min-height:44px;padding-inline:.45rem}
    .filters {gap:.5rem;margin-bottom:1.15rem}
    .detail-grid,.split {grid-template-columns:minmax(0,1fr)}
    .detail-media {aspect-ratio:1}
    .breadcrumb {flex-wrap:wrap;row-gap:.25rem;margin-bottom:1rem}
    .detail-info h1 {font-size:clamp(1.48rem,4.3vw,1.9rem);margin-top:.3rem}
    .detail-price {font-size:1.55rem}
    .panel h2 {font-size:1.15rem}
    .policy-content section h2 {font-size:1.09rem}
    .saved-order {grid-template-columns:minmax(0,1fr);gap:.75rem}
    .saved-order-status {border-left:0;border-top:1px solid #bdd9d4;padding: .7rem 0 0}
    .saved-order>.button {justify-self:start}
    .policy-layout {grid-template-columns:minmax(0,1fr)}
    .policy-toc {position:static}
    .policy-content section {padding-block:1rem 1.2rem}
  }
  @media (min-width:550px) and (max-width:760px) {
    .category-media {aspect-ratio:2.1}
    .category-media img {object-fit:contain}
  }
  @media (max-width:549px) {
    .contact-band {align-items:flex-start;flex-direction:column;gap:1rem}
    .filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .filters button {padding:.45rem;line-height:1.25}
    .fields {grid-template-columns:minmax(0,1fr)}
    .checkout-form button[type="submit"],.contact-form button[type="submit"] {width:100%}
    .cart-item {grid-template-columns:clamp(58px,20vw,85px) minmax(0,1fr);gap:.75rem}
    .cart-item-controls {grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.65rem}
    .summary-items li {grid-template-columns:clamp(48px,14vw,60px) minmax(0,1fr);gap:.55rem}
    .summary-items li>strong {grid-column:2}
    .footer-grid {grid-template-columns:minmax(0,1fr);gap:1.25rem;padding-block:1.75rem}
    .footer-grid h2 {margin:0 0 .55rem}
    .footer-grid nav a {padding-block:.24rem}
  }
  @media (max-width:355px) {
    .card-actions,.detail-actions {display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem}
  }
}
@layer motion {
  @keyframes section-in {from {opacity:.68;transform:translateY(8px)} to {opacity:1;transform:none}}
  @keyframes cart-pop {45% {transform:translateY(-2px)}}
  @media (prefers-reduced-motion:no-preference) {
    .section-enter,.confirmation-intro {animation:section-in .4s ease-out both}
    .cart-feedback {animation:cart-pop .27s ease-out}
  }
  @media (prefers-reduced-motion:reduce) {
    *,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  }
}
