@font-face {
    font-family: Urbanist;
    src: url('../fonts/Urbanist-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: Urbanist;
    src: url('../fonts/Urbanist-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: Urbanist;
    src: url('../fonts/Urbanist-Bold.ttf');
    font-weight: 700;
}

.woocommerce-cart-form .shop_table tbody .product-thumbnail img {
    width: 40px;
    height: 40px;
}

.woocommerce-cart-form .shop_table tbody .product-thumbnail {
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart-form .shop_table thead .product-thumbnail {
    width: 110px;
}

.woocommerce-cart-form .shop_table thead th {
    color: #000000DE;
    font-weight: 600;
    font-size: 14px;
    font-family: Montserrat;
}

.woocommerce-cart-form .shop_table tbody .product-name {
    color: #000000DE;
    font-weight: 350;
    font-family: Gravity;
    font-size: 14px;
    text-decoration-color: #000000DE;
}
.woocommerce-cart-form .shop_table tbody .product-name a {
    color: #000000DE;
}
.woocommerce-cart-form .shop_table .qib-container .minus, .qib-container .plus {
    width: 24px;
    height: 24px;
}
.woocommerce-cart-form .shop_table .qib-container input[type="number"]:not(#qib_id):not(#qib_id) {
    width: 40px;
    height: 40px;
}
.woocommerce-cart-form .shop_table input[type=number]{
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}
.woocommerce-cart-form .shop_table .input-text.qty.text {
    color: #292929 !important;
    font-size: 14px !important;
    font-family: Gravity !important;
    font-weight: 350 !important;
}

.woocommerce-cart-form .shop_table .plus.qib-button::before,
.woocommerce-cart-form .shop_table .minus.qib-button::before {
    width: 100%;
    height: 100%;
    background-size: contain;
}

.woocommerce-cart-form .shop_table .minus.qib-button {
    border: 1px solid #BFA671;
}
.woocommerce-cart-form .shop_table .plus.qib-button {
    background: #BFA671;
    cursor: not-allowed;
}
.woocommerce-cart-form .shop_table .plus.qib-button::before {
    background: url('/wp-content/themes/grozio/icons/icon-plus-black.svg') no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}
.woocommerce-cart-form .shop_table .qib-container {
    align-items: center;
}
.woocommerce-cart-form .shop_table {
    width: 100%;
}
.woocommerce-cart-form .shop_table thead th.product-quantity {
    width: 130px;
}
.woocommerce-cart-form .shop_table tbody .product-price {
    font-size: 16px;
}
.woocommerce-cart-form .shop_table tbody .product-price {
    color: #000000DE;
    font-family: Gravity;
}
.woocommerce-cart-form .shop_table .product-name {
    width: 350px;
}
.woocommerce-cart-form .shop_table .total-price {
    font-weight: 700;
}
.woocommerce-cart-form .shop_table tr {
    border-bottom: 1px solid #0000001F;
}

.woocommerce-cart-form .shop_table tbody tr:nth-last-child(2) {
    border-bottom: 1px solid black;
}

.woocommerce-cart-form .shop_table tbody tr:nth-last-child(2) td {
    padding-bottom: 30px;
}

.woocommerce-cart-form .shop_table thead th {
    padding: 19px 8px;
}

.woocommerce-cart-form .shop_table tbody td {
    padding: 8px 8px;
}

.woocommerce-cart-form .shop_table tr.product-thumbnail th,
.woocommerce-cart-form .shop_table tr.product-thumbnail td {
    width: 110px;
}
.woocommerce-cart-form .shop_table .product-price {
    width: 175px;
}
.woocommerce-cart-form .shop_table th.product-price-with-discount {
    width: 175px;
}

.woocommerce-cart-form .shop_table dl.variation {
    margin-top: 10px;
}

.cart-collaterals {
    display: flex;
    justify-content: space-between;
    top: 24px;
    position: relative;
}

.cart-collaterals .cart_totals {
    width: 426px;
}

.cart-collaterals h2 {
    margin: 0;
    font-family: Urbanist;
    font-weight: 400;
    font-size: 40px;
}
.cart-collaterals .shop_table tbody tr:last-child,
.cart-collaterals .shop_table tr {
    border: unset;
}
.cart-collaterals .wc-proceed-to-checkout a {
    background: #000;
    color: white;
    font-family: Urbanist;
    font-weight: 500;
    height: 46px;
    width: 100%;
    font-size: 16px;
    text-decoration: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.cart-collaterals .order-total {
    display: flex;
    flex-direction: column;
    text-align: end;
    margin-top: 40px;
}
.cart-collaterals .order-total strong {
    color: #000;
    font-family: Gravity;
    font-weight: 700;
    font-size: 40px;
}
.cart-collaterals .order-total .includes_tax {
    color: #808080;
    font-weight: 350;
    font-family: Gravity;
    font-size: 18px;
}
.cart-collaterals .shop_table tr td {
    text-align: right;
    font-family: Gravity;
    font-weight: 350;
    color: #000;
    font-size: 18px;
}
.cart-collaterals .wc-proceed-to-checkout {
    position: relative;
    margin-top: 32px;
}
.cart-collaterals .shop_table tr:not(:last-child) td,
.cart-collaterals .shop_table tr:not(:last-child) th {
    padding-bottom: 10px;
}
.cart-collaterals .shop_table {
    width: 100%;
    margin-top: 32px;
}
.cart-collaterals .shop_table tr th {
    font-family: Gravity;
    font-weight: 350;
    color: #808080;
    font-size: 18px;
}
.update-cart-btn {
    visibility: hidden;
    position: absolute
}
.cart-container-mobile {
    display: none;
}
.cart-container-mobile .cart-item {
    display: flex;
    flex-direction: row;
    gap: 0 16px;
}
.cart-container-mobile .cart-item .item-image,
.cart-container-mobile .cart-item .item-image a {
    width: 40px;
    height: 40px;
    display: block;
}

.cart-container-mobile .cart-item .item-image img {
    width: 100%;
    height: 100%;
}

.cart-container-mobile .quantity-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cart-container-mobile .item-details {
    width: 100%;
}


.cart-container-mobile .minus.qib-button::before {
    background-size: contain;
    background-position: center center;
}

.cart-container-mobile input[type=number]{
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}
.cart-container-mobile .input-text.qty.text {
    color: #292929 !important;
    font-size: 14px !important;
    font-family: Gravity !important;
    font-weight: 350 !important;
}

.cart-container-mobile .plus.qib-button::before,
.cart-container-mobile .minus.qib-button::before {
    width: 100%;
    height: 100%;
    background-size: contain;
}

.cart-container-mobile .minus.qib-button {
    border: 1px solid #BFA671;
    width: 24px;
    height: 24px;
}

.cart-container-mobile .qib-container .quantity input {
    height: 24px;
}

.cart-container-mobile .qib-container input[type="number"]:not(#qib_id):not(#qib_id) {
    width: 40px;
}

.cart-container-mobile .item-details .item-name a {
    color: #000000DE;
    font-family: Urbanist;
    font-weight: 700;
    text-decoration: unset;
    font-size: 12px;
}

.cart-container-mobile .item-price-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.cart-container-mobile .item-price-info .price-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0 5px;
}

.cart-container-mobile .item-price-info .price-discount {
    color: #BFA671;
    font-size: 20px;
    font-family: Gravity;
    font-weight: 350;
}

.cart-container-mobile .current-price-product {
    color: #000000DE;
    font-family: Gravity;
    font-weight: 350;
    font-size: 20px;
}

.cart-container-mobile .old-price-product {
    color: #808080;
    font-family: Gravity;
    font-weight: 350;
    font-size: 14px;
}

.cart-container-mobile .item-details {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
}

.cart-container-mobile .cart-items {
    display: flex;
    flex-direction: column;
    gap: 42px 0;
}

.cart-container-mobile .plus.qib-button::before {
    background: url('/wp-content/themes/grozio/icons/icon-plus-black.svg') no-repeat;
    background-size: contain;
    width: 70%;
    height: 70%;
}

.cart-container-mobile .cart-title {
    color: #000;
    font-size: 38px;
    font-family: Urbanist;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
}

.coupon-wrap #coupon_code {
    border: 1px solid #171717;
    height: 56px;
    width: 210px;
    padding: 10px;
    color: #171717;
    font-family: Gravity;
    font-weight: 350;
}

.coupon-wrap label {
    position: relative;
}

.coupon-wrap label span {
    position: absolute;
    font-size: 16px;
    color: #171717;
    background: white;
    padding: 0 5px;
    font-weight: 350;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    transition: all 0.25s ease;
}

.coupon-wrap:has(#coupon_code:focus) label span,
.coupon-wrap:has(#coupon_code:not(:placeholder-shown)) label span {
    left: 10px;
    top: -7px;
    font-size: 12px;
    font-weight: 500;
    transform: translateY(0);
    color: #BFA671;
}

.coupon-wrap:has(#coupon_code:focus) #coupon_code,
.coupon-wrap:has(#coupon_code:not(:placeholder-shown)) #coupon_code {
    border: 3px solid #BFA671
}

.coupon-wrap button[name="apply_coupon"] {
    border: 1px solid #000000;
    background: unset;
    height: 46px;
    width: 205px;
    margin-left: 16px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.coupon-wrap h2 {
    margin-bottom: 24px;
}

.coupon-wrap button[name="apply_coupon"].coupon-disabled {
    opacity: 0.3;
}

.coupon-wrap button[name="apply_coupon"].coupon-disabled:hover {
    cursor: not-allowed;
}

@media (max-width: 990px) {
    .cart-collaterals {
        border-top: 1px solid #CCC;
        padding-top: 17px;
        top: 37px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cart-collaterals .cart_totals {
        margin-top: 40px;
    }

    .cart-collaterals .wc-proceed-to-checkout {
        margin-top: 40px;
    }

    .cart-collaterals .wc-proceed-to-checkout a {
        width: 100%;
    }

    .cart-collaterals .order-total {
        margin-top: 20px;
    }

    .cart-collaterals .shop_table tr td,
    .cart-collaterals .shop_table tr th {
        font-size: 16px;
    }

    .cart-collaterals h2 {
        font-size: 36px;
    }

    .cart-collaterals .order-total strong {
        font-family: Urbanist;
        font-weight: 400;
        font-size: 24px;
    }

    .cart-collaterals .order-total .includes_tax {
        font-size: 12px;
        margin-top: 8px;
    }

    .cart-container-mobile .quantity-controls {
        margin-top: 5px
    }

    .woocommerce-cart-form table.shop_table {
        display: none;
    }

    .cart-container-mobile {
        display: block;
        padding-right: 11px;
    }

    .cart-container-mobile .plus.qib-button {
        background: #BFA671;
    }
    h1.page-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .cart-container-mobile .qib-container input[type="number"]:not(#qib_id):not(#qib_id) {
        height: 24px;
    }
    .cart-collaterals .coupon-wrap,
    .cart-collaterals .cart_totals {
        width: 100%;
    }

    .cart-collaterals .coupon-wrap .coupon {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .coupon-wrap button[name="apply_coupon"] {
        width: 100%;
        max-width: 170px;
        margin-left: 20px;
    }

    .coupon-wrap #coupon_code {
        min-width: 145px;
        width: 100%;
    }
}
