/* Navbar Styles for Combo Pages */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--background, #000);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text, #fff);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color, #00ff00);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-icon {
    color: var(--text, #fff);
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--primary-color, #00ff00);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color, #00ff00);
    color: var(--background, #000);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text, #fff);
    transition: all 0.3s ease;
}

/* Combo Details Page Styles */
.combo-details-section {
    padding: 2rem 0;
    min-height: 60vh;
}

.combo-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted, #999);
}

.breadcrumb a {
    color: var(--primary-color, #00ff00);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text, #fff);
}

.combo-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Combo Images */
.combo-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface, #1a1a1a);
    border: 1px solid var(--border, #333);
}

.main-combo-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.combo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color, #00ff00);
    color: var(--background, #000);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.thumbnail-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--surface, #1a1a1a);
}

.thumbnail-images img:hover {
    border-color: var(--primary-color, #00ff00);
    transform: scale(1.05);
}

.thumbnail-images img.active {
    border-color: var(--primary-color, #00ff00);
}

/* Combo Info */
.combo-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.combo-info h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--text, #fff);
    line-height: 1.2;
}

.combo-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-muted, #999);
    text-decoration: line-through;
}

.combo-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color, #00ff00);
}

.savings {
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-color, #00ff00);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.combo-description {
    padding: 1.5rem;
    background: var(--surface, #1a1a1a);
    border-radius: 12px;
    border: 1px solid var(--border, #333);
}

.combo-description h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text, #fff);
}

.combo-description p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-muted, #ccc);
}

/* Combo Items List */
.combo-items-section {
    padding: 1.5rem;
    background: var(--surface, #1a1a1a);
    border-radius: 12px;
    border: 1px solid var(--border, #333);
}

.combo-items-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text, #fff);
}

.combo-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--border, #333);
}

.combo-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.combo-item-details {
    flex: 1;
}

.combo-item-name {
    font-weight: 600;
    color: var(--text, #fff);
    margin-bottom: 0.25rem;
}

.combo-item-brand {
    font-size: 0.9rem;
    color: var(--text-muted, #999);
}

.combo-item-price {
    font-weight: 600;
    color: var(--primary-color, #00ff00);
    font-size: 1.1rem;
}

/* Size Selection */
.size-selection-section {
    padding: 1.5rem;
    background: var(--surface, #1a1a1a);
    border-radius: 12px;
    border: 1px solid var(--border, #333);
}

.size-selection-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text, #fff);
}

#sizeSelectionsContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-size-selection {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.item-size-selection h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: var(--text, #fff);
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.5rem;
}

.size-option {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.size-option:hover:not(:disabled) {
    border-color: var(--primary-color, #00ff00);
    border-width: 2px;
    transform: translateY(-2px);
}

.size-option.selected {
    background: var(--primary-color, #00ff00);
    color: #000;
    border-color: var(--primary-color, #00ff00);
    border-width: 2px;
    font-weight: 700;
}

.size-option:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Quantity Section */
.quantity-section {
    padding: 1.5rem;
    background: var(--surface, #1a1a1a);
    border-radius: 12px;
    border: 1px solid var(--border, #333);
}

.quantity-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text, #fff);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border, #333);
    background: var(--surface, #1a1a1a);
    color: var(--text, #fff);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary-color, #00ff00);
    color: var(--primary-color, #00ff00);
}

.quantity-controls input {
    width: 80px;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--border, #333);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text, #fff);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-add-to-cart,
.btn-buy-now {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart {
    background: var(--surface, #1a1a1a);
    color: var(--text, #fff);
    border: 2px solid var(--primary-color, #00ff00);
}

.btn-add-to-cart:hover {
    background: var(--primary-color, #00ff00);
    color: var(--background, #000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.btn-buy-now {
    background: var(--primary-color, #00ff00);
    color: var(--background, #000);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.4);
}

/* Additional Info */
.additional-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface, #1a1a1a);
    border-radius: 12px;
    border: 1px solid var(--border, #333);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted, #ccc);
}

.info-item i {
    color: var(--primary-color, #00ff00);
    font-size: 1.2rem;
}

/* Responsive Design for Combo Details */
@media (max-width: 768px) {
    .combo-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .combo-info h1 {
        font-size: 1.5rem;
    }

    .combo-price-value {
        font-size: 1.5rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .size-options {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    }

    .size-option {
        padding: 0.625rem;
        font-size: 0.85rem;
        min-width: 50px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

@media (max-width: 480px) {
    .combo-details-section {
        padding: 1rem 0;
    }

    .combo-info h1 {
        font-size: 1.3rem;
    }

    .combo-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .combo-description,
    .combo-items-section,
    .size-selection-section,
    .quantity-section,
    .additional-info {
        padding: 1rem;
    }
}

/* Combos Collection Page */
.combos-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.combos-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.combos-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Filters Section */
.filters-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filters-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 150px;
}

/* Combo Card */
.combo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.combo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.combo-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.combo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.combo-card:hover .combo-card-image img {
    transform: scale(1.05);
}

.combo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
}

.combo-items-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.combo-card-content {
    padding: 20px;
}

.combo-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.combo-items-preview {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.combo-item-tag {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.combo-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.combo-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.combo-sale-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.combo-savings {
    background: #ffeaa7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #d63031;
}

.combo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-combo-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.view-combo-btn:hover {
    background: #5568d3;
}

/* Combo Details Page */
.combo-details-section {
    padding: 40px 0;
    min-height: 60vh;
}

.combo-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.combo-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Images Section */
.combo-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-combo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #667eea;
}

/* Combo Info */
.combo-info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.combo-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.combo-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.savings {
    background: #ffeaa7;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    color: #d63031;
}

.combo-description {
    margin-bottom: 30px;
}

.combo-description h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.combo-description p {
    color: #666;
    line-height: 1.6;
}

/* Combo Items List */
.combo-items-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.combo-items-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.combo-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.combo-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.combo-item-details {
    flex: 1;
}

.combo-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.combo-item-brand {
    font-size: 14px;
    color: #666;
}

.combo-item-price {
    font-weight: 600;
    color: #667eea;
}

/* Size Selection */
.size-selection-section {
    margin-bottom: 30px;
}

.size-selection-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

#sizeSelectionsContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.size-selection-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.size-selection-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.size-option:hover {
    border-color: #667eea;
}

.size-option.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.size-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Quantity Section */
.quantity-section {
    margin-bottom: 30px;
}

.quantity-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

#quantity {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-to-cart,
.btn-buy-now {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-to-cart {
    background: #667eea;
    color: white;
}

.btn-add-to-cart:hover {
    background: #5568d3;
}

.btn-buy-now {
    background: #2ecc71;
    color: white;
}

.btn-buy-now:hover {
    background: #27ae60;
}

/* Additional Info */
.additional-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.info-item i {
    color: #667eea;
    font-size: 18px;
}

/* Admin Combo Styles */
/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--dark-accent, rgb(35, 45, 63));
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light, rgb(255, 255, 255));
}

.form-section label {
    display: block;
    color: var(--text-light, rgb(255, 255, 255));
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-section input,
.form-section select,
.form-section textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    color: var(--text-light, rgb(255, 255, 255));
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: var(--primary, #008170);
    box-shadow: 0 0 0 2px rgba(0, 129, 112, 0.1);
}

.form-section textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Image URLs */
.image-url-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.image-url {
    flex: 1;
}

/* Combo Items Container */
#comboItemsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.combo-item-entry {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
}

.combo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.combo-item-header h4 {
    font-size: 1rem;
    color: var(--text-light, rgb(255, 255, 255));
    margin: 0;
}

.remove-item-btn {
    padding: 0.5rem 1rem;
    background: var(--danger, #b22222);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.add-item-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.add-item-buttons button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--primary, #008170);
    color: white;
}

.add-item-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.add-item-buttons button:last-child {
    background: var(--secondary, #005b41);
}

/* Modal Footer Buttons */
.modal-footer {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    margin-top: 30px;
}

.modal-footer button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.modal-footer button[type="submit"],
.modal-footer button:first-child {
    background: var(--success, #00b074);
    color: white;
}

.modal-footer button[type="button"]:not(:first-child),
.modal-footer #cancelBtn {
    background: var(--danger, #b22222);
    color: white;
}

.modal-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Discount Display */
.discount-display {
    padding: 15px;
    background: rgba(0, 129, 112, 0.1);
    border: 1px solid var(--primary, #008170);
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.discount-display strong {
    color: var(--text-light, rgb(255, 255, 255));
}

.discount-display span {
    color: var(--primary, #008170);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Product Search Results */
.product-search-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 15px;
}

.product-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-result-item:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.product-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.product-result-info {
    flex: 1;
}

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

.product-result-brand {
    font-size: 14px;
    color: #666;
}

.product-result-price {
    font-weight: 600;
    color: #667eea;
}

/* Loading and Error States */
.loading-indicator {
    text-align: center;
    padding: 60px 20px;
}

.loading-indicator i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.loading-indicator p {
    font-size: 18px;
    color: #666;
}

.error-state {
    text-align: center;
    padding: 60px 20px;
}

.error-state i {
    font-size: 64px;
    color: #ff4757;
    margin-bottom: 20px;
}

.error-state h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.error-state p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .admin-nav-container {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .admin-nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
        overflow-x: auto;
    }

    .admin-nav-links a {
        padding: 8px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-table-container {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .combos-hero h1 {
        font-size: 2rem;
    }

    .combos-hero p {
        font-size: 1rem;
    }

    .combo-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .combo-images {
        position: static;
    }

    .main-image-container {
        height: 350px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }

    /* Admin Mobile Optimizations */
    .admin-nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-logo {
        justify-content: center;
    }

    .admin-nav-links {
        flex-wrap: wrap;
    }

    .admin-nav-links a {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        justify-content: center;
        font-size: 13px;
    }

    .admin-user {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .btn-logout {
        width: 100%;
        justify-content: center;
    }

    .admin-header {
        padding: 15px;
    }

    .admin-header h1 {
        font-size: 1.3rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .admin-filters {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
        min-width: unset;
    }

    .filter-select {
        width: 100%;
    }

    .admin-table {
        min-width: 600px;
        font-size: 14px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }

    .admin-table img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Modal Responsive */
    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 20px;
        max-height: 95vh;
        max-width: 95%;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .form-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .form-section h3 {
        font-size: 1rem;
    }

    .form-section input,
    .form-section select,
    .form-section textarea,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .combo-item-entry {
        padding: 15px;
    }

    .discount-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .add-item-buttons {
        flex-direction: column;
    }

    .add-item-buttons button {
        width: 100%;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .admin-nav-links a {
        font-size: 12px;
        padding: 6px 8px;
    }

    .admin-nav-links a i {
        font-size: 14px;
    }

    .admin-header h1 {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .admin-table {
        min-width: 500px;
        font-size: 12px;
    }

    .btn-icon {
        padding: 6px;
        font-size: 14px;
    }
}


/* Notification Toast */
.notification-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 10000;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.error {
    background: #ff4757;
}
