/* ============================================================
   CART PAGE - HERO BANNER
   Matches the About page page-level treatment with cart-specific
   body class scoping.
   ============================================================ */
body.cart-page .top-wrap {
    padding: 8px 10px;
    position: relative;
    top: 0;
    z-index: 4;
    background: #89a8c4;
}

body.cart-page .ftco-navbar-light {
    position: relative;
    top: 0;
    background: white !important;
}

body.cart-page .topper .text .con span {
    color: white;
}

body.cart-page .topper .text .con span:first-child {
    color: white;
}

body.cart-page .topper .ftco-social li a {
    color: #fff;
}

body.cart-page .topper .ftco-social li a:hover:after {
    background: #88A7C3;
}

body.cart-page .ftco-navbar-light .navbar-nav>.nav-item>.nav-link:hover,
body.cart-page .ftco-navbar-light .navbar-nav>.nav-item>.nav-link:focus,
body.cart-page .ftco-navbar-light .navbar-nav>.nav-item .nav-link.active {
    color: #EBA7AC;
}

body.cart-page .ftco-navbar-light .border-top-custom:after {
    background: linear-gradient(to right, rgba(136, 167, 195, 0) 0%, #EBA7AC 100%);
}

body.cart-page .ftco-navbar-light .btn-custom {
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.2) 48%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0.2) 52%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-size: 250% 100%;
    background-position: 160% 0;
    transition: filter 0.25s ease;
}

body.cart-page .ftco-navbar-light .btn-custom:hover,
body.cart-page .ftco-navbar-light .btn-custom:focus {
    filter: brightness(1.03);
    animation: wellness-button-shimmer 0.8s ease;
}

body.cart-page .hero-wrap.hero-wrap-2 {
    min-height: auto;
    height: 500px;
    background-attachment: unset;
}

body.cart-page .hero-wrap.hero-wrap-2 .slider-text {
    min-height: auto;
    height: 500px;
}

body.cart-page .hero-wrap .slider-text .breadcrumbs .separator {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform: translateY(-1px);
    margin-right: 5px;
    margin-left: 5px;
}

body.cart-page .cart-page-summary__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 6px;
    color: #6f6f6f;
    font-size: 0.92rem;
    line-height: 1.6;
    cursor: pointer;
}

body.cart-page .cart-page-summary__consent-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #88a7c3;
    border-radius: 5px;
    background: #fff;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 0 rgba(136, 167, 195, 0.18);
    cursor: pointer;
}

body.cart-page .cart-page-summary__consent-input:hover {
    border-color: #eba7ac;
    box-shadow: 0 0 0 4px rgba(235, 167, 172, 0.12);
}

body.cart-page .cart-page-summary__consent-input:checked {
    background: #88a7c3;
    border-color: #88a7c3;
}

body.cart-page .cart-page-summary__consent-input:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.cart-page .cart-page-summary__consent-input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(136, 167, 195, 0.18);
}

body.cart-page .cart-page-summary__consent-text a {
    color: #88a7c3;
    font-weight: 500;
    text-decoration: underline;
}

body.cart-page .cart-page-summary__consent-text a:hover,
body.cart-page .cart-page-summary__consent-text a:focus {
    color: #eba7ac;
    text-decoration: underline;
}

body.cart-page .cart-page-summary__button.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    filter: grayscale(0.1);
}

body.cart-page .cart-page-summary__button.is-invalid {
    opacity: 0.7;
    pointer-events: none;
    filter: grayscale(0.08);
    background: #2d2926;
    color: #fff;
}

body.cart-page .cart-page-main,
body.cart-page .cart-page-empty,
body.cart-page .cart-page-list {
    width: 100%;
    max-width: 100%;
}

body.cart-page .cart-page-shell--empty {
    grid-template-columns: 1fr;
}

body.cart-page .cart-page-shell--empty .cart-page-summary {
    display: none !important;
}

body.cart-page .cart-page-shell--empty .cart-page-main {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

body.cart-page .cart-page-empty {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 48px 24px;
    background: linear-gradient(180deg, #f6f0ec 0%, #ffffff 100%);
    border-radius: 24px;
    border: 1px solid #eadfda;
    box-shadow: 0 18px 42px rgba(45, 41, 38, 0.08);
}

body.cart-page .cart-page-main {
    justify-self: stretch;
    text-align: center;
}

body.cart-page .cart-page-empty {
    align-items: center;
    justify-content: center;
    text-align: center;
}

body.cart-page .cart-page-empty__icon {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {

    body.cart-page .hero-wrap.hero-wrap-2,
    body.cart-page .hero-wrap.hero-wrap-2 .slider-text {
        height: 420px;
    }
}
