/* ==========================================================================
   CART EMPTY PAGE STYLES (Women Accessories)
   File: public/assets/css/cart.css
   ========================================================================== */

/* Breadcrumb Bar (#f8f8f8) */
.cart-breadcrumb-bar {
    width: 100%;
    background-color: #f8f8f8;
    padding-top: clamp(1.4rem, 1.6vw, 2.0rem);
    padding-bottom: clamp(1.4rem, 1.6vw, 2.0rem);
    border-bottom: 1px solid #f0f0f0;
}

.cart-breadcrumb-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

.cart-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.35rem);
    color: #595959;
    line-height: 1;
    margin: 0;
}

.cart-breadcrumb-link {
    color: #595959;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-breadcrumb-link:hover {
    color: #111111;
    text-decoration: none;
}

.cart-breadcrumb-sep {
    color: #777777;
    margin: 0 0.2rem;
}

.cart-breadcrumb-badge {
    background-color: #ff97aa;
    color: #111111;
    font-weight: 500;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    padding: 0.45rem 1.4rem;
    border-radius: 5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 0.6rem rgba(255, 151, 170, 0.25);
}

/* ==========================================================================
   CART EMPTY HERO SECTION
   ========================================================================== */

.cart-empty-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: clamp(5.0rem, 6.5vw, 8.4rem);
    padding-bottom: clamp(5.6rem, 7.0vw, 9.0rem);
    text-align: center;
}

.cart-empty-container {
    width: 100%;
    max-width: 68rem;
    margin: 0 auto;
    padding-left: 2.0rem;
    padding-right: 2.0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart-empty-img-wrap {
    width: clamp(14.0rem, 15vw, 17.5rem);
    height: auto;
    margin: 0 auto clamp(2.4rem, 3.0vw, 3.6rem) auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-empty-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.cart-empty-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.8rem, 3.4vw, 4.4rem);
    font-weight: 400;
    line-height: 1.2;
    color: #111111;
    margin-top: 0;
    margin-bottom: clamp(1.0rem, 1.2vw, 1.6rem);
    letter-spacing: -0.015em;
    text-align: center;
}

.cart-empty-desc {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.45rem);
    font-weight: 400;
    line-height: 1.5;
    color: #555555;
    margin-top: 0;
    margin-bottom: clamp(2.8rem, 3.4vw, 4.2rem);
    text-align: center;
}

.btn-cart-go-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.25rem, 0.95vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5rem;
    height: clamp(4.8rem, 4.2vw, 5.4rem);
    padding: 0 clamp(3.2rem, 4.0vw, 4.8rem);
    border: none;
    cursor: pointer;
    box-shadow: 0 0.3rem 1.4rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-cart-go-shop:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.8rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
}

.btn-cart-go-shop .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-cart-go-shop:hover .btn-arrow {
    transform: translate(0.25rem, -0.25rem);
}
EOF

/* ==========================================================================
   ACTIVE CART PAGE STYLES (Women Accessories)
   ========================================================================== */

.cart-main-section {
    background-color: #ffffff;
    padding-top: clamp(4.4rem, 5.6vw, 7.2rem);
    padding-bottom: clamp(6.0rem, 8.0vw, 10.0rem);
    width: 100%;
}

.cart-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

.cart-main-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.8rem, 3.4vw, 4.4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #111111;
    margin-top: 0;
    margin-bottom: clamp(3.0rem, 4.0vw, 5.0rem);
}

/* Cart Table Header */
.cart-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: #111111;
}

.cart-th-product {
    flex: 1 1 auto;
}

.cart-th-qty {
    width: 18rem;
    text-align: center;
}

.cart-th-total {
    width: 14rem;
    text-align: right;
    padding-right: 2.8rem;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(2.2rem, 2.8vw, 3.4rem);
    padding-bottom: clamp(2.2rem, 2.8vw, 3.4rem);
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.0vw, 2.4rem);
    flex: 1 1 auto;
    min-width: 0;
}

.cart-item-img-wrap {
    width: clamp(6.0rem, 6.5vw, 7.6rem);
    height: clamp(6.0rem, 6.5vw, 7.6rem);
    border-radius: 1.2rem;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.4rem, 1.1vw, 1.6rem);
    font-weight: 500;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}

/* Quantity Pill */
.cart-item-qty {
    width: 18rem;
    display: flex;
    justify-content: center;
}

.cart-qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7f7f7;
    border-radius: 5rem;
    height: 3.6rem;
    padding: 0 1.2rem;
    min-width: 8.8rem;
}

.cart-qty-btn {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #555555;
    cursor: pointer;
    padding: 0 0.4rem;
    transition: color 0.15s ease;
}

.cart-qty-btn:hover {
    color: #000000;
}

.cart-qty-val {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #111111;
    padding: 0 0.6rem;
}

/* Total Price & Remove Button */
.cart-item-total-wrap {
    width: 14rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6rem;
}

.cart-item-price {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.4rem, 1.15vw, 1.6rem);
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.btn-cart-remove {
    border: none;
    background: transparent;
    color: #f43f5e;
    cursor: pointer;
    padding: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-cart-remove:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* ==========================================================================
   ORDER SUMMARY CARD (Warm Rounded Card)
   ========================================================================== */

.cart-summary-col {
    padding-left: clamp(2.0rem, 3.0vw, 4.4rem);
}

.order-summary-card {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 3.2rem;
    padding: clamp(3.0rem, 3.6vw, 4.4rem);
    display: flex;
    flex-direction: column;
}

.order-summary-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.4rem, 2.6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: #111111;
    letter-spacing: -0.015em;
    margin-top: 0;
    margin-bottom: clamp(2.4rem, 3.0vw, 3.6rem);
    text-align: center;
}

.order-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2.4rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
}

.summary-label {
    color: #555555;
    font-weight: 400;
}

.summary-val {
    color: #111111;
    font-weight: 500;
}

.summary-val-free {
    color: #10b981;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background-color: transparent;
    margin: 1.2rem 0;
}

.summary-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: clamp(2.8rem, 3.4vw, 4.2rem);
    padding-top: 1.2rem;
}

.summary-total-label {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.4rem, 1.1vw, 1.6rem);
    font-weight: 500;
    color: #111111;
}

.summary-total-amount {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.2rem, 2.4vw, 3.0rem);
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.01em;
}

/* Order Summary CTA Buttons */
.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.btn-proceed-checkout {
    width: 100%;
    min-height: 5.2rem;
    height: 5.2rem;
    padding: 1.4rem 2.4rem;
    box-sizing: border-box;
    flex: 0 0 auto;
    border-radius: 5rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0.3rem 1.4rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-proceed-checkout:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.8rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
}

.btn-back-shopping {
    width: 100%;
    min-height: 5.2rem;
    height: 5.2rem;
    padding: 1.4rem 2.4rem;
    box-sizing: border-box;
    flex: 0 0 auto;
    border-radius: 5rem;
    background-color: #ff97aa !important;
    color: #000000 !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0.3rem 1.4rem rgba(255, 151, 170, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-back-shopping:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.8rem rgba(255, 151, 170, 0.5);
    color: #000000 !important;
}

.btn-proceed-checkout .btn-arrow,
.btn-back-shopping .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-proceed-checkout:hover .btn-arrow,
.btn-back-shopping:hover .btn-arrow {
    transform: translate(0.25rem, -0.25rem);
}

/* ==========================================================================
   CART RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets (<= 991.98px) */
@media (max-width: 991.98px) {
    .cart-summary-col {
        padding-left: 0;
        margin-top: 4.0rem;
    }

    .order-summary-card {
        max-width: 52rem;
        margin: 0 auto;
    }
}

/* Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
    .cart-table-header {
        display: none;
    }

    .cart-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
    }

    .cart-item-product {
        width: 100%;
    }

    .cart-item-controls-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-left: clamp(7.4rem, 8.5vw, 9.6rem);
    }

    .cart-item-qty {
        width: auto;
    }

    .cart-item-total-wrap {
        width: auto;
    }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
    .cart-item-controls-mobile {
        padding-left: 0;
        margin-top: 0.8rem;
    }

    .order-summary-card {
        padding: 2.4rem 2.0rem;
        border-radius: 2.4rem;
    }
}
