/* ============================================================================
   KELCO V4 EVERGREEN — SITE STYLES
   Refactored site-wide: September 2026

   Organization
   01. Design tokens and Bootstrap compatibility
   02. Shared layout, accessibility, and page patterns
   03. Site header, navigation, search , and footer
   04. Homepage
   05. Product browsing and product details
   06. Cart and checkout
   07. Account and order pages
   08. Resources and contact pages
   09. Error layout and browser warning
   10. Print styles

   Notes
   - This stylesheet intentionally remains compatible with Tapestry's Bootstrap 3.
   - Existing Tapestry class names are preserved; the refactor consolidates CSS only.
   ============================================================================ */

/* ============================================================================
   01. DESIGN TOKENS AND BOOTSTRAP 3 COMPATIBILITY
   ============================================================================ */

:root {
    font-size: 16px;

    --color-primary: #2a947a;
    --color-primary-dark: #1d6e5c;
    --color-primary-light: #46b197;

    --color-accent: #b61e24;
    --color-accent-dark: #8f181c;

    --color-backorder: #c47a17;
    --color-backorder-dark: #9d5f10;

    --color-white: #ffffff;
    --color-off-white: #f8f8f5;
    --color-border: #e2e5e1;
    --color-text: #2d2d2d;
    --color-heading: #111111;

    --font-body: "Inter", "Segoe UI", sans-serif;

    --header-height: 96px;
    --topbar-height: 42px;
    --container-width: 1320px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 7px 24px rgba(24, 64, 53, 0.065);
    --shadow-panel: 0 8px 28px rgba(24, 64, 53, 0.07);
    --transition: 0.25s ease;
}

/*
* {
    outline: 1px solid red !important;
}
*/

/* Tapestry 5.9.1 includes Bootstrap 3. Keep the established sizing behavior. */
html body {
    font-size: 16px;
    font-family: serif;
    line-height: normal;
}

/* Increase the base size on phones for improved readability.
   Keep both rules because Bootstrap 3 sets body typography independently. */
@media (max-width: 760px) {
    :root {
        font-size: 18px;
    }

    html body {
        font-size: 18px;
    }
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* ============================================================================
   02. SHARED LAYOUT, ACCESSIBILITY, AND PAGE PATTERNS
   ============================================================================ */

.container {
    width: min(var(--container-width), 92%);
    margin-inline: auto;
}

.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Reset Bootstrap's breadcrumb treatment inside the Evergreen page body. */
main .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 700;
}

main .breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
}

main .breadcrumb a:hover,
main .breadcrumb a:focus {
    color: var(--color-primary-light);
}

/* Standard page container width used by converted interior pages. */
.product-list-page .container,
.cart-page .container,
.checkout-address-page .container,
.checkout-payment-page .container,
.order-confirmation-page .container,
.account-login-page .container,
.account-info-page .container,
.order-history-page .container,
.order-inquiry-page .container,
.change-password-page .container,
.events-calendar-page .container,
.how-to-videos-page .container,
.product-manuals-page .container,
.catalog-download-page .container,
.contact-page .container,
.showitem-page .container {
    width: min(calc(100% - 3rem), var(--container-width));
    margin-inline: auto;
}

/* Common background for converted interior pages. */
.product-list-page,
.cart-page,
.checkout-address-page,
.checkout-payment-page,
.order-confirmation-page,
.account-login-page,
.account-info-page,
.order-history-page,
.order-inquiry-page,
.change-password-page,
.events-calendar-page,
.how-to-videos-page,
.product-manuals-page,
.catalog-download-page,
.contact-page,
.showitem-page {
    background: var(--color-off-white);
    color: var(--color-text);
}

/* Shared Evergreen green hero shell. Product-group uses photography instead. */
.product-list-hero,
.checkout-address-hero,
.checkout-payment-hero,
.order-confirmation-hero,
.account-login-hero,
.account-info-hero,
.order-history-hero,
.order-inquiry-hero,
.change-password-hero,
.events-calendar-hero,
.how-to-videos-hero,
.product-manuals-hero,
.contact-hero,
.showitem-hero {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background: linear-gradient(115deg, #154f43 0%, #1d6e5c 62%, #2a947a 100%);
}

.product-list-hero::after,
.checkout-address-hero::after,
.checkout-payment-hero::after,
.order-confirmation-hero::after,
.account-login-hero::after,
.account-info-hero::after,
.order-history-hero::after,
.order-inquiry-hero::after,
.change-password-hero::after,
.events-calendar-hero::after,
.how-to-videos-hero::after,
.product-manuals-hero::after,
.contact-hero::after,
.showitem-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 60%);
}

/* Catalog keeps a slightly different highlight but shares the same palette. */
.catalog-download-hero {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.15), transparent 30%),
        linear-gradient(115deg, #154f43 0%, #1d6e5c 62%, #2a947a 100%);
}

.catalog-download-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 62%);
}

.product-list-hero__inner,
.checkout-address-hero__inner,
.checkout-payment-hero__inner,
.order-confirmation-hero__inner,
.account-login-hero__inner,
.account-info-hero__inner,
.order-history-hero__inner,
.order-inquiry-hero__inner,
.change-password-hero__inner,
.events-calendar-hero__inner,
.how-to-videos-hero__inner,
.product-manuals-hero__inner,
.catalog-download-hero__inner,
.contact-hero__inner,
.showitem-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 1.7rem;
    padding-bottom: 2.8rem;
}

.product-list-hero__eyebrow,
.checkout-address-hero__eyebrow,
.checkout-payment-hero__eyebrow,
.order-confirmation-hero__eyebrow,
.account-login-hero__eyebrow,
.account-info-hero__eyebrow,
.order-history-hero__eyebrow,
.order-inquiry-hero__eyebrow,
.change-password-hero__eyebrow,
.events-calendar-hero__eyebrow,
.how-to-videos-hero__eyebrow,
.product-manuals-hero__eyebrow,
.catalog-download-hero__eyebrow,
.contact-hero__eyebrow,
.showitem-hero__eyebrow {
    margin: 0 0 0.45rem;
    color: #d9f2ea;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-list-hero h1,
.checkout-address-hero h1,
.checkout-payment-hero h1,
.order-confirmation-hero h1,
.account-login-hero h1,
.account-info-hero h1,
.order-history-hero h1,
.order-inquiry-hero h1,
.change-password-hero h1,
.events-calendar-hero h1,
.how-to-videos-hero h1,
.product-manuals-hero h1,
.catalog-download-hero h1,
.contact-hero h1,
.showitem-hero h1 {
    margin: 0 0 0.7rem;
    color: var(--color-white);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    line-height: 1.08;
}

/* Shared card shell used across the interior site. */
.account-action-card,
.order-status-card,
.order-address-card,
.order-items-card,
.order-totals-card,
.order-help-card,
.checkout-panel,
.checkout-summary-card,
.checkout-help-card,
.payment-panel,
.payment-address-card,
.payment-summary-card,
.payment-help-card,
.order-confirmation-card,
.order-confirmation-help,
.contact-form-card,
.contact-info-card,
.contact-help-card,
.events-info-card,
.events-contact-card {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-panel);
}

/* ============================================================================
   03. SITE HEADER, NAVIGATION, SEARCH, AND FOOTER
   ============================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.header-topbar {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: var(--topbar-height);
    margin: 0;
    padding-left: max(4vw, calc((100vw - var(--container-width)) / 2));
    padding-right: max(4vw, calc((100vw - var(--container-width)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.875rem;
}

.topbar-contact,
.topbar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-message {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.topbar-contact a,
.topbar-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.topbar-contact a,
.topbar-contact a:visited,
.topbar-contact a:active,
.topbar-contact a[href^="tel:"],
.topbar-contact a[href^="tel:"]:visited,
.topbar-links a:visited,
.topbar-links a:active {
    color: var(--color-white);
    opacity: 0.8;
    text-decoration: none;
}

.topbar-links a:hover,
.topbar-contact a:hover {
    text-decoration: underline;
}

.header-main {
    width: min(var(--container-width), 92%);
    max-width: none;
    min-height: var(--header-height);
    margin-inline: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
}

.logo-container {
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 75px;
}

.main-navigation {
    flex: 1;
    margin-left: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
/*    padding: 0; */
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.25px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-item > a:hover,
.nav-item > a:focus {
    color: var(--color-primary);
}

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-item > a:hover::after,
.nav-item > a:focus::after {
    width: 100%;
}

.nav-item-resources {
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    border: 0;
    background: transparent;
    color: var(--color-heading);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.25px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
    color: var(--color-primary);
}

.nav-dropdown-toggle:focus-visible {
    outline: 3px solid rgba(29, 110, 92, 0.25);
    outline-offset: 4px;
    border-radius: 3px;
}

.nav-dropdown-icon {
    position: relative;
    top: -0.05rem;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform var(--transition);
}

.nav-dropdown {
    position: absolute;
    z-index: 1100;
    top: calc(100% + -0.7rem);
    left: 50%;
    width: min(360px, 90vw);
    margin: 0;
    padding: 0.55rem;
    list-style: none;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-white);
    box-shadow: 0 18px 42px rgba(17, 53, 44, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 0.5rem);
    transition: opacity var(--transition), transform var(--transition), visibility 0s linear var(--transition);
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    background: var(--color-white);
    transform: translateX(-50%) rotate(45deg);
}

.nav-item-resources:hover .nav-dropdown,
.nav-item-resources:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.nav-item-resources:hover .nav-dropdown-icon,
.nav-item-resources:focus-within .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown li {
    position: relative;
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 7px;
    color: var(--color-heading);
    text-decoration: none;
}

.nav-dropdown a::after {
    display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    color: var(--color-primary-dark);
    background: rgba(29, 110, 92, 0.08);
}

.nav-dropdown strong,
.nav-dropdown span {
    display: block;
}

.nav-dropdown strong {
    margin-bottom: 0.18rem;
    font-size: 0.95rem;
    line-height: 1.25;
}

.nav-dropdown a > span {
    color: #5c6863;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-button,
.cart-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--color-heading);
    transition: var(--transition);
}

.search-button:hover,
.seatch-button:hover .search-icon,
.cart-button:hover {
    color: var(--color-primary);
}

.search-button {
    padding-left: 2.0rem;
}

.search-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.cart-button {
    position: relative;
}

.cart-icon__svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    position: absolute;
    top: -11px;
    right: -11px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
}

.mobile-menu-toggle,
nav.mobile-navigation,
.mobile-nav-overlay {
    display: none;
}

@supports (hanging-punctuation: first) {
    .search-icon,
    .search-btn,
    .header-search {
        font-size: 1.7rem !important;
    }

}

/* Header search panel ------------------------------------------------------- */

.header-search-panel {
    position: relative;
    z-index: 90;
    width: 100%;
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.header-search-panel[hidden] {
    display: none;
}

.header-search-panel__inner {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
    padding-block: 1rem;
}

.header-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.625rem;
    align-items: center;
}

.header-search-panel .header-search-form input.header-search-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0.8rem 1rem;
    background: var(--color-white);
    background-image: none;
    color: var(--color-text);
    border: 1px solid #a7b2ac;
    border-radius: 4px;
    box-shadow: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.header-search-panel .header-search-form input.header-search-input::placeholder {
    color: #777777;
    opacity: 1;
}

.header-search-panel .header-search-form input.header-search-input:focus {
    height: 46px;
    background: var(--color-white);
    border-color: var(--color-primary-dark);
    outline: 3px solid rgba(29, 110, 92, 0.18);
    outline-offset: 1px;
    box-shadow: none;
}

.header-search-panel .header-search-form .header-search-submit {
    box-sizing: border-box;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0 1.25rem;
    color: var(--color-white);
    background: var(--color-primary-dark);
    border: 1px solid var(--color-primary-dark);
    border-radius: 4px;
    box-shadow: none;
    text-shadow: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.header-search-panel .header-search-form .header-search-submit:hover,
.header-search-panel .header-search-form .header-search-submit:focus {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
    outline: none;
    box-shadow: none;
}

.header-search-close {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    place-items: center;
    align-self: center;
    color: #1d4238;
    font-size: 1.75rem;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.header-search-close:hover,
.header-search-close:focus-visible {
    background: rgba(29, 110, 92, 0.1);
}

/* Desktop footer ----------------------------------------------------------- */

.site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #064735 55%, #033326 100%);
    color: var(--color-white);
}

.footer-main {
    width: min(var(--container-width), 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.2fr;
    gap: 3rem;
    padding: 3rem 0 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: block;
    width: 210px;
    height: auto;
    margin-bottom: 0.9rem;
}

.footer-tagline {
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.45;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    margin: 0 0 1rem;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-menu {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
}

.footer-menu a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.45;
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover,
.footer-contact a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact {
    font-style: normal;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.45;
}

.footer-contact-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--color-white);
    opacity: 0.9;
}

.footer-badge {
    width: 118px;
    height: 118px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-badge img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom-inner {
    width: min(var(--container-width), 92%);
    min-height: 58px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--color-white);
}


/* Header and footer responsive --------------------------------------------- */

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem 3rem;
    }

    .footer-brand {
        grid-column: span 3;
    }

    .footer-logo {
        width: 190px;
    }
}

@media (max-width: 768px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--color-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .header-topbar {
        height: 42px;
        padding: 0 0.9rem;
        justify-content: center;
        font-size: 0.88rem;
        font-weight: 600;
        text-align: center;
        letter-spacing: 0.02em;
    }

    .topbar-contact,
    .topbar-links {
        display: none;
    }

    .topbar-message {
        display: block;
    }

    .header-main {
        position: relative;
        width: 100%;
        min-height: 86px;
        padding: 0.75rem 1rem;
        box-sizing: border-box;
    }

    .logo-container {
        position: absolute;
        left: 50%;
        z-index: 10;
        transform: translateX(-50%);
    }

    .site-logo {
        width: auto;
        height: 64px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        position: relative;
        z-index: 20;
        width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-line {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: #111111;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.85rem;
    }

    .search-button,
    .cart-button {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: var(--color-heading);
        cursor: pointer;
    }

    .search-button {
        padding-left: 0px;
    }
    

    span.cart-count {
        top: -8px;
        right: -8px;
    }

    nav.mobile-navigation {
        position: fixed;
        z-index: 2002;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        padding: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--color-white);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 220ms ease, visibility 0s linear 220ms;
    }

    nav.mobile-navigation.is-open {
        transform: translateX(0);
        visibility: visible;
        transition-delay: 0s;
    }

    .mobile-nav-header {
        min-height: 88px;
        padding: 1rem 1.25rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
        background: var(--color-white);
    }

    .mobile-nav-logo-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .mobile-nav-logo {
        display: block;
        width: auto;
        max-width: 190px;
        height: 58px;
    }

    .mobile-nav-close {
        width: 44px;
        height: 44px;
        padding: 0;
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--color-primary-dark);
        font: inherit;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-nav-close:hover,
    .mobile-nav-close:focus-visible {
        background: rgba(29, 110, 92, 0.08);
    }

    .mobile-nav-menu {
        display: block;
        margin: 0;
        padding: 0;
        list-style: none;
        background: var(--color-white);
    }

    .mobile-nav-item {
        margin: 0;
        border-bottom: 1px solid var(--color-border);
        background: var(--color-white);
    }

    nav.mobile-navigation .mobile-nav-item > a {
        min-height: 56px;
        padding: 0.9rem 1.35rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: var(--color-heading);
        background: var(--color-white);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: left;
        text-decoration: none;
        text-transform: none;
        letter-spacing: 0;
    }

    nav.mobile-navigation .mobile-nav-item > a:hover,
    nav.mobile-navigation .mobile-nav-item > a:focus-visible {
        color: var(--color-primary-dark);
        background: rgba(29, 110, 92, 0.06);
    }

    .mobile-nav-section-label {
        margin: 0;
        padding: 1.15rem 1.35rem 0.5rem;
        border-bottom: 0;
        background: var(--color-white);
        color: var(--color-primary-dark);
        font-size: 0.9rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-nav-item--resource {
        background: var(--color-white);
    }

    nav.mobile-navigation .mobile-nav-item--resource > a {
        min-height: 46px;
        padding: 0.65rem 1.35rem 0.65rem 2rem;
        justify-content: flex-start;
        color: #4c5752;
        background: var(--color-white);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
    }

    .mobile-nav-item--resource a::before {
        display: none;
        content: none;
    }

    .mobile-nav-utility {
        display: block;
        margin: 0;
        padding: 0;
        border-top: 0;
        background: var(--color-white);
    }

    nav.mobile-navigation .mobile-nav-utility a {
        min-height: 56px;
        padding: 0.9rem 1.35rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-bottom: 1px solid var(--color-border);
        background: var(--color-white);
        color: var(--color-heading);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: left;
        text-decoration: none;
        text-transform: none;
        letter-spacing: 0;
    }

    nav.mobile-navigation .mobile-nav-utility a:hover,
    nav.mobile-navigation .mobile-nav-utility a:focus-visible {
        color: var(--color-primary-dark);
        background: rgba(29, 110, 92, 0.06);
        text-decoration: none;
    }

    .mobile-nav-overlay {
        position: fixed;
        z-index: 2001;
        inset: 0;
        display: block;
        background: rgba(8, 25, 21, 0.56);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 220ms ease, visibility 0s linear 220ms;
    }

    .mobile-nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .mobile-menu-toggle:focus-visible,
    .mobile-nav-close:focus-visible,
    nav.mobile-navigation .mobile-nav-item > a:focus-visible,
    nav.mobile-navigation .mobile-nav-utility a:focus-visible {
        outline: 3px solid rgba(29, 110, 92, 0.35);
        outline-offset: 2px;
    }

    nav.mobile-navigation .mobile-nav-logo-link:focus {
        outline: none;
    }

    nav.mobile-navigation .mobile-nav-logo-link:focus-visible {
        outline: 2px solid rgba(29, 110, 92, 0.25);
        outline-offset: 4px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0 2rem;
    }

    .footer-brand {
        grid-column: auto;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 185px;
    }

    .footer-tagline {
        font-size: 0.95rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-menu,
    .footer-contact-details {
        align-items: center;
    }

    .footer-contact-row {
        justify-content: center;
        text-align: center;
    }

    .footer-badge {
        margin: 1.25rem auto 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.65rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .header-search-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-search-submit {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .header-search-close {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 420px) {
    .site-logo {
        height: 58px;
        max-width: 47vw;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .search-button,
    .cart-button {
        width: 37px;
        height: 37px;
    }

    .footer-main {
        width: min(100% - 2rem, 420px);
        padding-top: 2.25rem;
    }

    .footer-logo {
        width: 165px;
    }

    .footer-heading {
        font-size: 0.84rem;
    }

    .footer-menu a,
    .footer-contact a,
    .footer-contact-row {
        font-size: 0.9rem;
    }

    .footer-badge {
        width: 96px;
        height: 96px;
    }

    .footer-badge img {
        width: 72px;
        height: 72px;
    }

    .copyright,
    .legal-links a {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    nav.mobile-navigation,
    .mobile-nav-overlay,
    .reviews-track,
    .reviews-arrow,
    .reviews-dot {
        transition: none;
    }
}

/* ============================================================================
   04. HOMEPAGE
   ============================================================================ */

.hero-section {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000000;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("/assets/ctx/c67f01d4/images/hero-wreath.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.74) 28%,
        rgba(0, 0, 0, 0.42) 52%,
        rgba(0, 0, 0, 0.08) 72%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 3;
    width: min(var(--container-width), 92%);
    margin: auto;
}

.hero-content {
    max-width: 560px;
    padding: 4rem 0;
}

.hero-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 2rem;
    color: var(--color-white);
    font-family: "Merriweather", serif;
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-accent-line {
    width: 74px;
    height: 4px;
    margin-bottom: 2rem;
    background: var(--color-primary);
}

.hero-description {
    margin-bottom: 2.5rem;
    color: var(--color-white);
    font-size: 1.55rem;
    line-height: 1.5;
    opacity: 0.96;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-button {
    height: 56px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.hero-button-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.hero-button-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.hero-button-secondary {
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
}

.hero-button-secondary:hover {
    background: var(--color-white);
    color: var(--color-heading);
}

.hero-button-icon {
    font-size: 1.2rem;
}

.trust-bar {
    padding: 2.5rem 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    width: 100%;
    max-width: 1200px; /* match whatever width we actually want */
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}

.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 1px;
    height: 74px;
    background: #e7e7e7;
    transform: translateY(-50%);
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-content h3 {
    margin: 0 0 0.45rem;
    color: var(--color-heading);
    font-family: "Merriweather", serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.trust-content p {
    margin: 0;
    color: #555555;
    font-size: 0.96rem;
    line-height: 1.55;
}

.credibility-section {
    padding: 0.5rem 0 1.75rem;
    background: var(--color-white);
}

.credibility-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.credibility-line {
    flex: 1;
    max-width: 220px;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.7;
}

.credibility-text {
    max-width: 700px;
    color: var(--color-heading);
    font-family: "Merriweather", serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.category-section {
    background: var(--color-white);
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--color-heading);
    font-family: "Merriweather", serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    max-width: 220px;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.6;
}

.category-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.category-image {
    position: relative;
    height: 215px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.22));
}

.category-content {
    position: relative;
    padding: 2.5rem 2rem 2rem;
}

.category-icon {
    position: absolute;
    top: -32px;
    left: 2rem;
    width: 64px;
    height: 64px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--color-white);
    border-radius: 50%;
    background: var(--color-primary-dark);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.category-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-title {
    margin-bottom: 0.75rem;
    color: var(--color-heading);
    font-family: "Merriweather", serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-description {
    margin-bottom: 1.75rem;
    color: #555555;
    font-size: 1rem;
    line-height: 1.65;
}

.category-link,
.view-all-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.category-link {
    gap: 0.6rem;
    font-size: 0.95rem;
}

.category-link::after {
    content: "→";
}

.category-link:hover {
    color: var(--color-primary);
    gap: 0.9rem;
}

.featured-products {
    padding: 2rem 0 4rem;
    background: var(--color-white);
}

.featured-products .section-header {
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.featured-products .section-title {
    gap: 1.5rem;
    margin: 0;
    color: var(--color-primary-dark);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.featured-products .section-title::before,
.featured-products .section-title::after {
    width: 180px;
}

.featured-product-image {
    position: relative;
    overflow: hidden;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 190px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-content {
    flex: 1;
    padding: 0.85rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
}

.product-title {
    margin: 0 0 0.45rem;
    color: var(--color-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--color-primary-dark);
}

.product-price {
    margin-bottom: 0.85rem;
    color: var(--color-heading);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.product-meta-spacer {
    flex: 1;
}

.product-button {
    width: 100%;
    min-height: 42px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.product-button:hover {
    background: var(--color-primary);
}

.information-section {
    overflow: visible;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.information-section > .container {
    width: min(var(--container-width), 96%);
    max-width: none;
    padding: 0;
}

.information-grid {
    min-height: 315px;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.why-kelco-panel,
.testimonial-panel,
.catalog-panel {
    position: relative;
    min-width: 0;
    padding: 2.75rem 2rem;
}

.testimonial-panel,
.catalog-panel {
    border-left: 1px solid var(--color-border);
}

h2.panel-title {
    margin: 0 0 1.5rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.benefits-list,
.catalog-benefits {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
}

.benefits-list {
    gap: 0.85rem;
}

.benefit-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.45;
}

.benefit-item::before,
.catalog-benefits li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-weight: 900;
}

.benefit-item::before {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    margin-top: 0.05rem;
    font-size: 0.78rem;
}

.testimonial-panel {
    background: var(--color-white);
    text-align: center;
}

.testimonial {
    max-width: 430px;
    margin: 0 auto;
}

.testimonial::before {
    content: "“";
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-family: "Merriweather", Georgia, serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 0.7;
}

.testimonial-text {
    margin: 0 0 1.25rem;
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.65;
}

.testimonial-rating {
    margin-bottom: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 0.15rem;
    color: #f5a623;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.testimonial-author {
    color: var(--color-heading);
    font-size: 0.95rem;
    line-height: 1.45;
    font-style: normal;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
}

.testimonial-dots,
.reviews-dots {
    margin-top: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-border);
}

.testimonial-dot.is-active {
    background: var(--color-primary);
}

.catalog-panel {
    overflow: visible;
    background: var(--color-white);
    padding: 0;
}

.catalog-panel-inner {
    min-height: 315px;
    padding: 2.75rem 2.25rem 2.75rem 3rem;
    display: grid;
    grid-template-columns: 1fr 250px;
    align-items: center;
    gap: 1.25rem;
}

.catalog-content {
    position: relative;
    z-index: 2;
}

.catalog-description {
    max-width: 310px;
    margin: 0 0 1.15rem;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.55;
}

.catalog-benefits {
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.catalog-benefits li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.35;
}

.catalog-benefits li::before {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    font-size: 0.68rem;
}

.catalog-button {
    min-height: 48px;
    padding: 0 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 6px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.catalog-button:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.catalog-image-wrap {
    position: relative;
    margin: 0;
    padding-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-cover-image {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    transform: rotate(-5deg);
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.24));
}

/* Reviews component -------------------------------------------------------- */

.reviews-panel {
    min-width: 0;
    overflow: hidden;
}

.reviews-panel .panel-title {
    margin-bottom: 1.25rem;
}

.reviews-carousel {
    position: relative;
}

.reviews-viewport {
    overflow: hidden;
    margin: 0;
}

.reviews-track {
    display: flex;
    align-items: stretch;
    transform: translate3d(0, 0, 0);
    transition: transform 0.35s ease;
    will-change: transform;
}

.reviews-slide {
    box-sizing: border-box;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.reviews-slide .testimonial-text {
    overflow-wrap: anywhere;
}

.reviews-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.reviews-arrow--previous {
    left: -0.25rem;
}

.reviews-arrow--next {
    right: -0.25rem;
}

.reviews-arrow:hover,
.reviews-arrow:focus-visible {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.reviews-arrow:focus-visible,
.reviews-dot:focus-visible {
    outline: 3px solid rgba(29, 110, 92, 0.25);
    outline-offset: 2px;
}

.reviews-dots {
    min-height: 14px;
}

.reviews-dot {
    display: inline-block;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.reviews-dot[aria-current="true"] {
    transform: scale(1.2);
}

.reviews-empty {
    max-width: 360px;
    margin: 1.5rem auto 0;
    color: #68736e;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Homepage responsive ----------------------------------------------------- */

@media (min-width: 769px) {
    .hero-content {
        max-width: 760px;
    }

    .hero-actions {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .hero-button {
        padding-inline: 1.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .featured-products .section-title::before,
    .featured-products .section-title::after {
        width: 110px;
    }
}

/* Give the catalog panel extra room just before the tablet breakpoint. */
@media (min-width: 1101px) and (max-width: 1250px) {
    .information-grid {
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 0.95fr)
            minmax(0, 1.2fr);
    }
}

@media (max-width: 1100px) {
    .information-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-panel {
        grid-column: 1 / -1;
        border-top: 1px solid var(--color-border);
        border-left: 0;
    }

    .catalog-panel-inner {
        grid-template-columns: 1fr 190px;
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 560px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .trust-content h3 {
        white-space: normal;
    }
    
    .featured-products .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .featured-products .section-title {
        justify-content: center;
        font-size: 1.75rem;
    }

    .view-all-link {
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 2rem, 720px);
    }

    section {
        scroll-margin-top: 90px;
    }

    .hero-section {
        min-height: 660px;
        align-items: flex-start;
    }

    .hero-background {
        background-position: 66% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.58) 48%,
            rgba(0, 0, 0, 0.28) 100%
        );
    }

    .hero-container {
        width: 100%;
        padding: 3.25rem 1.35rem 2rem;
    }

    .hero-content {
        max-width: 440px;
        padding: 1.25rem 0 2rem;
    }

    .hero-kicker {
        margin-bottom: 0.85rem;
        color: var(--color-primary-light);
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    .hero-title {
        margin: 0 0 1.35rem;
        font-size: clamp(2.6rem, 10vw, 4rem);
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    }

    .hero-accent-line {
        width: 58px;
        height: 3px;
        margin-bottom: 1.35rem;
    }

    .hero-description {
        max-width: 320px;
        margin-bottom: 1.75rem;
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .hero-actions {
        width: min(100%, 310px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .hero-button {
        min-height: 56px;
        padding: 0 1.35rem;
        font-size: 0.95rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .trust-bar {
        background: var(--color-primary-dark);
        color: var(--color-white);
    }
    
    .trust-grid {
        box-sizing: border-box;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.3rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    .trust-item {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        text-align: center;
        min-width: 0;
    }

    .trust-content {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    
    .trust-item::after {
        display: none;
    }

    .trust-icon {
        width: 52px;
        height: 52px;
    }

    .trust-content h3 {
        margin: 0 0 0.25rem;
        color: var(--color-white);
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1.15;
        text-transform: uppercase;
        white-space: normal;
    }

    .trust-content p {
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .credibility-section {
        padding: 1.35rem 1rem 1.9rem;
    }

    .credibility-content {
        flex-direction: column;
        gap: 0.8rem;
    }

    .credibility-line {
        width: 120px;
        flex: none;
    }

    .credibility-text {
        max-width: 360px;
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.4;
    }

    .category-section {
        padding: 1.75rem 0 2.5rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        gap: 0.9rem;
        margin: 0;
        color: var(--color-primary-dark);
        font-size: 1.4rem;
        font-weight: 800;
    }

    .section-title::before,
    .section-title::after {
        width: 42px;
        max-width: 42px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .category-card {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .category-image {
        height: 185px;
    }

    .category-content {
        padding: 2.2rem 1.35rem 1.35rem;
    }

    .category-icon {
        top: -31px;
        left: 1.35rem;
        width: 62px;
        height: 62px;
    }

    .category-title {
        margin: 0 0 0.55rem;
        font-size: 1.25rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .category-description {
        margin: 0 0 1rem;
        color: var(--color-text);
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .category-link {
        gap: 0.5rem;
        font-size: 0.88rem;
    }

    .featured-products {
        padding: 2rem 0;
    }

    .featured-products .section-header {
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .featured-products .section-title {
        font-size: 1.25rem;
    }

    .featured-products .section-title::before,
    .featured-products .section-title::after {
        display: none;
    }

    .product-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
    }

    .product-card {
        flex: 0 0 68%;
        max-width: 240px;
        scroll-snap-align: start;
    }

    .product-image {
        height: 170px;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .information-grid {
        grid-template-columns: 1fr;
    }

    .why-kelco-panel,
    .testimonial-panel,
    .catalog-panel {
        padding: 2rem 1.25rem;
        border-left: 0;
    }

    .why-kelco-panel {
        background: var(--color-primary-dark);
        color: var(--color-white);
    }

    .why-kelco-panel .panel-title {
        color: var(--color-white);
    }

    .benefit-item {
        gap: 0.65rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .benefit-item::before {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        background: var(--color-white);
        color: var(--color-primary-dark);
        font-size: 0.75rem;
    }

    .testimonial-panel {
        background: var(--color-off-white);
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .catalog-panel {
        grid-column: auto;
        overflow: hidden;
    }

    .catalog-panel-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.25rem;
        text-align: left;
    }

    .catalog-image-wrap {
        order: -1;
        padding-right: 0;
    }

    .catalog-cover-image {
        width: 210px;
        max-width: 80%;
    }

    .catalog-description {
        max-width: none;
    }

    .reviews-arrow {
        width: 36px;
        height: 36px;
    }

    .reviews-arrow--previous {
        left: 0;
    }

    .reviews-arrow--next {
        right: 0;
    }
}

@media (max-width: 420px) {
    .catalog-cover-image {
        width: 190px;
    }

    .catalog-panel-inner {
        padding: 1.75rem 1rem;
    }

    .reviews-slide .testimonial-text {
        font-size: 0.96rem;
    }
}


/* ============================================================================
   05. PRODUCT BROWSING AND PRODUCT DETAILS
   ============================================================================ */

/* Product group / BrowseProducts ------------------------------------------ */

.product-group-page {
    background: var(--color-white);
    color: var(--color-text);
}

.product-group-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b2f26;
}

.product-group-hero__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.product-group-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center right;
}

.product-group-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 42%,
        rgba(0, 0, 0, 0.16) 72%,
        rgba(0, 0, 0, 0) 100%
    );
}

.product-group-hero__container {
    position: relative;
    z-index: 3;
    padding: 2.25rem 0;
}

.product-group-hero__content {
    max-width: 650px;
}

.product-group-hero__kicker {
    margin: 0 0 0.75rem;
    color: var(--color-primary-light);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-group-hero__title {
    margin: 0 0 1rem;
    color: var(--color-white);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.product-group-hero__text {
    max-width: 560px;
    margin: 0;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
}

.product-group-jump-nav {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height));
    z-index: 300;
    background: var(--color-primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.product-group-jump-nav__inner {
    padding: 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-group-jump-nav a {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    color: var(--color-white);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.2s ease;
}

.product-group-jump-nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.product-group-directory {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
}

.product-group-directory__header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.product-group-directory__header .section-title {
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.product-group-directory__header p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.1rem;
}

.product-group-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.product-group-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.product-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.11);
}

.product-group-card--large {
    grid-column: span 2;
}

.product-group-card__image {
    height: 180px;
    overflow: hidden;
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border);
}

.product-group-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.product-group-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
}

.product-group-card h3 {
    margin: 0 0 0.9rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.product-group-card ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    list-style: none;
}

.product-group-card--large .product-group-card__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
}

.product-group-card li {
    margin: 0;
}

.product-group-card a {
    position: relative;
    display: block;
    padding-right: 1.2rem;
    color: var(--color-heading);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.product-group-card a::after {
    content: "›";
    position: absolute;
    top: 0;
    right: 0;
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.product-group-card a:hover {
    color: var(--color-primary-dark);
}

/* Product list / SearchResults -------------------------------------------- */

.product-list-hero__inner {
    padding-top: 2rem;
    padding-bottom: 3.1rem;
}

.product-list-hero__copy {
    max-width: 800px;
}

.product-list-hero h1 {
    max-width: 800px;
    margin-bottom: 0;
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    line-height: 1.02;
}

.product-list-hero__copy > p:last-child,
.product-list-hero p:last-child {
    max-width: 760px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.product-list-section {
    padding: 3rem 0 4.5rem;
}

.product-list-layout,
.product-list-layout--full {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.product-results {
    min-width: 0;
}

.product-results__toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 0 0.2rem;
}

.product-results__toolbar h2 {
    margin: 0;
    color: var(--color-heading);
    font-size: 1.55rem;
}

.product-results__toolbar p {
    margin: 0.25rem 0 0;
    color: #68716d;
    font-size: 0.9rem;
}

.product-results__toolbar label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #5c6561;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-results__toolbar select {
    min-width: 160px;
    padding: 0.62rem 2.1rem 0.62rem 0.72rem;
    border: 1px solid #cfd7d3;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-row {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 142px;
    gap: 1.35rem;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 6px 21px rgba(31, 63, 51, 0.055);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-row:hover {
    transform: translateY(-2px);
    border-color: #c7dcd4;
    box-shadow: 0 11px 30px rgba(31, 63, 51, 0.1);
}

.product-row__image-link {
    display: block;
    overflow: hidden;
    border: 1px solid #edf0ee;
    border-radius: 11px;
    background: var(--color-white);
    aspect-ratio: 1.18 / 1;
}

.product-row__image,
.product-row__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.product-row:hover .product-row__image,
.product-row:hover .product-row__image-link img {
    transform: scale(1.025);
}

.product-row__sku {
    margin: 0 0 0.32rem;
    color: #6e7773;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-row__title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.25;
}

.product-row__title a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.product-row__title a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.product-row__description {
    margin: 0.45rem 0 0.9rem;
    font-size: 0.93rem;
}

.product-row__description a {
    color: #4d5752;
    text-decoration: none;
}

.product-row__description a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.product-row__facts {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.5rem;
}

.product-row__facts div {
    min-width: 105px;
}

.product-row__facts dt {
    margin-bottom: 0.18rem;
    color: #7a827e;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.product-row__facts dd {
    margin: 0;
    color: #333a37;
    font-size: 0.9rem;
    font-weight: 700;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: #26734f;
}

.stock-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f9868;
}

.stock-status--out {
    color: #8a3033;
}

.stock-status--out::before {
    background: var(--color-accent);
}

.product-row__price {
    color: var(--color-heading) !important;
    font-size: 1.08rem !important;
}

.product-row__purchase {
    align-self: stretch;
    padding-left: 1.25rem;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.45rem;
    align-items: center;
    border-left: 1px solid #e5e9e7;
}

.product-row__purchase label {
    color: #606965;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-row__purchase input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    padding: 0.55rem;
    border: 1px solid #bdc9c4;
    border-radius: 8px;
    font: inherit;
    text-align: center;
}

.product-row__purchase input.form-control {
    height: 42px;
    margin: 0;
    box-shadow: none;
}

input[type="submit"].addtocart,
button.addtocart {
    box-sizing: border-box;
    width: 100%;
    max-width: 175px;
    min-width: 100px;
    min-height: 44px;
    padding: 0.72rem 0.8rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    background-image: none;
    box-shadow: 0 3px 0 var(--color-accent-dark);
    color: var(--color-white);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    transition: background var(--transition), transform var(--transition);
}

input[type="submit"].addtocart:hover,
button.addtocart:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.product-row__backorder {
    grid-column: 1 / -1;
}

.product-row__backorder-notice {
    margin-bottom: 0.6rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #e4bd7e;
    border-radius: 7px;
    background: #fff7e8;
    color: #6f470e;
    font-size: 0.75rem;
    line-height: 1.3;
}

.product-row__backorder-notice strong,
.product-row__backorder-notice span {
    display: block;
}

.product-row__backorder-notice strong {
    margin-bottom: 0.15rem;
    color: #7d4d0c;
    font-weight: 800;
}

.product-row__purchase .product-row__backorder input[type="submit"],
.product-row__purchase .product-row__backorder button,
input[type="submit"].addbackorder,
button.addbackorder {
    box-sizing: border-box;
    width: 100%;
    max-width: 175px;
    min-width: 100px;
    min-height: 44px;
    padding: 0.72rem 0.8rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-backorder);
    background-image: none;
    box-shadow: 0 3px 0 var(--color-backorder-dark);
    color: var(--color-white);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-indent: 0;
    white-space: normal;
    transition: background var(--transition), transform var(--transition);
}

.product-row__purchase .product-row__backorder input[type="submit"]:hover,
.product-row__purchase .product-row__backorder button:hover,
input[type="submit"].addbackorder:hover,
button.addbackorder:hover {
    background: var(--color-backorder-dark);
    background-image: none;
    transform: translateY(-1px);
}

.product-row__purchase-message,
.product-row__sold-out {
    grid-column: 1 / -1;
    margin: 0;
    color: #5f6965;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.product-row__purchase-message--cart {
    color: var(--color-primary-dark);
}

.product-row__purchase-message--error,
.product-row__sold-out {
    color: var(--color-accent-dark);
}

.product-list-note {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 9px 9px 0;
    background: #edf6f2;
    color: #4f5b56;
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ShowItem ---------------------------------------------------------------- */

.showitem-hero__inner {
    padding-top: 1.7rem;
    padding-bottom: 2.55rem;
}

.showitem-hero__copy {
    max-width: 860px;
}

.showitem-hero h1 {
    margin: 0;
    font-size: clamp(2.25rem, 4.4vw, 3.7rem);
}

.showitem-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.showitem-content {
    padding: 2.5rem 0 4rem;
}

.showitem-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
        "product help"
        "description ordering";
    gap: 1.5rem;
    align-items: start;
}

.showitem-layout > .showitem-product {
    grid-area: product;
    min-width: 0;
}

.showitem-layout > .showitem-help {
    grid-area: help;
    min-width: 0;
}

.showitem-product,
.showitem-help-card,
.showitem-description-card,
.showitem-ordering-note,
.extended-info-card {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.showitem-product {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
    overflow: hidden;
}

.showitem-media {
    min-width: 0;
    min-height: 465px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--color-border);
    background: radial-gradient(circle at 50% 38%, #ffffff 0%, #ffffff 52%, #f3f5f2 100%);
}

.showitem-media__link {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showitem-media__image,
.showitem-media__link img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 390px;
    height: auto;
    object-fit: contain;
}

.showitem-larger-image {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--color-primary-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.showitem-larger-image:hover,
.showitem-larger-image:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.showitem-info {
    min-width: 0;
    padding: 0;
}

/* ItemListForm is shared with SearchResults. On ShowItem, the surrounding
   page supplies the card and media column, so flatten the component card and
   restyle its content as the product-detail panel. */
.showitem-info .product-row-zone {
    width: 100%;
    min-width: 0;
    height: 100%;
}

.showitem-info .product-row {
    display: block;
    min-height: 100%;
    padding: 2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.showitem-info .product-row:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.showitem-info .product-row__image-link {
    display: none;
}

.showitem-item-number,
.showitem-info .product-row__sku {
    margin: 0 0 0.55rem;
    color: #68746f;
    font-size: 0.82rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.showitem-item-number strong {
    color: var(--color-heading);
}

.showitem-info h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    line-height: 1.2;
}

.showitem-short-description,
.showitem-info .product-row__description {
    margin: 0.55rem 0 1.6rem;
    color: #59655f;
    font-size: 1rem;
    font-weight: 650;
}

.showitem-info .product-row__description a {
    color: inherit;
    text-decoration: none;
}

.showitem-facts,
.showitem-info .product-row__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 1.65rem;
    overflow: hidden;
    border: 1px solid #dfe5e1;
    border-radius: 10px;
    background: #fbfcfb;
}

.showitem-facts > div,
.showitem-info .product-row__facts > div {
    min-width: 0;
    padding: 1rem 0.2rem;
    overflow-wrap: break-word;
}

.showitem-facts > div + div,
.showitem-info .product-row__facts > div + div {
    border-left: 1px solid #dfe5e1;
}

.showitem-facts dt,
.showitem-info .product-row__facts dt {
    margin-bottom: 0.35rem;
    color: #75807b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.showitem-facts dd,
.showitem-info .product-row__facts dd {
    margin: 0;
    color: #25332d;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.showitem-facts__price,
.showitem-info .product-row__price {
    color: var(--color-heading) !important;
    font-size: 1.15rem !important;
}

.showitem-purchase,
.showitem-info .product-row__purchase {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 0.4rem 0.85rem;
    align-items: end;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    padding: 0.75rem;
    border: 1px solid #d8e2de;
    border-radius: 11px;
    background: #eef6f2;
}

.showitem-info .product-row__purchase > label {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.showitem-info .product-row__purchase input.form-control {
    grid-column: 1;
    grid-row: 2;
}

.showitem-info .product-row__purchase > button,
.showitem-info .product-row__purchase > input[type="submit"] {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
}

.showitem-info .product-row__backorder {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.showitem-quantity label,
.showitem-info .product-row__purchase > label {
    display: block;
    margin-bottom: 0;
    color: #34413c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.showitem-info .product-row__backorder input[type="submit"],
.showitem-info .product-row__backorder button,
.showitem-info input[type="submit"].addtocart,
.showitem-info button.addtocart,
.showitem-info input[type="submit"].addbackorder,
.showitem-info button.addbackorder {
    max-width: none;
    min-height: 50px;
}

.showitem-quantity input,
.showitem-info .product-row__purchase input.form-control {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid #bdc9c4;
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: none;
    color: var(--color-heading);
    font: inherit;
    font-weight: 800;
    text-align: center;
}

.showitem-quantity input:focus,
.showitem-info .product-row__purchase input.form-control:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(42, 148, 122, 0.16);
    outline-offset: 1px;
    box-shadow: none;
}

.showitem-purchase-note,
.showitem-info .product-row__showitem-backorder-note {
    grid-column: 1 / -1;
    margin: 0.55rem 0 0;
    color: #69736f;
    font-size: 0.82rem;
    line-height: 1.5;
}

.showitem-help {
    align-self: stretch;
    min-height: 0;
}

.showitem-help-card {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    padding: 1.4rem;
    border-top: 4px solid var(--color-primary-dark);
}

.showitem-help-card__eyebrow,
.showitem-description-card__eyebrow {
    margin: 0 0 0.35rem;
    color: #6c7873;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.showitem-help-card h2,
.showitem-description-card h2,
.showitem-ordering-note h2,
.extended-info__list-heading {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
}

.showitem-help-card h2 {
    font-size: 1.25rem;
}

.showitem-help-card p {
    margin: 0.7rem 0 0;
    color: #626f69;
    font-size: 0.9rem;
    line-height: 1.55;
}

.showitem-help-card a {
    display: block;
    margin-top: 0.8rem;
    color: var(--color-primary-dark);
    font-weight: 800;
}

.showitem-description-stack {
    grid-area: description;
    min-width: 0;
    display: grid;
    gap: 1.5rem;
}

.showitem-description-card {
    min-width: 0;
}

.showitem-ordering-note {
    grid-area: ordering;
    min-width: 0;
    border-left: 4px solid var(--color-primary);
    background: #edf6f2;
}

.showitem-description-card,
.showitem-ordering-note {
    padding: 1.6rem;
}

.showitem-description-card h2,
.showitem-ordering-note h2,
.extended-info__list-heading {
    font-size: 1.35rem;
}

.showitem-description-card p,
.showitem-description-content,
.showitem-ordering-note p {
    color: #4f5d57;
    line-height: 1.7;
}

.showitem-description-card p {
    margin: 0.9rem 0 0;
}

.showitem-description-content > :first-child {
    margin-top: 0.9rem;
}

.showitem-description-content img {
    max-width: 100%;
    height: auto;
}

.extended-info-card {
    min-width: 0;
    overflow: hidden;
}

.extended-info__grid {
    padding: 0 1.6rem;
}

.extended-info__row {
    padding: 1.6rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.extended-info__row + .extended-info__row {
    border-top: 1px solid var(--color-border);
}

.extended-info__cell {
    min-width: 0;
    color: #4f5d57;
    line-height: 1.7;
}

.extended-info__cell--span {
    grid-column: 1 / -1;
}

.extended-info__text {
    white-space: pre-line;
}

.extended-info__list {
    margin: 0;
    padding-left: 1.25rem;
    color: #4f5d57;
    line-height: 1.65;
}

.extended-info__list-heading {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}

.extended-info__list li + li {
    margin-top: 0.45rem;
}

.extended-info__figure {
    margin: 0;
    text-align: center;
}

.extended-info__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 360px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
}

.extended-info__caption {
    max-width: 90%;
    margin: 0.65rem auto 0;
    color: #6c7873;
    font-size: 0.84rem;
    line-height: 1.45;
}

.showitem-ordering-note p {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

/* Product responsive ------------------------------------------------------ */

@media (max-width: 1200px) {
    .product-group-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-group-card--large {
        grid-column: span 1;
    }
}

@media (max-width: 1050px) {
    .product-row {
        grid-template-columns: 145px minmax(0, 1fr) 132px;
    }
}

@media (max-width: 1000px) {
    .showitem-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "product"
            "description"
            "help"
            "ordering";
    }

    .showitem-help {
        align-self: start;
    }

    .showitem-help-card {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0.4rem 1rem;
        align-items: center;
    }

    .showitem-help-card__eyebrow,
    .showitem-help-card h2,
    .showitem-help-card p {
        grid-column: 1;
    }

    .showitem-help-card a {
        grid-row: 2 / span 2;
        margin: 0;
    }
}

@media (max-width: 900px) {
    .product-group-hero {
        min-height: 420px;
    }

    .product-group-hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.62) 58%,
            rgba(0, 0, 0, 0.25) 100%
        );
    }

    .product-group-hero__title {
        font-size: 3rem;
    }

    .product-group-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-group-card--large .product-group-card__links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .product-list-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2.35rem;
    }

    .product-list-section {
        padding: 1.5rem 0 3rem;
    }

    .product-results__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-results__toolbar label {
        width: 100%;
    }

    .product-results__toolbar select {
        flex: 1;
    }

    .product-row {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .product-row__purchase {
        grid-column: 1 / -1;
        padding: 1rem 0 0;
        grid-template-columns: 38px 76px 1fr;
        border-top: 1px solid #e5e9e7;
        border-left: 0;
    }

    .product-row__purchase button,
    .product-row__purchase input[type="submit"] {
        grid-column: 3;
        grid-row: 1;
    }

    .product-row__backorder {
        grid-column: 3;
        grid-row: 1;
    }

    .product-row__facts {
        gap: 0.6rem 1rem;
    }

    .product-row__facts div {
        min-width: 92px;
    }

    .product-row__image-link {
        align-self: start;
    }

    .product-row__title {
        font-size: 1.02rem;
    }

    .product-row__description {
        font-size: 0.86rem;
    }

    /* The ShowItem hero already contains the item number, product name, and
       short description. On phones, suppress those repeated fields inside the
       shared ItemListForm so the limited vertical space is reserved for
       availability, price, and purchase controls. */
    .showitem-info .product-row__sku,
    .showitem-info .product-row__title,
    .showitem-info .product-row__description {
        display: none;
    }
}

@media (max-width: 700px) {
    .showitem-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .showitem-hero__inner {
        padding-top: 1.2rem;
        padding-bottom: 2rem;
    }

    .showitem-hero h1 {
        font-size: 2.25rem;
    }

    .showitem-content {
        padding-top: 1.25rem;
        padding-bottom: 2.75rem;
    }

    .showitem-product {
        grid-template-columns: 1fr;
    }

    .showitem-media {
        min-height: 330px;
        padding: 1.1rem;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .showitem-media__image,
    .showitem-media__link img {
        max-height: 300px;
    }

    .showitem-info .product-row {
        padding: 1.25rem;
    }

    .showitem-facts,
    .showitem-info .product-row__facts {
        grid-template-columns: 1fr;
    }

    .showitem-facts > div + div,
    .showitem-info .product-row__facts > div + div {
        border-top: 1px solid #dfe5e1;
        border-left: 0;
    }

    .showitem-purchase,
    .showitem-info .product-row__purchase {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .showitem-help-card {
        display: block;
    }

    .showitem-help-card a {
        margin-top: 0.8rem;
    }

    .extended-info__grid {
        padding: 0 1.25rem;
    }

    .extended-info__row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.25rem 0;
    }

    .extended-info__cell--span {
        grid-column: auto;
    }

    .extended-info__image {
        max-height: 300px;
    }
}

@media (max-width: 640px) {
    .product-group-hero {
        min-height: 520px;
    }

    .product-group-hero__image img {
        object-position: 70% center;
    }

    .product-group-hero__overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .product-group-hero__title {
        font-size: 2.45rem;
    }

    .product-group-hero__text {
        font-size: 1.05rem;
    }

    .product-group-directory {
        padding: 2.75rem 0 2rem;
    }

    .product-group-grid {
        grid-template-columns: 1fr;
    }

    .product-group-card__image {
        height: 205px;
    }
}

@media (max-width: 470px) {
    .product-row {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .product-row__facts div:nth-child(2) {
        display: none;
    }

    .product-row__purchase {
        grid-template-columns: 32px 64px 1fr;
    }

    .product-row__purchase button,
    .product-row__purchase input[type="submit"] {
        font-size: 0.83rem;
    }

    .product-list-hero p:last-child {
        font-size: 0.98rem;
    }
}

@media (max-width: 420px) {
    .showitem-page .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .showitem-hero h1 {
        font-size: 2rem;
    }

    .showitem-purchase,
    .showitem-info .product-row__purchase {
        grid-template-columns: 1fr;
    }

    .showitem-info .product-row__purchase > label,
    .showitem-info .product-row__purchase input.form-control,
    .showitem-info .product-row__purchase > button,
    .showitem-info .product-row__purchase > input[type="submit"],
    .showitem-info .product-row__backorder {
        grid-column: 1;
        grid-row: auto;
    }

    .showitem-purchase-button {
        width: 100%;
    }
}

/* ============================================================================
   06. CART AND CHECKOUT
   ========================================================================== */

/* Shopping cart ------------------------------------------------------------ */

.cart-heading {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(115deg, #123f35 0%, var(--color-primary-dark) 58%, #2a947a 100%);
}

.cart-heading::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(
        30deg,
        rgba(255, 255, 255, 0.025) 12%,
        transparent 12.5%,
        transparent 87%,
        rgba(255, 255, 255, 0.025) 87.5%
    );
    background-size: 48px 84px;
}

.cart-heading__inner {
    position: relative;
    z-index: 1;
    padding-top: 1.6rem;
    padding-bottom: 2.5rem;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
}

.cart-heading__copy {
    max-width: 760px;
}

.cart-heading__eyebrow {
    margin: 0 0 0.45rem;
    color: #c7e8df;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cart-heading h1 {
    margin: 0;
    color: var(--color-white);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
}

.cart-heading__copy > p:last-child {
    max-width: 650px;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.55;
}

.cart-content {
    padding: 2.4rem 0 4.5rem;
}

.cart-quick-add,
.cart-order,
.cart-help,
.cart-summary {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: var(--shadow-panel);
}

.cart-quick-add {
    display: grid;
    grid-template-columns: minmax(310px, 1fr) auto;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-top: 4px solid var(--color-primary);
}

.cart-quick-add__copy {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cart-quick-add__icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #e7f4ef;
    color: var(--color-primary-dark);
    font-size: 1.45rem;
    font-weight: 800;
}

.cart-quick-add h2,
.cart-order__top h2,
.cart-help h2,
.cart-summary h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
}

.cart-quick-add h2 {
    font-size: 1.18rem;
}

.cart-quick-add p {
    margin: 0.25rem 0 0;
    color: #63706b;
    font-size: 0.88rem;
}

.cart-quick-add__fields {
    display: grid;
    grid-template-columns: 200px 95px 130px;
    align-items: end;
    gap: 1.25rem;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
}

.cart-field label,
.cart-line__quantity label {
    display: block;
    margin-bottom: 0.4rem;
    color: #34413c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.cart-field input,
.cart-line__quantity input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cfd7d3;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-heading);
    font: inherit;
}

.cart-field input:focus,
.cart-line__quantity input:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(42, 148, 122, 0.16);
    outline-offset: 1px;
}

.cart-quick-add__fields .cart-field,
.cart-quick-add-zone {
    min-width: 0;
}

.cart-field--item {
    width: 200px;
    max-width: 200px;
}

.cart-field--qty input {
    width: 80px;
    max-width: 80px;
    text-align: center;
}

.cart-button-primary,
.cart-checkout-button {
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform var(--transition),
        background var(--transition);
}

.cart-button-primary {
    width: 160px;
    min-height: 46px;
    padding: 0.72rem 1.25rem;
    white-space: nowrap;
}

.cart-button-primary:hover,
.cart-checkout-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.cart-quick-add__fields .cart-button-primary {
    position: static;
    box-sizing: border-box;
    width: 124px;
    min-width: 124px;
    margin: 0;
    transform: none;
}

.cart-order {
    overflow: hidden;
}

.cart-order__top,
.cart-order__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-order__top {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-order__top h2 {
    font-size: 1.35rem;
}

.cart-order__top p {
    margin: 0.28rem 0 0;
    color: #68746f;
    font-size: 0.9rem;
}

.cart-update-link,
.cart-remove-link {
    border: 0;
    background: transparent;
    color: var(--color-primary-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-update-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.cart-table__head,
.cart-line {
    display: grid;
    grid-template-columns: 120px 230px minmax(0, 1fr) 145px;
}

.cart-table__head {
    padding: 0.78rem 1.5rem;
    background: #edf5f1;
    color: #314039;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cart-table__head > div:last-child {
    text-align: right;
}

.cart-line {
    align-items: center;
    min-height: 205px;
    padding: 1.35rem 1.5rem;
    border-top: 1px solid var(--color-border);
}

.cart-table__head + .cart-line,
.cart-table__head + .cart-line-zone .cart-line {
    border-top: 0;
}

.cart-line__quantity {
    align-self: start;
    min-width: 0;
    padding-top: 0.45rem;
    padding-right: 1.25rem;
}

.cart-line__quantity input {
    width: 78px;
    max-width: 100%;
    text-align: center;
    font-weight: 800;
}

.cart-line__quantity small {
    display: block;
    max-width: 78px;
    margin-top: 0.45rem;
    color: #7b8581;
    font-size: 0.68rem;
    line-height: 1.3;
}

.cart-line__product {
    align-self: start;
    min-width: 0;
    padding-right: 1.75rem;
}

.cart-line__item-number {
    margin: 0 0 0.55rem;
    color: #47534e;
    font-size: 0.79rem;
    letter-spacing: 0.02em;
}

.cart-line__product img {
    display: block;
    width: 142px;
    height: 142px;
    max-width: 100%;
    object-fit: cover;
    border: 1px solid #dde2df;
    border-radius: 10px;
    background: #f4f5f1;
}

.cart-line__details {
    padding-right: 1.5rem;
}

.cart-line__details h3 {
    margin: 0 0 0.8rem;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.28;
}

.cart-line__details h3 a {
    color: inherit;
    text-decoration: none;
}

.cart-line__details h3 a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-line__details dl {
    display: grid;
    gap: 0.48rem;
    margin: 0 0 0.8rem;
}

.cart-line__details dl > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.75rem;
}

.cart-line__details dt {
    color: #6b7672;
    font-size: 0.8rem;
    font-weight: 800;
}

.cart-line__details dd {
    margin: 0;
    color: #303b37;
    font-size: 0.88rem;
}

.cart-pds-code {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #e6f3ee;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-remove-link {
    padding: 0;
    color: #8a3033;
    font-size: 0.78rem;
}

.cart-line__price {
    align-self: start;
    padding-top: 0.55rem;
    text-align: right;
}

.cart-line__price strong {
    color: var(--color-heading);
    font-size: 1.14rem;
}

.cart-line__mobile-label {
    display: none;
}

.cart-order__bottom {
    padding: 1.05rem 1.5rem;
    border-top: 1px solid var(--color-border);
    background: #fbfcfa;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.cart-continue-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
    align-items: start;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cart-help,
.cart-summary {
    padding: 1.5rem;
}

.cart-help {
    min-height: 188px;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        url("images/cart-item-picks.jpg") center / cover;
}

.cart-help h2,
.cart-summary h2 {
    font-size: 1.22rem;
}

.cart-help p {
    max-width: 590px;
    margin: 0.65rem 0 0.8rem;
    color: #5d6964;
    line-height: 1.55;
}

.cart-help a {
    color: var(--color-primary-dark);
    font-weight: 850;
}

.cart-summary {
    border-top: 4px solid var(--color-primary-dark);
}

.cart-summary dl {
    margin: 1.1rem 0;
}

.cart-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.62rem 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-summary dt {
    color: #5f6b66;
}

.cart-summary dd {
    margin: 0;
    color: var(--color-heading);
    font-weight: 800;
    text-align: right;
}

.cart-summary__total {
    margin-top: 0.25rem;
    border-bottom: 0 !important;
    font-size: 1.12rem;
}

.cart-summary__total dt,
.cart-summary__total dd {
    color: var(--color-heading);
    font-weight: 900;
}

.cart-summary__note {
    margin: 0.5rem 0 1.2rem;
    color: #6b7672;
    font-size: 0.78rem;
    line-height: 1.45;
}

.cart-checkout-button {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
}

.cart-line-zone:empty,
.cart-line__errors:empty,
.cart-quick-add-zone:empty,
.cart-quick-add__message:empty,
.cart-quick-add__errors:empty {
    display: none;
}

.cart-line__errors {
    grid-column: 1 / -1;
}

.cart-line__errors .alert {
    margin: 0 0 1rem;
}

.cart-line__quantity input.form-control,
.cart-state-estimator input.form-control,
.cart-quick-add input.form-control {
    height: auto;
    margin: 0;
    box-shadow: none;
}

.cart-line__update {
    margin-top: 0.55rem;
    padding: 0;
    font-size: 0.78rem;
}

.cart-line__status {
    display: inline-flex;
    margin: 0.35rem 0.45rem 0 0;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
}

.cart-line__status--backorder {
    border: 1px solid #e4bd7e;
    background: #fff7e8;
    color: #7d4d0c;
}

.cart-line__status--freight {
    border: 1px solid #d8b7ba;
    background: #fff0f1;
    color: #7f2e33;
}

.cart-line__list-price,
.cart-line__price-note {
    display: block;
}

.cart-line__list-price {
    color: #6f7975;
    font-size: 0.88rem;
    text-decoration: line-through;
}

.cart-line__price-note {
    color: var(--color-primary-dark);
    font-size: 0.7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.cart-state-estimator {
    margin: 1rem 0 1.1rem;
    padding: 1rem;
    border: 1px solid #d9e5e0;
    border-radius: 10px;
    background: #f6faf8;
}

.cart-state-estimator__copy strong {
    display: block;
    color: var(--color-heading);
    font-size: 0.9rem;
}

.cart-state-estimator__copy p {
    margin: 0.22rem 0 0.8rem;
    color: #67736e;
    font-size: 0.78rem;
}

.cart-state-estimator__controls {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: end;
    gap: 0.65rem;
}

.cart-state-estimator__field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #34413c;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-state-estimator__input {
    box-sizing: border-box;
    width: 78px;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border: 1px solid #bdc9c4;
    border-radius: 7px;
    background: var(--color-white);
    font: inherit;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

a.cart-state-estimator__button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
}

a.cart-state-estimator__button:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

.cart-summary__pending dd {
    color: #6d7773;
    font-size: 0.82rem;
}

.cart-summary__freight-note {
    margin: 0.7rem 0 1rem;
    padding: 0.8rem 0.9rem;
    border-left: 4px solid var(--color-accent);
    background: #fff0f1;
    color: #713439;
    font-size: 0.8rem;
    line-height: 1.45;
}

.cart-quick-add__message,
.cart-quick-add__errors {
    grid-column: 1 / -1;
}

.cart-quick-add__message {
    margin: -0.2rem 0 0;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 750;
}

.cart-quick-add__errors .alert {
    margin: 0;
}

.cart-summary .cart-checkout-button,
.cart-summary .cart-checkout-button:visited {
    box-sizing: border-box;
    color: var(--color-white);
    text-decoration: none;
}

.cart-summary .cart-checkout-button:hover,
.cart-summary .cart-checkout-button:focus {
    color: var(--color-white);
    text-decoration: none;
}

.cart-summary .cart-checkout-button:focus-visible {
    outline: 3px solid rgba(42, 148, 122, 0.22);
    outline-offset: 3px;
}

/* Shared checkout progress ----------------------------------------------- */

.checkout-steps {
    display: flex;
    max-width: 560px;
    margin: 2rem 0 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.checkout-steps li {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    font-weight: 800;
}

.checkout-steps li:not(:last-child)::after {
    content: "";
    height: 2px;
    flex: 1;
    margin: 0 0.7rem;
    background: rgba(255, 255, 255, 0.25);
}

.checkout-steps span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.checkout-steps .is-current,
.checkout-steps .is-complete {
    color: var(--color-white);
}

.checkout-steps .is-current span {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.checkout-steps .is-complete span {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.18);
}

/* Checkout address -------------------------------------------------------- */

.checkout-address-hero__copy,
.checkout-payment-hero__copy {
    max-width: 760px;
}

.checkout-address-hero__copy > p:last-child,
.checkout-payment-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.checkout-address-content,
.checkout-payment-content {
    padding: 2.5rem 0 4rem;
}

.checkout-address-layout,
.checkout-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 1.6rem;
}

.checkout-address-layout::before,
.checkout-address-layout::after,
.checkout-payment-layout::before,
.checkout-payment-layout::after {
    display: none;
    content: none;
}

.checkout-address-form,
.checkout-payment-form {
    display: grid;
    min-width: 0;
    gap: 1.25rem;
}

.checkout-address-form > .alert,
.checkout-payment-form > .alert {
    margin: 0;
}

.checkout-panel {
    overflow: hidden;
    border-radius: 12px;
}

.checkout-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, var(--color-white), #fbfcfb);
}

.checkout-panel__number {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #e3f2ed;
    color: var(--color-primary-dark);
    font-weight: 900;
}

.checkout-panel__header h2 {
    margin: 0 0 0.25rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
}

.checkout-panel__header p {
    margin: 0;
    color: #64706b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkout-panel__body {
    padding: 1.5rem;
}

.checkout-fields-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 150px;
    gap: 1rem 1.15rem;
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-field--city {
    grid-column: 1;
}

.checkout-field--state {
    grid-column: 2;
}

.checkout-field--zip {
    grid-column: 3;
}

.checkout-field--wide {
    max-width: 540px;
}

.checkout-account-email {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    background: #f2f5f3;
    color: #33413b;
    font-weight: 700;
}

.checkout-check {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbe2de;
    border-radius: 9px;
    background: #fafbfa;
    cursor: pointer;
}

.checkout-check input {
    width: 20px;
    height: 20px;
    margin: 0.1rem 0 0;
    accent-color: var(--color-primary-dark);
}

.checkout-check span {
    display: grid;
    gap: 0.18rem;
}

.checkout-check strong {
    font-size: 0.94rem;
}

.checkout-check small {
    color: #66716c;
    font-size: 0.8rem;
}

.checkout-check--prominent {
    border-color: #b9d9cf;
    background: #edf7f3;
}

.checkout-address-options {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-address-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.checkout-address-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-address-option__card {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 7.5rem 1rem 3.2rem;
    border: 1px solid #d9dfdc;
    border-radius: 10px;
    background: var(--color-white);
    transition: 0.2s ease;
}

.checkout-address-option__card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1.1rem;
    width: 18px;
    height: 18px;
    border: 2px solid #a8b2ad;
    border-radius: 50%;
    transform: translateY(-50%);
}

.checkout-address-option__card strong {
    color: #22312b;
}

.checkout-address-option__card span {
    color: #5a6661;
    font-size: 0.88rem;
}

.checkout-address-option__card em {
    position: absolute;
    top: 50%;
    right: 1rem;
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 800;
    transform: translateY(-50%);
}

.checkout-address-option input:checked + .checkout-address-option__card {
    border-color: var(--color-primary);
    background: #f0f8f5;
    box-shadow: 0 0 0 2px rgba(42, 148, 122, 0.12);
}

.checkout-address-option input:checked + .checkout-address-option__card::before {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
    box-shadow: inset 0 0 0 4px var(--color-white);
}

.checkout-address-option--new .checkout-address-option__card {
    border-style: dashed;
}

.checkout-submit-bar,
.payment-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 0;
}

.checkout-back-link,
.payment-back-link {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.submit-form-buttons,
.checkout-proceed-button,
.payment-place-order {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    background-image: none;
    color: var(--color-white);
    box-shadow: 0 5px 14px rgba(182, 30, 36, 0.2);
    font: 800 1rem var(--font-body);
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
}

.submit-form-buttons:hover,
.checkout-proceed-button:hover,
.payment-place-order:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
}

.checkout-order-aside {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    display: grid;
    gap: 1rem;
}

.checkout-summary-card,
.checkout-help-card {
    padding: 1.4rem;
    border-radius: 12px;
}

.checkout-summary-card h2,
.checkout-help-card h2 {
    margin: 0 0 1rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.28rem;
}

.checkout-summary-card dl {
    display: grid;
    gap: 0.7rem;
    margin: 0;
}

.checkout-summary-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #52605a;
    font-size: 0.9rem;
}

.checkout-summary-card dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.checkout-summary-card__total {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
    color: #1b2923 !important;
    font-size: 1.05rem !important;
}

.checkout-summary-card p,
.checkout-help-card p {
    margin: 1rem 0 0;
    color: #69736f;
    font-size: 0.82rem;
    line-height: 1.55;
}

.checkout-help-card img {
    width: 42px;
    height: 42px;
    margin-bottom: 0.75rem;
}

.checkout-help-card a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* Checkout payment -------------------------------------------------------- */

.checkout-payment-form .payment-field input {
    margin: 0;
    background-image: none;
    box-shadow: none;
}

.payment-panel,
.payment-address-card,
.payment-summary-card,
.payment-help-card {
    overflow: hidden;
    border-radius: 12px;
}

.payment-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: #fbfcfb;
}

.payment-panel__number {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-weight: 800;
}

.payment-panel__header h2 {
    margin: 0;
    color: #154f43;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.22rem;
}

.payment-panel__header p {
    margin: 0.3rem 0 0;
    color: #617069;
    font-size: 0.9rem;
    line-height: 1.5;
}

.payment-panel__body {
    padding: 1.5rem;
}

.payment-totals {
    margin: 0;
}

.payment-totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e5e9e6;
}

.payment-totals dt {
    color: #56645e;
}

.payment-totals dd {
    margin: 0;
    font-weight: 750;
}

.payment-totals__total {
    padding-top: 1rem !important;
    border-bottom: 0 !important;
    color: #154f43;
    font-size: 1.22rem;
}

.payment-totals__total dd {
    font-size: 1.35rem;
}

.payment-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px 90px;
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.4rem;
}

.payment-field {
    display: grid;
    gap: 0.4rem;
}

.payment-field label {
    color: #33463e;
    font-size: 0.88rem;
    font-weight: 750;
}

.payment-field input {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0.75rem 0.85rem;
    border: 1px solid #bdc9c2;
    border-radius: 8px;
    background: var(--color-white);
    color: #25372f;
    font: inherit;
    line-height: 1.2;
}

.payment-field input:focus {
    border-color: var(--color-primary-dark);
    outline: 3px solid rgba(29, 110, 92, 0.16);
}

.payment-field--month {
    width: 70px;
}

.payment-field--year {
    width: 90px;
}

.payment-field--month input {
    padding-left: 0.65rem;
    padding-right: 0.5rem;
    font-size: 1rem;
}

.payment-field--year input {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 1rem;
}

.payment-field--month label,
.payment-field--year label {
    white-space: nowrap;
}

.payment-field small {
    color: #69766f;
    font-size: 0.78rem;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 9px;
    background: #eef7f4;
    color: #355047;
    font-size: 0.87rem;
    line-height: 1.45;
}

.payment-security img {
    width: 34px;
    height: 34px;
}

.payment-submit-bar {
    padding: 0.25rem 0;
}

.payment-submit-bar .submit-form-buttons {
    margin: 0;
}

.payment-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.payment-address-card {
    padding: 1.35rem 1.5rem;
}

.payment-address-card h2 {
    margin: 0 0 0.85rem;
    color: #154f43;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.08rem;
}

.payment-address-card address {
    color: #475a51;
    font-style: normal;
    line-height: 1.65;
}

.payment-address-card__label {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #eaf5f1;
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kelco-address-label {
    display: grid;
    gap: 0.18rem;
    margin: 0;
    color: #475a51;
    font-style: normal;
    line-height: 1.55;
}

.kelco-address-label__line:empty {
    display: none;
}

.kelco-address-label__name {
    margin-bottom: 0.15rem;
    color: var(--color-heading);
    font-weight: 800;
}

.kelco-address-label--same {
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    background: #edf7f3;
    color: var(--color-primary-dark);
    font-weight: 800;
}

.payment-aside {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1.25rem;
}

.payment-summary-card,
.payment-help-card {
    padding: 1.35rem;
}

.payment-summary-card h2,
.payment-help-card h2 {
    margin: 0 0 0.75rem;
    color: #154f43;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.1rem;
}

.payment-summary-card p,
.payment-help-card p {
    margin: 0.65rem 0;
    color: #5d6d65;
    font-size: 0.88rem;
    line-height: 1.55;
}

.payment-summary-card strong {
    display: block;
    color: #154f43;
    font-size: 1.55rem;
}

.payment-help-card a {
    display: inline-block;
    margin: 0.25rem 0.8rem 0 0;
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* Reusable sign-in/sign-up component ------------------------------------- */

.kelco-signin-component {
    width: 100%;
    color: var(--color-text);
}

.kelco-signin-component__form {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.kelco-signin-component__notice {
    padding: 0.8rem 0.9rem;
    border: 1px solid #e6b8ba;
    border-radius: 8px;
    background: #fbefef;
    color: var(--color-accent-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.kelco-signin-component__field {
    min-width: 0;
}

.kelco-signin-component__label {
    display: block;
    margin: 0 0 0.42rem;
    color: #33413b;
    font-size: 0.84rem;
    font-weight: 800;
}

.kelco-signin-component__input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0.72rem 0.85rem;
    border: 1px solid #c7d1cc;
    border-radius: 8px;
    background: var(--color-white);
    background-image: none;
    color: var(--color-text);
    box-shadow: none;
    font: inherit;
}

.kelco-signin-component__input:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(42, 148, 122, 0.16);
    outline-offset: 1px;
}

.kelco-signin-component__errors:empty {
    display: none;
}

.kelco-signin-component__errors .alert,
.kelco-signin-component__errors .help-block {
    margin: 0;
}

.kelco-signin-component__actions {
    display: flex;
    justify-content: flex-end;
}

.kelco-signin-component__button {
    min-width: 140px;
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    background-image: none;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(182, 30, 36, 0.2);
    text-shadow: none;
    cursor: pointer;
    font: 800 0.95rem var(--font-body);
}

.kelco-signin-component__button:hover,
.kelco-signin-component__button:focus {
    background: var(--color-accent-dark);
    color: var(--color-white);
}

.kelco-signin-component__forgot {
    margin-top: 1rem;
    text-align: right;
}

/* Cart / checkout responsive --------------------------------------------- */

@media (max-width: 1000px) {
    .checkout-address-layout {
        grid-template-columns: 1fr;
    }

    .checkout-order-aside {
        position: static;
        grid-row: 1;
        grid-template-columns: 1fr 1fr;
    }

    .checkout-address-form {
        grid-row: 2;
    }
}

@media (max-width: 940px) {
    .cart-quick-add {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .cart-quick-add__fields {
        grid-template-columns: minmax(0, 1fr) 96px 170px;
        gap: 1rem;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .cart-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .cart-field--item,
    .cart-field--qty,
    .cart-button-primary {
        width: 100%;
        max-width: none;
    }

    .cart-table__head {
        display: none;
    }

    .cart-line {
        grid-template-columns: 96px 170px minmax(0, 1fr) 100px;
        column-gap: 1rem;
        padding-inline: 1rem;
    }

    .cart-line__quantity {
        padding-right: 1rem;
    }

    .cart-line__product img {
        width: 118px;
        height: 118px;
    }

    .cart-checkout-grid,
    .checkout-payment-layout {
        grid-template-columns: 1fr;
    }

    .payment-aside {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    /* Shopping cart: restore the roomier phone/tablet layout used before
       the site-wide refactor. */
    .cart-heading__inner {
        padding-top: 1.15rem;
        padding-bottom: 2rem;
    }

    .cart-content {
        padding-top: 1.25rem;
    }

    .cart-quick-add,
    .cart-order,
    .cart-help,
    .cart-summary {
        border-radius: 10px;
    }

    .cart-quick-add {
        padding: 1.15rem;
    }

    .cart-quick-add__fields {
        grid-template-columns: minmax(0, 1fr) 94px;
        gap: 0.75rem;
        width: 100%;
        margin-left: 0;
    }

    .cart-button-primary {
        grid-column: 1 / -1;
        width: 100%;
    }

    .cart-order__top {
        align-items: flex-start;
        padding: 1.1rem;
    }

    .cart-order__top .cart-update-link {
        display: none;
    }

    .cart-field--item,
    .cart-field--qty {
        min-width: 0;
    }

    .cart-field--item input,
    .cart-field--qty input {
        box-sizing: border-box;
        width: 100%;
    }

    .cart-line {
        grid-template-columns: 86px 118px minmax(0, 1fr);
        gap: 0.75rem 1rem;
        min-height: 0;
        padding: 1.1rem;
    }

    .cart-line__quantity {
        grid-column: 1;
        grid-row: 1;
        width: 86px;
        padding: 0;
    }

    .cart-line__quantity input {
        box-sizing: border-box;
        width: 78px;
        max-width: 78px;
    }

    .cart-line__quantity small {
        width: 78px;
        max-width: 78px;
    }

    .cart-line__product {
        grid-column: 2;
        grid-row: 1;
        width: 118px;
        padding: 0;
    }

    .cart-line__product img {
        width: 104px;
        height: 104px;
        max-width: 104px;
    }

    .cart-line__details {
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
        padding: 0;
    }

    .cart-line__details h3 {
        font-size: 1rem;
    }

    .cart-line__details dl > div {
        gap: 0.1rem;
    }

    .cart-line__price {
        grid-column: 2 / -1;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.35rem 0.7rem;
        padding: 0.75rem 0 0;
        border-top: 1px dashed #d9dfdc;
        text-align: left;
    }

    .cart-line__list-price,
    .cart-line__price-note {
        display: inline;
    }

    .cart-line__mobile-label {
        display: inline;
        color: #6b7672;
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .cart-order__bottom {
        padding: 1rem 1.1rem;
    }

    .cart-update-link--bottom {
        font-size: 0.85rem;
    }

    .checkout-address-page .container,
    .checkout-payment-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .checkout-address-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2.15rem;
    }

    .checkout-payment-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .checkout-address-content {
        padding: 1.25rem 0 2.8rem;
    }

    .checkout-payment-content {
        padding-top: 1.5rem;
    }

    .checkout-steps {
        max-width: none;
    }

    .checkout-steps li {
        font-size: 0.72rem;
    }

    .checkout-payment-hero .checkout-steps li {
        font-size: 0;
    }

    .checkout-payment-hero .checkout-steps li span {
        font-size: 0.82rem;
    }

    .checkout-steps li:not(:last-child)::after {
        margin: 0 0.35rem;
    }

    .checkout-panel__header,
    .checkout-panel__body,
    .payment-panel__header,
    .payment-panel__body,
    .payment-address-card {
        padding: 1.1rem;
    }

    .checkout-fields-grid {
        grid-template-columns: minmax(0, 1fr) 78px 120px;
        gap: 0.85rem;
    }

    .checkout-address-option__card {
        padding-right: 1rem;
    }

    .checkout-address-option__card em {
        position: static;
        margin-top: 0.2rem;
        transform: none;
    }

    .checkout-submit-bar,
    .payment-submit-bar {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .checkout-proceed-button,
    .payment-place-order,
    .payment-submit-bar .submit-form-buttons {
        width: 100%;
    }

    .checkout-back-link,
    .payment-back-link {
        padding: 0.6rem;
        text-align: center;
    }

    .checkout-order-aside,
    .payment-addresses,
    .payment-aside {
        grid-template-columns: 1fr;
    }

    .payment-fields {
        grid-template-columns: 70px 90px minmax(0, 1fr);
        justify-content: start;
        column-gap: 1rem;
        row-gap: 0.75rem;
    }

    .payment-field--card {
        grid-column: 1 / -1;
    }

    .payment-field--month {
        grid-column: 1;
        width: 70px;
        justify-self: start;
    }

    .payment-field--year {
        grid-column: 2;
        width: 90px;
        justify-self: start;
    }

    .kelco-signin-component__actions {
        display: block;
    }

    .kelco-signin-component__button {
        width: 100%;
    }

    .kelco-signin-component__forgot {
        text-align: center;
    }

}

@media (max-width: 470px) {
    .cart-page .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .cart-quick-add__fields {
        grid-template-columns: minmax(0, 1fr) 86px;
    }

    .cart-line {
        grid-template-columns: 86px minmax(0, 1fr);
        column-gap: 1rem;
    }

    .cart-line__quantity {
        grid-column: 1;
        grid-row: 1;
    }

    .cart-line__product {
        grid-column: 2;
        grid-row: 1;
        width: auto;
    }

    .cart-line__details {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 0.35rem;
    }

    .cart-line__price {
        grid-column: 1 / -1;
        grid-row: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 1.5rem;
        row-gap: 0.25rem;
        align-items: end;
        padding-top: 0.9rem;
        border-top: 1px dashed #d9dfdc;
        text-align: left;
    }

    .cart-line__mobile-label {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .cart-line__list-price {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .cart-line__price-note {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
    }

    .cart-line__price > strong {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .cart-line__price-note + strong {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        text-align: right;
    }

    .cart-order__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-state-estimator__controls {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-state-estimator__input {
        width: 72px;
    }
}

@media (max-width: 430px) {
    .checkout-fields-grid {
        grid-template-columns: minmax(0, 1fr) 72px;
    }

    .checkout-field--city {
        grid-column: 1 / -1;
    }

    .checkout-field--state {
        grid-column: 1;
    }

    .checkout-field--zip {
        grid-column: 2;
    }

    .checkout-steps li {
        gap: 0.3rem;
    }

    .checkout-steps span {
        width: 27px;
        height: 27px;
    }

    .checkout-address-option__card {
        padding-left: 3rem;
    }
}

/* ============================================================================
   07. ACCOUNT AND ORDER PAGES
   ============================================================================ */

/* --------------------------------------------------------------------------
   Account sign-in and forgot-password pages
   -------------------------------------------------------------------------- */

.account-login-hero__copy {
    max-width: 760px;
}

.account-login-hero__copy > p:last-child {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.account-login-content {
    padding: 3rem 0 4.5rem;
}

.account-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.6rem;
    align-items: start;
    max-width: 1050px;
    margin-inline: auto;
}

.account-login-card,
.account-new-customer-card,
.account-help-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.account-login-card {
    overflow: hidden;
}

.account-login-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.45rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.account-login-card__icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: #e3f2ed;
    color: var(--color-primary-dark);
    font-size: 0.72rem;
}

.account-login-card h2,
.account-new-customer-card h2,
.account-help-card h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
}

.account-login-card__header p {
    margin: 0.3rem 0 0;
    color: #64706b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.account-login-form {
    display: grid;
    gap: 1.15rem;
    padding: 1.6rem;
}

.account-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.2rem;
}

.account-forgot-link,
.account-help-card a,
.account-shop-link {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.account-forgot-link:hover,
.account-help-card a:hover,
.account-shop-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-login-aside {
    display: grid;
    gap: 1rem;
}

.account-new-customer-card,
.account-help-card {
    padding: 1.5rem;
}

.account-new-customer-card {
    border-top: 4px solid var(--color-primary-dark);
}

.account-card__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-new-customer-card p:not(.account-card__eyebrow),
.account-help-card p {
    margin: 0.75rem 0 0;
    color: #5f6b66;
    font-size: 0.92rem;
    line-height: 1.6;
}

.account-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.account-help-card a {
    display: block;
    margin-top: 0.65rem;
}

/* --------------------------------------------------------------------------
   Shared customer-account sidebar
   -------------------------------------------------------------------------- */

.account-sidebar {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    display: grid;
    gap: 1rem;
}

.account-sidebar__customer,
.account-sidebar__help {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.account-sidebar__customer {
    padding: 1.35rem;
    border-top: 4px solid var(--color-primary-dark);
}

.account-sidebar__label {
    color: #68736e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.account-sidebar__customer h2,
.account-sidebar__customer .kelco-address-label__name {
    margin: 0.45rem 0 0.75rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
}

.account-sidebar__customer address {
    color: #4f5c56;
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.6;
}

.account-sidebar__help {
    padding: 1.25rem;
    background: linear-gradient(145deg, #ffffff, #f3f8f6);
}

.account-sidebar__help h2 {
    margin: 0 0 0.55rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.08rem;
}

.account-sidebar__help p {
    margin: 0 0 0.65rem;
    color: #63706a;
    font-size: 0.84rem;
    line-height: 1.5;
}

.account-sidebar__help a {
    display: block;
    margin-top: 0.35rem;
    color: var(--color-primary-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Signed-in account overview
   -------------------------------------------------------------------------- */

.account-info-hero__copy {
    max-width: 760px;
}

.account-info-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.account-info-content {
    padding: 2.5rem 0 4.5rem;
}

.account-info-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 1.6rem;
    align-items: start;
}

.account-actions {
    display: grid;
    gap: 1rem;
}

.account-action-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.account-action-card:hover {
    transform: translateY(-2px);
    border-color: #bfd7ce;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 11px 28px rgba(24, 64, 53, 0.1);
}

.account-action-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #e4f3ee;
    color: var(--color-primary-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

.account-action-card__content {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.account-action-card__content strong {
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
}

.account-action-card__content small {
    color: #65716c;
    font-size: 0.84rem;
    line-height: 1.4;
}

.account-action-card__arrow {
    color: var(--color-primary-dark);
    font-size: 1.5rem;
    font-weight: 800;
}

.account-action-card--logout .account-action-card__icon {
    background: #f8e9e9;
    color: var(--color-accent-dark);
}

.account-action-card--logout .account-action-card__arrow {
    color: var(--color-accent-dark);
}

/* --------------------------------------------------------------------------
   Change password
   -------------------------------------------------------------------------- */

.change-password-hero__copy {
    max-width: 760px;
}

.change-password-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.change-password-content {
    padding: 2.5rem 0 4.5rem;
}

.change-password-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.change-password-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.change-password-heading {
    padding: 1.45rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.change-password-heading__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.change-password-heading h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.55rem;
}

.change-password-heading p:last-child {
    margin: 0.35rem 0 0;
    color: #68736e;
    font-size: 0.88rem;
}

.change-password-form__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    padding: 1.6rem;
}

.change-password-form__body .change-password-field {
    width: 100%;
    max-width: 620px;
}

.change-password-field label {
    display: block;
    margin-bottom: 0.42rem;
    color: #33413b;
    font-size: 0.82rem;
    font-weight: 800;
}

.change-password-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cfd7d3;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
}

.change-password-field input[readonly] {
    background: #f4f6f5;
    color: #68736e;
}

.change-password-field input:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(42, 148, 122, 0.16);
    outline-offset: 1px;
    box-shadow: none;
}

.change-password-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    border-top: 1px solid var(--color-border);
    background: #fbfcfb;
}

.change-password-cancel-link {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.change-password-cancel-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.change-password-submit {
    min-height: 46px;
    padding: 0.72rem 1.3rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.change-password-submit:hover {
    background: var(--color-accent-dark);
}

.change-password-note {
    margin: 0;
    padding: 0 1.6rem 1.5rem;
    color: #6a7570;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Order history
   -------------------------------------------------------------------------- */

.order-history-hero__copy {
    max-width: 760px;
}

.order-history-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.order-history-content {
    padding: 2.5rem 0 4.5rem;
}

.order-history-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.order-history-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.order-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem 1.6rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.order-history-heading__eyebrow {
    margin: 0 0 0.3rem;
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.order-history-heading h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.55rem;
}

.order-history-heading p:last-child {
    margin: 0.35rem 0 0;
    color: #68736e;
    font-size: 0.88rem;
}

.order-history-shop-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid #bfd1ca;
    border-radius: 8px;
    color: var(--color-primary-dark);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.order-history-shop-link:hover {
    background: #edf7f3;
    text-decoration: none;
}

.order-history-table-wrap {
    overflow-x: auto;
}

.order-history-table {
    width: 100%;
    border-collapse: collapse;
}

.order-history-table th,
.order-history-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: middle;
}

.order-history-table th {
    background: #edf5f1;
    color: #35443e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-history-table tbody tr:hover {
    background: #fbfdfc;
}

.order-number {
    color: var(--color-primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.order-number:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    background: #f2f4f3;
    color: #59655f;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.order-status::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}

.order-status--shipped {
    background: #e7f4ef;
    color: #26734f;
}

.order-status--pending {
    background: #fff7e8;
    color: #8a5a17;
}

.order-action {
    text-align: right !important;
}

.order-action a {
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.order-action a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-history-note {
    margin: 0;
    padding: 1.1rem 1.4rem;
    color: #68736e;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Order confirmation
   -------------------------------------------------------------------------- */

.order-confirmation-hero__copy {
    max-width: 760px;
}

.order-confirmation-hero__copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.order-confirmation-content {
    padding: 3rem 0 4.5rem;
}

.order-confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.6rem;
    align-items: start;
}

.order-confirmation-card,
.order-confirmation-help {
    border-radius: 14px;
}

.order-confirmation-card {
    padding: 3.25rem 3rem;
    text-align: center;
}

.order-confirmation-card__icon {
    display: grid;
    width: 94px;
    height: 94px;
    margin: 0 auto 1.4rem;
    place-items: center;
    border-radius: 50%;
    background: #e7f5f0;
    box-shadow: inset 0 0 0 1px #c9e5db;
}

.order-confirmation-card__icon img {
    display: block;
    width: 56px;
    height: 56px;
}

.order-confirmation-card__kicker {
    margin: 0 0 0.45rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-confirmation-card h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.order-confirmation-card__message {
    max-width: 680px;
    margin: 1.2rem auto 0;
    color: #596760;
    font-size: 1.02rem;
    line-height: 1.7;
}

.order-confirmation-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.order-confirmation-primary,
.order-confirmation-secondary {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.45rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 850;
    text-decoration: none;
    transition: var(--transition);
}

.order-confirmation-primary {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 0 var(--color-accent-dark);
}

.order-confirmation-primary:hover {
    background: var(--color-accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.order-confirmation-secondary {
    border: 1px solid #b9c9c2;
    background: #ffffff;
    color: var(--color-primary-dark);
}

.order-confirmation-secondary:hover {
    border-color: var(--color-primary-dark);
    background: #edf7f3;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.order-confirmation-card__status-note {
    margin: 1.8rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    color: #64706b;
    font-size: 0.9rem;
}

.order-confirmation-card__status-note a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.order-confirmation-help {
    padding: 1.5rem;
    border-top: 4px solid var(--color-primary-dark);
}

.order-confirmation-help h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.3rem;
}

.order-confirmation-help p {
    margin: 0.75rem 0 1rem;
    color: #64706b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.order-confirmation-help > a {
    display: block;
    margin-top: 0.55rem;
    color: var(--color-primary-dark);
    font-weight: 800;
}

.order-confirmation-help address {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
    color: #52605a;
    font-size: 0.88rem;
    font-style: normal;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Order inquiry and package tracking
   -------------------------------------------------------------------------- */

.order-inquiry-hero__copy {
    max-width: 760px;
}

.order-inquiry-hero__copy > p:last-child {
    max-width: 730px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.order-inquiry-content {
    padding: 2.4rem 0 4.5rem;
}

.order-inquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.6rem;
    align-items: start;
}

.order-inquiry-main {
    display: grid;
    min-width: 0;
    gap: 1.25rem;
}

.order-inquiry-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-inquiry-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.order-inquiry-back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-inquiry-print {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid #bfcac5;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-primary-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.order-status-card,
.order-address-card,
.order-items-card,
.order-totals-card,
.order-help-card {
    border-radius: 12px;
}

.order-status-card {
    overflow: hidden;
}

.order-status-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.order-status-card__label {
    margin: 0 0 0.25rem;
    color: #68746f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-status-card h2,
.order-address-card h2,
.order-items-card h2,
.order-totals-card h2,
.order-help-card h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
}

.order-status-card h2 {
    font-size: 1.45rem;
}

.order-status-card__header p:last-child {
    margin: 0.35rem 0 0;
    color: #68746f;
    font-size: 0.9rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #e7f4ef;
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.order-tracking summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.order-tracking summary::-webkit-details-marker {
    display: none;
}

.order-tracking summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.35rem;
    line-height: 1;
}

.order-tracking[open] summary::after {
    content: "−";
}

.order-tracking__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #e7f4ef;
}

.order-tracking__body {
    padding: 0 1.5rem 1.35rem 3.75rem;
    color: #5d6964;
    font-size: 0.9rem;
    line-height: 1.55;
}

.order-tracking__body p {
    margin: 0.25rem 0 0;
}

.order-tracking__status {
    color: #33413b;
    font-weight: 800;
}

.package-tracking {
    margin-top: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #ffffff;
}

.package-tracking__details {
    margin: 0;
}

.package-tracking__row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-width: 0;
    border-top: 1px solid var(--color-border);
}

.package-tracking__row:first-child {
    border-top: 0;
}

.package-tracking__row dt,
.package-tracking__row dd {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0.7rem 0.85rem;
}

.package-tracking__row dt {
    background: #f5f8f6;
    color: #66716c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.package-tracking__row dd {
    color: #34413b;
    overflow-wrap: anywhere;
}

.package-tracking__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: #e7f4ef;
    color: #26734f;
    font-weight: 900;
    line-height: 1.25;
}

.package-tracking__status::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}

.package-tracking--error {
    border-color: #e5bfc1;
    background: #fff8f8;
}

.package-tracking__message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.package-tracking__message-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: #f4dddd;
    color: var(--color-accent-dark);
    font-weight: 900;
}

.package-tracking__message strong {
    display: block;
    color: var(--color-accent-dark);
}

.package-tracking__message p {
    margin: 0.2rem 0 0;
    color: #6b4446;
}

.order-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.order-address-card {
    position: relative;
    padding: 1.45rem;
}

.order-address-card__label {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: #6b7772;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-address-card h2 {
    font-size: 1.22rem;
}

.order-address-card address {
    margin-top: 0.8rem;
    color: #48554f;
    font-style: normal;
    line-height: 1.65;
}

.order-items-card {
    overflow: hidden;
}

.order-items-card__header {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.order-items-card__header h2 {
    font-size: 1.35rem;
}

.order-items-card__header p {
    margin: 0.25rem 0 0;
    color: #68746f;
    font-size: 0.88rem;
}

.order-items-table__head,
.order-item {
    display: grid;
    grid-template-columns: 58px 105px minmax(220px, 1fr) 62px 105px 105px;
    gap: 0.8rem;
    align-items: center;
}

.order-items-table__head {
    padding: 0.8rem 1.25rem;
    background: #edf5f1;
    color: #314039;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.order-item {
    padding: 1.2rem 1.25rem;
    border-top: 1px solid var(--color-border);
    color: #3f4c46;
    font-size: 0.88rem;
}

.order-items-table__head + .order-item {
    border-top: 0;
}

.order-item__quantity,
.order-item__number,
.order-item__pds {
    font-weight: 800;
}

.order-item__description a {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.order-item__description a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-item__description p {
    margin: 0.3rem 0 0;
    color: #6a7671;
    line-height: 1.4;
}

.order-pds-code {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #e6f3ee;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.order-item__price,
.order-item__your-price {
    text-align: right;
}

.order-item__your-price strong {
    color: var(--color-heading);
    font-size: 1rem;
}

.order-item__mobile-label {
    display: none;
}

.order-inquiry-aside {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    display: grid;
    gap: 1rem;
}

.order-totals-card,
.order-help-card {
    padding: 1.4rem;
}

.order-totals-card {
    border-top: 4px solid var(--color-primary-dark);
}

.order-totals-card h2,
.order-help-card h2 {
    font-size: 1.25rem;
}

.order-totals-card dl {
    margin: 1rem 0 0;
}

.order-totals-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.66rem 0;
    border-bottom: 1px solid var(--color-border);
}

.order-totals-card dt {
    color: #5f6b66;
    font-weight: 500;
}

.order-totals-card__total dt {
    font-weight: 700;
}

.order-totals-card dd {
    margin: 0;
    color: var(--color-heading);
    font-weight: 800;
    text-align: right;
}

.order-totals-card__total {
    margin-top: 0.3rem;
    padding-top: 0.95rem !important;
    border-bottom: 0 !important;
    color: var(--color-heading);
    font-size: 1.12rem;
    font-weight: 900;
}

.order-totals-card__total dd {
    color: var(--color-primary-dark);
    font-size: 1.3rem;
}

.order-help-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 0.85rem;
    place-items: center;
    border-radius: 50%;
    background: #e7f4ef;
    color: var(--color-primary-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

.order-help-card p {
    margin: 0.7rem 0 0;
    color: #65716c;
    font-size: 0.88rem;
    line-height: 1.55;
}

.order-help-card a {
    display: block;
    margin-top: 0.75rem;
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Account and order responsive rules
   -------------------------------------------------------------------------- */

@media (max-width: 1050px) {
    .order-inquiry-layout {
        grid-template-columns: 1fr;
    }

    .order-inquiry-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-row: 1;
    }

    .order-inquiry-main {
        grid-row: 2;
    }

    .order-items-table__head,
    .order-item {
        grid-template-columns: 50px 90px minmax(180px, 1fr) 54px 92px 92px;
        gap: 0.65rem;
    }
}

@media (max-width: 950px) {
    .change-password-layout,
    .order-history-layout {
        grid-template-columns: 1fr;
    }

    .change-password-page .account-sidebar,
    .order-history-page .account-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .account-login-layout,
    .account-info-layout,
    .order-confirmation-layout {
        grid-template-columns: 1fr;
    }

    .account-login-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-action-card {
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: start;
    }

    .account-action-card__arrow {
        display: none;
    }

    .order-confirmation-help {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 2rem;
    }

    .order-confirmation-help h2,
    .order-confirmation-help p,
    .order-confirmation-help address {
        grid-column: 1;
    }

    .order-confirmation-help > a {
        grid-column: 2;
    }

    .order-confirmation-help > a:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .catalog-panel {
        padding: 0;
    }
}

@media (max-width: 760px) {
    .order-inquiry-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .order-inquiry-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2.2rem;
    }

    .order-inquiry-content {
        padding: 1.35rem 0 3rem;
    }

    .order-inquiry-aside,
    .order-addresses {
        grid-template-columns: 1fr;
    }

    .order-items-table__head {
        display: none;
    }

    .order-item {
        grid-template-columns: 72px minmax(0, 1fr) 105px;
        gap: 0.75rem;
        align-items: start;
    }

    .order-item__quantity {
        grid-column: 1;
        grid-row: 1;
    }

    .order-item__number {
        grid-column: 2;
        grid-row: 1;
    }

    .order-item__pds {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
    }

    .order-item__description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .order-item__price,
    .order-item__your-price {
        padding-top: 0.75rem;
        border-top: 1px dashed #d9dfdc;
        text-align: left;
    }

    .order-item__price {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .order-item__your-price {
        grid-column: 3;
        grid-row: 3;
        text-align: right;
    }

    .order-item__mobile-label {
        display: block;
        margin-bottom: 0.3rem;
        color: #74807b;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}

@media (max-width: 680px) {
    .account-login-page .container,
    .account-info-page .container,
    .order-history-page .container,
    .order-confirmation-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    /* Change Password intentionally uses a slightly wider phone card. */
    .change-password-page .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .account-login-hero__inner,
    .account-info-hero__inner,
    .change-password-hero__inner,
    .order-history-hero__inner,
    .order-confirmation-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2.15rem;
    }

    .account-login-content {
        padding: 1.5rem 0 3rem;
    }

    .account-info-content,
    .change-password-content,
    .order-history-content {
        padding: 1.25rem 0 3rem;
    }

    .order-confirmation-content {
        padding: 1.4rem 0 3rem;
    }

    .account-login-aside,
    .change-password-page .account-sidebar,
    .order-history-page .account-sidebar,
    .account-actions {
        grid-template-columns: 1fr;
    }

    .account-login-card__header,
    .account-login-form,
    .account-new-customer-card,
    .account-help-card {
        padding: 1.2rem;
    }

    .account-login-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-action-card {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        align-items: center;
    }

    .account-action-card__arrow {
        display: inline;
    }

    .change-password-heading,
    .change-password-form__body,
    .change-password-actions {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .change-password-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .change-password-submit {
        width: 100%;
    }

    .change-password-cancel-link {
        text-align: center;
    }

    .change-password-note {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .order-history-heading {
        align-items: stretch;
        flex-direction: column;
        padding: 1.2rem;
    }

    .order-history-shop-link {
        width: 100%;
        box-sizing: border-box;
    }

    .order-history-table thead {
        display: none;
    }

    .order-history-table,
    .order-history-table tbody,
    .order-history-table tr,
    .order-history-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* Keep the phone order rows compact: spacing belongs between fields,
       not as vertical padding on every table cell. */
    .order-history-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 1rem;
        padding: 1.1rem 1.2rem;
        border-top: 1px solid var(--color-border);
    }

    .order-history-table tbody tr:first-child {
        border-top: 0;
    }

    .order-history-table td {
        display: grid;
        grid-template-columns: 72px 1fr;
        align-items: center;
        padding: 0;
        border: 0;
    }

    .order-history-table td::before {
        content: attr(data-label);
        color: #707b76;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .order-history-table .order-action {
        grid-column: 1 / -1;
        text-align: left !important;
    }

    .order-history-table .order-action a {
        display: flex;
        justify-content: center;
        padding: 0.75rem;
        border-radius: 8px;
        background: #edf6f2;
    }

    .order-history-note {
        padding: 1rem;
    }

    .order-confirmation-card {
        padding: 2.25rem 1.25rem;
    }

    .order-confirmation-card__icon {
        width: 82px;
        height: 82px;
    }

    .order-confirmation-card__actions {
        display: grid;
    }

    .order-confirmation-primary,
    .order-confirmation-secondary {
        box-sizing: border-box;
        width: 100%;
    }

    .order-confirmation-help {
        display: block;
    }

    .order-confirmation-help > a:first-of-type {
        margin-top: 0.55rem;
    }
}

@media (max-width: 480px) {
    .order-inquiry-page .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .order-inquiry-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .order-inquiry-print {
        width: 100%;
    }

    .order-status-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-tracking__body {
        padding-left: 1.5rem;
    }

    .package-tracking__row {
        grid-template-columns: 102px minmax(0, 1fr);
    }

    .package-tracking__row dt,
    .package-tracking__row dd {
        padding: 0.65rem 0.7rem;
    }

    .order-item {
        grid-template-columns: 60px minmax(0, 1fr) 65px;
    }
}

@media (max-width: 430px) {
    .order-history-table tr {
        grid-template-columns: 1fr;
    }

    .order-history-table .order-action {
        grid-column: auto;
    }
}

/* ============================================================================
   08. RESOURCES AND CONTACT PAGES
   ============================================================================ */

/* --------------------------------------------------------------------------
   Events calendar
   -------------------------------------------------------------------------- */

.events-calendar-hero__copy {
    max-width: 780px;
}

.events-calendar-hero__copy > p:last-child {
    max-width: 730px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.events-calendar-content {
    padding: 2.6rem 0 4.5rem;
}

.events-calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 1.6rem;
    align-items: start;
}

.events-calendar-main {
    min-width: 0;
}

.events-calendar-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
}

.events-calendar-intro h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.events-calendar-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid #bad8cf;
    border-radius: 999px;
    background: #edf7f3;
    color: #36554b;
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

.events-calendar-legend__mark {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.events-month-list {
    display: grid;
    gap: 1.35rem;
}

.events-month {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.events-month__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #f7faf8);
}

.events-month__header h3 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
}

.events-month__items {
    display: grid;
}

.event-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    min-height: 130px;
    padding: 1.15rem 1.25rem;
    border-top: 1px solid #e8ece9;
}

.event-card:first-child {
    border-top: 0;
}

.event-card__date {
    display: grid;
    align-content: center;
    min-height: 88px;
    overflow: hidden;
    border: 1px solid #c9dbd5;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(24, 64, 53, 0.06);
}

.event-card__month {
    display: block;
    padding: 0.36rem;
    background: var(--color-primary-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-card__date strong {
    display: block;
    padding: 0.72rem 0.25rem;
    color: #1d3029;
    font-size: 1.35rem;
    line-height: 1;
}

.event-card__details {
    min-width: 0;
}

.event-card__details h4 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.35;
}

.event-card__location {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.55rem 0 0;
    color: #5e6a65;
    font-size: 0.92rem;
    line-height: 1.45;
}

.event-card__location span {
    color: var(--color-primary-dark);
    font-weight: 900;
}

.event-card__attendance,
.event-card__status {
    width: fit-content;
    margin: 0 0 0.42rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.event-card__attendance {
    background: #fff1f1;
    color: var(--color-accent-dark);
}

.event-card__attendance span {
    font-size: 1rem;
    line-height: 0;
}

.event-card__status {
    background: #e8f4ef;
    color: var(--color-primary-dark);
}

.event-card--kelco {
    box-shadow: inset 4px 0 0 var(--color-accent);
}

.event-card--featured {
    background: linear-gradient(90deg, #f3faf7, #ffffff 55%);
    box-shadow: inset 4px 0 0 var(--color-primary);
}

.events-month--past {
    opacity: 0.78;
}

.events-calendar-aside {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    display: grid;
    gap: 1rem;
}

.events-info-card,
.events-contact-card {
    padding: 1.4rem;
    border-radius: 12px;
}

.events-info-card {
    border-top: 4px solid var(--color-primary-dark);
}

.events-info-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    place-items: center;
    border-radius: 50%;
    background: #e4f3ee;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

.events-info-card h2,
.events-contact-card h2 {
    margin: 0 0 0.65rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.25rem;
}

.events-info-card p,
.events-contact-card p {
    margin: 0;
    color: #65716c;
    font-size: 0.9rem;
    line-height: 1.55;
}

.events-contact-card a {
    display: inline-block;
    margin: 0.85rem 1rem 0 0;
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   How-to videos
   -------------------------------------------------------------------------- */

.how-to-videos-hero__copy {
    max-width: 780px;
}

.how-to-videos-hero__copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.how-to-videos-content {
    padding: 3rem 0 4.5rem;
}

.video-library-header {
    margin-bottom: 1.75rem;
}

.video-library-header > div {
    max-width: 760px;
}

.video-library-header__eyebrow,
.how-to-video-card__category {
    margin: 0 0 0.45rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.video-library-header h2 {
    margin: 0 0 0.5rem;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 2rem;
}

.video-library-header p:last-child {
    margin: 0;
    color: #5f6c66;
    line-height: 1.6;
}

.how-to-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.how-to-video-card {
    display: grid;
    grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-panel);
}

.how-to-video-card__embed {
    min-width: 0;
    height: 385px;
    overflow: hidden;
    background: #102d25;
}

.how-to-video-card__embed object,
.how-to-video-card__embed embed {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}

.how-to-video-card__embed object {
    max-width: none;
}

.how-to-video-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.1rem;
}

.how-to-video-card h3 {
    margin: 0 0 0.7rem;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.7rem;
    line-height: 1.28;
}

.how-to-video-card__body > p:not(.how-to-video-card__category) {
    margin: 0;
    color: #596660;
    line-height: 1.65;
}

.how-to-video-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.how-to-video-card__watch,
.how-to-video-card__manual {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
}

.how-to-video-card__watch {
    background: var(--color-accent);
    color: #ffffff;
}

.how-to-video-card__watch:hover {
    background: var(--color-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

.how-to-video-card__manual {
    border: 1px solid #bfd1ca;
    color: var(--color-primary-dark);
}

.how-to-video-card__manual:hover {
    background: #edf7f3;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.how-to-videos-help {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid #bad5cc;
    border-radius: 12px;
    background: #edf7f3;
}

.how-to-videos-help__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
}

.how-to-videos-help h2 {
    margin: 0 0 0.25rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.2rem;
}

.how-to-videos-help p {
    margin: 0;
    color: #53615b;
    line-height: 1.5;
}

.how-to-videos-help__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

.how-to-videos-help__actions a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Product manuals
   -------------------------------------------------------------------------- */

.product-manuals-hero__copy {
    max-width: 790px;
}

.product-manuals-hero__copy > p:last-child {
    max-width: 730px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.product-manuals-content {
    padding: 3.5rem 0 4.5rem;
}

.manual-directory-header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.manual-directory-header__eyebrow,
.manual-group__eyebrow,
.manual-help__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.manual-directory-header h2 {
    margin: 0 0 0.7rem;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.manual-directory-header > p:last-child {
    margin: 0;
    color: #5e6a65;
    font-size: 1rem;
    line-height: 1.65;
}

.manual-group {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(29, 70, 57, 0.06);
    scroll-margin-top: calc(var(--topbar-height) + var(--header-height) + 1.5rem);
}

.manual-group__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--color-border);
}

.manual-group__header h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.55rem;
}

.manual-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.manual-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: 1.05rem 1.15rem;
    border: 1px solid #dce3df;
    border-radius: 10px;
    background: #fbfcfb;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.manual-card:hover {
    transform: translateY(-2px);
    border-color: #bfd7ce;
    box-shadow: 0 8px 20px rgba(29, 70, 57, 0.08);
}

.manual-card__item {
    margin: 0 0 0.28rem;
    color: #6c7772;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.manual-card h3 {
    margin: 0 0 0.35rem;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.3;
}

.manual-card__copy > p:last-child {
    margin: 0;
    color: #64706b;
    font-size: 0.85rem;
    line-height: 1.45;
}

.manual-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--color-primary-dark);
    border-radius: 7px;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.manual-card__link:hover {
    background: var(--color-primary-dark);
    color: #ffffff;
    text-decoration: none;
}

.manual-help {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #cfe0d9;
    border-radius: 14px;
    background: linear-gradient(100deg, #ffffff, #edf6f2);
}

.manual-help h2 {
    margin: 0 0 0.35rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.35rem;
}

.manual-help p:last-child {
    margin: 0;
    color: #5d6964;
    line-height: 1.55;
}

.manual-help__actions {
    display: flex;
    gap: 0.65rem;
}

.manual-help__actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 7px;
    background: var(--color-primary-dark);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.manual-help__actions a:last-child {
    background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Catalog download
   -------------------------------------------------------------------------- */

.catalog-download-hero__copy {
    max-width: 820px;
}

.catalog-download-hero__copy > p:last-child {
    max-width: 760px;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.catalog-download-content {
    padding: 3rem 0 4.5rem;
}

.catalog-download-layout {
    display: grid;
    grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.catalog-download-cover {
    position: relative;
    margin: 0;
    padding: 1.4rem;
    text-align: center;
}

.catalog-download-cover::before {
    content: "";
    position: absolute;
    right: 10%;
    bottom: 0.4rem;
    left: 10%;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(22, 56, 47, 0.2);
    filter: blur(18px);
}

.catalog-download-cover img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 330px);
    height: auto;
    margin-inline: auto;
    border-radius: 3px;
    transform: rotate(-3deg);
    box-shadow: 0 22px 42px rgba(22, 56, 47, 0.22);
}

.catalog-download-panel {
    padding: clamp(1.6rem, 4vw, 2.5rem);
    border: 1px solid var(--color-border);
    border-top: 5px solid var(--color-primary-dark);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 10px 32px rgba(24, 64, 53, 0.08);
}

.catalog-download-panel__kicker {
    margin: 0 0 0.4rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.catalog-download-panel h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.18;
}

.catalog-download-panel__intro {
    margin: 0.85rem 0 1.35rem;
    color: #56645e;
    font-size: 1.02rem;
    line-height: 1.65;
}

.catalog-download-details {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}

.catalog-download-details li {
    position: relative;
    padding-left: 1.85rem;
    line-height: 1.5;
}

.catalog-download-details li::before {
    content: "✓";
    position: absolute;
    top: 0.05rem;
    left: 0;
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: #e4f3ee;
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 900;
}

.catalog-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.catalog-download-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.45rem;
    border-radius: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 0 var(--color-accent-dark);
    font-weight: 800;
    text-decoration: none;
    transition:
        transform var(--transition),
        background var(--transition);
}

.catalog-download-button::before {
    content: "↓";
    font-size: 1.2rem;
}

.catalog-download-button:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    text-decoration: none;
}

.catalog-download-secondary-link {
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-download-note {
    margin: 1.3rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    background: #edf6f2;
    color: #52615b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.catalog-download-help {
    padding: 0 0 4rem;
}

.catalog-download-help__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.7rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
}

.catalog-download-help h2 {
    margin: 0 0 0.35rem;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.45rem;
}

.catalog-download-help p {
    margin: 0;
    color: #5f6b66;
    line-height: 1.55;
}

.catalog-download-help__links {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.catalog-download-help__links a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-hero__copy {
    max-width: 760px;
}

.contact-hero__copy > p:last-child {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.65;
}

.contact-content {
    padding: 2.5rem 0 4.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.6rem;
    align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-help-card {
    overflow: hidden;
    border-radius: 12px;
}

.contact-form-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.contact-form-card__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #e3f2ed;
    color: var(--color-primary-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.contact-form-card__header h2,
.contact-info-card h2,
.contact-help-card h2 {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: "Merriweather", Georgia, serif;
}

.contact-form-card__header h2 {
    font-size: 1.35rem;
}

.contact-form-card__header p {
    margin: 0.3rem 0 0;
    color: #64706b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form-card__body {
    padding: 1.5rem;
}

.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
}

.contact-field {
    min-width: 0;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 0.42rem;
    color: #33413b;
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0.72rem 0.85rem;
    border: 1px solid #cfd7d2;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.contact-field input,
.contact-field select {
    min-height: 48px;
}

.contact-field textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.5;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--color-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(42, 148, 122, 0.16);
}

.contact-notice {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #cfe2da;
    border-radius: 9px;
    background: #eef7f3;
}

.contact-notice > span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-notice p {
    margin: 0;
    color: #43514b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-notice--warning {
    border-color: #e7d4b4;
    background: #fff8eb;
}

.contact-notice--warning > span {
    background: #9a691f;
}

.contact-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    border: 0;
    border-radius: 8px;
    background: var(--color-accent);
    box-shadow: 0 5px 14px rgba(182, 30, 36, 0.2);
    color: #ffffff;
    cursor: pointer;
    font: 800 1rem var(--font-body);
}

.contact-submit-button:hover {
    background: var(--color-accent-dark);
}

.contact-aside {
    position: sticky;
    top: calc(var(--topbar-height) + var(--header-height) + 1.25rem);
    display: grid;
    gap: 1rem;
}

.contact-info-card,
.contact-help-card {
    padding: 1.4rem;
}

.contact-info-card__eyebrow {
    margin: 0 0 0.35rem;
    color: #6c7873;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-info-card h2,
.contact-help-card h2 {
    font-size: 1.28rem;
}

.contact-info-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
    font-style: normal;
}

.contact-info-list > div {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.contact-info-list__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf6f2;
    color: var(--color-primary-dark);
}

.contact-info-list p {
    margin: 0;
    color: #56635d;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-info-list strong {
    display: block;
    margin-bottom: 0.18rem;
    color: #25352e;
}

.contact-info-list a,
.contact-help-card a {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.contact-help-card {
    border-top: 4px solid var(--color-primary-dark);
}

.contact-help-card p {
    margin: 0.65rem 0 0;
    color: #64706b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-help-card a {
    display: inline-block;
    margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   Resource and contact responsive rules
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
    .events-calendar-layout {
        grid-template-columns: 1fr;
    }

    .events-calendar-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-row: 1;
    }

    .events-calendar-main {
        grid-row: 2;
    }

    .how-to-video-card__embed {
        height: 304px;
    }

    .how-to-video-card {
        grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
    }

    .how-to-video-card__body {
        padding: 1.6rem;
    }

    .how-to-video-card h3 {
        font-size: 1.45rem;
    }

    .how-to-videos-help {
        grid-template-columns: auto 1fr;
    }

    .how-to-videos-help__actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .manual-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-row: 2;
    }

    .contact-form-card {
        grid-row: 1;
    }
}

@media (max-width: 820px) {
    .catalog-download-layout {
        grid-template-columns: 1fr;
    }

    .catalog-download-cover img {
        width: min(72vw, 300px);
    }

    .catalog-download-help__inner {
        grid-template-columns: 1fr;
    }

    .catalog-download-help__links {
        white-space: normal;
    }
}

@media (max-width: 760px) {
    .how-to-video-card__embed {
        height: auto;
        aspect-ratio: 480 / 385;
    }

    .how-to-video-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .events-calendar-page .container,
    .how-to-videos-page .container,
    .product-manuals-page .container,
    .contact-page .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .events-calendar-hero__inner,
    .how-to-videos-hero__inner,
    .product-manuals-hero__inner,
    .contact-hero__inner {
        padding-top: 1.25rem;
        padding-bottom: 2.2rem;
    }

    .events-calendar-content,
    .contact-content {
        padding: 1.4rem 0 3rem;
    }

    .events-calendar-aside,
    .contact-fields,
    .contact-aside {
        grid-template-columns: 1fr;
    }

    .events-calendar-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
    }

    .event-card {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 0.9rem;
        min-height: 112px;
        padding: 1rem;
    }

    .event-card__date {
        min-height: 78px;
    }

    .event-card__date strong {
        font-size: 1.1rem;
    }

    .event-card__details h4 {
        font-size: 1rem;
    }

    .event-card__location {
        font-size: 0.84rem;
    }

    .how-to-videos-content,
    .product-manuals-content {
        padding: 2rem 0 3rem;
    }

    .video-library-header h2 {
        font-size: 1.65rem;
    }

    .how-to-video-card__body {
        padding: 1.35rem 1.45rem 1.5rem;
    }

    .how-to-video-card h3 {
        font-size: 1.35rem;
    }

    .how-to-videos-help {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .how-to-videos-help__actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .manual-group {
        padding: 1rem;
        border-radius: 11px;
    }

    .manual-group__header h2 {
        font-size: 1.25rem;
    }

    .manual-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .manual-card__link {
        width: 100%;
        box-sizing: border-box;
    }

    .manual-help {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .manual-help__actions {
        flex-direction: column;
    }

    .contact-form-card__header,
    .contact-form-card__body {
        padding: 1.1rem;
    }

    .contact-submit-row {
        justify-content: stretch;
    }

    .contact-submit-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .catalog-download-page .container {
        width: min(calc(100% - 1.5rem), var(--container-width));
    }

    .catalog-download-hero__inner {
        padding-top: 1.2rem;
        padding-bottom: 2.2rem;
    }

    .catalog-download-content {
        padding-top: 1.8rem;
        padding-bottom: 3rem;
    }

    .catalog-download-cover {
        padding-top: 0;
    }

    .catalog-download-panel {
        padding: 1.3rem;
        border-radius: 10px;
    }

    .catalog-download-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-download-button {
        width: 100%;
        box-sizing: border-box;
    }

    .catalog-download-secondary-link {
        padding: 0.6rem;
        text-align: center;
    }

    .catalog-download-help {
        padding-bottom: 2.75rem;
    }

    .catalog-download-help__inner {
        padding: 1.35rem;
    }

    .catalog-download-help__links {
        flex-direction: column;
        gap: 0.65rem;
    }
}

@media (max-width: 420px) {
    .events-calendar-page .container {
        width: min(calc(100% - 1.25rem), var(--container-width));
    }

    .events-calendar-legend {
        white-space: normal;
    }

    .events-month__header,
    .event-card {
        padding-inline: 0.85rem;
    }
}

/* ============================================================================
   09. ERROR LAYOUT AND BROWSER WARNING
   ============================================================================ */

.error-layout-body {
    display: flex;
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
    background: var(--color-off-white);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.55;
}

.error-layout-body *,
.error-layout-body *::before,
.error-layout-body *::after {
    box-sizing: border-box;
}

.error-page {
    display: grid;
    flex: 0 0 auto;
    padding: clamp(2rem, 4vw, 5rem) 1rem;
    place-items: center;
}

.error-topbar-contact a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.error-topbar-message {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.error-card {
    width: min(760px, 100%);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--color-border);
    border-top: 5px solid var(--color-primary-dark);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 12px 34px rgba(24, 64, 53, 0.08);
}

.error-card__status {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 50%;
    background: #fbecee;
    color: var(--color-accent-dark);
    font-size: 1.35rem;
    font-weight: 900;
}

.error-card__eyebrow {
    margin: 0 0 0.4rem;
    color: var(--color-primary-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.error-card h1 {
    margin: 0;
    color: var(--color-heading);
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
}

.error-card__intro {
    max-width: 650px;
    margin: 0.9rem 0 0;
    color: #56635d;
    font-size: 1rem;
    line-height: 1.65;
}

.error-details {
    margin-top: 1.6rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--color-border);
}

.error-details h2 {
    margin: 0 0 0.65rem;
    color: #37433e;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Explicitly neutralize Bootstrap's default pre styling on the error page. */
.error-message {
    max-height: 300px;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    border: 1px solid #e3d4d5;
    border-radius: 8px;
    background: #fbf7f7;
    color: #4a3334;
    font: 0.88rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.browser-compatibility-warning {
    position: relative;
    z-index: 10000;
    padding: 12px 20px;
    border-bottom: 1px solid #e5c15a;
    background: #fff3cd;
    color: #533f03;
    font-size: 15px;
    line-height: 1.5;
}

.browser-compatibility-warning__inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

.browser-compatibility-warning strong {
    margin-right: 4px;
    font-weight: 700;
}

@media (max-width: 1000px) {
    .error-page {
        padding: 2rem 0.75rem 3rem;
        place-items: start center;
    }

    .error-topbar-message {
        display: none;
    }

    .error-card {
        padding: 1.35rem;
        border-radius: 10px;
    }

    .error-message {
        max-height: 240px;
        font-size: 0.82rem;
    }
}

/* ============================================================================
   10. PRINT STYLES
   ============================================================================ */

.order-print-header {
    display: none;
}

@page {
    size: auto;
    margin: 0.5in;
}

@media print {
    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 10pt;
        line-height: 1.35;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    body {
        overflow: visible !important;
    }

    .site-header,
    .site-footer,
    .mobile-navigation,
    .mobile-nav-overlay,
    .header-search-panel,
    .order-inquiry-hero,
    .order-inquiry-toolbar,
    .order-help-card {
        display: none !important;
    }

    .order-inquiry-page,
    .order-inquiry-content {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #ffffff !important;
        color: #000000 !important;
    }

    .order-inquiry-page .container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .order-inquiry-layout {
        display: block;
        width: 100%;
    }

    .order-print-header + .order-inquiry-main,
    .order-inquiry-main {
        display: block;
        width: 100%;
    }

    .order-status-card,
    .order-address-card,
    .order-items-card,
    .order-totals-card {
        border: 1px solid #777777;
        border-radius: 0;
        background: #ffffff !important;
        box-shadow: none;
    }

    .order-status-card {
        margin: 0 0 12pt;
        overflow: visible;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .order-status-card__header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12pt;
        padding: 10pt 12pt;
        border-bottom: 1px solid #999999;
        background: #ffffff !important;
    }

    .order-status-card__label {
        margin-bottom: 2pt;
        color: #333333 !important;
        font-size: 8pt;
    }

    .order-status-card h2 {
        color: #000000 !important;
        font-size: 16pt;
    }

    .order-status-card__header p:last-child {
        margin-top: 3pt;
        color: #333333 !important;
        font-size: 9pt;
    }

    .order-status-badge {
        min-height: 0;
        padding: 4pt 8pt;
        border: 1px solid #777777;
        border-radius: 0;
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 9pt;
    }

    .order-tracking {
        display: block;
    }

    .order-tracking summary {
        display: flex;
        padding: 8pt 12pt 4pt;
        color: #000000 !important;
        cursor: default;
    }

    .order-tracking summary::after,
    .order-tracking__icon {
        display: none;
    }

    .order-tracking__body {
        display: block !important;
        padding: 0 12pt 9pt;
        color: #222222 !important;
        font-size: 9pt;
    }

    .order-tracking__body p {
        color: #222222 !important;
    }

    .package-tracking {
        border-color: #999999;
        border-radius: 0;
    }

    .package-tracking__row dt {
        background: #f3f3f3 !important;
        color: #222222 !important;
    }

    .package-tracking__row dd,
    .package-tracking__status {
        color: #000000 !important;
    }

    .package-tracking__status {
        padding: 0;
        background: transparent !important;
    }

    .package-tracking__status::before {
        display: none;
    }

    .order-addresses {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10pt;
        margin-bottom: 12pt;
    }

    .order-address-card {
        padding: 10pt 12pt;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .order-address-card__label {
        margin-bottom: 4pt;
        color: #333333 !important;
        font-size: 8pt;
    }

    .order-address-card h2 {
        color: #000000 !important;
        font-size: 12pt;
    }

    .order-address-card address {
        margin-top: 5pt;
        color: #000000 !important;
        line-height: 1.4;
    }

    .order-items-card {
        margin-bottom: 12pt;
        overflow: visible;
    }

    .order-items-card__header {
        padding: 9pt 12pt;
        border-bottom: 1px solid #777777;
    }

    .order-items-card__header h2 {
        color: #000000 !important;
        font-size: 13pt;
    }

    .order-items-card__header p {
        margin-top: 2pt;
        color: #333333 !important;
        font-size: 8pt;
    }

    .order-items-table {
        display: table;
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .order-items-table__head {
        display: table-row-group;
        background: #eeeeee !important;
        color: #000000 !important;
        font-size: 7.5pt;
    }

    .order-items-table__head > div {
        display: table-cell;
        padding: 6pt;
        border-bottom: 1px solid #777777;
        text-align: left;
        vertical-align: bottom;
    }

    .order-items-table__head > div:nth-child(1) {
        width: 7%;
    }

    .order-items-table__head > div:nth-child(2) {
        width: 14%;
    }

    .order-items-table__head > div:nth-child(3) {
        width: 39%;
    }

    .order-items-table__head > div:nth-child(4) {
        width: 7%;
    }

    .order-items-table__head > div:nth-child(5),
    .order-items-table__head > div:nth-child(6) {
        width: 16.5%;
        text-align: right;
    }

    .order-item {
        display: table-row;
        color: #000000 !important;
        font-size: 8.5pt;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .order-item > div {
        display: table-cell;
        padding: 7pt 6pt;
        border-top: 1px solid #bbbbbb;
        vertical-align: top;
    }

    .order-items-table__head + .order-item > div {
        border-top: 0;
    }

    .order-item__quantity,
    .order-item__number,
    .order-item__pds {
        font-weight: 700;
    }

    .order-item__description a {
        color: #000000 !important;
        font-weight: 700;
        text-decoration: none;
    }

    .order-item__description p {
        margin-top: 2pt;
        color: #333333 !important;
        font-size: 8pt;
        line-height: 1.3;
    }

    .order-item__price,
    .order-item__your-price {
        padding-top: 7pt;
        border-top: 1px solid #bbbbbb;
        text-align: right;
    }

    .order-item__your-price strong {
        color: #000000 !important;
        font-size: 8.5pt;
    }

    .order-item__mobile-label {
        display: none !important;
    }

    .order-pds-code {
        display: inline;
        width: auto;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: transparent !important;
        color: #000000 !important;
        font-size: inherit;
    }

    .order-inquiry-aside {
        position: static;
        display: block;
        width: 100%;
        margin: 0;
    }

    .order-totals-card {
        box-sizing: border-box;
        width: 270pt;
        margin: 0 0 0 auto;
        padding: 10pt 12pt 8pt;
        border: 0 !important;
        border-top: 2px solid #000000 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .order-totals-card h2 {
        margin: 0;
        color: #000000 !important;
        font-size: 12pt;
    }

    .order-totals-card dl {
        margin: 6pt 0 0;
    }

    .order-totals-card dl > div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 18pt;
        margin: 0;
        padding: 4pt 0;
        border-bottom: 1px solid #bbbbbb;
    }

    .order-totals-card dt,
    .order-totals-card dd {
        margin: 0;
        padding: 0;
        color: #000000 !important;
    }

    .order-totals-card dd {
        min-width: 72pt;
        margin-left: auto;
        text-align: right;
        font-weight: 700;
        white-space: nowrap;
    }

    .order-totals-card__total {
        padding-top: 6pt !important;
        border-bottom: 0 !important;
        font-size: 11pt;
    }

    .order-totals-card__total dd {
        color: #000000 !important;
        font-size: 12pt;
        font-weight: 800;
    }

    a,
    a:visited {
        color: #000000 !important;
    }

    a[href]::after {
        content: none !important;
    }

    h1,
    h2,
    h3,
    p,
    address,
    dt,
    dd {
        orphans: 3;
        widows: 3;
    }

    h1,
    h2,
    h3 {
        break-after: avoid;
        page-break-after: avoid;
    }

    .order-print-header {
        display: flex;
        width: 100%;
        margin: 0 0 16pt;
        padding: 0 0 12pt;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24pt;
        border-bottom: 2px solid #1d6e5c;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .order-print-header__brand {
        display: flex;
        align-items: center;
    }

    .order-print-header__logo {
        display: block;
        width: 150pt;
        max-width: 2.1in;
        height: auto;
    }

    .order-print-header__details {
        flex: 0 0 auto;
        text-align: right;
    }

    .order-print-header__details p {
        margin: 0;
        color: #000000 !important;
        font-size: 9pt;
        line-height: 1.4;
    }

    .order-print-header__details .order-print-header__title {
        margin-bottom: 2pt;
        color: #1d6e5c !important;
        font-size: 14pt;
        font-weight: 800;
    }
}

