.cart-container-mobile {
    padding: 16px;
    max-width: 100%;
    min-height: calc(100vh - 200px);
}

.cart-container-mobile h1 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #333;
}

.cart-items-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cart-item-mobile {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-item-header {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-item-image {
    flex-shrink: 0;
}

.mobile-item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.mobile-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-item-info h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.mobile-item-info h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-item-info h3 a:active {
    opacity: 0.7;
}

.mobile-item-category {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.mobile-item-price {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.mobile-item-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-quantity-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-quantity-section label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.mobile-quantity-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mobile-quantity-input {
    width: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-family);
}

.mobile-item-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.subtotal-label {
    font-size: 0.9rem;
    color: #666;
}

.subtotal-amount {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.mobile-item-actions {
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.mobile-remove-form {
    width: 100%;
}

.cart-summary-mobile {
    background-color: #f8f9fa;
    padding: 20px 16px;
    position: sticky;
    bottom: 0;
    margin: 0 -16px;
    width: calc(100% + 32px);
    justify-self: center;
}

.mobile-cart-total {
    text-align: center;
    margin-bottom: 16px;
}

.mobile-cart-total h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.mobile-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.empty-cart-mobile {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.empty-cart-mobile h2 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.empty-cart-mobile p {
    color: #888;
    margin-bottom: 30px;
}

.btn-mobile {
    width: 100%;
    padding: 14px 20px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

.btn-mobile:active {
    transform: scale(0.98);
}

.btn-mobile-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-mobile-primary:active {
    background-color: var(--primary-color-dark);
}

.btn-mobile-secondary {
    background-color: var(--neutral-color);
    color: white;
    width: auto;
    padding: 10px 20px;
}

.btn-mobile-secondary:active {
    background-color: var(--neutral-color-dark);
}

.btn-mobile-danger {
    background-color: var(--negative-color);
    color: white;
}

.btn-mobile-danger:active {
    background-color: var(--negative-color-dark);
}

.btn-mobile-outline-danger {
    background-color: transparent;
    color: var(--negative-color);
    border: 2px solid var(--negative-color);
}

.btn-mobile-outline-danger:active {
    background-color: var(--negative-color);
    color: white;
}

.btn-mobile-large {
    padding: 16px 24px;
    font-size: 1.1rem;
}
