/*Shopping Cart*/
.empty-cart {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 30px;
    border: 1px solid #333333;
    background: #181818;
    text-align: center;
}

.empty-cart h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: normal;
}

.empty-cart p {
    margin: 0 0 25px;
    color: #cccccc;
    font-size: 15px;
}

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

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 220px;
    align-items: stretch;
    gap: 20px;
    padding: 18px;
    background: #181818;
    border: 1px solid #333333;
    border-top: 4px solid #7e211b;
    border-radius: 8px;
}

.cart-item-actions {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-self: stretch;
    padding: 0 10px;
}

.cart-item-details {
    min-width: 0;
    grid-column: 2;
}

.cart-item-details h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cart-item-stock {
    color: #777777;
    font-size: 11px;
}

.cart-item-image {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f6f6f6;
    grid-column: 1;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.04);
}

.cart-item-image span {
    color: #777777;
    font-size: 13px;
}

.cart-item-category {
    margin: 0 0 7px;
    color: #999999;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cart-item-price {
    margin: 0 0 8px;
    color: #aaaaaa;
    font-size: 14px;
}

.cart-item-quantity {
    grid-column: 3;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cart-item-quantity input {
    width: 70px;
    padding: 9px;
    border: 1px solid #444444;
    background: #111111;
    color: #ffffff;
    font-size: 14px;
}

.cart-item-stock {
    margin: 0;
    color: #777777;
    font-size: 11px;
}

.cart-item-total {
    grid-column: 3;
    justify-self: center;
    color: #ffffff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.cart-summary {
    padding: 25px;
    border: 1px solid #333333;
    background: #181818;
}

.cart-summary h2 {
    margin: 0 0 25px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
}

.cart-summary .section-label {
    margin-bottom: 8px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #333333;
    color: #bbbbbb;
    font-size: 14px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #ffffff;
    font-size: 17px;
}

.cart-summary-total strong {
    font-size: 20px;
}

.cart-checkout {
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #111111;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: block;
    box-sizing: border-box;
    text-align: center;
}

.cart-checkout:hover {
    opacity: 0.85;
}

.cart-continue {
    display: block;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #444444;
    color: #cccccc;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cart-continue:hover {
    border-color: #ffffff;
    color: #ffffff;
}


/*Mobile Responsive*/
/* =========================
   Shopping Cart Mobile
========================= */



@media (max-width: 600px) {
    .cart-page {
        width: 90%;
    }
    .cart-item {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 15px;
        padding: 15px;
    }
    .cart-item-image {
        width: 90px;
        height: 90px;

        grid-row: span 2;
    }
    .cart-item-details h2 {
        font-size: 18px;
    }
    .cart-item-total {
        grid-column: 2;
        grid-row: auto;

        text-align: left;

        margin-top: 5px;
    }
    .cart-item-quantity {
        grid-column: 1 / -1;
    }
    .cart-item-remove {
        grid-column: 1 / -1;
    }
    .cart-summary {
        padding: 20px;
    }
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    flex-direction: row;
    justify-content: center;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.quantity-btn:active {
    transform: scale(0.95);
}


.quantity-input {
    width: 35px !important;
    height: 32px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.cart-item-remove {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    text-decoration: none;
    border: 1px solid #444444;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
}

.cart-remove i {
    font-size: 1.1rem;
}

.cart-remove:hover {
    color: #ffffff;
    border-color: #7e211b;
    background: #7e211b;
}

/*Checkout*/
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.checkout-section,
.checkout-summary {
    padding: 30px;
    border: 1px solid #333333;
    background: #181818;
}

.checkout-section h2,
.checkout-summary h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: normal;
}

.checkout-description {
    margin-bottom: 30px;
    color: #999999;
    font-size: 14px;
}

.checkout-input {
    color: white;
}

/* DELIVERY OPTIONS */

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #444444;
    background: #111111;
    cursor: pointer;
    transition: border-color 0.2s ease,
    background 0.2s ease;
}

.delivery-option:hover {
    border-color: #ffffff;
}

.delivery-option input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #ffffff;
}

.delivery-option-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.delivery-option-content > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-option-content strong {
    color: #ffffff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
}

.delivery-option-content small {
    color: #999999;
    font-size: 13px;
}


/* SUMMARY */

.checkout-summary .section-label {
    margin-bottom: 8px;
}

.checkout-summary h2 {
    margin-bottom: 25px;
}

.checkout-item,
.checkout-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #333333;
}

.checkout-item {
    color: #ffffff;
    font-size: 14px;
}

.checkout-product-name {
    color: #ffffff;
}

.checkout-product-quantity {
    margin-left: 6px;
    color: #888888;
}

.checkout-row {
    color: #bbbbbb;
    font-size: 14px;
}


/* TOTAL */

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #ffffff;
    font-size: 17px;
}

.checkout-total strong {
    font-size: 21px;
}


/* BUTTON */

.checkout-actions {
    max-width: 360px;
    margin: 30px 0 0 auto;
}

.checkout-actions .cart-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}


/* =========================
  Checkout Responsive Only
========================= */
/* Tablet */

@media (max-width: 900px) {
    .checkout-page {
        width: 94%;
        padding: 45px 0;
    }

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

    .checkout-summary {
        position: static;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .checkout-page {
        width: 100%;
        padding: 35px 16px;
    }

    .checkout-page .page-header {
        margin-bottom: 30px;
    }

    .checkout-page .page-header h1 {
        font-size: 34px;
    }

    .checkout-page .page-header > p:last-child {
        font-size: 15px;
        line-height: 1.55;
    }

    .checkout-section,
    .checkout-summary {
        padding: 20px 16px;
    }

    .checkout-section h2,
    .checkout-summary h2 {
        font-size: 23px;
        line-height: 1.3;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkout-field-full {
        grid-column: auto;
    }

    .delivery-option-content {
        align-items: flex-start;
        padding: 16px;
    }

    .delivery-option-content > strong {
        flex-shrink: 0;
    }

    .checkout-item,
    .checkout-row,
    .checkout-total {
        align-items: flex-start;
    }

    .checkout-actions .cart-checkout {
        font-size: 13px;
    }
}

.form-control,
.checkout-input {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.form-control::placeholder,
.checkout-input::placeholder {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.checkout-label {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

