/* CSS responsive với thiết kế teen, tối ưu mobile */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #56ab2f;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.main-container {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

/* Header */
.header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-content {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex: 1;
}

.logo-section h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo {
    height: 40px;
    width: auto;
}

.slogan {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.cart-section {
    position: relative;
}

.cart-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.cart-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}


.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
}

.cart-count.show {
    display: flex;
}

/* Navigation Tabs */
.nav-tabs {
    background: white;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 84px; /* Height of sticky header */
    z-index: 99;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-tab {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 8px;
    background: var(--light-bg);
    border: none;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.nav-tab.active,
.nav-tab:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Content */
.content {
    padding: 20px;
    padding-bottom: 20px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(45deg, #f1f3f4, #e8eaed);
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn {
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

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

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 10px;
    padding-bottom: 80px; /* Extra space for mobile bottom bars */
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 120px); /* Account for mobile bars */
    overflow-y: auto;
    animation: modalSlideUp 0.3s ease;
    position: relative;
    margin: 10px auto;
    margin-bottom: 80px; /* Extra bottom margin for mobile */
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-right: 40px; /* Space for close button */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: var(--light-bg);
    color: #333;
}

.modal-body {
    padding: 15px 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: #fafbfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.error {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Toppings */
.toppings-section {
    margin-top: 20px;
}

.topping-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.topping-item:hover {
    background: #f0f2ff;
    border-color: var(--primary-color);
}

.topping-item.selected {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: var(--primary-color);
}


.topping-info {
    flex: 1;
}

.topping-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.topping-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.quantity-display {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Cart */
.cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Cart Items */
.cart-item {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e1e5e9;
}

.cart-item-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cart-item-name {
    font-weight: 600;
    flex: 1;
    margin-right: 10px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-toppings {
    margin-bottom: 10px;
}

.cart-topping {
    display: inline-block;
    background: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
}

.cart-item-controls {
    display: flex;
    justify-content: between;
    align-items: center;
}

.remove-item {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    background: #c0392b;
}

/* Order Summary */
.order-summary {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
    border: 2px solid var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.item-details {
    flex: 1;
    margin-right: 15px;
}

.item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.item-quantity {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.item-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: right;
    min-width: 80px;
}

.summary-row.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    align-items: center;
}

.summary-row.total .item-details,
.summary-row.total .item-price {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 20px 0;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Product Modal Header with Image */
.product-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.product-modal-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(45deg, #f1f3f4, #e8eaed);
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

.product-modal-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.product-modal-info h4 {
    margin: 0 0 4px 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.base-price {
    margin: 0;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.toppings-section {
    margin-bottom: 15px;
}

.toppings-section h6 {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.toppings-list {
    max-height: 200px;
    overflow-y: auto;
}

.topping-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.topping-item:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.topping-item.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.topping-checkbox-wrapper {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topping-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
    accent-color: var(--primary-color);
}

.topping-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topping-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.topping-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.quantity-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 12px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

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

.quantity-controls button {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
}

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

#modalQuantity {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.total-section {
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 15px 0;
}

.total-section strong {
    font-size: 1.2rem;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-footer .btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

/* Cart Modal Styles */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    background: white;
}

.cart-item-info {
    flex: 1;
    margin-right: 10px;
}

.cart-item-info h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.cart-item-info small {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 3px;
}

.cart-item-info .toppings-text {
    color: #007bff;
    font-style: normal;
}

.cart-item-info .unit-price {
    color: #666;
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 80px;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity button:hover {
    background: var(--primary-color);
    color: white;
}

.cart-item-quantity span {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.btn-remove {
    width: 28px;
    height: 28px;
    border: 1px solid var(--danger-color);
    background: white;
    color: var(--danger-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: var(--danger-color);
    color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Desktop Modal Fix */
@media (min-width: 768px) {
    .modal {
        padding: 40px;
    }
    
    .modal-content {
        max-width: 450px;
        margin: 0 auto;
    }
    
}

/* Large desktop */
@media (min-width: 1024px) {
    .floating-total {
        right: 30px;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
}

/* Mobile and small screens */
@media (max-width: 767px) {
    .floating-total {
        right: 15px;
        padding: 6px 12px;
        font-size: 0.85rem;
        border-radius: 15px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .main-container {
        max-width: 100%;
        border-radius: 0;
    }
    
    .floating-total {
        right: 10px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .content {
        padding: 15px;
        padding-bottom: 15px;
    }
    
    .nav-tabs {
        top: 80px; /* Smaller header height on mobile */
        padding: 12px 15px;
    }
    
    .website-footer {
        margin-top: 30px;
        padding: 25px 0 15px;
    }
    
    .footer-info h4 {
        font-size: 1.2rem;
    }
    
    .footer-contact p {
        font-size: 0.8rem;
    }
    
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .product-grid {
        gap: 12px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .modal {
        padding: 5px;
        padding-bottom: 100px; /* More space for mobile bottom bars */
    }
    
    .modal-content {
        margin: 5px;
        border-radius: 10px;
        max-height: calc(100vh - 140px); /* More conservative height on small screens */
        margin-bottom: 100px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-body {
        padding: 12px 15px;
    }
    
    .modal-title {
        font-size: 0.95rem;
    }
    
    .product-modal-header {
        padding: 10px 12px;
        margin-bottom: 12px;
        gap: 10px;
    }
    
    .product-modal-image {
        width: 50px;
        height: 50px;
    }
    
    .product-modal-info h4 {
        font-size: 0.95rem;
    }
    
    .base-price {
        font-size: 0.85rem;
    }
    
    .toppings-section {
        margin-bottom: 12px;
    }
    
    .toppings-section h6 {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .toppings-list {
        max-height: 150px; /* Shorter on mobile */
    }
    
    .topping-item {
        padding: 6px 10px;
        margin-bottom: 4px;
    }
    
    .quantity-section {
        margin: 12px 0;
        padding: 10px;
    }
    
    .quantity-controls button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .cart-icon {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }
}

/* Safe area support for phones with notches/home indicators */
@supports (padding: max(0px)) {
    .modal {
        padding-bottom: max(80px, env(safe-area-inset-bottom) + 60px);
    }
    
    .modal-content {
        margin-bottom: max(80px, env(safe-area-inset-bottom) + 60px);
    }
}

/* Extra small mobile screens (very old phones) */
@media (max-width: 360px) {
    .modal {
        padding: 2px;
        padding-bottom: 120px;
    }
    
    .modal-content {
        margin: 2px;
        max-height: calc(100vh - 160px);
        margin-bottom: 120px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-body {
        padding: 10px 12px;
    }
    
    .nav-tabs {
        top: 75px; /* Even smaller on very small screens */
        padding: 10px 12px;
    }
    
    .product-modal-header {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .product-modal-image {
        width: 45px;
        height: 45px;
        border-radius: 6px;
    }
    
    .product-placeholder {
        font-size: 1.2rem;
    }
    
    .product-modal-info h4 {
        font-size: 0.9rem;
    }
    
    .base-price {
        font-size: 0.8rem;
    }
    
    .toppings-list {
        max-height: 120px;
    }
    
    .topping-item {
        padding: 5px 8px;
        margin-bottom: 3px;
    }
    
    .topping-name {
        font-size: 0.85rem;
    }
    
    .topping-price {
        font-size: 0.8rem;
    }
    
    .quantity-section {
        margin: 10px 0;
        padding: 8px 10px;
    }
    
    .quantity-controls button {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .main-container {
        background: #1a1a1a;
        color: white;
    }
    
    .product-card {
        background: #2a2a2a;
        border-color: #333;
    }
    
    .modal-content {
        background: #2a2a2a;
        color: white;
    }
    
    .form-control {
        background: #333;
        border-color: #555;
        color: white;
    }
    
    .cart-item {
        background: #333;
    }
}

/* Animation for page transitions */
.page-enter {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Floating action styles */
.floating-total {
    position: fixed;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    z-index: 99;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.floating-total:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.floating-total.pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #666;
}

/* Pulse animation for attention */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Footer */
.website-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    margin-top: 40px;
    padding: 30px 0 20px;
}

.footer-content {
    padding: 0 20px;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-info > p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-contact {
    margin: 15px 0;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-contact i {
    width: 16px;
    text-align: center;
}

.footer-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 20px;
}

.footer-credits p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-credits a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-credits a:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}