/* ===== SEO TITLE ===== */ .gb-boy-page-title { margin: 0 0 10px; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.2; color: #2f2f2f; } /* ===== OPEN BUTTON ===== */ .gb-boy-cat-trigger-wrap { margin: 12px 0 18px; text-align: center; } .gb-boy-cat-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 340px; padding: 12px 18px; background: #f7f4f2; color: #4a4a4a; border: 1px solid #eadfd8; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); transition: all 0.2s ease; } .gb-boy-cat-trigger:hover { background: #fff; border-color: #d8c2b6; color: #b8866b; } .gb-boy-cat-trigger i { font-size: 14px; color: #b8866b; } /* ===== MODAL ===== */ .gb-boy-modal { display: none; position: fixed; inset: 0; z-index: 99999; } .gb-boy-modal.is-open { display: block; } .gb-boy-modal__overlay { position: absolute; inset: 0; background: rgba(30, 30, 30, 0.28); } /* ===== DIALOG ===== */ .gb-boy-modal__dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 560px); max-height: 86vh; overflow: auto; background: #ffffff; border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14); } /* ===== HEADER ===== */ .gb-boy-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; } .gb-boy-modal__title { margin: 0; font-size: 17px; font-weight: 700; color: #2f2f2f; } .gb-boy-modal__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f7f4f2; color: #8a8a8a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .gb-boy-modal__close:hover { background: #efe8e3; color: #555; } /* ===== POPULAR TITLE ===== */ .gb-boy-modal__section-title { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 10px; background: #eef4fa; border: 1px solid #d9e6f2; border-radius: 999px; font-size: 12px; font-weight: 700; color: #6a93bf; } .gb-boy-modal__section-title i { font-size: 12px; } /* ===== GRID 2 COLUMNS ===== */ .gb-boy-modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; } /* ===== ITEM CARD ===== */ .gb-boy-modal__link { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 12px 14px; background: #faf8f7; border: 1px solid #eee5df; border-radius: 14px; text-decoration: none; color: #444; box-sizing: border-box; transition: all 0.2s ease; } .gb-boy-modal__link:hover { background: #fff; border-color: #d7c3b7; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05); } .gb-boy-modal__link.is-active { background: #f4ede8; border-color: #ccb3a3; box-shadow: 0 4px 12px rgba(190, 155, 130, 0.10); } /* ===== POPULAR CARD ===== */ .gb-boy-modal__link.is-popular { background: linear-gradient(180deg, #f8fbfe 0%, #eef4fa 100%); border-color: #d6e3f0; } .gb-boy-modal__link.is-popular:hover { border-color: #bfd3e6; box-shadow: 0 8px 18px rgba(106, 147, 191, 0.10); } /* ===== ICON BOX ===== */ .gb-boy-modal__icon { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #eef4fa; color: #6a93bf; font-size: 15px; } .gb-boy-modal__link.is-active .gb-boy-modal__icon { background: #e6eef7; color: #5b84b0; } .gb-boy-modal__link.is-popular .gb-boy-modal__icon { background: #e3edf8; color: #628bb8; } /* ===== TEXT ===== */ .gb-boy-modal__text { display: flex; flex-direction: column; min-width: 0; } .gb-boy-modal__label { font-size: 13px; font-weight: 700; color: #3f3f3f; line-height: 1.2; } .gb-boy-modal__sub { margin-top: 2px; font-size: 11px; color: #8b8b8b; line-height: 1.2; } /* ===== MOBILE ===== */ @media (max-width: 767px) { .gb-boy-cat-trigger { max-width: none; font-size: 13px; padding: 12px 16px; } .gb-boy-modal__dialog { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 85vh; border-radius: 20px 20px 0 0; padding: 16px 14px; } .gb-boy-modal__title { font-size: 16px; } .gb-boy-modal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gb-boy-modal__link { min-height: 58px; padding: 10px 12px; gap: 8px; } .gb-boy-modal__icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 14px; border-radius: 10px; } .gb-boy-modal__label { font-size: 12px; } .gb-boy-modal__sub { font-size: 10px; } } /* ΠΟΛΥ ΜΙΚΡΟ MOBILE: ΠΑΡΑΜΕΝΟΥΝ 2 ΣΤΗΛΕΣ */ @media (max-width: 420px) { .gb-boy-modal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gb-boy-modal__link { min-height: 56px; padding: 10px; } .gb-boy-modal__icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 13px; } .gb-boy-modal__label { font-size: 11px; } .gb-boy-modal__sub { font-size: 9px; } }

Βαπτιστικά Αγόρι

document.addEventListener('DOMContentLoaded', function () { const openBtn = document.getElementById('gbBoyOpenCats'); const closeBtn = document.getElementById('gbBoyCloseCats'); const modal = document.getElementById('gbBoyCatsModal'); const overlay = modal ? modal.querySelector('.gb-boy-modal__overlay') : null; if (!openBtn || !closeBtn || !modal || !overlay) return; const openModal = () => { modal.classList.add('is-open'); modal.setAttribute('aria-hidden', 'false'); document.body.style.overflow = 'hidden'; }; const closeModal = () => { modal.classList.remove('is-open'); modal.setAttribute('aria-hidden', 'true'); document.body.style.overflow = ''; }; openBtn.addEventListener('click', openModal); closeBtn.addEventListener('click', closeModal); overlay.addEventListener('click', closeModal); document.addEventListener('keydown', function (e) { if (e.key === 'Escape' && modal.classList.contains('is-open')) { closeModal(); } }); const currentUrl = window.location.href.replace(/\/$/, ''); const links = modal.querySelectorAll('.gb-boy-modal__link'); links.forEach(link => { const linkUrl = link.href.replace(/\/$/, ''); if (currentUrl === linkUrl) { link.classList.add('is-active'); } }); });