
     /* ENHANCED CART STYLES - ORGANIZED & MOBILE-OPTIMIZED */
/* Replace the <style> section in cart.php with this enhanced version */

:root {
    --brand-gold: #B19777;
    --brand-gold-light: #D4C4A8;
    --brand-gold-dark: #8B7355;
    --text-dark: #1F2937;
    --text-medium: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --background-light: #F9FAFB;
    --background-medium: #F3F4F6;
    --white: #FFFFFF;
    --red-600: #DC2626;
    --red-500: #EF4444;
    --green-600: #059669;
    --green-500: #10B981;
    --orange-500: #F97316;
    --orange-400: #FB923C;
    --blue-600: #2563EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Enhanced Base Styles */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Main Cart Container */
.cart-container {
    background: var(--white);
    border-radius: 16px;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.cart-section {
    background: var(--white);
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.cart-section:last-child {
    border-bottom: none;
}

.cart-section h5 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-section h5 i {
    color: var(--brand-gold);
    font-size: 1.1rem;
}

/* Enhanced Cart Item Card */
.cart-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-gold-light);
    transform: translateY(-1px);
}

.cart-item:last-child {
    margin-bottom: 0;
}

/* Enhanced Timer Warning */
.timer-warning {
    background: linear-gradient(135deg, #fff7ed, #fed7aa);
    border: 1px solid var(--orange-400);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.timer-icon {
    color: var(--orange-500);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timer-content {
    flex: 1;
    min-width: 0;
}

.timer-content h6 {
    color: var(--orange-500);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.timer-content p {
    color: #9a3412;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.countdown-display {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 90px;
    text-align: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* Modern Item Content Layout */
.item-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item:hover .item-image img {
    transform: scale(1.05);
}

/* Enhanced Item Details */
.item-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.item-header {
    margin-bottom: 0.75rem;
}

.item-header h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.item-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.item-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.item-info i {
    color: var(--brand-gold);
    font-size: 0.875rem;
    width: 14px;
    text-align: center;
}

/* Enhanced Date Display */
.item-dates {
    background: linear-gradient(135deg, var(--background-light), var(--background-medium));
    padding: 0.875rem 1.125rem;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-medium);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.item-dates i {
    color: var(--brand-gold);
    font-size: 1rem;
}

/* Enhanced Promotion Display */
.item-promotion {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid var(--brand-gold);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.item-promotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.item-promotion i {
    color: var(--brand-gold-dark);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Enhanced Item Footer */
.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

/* Enhanced Pricing Display */
.item-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.item-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.item-price.promotional {
    color: var(--red-600);
    font-size: 1.875rem;
}

.item-original-price {
    font-size: 1.125rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.item-savings {
    font-size: 0.875rem;
    color: var(--green-600);
    font-weight: 700;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    border: 1px solid #a7f3d0;
}

/* Enhanced Remove Button */
.remove-btn {
    background: var(--white);
    border: 2px solid var(--border-medium);
    color: var(--text-muted);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.remove-btn:hover {
    background: var(--red-500);
    border-color: var(--red-500);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.remove-btn i {
    font-size: 0.875rem;
}

/* Enhanced Guest Information Form */
.guest-info-form {
    background: var(--white);
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.form-group label .required {
    color: var(--red-600);
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.875rem;
    background: var(--white);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(177, 151, 119, 0.1);
    background: var(--white);
}

.form-control:hover:not(:focus) {
    border-color: var(--border-medium);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Enhanced Customer Info Display */
.customer-info-display {
    background: linear-gradient(135deg, var(--background-light), #f0f9ff);
    border: 2px solid var(--brand-gold-light);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.customer-info-display h5 {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 700;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    min-width: 120px;
}

.info-value {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.edit-info-btn {
    background: var(--brand-gold);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.edit-info-btn:hover {
    background: var(--brand-gold-dark);
    transform: translateY(-1px);
}

/* Enhanced Cart Summary */
.cart-summary {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 2rem;
}

.cart-summary h5 {
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
    padding: 0.875rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--background-medium);
    font-weight: 500;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item.total {
    border-top: 2px solid var(--brand-gold);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem -1.5rem 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--background-light), #fafafa);
    font-size: 1.25rem;
    border-bottom: none;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Payment Method Selection Styles */
.payment-selection {
    background: var(--background-light);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
}

.payment-selection h6 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-option:hover {
    border-color: var(--brand-gold-light);
}

.payment-option.selected {
    border-color: var(--brand-gold);
    background: linear-gradient(135deg, #fefbf7, #fcf7f0);
}

.payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-gold);
}

.payment-details {
    flex: 1;
}

.payment-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.payment-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Enhanced Action Buttons */
.enhanced-btn {
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.enhanced-btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    background: var(--background-medium);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-medium);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--background-medium);
    color: var(--text-dark);
    text-decoration: none;
    border-color: var(--brand-gold);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Empty Cart */
.empty-cart {
    background: linear-gradient(135deg, var(--background-light), #f0f9ff);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
    border: 1px solid var(--border-light);
}

.empty-cart i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.7;
}

.empty-cart h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: none;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.notification.success {
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
}

.notification.error {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
}

.notification.warning {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    .cart-container {
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .cart-section {
        padding: 1.5rem;
    }
    
    .cart-item {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .item-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
        margin-bottom: 0.5rem;
    }

    .item-footer {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
        text-align: center;
    }
    
    .item-pricing {
        text-align: center;
        order: 1;
    }
    
    .remove-btn {
        order: 2;
        justify-content: center;
    }

    .cart-summary {
        position: static;
        margin-top: 1.5rem;
        order: 3;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .timer-warning {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .countdown-display {
        margin: 0 auto;
    }
    
    .summary-item {
        font-size: 0.875rem;
    }
    
    .summary-item.total {
        font-size: 1.125rem;
        margin: 1rem -1.5rem 1.25rem;
        padding: 1rem 1.5rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: left;
    }
    
    .enhanced-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .payment-options {
        gap: 0.5rem;
    }

    .payment-option {
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .cart-section {
        padding: 1.25rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .item-header h4 {
        font-size: 1.125rem;
    }
    
    .item-price {
        font-size: 1.5rem;
    }
    
    .item-price.promotional {
        font-size: 1.625rem;
    }
    
    .timer-warning {
        padding: 1rem;
    }
    
    .countdown-display {
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }
}

/* Print Styles */
@media print {
    .cart-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .enhanced-btn,
    .remove-btn,
    .edit-info-btn {
        display: none;
    }
    
    .timer-warning {
        display: none;
    }

    .payment-selection {
        display: none;
    }
}
