/* Cart Section */
.cart-section {
    padding: 30px;
    width: 100%;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    font-family: 'Outfit', sans-serif;
}

.cart-section__title {
    font-size: 36px;
    font-weight: 800;
    color: rgb(40, 121, 176);
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

.cart-section__title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgb(40, 121, 176), rgb(30, 91, 132));
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.cart-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Authentication Form */
.cart-auth__wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cart-auth__wrapper:hover {
    transform: translateY(-5px);
}

.cart-auth__container {
    padding: 20px;
}

.cart-auth__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.cart-auth__login-btn,
.cart-auth__register-btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    text-align: center;
}

.cart-auth__login-btn {
    background: linear-gradient(90deg, rgb(40, 121, 176), rgb(30, 91, 132));
    color: #ffffff;
}

.cart-auth__register-btn {
    background: #ffffff;
    color: rgb(40, 121, 176);
    border: 2px solid rgb(40, 121, 176);
}

.cart-auth__login-btn:hover,
.cart-auth__register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 121, 176, 0.3);
}

.cart-auth__google-login,
.cart-auth__google-register {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.cart-auth__google-login-btn,
.cart-auth__google-register-btn {
    background: #ffffff;
    border: 2px solid rgb(40, 121, 176);
    color: rgb(40, 121, 176);
    font-size: 14px;
    font-weight: 500;
    padding: 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 300px;
}

.cart-auth__google-login-btn:hover,
.cart-auth__google-register-btn:hover {
    background: rgb(245, 248, 255);
    transform: translateY(-2px);
}

.cart-auth__google-icon {
    width: 24px;
    height: 24px;
}

.cart-auth__divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.cart-auth__divider-text {
    font-size: 14px;
    color: #64748b;
    background: #ffffff;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.cart-auth__divider-line {
    border: none;
    border-top: 1px solid #d9dbe9;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
}

.cart-auth__field {
    margin-bottom: 20px;
}

.cart-auth__label {
    font-size: 12px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 8px;
    display: block;
}

.cart-auth__input {
    width: 100%;
    height: 48px;
    border: 1px solid #d9dbe9;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #1a202c;
    background: #f8fbff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cart-auth__input:focus {
    border-color: rgb(40, 121, 176);
    box-shadow: 0 0 5px rgba(40, 121, 176, 0.3);
    outline: none;
}

.cart-auth__submit-btn {
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(90deg, rgb(40, 121, 176), rgb(30, 91, 132));
    color: #ffffff;
    padding: 12px;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.cart-auth__submit-btn:hover {
    background: linear-gradient(90deg, rgb(30, 91, 132), rgb(40, 121, 176));
    transform: translateY(-2px);
}

/* Checkout Form */
.cart-checkout__form {
    width: 100%;
}

.cart-checkout__section {
    padding: 20px;
}

.cart-checkout__title {
    font-size: 24px;
    font-weight: 600;
    color: rgb(40, 121, 176);
    margin-bottom: 20px;
    position: relative;
}

.cart-checkout__title::after {
    content: '';
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, rgb(40, 121, 176), rgb(30, 91, 132));
    position: absolute;
    bottom: -5px;
    left: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-12 {
    width: 100%;
    padding: 0 10px;
}

.sm\:col-4 {
    width: 33.333%;
}

.sm\:col-6 {
    width: 50%;
}

.sm\:col-8 {
    width: 66.667%;
}

.cart-checkout__field {
    margin-bottom: 20px;
}

.cart-checkout__label {
    font-size: 12px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 8px;
    display: block;
}

.cart-checkout__input {
    width: 100%;
    height: 48px;
    border: 1px solid #d9dbe9;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #1a202c;
    background: #f8fbff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cart-checkout__input:focus {
    border-color: rgb(40, 121, 176);
    box-shadow: 0 0 5px rgba(40, 121, 176, 0.3);
    outline: none;
}

.cart-checkout__phone-group {
    display: flex;
    align-items: center;
}
.cart-checkout__phone-input {
    flex-grow: 1;
    border: none;
    outline: none;
}

.cart-checkout__phone-code {
    background: #f0f5ff;
    border: 1px solid #d9dbe9;
    border-radius: 10px;
    padding: 0 12px;
    height: 48px;
    display: flex;
    align-items: center;
}

.cart-checkout__phone-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-checkout__phone-code-text {
    font-size: 12px;
    color: rgb(40, 121, 176);
}

/* Cart Items */
.bwcar-cart-items__wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f9fafb;
}

.bwcar-cart-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    padding: 20px;
}

.bwcar-cart-item__main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bwcar-cart-item__image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bwcar-cart-item__details {
    flex-grow: 1;
}

.bwcar-cart-item__name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.bwcar-cart-item__customizations {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bwcar-customization-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bwcar-customization-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    min-width: 90px;
}

.bwcar-customization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bwcar-customization-tag {
    font-size: 13px;
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 16px;
    line-height: 1.5;
}

.bwcar-customization-qty {
    margin-left: 4px;
    font-weight: 500;
}

.bwcar-cart-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 100px;
}

.bwcar-cart-item__price {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.bwcar-cart-item__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f3f4f6;
    border-radius: 20px;
    padding: 4px;
}

.bwcar-delete-item-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 16px;
    padding: 8px;
}

.bwcar-delete-item-btn:hover {
    color: #dc2626;
}

.bwcar-cart-item__quantity {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    background: transparent;
    border: none;
    text-align: center;
    width: 25px;
}

.bwcar-cart-item__note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.bwcar-cart-item__note-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.bwcar-cart-item__note-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bwcar-cart-item__note-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.bwcar-text-center {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #6b7280;
}
/* Order Summary */
.cart-summary__wrapper {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cart-summary__wrapper:hover {
    transform: translateY(-3px);
}

.cart-summary__title {
    font-size: 22px;
    font-weight: 600;
    color: rgb(40, 121, 176);
    margin-bottom: 15px;
}

.cart-summary__item {
    font-size: 14px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 10px;
}

.cart-summary__label {
    flex: 1;
}

.cart-summary__value {
    font-weight: 600;
    color: rgb(40, 121, 176);
}

.cart-summary__note {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    background: #f0f5ff;
    padding: 10px;
    border-radius: 8px;
}

.cart-summary__delivery {
    margin-bottom: 20px;
}

.cart-summary__delivery-label {
    font-size: 12px;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 8px;
    display: block;
}

.cart-summary__delivery-select {
    width: 100%;
    height: 48px;
    border: 1px solid #d9dbe9;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #1a202c;
    background: #f8fbff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cart-summary__delivery-select:focus {
    border-color: rgb(40, 121, 176);
    box-shadow: 0 0 5px rgba(40, 121, 176, 0.3);
    outline: none;
}

.cart-summary__checkout-btn {
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(90deg, rgb(40, 121, 176), rgb(30, 91, 132));
    color: #ffffff;
    padding: 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.cart-summary__checkout-btn:hover {
    background: linear-gradient(90deg, rgb(30, 91, 132), rgb(40, 121, 176));
    transform: translateY(-2px);
}

.cart-summary__checkout-btn .material-icons-round {
    font-size: 20px;
}

/* Cart Item Customizations */
.cart-item__customizations {
    margin: 8px 0;
    background: #f8fbff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cart-item__extras,
.cart-item__addons {
    margin-bottom: 12px;
}

.cart-item__extras:last-child,
.cart-item__addons:last-child {
    margin-bottom: 0;
}

.cart-item__customization-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgb(40, 121, 176);
    margin-bottom: 6px;
}

.cart-item__customization-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item__customization-tag {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #1a202c;
    padding: 4px 8px;
    background: rgba(40, 121, 176, 0.05);
    border-radius: 4px;
    margin-left: 12px; 
}

.cart-item__customization-qty {
    margin-left: 4px;
    font-size: 11px;
    color: rgb(40, 121, 176);
    font-weight: 500;
}

    .delivery-buttons-wrapper {
        display: flex;
        justify-content: center;
        padding: 20px;
    }

    .delivery-buttons {
        display: flex;
        background: #e0e0e0;
        border-radius: 50px;
        padding: 4px;
        gap: 4px;
    }

    .delivery-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 8px 24px;
        border: none;
        border-radius: 50px;
        background: #d3d3d3;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 300px;
    }

    .delivery-button.active {
        background: #ffffff;
        box-shadow: 0px 6px 32px 0px rgba(0, 0, 0, 0.04);
    }

    .delivery-icon {
        font-size: 24px;
    }

    .delivery-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    .title {
        font-size: 16px;
        font-weight: 600;
    }

    .time {
        font-size: 14px;
        font-weight: 500;
    }

    .eta {
        font-size: 12px;
        font-weight: 400;
        opacity: 0.8;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-section {
        padding: 20px;
    }

    .sm\:col-4,
    .sm\:col-6,
    .sm\:col-8 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cart-section__title {
        font-size: 28px;
    }

    .cart-auth__buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cart-auth__login-btn,
    .cart-auth__register-btn {
        width: 100%; 
    }

    .cart-auth__google-login-btn,
    .cart-auth__google-register-btn {
        width: 100%; 
    }

    .cart-item__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item__thumb {
        width: 100%;
        height: 120px;
    }

    .cart-item__price-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-auth__wrapper,
    .cart-summary__wrapper {
        padding: 15px;
    }

    .cart-auth__login-btn,
    .cart-auth__register-btn,
    .cart-auth__submit-btn,
    .cart-auth__google-login-btn,
    .cart-auth__google-register-btn {
        font-size: 14px;
    }

    .cart-checkout__title {
        font-size: 20px;
    }

    .cart-summary__title {
        font-size: 18px;
    }
    
        .delivery-buttons-wrapper {
        padding: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .delivery-buttons {
        display: flex;
        flex-direction: row;
        background: #e0e0e0;
        border-radius: 30px;
        padding: 5px;
        gap: 8px;
        width: 100%;
    }

    .delivery-button {
        min-width: 0;
        width: 50%;
        padding: 8px 12px;
        gap: 6px;
        border-radius: 25px;
        background: transparent;
        font-size: 14px;
        font-weight: 500;
        color: #1a202c;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    .delivery-button.active {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(40, 121, 176, 0.2);
        color: rgb(40, 121, 176);
    }

    .delivery-icon {
        font-size: 18px;
    }

    .delivery-info {
        gap: 2px;
        text-align: center;
    }

    .title {
        font-size: 13px;
        font-weight: 600;
    }

    .time {
        font-size: 11px;
        font-weight: 500;
    }

    .eta {
        font-size: 10px;
        opacity: 0.7;
    }
    
    
}

@media (max-width: 480px) {
    .cart-section__title {
        font-size: 24px;
    }

    .cart-item__name {
        font-size: 12px;
    }

    .cart-item__price {
        font-size: 10px;
    }

    .cart-summary__item {
        font-size: 12px;
    }

    .cart-summary__checkout-btn {
        font-size: 14px;
        padding: 12px;
    }
    
        .delivery-buttons-wrapper {
        padding: 8px 0;
    }

    .delivery-buttons {
        gap: 6px;
        padding: 4px;
        border-radius: 25px;
    }

    .delivery-button {
        padding: 6px 10px;
        font-size: 13px;
    }

    .delivery-icon {
        font-size: 16px;
    }

    .delivery-info {
        gap: 1px;
    }

    .title {
        font-size: 12px;
    }

    .time {
        font-size: 10px;
    }

    .eta {
        font-size: 9px;
    }
}

img.cart-image.w-16.h-16.rounded-lg.flex-shrink-0 {
    height: 100px;
    width: 120px;
}