/* ==========================================
   BRIGLOW CART PAGE STYLES - MODERN DESIGN
   ========================================== */

/* Cart Hero Section */
.cart-hero {
    background: linear-gradient(135deg, #B8935C 0%, #8B6F47 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cart-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.cart-hero-content {
    position: relative;
    z-index: 1;
}

.cart-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.cart-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Cart Container */
.cart-container {
    padding: 140px 0 60px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Cart Steps Indicator */
.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.cart-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cart-step.active .step-number {
    background: #2c3e50;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

.cart-step.active .step-label {
    color: #2c3e50;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px 20px;
}

/* Cart Wrapper */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Cart Main Section */
.cart-main-section {
    background: transparent;
}

/* Selection Header */
.cart-selection-header {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.select-all-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2c3e50;
}

.select-all-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.cart-actions-group {
    display: flex;
    gap: 12px;
}

.btn-cart-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart-action:hover {
    background: #f8f9fa;
    border-color: #B8935C;
    color: #B8935C;
}

.btn-cart-action.btn-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    opacity: 0.3;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 12px;
    font-weight: 600;
}

.empty-cart p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0 0 30px;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #B8935C;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background: #8B6F47;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 147, 92, 0.4);
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cart Item Card */
.cart-item-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 120px 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cart-item-select {
    display: flex;
    align-items: center;
}

.cart-item-image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.cart-item-meta svg {
    flex-shrink: 0;
}

.stock-info {
    color: #22c55e;
    font-weight: 500;
}

.cart-item-delivery {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 500;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-price-box {
    text-align: right;
}

.original-price {
    font-size: 0.85rem;
    color: #95a5a6;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f8f9fa;
    color: #B8935C;
}

.qty-input {
    width: 45px;
    height: 32px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

.btn-remove-cart-item {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #7f8c8d;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-cart-item:hover {
    background: #fee;
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Cart Sidebar */
.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Card */
.cart-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px;
}

/* Coupons Section */
.coupon-input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: #B8935C;
    box-shadow: 0 0 0 3px rgba(184, 147, 92, 0.1);
}

.btn-apply-coupon {
    padding: 10px 20px;
    background: linear-gradient(135deg, #B8935C 0%, #8B6F47 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 147, 92, 0.3);
}

.coupon-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
}

.coupon-code {
    flex: 1;
    font-weight: 600;
    color: #16a34a;
    font-size: 0.95rem;
}

.btn-remove-coupon {
    background: transparent;
    border: none;
    color: #7f8c8d;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove-coupon:hover {
    color: #e74c3c;
}

.coupon-message {
    font-size: 0.85rem;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
}

.coupon-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #86efac;
}

.coupon-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Gifting Section */
.gifting-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px;
}

.gifting-subtext {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0 0 12px;
}

.btn-add-gift {
    display: inline-block;
    color: #B8935C;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-add-gift:hover {
    color: #8B6F47;
    text-decoration: underline;
}

/* Price Details */
.price-details {
    border-top: 3px solid #f0f0f0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-label {
    color: #7f8c8d;
    font-weight: 500;
}

.price-value {
    color: #2c3e50;
    font-weight: 600;
}

.price-row.discount .price-label {
    color: #22c55e;
}

.discount-value {
    color: #22c55e !important;
}

.price-row .free {
    color: #22c55e !important;
    font-weight: 700;
}

.price-row.total {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
    margin-top: 15px;
}

.price-row.total .price-label {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
}

.price-row.total .price-value {
    font-size: 1.4rem;
    color: #B8935C;
    font-weight: 700;
}

/* Checkout Form */
.checkout-form {
    position: sticky;
    top: 100px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-label .required {
    color: #e74c3c;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Urbanist', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #B8935C;
    box-shadow: 0 0 0 3px rgba(184, 147, 92, 0.1);
}

.form-input::placeholder {
    color: #bdc3c7;
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

.recaptcha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.recaptcha-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fef5f5;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
    text-align: center;
}

.btn-place-order {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-place-order:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.btn-place-order:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast-info {
    border-left: 4px solid #3498db;
}

.toast-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

.toast-success .toast-icon {
    color: #27ae60;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-info .toast-icon {
    color: #3498db;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cart-wrapper {
        grid-template-columns: 1fr 380px;
    }
}

@media (max-width: 992px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-form {
        position: static;
    }

    .cart-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .cart-container {
        padding: 120px 0 40px;
        overflow-x: hidden;
    }

    .cart-container .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .cart-wrapper {
        gap: 12px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow-x: hidden;
    }

    .cart-hero {
        padding: 100px 0 40px;
    }

    .cart-hero-title {
        font-size: 1.75rem;
    }

    .cart-steps {
        gap: 0;
        margin-bottom: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #B8935C #f0f0f0;
    }

    .cart-steps::-webkit-scrollbar {
        height: 4px;
    }

    .cart-steps::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

    .cart-steps::-webkit-scrollbar-thumb {
        background: #B8935C;
        border-radius: 2px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .step-line {
        width: 40px;
        min-width: 40px;
    }

    .cart-selection-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 12px;
        margin: 0 12px 12px 12px;
        border-radius: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .select-all-label {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .cart-actions-group {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .btn-cart-action {
        flex: 0 0 auto;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.85rem;
        min-width: 100px;
        white-space: nowrap;
    }

    .cart-items-list {
        gap: 12px;
        padding: 0 12px;
        overflow-x: hidden;
    }

    .cart-item-card {
        grid-template-columns: auto 75px 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        padding: 10px;
        padding-top: 32px;
        position: relative;
        border-radius: 8px;
        overflow: visible;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cart-item-select {
        grid-row: 1 / 2;
        align-self: start;
        padding-top: 2px;
    }

    .cart-item-select .cart-checkbox {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .cart-item-image-wrapper {
        width: 75px;
        height: 75px;
        grid-row: 1 / 2;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .cart-item-info {
        grid-row: 1 / 2;
        gap: 4px;
        min-width: 0;
        overflow: hidden;
        padding-right: 28px;
    }

    .cart-item-title {
        font-size: 0.88rem;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
        word-break: break-word;
        margin: 0;
        padding: 0;
    }

    .cart-item-meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cart-item-meta::-webkit-scrollbar {
        display: none;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid #f0f0f0;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cart-item-actions::-webkit-scrollbar {
        display: none;
    }

    .cart-item-price-box {
        order: 1;
        flex-shrink: 0;
    }

    .current-price {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .original-price {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .cart-item-qty {
        order: 2;
        flex-shrink: 0;
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .qty-input {
        width: 40px;
        font-size: 0.85rem;
        padding: 6px 4px;
        text-align: center;
        flex-shrink: 0;
    }

    .btn-remove-cart-item {
        position: absolute;
        top: 6px;
        right: 6px;
        border: none;
        padding: 4px;
        color: #95a5a6;
        background: transparent;
        z-index: 1;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-remove-cart-item svg {
        width: 16px;
        height: 16px;
    }

    .btn-remove-cart-item:hover {
        color: #e74c3c;
        background: #fee;
        border-radius: 6px;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .cart-card {
        padding: 14px;
        border-radius: 8px;
        margin: 0 0 12px 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .card-header {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .coupon-input-wrapper {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .coupon-input {
        width: 100%;
        font-size: 0.88rem;
        padding: 10px;
        box-sizing: border-box;
    }

    .btn-apply-coupon {
        width: 100%;
        padding: 11px;
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .price-row {
        font-size: 0.88rem;
        padding: 8px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .price-row::-webkit-scrollbar {
        display: none;
    }

    .price-row.total {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .price-label,
    .price-value {
        white-space: nowrap;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-label {
        font-size: 0.88rem;
        margin-bottom: 6px;
    }

    .form-input {
        font-size: 0.88rem;
        padding: 11px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-textarea {
        min-height: 80px;
    }

    .btn-place-order {
        font-size: 0.92rem;
        padding: 13px 20px;
        width: 100%;
    }

    .toast-notification {
        left: 12px;
        right: 12px;
        top: 80px;
        transform: translateY(-100px);
        padding: 12px 14px;
    }

    .toast-notification.show {
        transform: translateY(0);
    }

    .toast-message {
        font-size: 0.85rem;
    }

    /* Fix for recaptcha */
    .recaptcha-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0 -14px;
        padding: 0 14px;
        -webkit-overflow-scrolling: touch;
    }

    .g-recaptcha {
        transform: scale(0.95);
        transform-origin: 0 0;
        min-width: 304px;
    }
}

@media (max-width: 480px) {
    .cart-container .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cart-steps {
        padding: 0 10px;
    }

    .cart-selection-header {
        padding: 10px;
        margin: 0 10px 10px 10px;
    }

    .cart-items-list {
        padding: 0 10px;
    }

    .cart-item-card {
        padding: 8px;
        padding-top: 30px;
        gap: 8px;
        grid-template-columns: auto 70px 1fr;
    }

    .cart-item-image-wrapper {
        width: 70px;
        height: 70px;
    }

    .cart-item-info {
        gap: 3px;
        padding-right: 26px;
    }

    .cart-item-title {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .current-price {
        font-size: 0.9rem;
    }

    .original-price {
        font-size: 0.7rem;
    }

    .cart-item-meta {
        flex-wrap: wrap;
        font-size: 0.7rem;
        gap: 4px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .qty-input {
        width: 38px;
        font-size: 0.8rem;
        padding: 5px 2px;
    }

    .cart-sidebar {
        padding: 0 10px;
    }

    .cart-card {
        padding: 12px;
        margin-bottom: 10px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-header {
        font-size: 0.9rem;
    }

    .coupon-input {
        font-size: 0.85rem;
        padding: 9px;
    }

    .btn-apply-coupon {
        padding: 10px;
        font-size: 0.85rem;
    }

    .price-row {
        font-size: 0.85rem;
    }

    .price-row.total {
        font-size: 0.92rem;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-input {
        font-size: 0.85rem;
        padding: 10px;
    }

    .btn-place-order {
        font-size: 0.88rem;
        padding: 12px 18px;
    }

    .g-recaptcha {
        transform: scale(0.85);
    }
}

@media (max-width: 375px) {
    .cart-container .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cart-steps {
        padding: 0 8px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-line {
        width: 35px;
    }

    .cart-selection-header {
        padding: 8px;
        margin: 0 8px 8px 8px;
    }

    .select-all-label {
        font-size: 0.85rem;
    }

    .btn-cart-action {
        padding: 8px 10px;
        font-size: 0.8rem;
        min-width: 90px;
    }

    .cart-items-list {
        padding: 0 8px;
        gap: 10px;
    }

    .cart-item-card {
        grid-template-columns: auto 65px 1fr;
        padding: 8px;
        padding-top: 28px;
        gap: 6px;
    }

    .cart-item-select .cart-checkbox {
        width: 16px;
        height: 16px;
    }

    .cart-item-image-wrapper {
        width: 65px;
        height: 65px;
    }

    .cart-item-info {
        padding-right: 24px;
        gap: 2px;
    }

    .cart-item-title {
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .cart-item-meta {
        font-size: 0.68rem;
    }

    .cart-item-actions {
        margin-top: 4px;
        padding-top: 6px;
        gap: 8px;
    }

    .current-price {
        font-size: 0.85rem;
    }

    .original-price {
        font-size: 0.68rem;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .qty-input {
        width: 35px;
        font-size: 0.78rem;
        padding: 4px 2px;
    }

    .btn-remove-cart-item {
        top: 5px;
        right: 5px;
        width: 22px;
        height: 22px;
        padding: 3px;
    }

    .btn-remove-cart-item svg {
        width: 14px;
        height: 14px;
    }

    .cart-sidebar {
        padding: 0 8px;
    }

    .cart-card {
        padding: 10px;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-header {
        font-size: 0.85rem;
    }

    .coupon-input {
        font-size: 0.82rem;
        padding: 8px;
    }

    .btn-apply-coupon {
        padding: 9px;
        font-size: 0.82rem;
    }

    .price-row {
        font-size: 0.82rem;
        padding: 6px 0;
    }

    .price-row.total {
        font-size: 0.88rem;
    }

    .form-label {
        font-size: 0.82rem;
    }

    .form-input {
        font-size: 0.82rem;
        padding: 9px;
    }

    .btn-place-order {
        font-size: 0.85rem;
        padding: 11px 16px;
    }

    .g-recaptcha {
        transform: scale(0.77);
    }

    .recaptcha-wrapper {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .toast-notification {
        left: 8px;
        right: 8px;
        padding: 10px 12px;
    }
}