/* =========================================================
   ATLANTICA — PANIER
========================================================= */

.atl-cart-page {
    background: #f7f9fc;
    min-height: 100vh;
}


/* =========================================================
   HERO
========================================================= */

.atl-cart-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(197, 89, 2, .12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #002357 0%,
            #0b2a82 55%,
            #0c6f96 100%
        );
    color: #fff;
    padding: 42px 0 54px;
}

.atl-cart-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.atl-cart-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
    font-size: .84rem;
    color: rgba(255,255,255,.68);
}

.atl-cart-breadcrumb a {
    color: rgba(255,255,255,.76);
    text-decoration: none;
    transition: .2s ease;
}

.atl-cart-breadcrumb a:hover {
    color: #fff;
}

.atl-cart-breadcrumb i {
    font-size: .7rem;
    opacity: .55;
}

.atl-cart-breadcrumb span {
    color: #fff;
}

.atl-cart-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.atl-cart-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 13px;

    color: rgba(255,255,255,.78);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.atl-cart-eyebrow i {
    color: #fda257;
}

.atl-cart-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.atl-cart-hero p {
    max-width: 650px;
    margin: 13px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 1.7;
}

.atl-cart-hero-icon {
    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;

    background: rgba(255,255,255,.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,.15);

    font-size: 2.25rem;
    color: #fff;
}


/* =========================================================
   SECTION
========================================================= */

.atl-cart-section {
    padding: 54px 0 90px;
}


/* =========================================================
   EMPTY
========================================================= */

.atl-cart-empty {
    max-width: 720px;
    margin: 20px auto 0;

    padding: 65px 30px;

    text-align: center;

    background: #fff;

    border: 1px solid #e9edf4;
    border-radius: 28px;

    box-shadow:
        0 18px 55px rgba(15, 35, 65, .07);
}

.atl-cart-empty-icon {
    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    border-radius: 24px;

    background: rgba(11,42,130,.07);
    color: #0b2a82;

    font-size: 2.3rem;
}

.atl-cart-empty-label {
    display: block;
    margin-bottom: 9px;

    color: #c55902;

    font-size: .76rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.atl-cart-empty h2 {
    margin: 0;
    color: #10213d;
    font-size: 1.75rem;
    font-weight: 800;
}

.atl-cart-empty p {
    max-width: 520px;
    margin: 13px auto 28px;

    color: #69758a;
    line-height: 1.7;
}


/* =========================================================
   LAYOUT
========================================================= */

.atl-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 30px;
    align-items: start;
}


/* =========================================================
   PRODUCTS
========================================================= */

.atl-cart-products {
    min-width: 0;
}

.atl-cart-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}

.atl-section-kicker {
    display: block;

    margin-bottom: 6px;

    color: #c55902;

    font-size: .72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.atl-cart-products-header h2 {
    margin: 0;

    color: #10213d;

    font-size: 1.45rem;
    font-weight: 800;
}

.atl-cart-count-label {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 0 13px;

    border: 1px solid #e4e9f1;
    border-radius: 999px;

    background: #fff;

    color: #647086;

    font-size: .82rem;
    font-weight: 700;
}


/* =========================================================
   ITEM
========================================================= */

.atl-cart-item {
    display: flex;
    gap: 22px;

    padding: 22px;

    margin-bottom: 15px;

    background: #fff;

    border: 1px solid #e8edf4;
    border-radius: 22px;

    box-shadow:
        0 12px 35px rgba(15, 35, 65, .045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.atl-cart-item:hover {
    transform: translateY(-2px);

    border-color: #dce3ed;

    box-shadow:
        0 18px 45px rgba(15, 35, 65, .08);
}

.atl-cart-item-image {
    width: 122px;
    height: 122px;

    flex: 0 0 145px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #f6f8fb;
}

.atl-cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.atl-cart-item:hover .atl-cart-item-image img {
    transform: scale(1.04);
}

.atl-cart-item-placeholder {
    color: #aab4c3;
    font-size: 2rem;
}

.atl-cart-item-content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 20px;
}

.atl-cart-item-main {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.atl-cart-item-category {
    display: block;

    margin-bottom: 6px;

    color: #8994a6;

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.atl-cart-item-info h3 {
    margin: 0;

    color: #152642;

    font-size: 1.15rem;
    font-weight: 800;

    line-height: 1.35;
}

.atl-cart-variant {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 10px;

    color: #677389;

    font-size: .85rem;
}

.atl-cart-variant i {
    color: #0c6f96;
}

.atl-cart-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 12px;

    color: #21845a;

    font-size: .76rem;
    font-weight: 700;
}

.atl-cart-stock-danger {
    color: #c53f3f;
}

.atl-cart-item-price {
    flex: 0 0 auto;
    text-align: right;
}

.atl-cart-item-price strong {
    display: block;

    color: #0b2a82;

    font-size: 1.15rem;
    font-weight: 800;
}

.atl-cart-item-price span {
    display: block;

    margin-top: 4px;

    color: #8a94a5;

    font-size: .74rem;
}


/* =========================================================
   ACTIONS
========================================================= */

.atl-cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 15px;

    border-top: 1px solid #edf0f5;
}

.atl-cart-quantity-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.atl-cart-quantity {
    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid #dfe5ed;
    border-radius: 11px;

    background: #fff;
}

.atl-quantity-btn {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: #fff;

    color: #526077;

    cursor: pointer;

    transition: .2s ease;
}

.atl-quantity-btn:hover {
    background: #f3f6fa;
    color: #0b2a82;
}

.atl-quantity-input {
    width: 44px;
    height: 36px;

    padding: 0;

    border: 0;

    background: #fff;

    color: #152642;

    text-align: center;

    font-size: .88rem;
    font-weight: 800;

    outline: none;
}

.atl-quantity-input::-webkit-outer-spin-button,
.atl-quantity-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.atl-quantity-input {
    appearance: textfield;
}

.atl-cart-update-btn {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dfe5ed;
    border-radius: 10px;

    background: #fff;

    color: #0b2a82;

    cursor: pointer;

    transition: .2s ease;
}

.atl-cart-update-btn:hover {
    border-color: #0b2a82;
    background: #0b2a82;
    color: #fff;
}

.atl-cart-remove-form {
    margin-left: auto;
}

.atl-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 0;
    background: transparent;

    color: #8b96a8;

    font-size: .8rem;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.atl-cart-remove-btn:hover {
    color: #c53f3f;
}


/* =========================================================
   SUMMARY
========================================================= */

.atl-cart-summary {
    position: sticky;
    top: 25px;
}

.atl-cart-summary-card {
    padding: 27px;

    background: #fff;

    border: 1px solid #e7ecf3;
    border-radius: 24px;

    box-shadow:
        0 18px 50px rgba(15, 35, 65, .07);
}

.atl-cart-summary-header h2 {
    margin: 0;

    color: #10213d;

    font-size: 1.35rem;
    font-weight: 800;
}

.atl-cart-summary-lines {
    margin-top: 25px;

    padding: 18px 0;

    border-top: 1px solid #edf0f5;
    border-bottom: 1px solid #edf0f5;
}

.atl-cart-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 15px;

    color: #667288;

    font-size: .86rem;
}

.atl-cart-summary-line:last-child {
    margin-bottom: 0;
}

.atl-cart-summary-line strong {
    color: #263653;
}

.atl-cart-summary-muted {
    max-width: 155px;

    color: #929bab;

    text-align: right;

    font-size: .74rem;
}

.atl-cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 0;
}

.atl-cart-summary-total span {
    color: #263653;

    font-size: .95rem;
    font-weight: 700;
}

.atl-cart-summary-total strong {
    color: #0b2a82;

    font-size: 1.35rem;
    font-weight: 900;
}


/* =========================================================
   CHECKOUT
========================================================= */

.atl-cart-checkout-btn {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 15px 17px;

    border: 0;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #c55902 0%,
            #fda257 100%
        );

    color: #fff;

    font-size: .9rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(197, 89, 2, .22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
    text-decoration: none;
}

.atl-cart-checkout-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 32px rgba(197, 89, 2, .28);
}

.atl-cart-checkout-btn i {
    font-size: 1.05rem;
}

.atl-cart-checkout-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    margin: 13px 0 0;

    color: #8993a4;

    font-size: .71rem;
    line-height: 1.5;
}

.atl-cart-checkout-note i {
    margin-top: 1px;
    color: #25835d;
}


/* =========================================================
   CONTINUE
========================================================= */

.atl-cart-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 22px;

    color: #0b2a82;

    text-decoration: none;

    font-size: .83rem;
    font-weight: 800;

    transition: .2s ease;
}

.atl-cart-continue:hover {
    color: #c55902;
}

.atl-cart-clear-form {
    margin-top: 14px;
    text-align: center;
}

.atl-cart-clear-btn {
    border: 0;
    background: transparent;

    color: #a0a8b6;

    font-size: .73rem;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.atl-cart-clear-btn:hover {
    color: #c53f3f;
}


/* =========================================================
   TRUST
========================================================= */

.atl-cart-trust {
    margin-top: 15px;

    padding: 18px;

    border: 1px solid #e7ecf3;
    border-radius: 20px;

    background: rgba(255,255,255,.72);
}

.atl-cart-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.atl-cart-trust-item + .atl-cart-trust-item {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid #edf0f5;
}

.atl-cart-trust-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(11,42,130,.07);

    color: #0b2a82;
}

.atl-cart-trust-item strong {
    display: block;

    color: #263653;

    font-size: .78rem;
    font-weight: 800;
}

.atl-cart-trust-item span {
    display: block;

    margin-top: 3px;

    color: #8a94a5;

    font-size: .7rem;
    line-height: 1.45;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.atl-cart-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;

    padding: 0 21px;

    border-radius: 12px;

    background: #0b2a82;
    color: #fff;

    text-decoration: none;

    font-size: .85rem;
    font-weight: 800;

    box-shadow:
        0 10px 24px rgba(11,42,130,.18);

    transition: .2s ease;
}

.atl-cart-primary-btn:hover {
    transform: translateY(-2px);

    background: #002357;
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .atl-cart-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 22px;
    }

}


@media (max-width: 900px) {

    .atl-cart-layout {
        grid-template-columns: 1fr;
    }

    .atl-cart-summary {
        position: static;
    }

}


@media (max-width: 650px) {

    .atl-cart-section {
        padding: 35px 0 65px;
    }

    .atl-cart-hero {
        padding: 30px 0 40px;
    }

    .atl-cart-hero-content {
        align-items: flex-start;
    }

    .atl-cart-hero-icon {
        width: 60px;
        height: 60px;

        border-radius: 17px;

        font-size: 1.6rem;
    }

    .atl-cart-item {
        flex-direction: column;
        gap: 17px;

        padding: 16px;
    }

    .atl-cart-item-image {
        width: 100%;
        height: 210px;
        flex-basis: auto;
    }

    .atl-cart-item-main {
        flex-direction: column;
        gap: 13px;
    }

    .atl-cart-item-price {
        text-align: left;
    }

    .atl-cart-item-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .atl-cart-remove-form {
        margin-left: 0;
    }

    .atl-cart-products-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 430px) {

    .atl-cart-hero h1 {
        font-size: 2rem;
    }

    .atl-cart-hero p {
        font-size: .88rem;
    }

    .atl-cart-summary-card {
        padding: 21px;
    }

}