/* Route-scoped presentation formerly embedded in storefront view markup. */
.page-home .storefront-no-gutter {
    padding: 0;
}

.page-home .home-full-banner-section {
    padding-right: 20px;
    padding-left: 20px;
}

body.shell-scroll-locked {
    overflow: hidden;
}

.app-mobile-footer {
    display: none;
}

.app-nav-social {
    margin: 0 0 18px;
    padding: 0 14px;
}

.app-nav-drawer .nav-info-group .app-nav-social {
    margin: 2px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #cee3d5;
}

.app-nav-social > strong {
    display: block;
    margin-bottom: 10px;
    color: #294536;
    font-size: 12px;
    font-weight: 800;
}

.app-nav-social-links,
.app-mobile-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-nav-social-links a,
.app-mobile-footer-social-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #cee3d5;
    border-radius: 14px;
    background: #eef7f1;
    color: #1c6b49;
    font-size: 19px;
    text-decoration: none;
}

.app-nav-social-links a:focus-visible,
.app-mobile-footer-social-links a:focus-visible {
    outline: 2px solid #16643f;
    outline-offset: 2px;
}

.cart-empty-state,
.cart-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 34px 22px;
    text-align: center;
}

.cart-sidebar .cart-empty-state {
    flex: 1 1 auto;
    min-height: 0;
}

.cart-sidebar .cart-list[hidden] {
    display: none;
}

.cart-empty-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 24px;
    background: #e9f5ec;
    color: #1c704d;
    font-size: 38px;
}

.cart-empty-state h2,
.cart-page-empty h2 {
    margin: 0;
    color: #193c2b;
    font-size: 20px;
    font-weight: 800;
}

.cart-empty-state p,
.cart-page-empty p {
    max-width: 270px;
    margin: 0;
    color: #5f7166;
    font-size: 13px;
    line-height: 1.5;
}

.cart-empty-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #176b4d;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cart-empty-shop:hover,
.cart-empty-shop:focus-visible {
    background: #10533b;
    color: #fff;
}

.cart-page-empty[hidden],
.cart-page-summary[hidden],
.checkout-part .table-scroll[hidden],
.checkout-part .cart-progress[hidden] {
    display: none !important;
}

@media (max-width: 991.98px) {
    .header-top.header-top-has-offers {
        display: block !important;
        padding: 5px 0 !important;
    }

    .header-top-has-offers .header-offer-ticker {
        min-height: 26px;
    }

    .app-mobile-footer {
        display: block;
        padding: 22px 0 18px;
        border-top: 1px solid #dfeae2;
        background: #fff;
    }

    .app-mobile-footer-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 20px;
    }

    .app-mobile-footer-brand img {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .app-mobile-footer-brand strong,
    .app-mobile-footer-brand small {
        display: block;
    }

    .app-mobile-footer-brand strong {
        color: #183b29;
        font-size: 15px;
        line-height: 1.25;
    }

    .app-mobile-footer-brand small {
        margin-top: 2px;
        color: #637568;
        font-size: 11px;
    }

    .app-mobile-footer-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .app-mobile-footer-links a {
        display: grid;
        min-height: 44px;
        place-items: center;
        border: 1px solid #e0ebe3;
        border-radius: 11px;
        background: #f7faf8;
        color: #335440;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }

    .app-mobile-footer-social {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 20px;
    }

    .app-mobile-footer-social > span {
        color: #52685a;
        font-size: 12px;
        font-weight: 700;
    }

    .app-mobile-footer-copy {
        margin: 20px 0 0;
        padding-top: 14px;
        border-top: 1px solid #e7eee9;
        color: #748178;
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .header-top-has-offers .header-offer-flash {
        display: none;
    }
}

/* Product collection count and ecommerce sorting toolbar. */
.page-product .shop-part .top-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-color: #dbe8df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 59, 43, .06);
}

.page-product .catalog-sort-filter {
    width: auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.page-product .top-filter .filter-label {
    display: block;
    margin: 0;
    color: #29483a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.page-product .catalog-sort-control {
    position: relative;
    width: 190px;
}

.page-product .catalog-sort-control > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 13px;
    color: #2d7a57;
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.page-product .top-filter .catalog-sort-control .form-control {
    width: 100%;
    height: 40px;
    min-height: 40px;
    margin: 0;
    border: 1px solid #cfe0d5;
    border-radius: 12px;
    background-color: #f8fbf9;
    color: #173b2b;
    font-size: 13px;
    line-height: normal;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.page-product .top-filter .catalog-sort-control .form-control {
    padding: 0 32px 0 36px !important;
    cursor: pointer;
}

.page-product .top-filter .form-control:focus {
    border-color: #2d7a57;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45, 122, 87, .13);
}

.page-product .catalog-toolbar-status {
    display: inline-flex;
    min-height: 40px;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: #3f594c;
    font-size: 12px;
    white-space: nowrap;
}

.page-product .catalog-toolbar-status strong {
    color: #1e6a48;
    font-size: 14px;
}

.page-product .top-filter.is-loading {
    cursor: progress;
}

.page-product .top-filter.is-loading .catalog-toolbar-status {
    opacity: .65;
}

.catalog-filter-error {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #efc7c7;
    border-radius: 10px;
    background: #fff4f4;
    color: #8a2525;
    font-size: 13px;
}

@media (max-width: 767px) {
    .page-product .shop-part .top-filter {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 10px !important;
        padding: 11px 12px !important;
        align-items: center !important;
    }

    .page-product .shop-part .top-filter .filter-label {
        display: block !important;
        margin: 0 !important;
        font-size: 10px !important;
    }

    .page-product .catalog-sort-filter {
        gap: 6px;
    }

    .page-product .catalog-sort-control {
        width: min(172px, 44vw);
    }

    .page-product .top-filter .catalog-sort-control .form-control {
        height: 42px !important;
        min-height: 42px !important;
        font-size: 12px !important;
        line-height: normal !important;
    }

    .page-product .catalog-toolbar-status {
        min-height: 42px;
        padding: 0 6px;
        font-size: 11px;
    }
}

.header-nav-icon {
    margin-right: 6px;
}

.header-subnav-icon {
    width: 14px;
    margin-right: 8px;
    font-size: 12px;
    text-align: center;
}

.menu-icon-color-default { color: var(--sh-color-accent) !important; }
.menu-icon-color-00796b { color: #00796b !important; }
.menu-icon-color-00897b { color: #00897b !important; }
.menu-icon-color-0288d1 { color: #0288d1 !important; }
.menu-icon-color-2e7d32 { color: #2e7d32 !important; }
.menu-icon-color-37474f { color: #37474f !important; }
.menu-icon-color-388e3c { color: #388e3c !important; }
.menu-icon-color-43a047 { color: #43a047 !important; }
.menu-icon-color-546e7a { color: #546e7a !important; }
.menu-icon-color-558b2f { color: #558b2f !important; }
.menu-icon-color-6d4c41 { color: #6d4c41 !important; }
.menu-icon-color-795548 { color: #795548 !important; }
.menu-icon-color-8d6e63 { color: #8d6e63 !important; }
.menu-icon-color-8e24aa { color: #8e24aa !important; }
.menu-icon-color-d84315 { color: #d84315 !important; }
.menu-icon-color-e53935 { color: #e53935 !important; }
.menu-icon-color-e65100 { color: #e65100 !important; }
.menu-icon-color-e91e63 { color: #e91e63 !important; }
.menu-icon-color-ef6c00 { color: #ef6c00 !important; }
.menu-icon-color-f44336 { color: #f44336 !important; }
.menu-icon-color-fb8c00 { color: #fb8c00 !important; }
.menu-icon-color-fbc02d { color: #fbc02d !important; }
.menu-icon-color-ff8f00 { color: #ff8f00 !important; }

.app-nav-drawer .app-nav-category-list.is-expanded {
    display: block;
}

.mobile-nav-badge.is-empty {
    display: none !important;
}

.page-home .home-product-grid {
    padding: 16px 0;
}

.page-home .home-category-scroll {
    padding: 16px 0;
}

.page-home .home-product-grid-bottom {
    padding-bottom: 16px;
}

.page-home .home-wide-gutters {
    padding-right: 2rem;
    padding-left: 2rem;
}

.page-home .home-promo-slider {
    position: relative;
}

.page-home .home-promo-card {
    margin: 0 10px;
}

.page-home .home-promo-link {
    text-decoration: none;
}

.page-home .home-promo-cta-dark {
    background: #2b3d36;
    color: #fff;
}

.page-home .home-trust-banner {
    padding: 24px 16px;
}

.route-product-grid {
    padding: 16px 0;
}

.route-product-grid-bottom {
    padding-bottom: 16px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.cart-subtotal-label {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.cart-subtotal .cart-subtotal-value {
    color: var(--sh-color-primary);
    font-size: 18px;
    font-weight: 700;
}

.page-detail .details-tabs-heading {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 0;
}

.page-detail .details-tab-link {
    font-size: 18px;
    font-weight: 600;
}

.page-detail .review-login-prompt {
    margin-top: 20px;
    padding: 50px 20px;
    border: 1px dashed #c1d6b0;
    border-radius: 12px;
    background: #fcfdfa;
    text-align: center;
}

.page-detail .review-login-prompt__icon {
    margin-bottom: 15px;
    color: #76a746;
    font-size: 50px;
}

.page-detail .review-login-prompt__title {
    margin-bottom: 12px;
    color: #333;
    font-size: 26px;
    font-weight: 700;
    text-transform: none;
}

.page-detail .review-login-prompt__copy {
    max-width: 500px;
    margin-right: auto;
    margin-bottom: 25px;
    margin-left: auto;
    color: #666;
    font-size: 16px;
}

.page-detail .review-login-prompt__action {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

/* Legacy storefront views: static declarations moved out of templates. */
.page-about .legacy-about-team-box {
    height: 322px;
}

.legacy-content-action-end {
    float: right;
}

.page-blog .legacy-blog-fade-media {
    border-radius: 1rem !important;
    -webkit-mask-image: linear-gradient(rgb(0, 14, 1) 10%, rgb(0, 15, 9) 80%, transparent 100%);
    mask-image: linear-gradient(rgb(0, 14, 1) 10%, rgb(0, 15, 9) 80%, transparent 100%);
}

.page-contact .legacy-contact-map {
    border: 0;
}

.account-deactivate-spacer {
    margin-top: 12% !important;
}

.account-deactivate-submit {
    float: right;
}

/* Legacy password recovery view. The active /forgot route uses forgotpass.php. */
.legacy-forgot-page .login-form {
    width: 340px;
    margin: 50px auto;
}

.legacy-forgot-page .login-form form {
    margin-bottom: 15px;
    padding: 30px;
    background: #f7f7f7;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
}

.legacy-forgot-page .login-form h2 {
    margin: 0 0 15px;
}

.legacy-forgot-page .form-control,
.legacy-forgot-page .btn,
.legacy-forgot-modal .form-control,
.legacy-forgot-modal .btn {
    min-height: 38px;
    border-radius: 2px;
}

.legacy-forgot-page .input-group-addon .fa {
    font-size: 18px;
}

.legacy-forgot-page .btn,
.legacy-forgot-modal .btn {
    font-size: 15px;
    font-weight: 700;
}

.legacy-forgot-input {
    width: 95%;
}

.legacy-modal-top {
    z-index: 9999;
}

/* Legacy subscription/payment modal. */
.subscription-modal-dialog--desktop {
    max-width: 35% !important;
}

.subscription-modal-dialog--mobile {
    max-width: 90% !important;
}

.subscription-modal-close {
    float: right;
}

.subscription-modal-body {
    padding: 2rem !important;
}

.subscription-plan-summary {
    display: flex;
    justify-content: space-between;
    padding: 1rem !important;
    border-radius: .375rem;
    background-color: rgba(255, 255, 255, 1);
}

.subscription-payment-logo {
    width: 125px;
    height: 32px;
    background: url('../images/ez.jpg') no-repeat center;
    background-size: contain;
}

.subscription-status-message {
    color: #da3035 !important;
}

.cart-progress {
    display: grid;
    gap: 10px;
    margin: 12px 0 18px;
}

.cart-sidebar .cart-progress {
    margin: 0;
    padding: 12px 16px;
    background: #f7fbf7;
}

.cart-progress-item {
    padding: 12px 14px;
    border: 1px solid #d7e9dc;
    border-radius: 12px;
    background: #f8fcf8;
    color: #164b36;
}

.cart-progress-item[hidden] {
    display: none !important;
}

.cart-progress-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.cart-progress-heading i {
    color: #219653;
}

.cart-progress-item progress {
    display: block;
    width: 100%;
    height: 6px;
    margin: 9px 0 5px;
    border: 0;
    border-radius: 20px;
    accent-color: #1d8754;
}

.cart-progress-item progress::-webkit-progress-bar {
    border-radius: 20px;
    background: #dfebe2;
}

.cart-progress-item progress::-webkit-progress-value {
    border-radius: 20px;
    background: #1d8754;
}

.cart-progress-detail {
    display: block;
    color: #557366;
    font-size: 11px;
    line-height: 1.4;
}

/* Keep the cart actions visible even when progress and product rows grow. */
.cart-sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.cart-sidebar .cart-header,
.cart-sidebar .cart-progress,
.cart-sidebar .cart-footer {
    flex: 0 0 auto;
}

/* The drawer clips overflow so its close control must sit inside the header. */
.cart-sidebar .cart-close {
    left: 12px;
}

.cart-sidebar .cart-list {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-y: auto;
}

.cart-sidebar .cart-footer {
    margin-top: auto;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: #fff;
}

.cart-sidebar .cart-progress {
    padding: 9px 14px;
}

.cart-sidebar .cart-progress-item {
    padding: 9px 11px;
}

.cart-sidebar .cart-item-title {
    font-size: 14px;
    line-height: 1.3;
}

.cart-sidebar .cart-unit-line,
.cart-sidebar .cart-info p {
    font-size: 12px;
}

.cart-sidebar .cart-line-total {
    font-size: 16px !important;
}

.search-results-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.search-results-eyebrow {
    color: #268657;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.search-results-intro h2 {
    margin: 5px 0 3px;
    color: #183c2d;
    font-size: clamp(23px, 3vw, 34px);
}

.search-results-intro p {
    margin: 0;
    color: #61786c;
}

.search-results-count {
    flex-shrink: 0;
    color: #446856;
    font-size: 13px;
}

.search-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.search-refine-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 480px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #dcebe1;
    border-radius: 10px;
    background: #fff;
    color: #278755;
}

.search-refine-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #183c2d;
}

@media (max-width: 600px) {
    .search-results-intro { align-items: start; flex-direction: column; }
    .search-filter-bar { align-items: stretch; flex-direction: column; }
    .search-refine-field { max-width: none; }
}
