/* Cart Page Specific Styles - 1:1 Match to Cart (1).png Mockup */

.cart-bg {
    background-color: #f8fafc;
    min-height: 80vh;
}

/* Breadcrumb */
.cart-breadcrumb {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2rem;
}

.cart-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-breadcrumb a:hover {
    color: #0f172a;
}

/* Table Header */
.cart-table-header {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.cart-col-prod {
    flex: 0 0 52%;
}

.cart-col-prc {
    flex: 0 0 16%;
    text-align: center;
}

.cart-col-quantity {
    flex: 0 0 16%;
    text-align: center;
}

.cart-col-subtotal {
    flex: 0 0 16%;
    text-align: right;
}

/* Cart Item Row */
.cart-item-block {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cart-img-wrapper {
    width: 110px;
    height: 110px;
    background-color: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-img-wrapper img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.cart-item-subtext {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.stock-status {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.stock-status.in-stock {
    color: #16a34a;
}

.stock-status.out-of-stock {
    color: #dc2626;
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.in-stock .stock-dot {
    background-color: #16a34a;
}

.out-of-stock .stock-dot {
    background-color: #dc2626;
}

.price-text {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

/* Quantity Control Box */
.qty-action-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.save-for-later-link {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
    transition: color 0.2s;
}

.save-for-later-link:hover {
    color: #15803d;
    text-decoration: underline;
}

.qty-counter-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    height: 36px;
}

.qty-btn-sub, .qty-btn-add {
    width: 32px;
    height: 100%;
    border: none;
    background: transparent;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn-sub:hover, .qty-btn-add:hover {
    background-color: #f1f5f9;
}

.qty-val-input {
    width: 36px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    -moz-appearance: textfield;
}

.qty-val-input::-webkit-outer-spin-button,
.qty-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove-link {
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.total-price-text {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.continue-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.2s ease;
}

.continue-shopping-link:hover {
    color: #1d4ed8;
    transform: translateX(-4px);
}

/* Order Summary Box */
.order-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.summary-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.75rem;
}

.summary-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
    margin-bottom: 1rem;
}

.summary-item-val {
    font-weight: 700;
    color: #0f172a;
}

.estimated-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}

.estimated-label {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.estimated-amount {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.btn-proceed-checkout {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    border: none;
    width: 100%;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-proceed-checkout:hover {
    background-color: #1d4ed8;
    color: #ffffff;
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 1rem 0;
}

.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.or-divider::before {
    margin-right: 0.75rem;
}

.or-divider::after {
    margin-left: 0.75rem;
}

.btn-paypal-checkout {
    background-color: #ffc439;
    color: #000000;
    font-weight: 800;
    font-size: 17px;
    font-style: italic;
    padding: 0.75rem 1.5rem;
    border-radius: 0.6rem;
    border: none;
    width: 100%;
    transition: background-color 0.2s ease;
}

.btn-paypal-checkout:hover {
    background-color: #f5b723;
}

.secure-packaging-note {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.secure-packaging-note i {
    font-size: 1.25rem;
    color: #475569;
    margin-top: 0.15rem;
}

.secure-note-heading {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.secure-note-text {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

.guarantee-text {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-top: 1.5rem;
}

/* Saved For Later Section - 1:1 Compact Layout Match */
.saved-later-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background-color: #faf9f9;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.saved-card-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.saved-card-img-box {
    width: 95px;
    height: 95px;
    background-color: #f4f1f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saved-card-img-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.saved-card-content {
    flex: 1;
    min-width: 0;
}

.saved-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.saved-card-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.saved-actions-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-move-basket {
    border: 1px solid #3b82f6;
    color: #2563eb;
    background: #ffffff;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.03em;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-move-basket:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.saved-actions-row .remove-link {
    font-size: 10px;
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.saved-actions-row .remove-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Trust Features Grid */
.trust-features-bar {
    background-color: #ffffff;
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    text-align: center;
    padding: 0 0.5rem;
}

.trust-item-icon {
    font-size: 1.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.trust-item-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.trust-item-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .cart-table-header {
        display: none;
    }

    .cart-item-block {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .cart-col-prod {
        width: 100%;
        margin-bottom: 1.25rem;
    }

    .cart-col-prc, .cart-col-quantity, .cart-col-subtotal {
        width: 100%;
        text-align: left;
        margin-bottom: 0.75rem;
    }

    .qty-action-column {
        align-items: flex-start;
    }
}