/* PPF shop — matches vairo-core brand tokens */
.shop-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f3f6f8;
    color: var(--brand-grey);
    font-family: var(--hero-font);
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100%;
}

/* Main-site masthead (#masthead) is styled by css/modern-navigation.css + Astra header CSS. */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Astra breakpoint: mirrors index.html inline header visibility */
@media (max-width: 921.9px) {
    .shop-body #ast-desktop-header {
        display: none;
    }
}

@media (min-width: 922px) {
    .shop-body #ast-mobile-header {
        display: none;
    }
}

/* Mobile menu panel — same rules as main-site inline Astra header builder CSS */
.shop-body.ast-header-break-point:not(.ast-main-header-nav-open) .ast-mobile-header-wrap .ast-mobile-header-content {
    display: none !important;
}

.shop-body.ast-header-break-point.ast-main-header-nav-open .ast-mobile-header-wrap .ast-mobile-header-content {
    display: block !important;
}

.shop-body.ast-header-break-point.ast-main-header-nav-open .ast-mobile-header-wrap .menu-toggle .ast-menu-svg {
    display: none;
}

.shop-body.ast-header-break-point.ast-main-header-nav-open .ast-mobile-header-wrap .menu-toggle .ast-close-svg {
    display: inline-flex;
}

.shop-body.ast-header-break-point:not(.ast-main-header-nav-open) .ast-mobile-header-wrap .menu-toggle .ast-close-svg {
    display: none;
}

/* Mobile header bar + burger — match main-site Astra inline header-builder styles */
@media (max-width: 921.9px) {
    .shop-body {
        padding-top: var(--nav-height-slim, 60px);
    }

    .shop-body #ast-mobile-header .ast-builder-grid-row {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .shop-body #ast-mobile-header > .ast-main-header-wrap > .main-header-bar {
        border-bottom-width: 0;
    }

    .shop-body #ast-mobile-header [data-section="section-header-mobile-trigger"] .ast-button-wrap .menu-toggle.ast-mobile-menu-trigger-fill {
        color: #fff !important;
        border: none !important;
        border-radius: 0 !important;
        background: #bf0202 !important;
        padding: 0.5em !important;
        width: auto;
        min-width: 2.5rem;
        min-height: 2.5rem;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .shop-body #ast-mobile-header [data-section="section-header-mobile-trigger"] .menu-toggle.ast-mobile-menu-trigger-fill:hover,
    .shop-body #ast-mobile-header [data-section="section-header-mobile-trigger"] .menu-toggle.ast-mobile-menu-trigger-fill:focus-visible {
        background: #a01820 !important;
        color: #fff !important;
        outline: 2px solid var(--nav-text, #0f3c4f) !important;
        outline-offset: 2px;
    }

    .shop-body #ast-mobile-header [data-section="section-header-mobile-trigger"] .mobile-menu-toggle-icon .ast-mobile-svg {
        width: 20px !important;
        height: 20px !important;
        fill: #fff !important;
    }

    .shop-body.ast-header-break-point.ast-main-header-nav-open #ast-mobile-header [data-section="section-header-mobile-trigger"] .menu-toggle .ast-close-svg {
        display: inline-flex !important;
    }

    .shop-body #ast-mobile-header .site-header-primary-section-right {
        gap: 0.5rem;
        align-items: center;
        flex-wrap: nowrap;
    }

    .shop-body #ast-mobile-header .shop-header-actions--mobile {
        margin-right: 0;
    }

    .shop-body #ast-mobile-header .shop-cart-link {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* Header cart icon (outside main nav) */
.shop-body #masthead .site-header-primary-section-right {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
}

.shop-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.35rem;
}

.shop-header-actions--mobile {
    margin-left: 0;
    margin-right: 0.15rem;
}

.shop-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--nav-text, #0f3c4f);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.shop-cart-link:hover,
.shop-cart-link:focus-visible {
    background: rgba(15, 60, 79, 0.08);
    color: var(--nav-accent, #c41e24);
    outline: none;
}

.shop-cart-link.is-active {
    color: var(--nav-accent, #c41e24);
    box-shadow: inset 0 0 0 2px rgba(196, 30, 36, 0.35);
}

.shop-cart-link svg {
    width: 1.35rem;
    height: 1.35rem;
}

.shop-cart-link__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
    color: #fff;
    background: var(--nav-accent, #c41e24);
    border-radius: 999px;
    border: 2px solid #fff;
    font-family: var(--nav-font, 'Outfit', sans-serif);
}

.shop-main {
    flex: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
    width: 100%;
    box-sizing: border-box;
}

.shop-main:has(.shop-product-page) {
    max-width: none;
    padding: 0;
    background: #f5f6f8;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.shop-main--has-hero {
    padding-top: 0;
    max-width: none;
}

.shop-main--has-hero > .shop-layout {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1.25rem 3rem;
    box-sizing: border-box;
    width: 100%;
}

/* ——— Shop listing hero (full-bleed, optional photo) ——— */
.shop-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(240px, 38vh, 420px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    color: var(--hero-text, #f8fafc);
    background-color: var(--brand-navy);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.shop-hero--graphic {
    background-image: linear-gradient(
        135deg,
        var(--brand-dark) 0%,
        var(--brand-navy) 45%,
        #1a5a72 100%
    );
}

.shop-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(15, 60, 79, 0.25) 0%,
        rgba(15, 60, 79, 0.82) 100%
    );
}

.shop-hero--graphic .shop-hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(21, 50, 67, 0.15) 0%,
        rgba(15, 60, 79, 0.55) 100%
    );
}

.shop-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 2rem;
    box-sizing: border-box;
}

.shop-hero__breadcrumb {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
}

.shop-hero__breadcrumb .vairo-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.shop-hero__breadcrumb a:hover,
.shop-hero__breadcrumb a:focus-visible {
    color: #fff;
}

.shop-hero__breadcrumb .vairo-breadcrumb-list li[aria-current='page'] {
    color: rgba(255, 255, 255, 0.75);
}

.shop-hero__breadcrumb .vairo-breadcrumb-list li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.shop-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.shop-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    font-family: var(--hero-font);
}

.shop-hero__lede {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.55;
    color: var(--hero-text-muted, rgba(248, 250, 252, 0.88));
}

@media (max-width: 640px) {
    .shop-hero {
        min-height: clamp(220px, 34vh, 320px);
    }

    .shop-hero__inner {
        padding: 2rem 1rem 1.5rem;
    }
}

/* ——— Catalog layout (shop index) ——— */
.shop-layout {
    display: grid;
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: start;
    width: 100%;
}

.shop-layout__sidebar {
    position: sticky;
    top: 5.25rem;
}

.shop-layout__main {
    min-width: 0;
}

.shop-sidebar {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 6px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 4px 24px rgba(21, 50, 67, 0.07);
}

.shop-sidebar__title {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-dark);
}

.shop-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(15, 60, 79, 0.1);
}

.shop-sidebar__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    margin: 0 -0.35rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.12s, color 0.12s;
}

.shop-sidebar__link:hover,
.shop-sidebar__link:focus-visible {
    background: rgba(15, 60, 79, 0.06);
    color: var(--brand-red);
    outline: none;
}

.shop-sidebar__link.is-active {
    background: rgba(21, 50, 67, 0.09);
    color: var(--brand-dark);
    border-left: 3px solid var(--brand-navy);
    margin-left: -0.5rem;
    padding-left: calc(0.65rem - 3px);
}

.shop-sidebar__count {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7d8a;
    background: rgba(15, 60, 79, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    min-width: 1.75rem;
    text-align: center;
}

.shop-sidebar__link.is-active .shop-sidebar__count {
    background: var(--brand-navy);
    color: #fff;
}

.shop-sidebar__filters {
    margin-bottom: 1rem;
}

.shop-sidebar__filter-label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-dark);
}

.shop-sidebar__select {
    width: 100%;
    padding: 0.55rem 0.65rem;
    font: inherit;
    font-size: 0.88rem;
    border: 1px solid rgba(15, 60, 79, 0.25);
    border-radius: 4px;
    background: #fff;
    color: var(--brand-navy);
}

.shop-sidebar__sort-btn {
    margin-top: 0.65rem;
    width: 100%;
}

.shop-page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 60, 79, 0.1);
}

.shop-page-header--compact {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
}

.shop-page-header__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--brand-dark);
}

.shop-results-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.shop-results-bar__meta {
    margin: 0;
    font-size: 0.95rem;
    color: var(--brand-grey);
}

.shop-results-bar__sep {
    opacity: 0.5;
    margin: 0 0.35rem;
}

.shop-results-bar__clear {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-navy);
}

.shop-results-bar__clear:hover {
    color: var(--brand-red);
}

.shop-empty--inset {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.1);
    border-radius: 6px;
    padding: 2rem 1.5rem;
}

@media (max-width: 960px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-layout__sidebar {
        position: static;
    }
}

/* Legacy .shop-hero h1/p — use .shop-hero__title / __lede on listing page */

.shop-browse-panel {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 4px;
    padding: 1rem 1.15rem 1.15rem;
    margin: 0 0 1.5rem;
    box-shadow: 0 2px 12px rgba(21, 50, 67, 0.06);
}

.shop-browse-panel__label {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-dark);
}

.shop-browse-hint {
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--brand-grey);
    background: rgba(15, 60, 79, 0.06);
    border-radius: 4px;
    max-width: 52ch;
}

.shop-browse-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 60, 79, 0.12);
}

.shop-browse-bar__text {
    margin: 0;
    font-size: 1.05rem;
    color: var(--brand-grey);
}

.shop-browse-bar__back {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-navy);
}

.shop-browse-bar__back:hover,
.shop-browse-bar__back:focus-visible {
    color: var(--brand-red);
}

.shop-category-section {
    margin-bottom: 2.25rem;
}

.shop-category-section:last-child {
    margin-bottom: 0;
}

.shop-category-section__title {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(21, 50, 67, 0.15);
}

.shop-browse-panel .shop-category-nav {
    margin: 0;
}

.shop-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    align-items: center;
    margin: 0 0 1.5rem;
}

.shop-category-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(15, 60, 79, 0.25);
    border-radius: 2px;
    color: var(--brand-navy);
    background: #fff;
}

.shop-category-pill:hover,
.shop-category-pill:focus-visible {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.shop-category-pill.is-active {
    border-color: var(--brand-navy);
    background: var(--brand-navy);
    color: #fff;
}

/* Legacy alias */
.shop-card__category-badge {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 0.35rem;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #1b3a5c;
    background: #e8f0f7;
    border-radius: 20px;
}

.shop-card__category-badge--muted {
    background: #f0f0f0;
    color: #777;
}

.shop-product__category {
    margin: 0 0 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    font-size: 0.82rem;
}

.shop-product__category-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7d8a;
}

.shop-product__category-value {
    text-decoration: none;
    font-weight: 600;
    color: var(--brand-navy);
    border-bottom: 1px solid rgba(21, 50, 67, 0.25);
}

.shop-product__category-value:hover,
.shop-product__category-value:focus-visible {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.shop-grid--catalog {
    gap: 1.75rem;
}

@media (min-width: 992px) {
    .shop-grid--catalog {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.shop-card {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.1);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-card:hover {
    box-shadow: 0 10px 28px rgba(21, 50, 67, 0.14);
    transform: translateY(-3px);
}

.shop-card__media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eee;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    line-height: 0;
}

.shop-body .shop-card__media .shop-card__img,
.shop-body .shop-card__media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    transition: transform 0.35s ease;
}

.shop-card:hover .shop-card__media .shop-card__img,
.shop-card:hover .shop-card__media img {
    transform: scale(1.05);
}

.shop-card__media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(27, 58, 92, 0);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
    pointer-events: none;
}

.shop-card:hover .shop-card__media-overlay,
.shop-card__media:focus-visible .shop-card__media-overlay {
    opacity: 1;
    background: rgba(27, 58, 92, 0.5);
}

/* Legacy image link class */
.shop-card__image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eee;
    overflow: hidden;
    line-height: 0;
}

.shop-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}

.shop-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    flex: 1;
}

.shop-card__category {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #1b3a5c;
    background: #e8f0f7;
    border-radius: 20px;
    transition: background 0.15s ease;
}

.shop-card__category:hover {
    background: #d5e4f0;
    color: #1b3a5c;
}

.shop-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1b3a5c;
}

.shop-card__title a {
    color: inherit;
    text-decoration: none;
}

.shop-card__title a:hover {
    color: #c8000a;
}

.shop-card__price {
    margin: 4px 0 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: #c8000a;
}

.shop-card__excerpt {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card__stock {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.shop-card__stock--out {
    color: #c8000a;
}

.shop-card__cta {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    background: #1b3a5c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

.shop-card__cta:hover,
.shop-card__cta:focus-visible {
    background: #17324f;
    color: #fff;
    outline: none;
}

.shop-price {
    font-weight: 600;
    font-size: 1.25rem;
    color: #c8000a;
    margin: 0;
}

.shop-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.65rem 1.25rem;
    font-family: var(--hero-font);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--brand-navy);
    background: #fff;
    color: var(--brand-navy);
    cursor: pointer;
    border-radius: 2px;
}

.shop-btn:hover,
.shop-btn:focus-visible {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.shop-btn--primary {
    background: var(--brand-navy);
    color: #fff;
}

.shop-btn--primary:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

/* Product page layout */
.shop-product-page {
    background: #f5f6f8;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.shop-product-page .shop-back {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 2rem;
    box-sizing: border-box;
}

.shop-product {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Tablet and below: single column */
@media (max-width: 991px) {
    .shop-product {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 16px;
    }
}

/* Phone */
@media (max-width: 576px) {
    .shop-product-page .shop-back {
        padding: 0 12px 1.5rem;
    }

    .shop-product {
        padding: 12px 12px 20px;
        gap: 16px;
    }

    .shop-product__panel {
        padding: 18px 14px;
        border-radius: 6px;
    }

    .shop-product__title {
        font-size: 1.35rem;
    }

    .shop-product__price {
        font-size: 1.25rem;
    }

    .shop-product__buy-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .shop-product__qty-label {
        flex: 1 1 100%;
    }

    .shop-product__qty-input {
        width: 72px;
        flex-shrink: 0;
    }

    .shop-product__btn-basket {
        flex: 1 1 calc(100% - 84px);
        min-width: 0;
        padding: 12px 14px;
        font-size: 13px;
    }

    .shop-product__thumbs {
        padding: 8px 10px 10px;
        gap: 6px;
    }

    .shop-product__thumb-wrap {
        width: 72px;
        height: 72px;
        scroll-snap-align: start;
    }

    .shop-lightbox__viewer {
        padding: 2.75rem 2.5rem 0.5rem;
    }

    .shop-lightbox__img {
        max-height: calc(100vh - 9.5rem);
    }

    .shop-lightbox__strip-btn {
        width: 56px;
        height: 56px;
    }

    .shop-lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 28px;
    }

    .shop-lightbox__nav {
        font-size: 2rem;
    }

    .shop-lightbox__nav--prev {
        left: 0.25rem;
    }

    .shop-lightbox__nav--next {
        right: 0.25rem;
    }
}

/* Very small phones: stack quantity row */
@media (max-width: 400px) {
    .shop-product__buy-row {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-product__qty-input {
        width: 100%;
        max-width: 120px;
    }

    .shop-product__btn-basket {
        flex: 1 1 auto;
        width: 100%;
    }
}

.shop-product__col--gallery {
    min-width: 0;
}

.shop-product__col--detail {
    min-width: 0;
}

.shop-product__panel {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.shop-product__gallery {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.shop-product__gallery #shop-gallery-images {
    display: none;
}

.shop-product__stage {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
    cursor: zoom-in;
    outline: none;
    line-height: 0;
}

.shop-product__stage:focus-visible {
    box-shadow: inset 0 0 0 2px #1b3a5c;
}

/* Legacy wrapper if cached HTML still has it */
.shop-product__stage-frame {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
    line-height: 0;
}

.shop-body .shop-product__gallery .shop-product__stage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 200px;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
    background: #1a1a1a;
}

.shop-body .shop-product__gallery .shop-product__hero,
.shop-body .shop-product__gallery .shop-product__stage img,
.shop-product__stage-frame .shop-product__hero {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.shop-product__zoom-icon {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.15rem;
    line-height: 1;
    color: #fff;
    background: rgba(27, 58, 92, 0.75);
    border-radius: 4px;
    pointer-events: none;
}

.shop-product__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.shop-product__thumb-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    flex: 0 0 auto;
    scroll-snap-align: start;
    transition: border-color 0.15s ease;
}

.shop-product__thumb-wrap:hover,
.shop-product__thumb-wrap:focus-visible {
    outline: none;
    border-color: rgba(27, 58, 92, 0.45);
}

.shop-product__thumb-wrap.is-active {
    border-color: #1b3a5c;
}

.shop-product__thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* Product lightbox — fullscreen, centred image + thumb strip */
.shop-lightbox-open {
    overflow: hidden;
}

.shop-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.92);
    box-sizing: border-box;
    touch-action: manipulation;
}

.shop-lightbox__viewer {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    padding: 3.25rem 3.5rem 0.75rem;
    box-sizing: border-box;
}

.shop-lightbox__img {
    display: block;
    max-width: min(94vw, 1200px);
    max-height: calc(100vh - 11rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    cursor: default;
    user-select: none;
}

.shop-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

.shop-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.shop-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

.shop-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.shop-lightbox__nav--prev {
    left: 0.5rem;
}

.shop-lightbox__nav--next {
    right: 0.5rem;
}

.shop-lightbox__strip {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 12px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-lightbox__strip-btn {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    margin: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #222;
    opacity: 0.65;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.shop-lightbox__strip-btn:hover {
    opacity: 0.9;
}

.shop-lightbox__strip-btn.is-active {
    opacity: 1;
    border-color: #fff;
}

.shop-lightbox__strip-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.shop-product__category {
    margin: 0 0 8px;
}

.shop-product__category-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #1b3a5c;
    background: #e8f0f7;
    border-radius: 20px;
}

.shop-product__category-badge:hover {
    background: #d5e4f0;
    color: #1b3a5c;
}

.shop-product__title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #1b3a5c;
    line-height: 1.25;
}

.shop-product__price {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: #c8000a;
}

.shop-product__short-desc {
    margin: 0 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.shop-product__rule {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.shop-product__buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}

.shop-product__qty-label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1b3a5c;
    white-space: nowrap;
}

.shop-product__qty-input {
    width: 60px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

.shop-product__btn-basket {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: #1b3a5c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

.shop-product__btn-basket:hover,
.shop-product__btn-basket:focus-visible {
    background: #17324f;
    outline: none;
}

.shop-product__btn-buy {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px;
    border: none;
    border-radius: 4px;
    background: #c8000a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

.shop-product__btn-buy:hover,
.shop-product__btn-buy:focus-visible {
    background: #b40009;
    outline: none;
}

.shop-product__add-form {
    margin: 0;
}

.shop-product__checkout-form {
    margin: 0;
}

.shop-product__delivery {
    margin: 0;
}

.shop-product__delivery-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.shop-product__delivery .shop-fulfillment {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.shop-product__delivery .shop-fulfillment__legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop-product__delivery .shop-fulfillment__choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 8px;
    padding: 12px 14px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
}

.shop-product__delivery .shop-fulfillment__choice:last-of-type {
    margin-bottom: 0;
}

.shop-product__delivery .shop-fulfillment__choice input {
    margin: 2px 0 0;
    flex-shrink: 0;
}

.shop-product__delivery .shop-fulfillment__text strong {
    font-weight: 700;
    color: #1b3a5c;
}

.shop-product__delivery .shop-fulfillment__sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.shop-product__delivery .shop-fulfillment__hint {
    margin: 8px 0 0;
    padding: 0;
    border: none;
    font-size: 12px;
    font-style: italic;
    color: #777;
}

.shop-product__full-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.shop-product__full-desc img,
.shop-product__full-desc iframe,
.shop-product__full-desc video {
    max-width: 100%;
    height: auto;
}

.shop-product__full-desc table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.shop-product__full-desc p,
.shop-product__full-desc li {
    margin: 0 0 0.5rem;
    padding-left: 8px;
}

.shop-product__full-desc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-product__full-desc ul li::before,
.shop-product__full-desc p::before {
    content: "✓ ";
    color: #1b3a5c;
    font-weight: 700;
}

.shop-product__full-desc ul li::before {
    margin-right: 2px;
}

.shop-back {
    margin: 2rem 0 0;
}

.shop-back a {
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: none;
}

.shop-back a:hover {
    color: var(--brand-red);
}

.shop-prose {
    color: var(--brand-grey);
}

.shop-prose p:first-child {
    margin-top: 0;
}

.shop-alert {
    padding: 0.75rem 1rem;
    background: #fff8e6;
    border: 1px solid #e8dcc0;
    color: #5c4a23;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.shop-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border: 1px dashed rgba(15, 60, 79, 0.2);
}

.shop-footer {
    margin-top: auto;
    background: #fff;
    border-top: 1px solid rgba(15, 60, 79, 0.12);
}

.shop-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2rem;
    font-size: 0.875rem;
    color: var(--brand-grey);
}

.shop-footer__inner p {
    margin: 0 0 0.75rem;
}

.shop-footer a {
    color: var(--brand-navy);
    font-weight: 600;
}

.shop-cart-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 860px) {
    .shop-cart-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 2rem;
    }
}

.shop-cart-form {
    min-width: 0;
}

.shop-cart-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
}

.shop-cart-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.shop-cart-aside {
    min-width: 0;
}

@media (min-width: 860px) {
    .shop-cart-aside {
        position: sticky;
        top: 5.25rem;
    }
}

.shop-cart-summary {
    margin: 0 0 1rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(21, 50, 67, 0.06);
}

.shop-cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.shop-cart-summary__row--muted {
    font-size: 0.88rem;
    color: var(--brand-grey);
}

.shop-cart-summary__note {
    margin: 0.75rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 60, 79, 0.1);
    font-size: 0.82rem;
    color: var(--brand-grey);
}

.shop-btn--ghost {
    background: transparent;
    border-color: rgba(15, 60, 79, 0.25);
}

.shop-btn--ghost:hover {
    background: rgba(15, 60, 79, 0.06);
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.shop-btn--block {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
}

.shop-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
}

.shop-cart-table th,
.shop-cart-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e8eef2;
    vertical-align: middle;
}

.shop-cart-table input[type="number"] {
    width: 4.5rem;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.shop-cart-table__remove {
    width: 2.5rem;
    vertical-align: middle;
    text-align: center;
}

.shop-cart-remove {
    margin: 0;
    min-width: 2rem;
    padding: 0.15rem 0.45rem;
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 600;
    color: var(--brand-red);
    background: transparent;
    border: 1px solid rgba(225, 80, 80, 0.45);
    border-radius: 4px;
    cursor: pointer;
}

.shop-cart-remove:hover,
.shop-cart-remove:focus-visible {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* Admin product gallery */
.shop-admin-gallery {
    margin-bottom: 0.5rem;
}

.shop-admin-gallery__dropzone {
    border: 2px dashed rgba(15, 60, 79, 0.35);
    border-radius: 6px;
    padding: 1.5rem 1rem;
    text-align: center;
    background: rgba(15, 60, 79, 0.04);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.shop-admin-gallery__dropzone:hover,
.shop-admin-gallery__dropzone:focus-visible {
    border-color: var(--brand-navy);
    outline: none;
    background: rgba(15, 60, 79, 0.07);
}

.shop-admin-gallery__dropzone.is-dragover {
    border-color: var(--brand-red);
    background: rgba(219, 80, 74, 0.08);
}

.shop-admin-gallery__dropzone-text {
    display: block;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.35rem;
}

.shop-admin-gallery__dropzone-sub {
    font-size: 0.85rem;
    color: #6b7d8a;
}

.shop-admin-gallery__list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-admin-gallery__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    background: rgba(15, 60, 79, 0.04);
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 4px;
}

.shop-admin-gallery__item.is-dragging {
    opacity: 0.55;
}

.shop-admin-gallery__thumb-wrap {
    position: relative;
    flex-shrink: 0;
}

.shop-admin-gallery__thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
    border: 1px solid rgba(15, 60, 79, 0.15);
}

.shop-admin-gallery__primary-badge {
    position: absolute;
    left: 0.35rem;
    top: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    background: var(--brand-navy);
    color: #fff;
    border-radius: 2px;
}

.shop-admin-gallery__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.shop-admin-gallery__actions .shop-btn {
    margin: 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.68rem;
}

.shop-admin-gallery__remove {
    margin: 0;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--brand-red);
    background: transparent;
    border: 1px solid rgba(225, 80, 80, 0.45);
    border-radius: 2px;
    cursor: pointer;
}

.shop-admin-gallery__remove:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.shop-admin-gallery__status {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: #1e6b3a;
}

.shop-admin-gallery__status--error {
    color: #9b1c1c;
}

.shop-admin-notice--warn {
    background: #fff8f0;
    border-left-color: #e8c96a;
    color: #5a4200;
}

#shop-admin-gallery-json {
    display: none;
}

/* Checkout: delivery vs pickup */
.shop-fulfillment {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.shop-fulfillment__legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop-fulfillment__choice {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 0 0 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--brand-grey);
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-sizing: border-box;
}

.shop-fulfillment__choice:last-of-type {
    margin-bottom: 0;
}

.shop-fulfillment__choice input {
    margin: 0.25rem 0 0;
    flex-shrink: 0;
}

.shop-fulfillment__text {
    display: block;
    flex: 1;
    min-width: 0;
}

.shop-fulfillment__text strong {
    display: block;
    color: #1b3a5c;
    font-weight: 700;
}

.shop-fulfillment__sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #777;
    line-height: 1.4;
}

.shop-fulfillment__hint {
    margin: 8px 0 0;
    padding: 0;
    border: none;
    font-size: 12px;
    font-style: italic;
    color: #777;
    line-height: 1.45;
}

.shop-cart-checkout {
    margin: 0;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(21, 50, 67, 0.06);
    box-sizing: border-box;
}

.shop-cart-delivery {
    margin: 0 0 1rem;
}

.shop-cart-delivery__title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

.shop-cart-checkout .shop-btn--block {
    margin-top: 0;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
}

/* Legacy product action classes (cart page unchanged) */
.shop-product__actions .shop-btn--action {
    box-sizing: border-box;
}


/* Admin */
.shop-admin {
    max-width: 900px;
}

.shop-admin table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.shop-admin th,
.shop-admin td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e2e8ec;
}

.shop-admin form label {
    display: block;
    font-weight: 600;
    margin: 1rem 0 0.35rem;
    color: var(--brand-dark);
}

.shop-admin input[type="text"],
.shop-admin input[type="number"],
.shop-admin input[type="password"],
.shop-admin select,
.shop-admin textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid #ccd8de;
    font-family: inherit;
    box-sizing: border-box;
}

.shop-admin textarea {
    min-height: 140px;
}

.shop-admin .field-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

.shop-admin-category {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
}

.shop-admin-category__select {
    width: 100%;
    cursor: pointer;
}

.shop-admin-category__new {
    padding: 0.85rem 1rem;
    background: rgba(15, 60, 79, 0.04);
    border: 1px dashed rgba(15, 60, 79, 0.25);
    border-radius: 4px;
}

.shop-admin-category__new-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--brand-navy);
}

.shop-admin-pricing {
    margin: 1.25rem 0 0;
    padding: 1.15rem 1.1rem 1.25rem;
    border: 1px solid rgba(15, 60, 79, 0.15);
    border-radius: 6px;
    background: rgba(15, 60, 79, 0.03);
}

.shop-admin-pricing__legend {
    padding: 0 0.35rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.shop-admin-shipping-preview {
    margin: 0.75rem 0 0;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.18);
    border-left: 4px solid var(--brand-navy);
    border-radius: 4px;
}

.shop-admin-shipping-preview__title {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-navy);
}

.shop-admin-shipping-preview__price {
    margin: 0 0 0.35rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.1;
}

.shop-admin-shipping-preview__meta {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.45;
}

.shop-admin-shipping-legacy {
    margin-top: 1rem;
}

/* Admin nav & orders */
.shop-admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0.75rem 0 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 60, 79, 0.12);
}

.shop-admin-nav__link {
    font-weight: 600;
    text-decoration: none;
    color: var(--brand-navy);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.shop-admin-nav__link:hover,
.shop-admin-nav__link:focus-visible {
    color: var(--brand-red);
}

.shop-admin-nav__link.is-active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-red);
}

.shop-admin-nav__badge {
    display: inline-block;
    min-width: 1.25rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: var(--brand-red);
    border-radius: 999px;
    vertical-align: middle;
}

.shop-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
}

.shop-admin-filters__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--brand-navy);
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.2);
    border-radius: 999px;
}

.shop-admin-filters__pill:hover,
.shop-admin-filters__pill:focus-visible {
    border-color: var(--brand-navy);
}

.shop-admin-filters__pill.is-active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.shop-admin-filters__count {
    font-size: 0.75rem;
    opacity: 0.85;
}

.shop-admin-filters__pill.is-active .shop-admin-filters__count {
    opacity: 1;
}

.shop-order-status {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.shop-order-status--pending {
    background: #fff4e5;
    color: #8a5a00;
}

.shop-order-status--processing {
    background: #e8f0ff;
    color: #1a4a8a;
}

.shop-order-status--shipped,
.shop-order-status--collected {
    background: #e6f4ea;
    color: #1e6b3a;
}

.shop-order-status--cancelled {
    background: #fdecea;
    color: #9b1c1c;
}

.shop-admin-empty {
    margin: 1rem 0;
}

.shop-admin-notice {
    margin: 0 0 1rem;
    padding: 0.65rem 1rem;
    background: #e6f4ea;
    border-left: 4px solid #1e6b3a;
    color: #1e4a2a;
}

.shop-admin-order-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 860px) {
    .shop-admin-order-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.shop-admin-order-panel {
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.12);
    border-radius: 6px;
    padding: 1.15rem 1.2rem;
}

.shop-admin-order-panel__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.shop-admin-order-panel__subtitle {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    color: var(--brand-navy);
}

.shop-admin-dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.35rem 1rem;
}

.shop-admin-dl dt {
    margin: 0;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.85rem;
}

.shop-admin-dl dd {
    margin: 0;
}

.shop-admin-address {
    white-space: pre-line;
    margin: 0;
    font-size: 0.95rem;
}

.shop-admin-order-lines {
    margin: 0;
    padding-left: 1.2rem;
}

.shop-admin-order-form select,
.shop-admin-order-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.shop-admin-visibility {
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(15, 60, 79, 0.15);
    border-radius: 6px;
}

.shop-admin-visibility__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--brand-dark);
}

.shop-admin-visibility__form {
    margin: 0;
}

.shop-admin-visibility__option {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0.5rem 0;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.45;
}

.shop-admin-visibility__option input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.shop-admin-copy-tools {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    background: #f7fafb;
    border: 1px dashed rgba(15, 60, 79, 0.25);
    border-radius: 6px;
}

.shop-admin-copy-status {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: #1e6b3a;
}

.shop-admin-copy-status--error {
    color: #9b1c1c;
}

.shop-admin-purge-test {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #fff8f0;
    border: 1px solid #e8c96a;
    border-radius: 6px;
}

.shop-admin-purge-test p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.shop-preview-banner {
    margin: 0;
    padding: 0.55rem 1rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: #5a4200;
    background: #fff4e5;
    border-bottom: 1px solid #e8c96a;
}

/* ——— Shop-wide mobile responsive ——— */
@media (max-width: 768px) {
    .shop-main {
        padding: 1rem 12px 2rem;
    }

    .shop-main--has-hero > .shop-layout {
        padding: 1.25rem 12px 2rem;
    }

    .shop-page-header {
        margin-bottom: 1rem;
        padding-bottom: 0.65rem;
    }

    .shop-layout {
        gap: 1.25rem;
    }

    .shop-sidebar {
        padding: 1rem;
    }

    .shop-grid,
    .shop-grid--catalog {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .shop-cart-layout {
        padding: 0;
    }

    .shop-cart-summary,
    .shop-cart-checkout {
        padding: 1rem;
    }

    .shop-cart-form__actions .shop-btn {
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
        text-align: center;
    }

    .shop-footer__inner {
        padding: 0 12px;
    }

    .shop-btn--block {
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .shop-cart-table thead {
        display: none;
    }

    .shop-cart-table,
    .shop-cart-table tbody,
    .shop-cart-table tr,
    .shop-cart-table td {
        display: block;
        width: 100%;
    }

    .shop-cart-table tr {
        margin-bottom: 0.75rem;
        padding: 0.85rem 1rem;
        background: #fff;
        border: 1px solid rgba(15, 60, 79, 0.12);
        border-radius: 6px;
        box-sizing: border-box;
    }

    .shop-cart-table tr:last-child {
        margin-bottom: 0;
    }

    .shop-cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.4rem 0;
        border-bottom: none;
        text-align: right;
    }

    .shop-cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #888;
        text-align: left;
        flex-shrink: 0;
    }

    .shop-cart-table__item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-bottom: 0.65rem;
        margin-bottom: 0.35rem;
        border-bottom: 1px solid #e8eef2;
    }

    .shop-cart-table__item::before {
        margin-bottom: 0.25rem;
    }

    .shop-cart-table__remove::before {
        display: none;
    }

    .shop-cart-table__remove {
        justify-content: flex-end;
        padding-top: 0.5rem;
    }

    .shop-cart-table-wrap {
        overflow-x: visible;
    }

    .shop-fulfillment__choice {
        padding: 10px 12px;
    }

    .shop-fulfillment__sub {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .shop-main {
        padding: 0.75rem 10px 1.5rem;
    }

    .shop-cart-form__actions {
        flex-direction: column;
    }

    .shop-cart-form__actions .shop-btn {
        width: 100%;
        min-width: 0;
    }
}
