/* greek-feta.css */
.greek-feta-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.greek-feta-header {
    text-align: center;
    margin-bottom: 50px;
}

.greek-feta-header h2 {
    color: #003366; /* Deep Mediterranean Blue */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.greek-feta-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 50px;
    flex-wrap: wrap;
    max-width: 800px; /* Consolidate filters for better centering */
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #003366;
    background: transparent;
    color: #003366;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: #003366;
    color: #fff;
}

/* Menu Grid */
.greek-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Menu Card */
.greek-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.greek-item-content {
    padding: 20px;
    flex-grow: 1;
}

.greek-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.greek-item-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.greek-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0; /* Let footer handle spacing */
}

.item-footer {
    padding: 20px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.item-footer .btn {
    width: auto; /* Remove force-full-width */
    min-width: 200px;
    margin: 0 auto;
}

/* Sizing & Add-ons */
.item-options {
    background: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #eee;
}

.option-group {
    margin-bottom: 10px;
}

.option-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

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

.size-option {
    flex: 1;
    text-align: center;
}

.size-option input {
    display: none;
}

.size-option span {
    display: block;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    background: #fff;
}

.size-option input:checked + span {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

.addon-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #444;
}

/* Greek Feta Customization Modal */
.greek-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.greek-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.greek-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    padding: 2.5rem;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.greek-modal-overlay.active .greek-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.modal-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    color: #0A2540;
    margin-bottom: 0.5rem;
}

.modal-section {
    margin-top: 2rem;
}

.section-title {
    display: block;
    font-weight: 700;
    color: #444;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Pill Selector */
.pill-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pill-option input {
    display: none;
}

.pill-option span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 2px solid #eee;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pill-option input:checked + span {
    background: #0A2540;
    border-color: #0A2540;
    color: #fff;
}

/* Sauce Grid */
.sauce-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sauce-option input {
    display: none;
}

.sauce-card {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.sauce-option input:checked + .sauce-card {
    border-color: #0A2540;
    background: rgba(10, 37, 64, 0.05);
}

.sauce-name {
    display: block;
    font-weight: 700;
}

.sauce-price {
    font-size: 0.75rem;
    color: #666;
}

/* Addon Stack */
.addon-stack {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0.5rem;
}

.addon-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.addon-row:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.addon-name {
    flex: 1;
    margin-left: 1rem;
    font-weight: 600;
}

.addon-price {
    color: #00843D;
    font-weight: 700;
}

/* Modal Footer */
.modal-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.modal-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0A2540;
}

@media (max-width: 480px) {
    .greek-modal-content {
        padding: 1.5rem;
    }
    .sauce-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .greek-menu-grid {
        grid-template-columns: 1fr;
    }
}
