/* 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: 1 1 60%;
}

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

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

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

.cart-img-wrapper {
    width: 98px;
    height: 98px;
    background-color: #f4f5f7;
    border-radius: 6px;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

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

.cart-product-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 31px;
    color: #0f172a;
}

.cart-product-description {
    font-size: 14px;
    font-weight: 400;
    color: #444748;
    line-height: 24px;
    margin-bottom: 10px;
}

.cart-product-price {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1d;
    line-height: 31px;

}

.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: 500;
    color: #15803d;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.qty-btn-sub,
.qty-btn-add {
    width: 20px;
    height: 100%;
    border: none;
    background: transparent;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 16px;
    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: 48px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    outline: 0;
    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: 500;
    color: #b91c1c;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-link:hover {
    color: #991b1b;
    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: #0F172A;
    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 img {
    height: 16px;
    object-fit: contain;
}

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

.secure-packaging-note {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    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: 10px;
    width: 100%;
}

.saved-card-img-box {
    width: 98px;
    height: 98px;
    background-color: #f5f5f7 !important;
    border-radius: 4px;
    display: flex;
    padding: 0px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.saved-item-img {
    max-height: 98px;
    max-width: 100%;
    object-fit: cover;

}

.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: 31px;
}

.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: 8px;
    flex-wrap: wrap;
}

.saved-items-container {
    gap: 8px;
}

.btn-move-basket {
    border: 1px solid #3b82f6;
    color: #2563eb;
    background: #ffffff;
    font-weight: 500;
    font-size: 8px;
    padding: 8px;
    border-radius: 4px;
    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: 8px;
    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;
}

/* Responsive handling moved to Bootstrap utility classes in HTML */

/* Custom Utility Classes from Inline Style Removal */
.border-slate-200 {
    border-color: #e2e8f0 !important;
}

.border-slate-300 {
    border-color: #cbd5e1 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.or-text {
    color: #94a3b8;
}

.btn-checkout {
    background-color: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
    color: white;
}

.btn-checkout:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: white;
}

.btn-checkout:focus,
.btn-checkout:focus-visible,
.btn-checkout:active,
.btn-checkout:active:focus {
    background-color: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
    color: white !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
    outline: none;
}

.order-summary-block {
    z-index: 90 !important;
    top: 80px;
}