* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-frame {
    background-color: #FEFCFA;
    width: 100%;
    padding: 80px;
}

.inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-box {
    text-align: center;
    margin-bottom: 80px; /* 80px gap to image box */
}

.cart-icon {
    height: auto;
    width: auto;
    margin-bottom: 10px;
}

.title {
    font-size: 20px;
    font-weight: 500;
    color: #2D2C2A;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #85827C;
}

/* Image Box */
.image-box {
    width: 523px;
    height: 171px;
    background-color: #f0f0f0; /* Placeholder for your image */
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 0; /* 0px gap to category box */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category Box */
.category-box {
    width: 523px;
    padding: 24px;
    text-align: left;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #E5E5E5;
    background-color: #fff;
}

.category-title {
    font-size: 20px;
    font-weight: 500;
    color: #2D2C2A;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 16px;
    font-weight: 400;
    color: #85827C;
    margin-bottom: 24px;
    line-height: 1.5;
    width: 100%;
    line-height: 22px;
}

.explore-btn {
    background-color: #BD986B;
    color: #FEFCFA;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: #7a4e2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3); /* Matching shadow */
}

.cart-container {
    margin: 0 auto;
    padding: 40px 48px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* ===== Cart Items Section ===== */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;   
}

.cart-title {
    font-size: 20px;
    font-weight: 600;
    color: #2D2C2A;
}

.item-count {
    font-size: 14px;
    color: #85827C;
}

.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    margin-bottom: 16px;
    background-color: #fff;
    position: relative;
}

.product-image {
    width: 250px;
    height: fill;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.product-details {
    flex-grow: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #2D2C2A;
}

.product-description {
    font-size: 16px;
    color: #85827C;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 500;
    color: #2D2C2A;
    margin-top: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-top: 16px;
    align-items: center;
}

button{
    padding: 0px;
}

button:hover{
    background-color: #fff;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #E5E5E5;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: #85827C;
    align-items: center;
}

.qty-btn:hover {
    background-color: #f8f8f8;
}

.qty-value {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #2D2C2A;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding-top: 16px;
    padding-bottom: 16px; /* Top/bottom padding only */
    font-size: 14px;
    color: #85827C;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
    transition: text-decoration 0.15s ease, opacity 0.15s ease;
    display: flex;
    justify-content: flex-end;
}

.remove-btn:hover {
    text-decoration: none;
    color: #676560;
}

/* ===== Order Summary ===== */
.order-summary {
    background-color: #ffffff;
    position: sticky;
    top: 40px;
    height: fit-content;
    padding: 24px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    margin-top: 52px;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E5E5;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: #676560;
}

.summary-total {
    font-weight: 500;
    font-size: 16px;
    margin: 25px 0;
    padding-top: 15px;
    border-top: 1px solid #E5E5E5;
    color: #2D2C2A;
}

.checkout-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    margin-top: 20px;
    border-radius: 4px;
    background-color: #BD986B;
    color: #FEFCFA;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background-color: #7a4e2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3); /* Matching shadow */
}

.checkout-text {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.checkout-price {
    font-weight: 500;
    font-size: 15px;
}

.checkout-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.checkout-btn:disabled:hover {
    background-color: #ccc;
}

.cart-notification {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent light base */
    backdrop-filter: blur(10px); /* Creates the frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    color: #BD986B; /* Using your primary color for text */
    padding: 12px 24px;
    border-radius: 12px; /* More rounded corners for modern look */
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1), /* Soft shadow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.3); /* Inner light border */
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
}

.cart-notification.show {
    opacity: 1;
    top: 100px;
}

.seasonal-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #D4B896, #E8C8C8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.cart-item .seasonal-badge {
    top: 12px;
    right: 12px;
}

.product-varient-ease{
    color: #85827C;
}
@media (max-width: 980px) {
    .main-frame {
        padding: 60px 40px; 
    }

    .image-box,
    .category-box {
        width: 100%; 
        max-width: 523px;
    }

    .image-box {
        height: auto; 
        aspect-ratio: 523/171; 
    }

    .cart-container {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 32px;
    }

    .order-summary {
        position: static;
        margin-top: 0;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .cart-item {
        position: relative;
        padding-right: 16px;
    }

    .remove-btn {
        position: absolute;
        right: 32px;
        top: 48px;
    }
}

@media (max-width: 480px) {
    .main-frame {
        padding: 80px 24px;
    }

    .text-box {
        margin-bottom: 60px; 
    }

    .title {
        font-size: 18px; 
        margin-bottom: 2px;
    }

    .subtitle,
    .category-desc {
        font-size: 15px; 
        font-weight: 400;
    }

    .category-box {
        padding: 16px; 
    }

    .category-title {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .category-desc {
        margin-bottom: 28px;
        line-height: 20px;
    }

    .explore-btn {
        padding: 10px 20px;
        font-size: 13px;
        font-weight: 400;
    }

    .cart-container {
        padding: 24px 16px;
        gap: 24px;
    }

    .cart-header {
        margin-bottom: 16px;
    }

    .cart-title {
        font-size: 18px;
    }

    /* Cart Item Stacking */
    .cart-item {
        flex-direction: column;
        padding: 0;
    }

    .product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .product-image img {
        border-radius: 4px 4px 0 0;
    }

    .product-details {
        padding: 24px;
    }

    .product-name,
    .product-description,
    .product-price {
        font-size: 15px;
    }

    /* Quantity Selector Adjustment */
    .quantity-selector {
        margin: 16px 0 4px 0px;
        justify-content: flex-start;
    }

    /* Remove Button Positioning */
    .remove-btn {
        position: static;
        align-self: flex-start;
    }

    /* Order Summary Tweaks */
    .order-summary {
        padding: 20px;
    }

    .summary-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .summary-row,
    .summary-total {
        font-size: 15px;
    }

    /* Checkout Button Text Sizing */
    .checkout-btn {
        padding: 12px 16px;
    }

    .checkout-text {
        font-size: 13px;
    }

    .checkout-price {
        font-size: 14px;
    }
}

/* ===== Small Mobile (360px and below) ===== */
@media (max-width: 360px) {
    .product-details {
        padding: 16px;
    }

    .product-name,
    .product-description,
    .product-price {
        font-size: 15px;
    }

    .checkout-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .checkout-price {
        align-self: flex-end;
    }
}