/* =========================================
   1. ΓΕΝΙΚΕΣ ΡΥΘΜΙΣΕΙΣ & ΑΠΟΚΡΥΨΕΙΣ
   ========================================= */

/* Κεντράρισμα σελίδας */
#page {
    padding: 20px;
    position: relative;
	max-width: 1400px;
    margin: 0 auto;
	min-height:80vh;
}

.entry-title {
	margin-bottom:3rem;
}

@media screen and (max-width: 600px) {
	#page {
		padding: 6px;
	}
}

.border-top {
	border-top:2px solid #ccc;
	margin:4rem auto;
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:2rem;
	position:relative;
}

.grid-4 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap:2rem;
	position:relative;
}

.grid-5 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-gap:2rem;
	position:relative;
}

.instr-box {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
    padding: 22px 15px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 6px 7px 33px #0000001c;
    width: 100%;
    flex-wrap: nowrap;
    justify-items: center;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

#page svg {
    width: 100%;
    height: auto;
    max-width: 160px;
    margin: 3rem auto;
}

#page h2 {
	text-align: left;
    letter-spacing: -1px;
    color: #333;
    font-size: 30px;
    font-weight: 500;
    line-height: 50px;
    margin-top: 20px;
    margin-bottom: 10px;
	margin-bottom:3rem;
}

#page h3 {
	text-align: center;
    color: #dadada;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
}

#page p {
	font-size: 17px;
	line-height: 22px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 42px;
	text-align: center;
    color: #000;
}

@media screen and (max-width:768px) {
	.grid-4, .grid-5 {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width:574px) {
	.grid-4, .grid-5, .grid-2 {
		display:block;
	}
}

    /* Hero Styles */
    #hero-images { position:relative; margin-bottom: 40px; }
    .page-hero { width:100%; height:auto; display:block; }
    .image-h1 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; color: #0a0a0a; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
    .size-h1 { font-size: 4rem; font-weight: 300; text-align: center; }
    .intro-text { max-width: 800px; margin: 0 auto 40px; text-align: center; font-size: 1.1rem; color: #555; }

    /* --- TABS NAVIGATION --- */
    .ingredients-tabs-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .ing-tab-btn {
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        font-size: 1.2rem;
        font-weight: 700;
        color: #999;
        padding: 10px 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-family: inherit;
    }

    .ing-tab-btn:hover { color: #333; }
    
    .ing-tab-btn.active {
        color: #000;
        border-bottom-color: #cf3339; /* Το κόκκινο της DS */
    }

    /* --- TABS CONTENT --- */
    .ing-tab-pane {
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .ing-tab-pane.active {
        display: block;
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    /* Grid Layout */
    .all-ingredients-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Item Card */
    .ing-item {
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid #e0e0e0;
        background: #fff;
        padding: 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 6px;
        font-weight: 600;
        font-size: 1.1rem;
        color: #333;
    }
    .ing-item:hover { border-color: #333; background-color: #fcfcfc; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .plus-icon { font-size: 1.5rem; color: #cf3339; }

    /* Modal Styles (Same as before but refined) */
    .ing-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
    .ing-modal-content { background-color: #fff; margin: 10% auto; padding: 50px; width: 90%; max-width: 650px; position: relative; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
    .ing-modal-close { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #999; transition: color 0.2s; }
    .ing-modal-close:hover { color: #000; }
    .ing-modal-symbol { font-size: 4rem; color: #eee; margin-bottom: 10px; line-height: 1; font-family: serif; font-weight: bold; }
    .ing-modal-title { font-size: 2rem; margin-bottom: 20px; color: #111; }
    .ing-modal-body { font-size: 1.1rem; line-height: 1.7; color: #555; }

    /* Responsive */
    @media screen and (max-width:767px) {
        .page-hero { min-height: 250px; object-fit: cover; }
        .size-h1 { font-size: 2.5rem; }
        .ing-tab-btn { font-size: 1rem; padding: 10px 15px; }
        .all-ingredients-grid { grid-template-columns: 1fr; }
    }