/* ============================================================
   WIZZY DRAWS — CART PAGE
   ============================================================ */

:root {
    --wizzy-blue-dark: #09255f;
    --wizzy-blue: #1268e8;
    --wizzy-purple: #6c47ff;
    --wizzy-green: #2ca408;
    --wizzy-orange: #fd9001;
    --wizzy-yellow: #ffc800;

    --wizzy-text: #172b5d;

    --wizzy-light-blue: #f3f6ff;
    --wizzy-border: #edf0f6;
}


/* ============================================================
   HERO
   ============================================================ */

.wizzy-cart-hero {

    position: relative;
    padding: 120px 0px 50px;
    text-align: center;
    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(253,144,1,.14),
            transparent 24%
        ),

        radial-gradient(
            circle at 65% 80%,
            rgba(18,104,232,.14),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #09255f 0%,
            #1268e8 100%
        );

    overflow: hidden;
}


.wizzy-cart-hero::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);

    top: -90px;
    left: 8%;
}


.wizzy-cart-hero::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(255,200,0,.05);

    right: -120px;
    bottom: -130px;
}


.wizzy-cart-container {

    position: relative;

    z-index: 2;

    max-width: 90%;

    margin: auto;
}


.wizzy-cart-title {

    margin: 0;

    color: #fff;

    font-size: clamp(42px,5vw,70px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;
}


.wizzy-yellow-line {

    width: 115px;

    height: 7px;

    margin: 20px auto 18px;

    background: var(--wizzy-yellow);

    border-radius: 50px;

    transform: rotate(-1deg);
}


.wizzy-cart-subtitle {

    max-width: 760px;

    margin: auto;

    color: #fff;

    font-size: 19px;

    line-height: 1.55;
}


/* ============================================================
   SECTION
   ============================================================ */

.wizzy-cart-section {

    padding: 55px 0 75px;

    background: #fff;
}


.wizzy-cart-wrapper {

    max-width: 90%;

    margin: auto;
}


/* ============================================================
   TOP BAR
   ============================================================ */

.wizzy-cart-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 28px;

    margin-bottom: 28px;

    background: #f3f6ff;

    border-radius: 20px;
}


.wizzy-cart-topbar-left {

    display: flex;

    align-items: center;

    gap: 16px;
}


.wizzy-cart-bag-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 14px;

    background: #1268e8;

    color: #fff;

    font-size: 21px;
}


.wizzy-cart-count {

    margin: 0;

    color: var(--wizzy-text);

    font-size: 16px;

    font-weight: 800;
}


.wizzy-cart-continue {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #1268e8;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}


.wizzy-cart-continue:hover {

    color: var(--wizzy-purple);

    transform: translateX(-2px);
}


/* ============================================================
   ARTICLE
   ============================================================ */

.cart-item-card {

    display: flex;

    align-items: center;

    gap: 20px;

    position: relative;

    padding: 22px;

    margin-bottom: 14px;

    background: #fff;

    border: 1px solid var(--wizzy-border);

    border-radius: 22px;

    box-shadow:
        0 3px 15px rgba(15,45,100,.045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .25s ease;
}


.cart-item-card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(18,104,232,.09);
}


.cart-item-card.removing {

    opacity: 0;

    transform: scale(.96);
}


/* ============================================================
   IMAGE
   ============================================================ */

.cart-item-img {

    width: 105px;

    height: 125px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 14px;

    border: 1px solid #edf0f6;

    background: #f7f8fc;
}


/* ============================================================
   INFOS
   ============================================================ */

.cart-item-info {

    flex: 1;

    min-width: 0;
}


.cart-item-name {

    display: block;

    margin-bottom: 5px;

    color: var(--wizzy-text);

    font-size: 17px;

    font-weight: 800;

    line-height: 1.3;

    text-decoration: none;

    transition: color .2s ease;
}


.cart-item-name:hover {

    color: var(--wizzy-blue);
}


.cart-item-description {

    margin-bottom: 7px;

    color: #8b94a7;

    font-size: 13px;
}


.cart-item-unit-price {

    color: #6f7788;

    font-size: 13px;
}


/* ============================================================
   AGE
   ============================================================ */

.cart-age-badge {

    display: inline-flex;

    align-items: center;

    margin-top: 7px;

    padding: 4px 9px;

    border-radius: 20px;

    background: #eef5ff;

    color: #1268e8;

    font-size: 11px;

    font-weight: 700;
}


/* ============================================================
   STOCK
   ============================================================ */

.cart-stock {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 7px;

    color: #2ca408;

    font-size: 12px;

    font-weight: 600;
}


.cart-stock::before {

    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #32c759;
}


/* ============================================================
   QUANTITE
   ============================================================ */

.qty-control {

    display: inline-flex;

    align-items: center;

    margin-top: 12px;

    padding: 4px;

    background: #f5f7fc;

    border-radius: 30px;
}


.qty-control button {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #fff;

    color: #1268e8;

    font-size: 17px;

    font-weight: 800;

    box-shadow:
        0 2px 7px rgba(0,0,0,.08);

    cursor: pointer;

    transition: .15s ease;
}


.qty-control button:hover:not(:disabled) {

    background: #1268e8;

    color: #fff;
}


.qty-control button:active:not(:disabled) {

    transform: scale(.92);
}


.qty-control button:disabled {

    opacity: .4;

    cursor: not-allowed;
}


.qty-control .qty-value {

    min-width: 34px;

    text-align: center;

    color: var(--wizzy-text);

    font-size: 14px;

    font-weight: 800;
}


/* ============================================================
   PRIX
   ============================================================ */

.cart-item-price-zone {

    min-width: 115px;

    text-align: right;
}


.cart-item-total {

    color: var(--wizzy-orange);

    font-size: 18px;

    font-weight: 800;
}


.cart-remove-btn {

    margin-top: 10px;

    padding: 0;

    border: none;

    background: transparent;

    color: #b8bdc8;

    font-size: 13px;

    cursor: pointer;

    transition: color .15s ease;
}


.cart-remove-btn:hover {

    color: #e74c3c;
}


/* ============================================================
   RESUME
   ============================================================ */

.cart-summary-card {

    position: sticky;

    top: 24px;

    padding: 28px;

    background: #fff;

    border: 1px solid var(--wizzy-border);

    border-radius: 22px;

    box-shadow:
        0 5px 25px rgba(15,45,100,.07);
}


.cart-summary-card h5 {

    margin: 0 0 25px;

    color: var(--wizzy-text);

    font-size: 19px;

    font-weight: 800;
}


.cart-summary-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;

    color: #70798b;

    font-size: 14px;
}


.cart-summary-row strong {

    color: var(--wizzy-text);

    font-weight: 800;

    text-align: right;
}


.cart-summary-divider {

    height: 1px;

    margin: 21px 0;

    background: #edf0f5;
}


.cart-summary-total-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.cart-summary-total-label {

    color: var(--wizzy-text);

    font-size: 18px;

    font-weight: 800;
}


.cart-summary-total {

    color: #1268e8;

    font-size: 24px;

    font-weight: 900;
}


/* ============================================================
   BOUTON
   ============================================================ */

.wizzy-checkout-btn {

    width: 100%;

    min-height: 54px;

    margin-top: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 13px;

    background: #fd9001;

    color: white;

    font-size: 15px;

    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 7px 18px rgba(255,200,0,.18);

    transition: .2s ease;
}


.wizzy-checkout-btn:hover {

    color: #fd9001;
	border : solid 1px #fd9001;

    background: white;

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(255,200,0,.25);
}


/* ============================================================
   AVANTAGES
   ============================================================ */

.wizzy-cart-benefits {

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #edf0f5;
}


.wizzy-cart-benefit {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;
}


.wizzy-cart-benefit:last-child {

    margin-bottom: 0;
}


.wizzy-cart-benefit-icon {

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #f1f5ff;

    color: #1268e8;

    font-size: 17px;
}


.wizzy-cart-benefit strong {

    display: block;

    margin-bottom: 2px;

    color: var(--wizzy-text);

    font-size: 13px;

    font-weight: 800;
}


.wizzy-cart-benefit span {

    color: #9299a7;

    font-size: 11px;
}


/* ============================================================
   CODE PROMO
   ============================================================ */

.wizzy-promo-box {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 18px;

    padding: 17px 20px;

    background: #fff;

    border: 1px solid #edf0f6;

    border-radius: 17px;

    box-shadow:
        0 2px 10px rgba(15,45,100,.035);
}


.wizzy-promo-icon {

    color: #1268e8;

    font-size: 24px;
}


.wizzy-promo-title {

    color: var(--wizzy-text);

    font-size: 13px;

    font-weight: 800;
}


.wizzy-promo-form {

    display: flex;

    gap: 8px;

    margin-left: auto;
}


.wizzy-promo-form input {

    width: 190px;

    height: 42px;

    padding: 0 14px;

    border: 1px solid #e4e8ef;

    border-radius: 10px;

    outline: none;

    color: #333;

    font-size: 13px;
}


.wizzy-promo-form input:focus {

    border-color: #1268e8;
}


.wizzy-promo-form button {

    height: 42px;

    padding: 0 18px;

    border: none;

    border-radius: 10px;

    background: var(--wizzy-yellow);

    color: var(--wizzy-text);

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;
}


/* ============================================================
   PAIEMENT LIVRAISON
   ============================================================ */

.wizzy-secure-payment {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 18px;

    padding: 18px 22px;

    background: #fff9e8;

    border-radius: 17px;
}


.wizzy-secure-icon {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #2ca408;

    font-size: 22px;
}


.wizzy-secure-payment strong {

    display: block;

    margin-bottom: 3px;

    color: var(--wizzy-text);

    font-size: 13px;

    font-weight: 800;
}


.wizzy-secure-payment span {

    color: #8d94a1;

    font-size: 11px;

    line-height: 1.5;
}


/* ============================================================
   RECOMMANDATIONS
   ============================================================ */

.wizzy-recommendations {

    margin-top: 55px;
}


.wizzy-section-title {

    margin-bottom: 28px;

    color: var(--wizzy-text);

    font-size: 25px;

    font-weight: 800;
}


.wizzy-section-title::after {

    content: "";

    display: block;

    width: 55px;

    height: 5px;

    margin-top: 8px;

    background: var(--wizzy-yellow);

    border-radius: 50px;
}


.wizzy-recommendation-card {

    height: 100%;

    padding: 8px;

    background: #fff;

    border-radius: 18px;

    transition: .2s ease;
}


.wizzy-recommendation-card:hover {

    transform: translateY(-4px);
}


.wizzy-recommendation-image {

    position: relative;

    overflow: hidden;

    border-radius: 15px;

    background: #f5f7fc;
}


.wizzy-recommendation-image img {

    width: 100%;

    aspect-ratio: 1 / 1;

    display: block;

    object-fit: cover;

    border-radius: 15px;
}


.wizzy-recommendation-category {

    margin-top: 10px;

    color: #7e8797;

    font-size: 10px;

    font-weight: 600;
}


.wizzy-recommendation-card h3 {

    margin: 4px 0;

    color: var(--wizzy-text);

    font-size: 14px;

    font-weight: 800;
}


.wizzy-recommendation-card > strong {

    display: block;

    color: var(--wizzy-text);

    font-size: 14px;

    font-weight: 800;
}


.wizzy-recommendation-card > a {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 38px;

    margin-top: 10px;

    border-radius: 10px;

    background: #fd9001;

    color: white;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    transition: .2s ease;
}


.wizzy-recommendation-card > a:hover {

    background: white;
	border : solod 1px #fd9001;
    color: #fd9001;
;
}


/* ============================================================
   PANIER VIDE
   ============================================================ */

.wizzy-cart-empty {

    max-width: 600px;

    margin: 40px auto;

    padding: 60px 30px;

    text-align: center;

    background: #f8faff;

    border-radius: 25px;
}


.wizzy-cart-empty-icon {

    width: 80px;
    height: 80px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #eef4ff;

    color: #1268e8;

    font-size: 34px;
}


.wizzy-cart-empty h4 {

    margin-bottom: 10px;

    color: var(--wizzy-text);

    font-size: 24px;

    font-weight: 800;
}


.wizzy-cart-empty p {

    margin-bottom: 25px;

    color: #858d9c;

    font-size: 14px;

    line-height: 1.6;
}


/* ============================================================
   TABLETTE
   ============================================================ */

@media (max-width: 991px) {

    .wizzy-cart-hero {

        padding: 120px 20px 50px;
    }


    .wizzy-cart-title {

        font-size: 48px;
    }


    .cart-summary-card {

        position: static;

        margin-top: 20px;
    }


    .wizzy-promo-box {

        flex-wrap: wrap;
    }


    .wizzy-promo-form {

        width: 100%;

        margin-left: 0;
    }


    .wizzy-promo-form input {

        flex: 1;

        width: auto;
    }


    .wizzy-recommendation-card {

        margin-bottom: 25px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .wizzy-cart-section {

        padding: 35px 0 50px;
    }


    .wizzy-cart-wrapper {

        max-width: 94%;
    }


    .wizzy-cart-title {

        font-size: 40px;

        letter-spacing: -1px;
    }


    .wizzy-cart-subtitle {

        font-size: 16px;
    }


    .wizzy-cart-topbar {

        flex-direction: column;

        align-items: flex-start;

        padding: 18px 20px;
    }


    .wizzy-cart-continue {

        width: 100%;

        justify-content: center;

        padding-top: 12px;

        border-top: 1px solid #e4e8f2;
    }


    .cart-item-card {

        align-items: flex-start;

        padding: 16px;

        gap: 13px;
    }


    .cart-item-img {

        width: 78px;

        height: 96px;
    }


    .cart-item-name {

        font-size: 15px;
    }


    .cart-item-price-zone {

        min-width: auto;

        margin-left: auto;
    }


    .cart-item-total {

        font-size: 15px;
    }


    .cart-remove-btn {

        font-size: 11px;
    }


    .qty-control {

        margin-top: 8px;
    }


    .qty-control button {

        width: 28px;

        height: 28px;
    }


    .wizzy-promo-box {

        align-items: flex-start;
    }


    .wizzy-promo-form {

        flex-direction: column;
    }


    .wizzy-promo-form input,
    .wizzy-promo-form button {

        width: 100%;
    }


    .wizzy-secure-payment {

        align-items: flex-start;

        padding: 16px;
    }

}


/* ============================================================
   PETIT MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .wizzy-cart-hero {

        padding: 120px 15px 40px;
    }


    .wizzy-cart-title {

        font-size: 34px;
    }


    .wizzy-yellow-line {

        width: 85px;

        height: 5px;

        margin: 14px auto;
    }


    .wizzy-cart-subtitle {

        font-size: 14px;
    }


    .cart-item-card {

        display: grid;

        grid-template-columns: 72px 1fr;

        gap: 12px;
    }


    .cart-item-img {

        width: 72px;

        height: 88px;
    }


    .cart-item-info {

        min-width: 0;
    }


    .cart-item-price-zone {

        grid-column: 2;

        margin-top: -5px;

        text-align: left;
    }


    .cart-item-total {

        display: inline-block;

        margin-right: 12px;
    }


    .cart-summary-card {

        padding: 20px;
    }


    .cart-summary-total {

        font-size: 21px;
    }


    .wizzy-recommendations {

        margin-top: 40px;
    }


    .wizzy-section-title {

        font-size: 22px;
    }

}
