/* ==========================================================================
   SHOPPING CART PAGE STYLES (Isolated) ama.
   ========================================================================== */

.material-icons-outlined {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    display: inline-block;
}

body.woocommerce-cart {
    background-color: #faf9f6 !important;
}

.continue-shopping,
.continue-shopping:hover,
.continue-shopping:active,
.continue-shopping:focus {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.kamakhya-cart-page {
    width: 100%;
    box-sizing: border-box;
    background-color: #faf9f6;
}

.kamakhya-cart-inner {
    padding: 60px var(--site-gutter) !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.kamakhya-cart-header {
    text-align: center;
    margin-bottom: 50px;
}

.kamakhya-cart-title {
    font-family: 'Jost', sans-serif !important;
    font-size: 48px;
    font-weight: 500;
    color: #282c3f;
    margin-bottom: 10px;
}

.kamakhya-cart-header p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.kamakhya-cart-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.kamakhya-cart-main {
    flex: 2;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

.cart-table-header span:nth-child(2) {
    text-align: center;
}

.cart-table-header span:last-child {
    text-align: right;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.item-details {
    display: flex;
    gap: 20px;
}

.item-image img {
    width: 120px;
    height: auto;
    border-radius: 4px;
}

.item-info .item-name {
    font-family: 'Jost', sans-serif !important;
    font-size: 20px;
    color: #282c3f;
    margin: 0 0 10px 0;
}

.item-info .item-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.item-info .item-attributes {
    font-size: 12px;
    color: #555;
    font-weight: 600;
    margin-bottom: 15px;
}

.item-quantity {
    justify-content: center !important;
    display: flex;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: color 0.3s;
}

.remove-item-btn:hover {
    color: #410b0b;
}

.remove-item-btn span {
    font-size: 16px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: fit-content;
    border-radius: 2px;
    background: #fff;
}

.qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-selector input {
    width: 40px;
    border: none;
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}

.item-price-wrapper {
    text-align: right;
}

.item-total-price {
    font-size: 18px;
    font-weight: 700;
    color: #282c3f;
}

.item-original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-top: 4px;
}

.item-save-tag {
    font-size: 11px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 6px;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-weight: 700;
    color: #410b0b;
    text-decoration: none;
    font-size: 14px;
}

.kamakhya-cart-summary {
    flex: 1;
    position: sticky;
    top: 100px;
}

.summary-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.summary-card h2 {
    font-family: 'Jost', sans-serif !important;
    font-size: 24px;
    margin-bottom: 25px;
    color: #282c3f;
}

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

.summary-row.discount span:last-child {
    color: #2e7d32;
    font-weight: 600;
}

.summary-row .free {
    color: #2e7d32;
    font-weight: 700;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.total-label span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #282c3f;
}

.total-label small {
    font-size: 10px;
    color: #999;
}

.total-value {
    font-size: 26px;
    font-weight: 800;
    color: #410b0b;
}

.proceed-to-checkout {
    display: block;
    width: 100%;
    background: #410b0b;
    color: #fff;
    text-align: center;
    padding: 18px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.proceed-to-checkout:hover {
    background: #5d1a1a;
}

.secure-checkout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-size: 11px;
    font-weight: 700;
    color: #888;
}

.secure-checkout span {
    font-size: 20px;
    color: #666;
}

.trust-badges {
    display: flex;
    gap: 10px;
}

.trust-badges span {
    font-size: 9px;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 2px;
}

/* Responsive Cart ama. */
@media (max-width: 1024px) {
    .kamakhya-cart-container {
        flex-direction: column;
		align-items: stretch;
    }
    .kamakhya-cart-main,
    .kamakhya-cart-summary {
        width: 100%;
        position: static;
        box-sizing: border-box;
    }
    
    .kamakhya-cart-summary {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .kamakhya-cart-title {
        font-size: 32px;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
        padding: 30px 0;
    }

    .item-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .item-image img {
        width: 100px;
    }

    .item-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .item-info .item-name {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .item-info .item-attributes {
        margin-bottom: 10px;
    }

    .item-quantity {
        justify-content: flex-start !important;
    }

    .qty-selector {
        margin: 0;
    }

    .item-price-wrapper {
        text-align: left;
    }
}
@media (max-width: 425px) {
    .kamakhya-cart-inner {
        padding: 30px var(--site-gutter) !important;
    }
}