/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* === BASE STYLES === */
.takeaway-menu-builder {
    font-family: 'Inter', sans-serif;
    max-width: 1400px;
    margin: 0 auto;
   

}

/* === HEADER === */
.menu-header {
    text-align: left;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #457CB6 0%, #B3ECF4 100%);
    border-radius: 16px;
    color: white;
}

.menu-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
	color: #fff;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* === CONFIG SECTION === */
.config-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.config-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
}

.config-item label {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.config-select {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.config-select:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.config-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* === COURSE SELECTION === */
.course-selection-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.course-selection-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0 0 8px 0;
    text-align: left;
}

.selection-help {
    text-align: left;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.course-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.course-type-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.course-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.course-type-card:hover::before {
    left: 100%;
}

.course-type-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.course-type-card.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.course-type-card.selected .course-desc.required {
    color: #dc2626;
    font-weight: 600;
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.course-type-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

.course-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 8px 0;
}

.course-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.course-desc.required {
    color: #dc2626;
    font-weight: 600;
}

/* === MENU SELECTION === */
.menu-selection-section {
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.menu-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.menu-tab {
    background: transparent;
    border: none;
    padding: 20px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: 140px;
    border-bottom: 3px solid transparent;
}

.menu-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.menu-tab.active {
    background: white;
    color: #667eea;
    border-bottom-color: #667eea;
}

.menu-tab.complete {
    color: #10b981;
    border-bottom-color: #10b981;
}

.menu-tab.incomplete {
    color: #f59e0b;
    border-bottom-color: #f59e0b;
}

.menu-tab.complete.active {
    background: #ecfdf5;
}

.menu-tab.incomplete.active {
    background: #fffbeb;
}

.selection-count {
    font-size: 0.85rem;
    margin-left: 8px;
    opacity: 0.8;
}

.menu-content {
    padding: 40px;
}

.requirement-note {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #1e40af;
    grid-column: 1 / -1; /* Spans entire grid width */
}

.requirement-icon {
    font-size: 1.2rem;
}

/* === MENU ITEMS GRID === */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
/* Ekstra hovedret option styling */
.extra-hovedret-option {
    grid-column: 1 / -1; /* Spænder over alle kolonner i griddet */
    padding: 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    order: 1; /* Kommer efter requirement-note men før menu items */
}

.extra-hovedret-option:hover {
    border-color: #3b82f6;
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.extra-hovedret-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    user-select: none;
}

.extra-hovedret-label input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.checkbox-text {
    font-size: 16px;
    line-height: 1.4;
}

/* Når checkboxen er markeret */
.extra-hovedret-option:has(input:checked) {
    background: #dbeafe;
    border-color: #3b82f6;
}

.extra-hovedret-option:has(input:checked) .checkbox-text {
    color: #1e40af;
    font-weight: 600;
}

/* Responsiv styling */
@media (max-width: 768px) {
    .extra-hovedret-option {
        padding: 12px;
    }
    
    .checkbox-text {
        font-size: 14px;
    }
    
    .extra-hovedret-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
}

/* Hvis dit grid har specifikke klasser, kan du også bruge: */
.items-grid .extra-hovedret-option {
    order: 1; /* Kommer efter requirement-note (order: 0) men før menu items (order: 2+) */
}

/* Sikrer at requirement-note kommer først */
.items-grid .requirement-note {
    order: 0;
}

/* Menu items kommer efter checkbox */
.items-grid .menu-item-card {
    order: 2;
}

/* Animation for smooth transition */
.extra-hovedret-option {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu-item-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.menu-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.menu-item-card.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.menu-item-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.menu-item-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #f1f5f9;
}

.item-image {
    height: 140px;
    background: linear-gradient(135deg, #457CB6 0%, #B3ECF4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-placeholder {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.menu-item-card:hover .logo-placeholder {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.item-price:not(.included) {
    color: #667eea;
}

.item-price.included {
    color: #10b981;
    font-style: italic;
}

.item-actions {
    position: absolute;
    top: 12px;
    right: 12px;
}

.select-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.select-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
}

.select-btn.selected {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

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

/* === PICKUP SECTION === */
.pickup-section {
    background: white;
	margin: 20px 0px;
}

.pickup-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #374151;
    margin: 0 0 25px 0;
    text-align: left;
}

.pickup-time-container {
    display: block;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.pickup-select {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pickup-select:hover {
    border-color: #667eea;
}

.pickup-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* === ORDER SUMMARY === */
.order-summary-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.summary-card {
    padding: 40px;
}

.summary-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0 0 25px 0;
    text-align: left;
}

.summary-content {
    margin-bottom: 25px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
}

.summary-category {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.summary-category.complete {
    background: #ecfdf5;
    border-left-color: #10b981;
}

.summary-category.incomplete {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-header strong {
    color: #374151;
    margin: 0;
}

.selection-status {
    font-size: 0.9rem;
    font-weight: 600;
}

.summary-category.complete .selection-status {
    color: #10b981;
}

.summary-category.incomplete .selection-status {
    color: #f59e0b;
}

.selected-items {
    margin-bottom: 8px;
}

.item-name {
    font-size: 0.9rem;
    color: #6b7280;
}

.remaining-note {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 5px;
}

.summary-total {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0px;
    margin: 20px 0px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: #374151;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
}

.add-to-cart-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.add-to-cart-btn.success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.pricing-summary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  margin-bottom: 30px ;
}

.pricing-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.package-deal {
  display: flex;
  justify-content: space-between;
  align-items: left;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.deal-label {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deal-price {
  font-size: 24px;
  font-weight: 700;
  color: #059669;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.original-price {
  font-size: 14px;
  color: #64748b;
  text-decoration: line-through;
  font-weight: 500;
}

.savings-amount {
  font-size: 16px;
  font-weight: 600;
  color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 4px solid #dc2626;
  display: inline-block;
}

/* Responsiv design */
@media (max-width: 480px) {
  .pricing-summary {
    padding: 20px;
    margin: 0px;
  }
  
  .package-deal {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .deal-price {
    font-size: 20px;
  }
}
/* === LOADING STATES === */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    min-height: 200px;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 500;
}

.loading {
    text-align: center;
    padding: 60px;
    color: #6b7280;
    font-style: italic;
    font-size: 1.1rem;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 12px;
    border: 1px solid #fecaca;
    font-size: 1rem;
}

/* === ANIMATIONS === */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon {
    margin-right: 10px;
    font-size: 1.3rem;
}
/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .takeaway-menu-builder {
        padding: 15px;
    }
    
    .menu-header {
        padding: 25px;
    }
    
    .menu-header h2 {
        font-size: 2rem;
    }
    
    .course-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .course-type-card {
        padding: 20px 15px;
    }
    
    .course-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .menu-content {
        padding: 25px;
    }
    
    .config-section,
    .pickup-section,
    .summary-card {
        padding: 25px;
    }
 
    .menu-tabs {
        overflow-x: scroll;
        scrollbar-width: thin;
    }
    
    .menu-tab {
        padding: 15px 20px;
        font-size: 0.76rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .takeaway-menu-builder {
        padding: 10px;
    }
    
    .menu-header {
        padding: 20px;
    }
    
    .menu-header h2 {
        font-size: 1.6rem;
    }
    
    .course-types-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .course-type-card {
        padding: 10px 5px;
    }
    
    .course-type-card h4 {
        font-size: 1.1rem;
    }
    .course-selection-section h3 {
		        font-size: 1.4rem;

	}
	
	.summary-card h3 {
				        font-size: 1.4rem;

	}
    .course-icon {
        font-size: 2rem;
    }
    
    .pickup-time-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .config-section,
    .summary-card {
        padding: 20px;
    }
	    .pickup-section {
			padding: 0px
	}
.course-selection-section {
    background: transparent;
    padding: 0px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0);
}
    .menu-content {
        padding: 20px;
    }
    
    .item-image {
        height: 120px;
    }
    
    .item-content {
        padding: 15px;
    }
    
    .item-title {
        font-size: 1rem;
    }
    
    .total-line {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

/* === CUSTOM SCROLLBAR === */
.menu-tabs::-webkit-scrollbar {
    height: 4px;
}

.menu-tabs::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.menu-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.menu-tabs::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === FOCUS STYLES === */
.course-type-card:focus,
.menu-item-card:focus,
.menu-tab:focus,
.select-btn:focus,
.add-to-cart-btn:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* === CONFIRMATION MODAL === */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.confirmation-modal {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirmation-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0 0 15px 0;
    text-align: center;
}

.confirmation-content p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 25px 0;
}

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

.confirm-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.add-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.add-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.restart-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.restart-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.cancel-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.cancel-btn:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .confirmation-modal {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .confirmation-header h3 {
        font-size: 1.3rem;
    }
    
    .confirmation-content p {
        font-size: 0.95rem;
    }
}
@media (prefers-contrast: high) {
    .course-type-card,
    .menu-item-card {
        border-width: 3px;
    }
    
    .course-type-card.selected,
    .menu-item-card.selected {
        border-width: 4px;
    }
}

/* === PRICING DISPLAY === */
.pricing-display {
	margin-top: 30px;
    margin-bottom: 30px;

}

.pricing-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #374151;
    margin: 0 0 25px 0;
    text-align: left;
}

.current-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.current-pricing:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.current-pricing:last-child {
    margin-bottom: 0;
}

.price-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem !important;
}

.price-amount {
    font-weight: 700;
    color: #667eea;
    font-size: 0.9rem !important;
}

.savings-display {
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 15px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.individual-pricing {
    width: 100%;
}

.individual-pricing p {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dotted #e5e7eb;
}

.package-pricing {
    width: 100%;
}

/* === DELIVERY SECTION === */
.delivery-section {
    background: white;
    border-radius: 16px;
    margin: 30px 0;
}

.delivery-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #374151;
    margin: 0 0 25px 0;
    text-align: left;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.delivery-option {
    padding: 25px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.delivery-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.delivery-option:hover::before {
    left: 100%;
}

.delivery-option:hover {
    transform: translateY(-6px);
    border-color: #667eea;
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.2);
}

.delivery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.delivery-option:has(input:checked) {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.25);
}

.option-content {
    position: relative;
    z-index: 2;
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.option-label {
    font-weight: 600;
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
    font-family: 'Playfair Display', serif;
}

.option-desc {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

/* === ADDRESS INPUT SECTION === */
.address-input-section {
    background-color: #fff;
	border: 1px solid #eee;
    border-radius: 16px;
    margin: 30px 0;
    padding: 20px;
}

.address-input-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #374151;
    margin: 0 0 25px 0;
    text-align: left;
}

.address-input-container {
    position: relative;
    margin-bottom: 20px;
}

.address-input {
    width: 100%;
    padding: 16px 20px;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.address-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.address-input:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.address-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* === DISTANCE RESULT === */
.distance-result {
    margin-top: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border: 2px solid #93c5fd;
    transition: all 0.3s ease;
}

.distance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.distance-text {
    font-weight: 600;
    color: #1e40af;
    font-size: 1.1rem;
}

.delivery-price {
    font-weight: 700;
    color: #667eea;
    font-size: 1.2rem;
}

.route-details {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.4;
    font-weight: 500;
}

/* === LOADING STATES === */
.calculating-distance {
    opacity: 0.7;
    pointer-events: none;
}

.distance-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

/* === RESPONSIVE FOR PRICING & DELIVERY === */
@media (max-width: 1024px) {
    .pricing-display,
    .delivery-section,
    .address-input-section {
        padding: 30px;
    }
    
    .delivery-options {
        gap: 15px;
    }
    
    .delivery-option {
        padding: 20px 15px;
    }
    
    .option-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .current-pricing {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }
    
    .savings-display {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .distance-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
     .delivery-section {
	padding: 0px;
	}
    .pricing-display,
   
    .address-input-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .pricing-display,
   
    .address-input-section {
        padding: 20px;
    }
        .delivery-section {
	padding: 0px;
	} 
    .pricing-info h4,
    .delivery-section h4,
    .address-input-section h4 {
        font-size: 1.4rem;
    }
    
    .current-pricing {
        padding: 16px;
    }
    
    .price-label {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 1.2rem;
    }
    
    .delivery-option {
        padding: 20px 15px;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .option-label {
        font-size: 1.1rem;
    }
    
    .address-input {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .distance-result {
        padding: 16px 20px;
    }
}