/* Pruned frontend stylesheet. Shared/base rules remain; area-specific rules are split. */
* {
    box-sizing: border-box;
}

:root {
    --color-primary: #1f5fd6;
    --color-primary-dark: #174bb0;
    --color-text: #1f2937;
    --color-muted: #667085;
    --color-border: #d9dee8;
    --color-surface: #fff;
    --color-background: #f6f8fc;
    --color-accent-soft: #eaf1ff;
    --color-accent-border: #bfd2ff;
    --color-danger: #b42318;
    --color-success: #16794b;
    --shadow-small: 0 2px 8px rgba(31, 41, 55, .07);
    --control-height: 46px;
    --molecule-hex-bg: url("data:image/svg+xml,%3Csvg width='260' height='190' viewBox='0 0 260 190' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d2dae8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.72'%3E%3Cpath d='M62 62 92 44 122 62v36l-30 18-30-18Z'/%3E%3Cpath d='M122 62 152 44 182 62v36l-30 18-30-18Z'/%3E%3Cpath d='M182 80 214 62 242 78'/%3E%3Cpath d='M92 116v34l28 16 30-17'/%3E%3Cpath d='M62 80 30 62 8 76'/%3E%3Cpath d='M152 44V18l24-14'/%3E%3Cpath d='M152 116v32l24 15'/%3E%3Cpath d='M214 62v35l-28 16'/%3E%3C/g%3E%3Cg fill='%23f4f6fb' stroke='%23d2dae8' stroke-width='1.8' opacity='.92'%3E%3Ccircle cx='62' cy='62' r='6'/%3E%3Ccircle cx='92' cy='44' r='6'/%3E%3Ccircle cx='122' cy='62' r='6'/%3E%3Ccircle cx='122' cy='98' r='6'/%3E%3Ccircle cx='92' cy='116' r='6'/%3E%3Ccircle cx='62' cy='98' r='6'/%3E%3Ccircle cx='152' cy='44' r='6'/%3E%3Ccircle cx='182' cy='62' r='6'/%3E%3Ccircle cx='182' cy='98' r='6'/%3E%3Ccircle cx='152' cy='116' r='6'/%3E%3Ccircle cx='214' cy='62' r='5'/%3E%3Ccircle cx='242' cy='78' r='5'/%3E%3Ccircle cx='30' cy='62' r='5'/%3E%3Ccircle cx='8' cy='76' r='5'/%3E%3Ccircle cx='120' cy='166' r='5'/%3E%3Ccircle cx='150' cy='149' r='5'/%3E%3Ccircle cx='176' cy='4' r='5'/%3E%3Ccircle cx='176' cy='163' r='5'/%3E%3Ccircle cx='186' cy='113' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--color-text);
    background: #f7f9ff;
    font: 16px/1.5 Arial, sans-serif;
}

body:not(.admin-page) {
    display: flex;
    flex-direction: column;
}

body:not(.admin-page) > main {
    flex: 1 0 auto;
}

body:not(.admin-page) > .site-footer {
    flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
th,
legend,
[role="tab"],
.account-summary-grid article span {
    text-transform: capitalize;
}

a {
    color: var(--color-primary);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--color-primary-dark);
}

label {
    text-transform: capitalize;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 3px solid rgba(65, 105, 225, .25);
    outline-offset: 2px;
}

.site-header {
    position: relative;
    z-index: 90;
    padding: 0;
    border-bottom: 5px solid var(--color-primary);
    background: #fff;
}

.site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 1rem 0;
}

.site-header-main {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.site-header-actions {
    display: grid;
    width: 100%;
    gap: .25rem;
}

.site-header > a {
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.site-logo-header {
    max-width: min(230px, 68vw);
    height: 48px;
}

.site-nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.affiliate-header .site-nav {
    justify-content: flex-end;
}

.desktop-nav-links {
    display: none;
}

.desktop-nav-links a,
.site-nav .nav-current {
    padding: .45rem .65rem;
    border-radius: 5px;
    text-decoration: none;
}

.desktop-nav-links a {
    color: var(--color-text);
    font-weight: 600;
}

.desktop-nav-links a:hover {
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.mobile-nav-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-nav-menu select {
    width: 100%;
    height: var(--control-height);
    padding: .65rem 2.5rem .65rem .75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    background-color: #fff;
    font: inherit;
}

.mobile-menu-trigger {
    display: none;
}

.cart-trigger-icon {
    display: none;
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.hamburger-icon {
    display: grid;
    width: 1.25rem;
    gap: .24rem;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-store-menu {
    display: grid;
    width: 100%;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.mobile-store-menu[hidden] {
    display: none;
}

.mobile-menu-links,
.mobile-menu-account-links {
    display: grid;
    gap: .35rem;
}

.mobile-menu-links a,
.mobile-menu-links .nav-current,
.mobile-menu-account-links a,
.mobile-menu-account-links .account-dropdown-current {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .65rem .75rem;
    border-radius: 7px;
    color: var(--color-text);
    text-decoration: none;
}

.mobile-menu-links a:hover,
.mobile-menu-account-links a:hover {
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.mobile-menu-links .nav-current,
.mobile-menu-account-links .account-dropdown-current {
    color: var(--color-primary-dark);
    font-weight: 800;
    background: #e8eeff;
}

.mobile-menu-account {
    display: grid;
    gap: .45rem;
    padding-top: .85rem;
    border-top: 1px solid var(--color-border);
}

.mobile-menu-account h2 {
    margin: 0;
    color: var(--color-muted);
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-search {
    position: relative;
    display: grid;
    gap: .4rem;
}

.header-product-search {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
}

.product-search label {
    font-weight: 700;
}

.product-search-control {
    display: flex;
    align-items: stretch;
}

.product-search-control input {
    min-width: 0;
    width: 100%;
    height: var(--control-height);
    padding: .65rem .75rem;
    border: 1px solid var(--color-border);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    font: inherit;
}

.product-search-control button {
    height: var(--control-height);
    min-height: var(--control-height);
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
}

.product-search-results {
    position: absolute;
    z-index: 70;
    top: calc(100% + .4rem);
    right: 0;
    left: 0;
    display: grid;
    gap: .25rem;
    padding: .55rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(31, 41, 55, .16);
}

.product-search-results[hidden] {
    display: none;
}

.product-search-result {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .45rem;
    border-radius: 6px;
    color: var(--color-text);
    text-decoration: none;
}

.product-search-result:hover,
.product-search-result:focus {
    color: var(--color-text);
    background: #eef2ff;
}

.product-search-result img,
.product-search-result-placeholder {
    display: block;
    width: 44px;
    aspect-ratio: 1;
    border-radius: 5px;
    object-fit: cover;
    background: #eef2ff;
}

.product-search-result-title {
    display: block;
    overflow: hidden;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-search-result-meta {
    display: block;
    margin-top: .12rem;
    color: var(--color-muted);
    font-size: .78rem;
    line-height: 1.25;
}

.product-search-empty {
    margin: 0;
    padding: .5rem .6rem;
    color: var(--color-muted);
    font-size: .9rem;
}

.product-search-large {
    min-width: 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 8px 8px 0 0;
    background: #fff;
}

.product-search-clear {
    justify-self: start;
    font-size: .9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-current {
    color: var(--color-primary-dark);
    font-weight: 700;
    cursor: default;
}

.site-nav .nav-current {
    border: 0;
    background: #e8eeff;
}

@media (max-width: 599px) {
.site-header-inner {
        align-items: stretch;
        gap: .75rem;
        padding: .75rem 0;
    }

.site-header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem;
    }

.site-logo-header {
        max-width: min(185px, 46vw);
        height: 38px;
    }

.site-header-actions {
        width: auto;
    }

.site-nav {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: .4rem;
    }

.header-product-search,
.header-main-links,
.account-menu,
.mobile-nav-menu {
        display: none;
    }

.mobile-menu-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        border: 1px solid var(--color-border);
        border-radius: 7px;
        color: var(--color-text);
        background: #fff;
    }

.mobile-menu-trigger[aria-expanded="true"] {
        border-color: var(--color-primary);
        color: var(--color-primary-dark);
        background: #eef2ff;
    }

.cart-menu {
        flex: 0 0 auto;
        order: 1;
    }

.mobile-menu-trigger {
        order: 2;
    }

.cart-trigger,
.mobile-menu-trigger {
        white-space: nowrap;
    }

.cart-trigger {
        position: relative;
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
    }

.cart-trigger-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

.cart-trigger-icon {
        display: block;
    }

.cart-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 1.05rem;
        height: 1.05rem;
        margin-left: 0;
        padding: 0 .22rem;
        border: 2px solid #fff;
        font-size: .65rem;
        line-height: 1;
    }

.mobile-store-menu {
        position: absolute;
        z-index: 95;
        top: calc(100% + .5rem);
        right: 1rem;
        left: 1rem;
        width: auto;
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
        box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
    }
}

@media (max-width: 410px) {
.site-logo-header {
        max-width: min(160px, 42vw);
        height: 34px;
    }

.site-header-main {
        gap: .35rem;
    }

.site-nav {
        gap: .3rem;
    }

.cart-trigger,
.mobile-menu-trigger {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }

.cart-trigger-icon {
        width: 1.18rem;
        height: 1.18rem;
    }

.hamburger-icon {
        width: 1.12rem;
        gap: .2rem;
    }
}

.site-footer {
    margin-top: 3rem;
    color: #e5e7eb;
    border-top: 1px solid #444;
    background: #252525;
}

.site-footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 2.5rem 0;
}

.footer-main h2,
.footer-main h3 {
    margin: 0 0 .85rem;
    color: #fff;
}

.footer-main h2 {
    font-size: 1.25rem;
}

.footer-main h3 {
    font-size: 1rem;
}

.footer-brand p {
    max-width: 360px;
    color: #d1d5db;
    margin-top:.25em;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0;
}

.site-logo-footer {
    max-width: min(260px, 76vw);
    height: 70px;
    object-position: left center;
}

.footer-brand address {
    color: #d1d5db;
    font-style: normal;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    min-width: 0;
}

.footer-column a,
.footer-note,
.footer-brand p {
    overflow-wrap: anywhere;
}

.footer-note {
    max-width: 260px;
    margin: .35rem 0 0;
    color: #c7cbd1;
    font-size: .85rem;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: .35rem;
    padding: .55rem .7rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.footer-trust-lock {
    position: relative;
    display: inline-flex;
    width: 1.55rem;
    height: 1.35rem;
    flex: 0 0 auto;
    margin-top: 2px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--color-primary);
}

.footer-trust-lock::before {
    position: absolute;
    bottom: calc(100% - .18rem);
    left: 50%;
    width: .78rem;
    height: .64rem;
    border: 2px solid var(--color-primary);
    border-bottom: 0;
    border-radius: .55rem .55rem 0 0;
    content: "";
    transform: translateX(-50%);
}

.footer-trust-lock::after {
    width: .18rem;
    height: .42rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 -.18rem 0 #fff;
    content: "";
}

.footer-trust-badge strong,
.footer-trust-badge small {
    display: block;
    line-height: 1.15;
}

.footer-trust-badge strong {
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-trust-badge small {
    margin-top: .12rem;
    color: #c7cbd1;
    font-size: .72rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
    padding: 1rem 0;
    border-top: 1px solid #5f5f5f;
    color: #c7cbd1;
    font-size: .78rem;
}

.footer-bottom a {
    color: #c7cbd1;
}

.content-page {
    max-width: 900px;
}

.home-page {
    width: 100%;
}

.home-section-width {
    width: min(100% - 2rem, 1200px);
    margin-right: auto;
    margin-left: auto;
}

.home-page section {
    scroll-margin-top: 1rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    height: clamp(350px, 48vw, 390px);
    border-bottom: 4px solid var(--color-primary);
    background: #1f2937;
}

.home-slides {
    position: relative;
    height: 100%;
}

.home-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    color: #fff;
    opacity: 0;
    transform: translateX(24px) scale(1.01);
    background-image:
        linear-gradient(90deg, rgba(10, 18, 35, .84), rgba(10, 18, 35, .28)),
        var(--home-slide-image);
    background-position: center;
    background-size: cover;
    transition:
        opacity .75s ease,
        transform .85s cubic-bezier(.22, 1, .36, 1);
    z-index: 0;
    will-change: opacity, transform;
}

.home-slide[hidden] {
    display: none;
}

.home-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.home-slide.is-leaving {
    opacity: 0;
    transform: translateX(-18px) scale(1.01);
    z-index: 1;
}

.home-slide.is-entering-reverse {
    transform: translateX(-24px) scale(1.01);
}

.home-slide.is-leaving-reverse {
    transform: translateX(18px) scale(1.01);
}

.home-slide-inner {
    display: flex;
    align-items: center;
    width: min(100% - 2rem, 1200px);
    height: 100%;
    margin: 0 auto;
}

.home-slide-content {
    max-width: 650px;
    padding: 2.5rem 0 3rem;
    opacity: .96;
    transform: translateY(8px);
    transition:
        opacity .65s ease .12s,
        transform .75s cubic-bezier(.22, 1, .36, 1) .12s;
}

.home-slide.is-active .home-slide-content {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home-slide-content {
        transition: none;
    }
}

.home-slide-center .home-slide-inner {
    justify-content: center;
    text-align: center;
}

.home-slide-right .home-slide-inner {
    justify-content: flex-end;
    text-align: right;
}

.home-slide h1 {
    max-width: 800px;
    margin: .3rem 0 .85rem;
    font-size: clamp(1.65rem, 3.9vw, 3.15rem);
    line-height: 1.06;
}

.home-slide-content > p:not(.home-eyebrow) {
    max-width: 620px;
    color: #edf2ff;
    font-size: clamp(1rem, 1.75vw, 1.14rem);
    line-height: 1.55;
}

.home-eyebrow {
    margin: 0 0 .45rem;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-slide .home-eyebrow {
    color: #7eb0ff;
}

.home-hero-button {
    margin-top: 1rem;
    padding-right: 1.35rem;
    padding-left: 1.35rem;
}

.home-slider-arrow {
    position: absolute;
    z-index: 2;
    display: none;
    top: 50%;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-color: rgba(255, 255, 255, .75);
    border-radius: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    background: rgba(255, 255, 255, .92);
    font-size: 1.75rem;
}

.home-slider-arrow:hover {
    color: #fff;
    background: var(--color-primary);
}

.home-slider-prev {
    left: .75rem;
}

.home-slider-next {
    right: .75rem;
}

.home-slider-dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 1rem;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.home-slider-dots button {
    width: 24px;
    min-width: 24px;
    height: 10px;
    min-height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 999px;
    background: transparent;
}

.home-slider-dots button.is-active {
    background: #fff;
}

.home-features {
    border-top: 1px solid #edf2ff;
    border-bottom: 1px solid var(--color-accent-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(234, 241, 255, .72)),
        #f7faff;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.home-feature {
    position: relative;
    display: block;
    min-height: 0;
    padding: .85rem 1rem .85rem 1.05rem;
    border: 1px solid #dfe7f6;
    border-radius: 10px;
    background:
        linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 14px rgba(31, 41, 55, .045);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-feature::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -96px;
    width: 210px;
    height: 154px;
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .32;
    pointer-events: none;
    transform: translateY(-50%) rotate(-7deg);
}

.home-feature::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: var(--color-primary);
    opacity: .9;
}

.home-feature:nth-child(2)::before {
    top: 46%;
    right: -100px;
    width: 218px;
    transform: translateY(-50%) rotate(8deg) scaleX(-1);
}

.home-feature:nth-child(3)::before {
    top: 54%;
    right: -98px;
    width: 205px;
    transform: translateY(-50%) rotate(15deg);
}

.home-feature:nth-child(4)::before {
    top: 50%;
    right: -116px;
    width: 228px;
    opacity: .3;
    transform: translateY(-50%) rotate(-14deg) scaleX(-1);
}

.home-feature:nth-child(n + 4) {
    display: none;
}

.home-feature:hover {
    border-color: var(--color-accent-border);
    box-shadow: 0 10px 26px rgba(31, 41, 55, .075);
    transform: translateY(-2px);
}

.home-feature > div {
    position: relative;
    z-index: 1;
}

.home-feature h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: .01em;
}

.home-feature p {
    max-width: 22rem;
    margin: .1rem 0 0;
    color: var(--color-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.home-testing h2,
.home-about h2 {
    margin: .35rem 0 .75rem;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    line-height: 1.15;
}

.home-introduction > p:not(.home-eyebrow) {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.home-product-section {
    padding-top: clamp(3rem, 6vw, 5rem);
}

.home-section-heading {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: .7rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid #dfe7f6;
    border-radius: 10px;
    background:
        linear-gradient(135deg, #fff 0%, #fbfdff 58%, #f3f7ff 100%),
        #fff;
    box-shadow: 0 4px 16px rgba(31, 41, 55, .045);
    overflow: hidden;
}

.home-section-heading::before {
    content: "";
    position: absolute;
    top: 0;
    right: -76px;
    width: 300px;
    height: 220px;
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .22;
    pointer-events: none;
    transform: rotate(-5deg);
}

.home-section-heading > * {
    position: relative;
    z-index: 1;
}

.home-section-heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -.01em;
}

.home-section-heading p {
    max-width: 48rem;
    margin: .2rem 0 0;
    color: var(--color-muted);
    font-size: .95rem;
    line-height: 1.45;
}

.home-section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}

.button.home-shop-all {
    min-height: 38px;
    width: fit-content;
    padding: .42rem .8rem;
    border-radius: 999px;
    color: var(--color-primary);
    border-color: var(--color-accent-border);
    background: var(--color-accent-soft);
    font-size: .9rem;
    line-height: 1.2;
}

.button.home-shop-all:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: #fff;
}

.button.home-shop-all::after {
    content: "›";
    margin-left: .45rem;
    font-size: 1.05rem;
    line-height: 0;
    transform: translateY(-1px);
}

.home-product-carousel-wrap {
    position: relative;
}

.home-product-carousel {
    display: grid;
    grid-auto-columns: var(--home-carousel-card-width, minmax(240px, 82vw));
    grid-auto-flow: column;
    gap: 1rem;
    padding: .1rem 0 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.home-product-carousel-wrap:hover .home-product-carousel,
.home-product-carousel-wrap:focus-within .home-product-carousel,
.home-product-carousel:hover,
.home-product-carousel:focus-within {
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 95, 214, .45) transparent;
}

.home-product-carousel::-webkit-scrollbar {
    height: 8px;
}

.home-product-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.home-product-carousel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
}

.home-product-carousel-wrap:hover .home-product-carousel::-webkit-scrollbar-thumb,
.home-product-carousel-wrap:focus-within .home-product-carousel::-webkit-scrollbar-thumb,
.home-product-carousel:hover::-webkit-scrollbar-thumb,
.home-product-carousel:focus-within::-webkit-scrollbar-thumb {
    background: rgba(31, 95, 214, .45);
}

.home-carousel-arrow {
    position: absolute;
    top: calc(50% - .5rem);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-50%);
    box-shadow: 0 6px 18px rgba(31, 41, 55, .18);
    transition: opacity .18s ease, transform .18s ease;
}

.home-carousel-arrow-prev {
    left: .5rem;
}

.home-carousel-arrow-next {
    right: .5rem;
}

.home-product-carousel-wrap.is-scrollable .home-carousel-arrow {
    display: inline-flex;
}

.home-product-carousel-wrap.is-scrollable:hover .home-carousel-arrow,
.home-product-carousel-wrap.is-scrollable:focus-within .home-carousel-arrow {
    opacity: 1;
}

.home-product-carousel-wrap.is-scrollable .home-carousel-arrow:disabled,
.home-product-carousel-wrap.is-scrollable:hover .home-carousel-arrow:disabled,
.home-product-carousel-wrap.is-scrollable:focus-within .home-carousel-arrow:disabled {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.home-product-carousel-wrap.is-scrollable:hover .home-carousel-arrow-prev,
.home-product-carousel-wrap.is-scrollable:focus-within .home-carousel-arrow-prev {
    transform: translateY(-50%) translateX(.15rem);
}

.home-product-carousel-wrap.is-scrollable:hover .home-carousel-arrow-next,
.home-product-carousel-wrap.is-scrollable:focus-within .home-carousel-arrow-next {
    transform: translateY(-50%) translateX(-.15rem);
}

.home-product-card {
    scroll-snap-align: start;
}

.home-product-card .product-card-content h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
}

.home-product-card .product-card-content h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.home-testing {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: clamp(3rem, 7vw, 5rem) 0;
    color: #f3f4f6;
    background:
        radial-gradient(circle at 90% 10%, rgba(31, 95, 214, .3), transparent 38%),
        #252a32;
}

.home-testing-layout {
    display: grid;
    gap: 2.5rem;
}

.home-testing-intro > p:not(.home-eyebrow) {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-testing-intro .secondary-button {
    margin-top: .75rem;
    border-color: #8da8ff;
    color: #fff;
    background: transparent;
}

.home-testing-steps {
    display: grid;
    gap: .9rem;
}

.home-testing-step {
    position: relative;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
    overflow: hidden;
}

.home-testing-step::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -78px;
    width: 210px;
    height: 154px;
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    filter: brightness(1.7);
    opacity: .18;
    pointer-events: none;
    transform: translateY(-50%) rotate(-8deg);
}

.home-testing-step:nth-child(3n + 2)::before {
    top: 44%;
    right: -54px;
    width: 184px;
    height: 135px;
    opacity: .15;
    transform: translateY(-50%) rotate(10deg);
}

.home-testing-step:nth-child(3n + 3)::before {
    top: 58%;
    right: -96px;
    width: 235px;
    height: 172px;
    opacity: .2;
    transform: translateY(-50%) rotate(2deg);
}

.home-testing-step:nth-child(4n)::before {
    top: 48%;
    right: -40px;
    width: 198px;
    height: 145px;
    opacity: .16;
    transform: translateY(-50%) rotate(-16deg);
}

.home-testing-step::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #8da8ff;
    z-index: 1;
}

.home-testing-step > div {
    position: relative;
    z-index: 2;
}

.home-testing-step:hover {
    border-color: rgba(141, 168, 255, .55);
    background: rgba(255, 255, 255, .08);
}

.home-testing-step h3 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: .01em;
}

.home-testing-step p {
    margin: .25rem 0 0;
    color: #cbd1dc;
    font-size: .88rem;
}

.home-about {
    position: relative;
    display: grid;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 5rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.home-about::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -88px;
    width: min(42vw, 360px);
    height: min(30vw, 260px);
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .5;
    pointer-events: none;
    transform: translateY(-50%) rotate(9deg);
}

.home-about > * {
    position: relative;
    z-index: 1;
}

.home-about p:not(.home-eyebrow) {
    max-width: 780px;
    color: var(--color-muted);
}

.home-about-content {
    max-width: 780px;
}

.home-about-cta {
    justify-self: start;
}

@media (min-width: 600px) {
.home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.home-feature:nth-child(n + 4) {
        display: block;
    }
.home-feature p {
    margin: .25rem 0 0;
    }
.home-feature {
        min-height: 120px;
        padding: 1.5rem 1.25rem;
    }

.home-product-carousel {
        grid-auto-columns: var(--home-carousel-card-width, calc(33.333333% - .666667rem));
    }

.home-section-heading {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

.home-section-heading::before {
        content: none;
    }

.home-section-heading > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

.home-section-actions {
        justify-content: flex-end;
    }

.button.home-shop-all {
        min-height: 42px;
        padding: .5rem 1rem;
        border-radius: 4px;
        color: #fff;
        border-color: var(--color-primary);
        background: var(--color-primary);
        font-size: 1rem;
        line-height: 1.5;
    }

.button.home-shop-all:hover {
        border-color: var(--color-primary-dark);
        color: #fff;
        background: var(--color-primary-dark);
    }

.button.home-shop-all::after {
        content: none;
    }
}

@media (min-width: 900px) {
.home-hero {
        height: 470px;
    }

.home-slide-content {
        padding: 3.25rem 0 3.85rem;
    }

.home-slider-arrow {
        display: inline-flex;
    }

.home-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
    }

.home-product-carousel {
        grid-auto-columns: var(--home-carousel-card-width, calc(25% - .75rem));
    }

.home-slider-prev {
        left: 1.25rem;
    }

.home-slider-next {
        right: 1.25rem;
    }

.home-testing-layout {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        align-items: center;
    }

.home-about {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

.home-about-cta {
        justify-self: end;
        white-space: nowrap;
    }
}

@media (min-width: 1100px) {
.home-product-carousel {
        grid-auto-columns: var(--home-carousel-card-width, calc(20% - .8rem));
    }
}

.content-page-intro {
    color: var(--color-muted);
    font-size: 1.08rem;
}

.content-section {
    position: relative;
    margin: 1.25rem 0;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
    overflow: hidden;
}

.content-section::before {
    content: "";
    position: absolute;
    top: -72px;
    right: -132px;
    width: 360px;
    height: 265px;
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .24;
    pointer-events: none;
    transform: rotate(-8deg);
}

.content-section:nth-of-type(even)::before {
    top: -78px;
    right: -150px;
    width: 380px;
    height: 280px;
    opacity: .21;
    transform: rotate(8deg) scaleX(-1);
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.content-section h2 {
    margin-top: 0;
}

.content-section address {
    font-style: normal;
}

.faq-list {
    display: grid;
    gap: .75rem;
}

.faq-list details {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
    overflow: hidden;
}

.faq-list details::before {
    content: "";
    position: absolute;
    top: -78px;
    right: -145px;
    width: 350px;
    height: 255px;
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .2;
    pointer-events: none;
    transform: rotate(-8deg);
}

.faq-list details:nth-child(even)::before {
    right: -165px;
    opacity: .18;
    transform: rotate(9deg) scaleX(-1);
}

.faq-list details > * {
    position: relative;
    z-index: 1;
}

.faq-list summary {
    color: var(--color-text);
    cursor: pointer;
    font-weight: 700;
}

.contact-layout {
    display: grid;
    gap: 1.5rem;
}

.contact-form {
    margin: 0;
}

.contact-form textarea {
    min-height: 180px;
}

.contact-honeypot {
    display: none;
}

.checkout-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.registration-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.checkout-security-dialog {
    width: min(92vw, 520px);
    padding: 1.5rem;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.checkout-security-dialog::backdrop {
    background: rgba(15, 23, 42, .62);
}

.checkout-security-dialog h2 {
    margin: 0 2.5rem .5rem 0;
}

.checkout-security-dialog > p {
    margin: 0 0 1rem;
    color: var(--color-muted);
}

.checkout-security-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: .75rem;
    margin-top: 1rem;
}

.checkout-security-actions button {
    width: 100%;
}

@media (min-width: 560px) {
    .checkout-security-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .checkout-security-actions button {
        width: auto;
    }
}

@media (min-width: 700px) {
.footer-main {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        gap: 1.6rem 2rem;
    }

.footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

.contact-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
        align-items: start;
    }
}

@media (min-width: 980px) {
.footer-main {
        grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(130px, 1fr));
        gap: 2rem;
    }
}

.cart-menu {
    flex: 0 0 auto;
    position: relative;
}

.account-menu {
    flex: 0 0 auto;
    position: relative;
}

.account-trigger,
.cart-trigger {
    height: var(--control-height);
    min-height: var(--control-height);
    padding: .65rem .85rem;
}

.account-trigger {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: #fff;
}

.account-trigger::after {
    display: inline-block;
    margin-left: .45rem;
    border-top: .34em solid currentColor;
    border-right: .28em solid transparent;
    border-left: .28em solid transparent;
    content: "";
    vertical-align: middle;
}

.account-trigger:hover,
.account-trigger[aria-expanded="true"] {
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.cart-count {
    display: inline-grid;
    min-width: 1.4rem;
    height: 1.4rem;
    margin-left: .25rem;
    place-items: center;
    border-radius: 999px;
    color: var(--color-primary);
    background: #fff;
    font-size: .78rem;
    font-weight: 700;
}

.account-dropdown {
    position: fixed;
    z-index: 60;
    top: var(--mobile-account-top, 7rem);
    right: 1rem;
    bottom: auto;
    left: 1rem;
    display: grid;
    gap: .15rem;
    width: auto;
    padding: .6rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(31, 41, 55, .16);
}

.account-dropdown::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    display: block;
    height: .5rem;
    content: "";
}

.account-dropdown[hidden] {
    display: none;
}

.account-dropdown a,
.account-dropdown-current,
.account-dropdown-greeting {
    display: block;
    padding: .55rem .65rem;
    border-radius: 5px;
    text-decoration: none;
}

.account-dropdown a {
    color: var(--color-text);
    font-weight: 600;
}

.account-dropdown a:hover {
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.account-dropdown-current {
    color: var(--color-primary-dark);
    background: #e8eeff;
    font-weight: 700;
}

.account-dropdown-greeting {
    margin: 0 0 .2rem;
    color: var(--color-muted);
    font-size: .86rem;
    font-weight: 700;
}

.cart-preview {
    position: fixed;
    z-index: 110;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    max-height: min(78dvh, 620px);
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    border-radius: 18px 18px 12px 12px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
    overscroll-behavior: contain;
}

.cart-preview::before {
    content: none;
}

.cart-preview[hidden] {
    display: none;
}

body.cart-preview-modal-open {
    overflow: hidden;
}

body.cart-preview-modal-open::before {
    position: fixed;
    z-index: 120;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    content: "";
}

body.cart-preview-modal-open .site-header {
    z-index: 160;
}

body.cart-preview-modal-open .cart-preview {
    z-index: 170;
}

body.cart-preview-modal-open .mobile-store-menu {
    display: none !important;
}

.cart-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-preview-header strong {
    color: var(--color-text);
    font-size: 1rem;
}

.cart-preview-close {
    display: inline-grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
    max-height: 2.25rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.cart-preview-close:hover,
.cart-preview-close:focus {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cart-preview-items {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-preview-items li,
.cart-preview-subtotal,
.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cart-preview-items li {
    align-items: flex-start;
    padding-bottom: .65rem;
    border-bottom: 1px solid #edf0f5;
}

.cart-preview-items li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-preview-item-details {
    display: grid;
    min-width: 0;
    gap: .15rem;
}

.cart-preview-item-title {
    color: var(--color-text);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.25;
}

.cart-preview-item-meta {
    color: var(--color-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.cart-preview-items li > strong {
    flex: 0 0 auto;
    color: var(--color-text);
    font-size: .9rem;
}

.cart-preview-subtotal {
    padding-top: .75rem;
    border-top: 1px solid var(--color-border);
}

.cart-preview-button {
    width: 100%;
    text-align: center;
}

.shipping-progress {
    margin: 1rem 0;
}

.shipping-progress-track {
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: #e4e9f4;
}

.shipping-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--color-primary);
    transition: width .2s ease, background-color .2s ease;
}

.shipping-progress p {
    margin: .4rem 0 0;
    color: var(--color-muted);
    font-size: .85rem;
}

.shipping-progress.is-achieved .shipping-progress-track {
    background: #dcfce7;
}

.shipping-progress.is-achieved .shipping-progress-track span {
    background: #16a34a;
}

.shipping-progress-message {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.shipping-progress.is-achieved .shipping-progress-message {
    color: #15803d;
    font-weight: 700;
}

.shipping-progress-icon {
    display: inline-grid;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
}

.container {
    width: min(100% - 2rem, 960px);
    margin: 2rem auto;
}

.notice {
    padding: .75rem;
    border-left: 4px solid #b7791f;
    background: #fffaf0;
}

.notice.success {
    border-left-color: var(--color-success);
    background: #f0fff4;
}

.notice.error {
    border-left-color: var(--color-danger);
    background: #fff5f5;
}

.product-inline-warning-wrap {
    margin-top: 1rem;
    margin-bottom: -1rem;
}

.product-inline-warning {
    display: grid;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: var(--color-accent-soft);
    overflow: hidden;
}

.product-inline-warning-title {
    display: block;
    padding: .5rem 1rem;
    color: #202937;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--color-accent-border);
    background: var(--color-accent-soft);
    text-align: center;
}

.product-inline-warning-message {
    display: block;
    padding: .65rem 1rem;
    color: var(--color-text);
    background: #fff;
    font-size: .9em;
}

.auth-form {
    max-width: 560px;
}

.register-form {
    display: grid;
    gap: 1rem;
}

.register-form .form-grid {
    gap: .9rem 1rem;
}

.register-company-row,
.register-birthdate-row,
.registration-security-row {
    grid-column: 1 / -1;
}

.registration-security-row {
    padding: .9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #f8fbff;
}

.registration-security-row label {
    margin-bottom: .25rem;
}

.registration-security-prompt {
    margin: 0 0 .65rem;
    color: var(--color-muted);
    font-size: .92rem;
    line-height: 1.45;
}

.registration-security-prompt strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.registration-security-row input {
    max-width: 180px;
}

.auth-modal {
    width: min(94vw, 680px);
    max-height: 90vh;
    padding: 1.5rem;
    overflow-y: auto;
    border: 0;
    border-radius: 10px;
    color: var(--color-text);
    background: var(--color-surface);
    box-shadow: 0 24px 70px rgba(31, 41, 55, .28);
}

.auth-modal::backdrop {
    background: rgba(15, 23, 42, .62);
}

.auth-modal-close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    color: var(--color-text);
    background: var(--color-background);
    font-size: 1.5rem;
    line-height: 1;
}

.auth-modal h2 {
    margin-top: 0;
    padding-right: 2.5rem;
}

.auth-modal form,
.auth-modal form > button {
    width: 100%;
}

.auth-modal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
}

.auth-modal-message:empty {
    display: none;
}

.test-order-dialog {
    width: min(92vw, 560px);
    padding: 1.25rem;
    border: 0;
    border-radius: 10px;
    color: var(--color-text);
    background: var(--color-surface);
    box-shadow: 0 24px 70px rgba(31, 41, 55, .3);
}

.test-order-dialog::backdrop {
    background: rgba(15, 23, 42, .68);
}

.test-order-dialog-heading {
    margin-bottom: .75rem;
}

.test-order-dialog-heading h2 {
    margin: 0;
    line-height: 1.2;
}

.test-order-message {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1.55;
}

.test-order-acknowledgement {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .85rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.test-order-acknowledgement input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .15rem;
}

.test-order-dialog-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: .75rem;
    margin-top: 1.25rem;
}

.test-order-dialog-actions button {
    width: 100%;
}

@media (min-width: 560px) {
.test-order-dialog-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

.test-order-dialog-actions button {
        width: auto;
    }
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    margin-bottom: .25rem;
    font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

body:not(.admin-page) .form-row select {
    padding-right: 2.75rem;
    border-color: #c7cfdd;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--color-primary) 50%),
        linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

body:not(.admin-page) .form-row select:hover {
    border-color: var(--color-primary);
}

.required-note {
    margin: -.15rem 0 1rem;
    color: var(--color-muted);
    font-size: .9rem;
}

.required-note span,
.checkout-layout .form-row:has(input[required]) > label::after,
.checkout-layout .form-row:has(select[required]) > label::after,
.checkout-layout .form-row:has(textarea[required]) > label::after,
.contact-form .form-row:has(input[required]) > label::after,
.contact-form .form-row:has(select[required]) > label::after,
.contact-form .form-row:has(textarea[required]) > label::after,
.auth-modal .form-row:has(input[required]) > label::after,
.auth-modal .form-row:has(select[required]) > label::after,
.auth-modal .form-row:has(textarea[required]) > label::after,
.checkout-security-dialog .form-row:has(input[required]) > label::after {
    content: " *";
    color: var(--color-danger);
    font-weight: 800;
}

.optional-label {
    color: var(--color-muted);
    font-size: .78rem;
    font-weight: 600;
    text-transform: none;
}

.checkout-layout .form-row.has-field-error label,
.contact-form .form-row.has-field-error label,
.auth-modal .form-row.has-field-error label,
.checkout-security-dialog .form-row.has-field-error label {
    color: var(--color-danger);
}

.checkout-layout .form-row.has-field-error input,
.checkout-layout .form-row.has-field-error select,
.checkout-layout .form-row.has-field-error textarea,
.contact-form .form-row.has-field-error input,
.contact-form .form-row.has-field-error select,
.contact-form .form-row.has-field-error textarea,
.auth-modal .form-row.has-field-error input,
.auth-modal .form-row.has-field-error select,
.auth-modal .form-row.has-field-error textarea,
.checkout-security-dialog .form-row.has-field-error input {
    border-color: var(--color-danger);
    background-color: #fffafa;
    box-shadow: 0 0 0 3px rgba(176, 42, 55, .08);
}

.checkout-layout .form-row.has-field-error input:focus,
.checkout-layout .form-row.has-field-error select:focus,
.checkout-layout .form-row.has-field-error textarea:focus,
.contact-form .form-row.has-field-error input:focus,
.contact-form .form-row.has-field-error select:focus,
.contact-form .form-row.has-field-error textarea:focus,
.auth-modal .form-row.has-field-error input:focus,
.auth-modal .form-row.has-field-error select:focus,
.auth-modal .form-row.has-field-error textarea:focus,
.checkout-security-dialog .form-row.has-field-error input:focus {
    outline: 2px solid rgba(176, 42, 55, .22);
    outline-offset: 1px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.25rem;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--control-height);
    padding: .65rem 1rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: #fff;
    background: var(--color-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

button:hover,
.button:hover {
    color: #fff;
    background: var(--color-primary-dark);
}

.field-error {
    margin: .35rem 0 0;
    color: var(--color-danger);
    font-size: .88rem;
    font-weight: 700;
}

.is-hidden {
    display: none !important;
}

.help-text {
    color: var(--color-muted);
    font-size: .9rem;
}

.admin-page {
    background: var(--color-background);
}

.secondary-button {
    border-color: var(--color-border);
    color: var(--color-primary);
    background: #fff;
}

.secondary-button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: #eef2ff;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

.wide-container {
    width: min(100% - 2rem, 1200px);
}

.page-heading,
.section-heading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.page-heading,
.section-heading {
    align-items: flex-start;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    display: block;
    width: 100%;
}

.admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.admin-table tbody,
.admin-table tr,
.admin-table td {
    display: block;
    width: 100%;
}

.admin-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.admin-table td {
    padding: .75rem;
    border-bottom: 1px solid #edf0f5;
    text-align: left;
    vertical-align: top;
}

.table-detail {
    display: block;
    color: var(--color-muted);
    font-size: .85rem;
}

.old-price {
    color: var(--color-muted);
    text-decoration: line-through;
}

.link-button {
    padding: 0;
    border: 0;
    color: var(--color-primary);
    background: transparent;
    text-decoration: underline;
}

.link-button:hover,
.link-button:focus {
    color: var(--color-primary-dark);
    background: transparent;
    text-decoration: underline;
}

.empty-state,
.form-section {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.checkbox-row + .form-row {
    margin-top: 1rem;
}

.has-fixed-action-bar {
    padding-bottom: 88px;
}

@keyframes save-spinner {
    to {
        transform: rotate(360deg);
    }
}

.affiliate-link-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    margin-bottom: .5rem
}

.affiliate-link-box input {
    min-width: 0;
    width: 100%;
    height: var(--control-height);
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    object-fit: cover;
    background: var(--color-background);
}

.product-gallery-main {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
}

.product-main-image-button {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--color-surface);
    cursor: zoom-in;
}

.product-main-image-button img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-small);
}

.gallery-previous {
    left: .5rem;
}

.gallery-next {
    right: .5rem;
}

.home-slider-arrow,
.home-carousel-arrow,
.gallery-arrow {
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(31, 95, 214, .2);
    border-radius: 50%;
    color: var(--color-primary);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(31, 41, 55, .16);
    font-size: 0;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.home-slider-arrow::before,
.home-carousel-arrow::before,
.gallery-arrow::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.home-slider-prev::before,
.home-carousel-arrow-prev::before,
.gallery-previous::before {
    transform: translateX(2px) rotate(-135deg);
}

.home-slider-next::before,
.home-carousel-arrow-next::before,
.gallery-next::before {
    transform: translateX(-2px) rotate(45deg);
}

.home-slider-arrow:hover,
.home-slider-arrow:focus,
.home-carousel-arrow:hover,
.home-carousel-arrow:focus,
.gallery-arrow:hover,
.gallery-arrow:focus {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 10px 24px rgba(31, 95, 214, .26);
}

.home-slider-arrow:disabled,
.home-carousel-arrow:disabled,
.gallery-arrow:disabled {
    cursor: default;
}

.product-thumbnails {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    padding-bottom: .25rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

.product-thumbnail {
    flex: 0 0 72px;
    width: 72px;
    padding: 2px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    scroll-snap-align: start;
}

.product-thumbnail.is-active {
    border-color: var(--color-primary);
    background: var(--color-accent-soft);
}

.product-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.image-zoom-dialog {
    width: min(92vw, 820px, 88vh);
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    overflow: visible;
}

.image-zoom-dialog::backdrop {
    background: rgba(15, 23, 42, .85);
}

.image-zoom-dialog img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.zoom-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .28);
    font-size: 1.35rem;
    line-height: 1;
}

.zoom-close:hover,
.zoom-close:focus {
    color: #fff;
    background: var(--color-primary-dark);
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: var(--color-muted);
}

#crop_canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid var(--color-primary);
    background: #eef2ff;
}

.coa-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resource-link-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.resource-link-list li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.coa-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(100px, 132px) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.35rem);
    align-items: stretch;
    padding: clamp(1.15rem, 3vw, 1.5rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.coa-document-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 168px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 18% 20%, rgba(31, 95, 214, .1), transparent 28%),
        linear-gradient(145deg, #f7faff, #edf3ff);
    overflow: hidden;
}

.coa-document-page {
    position: absolute;
    width: 74%;
    aspect-ratio: 8.5 / 11;
    border: 1px solid rgba(31, 95, 214, .18);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(24, 43, 86, .13);
}

.coa-document-page-back {
    right: 8%;
    top: 11%;
    opacity: .78;
    transform: rotate(3deg);
}

.coa-document-page-front {
    left: 9%;
    top: 7%;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: .34rem;
    padding: .62rem .55rem;
    overflow: hidden;
}

.coa-document-page-front::before {
    content: "";
    position: absolute;
    inset: auto -18% -16% auto;
    width: 82%;
    aspect-ratio: 1;
    border: 2px solid rgba(31, 95, 214, .12);
    border-radius: 50%;
}

.coa-document-page-front::after {
    content: "";
    position: absolute;
    right: .55rem;
    top: 3rem;
    width: 34%;
    height: 34%;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 48%, rgba(31, 95, 214, .12) 48% 52%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(31, 95, 214, .12) 48% 52%, transparent 52%),
        radial-gradient(circle, rgba(31, 95, 214, .1) 0 18%, transparent 19%);
    opacity: 0;
    pointer-events: none;
}

.coa-document-corner {
    justify-self: end;
    padding: .16rem .28rem;
    border-radius: 999px;
    color: #fff;
    background: var(--color-primary);
    font-size: clamp(.42rem, 1.2vw, .55rem);
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
}

.coa-document-brand {
    color: var(--color-primary);
    font-size: clamp(.38rem, 1vw, .52rem);
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.coa-document-title {
    max-width: 82%;
    color: var(--color-text);
    font-size: clamp(.48rem, 1.2vw, .66rem);
    font-weight: 800;
    line-height: 1.08;
}

.coa-document-lines,
.coa-document-table {
    display: grid;
    gap: .2rem;
}

.coa-document-lines span,
.coa-document-table span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #d9e3fa;
}

.coa-document-lines span:nth-child(2) {
    width: 78%;
}

.coa-document-lines span:nth-child(3) {
    width: 56%;
}

.coa-document-table {
    align-self: start;
    grid-template-columns: 1fr 1fr;
    gap: .18rem;
    margin-top: .1rem;
}

.coa-document-table span {
    height: 9px;
    border-radius: 2px;
    background: #eef3ff;
}

.coa-document-table span:nth-child(odd) {
    background: #dfe8fb;
}

.coa-document-seal {
    position: relative;
    justify-self: end;
    display: grid;
    width: clamp(28px, 4vw, 36px);
    aspect-ratio: 1;
    place-items: center;
    border: 2px solid rgba(31, 95, 214, .35);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: clamp(.34rem, .9vw, .42rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.coa-panel-content {
    display: grid;
    gap: 1rem;
    align-content: center;
}

.coa-panel-heading h2 {
    margin: 0 0 .35rem;
}

.coa-panel-heading p {
    margin: 0;
    color: var(--color-muted);
}

.coa-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.shop-hero {
    margin-bottom: 1.5rem;
}

.shop-hero {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.shop-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -76px;
    width: min(45vw, 340px);
    height: min(34vw, 250px);
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .48;
    pointer-events: none;
    transform: translateY(-50%) rotate(-8deg);
}

.shop-hero > * {
    position: relative;
    z-index: 1;
}

.shop-eyebrow {
    margin: 0 0 .45rem;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.shop-hero h1 {
    margin: 0 0 .65rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
}

.shop-hero p:not(.shop-eyebrow) {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.shop-hero .button {
    align-self: start;
}

@media (max-width: 599px) {
.coa-panel {
        grid-template-columns: 1fr;
    }

.coa-document-preview {
        min-height: 190px;
    }

.coa-document-page {
        width: 72%;
    }

.coa-document-page-back {
        right: 9%;
        top: 8%;
        transform: rotate(4deg);
    }

.coa-document-page-front {
        left: 13%;
        top: 2%;
        grid-template-rows: auto auto auto auto 1fr auto;
        gap: .3rem;
        padding: .7rem .62rem;
        background:
            linear-gradient(180deg, rgba(31, 95, 214, .08) 0 20%, transparent 20%),
            linear-gradient(90deg, rgba(31, 95, 214, .045) 0 1px, transparent 1px),
            #fff;
        background-size: auto, 18px 100%, auto;
    }

.coa-document-page-front::after {
        opacity: 1;
    }

.coa-document-corner {
        font-size: .58rem;
    }

.coa-document-brand {
        font-size: .56rem;
    }

.coa-document-title {
        max-width: 74%;
        font-size: .68rem;
    }

.coa-document-lines {
        gap: .24rem;
    }

.coa-document-lines span {
        height: 4px;
    }

.coa-document-table {
        align-self: stretch;
        grid-template-columns: 1.1fr .9fr;
        grid-auto-rows: minmax(12px, 1fr);
        gap: .22rem;
        margin-top: .06rem;
    }

.coa-document-table span {
        height: auto;
        min-height: 10px;
    }

.coa-document-seal {
        width: 38px;
        font-size: .42rem;
    }

.home-feature::before {
        right: -118px;
        opacity: .42;
    }

.home-about::before,
.shop-hero::before,
.home-section-heading::before,
.content-section::before,
.cart-page-heading::before,
.checkout-page-heading::before,
.account-hero::before {
        right: -150px;
        width: 280px;
        height: 210px;
        opacity: .32;
    }

.content-section::before {
        opacity: .22;
    }
}

.shop-controls {
    display: grid;
    gap: 0;
    margin-bottom: 1.25rem;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .5rem;
    align-items: center;
    align-content: center;
    padding: .45rem .7rem;
    border: 1px solid var(--color-accent-border);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: var(--color-accent-soft);
}

.shop-sort-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    min-width: 0;
}

.shop-sort-form label {
    color: var(--color-muted);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-sort-form select {
    min-height: 34px;
    min-width: 170px;
    padding: .35rem 2rem .35rem .65rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 6px;
    color: var(--color-text);
    background-color: #fff;
    font-size: .86rem;
    font-weight: 700;
}

.shop-toolbar p {
    margin: 0;
    color: var(--color-text);
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-toolbar-notes {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    justify-content: flex-end;
    min-width: 0;
}

.shop-toolbar-notes span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-height: 24px;
    padding: .18rem .5rem;
    border: 1px solid rgba(65, 105, 225, .22);
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: #fff;
    font-size: .8rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .shop-toolbar {
        grid-template-columns: 1fr;
        gap: .45rem;
    }

    .shop-toolbar p {
        display: none;
    }

    .shop-sort-form {
        justify-content: stretch;
    }

    .shop-sort-form label {
        flex: 0 0 auto;
    }

    .shop-sort-form select {
        flex: 1 1 auto;
        min-width: 0;
    }

}

.shop-help-panel {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.shop-help-panel::before {
    content: "";
    position: absolute;
    top: -82px;
    right: -150px;
    width: min(58vw, 410px);
    height: min(42vw, 300px);
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .24;
    pointer-events: none;
    transform: rotate(8deg) scaleX(-1);
}

.shop-help-panel > * {
    position: relative;
    z-index: 1;
}

.shop-help-panel h2 {
    margin: 0 0 .5rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.shop-help-panel p {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted);
}

.shop-help-panel .button {
    align-self: start;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
    transition: border-color .18s ease, transform .18s ease;
}

.product-card-image {
    display: block;
    color: var(--color-muted);
    text-decoration: none;
}

.product-card-image img,
.product-card-image .image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}

.product-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: .75rem;
}

.product-card-content h2 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
}

.product-manufacturer {
    margin: .1rem 0 .2rem;
    color: var(--color-primary-dark);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .025em;
}

.product-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
    margin: -.25rem 0 1rem;
}

.product-summary .product-manufacturer,
.product-summary .table-detail {
    margin: 0;
    font-size: .9rem;
}

.product-card-content h2 a {
    color: var(--color-text);
    text-decoration: none;
}

.product-card-price {
    margin: .55rem 0;
    font-size: 1rem;
}

.product-card-content > p:not(.table-detail):not(.product-card-price):not(.product-manufacturer) {
    display: none;
    overflow: hidden;
    margin: .4rem 0;
    font-size: .82rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card-content .table-detail {
    margin: 0 0 .35rem;
    overflow-wrap: anywhere;
    font-size: .7rem;
}

.product-card-content .button {
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: .55rem .45rem;
    font-size: .82rem;
    text-align: center;
}

.frontend-pagination {
    display: grid;
    gap: .85rem;
    align-items: center;
    margin: 1.75rem 0 0;
    padding: 1rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
}

.frontend-pagination p {
    margin: 0;
    color: var(--color-muted);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

.frontend-pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
}

.frontend-pagination-page,
.frontend-pagination-current,
.frontend-pagination-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: .55rem .75rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 8px;
    color: var(--color-primary-dark);
    background: var(--color-accent-soft);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.frontend-pagination-control {
    min-width: 94px;
}

.frontend-pagination-page:hover,
.frontend-pagination-page:focus-visible,
.frontend-pagination-control:hover,
.frontend-pagination-control:focus-visible {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
    transform: translateY(-1px);
}

.frontend-pagination-current {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-summary {
    align-self: start;
    padding: clamp(1.15rem, 3vw, 1.5rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
}

.product-summary h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.product-detail-price {
    margin: .9rem 0;
    font-size: 1.35rem;
}

.product-detail-price strong {
    color: var(--color-primary-dark);
    font-size: clamp(1.65rem, 4vw, 2.15rem);
}

.product-short-description {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: .25rem 0 0;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-weight: 700;
}

.stock-status::before {
    content: "";
    width: .5rem;
    height: .5rem;
    margin-right: .4rem;
    border-radius: 50%;
    background: currentColor;
}

.stock-status.in-stock {
    color: var(--color-success);
    background: #ecfdf3;
}

.stock-status.out-of-stock {
    color: var(--color-danger);
    background: #fff5f5;
}

.product-summary .form-row {
    margin-top: .8rem;
}

.product-summary .form-row label {
    font-weight: 700;
}

.product-info-share-button {
    flex: 0 0 auto;
    width: max-content;
    min-height: 38px;
    padding: .45rem .8rem;
    gap: .35rem;
    font-size: .92rem;
}

.product-info-share-button svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.product-share-panel {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
}

.product-share-heading {
    display: grid;
    gap: .2rem;
}

.product-share-panel h2,
.product-share-panel h3 {
    margin: 0;
    line-height: 1.25;
}

.product-share-panel h2 {
    font-size: 1.15rem;
}

.product-share-panel h3 {
    font-size: 1rem;
}

.product-share-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: .92rem;
}

.product-copy-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
}

.product-copy-link input,
.affiliate-code-select select {
    min-width: 0;
    height: var(--control-height);
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.product-affiliate-share {
    display: grid;
    gap: .65rem;
}

.affiliate-link-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--color-muted);
    font-size: .88rem;
    font-weight: 700;
}

.affiliate-code-select {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
}

.affiliate-code-select span {
    color: var(--color-muted);
    font-size: .84rem;
}

.affiliate-code-select select {
    width: auto;
    min-width: 130px;
    height: 38px;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.affiliate-code-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .25rem .6rem;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: var(--color-accent-soft);
    font-size: .82rem;
    font-weight: 800;
}

@media (min-width: 860px) {
.product-share-panel {
        grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr);
        align-items: start;
    }
}

.product-share-dialog {
    width: min(94vw, 560px);
    padding: 1.35rem;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .25);
}

.product-share-dialog::backdrop {
    background: rgba(15, 23, 42, .62);
}

.product-share-dialog h2 {
    margin: 0 2.5rem .35rem 0;
}

.product-share-dialog-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin: 1rem 0;
}

.share-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 54px;
    padding: .75rem .85rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.share-option:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: #f8fbff;
}

.share-option svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
}

.share-option.facebook {
    color: #1877f2;
}

.share-option.linkedin {
    color: #0a66c2;
}

.share-option.x {
    color: #111;
}

.share-option.email {
    color: var(--color-primary);
}

@media (max-width: 520px) {
.product-summary {
        position: relative;
    }

.product-title-row {
        display: block;
        padding-right: 3rem;
    }

.product-info-share-button {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border-radius: 999px;
    }

.product-info-share-button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

.product-copy-link {
        grid-template-columns: 1fr;
    }

.product-share-dialog-options {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
.image-zoom-dialog {
        width: min(94vw, 86vh);
    }

.zoom-close {
        top: .5rem;
        right: .5rem;
        border-color: rgba(255, 255, 255, .85);
    }

.product-affiliate-share {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

.affiliate-link-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
    }
}

.product-option-label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
}

.size-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.size-option-button {
    display: inline-grid;
    min-width: 72px;
    min-height: 44px;
    padding: .5rem .75rem;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    color: var(--color-text);
    background: #fff;
    line-height: 1.15;
}

.size-option-button span {
    font-weight: 800;
}

.size-option-button small {
    margin-top: .15rem;
    color: var(--color-muted);
    font-size: .72rem;
    font-weight: 700;
}

.size-option-button:hover:not(:disabled):not(.is-selected) {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.size-option-button.is-selected {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
    pointer: default;
}

.size-option-button.is-selected small {
    color: #edf3ff;
}

.size-option-button.is-selected:hover,
.size-option-button.is-selected:focus {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.size-option-button.is-selected:hover small,
.size-option-button.is-selected:focus small {
    color: #edf3ff;
}

.size-option-button:disabled {
    color: #98a2b3;
    background: #f3f4f6;
    cursor: not-allowed;
}

.product-purchase-box {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: end;
    gap: .75rem;
    margin-top: .85rem;
    padding: .85rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 8px;
    background: var(--color-accent-soft);
}

.product-purchase-box button,
.purchase-action-inner > button {
    width: 100%;
    height: var(--control-height);
}

.cart-inline-message {
    min-height: 1.5rem;
    margin: .5rem 0 0;
    font-weight: 700;
}

.cart-inline-message.success {
    color: var(--color-success);
}

.cart-inline-message.error {
    color: var(--color-danger);
}

.cart-page-heading,
.checkout-page-heading {
    position: relative;
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.cart-page-heading::before,
.checkout-page-heading::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -110px;
    width: min(42vw, 320px);
    height: min(32vw, 240px);
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .32;
    pointer-events: none;
    transform: translateY(-50%) rotate(-8deg);
}

.cart-page-heading > *,
.checkout-page-heading > * {
    position: relative;
    z-index: 1;
}

.cart-page-heading {
    display: grid;
    gap: 1rem;
}

.cart-page-heading h1,
.checkout-page-heading h1 {
    margin: 0 0 .65rem;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.cart-page-heading p:not(.shop-eyebrow),
.checkout-page-heading p:not(.shop-eyebrow) {
    max-width: 775px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.cart-page-heading .button {
    align-self: start;
}

.checkout-login-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -0.5rem 0 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #f8fbff;
}

.checkout-login-prompt h2 {
    margin: 0 0 .25rem;
    font-size: 1rem;
}

.checkout-login-prompt p {
    margin: 0;
    color: var(--color-muted);
    font-size: .94rem;
}

.checkout-login-prompt .button {
    white-space: nowrap;
}

.cart-empty-state {
    display: grid;
    justify-items: center;
    gap: .75rem;
    padding: clamp(2rem, 6vw, 3rem);
    border-color: var(--color-accent-border);
    border-radius: 10px;
    text-align: center;
}

.cart-empty-state h2,
.cart-empty-state p {
    margin: 0;
}

.cart-empty-state p {
    max-width: 560px;
    color: var(--color-muted);
}

.empty-state-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent-soft);
    font-size: 2rem;
}

.cart-layout {
    display: grid;
    gap: 1.5rem;
}

.cart-items {
    display: grid;
    align-self: start;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
}

.cart-item-image img,
.cart-item-image .image-placeholder {
    display: block;
    width: 104px;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
}

.cart-item-details h2 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.cart-item-details p {
    margin: .2rem 0;
}

.cart-line-total {
    grid-column: 2;
}

.cart-item-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .5rem;
    margin-top: .75rem;
}

.cart-item-form label {
    flex: 0 0 78px;
}

.cart-item-form label span {
    display: block;
    margin-bottom: .2rem;
    font-size: .8rem;
    font-weight: 700;
}

.cart-item-form input {
    width: 100%;
    height: var(--control-height);
}

.cart-item-form input {
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font: inherit;
}

.cart-item-actions {
    display: flex;
    flex: 0 1 auto;
    gap: .5rem;
}

.cart-item-actions button {
    width: auto;
    height: var(--control-height);
    padding-right: .85rem;
    padding-left: .85rem;
    white-space: nowrap;
}

.button-secondary {
    color: var(--color-primary);
    background: #fff;
}

.cart-summary {
    align-self: start;
    padding: 1.15rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
}

.cart-sidebar {
    display: grid;
    align-self: start;
    gap: 1rem;
}

.cart-summary h2 {
    margin-top: 0;
}

.cart-estimated-total {
    margin-top: .75rem;
    padding-top: .85rem;
    border-top: 1px solid var(--color-accent-border);
    font-size: 1.08rem;
}

.cart-summary > button {
    width: 100%;
}

.checkout-button {
    width: 100%;
    text-align: center;
}

.checkout-layout {
    display: grid;
    gap: 1.5rem;
}

.checkout-fields {
    display: grid;
    gap: 1rem;
}

.checkout-section,
.checkout-summary,
.checkout-promo-box,
.order-success-card {
    padding: clamp(1.15rem, 3vw, 1.5rem);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.checkout-section h2,
.checkout-summary h2,
.checkout-promo-box h2 {
    margin: 0 0 .25em 0;
}

.checkout-section-intro {
    margin: -.35rem 0 1rem;
    color: var(--color-muted);
    font-size: .95rem;
}

.checkout-account-create {
    border-color: var(--color-accent-border);
    background: #f8fbff;
}

.checkout-account-toggle {
    align-items: flex-start;
    margin-bottom: .85rem;
    font-weight: 700;
}

.checkout-account-benefits {
    margin-bottom: 1rem;
    padding: .8rem .9rem;
    border-radius: 8px;
    background: #fff;
}

.checkout-account-benefits p {
    margin: 0;
    color: var(--color-muted);
    font-size: .92rem;
    line-height: 1.5;
}

.checkout-account-passwords[hidden] {
    display: none;
}

.address-autocomplete-search {
    padding: .85rem;
    border: 1px solid #cbd6f5;
    border-radius: 6px;
    background: #f5f7ff;
}

.address-autocomplete-widget,
.address-autocomplete-widget gmp-place-autocomplete {
    display: block;
    width: 100%;
}

.address-autocomplete-search .help-text {
    margin: .5rem 0 0;
}

.checkout-acknowledgements {
    border-color: var(--color-border);
    background: var(--color-surface);
}

.checkout-verification-heading {
    margin-bottom: .85rem;
}

.checkout-verification-heading h2 {
    margin-bottom: .2rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.checkout-verification-heading .checkout-section-intro {
    margin: 0;
}

.checkout-confirmation-row {
    position: relative;
    margin-bottom: .6rem;
}

.checkout-confirmation-row:last-child {
    margin-bottom: 0;
}

.checkout-confirmation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .1rem;
    align-items: start;
    min-height: 3.65rem;
    padding: .85rem .9rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 0 0 1px rgba(188, 201, 232, .82);
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.checkout-confirmation-card:hover,
.checkout-confirmation-card:focus-within {
    background: #f9fbff;
    box-shadow: inset 0 0 0 1px rgba(33, 97, 193, .35), 0 10px 24px rgba(33, 97, 193, .08);
    transform: translateY(-1px);
}

.checkout-confirmation-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-confirmation-copy {
    display: grid;
    gap: .12rem;
}

.checkout-confirmation-copy strong {
    color: var(--color-heading);
    font-size: .95rem;
    font-weight: 600;
    padding-bottom: 0.35em;
}

.checkout-confirmation-copy span {
    color: var(--color-muted);
    font-size: .91rem;
    font-weight: 400;
    line-height: 1.45;
    padding-bottom: 0.75em;
}

.checkout-confirmation-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-width: 6.5rem;
    min-height: 2.2rem;
    padding: .48rem .78rem;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    color: var(--color-primary);
    background: #fff;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.checkout-confirmation-row .checkout-confirmation-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    margin-bottom: 0;
    font-weight: 600;
}

.checkout-confirmation-card input:checked ~ .checkout-confirmation-action {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.checkout-confirmation-card input:checked ~ .checkout-confirmation-action::before {
    content: "✓";
    margin-right: .35rem;
    font-weight: 800;
}

.checkout-confirmation-card:has(input:checked) {
    background: #f4f8ff;
    box-shadow: inset 0 0 0 1px rgba(33, 97, 193, .38);
}

.checkout-confirmation-row.has-field-error .checkout-confirmation-card {
    box-shadow: inset 0 0 0 1px var(--color-danger);
    background: #fffafa;
}

@media (max-width: 600px) {
    .checkout-verification-heading {
        gap: .55rem;
    }

    .checkout-confirmation-action {
        justify-self: start;
    }
}

.payment-options {
    display: grid;
    gap: .75rem;
    margin-bottom: 1rem;
}

.payment-options.has-field-error {
    padding: .75rem;
    border: 1px solid var(--color-danger);
    border-radius: 8px;
    background: #fffafa;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}

.payment-option:hover,
.payment-option:focus-within {
    border-color: var(--color-accent-border);
    background: #f9fbff;
}

.payment-option:has(input:checked) {
    border-color: var(--color-primary);
    background: var(--color-accent-soft);
}

.payment-option input {
    margin-top: .2rem;
}

.payment-option span,
.payment-option small {
    display: block;
}

.payment-option small {
    margin-top: .15rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.payment-option .payment-fee-note {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.checkout-summary {
    align-self: start;
    border-color: var(--color-accent-border);
}

.checkout-sidebar {
    display: grid;
    align-self: start;
    gap: 1rem;
}

.checkout-promo-box {
    background: #f8fbff;
}

.checkout-promo-box label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 700;
}

.checkout-promo-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
}

.checkout-promo-control input {
    min-width: 0;
    height: var(--control-height);
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    font: inherit;
    text-transform: uppercase;
}

.checkout-promo-control.has-field-error input {
    border-color: var(--color-danger);
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(176, 42, 55, .08);
}

.checkout-promo-box .help-text {
    margin: .4rem 0 0;
}

.checkout-promo-box .link-button {
    margin-top: .45rem;
}

.checkout-items {
    display: grid;
    gap: .65rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.checkout-items li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid #edf0f5;
}

.checkout-items li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-item-details {
    display: grid;
    min-width: 0;
    gap: .15rem;
}

.checkout-item-title {
    color: var(--color-text);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.25;
}

.checkout-item-meta {
    color: var(--color-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.checkout-items li > strong {
    flex: 0 0 auto;
    color: var(--color-text);
    font-size: .9rem;
}

.checkout-grand-total {
    margin-top: .75rem;
    padding-top: .85rem;
    border-top: 1px solid var(--color-accent-border);
    font-size: 1.15rem;
}

.checkout-summary > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: .5rem;
}

.checkout-summary .help-text {
    margin-bottom: 0;
    line-height: 1.45;
}

.order-success-card {
    max-width: 720px;
    margin: 3rem auto;
    text-align: center;
}

.success-mark {
    display: inline-grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--color-success);
    font-size: 2rem;
}

.order-success-card h1 {
    margin-bottom: .5rem;
}

.order-success-intro {
    max-width: 560px;
    margin: 0 auto 1.25rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.public-order-reference {
    display: grid;
    gap: .25rem;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: var(--color-accent-soft);
}

.public-order-reference span {
    color: var(--color-muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-order-reference strong {
    color: var(--color-primary-dark);
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    letter-spacing: .03em;
}

.order-success-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin: 1.25rem 0;
    text-align: left;
}

.order-success-details div {
    padding: .9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
}

.order-success-details dt {
    color: var(--color-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.order-success-card dd,
.order-success-details dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 800;
}

.order-success-next {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 10px;
    background: #f8faff;
    text-align: left;
}

.order-success-next h2 {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
}

.order-success-next p {
    margin: 0;
    color: var(--color-muted);
}

.order-success-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .order-success-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-success-actions {
        flex-direction: row;
    }
}

.account-summary-grid,
.order-status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.account-hero {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.account-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -112px;
    width: min(42vw, 320px);
    height: min(32vw, 240px);
    background-image: var(--molecule-hex-bg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .3;
    pointer-events: none;
    transform: translateY(-50%) rotate(8deg) scaleX(-1);
}

.account-hero > * {
    position: relative;
    z-index: 1;
}

.account-hero h1 {
    margin: 0 0 .65rem;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.account-hero p:not(.shop-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.account-hero p:first-child {
    margin-bottom: .75rem;
}

.account-hero .button {
    align-self: start;
}

.account-section-heading {
    margin: 2rem 0 1rem;
    padding: 1.15rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
}

.account-section-heading h2,
.account-section-heading p {
    margin: 0;
}

.account-section-heading p {
    margin-top: .3rem;
    color: var(--color-muted);
}

.account-summary-grid article,
.order-status-grid article,
.customer-order-card,
.order-detail-card {
    padding: 1.1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.account-summary-grid strong,
.account-summary-grid span,
.order-status-grid strong,
.order-status-grid span {
    display: block;
}

.account-summary-grid strong {
    color: var(--color-primary);
    font-size: 1.35rem;
}

.status-pill {
    display: inline-flex !important;
    width: fit-content;
    align-items: center;
    min-height: 30px;
    padding: .25rem .65rem;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: var(--color-accent-soft);
    font-size: .85rem;
    line-height: 1.2;
}


.tax-exemption-status-card {
    display: grid;
    gap: .85rem;
}

.tax-exemption-status-card h3 {
    margin: .75rem 0 .4rem;
    color: var(--color-text);
    font-size: 1.2rem;
    line-height: 1.25;
}

.tax-exemption-status-card .status-pill {
    margin-top: 0;
}

.tax-exemption-status-card p:not(.status-pill) {
    max-width: 780px;
    margin: 0 0 1.1rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.tax-exemption-status-card.is-pending {
    border-color: rgba(31, 95, 214, .22);
    background: linear-gradient(135deg, #fff, var(--color-accent-soft));
}

.tax-exemption-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
    margin: 0 0 1.1rem;
}

.tax-exemption-details div {
    display: grid;
    gap: .2rem;
    padding: .75rem .85rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 8px;
    background: #fff;
}

.tax-exemption-details dt {
    color: var(--color-primary-dark);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tax-exemption-details dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.35;
}

.account-empty-state {
    border-color: var(--color-accent-border);
    border-radius: 10px;
}

.customer-order-list {
    display: grid;
    gap: 1rem;
}

.customer-order-card {
    display: grid;
    gap: .75rem;
}

.customer-order-card a strong {
    color: var(--color-primary-dark);
}

.customer-order-card > div span {
    display: block;
    color: var(--color-muted);
    font-size: .78rem;
}

.customer-order-card .button {
    width: 100%;
    text-align: center;
}

.order-detail-layout {
    display: grid;
    gap: 1rem;
}

.order-detail-card h2 {
    margin-top: 0;
}

.order-detail-hero p:first-child {
    margin-bottom: .75rem;
}

.order-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.order-line:last-child {
    border-bottom: 0;
}

.order-line span {
    display: block;
    color: var(--color-muted);
    font-size: .85rem;
}

.order-detail-card address {
    font-style: normal;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.order-actions h2 {
    flex-basis: 100%;
}

.order-actions form {
    margin: 0;
}

.saved-address-select {
    padding: .75rem;
    border: 1px solid var(--color-accent-border);
    border-radius: 6px;
    background: var(--color-accent-soft);
}

.address-book-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.saved-address-card {
    padding: 1.1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.saved-address-card > strong {
    display: block;
    color: var(--color-text);
    font-size: 1.05rem;
}

.saved-address-card address {
    margin-top: .5rem;
    color: var(--color-muted);
    font-style: normal;
}

.address-use-label {
    display: inline-block;
    margin-right: .35rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    color: var(--color-primary);
    background: #eef2ff;
    font-size: .78rem;
    font-weight: 700;
}

.saved-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: .85rem;
}

.saved-address-actions form {
    margin: 0;
}

.saved-address-actions .button,
.saved-address-actions button {
    width: auto;
    min-height: 38px;
    padding: .45rem .8rem;
    font-size: .9rem;
}

.account-form-card {
    padding: clamp(1.15rem, 4vw, 1.5rem);
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.admin-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    box-shadow: var(--shadow-small);
}

.admin-section h2 {
    margin-top: 0;
}

.in-stock {
    color: var(--color-success);
}

.out-of-stock {
    color: var(--color-danger);
}

.product-tabs {
    position: relative;
    margin-top: clamp(2rem, 5vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--color-accent-border);
    border-radius: 10px;
    background: var(--color-surface);
}

.product-tabs > * {
    position: relative;
    z-index: 1;
}

.tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    padding: .65rem;
    border-bottom: 1px solid var(--color-accent-border);
    background: var(--color-accent-soft);
}

.tab-list button {
    width: 100%;
    min-width: 0;
    border-color: transparent;
    border-radius: 5px;
    color: var(--color-primary);
    background: #fff;
    font-size: .9rem;
}

.tab-list button[aria-selected="true"] {
    color: #fff;
    background: var(--color-primary);
}

[data-tab-panel] {
    padding: clamp(1.25rem, 4vw, 2rem);
}

[data-tab-panel] > :first-child {
    margin-top: 0;
}

[data-tab-panel] > :last-child {
    margin-bottom: 0;
}

.characteristics-table {
    width: 100%;
    border-collapse: collapse;
}

.characteristics-table th,
.characteristics-table td {
    padding: .75rem;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.characteristics-table th {
    width: 40%;
    background: var(--color-accent-soft);
}

.purchase-action-bar {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .75rem 1rem;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -4px 18px rgba(31, 41, 55, .1);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(105%);
    transition: transform .28s ease, opacity .22s ease;
    will-change: transform, opacity;
}

.purchase-action-bar[hidden] {
    display: none;
}

.purchase-action-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.purchase-action-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px minmax(180px, 240px);
    align-items: end;
    column-gap: 1rem;
    row-gap: .65rem;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.purchase-action-inner.has-size-options {
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto) 112px minmax(180px, 240px);
}

.purchase-action-product {
    display: grid;
    align-self: center;
    gap: .08rem;
    min-width: 0;
}

.purchase-action-product strong,
.purchase-action-product > span:not(.purchase-action-stock) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-action-product strong {
    color: var(--color-text);
    font-size: .98rem;
    line-height: 1.2;
}

.purchase-action-product > span:not(.purchase-action-stock) {
    color: var(--color-muted);
    font-size: .82rem;
}

.purchase-action-price {
    display: block;
    margin-top: .1rem;
    color: var(--color-primary-dark);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.purchase-action-stock {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-top: .15rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.3;
}

.purchase-action-stock::before {
    content: "";
    width: .42rem;
    height: .42rem;
    margin-right: .32rem;
    border-radius: 50%;
    background: currentColor;
}

.purchase-action-stock.in-stock {
    color: var(--color-success);
    background: #ecfdf3;
}

.purchase-action-stock.out-of-stock {
    color: var(--color-danger);
    background: #fff5f5;
}

.purchase-action-inner .quantity-control {
    margin: 0;
}

.purchase-action-inner .quantity-control input,
.purchase-action-inner > button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-action-sizes {
    display: grid;
    gap: .25rem;
    align-self: end;
}

.purchase-action-control-label {
    color: var(--color-muted);
    font-size: .8rem;
    font-weight: 700;
}

.purchase-action-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.purchase-size-button {
    display: inline-grid;
    min-width: 64px;
    min-height: var(--control-height);
    padding: .42rem .65rem;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    background: #fff;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.1;
}

.purchase-size-button small {
    margin-top: .12rem;
    color: var(--color-muted);
    font-size: .68rem;
    font-weight: 700;
}

.purchase-size-button:hover:not(:disabled):not(.is-selected) {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: #eef2ff;
}

.purchase-size-button.is-selected {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.purchase-size-button.is-selected:hover,
.purchase-size-button.is-selected:focus {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.purchase-size-button.is-selected small,
.purchase-size-button.is-selected:hover small,
.purchase-size-button.is-selected:focus small {
    color: #edf3ff;
}

.purchase-size-button:disabled {
    color: #98a2b3;
    background: #f3f4f6;
    cursor: not-allowed;
}

@media (max-width: 760px) {
.has-purchase-bar {
        padding-bottom: 230px;
    }

.purchase-action-bar {
        padding: .75rem;
    }

.purchase-action-inner {
        grid-template-columns: minmax(76px, .45fr) minmax(168px, 1fr);
        gap: .65rem;
    }

.purchase-action-inner.has-size-options {
        grid-template-columns: minmax(76px, .45fr) minmax(168px, 1fr);
    }

.purchase-action-product {
        grid-column: 1 / -1;
    }

.purchase-action-sizes {
        grid-column: 1 / -1;
    }

.purchase-action-size-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .05rem;
    }

.purchase-size-button {
        flex: 0 0 auto;
    }

.purchase-action-inner .quantity-control {
        grid-column: 1 / 2;
    }

.purchase-action-inner .quantity-control input {
        padding-right: .45rem;
        padding-left: .45rem;
    }

.purchase-action-inner > button {
        grid-column: 2 / 3;
        align-self: end;
        min-width: 0;
        padding-right: .7rem;
        padding-left: .7rem;
        white-space: nowrap;
    }
}

@media (min-width: 761px) {
.has-purchase-bar {
        padding-bottom: 100px;
    }
}

.quantity-control span {
    display: block;
    margin-bottom: .2rem;
    font-size: .8rem;
    font-weight: 700;
}

.quantity-control input {
    width: 100%;
    height: var(--control-height);
    padding: .65rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font: inherit;
}

.detail-list {
    display: grid;
    grid-template-columns: minmax(90px, .45fr) 1fr;
    gap: .5rem 1rem;
    margin: 0;
}

.detail-list dt {
    color: var(--color-muted);
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (min-width: 600px) {
.site-nav {
        width: auto;
        flex-wrap: wrap;
        gap: 1rem;
    }

.desktop-nav-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

.mobile-nav-menu {
        display: none;
    }

.header-product-search {
        flex: 1 1 380px;
        order: 0;
        width: min(520px, 42vw);
    }

.product-search-large {
        grid-template-columns: 1fr;
    }

.cart-preview {
        position: absolute;
        top: calc(100% + .5rem);
        right: 0;
        bottom: auto;
        left: auto;
        z-index: 60;
        width: min(340px, calc(100vw - 2rem));
        max-height: min(560px, calc(100vh - 6rem));
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(31, 41, 55, .16);
    }

.cart-preview::before {
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        display: block;
        height: .5rem;
        content: "";
    }

.cart-preview-header {
        display: none;
    }

.account-dropdown {
        position: absolute;
        top: calc(100% + .5rem);
        right: 0;
        left: auto;
        width: 210px;
    }

.tab-list {
        display: flex;
        gap: .5rem;
    }

.tab-list button {
        width: auto;
        flex: 0 0 auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (min-width: 760px) {
.site-header-inner {
        flex-direction: column;
        align-items: stretch;
    }

.site-header-main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

.site-header-actions {
        width: auto;
        justify-items: end;
    }

.cart-page-heading:has(.button) {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

.shop-controls {
        gap: 0;
    }

.shop-toolbar {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

.shop-toolbar-notes {
        justify-content: flex-end;
    }

    .shop-help-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .frontend-pagination {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: .85rem 1rem;
    }

    .frontend-pagination p {
        text-align: left;
    }

    .frontend-pagination-links {
        justify-content: flex-end;
    }

    .cart-preview {
        max-height: min(560px, calc(100vh - 6rem));
    }

.cart-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

.checkout-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

.checkout-sidebar {
        position: sticky;
        top: 1rem;
    }

.account-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.account-hero {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

.address-book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.order-status-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

.customer-order-card {
        grid-template-columns: minmax(160px, 1.4fr) repeat(4, minmax(110px, 1fr)) auto;
        align-items: center;
    }

.customer-order-card .button {
        width: auto;
    }

.order-detail-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr);
    }

.cart-item {
        grid-template-columns: 140px minmax(0, 1fr) auto;
    }

.cart-item-image img,
.cart-item-image .image-placeholder {
        width: 140px;
    }

.cart-line-total {
        grid-column: auto;
    }

.form-actions,
.page-heading,
.section-heading {
        flex-direction: row;
        align-items: center;
    }

.page-heading,
.section-heading {
        justify-content: space-between;
    }

.form-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

.admin-table {
        display: table;
        border-collapse: collapse;
        background: #fff;
    }

.admin-table thead {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }

.admin-table tbody {
        display: table-row-group;
    }

.admin-table tr {
        display: table-row;
        margin: 0;
        border: 0;
    }

.admin-table th,
.admin-table td {
        display: table-cell;
        width: auto;
        padding: .75rem;
        border: 1px solid var(--color-border);
    }

.product-detail {
        grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
        align-items: start;
        gap: 2rem;
    }
}

@media (min-width: 1020px) {
.product-card:hover,
.product-card:focus-within {
        border-color: var(--color-accent-border);
        transform: translateY(-3px);
    }

.product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

.product-card-content {
        padding: 1rem;
    }

.product-card-content h2 {
        font-size: 1.1rem;
    }

.product-card-content > p:not(.table-detail):not(.product-card-price):not(.product-manufacturer) {
        display: -webkit-box;
        font-size: .9rem;
    }
}

@media (max-width: 1050px) {
.site-header {
        position: relative;
        z-index: 90;
    }

.site-header-inner {
        align-items: stretch;
        gap: .75rem;
        padding: .75rem 0;
    }

.site-header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem;
    }

.site-brand {
        min-width: 0;
    }

.site-logo-header {
        max-width: min(250px, 52vw);
        height: 50px;
    }

.site-header-actions {
        width: auto;
    }

.site-nav {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: .4rem;
    }

.header-product-search,
.header-main-links,
.account-menu,
.mobile-nav-menu {
        display: none;
    }

.mobile-menu-trigger,
.cart-trigger {
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        white-space: nowrap;
    }

.mobile-menu-trigger {
        order: 2;
        border: 1px solid var(--color-border);
        color: var(--color-text);
        background: #fff;
    }

.mobile-menu-trigger[aria-expanded="true"] {
        border-color: var(--color-primary);
        color: var(--color-primary-dark);
        background: #eef2ff;
    }

.cart-menu {
        flex: 0 0 auto;
        order: 1;
    }

.cart-trigger {
        position: relative;
    }

.cart-trigger-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

.cart-trigger-icon {
        display: block;
    }

.cart-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 1.05rem;
        height: 1.05rem;
        margin-left: 0;
        padding: 0 .22rem;
        border: 1px solid var(--color-border);
        font-size: .65rem;
        line-height: 1;
    }

.mobile-store-menu {
        position: absolute;
        z-index: 95;
        top: calc(100% + .5rem);
        right: 1rem;
        left: 1rem;
        width: auto;
        max-height: calc(100dvh - 6rem);
        overflow-y: auto;
        box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
    }
}

@media (max-width: 599px) {
.site-logo-header {
        max-width: min(185px, 46vw);
        height: 38px;
    }
}

@media (max-width: 410px) {
.site-logo-header {
        max-width: min(160px, 42vw);
        height: 34px;
    }

.site-header-main {
        gap: .35rem;
    }

.site-nav {
        gap: .3rem;
    }

.cart-trigger,
.mobile-menu-trigger {
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        height: 38px;
        min-height: 38px;
        max-height: 38px;
    }

.cart-trigger-icon {
        width: 1.18rem;
        height: 1.18rem;
    }

.hamburger-icon {
        width: 1.12rem;
        gap: .2rem;
    }
}
