
/* FIT & LIT — full cart page */

.fit-cart-page{
    background:#fff;
    color:#111;
    padding:28px 0 72px;
}

.fit-cart-page__container{
    width:min(1440px, calc(100% - 120px));
    margin:0 auto;
}

.fit-cart-breadcrumb{
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:16px;
    color:#8a8a8a;
    font-size:12px;
}

.fit-cart-breadcrumb a{
    color:#7b7b7b;
    text-decoration:underline;
    text-underline-offset:2px;
}

.fit-cart-page__title{
    margin:0 0 58px !important;
    text-align:center;
    font-size:31px !important;
    line-height:1.15;
    font-weight:500 !important;
}

.fit-cart-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 390px;
    gap:28px;
    align-items:start;
}

.fit-cart-products__head{
    padding:0 0 20px;
    border-bottom:1px solid #e4e4e4;
    display:grid;
    grid-template-columns:minmax(0,1fr) 160px 150px;
    gap:20px;
    color:#444;
    font-size:13px;
}

.fit-cart-products__head span:nth-child(2),
.fit-cart-products__head span:nth-child(3){
    text-align:left;
}

.fit-cart-page-item{
    padding:28px 0;
    border-bottom:1px solid #ececec;
    display:grid;
    grid-template-columns:minmax(0,1fr) 160px 150px;
    gap:20px;
    align-items:center;
}

.fit-cart-page-item__product{
    display:grid;
    grid-template-columns:125px minmax(0,1fr);
    gap:18px;
    align-items:center;
}

.fit-cart-page-item__image{
    width:125px;
    height:145px;
    overflow:hidden;
    display:block;
    background:#f7f7f7;
}

.fit-cart-page-item__image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.fit-cart-page-item__name{
    display:block;
    margin-bottom:9px;
    color:#222;
    font-size:14px;
    line-height:1.35;
    text-decoration:none;
}

.fit-cart-page-item__meta{
    margin-bottom:8px;
    color:#777;
    font-size:11px;
    line-height:1.4;
}

.fit-cart-page-item__meta dl,
.fit-cart-page-item__meta p{
    margin:0;
}

.fit-cart-page-item__unit-price{
    color:#777;
    font-size:12px;
}

.fit-cart-page-item__quantity{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
}

.fit-cart-page-qty{
    width:82px;
    height:34px;
    border:1px solid #bcbcbc;
    border-radius:8px;
    display:grid;
    grid-template-columns:25px 1fr 25px;
    align-items:center;
    background:#fff;
}

.fit-cart-page-qty__btn{
    height:100%;
    padding:0;
    border:0;
    background:transparent;
    color:#555;
    font-size:12px;
    cursor:pointer;
}

.fit-cart-page-qty .quantity{
    width:100%;
    height:100%;
}

.fit-cart-page-qty .qty{
    width:100% !important;
    height:100% !important;
    padding:0 !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    text-align:center;
    appearance:textfield;
    -moz-appearance:textfield;
    font-size:11px !important;
}

.fit-cart-page-qty .qty::-webkit-inner-spin-button,
.fit-cart-page-qty .qty::-webkit-outer-spin-button{
    margin:0;
    -webkit-appearance:none;
}

.fit-cart-page-item__remove{
    color:#858585;
    font-size:10px;
    text-decoration:underline;
    text-underline-offset:2px;
}

.fit-cart-page-item__total{
    color:#555;
    font-size:13px;
    white-space:nowrap;
}

.fit-cart-update{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    border:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
}

.fit-cart-page-summary{
    position:sticky;
    top:20px;
}

.fit-cart-page-summary__box{
    padding:27px 28px 24px;
    border:1px solid #dedede;
    background:#fff;
}

.fit-cart-page-summary__top{
    margin-bottom:12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.fit-cart-page-summary__top h2{
    margin:0;
    font-size:20px;
    font-weight:500;
}

.fit-cart-page-summary__top strong{
    font-size:18px;
    font-weight:500;
    white-space:nowrap;
}

.fit-cart-page-summary__top .woocommerce-Price-amount,
.fit-cart-page-summary__top .woocommerce-Price-amount bdi{
    white-space:nowrap;
}

.fit-cart-page-summary__hint{
    margin:0 0 22px;
    color:#8a8a8a;
    font-size:10px;
    line-height:1.5;
}

.fit-cart-page-summary__checkout{
    width:100%;
    min-height:48px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    color:#fff;
    font-size:12px;
    text-decoration:none;
}

.fit-cart-page-summary__note{
    margin-top:24px;
    display:block;
}

.fit-cart-page-summary__note span{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
}

.fit-cart-page-summary__note textarea{
    width:100%;
    min-height:105px;
    padding:14px;
    border:1px solid #ddd;
    border-radius:0;
    resize:vertical;
    outline:none;
    font-family:inherit;
    font-size:11px;
}

.fit-cart-page-summary__note textarea::placeholder{
    color:#aaa;
}

.fit-cart-page-summary__payment{
    margin-top:18px;
    text-align:center;
}

.fit-cart-page-summary__payment img{
    width:auto;
    max-width:150px;
    height:auto;
}

/* Empty cart */

.fit-cart-page--empty{
    min-height:520px;
}

.fit-empty-cart{
    min-height:390px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.fit-empty-cart__icon{
    width:118px;
    height:118px;
    margin-bottom:30px;
}

.fit-empty-cart__icon svg{
    width:118px;
    height:118px;
    fill:none;
    stroke:#111;
    stroke-width:2.4;
    stroke-linejoin:round;
    stroke-linecap:round;
}

.fit-empty-cart h2{
    margin:0 0 46px;
    font-size:18px;
    font-weight:400;
}

.fit-empty-cart__button{
    width:min(420px, 100%);
    min-height:50px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    color:#fff;
    font-size:12px;
    text-decoration:none;
}

@media(max-width:1100px){
    .fit-cart-page__container{
        width:calc(100% - 64px);
    }

    .fit-cart-layout{
        grid-template-columns:minmax(0,1fr) 330px;
    }
}

@media(max-width:767px){
    .fit-cart-page{
        padding:18px 10px 48px;
    }

    .fit-cart-page__container{
        width:100%;
    }

    .fit-cart-breadcrumb{
        margin-bottom:18px;
        padding:0 4px;
        font-size:10px;
    }

    .fit-cart-page__title{
        margin-bottom:30px !important;
        font-size:24px !important;
    }

    .fit-cart-layout{
        grid-template-columns:1fr;
        gap:28px;
    }

    .fit-cart-products__head{
        display:none;
    }

    .fit-cart-page-item{
        padding:18px 0;
        grid-template-columns:1fr auto;
        gap:14px;
        align-items:start;
    }

    .fit-cart-page-item__product{
        grid-column:1 / -1;
        grid-template-columns:90px minmax(0,1fr);
        gap:14px;
    }

    .fit-cart-page-item__image{
        width:90px;
        height:108px;
    }

    .fit-cart-page-item__name{
        font-size:13px;
    }

    .fit-cart-page-item__quantity{
        padding-left:104px;
    }

    .fit-cart-page-item__total{
        align-self:center;
        padding-top:4px;
        font-size:12px;
    }

    .fit-cart-page-summary{
        position:static;
    }

    .fit-cart-page-summary__box{
        padding:22px 18px;
    }

    .fit-cart-page-summary__top h2{
        font-size:18px;
    }

    .fit-cart-page-summary__top strong{
        font-size:16px;
    }

    .fit-cart-page-summary__checkout{
        min-height:46px;
    }

    .fit-empty-cart{
        min-height:360px;
    }

    .fit-empty-cart__icon,
    .fit-empty-cart__icon svg{
        width:94px;
        height:94px;
    }

    .fit-empty-cart h2{
        margin-bottom:34px;
        font-size:16px;
    }

    .fit-empty-cart__button{
        width:100%;
        max-width:340px;
        min-height:46px;
    }
}


/* =========================================================
   CART NOTICE POLISH
   ========================================================= */

body.woocommerce-cart .woocommerce-notices-wrapper{
    width:min(1440px, calc(100% - 120px));
    margin:20px auto 0;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error{
    width:min(760px, 100%);
    margin:0 auto 22px !important;
    padding:14px 18px 14px 46px !important;
    border:1px solid #e4e4e4 !important;
    border-top:1px solid #e4e4e4 !important;
    border-radius:10px;
    background:#f7f7f7 !important;
    color:#333 !important;
    font-size:13px !important;
    line-height:1.45;
    box-shadow:none !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before{
    top:50% !important;
    left:18px !important;
    transform:translateY(-50%);
    color:#6d6d6d !important;
}

body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-error .button{
    margin-left:16px;
    padding:0 !important;
    background:transparent !important;
    color:#111 !important;
    font-size:12px !important;
    text-decoration:underline;
    text-underline-offset:2px;
}

@media(max-width:767px){
    body.woocommerce-cart .woocommerce-notices-wrapper{
        width:calc(100% - 20px);
        margin-top:14px;
    }

    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error{
        margin-bottom:16px !important;
        padding:12px 14px 12px 40px !important;
        border-radius:8px;
        font-size:11px !important;
    }

    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-error::before{
        left:14px !important;
    }
}


/* =========================================================
   FULL CART FREE-SHIPPING BAR
   ========================================================= */

.fit-cart-page-shipping{
    width:min(860px, 100%);
    margin:-22px auto 42px;
    padding:15px 18px 13px;
    border:1px solid #e7e7e7;
    border-radius:10px;
    background:#fafafa;
}

.fit-cart-page-shipping__text{
    margin-bottom:10px;
    text-align:center;
    color:#656565;
    font-size:12px;
    line-height:1.45;
}

.fit-cart-page-shipping__text strong{
    color:#111;
    font-weight:500;
}

.fit-cart-page-shipping__bar{
    width:100%;
    height:4px;
    overflow:hidden;
    border-radius:999px;
    background:#eceae7;
}

.fit-cart-page-shipping__bar span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#111;
}

/*
 * The full cart page used to reuse the exact same .fit-cart-item,
 * .fit-cart-summary and .fit-cart-qty class names as the header drawer.
 * Those page rules were therefore overwriting the drawer only on /sepet/.
 * The page now uses fit-cart-page-* names, leaving the drawer untouched.
 */

@media(max-width:767px){
    .fit-cart-page-shipping{
        margin:-6px auto 26px;
        padding:12px 12px 11px;
        border-radius:8px;
    }

    .fit-cart-page-shipping__text{
        font-size:10px;
    }
}


/* Full cart stock limit notice */
.fit-cart-page-stock-notice{
    display:none;
    margin-top:5px;
    color:#a13b35;
    font-size:10px;
    line-height:1.35;
}

.fit-cart-page-stock-notice.is-visible{
    display:block;
}

@media(max-width:767px){
    .fit-cart-page-stock-notice{
        font-size:9px;
    }
}
