/* Cart Page Styling */
.cart-items-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.cart-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #212529;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.item-placeholder {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-name {
    color: #212529;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.item-type {
    background: #212529;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.appointment-details, .staff-details {
    margin-top: 0.5rem;
}

.appointment-info, .staff-info {
    color: #212529;
    font-weight: 500;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.item-price, .item-total {
    text-align: center;
}

.price-label, .quantity-label, .total-label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.price-value, .total-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
}

.quantity-controls {
    text-align: center;
}

.quantity-input {
    text-align: center;
    border-color: #212529;
    max-width: 70px;
}

.quantity-input:focus {
    border-color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.25);
}

.quantity-display {
    text-align: center;
}

.quantity-badge {
    display: inline-block;
    background: #212529;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.treatment-unique-notice {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.treatment-unique-notice small {
    font-weight: 500;
    color: #6c757d;
}

.remove-btn {
    border-color: #dc3545;
    color: #dc3545;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Cart Actions */
.cart-actions {
    margin-top: 2rem;
}

.cart-actions .btn {
    transition: all 0.2s ease;
    font-weight: 400;
    border-radius: 6px;
    font-size: 0.9rem;
}

.cart-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #212529;
    position: sticky;
    top: 2rem;
}

.summary-title {
    color: #212529;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.summary-details {
    margin-bottom: 2rem;
}

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

.summary-row:last-child {
    border-bottom: none;
}

.summary-divider {
    border-color: #212529;
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
}

.total-amount {
    font-size: 1.5rem;
    color: #212529;
}

.checkout-section {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.checkout-note {
    color: #6c757d;
    font-style: italic;
}

/* Payment Info */
.payment-info {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.payment-title {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-methods i {
    font-size: 2rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: #212529;
}

.security-text {
    color: #6c757d;
    font-weight: 500;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.empty-cart-icon i {
    font-size: 5rem;
    color: #e9ecef;
    margin-bottom: 2rem;
}

.empty-cart-title {
    color: #212529;
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-cart-text {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-cart-actions .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.empty-cart-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Recommended Section */
.recommended-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 3rem;
}

.section-title {
    color: #212529;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.coming-soon {
    padding: 3rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item a {
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #495057;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Button Styling */
.btn-dark {
    background-color: #212529;
    border-color: #212529;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #1a1e21;
    border-color: #1a1e21;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-dark {
    background-color: transparent;
    border-color: #212529;
    color: #212529;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #212529;
    border-color: #212529;
    color: white;
    transform: translateY(-1px);
}

/* Friendly remove buttons - subtle and clean */
.remove-btn-friendly {
    background: transparent !important;
    border: 1px solid #dee2e6 !important;
    color: #6c757d !important;
    padding: 0.4rem 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-size: 0.8rem !important;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.remove-btn-friendly:hover {
    background: #fff5f5 !important;
    border-color: #f87171 !important;
    color: #dc2626 !important;
    transform: scale(1.05) !important;
}

.remove-btn-friendly:focus {
    box-shadow: 0 0 0 0.15rem rgba(239, 68, 68, 0.2) !important;
    outline: none !important;
}

.remove-btn-friendly:active {
    transform: scale(0.95) !important;
}

/* Legacy styles (keep for backwards compatibility) */
.remove-btn-mobile,
.remove-btn-desktop {
    border: none !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.8rem !important;
    color: #6c757d !important;
    background: none !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 4px !important;
}

.remove-btn-mobile:hover,
.remove-btn-desktop:hover {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    text-decoration: none !important;
    transform: none !important;
}

.remove-btn-mobile:focus,
.remove-btn-desktop:focus {
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.2) !important;
    outline: none !important;
}

.remove-btn-mobile i,
.remove-btn-desktop i {
    font-size: 0.7rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-items-section {
        padding: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }
    
    /* Compact horizontal layout like MediaMarkt */
    .cart-item .row {
        align-items: center;
    }
    
    .cart-item .col-md-2:first-child {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    .cart-item .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 0.75rem;
    }
    
    .cart-item .col-md-2.text-center {
        display: none; /* Hide separate quantity section */
    }
    
    .cart-item .col-md-2.text-end {
        flex: 0 0 30%;
        max-width: 30%;
        text-align: right;
    }
    
    .item-image, .item-placeholder {
        width: 70px;
        height: 70px;
        border-radius: 8px;
    }
    
    .item-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
        font-weight: 600;
    }
    
    .item-type {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        display: inline-block;
        margin-bottom: 0.25rem;
    }
    
    .appointment-details, .staff-details {
        margin-top: 0.25rem;
    }
    
    .appointment-info, .staff-info {
        font-size: 0.7rem;
        padding: 0.1rem 0.3rem;
        display: block;
        margin-bottom: 0.1rem;
    }
    
    /* Compact right section with price and actions */
    .cart-item .col-md-2.text-end {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .item-total {
        text-align: right;
    }
    
    .total-value {
        font-size: 1.2rem;
        font-weight: 700;
        color: #212529;
        margin-bottom: 0.25rem;
    }
    
    /* Quantity controls inline for products */
    .quantity-form {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .quantity-input {
        max-width: 50px;
        font-size: 0.8rem;
        padding: 0.2rem;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .quantity-form .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .treatment-unique-notice {
        font-size: 0.7rem;
        color: #6c757d;
        margin-bottom: 0.25rem;
    }
    
    .remove-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    
    /* Mobile remove button styling */
    .remove-btn-mobile {
        font-size: 0.75rem !important;
        padding: 0.2rem 0.4rem !important;
        text-align: center;
        width: 100%;
    }
    
    .remove-btn-desktop {
        font-size: 0.75rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .cart-summary {
        margin-top: 2rem;
        position: static;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
    }
    
    .empty-cart-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cart-actions .btn {
        margin-bottom: 1rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .cart-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    /* Even more compact for very small screens */
    .cart-item .col-md-2:first-child {
        flex: 0 0 18%;
        max-width: 18%;
    }
    
    .cart-item .col-md-4 {
        flex: 0 0 52%;
        max-width: 52%;
        padding-left: 0.5rem;
    }
    
    .cart-item .col-md-2.text-end {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .item-image, .item-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .item-name {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .item-type {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .appointment-info, .staff-info {
        font-size: 0.65rem;
        padding: 0.05rem 0.25rem;
    }
    
    .total-value {
        font-size: 1.1rem;
    }
    
    .quantity-input {
        max-width: 45px;
        font-size: 0.75rem;
        padding: 0.15rem;
    }
    
    .quantity-form .btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.65rem;
    }
    
    .treatment-unique-notice {
        font-size: 0.65rem;
    }
    
    .remove-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .cart-items-section h4 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .summary-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .empty-cart-icon i {
        font-size: 3rem;
    }
    
    .empty-cart-title {
        font-size: 1.4rem;
    }
}

/* Mobile Cart Item Styling */
.mobile-cart-item {
    padding: 1rem;
}

.item-image-mobile {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.item-placeholder-mobile {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-name-mobile {
    color: #212529;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.item-type-mobile {
    background: #212529;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.appointment-details-mobile, .staff-details-mobile {
    margin-top: 0.25rem;
}

.appointment-info-mobile, .staff-info-mobile {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.75rem;
    background: white;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

.mobile-price, .mobile-total {
    text-align: center;
}

.mobile-quantity {
    text-align: center;
}

.quantity-controls-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

.quantity-display-mobile {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    min-width: 30px;
    text-align: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Desktop Quantity Controls */
.quantity-controls-desktop {
    text-align: center;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.quantity-display {
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
    min-width: 40px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-items-section {
        padding: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .cart-summary {
        margin-top: 2rem;
        position: static;
    }
}

/* Loading state */
.quantity-loading {
    opacity: 0.6;
    pointer-events: none;
}

.quantity-loading .quantity-btn {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
} 