/* ========== Equipment Cart Styles ========== */

.cart-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.cart-container {
    animation: fadeIn 0.5s ease;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.cart-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.clear-cart-btn {
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.clear-cart-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

/* Slim Cart Items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease;
    border: 1px solid #f1f1f1;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

/* ========== DESKTOP LAYOUT (768px and above) ========== */
@media (min-width: 768px) {
    .cart-item-mobile-header,
    .cart-item-mobile-content {
        display: none;
    }

    .cart-item-desktop {
        display: flex;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        min-height: 140px;
    }

    .cart-item-image {
        flex: 0 0 120px;
        height: 120px;
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .cart-item:hover .cart-item-image img {
        transform: scale(1.05);
    }

    .cart-item-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-width: 0;
        justify-content: space-between;
    }

    .cart-item-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .item-title-wrapper {
        flex: 1;
        min-width: 0;
    }

    .item-title {
        font-family: var(--primary-font);
        color: var(--primary-color);
        font-size: 1.1rem;
        margin: 0 0 0.25rem 0;
        line-height: 1.3;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .remove-item-btn {
        background: none;
        border: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        font-size: 0.9rem;
    }

    .remove-item-btn:hover {
        background: #dc3545;
        color: white;
        transform: rotate(90deg);
    }

    .item-content-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
        margin-top: 0.25rem;
    }

    .quantity-selector-single {
        flex: 1;
        max-width: 160px;
    }

    .quantity-selector-single label {
        display: block;
        font-family: "Roboto Mono", monospace;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        padding: 0.25rem;
    }

    .quantity-btn {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        background: white;
        border: 1px solid #e9ecef;
        color: var(--primary-color);
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .quantity-btn:hover {
        background: var(--accent-blue);
        color: white;
        border-color: var(--accent-blue);
    }

    .quantity-input {
        width: 50px;
        text-align: center;
        font-family: "Roboto Mono", monospace;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--primary-color);
        border: none;
        background: transparent;
        padding: 0.5rem;
        outline: none;
        -moz-appearance: textfield;
    }

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

    .selector-hint {
        margin-top: 0.25rem;
    }

    .selector-hint small {
        font-family: "Roboto Mono", monospace;
        color: #6c757d;
        font-size: 0.75rem;
    }

    .item-pricing {
        flex: 1;
        max-width: 250px;
    }

    .price-display {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .price-rate {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .price-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5rem;
        border-top: 1px solid #e9ecef;
        margin-top: 0.25rem;
    }

    .rate-label,
    .total-label {
        font-family: "Roboto Mono", monospace;
        font-size: 0.85rem;
        color: #6c757d;
    }

    .rate-value,
    .total-value {
        font-family: var(--primary-font);
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.9rem;
    }

    .total-value {
        color: var(--accent-orange);
        font-size: 1rem;
    }
}

/* ========== MOBILE LAYOUT (below 768px) ========== */
@media (max-width: 767px) {
    .cart-item-desktop {
        display: none;
    }

    .cart-item-mobile-header,
    .cart-item-mobile-content {
        display: block;
    }

    .cart-item {
        padding: 1rem;
    }

    /* Mobile Header: Image + Title in same row */
    .cart-item-mobile-header {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .cart-item-image-mobile {
        flex: 0 0 80px;
        height: 80px;
        border-radius: 6px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-item-image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-item-header-mobile {
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5rem;
        min-width: 0;
    }

    .item-title-mobile {
        font-family: var(--primary-font);
        color: var(--primary-color);
        font-size: 1rem;
        margin: 0 0 0.25rem 0;
        line-height: 1.3;
        font-weight: 600;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
    }

    .remove-item-btn-mobile {
        background: none;
        border: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        font-size: 0.85rem;
        margin-top: 0.1rem;
    }

    .remove-item-btn-mobile:hover {
        background: #dc3545;
        color: white;
        transform: rotate(90deg);
    }

    /* Mobile Content: Actions and Pricing below */
    .cart-item-mobile-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .item-actions-mobile {
        padding-bottom: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .quantity-selector-single {
        width: 100%;
    }

    .quantity-selector-single label {
        display: block;
        font-family: "Roboto Mono", monospace;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        padding: 0.25rem;
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
        border-radius: 4px;
        background: white;
        border: 1px solid #e9ecef;
        color: var(--primary-color);
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .quantity-btn:hover {
        background: var(--accent-blue);
        color: white;
        border-color: var(--accent-blue);
    }

    .quantity-input {
        width: 60px;
        text-align: center;
        font-family: "Roboto Mono", monospace;
        font-weight: 600;
        font-size: 1rem;
        color: var(--primary-color);
        border: none;
        background: transparent;
        padding: 0.5rem;
        outline: none;
        -moz-appearance: textfield;
    }

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

    .selector-hint {
        margin-top: 0.5rem;
    }

    .selector-hint small {
        font-family: "Roboto Mono", monospace;
        color: #6c757d;
        font-size: 0.8rem;
    }

    /* Mobile Pricing */
    .price-display-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        border-left: 2px solid var(--accent-blue);
    }

    .price-rate,
    .price-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .rate-label,
    .total-label {
        font-family: "Roboto Mono", monospace;
        font-size: 0.85rem;
        color: #6c757d;
    }

    .rate-value,
    .item-total-mobile- {
        font-family: var(--primary-font);
        font-weight: 600;
        color: var(--primary-color);
        font-size: 0.9rem;
    }

    .item-total-mobile- {
        color: var(--accent-orange);
        font-size: 1rem;
    }
}

/* ========== Order Summary Updates ========== */

.order-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
    border: 1px solid #f1f1f1;
}

.summary-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.summary-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

/* Booking Duration Selector */
.booking-duration-selector {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: "Roboto Mono", monospace;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.duration-type-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.duration-type-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px;
    font-family: var(--primary-font);
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.duration-type-btn:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.duration-type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.booking-section {
    animation: fadeIn 0.3s ease;
}

.duration-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duration-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.duration-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 57, 169, 0.25);
    outline: none;
}

.input-unit {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 0.9rem;
    min-width: 60px;
}

.duration-hint {
    margin-top: 0.5rem;
}

.duration-hint small {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.3;
}

.date-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.date-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 57, 169, 0.25);
    outline: none;
}

.days-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

.days-label {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
}

.days-value {
    font-family: var(--primary-font);
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Summary Details */
.summary-details {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.summary-item.total {
    border-bottom: none;
    border-top: 2px solid #e9ecef;
    margin-top: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 0;
}

.summary-item .label {
    font-family: "Roboto Mono", monospace;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.summary-item .value {
    font-family: var(--primary-font);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.summary-item.total .label {
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-item.total .value {
    font-size: 1.3rem;
    color: var(--accent-orange);
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.continue-shopping-btn {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.85rem;
    font-family: var(--primary-font);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.continue-shopping-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proceed-booking-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    font-family: var(--primary-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.proceed-booking-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.proceed-booking-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.summary-notice {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-blue);
}

.summary-notice p {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.summary-notice p:last-child {
    margin-bottom: 0;
}

.summary-notice i {
    color: var(--accent-blue);
    margin-top: 0.1rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #f1f1f1;
}

.empty-cart-icon {
    font-size: 3rem;
    color: #e9ecef;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.empty-cart-text {
    font-family: "Roboto Mono", monospace;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.browse-equipment-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-family: var(--primary-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.browse-equipment-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Toast Notifications */
.cart-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-toast {
    background: white;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 250px;
    max-width: 350px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-toast.success {
    border-left-color: #28a745;
}

.cart-toast.error {
    border-left-color: #dc3545;
}

.cart-toast.warning {
    border-left-color: #ffc107;
}

.cart-toast.info {
    border-left-color: var(--accent-blue);
}

.cart-toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--primary-font);
}

.cart-toast-content i {
    font-size: 1rem;
    flex-shrink: 0;
}

.cart-toast.success .cart-toast-content i {
    color: #28a745;
}

.cart-toast.error .cart-toast-content i {
    color: #dc3545;
}

.cart-toast.warning .cart-toast-content i {
    color: #ffc107;
}

.cart-toast.info .cart-toast-content i {
    color: var(--accent-blue);
}

.cart-toast-content span {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.cart-toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #adb5bd;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-toast-close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

/* Loading States */
.cart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .cart-item-desktop {
        min-height: 150px;
    }

    .cart-item-image {
        flex: 0 0 100px;
        height: 100px;
    }

    .item-content-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .quantity-selector-single,
    .item-pricing {
        max-width: 100%;
    }

    .price-display {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .price-rate {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .price-total {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .cart-section {
        padding: 40px 0;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .clear-cart-btn {
        align-self: flex-start;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .order-summary {
        padding: 1.25rem;
        position: static;
        margin-top: 1.5rem;
    }

    .summary-title {
        font-size: 1.1rem;
    }

    .duration-type-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
    }

    .duration-input,
    .date-input {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    .summary-item .label {
        font-size: 0.9rem;
    }

    .summary-item .value {
        font-size: 0.95rem;
    }

    .summary-item.total .label {
        font-size: 1rem;
    }

    .summary-item.total .value {
        font-size: 1.2rem;
    }

    .continue-shopping-btn,
    .proceed-booking-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .summary-notice p {
        font-size: 0.75rem;
    }

    .empty-cart {
        padding: 2.5rem 1.5rem;
        max-width: 350px;
    }

    .empty-cart-icon {
        font-size: 2.5rem;
    }

    .empty-cart-title {
        font-size: 1.2rem;
    }

    .empty-cart-text {
        font-size: 0.85rem;
    }

    .browse-equipment-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Very small screens (below 480px) */
@media (max-width: 479px) {
    .cart-item-image-mobile {
        flex: 0 0 70px;
        height: 70px;
    }

    .item-title-mobile {
        font-size: 0.95rem;
    }

    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .quantity-input {
        font-size: 0.9rem;
        width: 50px;
    }

    .rate-label,
    .rate-value,
    .total-label,
    .item-total-mobile- {
        font-size: 0.8rem;
    }

    .item-total-mobile- {
        font-size: 0.9rem;
    }

    .duration-type-buttons {
        flex-direction: column;
    }

    .duration-type-btn {
        width: 100%;
    }

    .cart-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        align-items: center;
    }

    .cart-toast {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
        border-radius: 6px;
    }

    .cart-toast-content span {
        font-size: 0.85rem;
    }

    .cart-toast-close {
        font-size: 1rem;
        width: 18px;
        height: 18px;
    }
}
