/* ==========================================================================
   PIERIA KLIK - ΒΑΣΙΚΑ ΣΤΥΛ (pieria-styles.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FRONTEND ΦΟΡΜΕΣ (Κατάλογος, Εκδηλώσεις, Προτάσεις)
   -------------------------------------------------------------------------- */
.pk-frontend-form-wrapper { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
.pk-form-main-title { margin: 0; color: #222; font-size: 1.5rem; } 
.pk-form-row { margin-bottom: 20px; }
.pk-form-label { display: block; font-weight: bold; margin-bottom: 5px; color:#333; font-size: 14px;}
.pk-form-input { width: 100%; padding: 12px; border: 2px solid #444 !important; background-color: #ffffff !important; border-radius: 6px; box-sizing:border-box; font-size:15px; max-width: 100%; transition: border-color 0.3s;}
.pk-form-input:focus { border-color: #d32f2f; outline: none; }
.pk-form-grid-2 { display: flex; flex-wrap: wrap; gap: 15px; } 
.pk-form-grid-2 > div { flex: 1; min-width: 200px; }
.pk-flex-row { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; } 
.pk-flex-row > div { flex: 1; min-width: 200px; }
.pk-action-btns { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid #eee; padding-top: 20px; margin-top: 25px; }

/* Κατηγορίες (Tabs) */
.pk-cat-ui { display: flex; border: 2px solid #444; border-radius: 6px; overflow: hidden; background:#fff;}
.pk-cat-parents { width: 35%; background: #f5f5f5; border-right: 1px solid #ddd; }
.pk-parent-tab { padding: 12px 30px 12px 15px; font-weight: bold; cursor: pointer; border-bottom: 1px solid #eaeaea; transition: background 0.2s; font-size: 14px; position: relative;}
.pk-parent-tab:hover { background: #eee; } 
.pk-parent-tab.active { background: #fff; color: #d32f2f; border-left: 4px solid #d32f2f; }
.pk-parent-tab.has-selections { color: #d32f2f !important; } 
.pk-parent-tab.has-selections::after { content: '✔'; position: absolute; right: 10px; color: #008000; font-weight: bold; font-size: 16px; top: 50%; transform: translateY(-50%); }
.pk-cat-children { width: 65%; padding: 15px; }
.pk-child-group { display: none; } 
.pk-child-group.active { display: block; }
.pk-child-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; cursor: pointer;}
.pk-checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pk-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; color: #444; background: #fff; padding: 6px 10px; border-radius: 6px; border: 1px solid #ddd; transition: background 0.2s; }
.pk-checkbox-label:hover { background: #f0f8ff; border-color: #b3d4ff; }

/* Autocomplete & Media */
.pk-autocomplete-wrap { position: relative; width: 100%; }
.pk-autocomplete-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ccc; border-radius: 0 0 6px 6px; z-index: 10; max-height: 250px; overflow-y: auto; box-shadow: 0 4px 6px rgba(0,0,0,0.1);}
.pk-ac-item { padding: 12px; cursor: pointer; border-bottom: 1px solid #eee; display: flex; align-items: center; font-size:14px;} 
.pk-ac-item:hover { background: #f0f8ff; }
.pk-selected-badge { display: inline-block; background: #e6f7ff; color: #0055cc; padding: 6px 12px; border-radius: 20px; font-weight: bold; margin-top: 10px; border: 1px solid #b3d4ff; display: inline-flex; align-items: center; font-size:13px; word-break: break-all;}
.pk-selected-badge span.remove { margin-left: 10px; color: #cc0000; cursor: pointer; font-size: 1.1rem;}
.pk-gallery-thumb { position: relative; display: inline-block; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; border: 1px solid #ccc; margin-right:10px; margin-bottom:10px; }
.pk-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pk-gallery-thumb .remove-gal { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,0.7); color: #fff; border-radius: 50%; width: 20px; height: 20px; text-align: center; line-height: 20px; font-size: 14px; cursor: pointer; font-weight:bold; }
.pk-gallery-thumb .delete-gal { position: absolute; bottom: 2px; right: 2px; background: rgba(204,0,0,0.8); color: #fff; border-radius: 4px; width: 22px; height: 22px; text-align: center; line-height: 22px; font-size: 12px; cursor: pointer; }
.pk-date-inputs-wrap { display: flex; gap: 5px; width: 100%; }

/* Mobile (Forms) */
@media (max-width: 768px) { 
    .pk-frontend-form-wrapper { padding: 15px !important; margin-left: -15px !important; margin-right: -15px !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; } 
    .pk-form-main-title { font-size: 1.25rem !important; } 
    .pk-cat-ui { flex-direction: column; } 
    .pk-cat-parents { width: 100%; display: flex; overflow-x: auto; white-space: nowrap; border-right: none; border-bottom: 1px solid #ddd; } 
    .pk-parent-tab { flex: 0 0 auto; border-bottom: none !important; border-left: none !important; padding: 10px 15px; } 
    .pk-parent-tab.active { border-bottom: 3px solid #d32f2f !important; background: #fff !important; } 
    .pk-cat-children { width: 100%; max-height: none !important; overflow: visible !important; } 
    .pk-form-grid-2 { flex-direction: column; gap: 15px; } 
    .pk-form-grid-2 > div, .pk-flex-row > div, .pk-date-row-front > div { width: 100%; min-width: 100% !important; } 
    .pk-flex-row, .pk-date-row-front { flex-direction: column; gap: 15px; }
    .pk-date-inputs-wrap { display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; }
    .pk-date-inputs-wrap input[type="date"], .pk-date-inputs-wrap select { flex: 1 1 auto !important; min-width: 0 !important; padding: 8px 4px !important; font-size: 13px !important; margin: 0 !important; }
    .pk-action-btns { flex-direction: column; gap: 15px; text-align: center; } 
    .pk-action-btns > div, .pk-action-btns button { width: 100%; }
    .pk-form-input { padding: 10px !important; font-size: 14px !important; }
}


/* --------------------------------------------------------------------------
   2. FRONTEND DASHBOARD (Πίνακας Ελέγχου)
   -------------------------------------------------------------------------- */
.pk-dashboard-wrapper { font-family: sans-serif; color: #333; }
.pk-dashboard-topbar { background: #111; color: #fff; padding: 15px; border-radius: 8px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; margin-bottom: 15px; font-size: 0.9rem; text-align:center;}
.pk-user-info span { color: #aaa; margin-right: 5px; }
.pk-user-info strong { color: #fff; margin-right: 15px; }
.pk-btn-logout { background: #d32f2f; color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 4px; font-weight: bold; font-size: 0.85rem; display:inline-block; margin-top:5px;}
.pk-limits-bar { background: #e6f7ff; color: #0055cc; padding: 12px; border-radius: 6px; border: 1px solid #b3d4ff; text-align: center; font-size: 13px; font-weight: bold; margin-bottom: 25px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.pk-limits-bar span { margin: 0 10px; display: inline-block; }
.pk-action-top-btns { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; justify-content: center; }
.pk-action-btn { text-align: center; color: #fff; padding: 12px 25px; text-decoration: none; border-radius: 8px; font-weight: bold; font-size: 14px; transition: 0.3s; }
.pk-btn-dir { background: #222; } .pk-btn-dir:hover { background: #000; color:#fff;}
.pk-btn-ev { background: #008000; } .pk-btn-ev:hover { background: #006600; color:#fff;}
.pk-btn-pro { background: #e65100; } .pk-btn-pro:hover { background: #cc4400; color:#fff;}
.pk-btn-disabled { background: #f0f0f0; color: #999; cursor: not-allowed; border: 1px dashed #ccc; box-shadow: none; pointer-events:none; }

.pk-tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; border-bottom: 2px solid #ddd; padding-bottom: 15px; }
.pk-tab-link { padding: 10px 20px; border-radius: 6px; font-weight: bold; text-decoration: none; font-size: 15px; transition: 0.3s; color: #fff !important; opacity: 0.6; }
.pk-tab-link:hover { opacity: 0.8; }
.pk-tab-link.active { opacity: 1; box-shadow: 0 4px 10px rgba(0,0,0,0.25); transform: translateY(-2px); }
.pk-tab-dir { background: #222; } .pk-tab-ev { background: #008000; } .pk-tab-pro { background: #e65100; }

.pk-dashboard-section { background: #fdfdfd; border: 2px solid #ccc; border-radius: 8px; padding: 20px; margin-bottom: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); box-sizing: border-box; width: 100%; overflow-x: hidden; }
.pk-dashboard-section h3 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; margin-bottom: 20px; text-align: center; font-size:1.4rem; }

.pk-admin-filters { background:#f5f5f5; border:1px solid #ddd; padding:15px; border-radius:8px; margin-bottom:25px; display:flex; flex-wrap:wrap; gap:15px; align-items:center; justify-content:center; }
.pk-admin-filters select { padding:8px 12px; border-radius:6px; border:1px solid #ccc; font-size:14px; outline:none; cursor:pointer; }

/* DataTables Overrides */
.dataTables_wrapper { width: 100% !important; box-sizing: border-box !important; overflow-x: visible !important; }
.pk-cards-table { width: 100% !important; border-collapse: collapse !important; border: none !important; display: block !important; margin: 0 !important; padding: 0 !important; }
.pk-cards-table thead { display: none !important; }
.pk-cards-table tbody { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 25px !important; padding-top: 15px !important; width: 100% !important; box-sizing: border-box !important; background: transparent !important; }
.pk-cards-table tr { display: flex !important; height: 100% !important; width: 100% !important; border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin:0 !important; }
.pk-cards-table td { display: flex !important; flex-direction: column !important; border: 2px solid #bbb !important; border-radius: 10px !important; padding: 20px !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; background: #fff !important; transition: box-shadow 0.3s !important; align-items: center !important; text-align: center !important; width: 100% !important; height: 100% !important; box-sizing: border-box !important; min-width: 0 !important; overflow-wrap: break-word !important; }

.dataTables_wrapper .dataTables_filter { text-align: center; float: none; margin-bottom: 25px; }
.dataTables_wrapper .dataTables_filter input { padding: 12px; border-radius: 6px; border: 1px solid #ccc; width: 100%; max-width: 300px; font-size:15px; box-sizing: border-box; }
.dataTables_wrapper .dataTables_length { display: none; }
.dataTables_wrapper .dataTables_info { text-align: center; clear: both; margin-top: 20px; color:#888; font-size: 13px; font-weight: normal; float: none; padding-top: 15px;}
.dataTables_wrapper .dataTables_paginate { text-align: center !important; float: none !important; margin-top: 15px !important; display: flex !important; justify-content: center !important; flex-wrap: wrap !important; gap: 8px !important; padding-bottom: 10px !important; width: 100% !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button { padding: 8px 14px !important; margin: 0 !important; border: 1px solid #ddd !important; border-radius: 6px !important; background: #fff !important; color: #333 !important; font-weight: bold !important; cursor: pointer !important; font-size: 14px !important; box-sizing: border-box !important; display: inline-block !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: #d32f2f !important; color: #fff !important; border-color: #d32f2f !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: #f0f0f0 !important; color: #111 !important; border-color: #ccc !important; }

/* Dashboard Cards Internal */
.pk-dash-card-title { font-size: 17px !important; font-weight: 900 !important; margin: 0 0 5px 0 !important; line-height: 1.3 !important; width:100% !important; }
.pk-dash-card-title a { color: #d32f2f; text-decoration: none; transition: color 0.2s; }
.pk-dash-card-title a:hover { color: #000; }
.pk-cats-stack { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 10px; }
.pk-cat-main { font-weight: bold; font-size: 14px; color: #222; }
.pk-cat-sub { font-size: 12px; color: #666; }
.pk-cat-eidos { font-size: 13px; color: #0055cc; font-weight: bold; }
.pk-dash-img-wrap { width: 100%; display: flex; justify-content: center; margin-bottom: 15px; position:relative; }
.pk-dash-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 2px solid #ddd; background: #fafafa; }
.pk-zoom-img { cursor: pointer; transition: transform 0.2s; }
.pk-zoom-img:hover { transform: scale(1.05); }

.pk-status { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; text-align: center; text-transform: uppercase; margin-bottom: 10px;}
.pk-status.publish { background: #e6ffe6; color: #008000; border: 1px solid #008000; }
.pk-status.pending { background: #fff0e5; color: #cc5500; border: 1px solid #cc5500;}
.pk-status.draft { background: #eee; color: #555; border: 1px solid #999;}

.pk-dash-info-stack { width: 100%; display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.pk-dash-info-stack .pk-info-row { display: block !important; width: 100% !important; text-align: center; font-size: 13px; line-height: 1.4; white-space: normal; overflow-wrap: break-word; }

.pk-dash-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: auto; border-top: 1px solid #eee; padding-top: 15px; box-sizing: border-box; }
.pk-dash-actions-row { display: flex; justify-content: center; gap: 8px; width:100%; box-sizing: border-box; }
.pk-btn-small { text-align: center; padding: 8px 12px; font-size: 13px; border-radius: 6px; text-decoration: none; font-weight: bold; cursor: pointer; border: 1px solid transparent; flex: 1; box-sizing: border-box; transition: background 0.2s; }
.pk-btn-edit { background: #222; color: #fff !important; } .pk-btn-edit:hover { background: #000; color: #fff !important; }
.pk-btn-publish { background: #008000; color: #fff !important; border-color: #006600; } .pk-btn-publish:hover { background: #006600; color: #fff !important; }
.pk-btn-pause { background: #e65100; color: #fff !important; border-color: #cc4400; } .pk-btn-pause:hover { background: #cc4400; color: #fff !important; }
.pk-btn-toggle { background: #f0f0f0; color: #333 !important; border-color: #ccc; } .pk-btn-toggle:hover { background: #e0e0e0; color: #111 !important; }
.pk-btn-trash { background: #fff; color: #cc0000 !important; border-color: #cc0000; flex: 0 0 auto; padding: 8px 15px; } .pk-btn-trash:hover { background: #ffe5e5; color: #cc0000 !important; }
.pk-btn-email { background: #fffdf5; color: #e65100 !important; border-color: #e65100; width: 100%; margin-top: 4px; box-sizing: border-box; } .pk-btn-email:hover { background: #fff3e0; color: #cc4400 !important; border-color: #cc4400; }

/* Mobile Dashboard */
@media (max-width: 992px) { .pk-cards-table tbody { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 768px) {
    .pk-action-top-btns { flex-direction: column; align-items: stretch; width: 100%; }
    .pk-tabs-nav { flex-direction: column; align-items: stretch; }
    .dataTables_wrapper .dataTables_filter input { max-width: 100%; }
    .pk-admin-filters { flex-direction:column; align-items:stretch; }
    .pk-cards-table tbody { grid-template-columns: minmax(0,1fr) !important; }
    .pk-limits-bar span { display: block; margin: 5px 0; }
}

/* --------------------------------------------------------------------------
   3. AUTH FORMS (Είσοδος / Εγγραφή)
   -------------------------------------------------------------------------- */
.pk-auth-form { max-width: 420px; margin: 0 auto; padding: 30px; background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border: 1px solid #eaeaea; font-family: sans-serif; }
.pk-auth-form h3 { margin-top: 0; margin-bottom: 25px; text-align: center; color: #222; font-size: 1.5rem; }
.pk-auth-form label { display: block; font-weight: bold; margin-bottom: 6px; color: #333; font-size: 14px; }
.pk-auth-form input[type="text"], .pk-auth-form input[type="email"], .pk-auth-form input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 14px; margin-bottom: 15px; transition: border 0.3s; }
.pk-auth-form input:focus { border-color: #d32f2f; outline: none; }
.pk-auth-form button { width: 100%; background: #d32f2f; color: #fff; border: none; padding: 14px; font-weight: bold; border-radius: 6px; cursor: pointer; font-size: 16px; transition: background 0.3s; }
.pk-auth-form button:hover { background: #b71c1c; }
.pk-msg { padding: 12px; margin-bottom: 20px; border-radius: 6px; font-weight: 500; text-align: center; font-size:14px; }
.pk-error { color: #cc0000; background: #ffe5e5; border: 1px solid #ffcccc; }
.pk-success { color: #008000; background: #e6ffe6; border: 1px solid #ccffcc; }
.pk-pass-wrapper { position: relative; }
.pk-eye-icon { position: absolute; right: 12px; top: 12px; cursor: pointer; font-size: 16px; user-select: none; color: #888; }
.pk-eye-icon:hover { color: #333; }
.pk-links-area { text-align: center; margin-top: 20px; font-size: 14px; padding-top: 20px; border-top: 1px solid #eee; }
.pk-links-area a { color: #0066cc; text-decoration: none; font-weight: bold; }
.pk-links-area a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   4. ΚΑΡΤΕΣ & GRIDS (Shortcodes Εκδηλώσεων, VIP, Καταλόγου)
   -------------------------------------------------------------------------- */
.pk-grid-container { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 25px !important; width: 100% !important; box-sizing: border-box !important; align-items: stretch; }
.pk-grid-4-col { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 20px !important; width: 100% !important; box-sizing: border-box !important; align-items: stretch; }

@media (max-width: 1200px) { .pk-grid-4-col { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 992px) { 
    .pk-grid-container { grid-template-columns: repeat(2, 1fr) !important; } 
    .pk-grid-4-col { grid-template-columns: repeat(2, 1fr) !important; } 
}
@media (max-width: 768px) { 
    .pk-grid-container { grid-template-columns: 1fr !important; } 
    .pk-grid-4-col { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } 
}
@media (max-width: 480px) { .pk-grid-4-col { grid-template-columns: 1fr !important; } }

/* Κάρτα Εκδήλωσης & Καταλόγου */
.pk-ev-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border: 1px solid #d1d1d1; display: flex; flex-direction: column; font-family: sans-serif; transition: transform 0.2s, box-shadow 0.2s; height: 100%; position:relative; }
.pk-ev-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.pk-ev-top { padding: 12px 15px; text-align: center; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.pk-ev-cats { display: flex; justify-content: center; gap: 5px; margin-bottom: 8px; flex-wrap: nowrap; overflow: hidden; height: 22px; }
.pk-ev-cat-badge { background: #f0f0f0; color: #555; padding: 3px 8px; border-radius: 12px; font-size: 11px; font-weight: bold; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; flex-shrink: 1; }
.pk-dir-cat-badge { background: #ffebee; color: #d32f2f; } 

.pk-ev-title-link { text-decoration: none; color: inherit; display: block; }
.pk-ev-title-link:hover .pk-ev-title { color: #d32f2f; }
.pk-ev-title { font-size: 15px; font-weight: 900; color: #222; line-height: 1.4; margin: 0 0 6px 0; height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.pk-ev-date { font-size: 12px; font-weight: bold; color: #0055cc; line-height: 1.4; height: 36px; display: flex; align-items: center; justify-content: center; text-align: center; }

.pk-ev-media-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative; }
.pk-ev-media { position: relative; width: 100%; height: 360px; background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; overflow: hidden; display: flex; align-items: center; justify-content: center;}
.pk-ev-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pk-ev-card:hover .pk-ev-media img { transform: scale(1.05); }

.pk-ev-overlay-top { position: absolute; top: 8px; left: 0; right: 0; text-align: center; z-index: 2; pointer-events: none; }
.pk-ev-price { display: inline-block; background: rgba(0, 0, 0, 0.75); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.2); }

.pk-ev-overlay-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; text-align: center; z-index: 2; pointer-events: none; }
.pk-ev-status { display: inline-block; background: rgba(204, 0, 0, 0.9); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 900; text-transform: uppercase; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

.pk-ev-completed-box { background: rgba(0, 0, 0, 0.85); padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); display: inline-block; max-width: 90%; }
.pk-ev-completed-title { color:#ffcc00; font-weight:900; font-size:12px; text-transform:uppercase; margin-bottom:2px; }
.pk-ev-completed-dates { font-size:11px; color:#ddd; line-height:1.3; }

.pk-ev-bottom { padding: 10px 15px; background: #fafafa; flex-shrink: 0; height: 75px; display: flex; flex-direction: column; justify-content: center; gap: 4px; box-sizing: border-box; }
.pk-ev-info-row { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #444; line-height: 1.3; }
.pk-ev-info-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }

.pk-ev-info-link, .pk-ev-info-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal; color: #333; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.pk-ev-info-link:hover { color: #0055cc; }

.pk-no-image-placeholder { position:absolute; width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#999; font-size:14px; background:#f0f0f0; font-weight:bold; }

/* Κάρτα Promo / Φυλλαδίου */
.pk-promo-card-minimal { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; display: block; text-decoration: none; background: #fff; border: 1px solid #e1e4e8; }
.pk-promo-card-minimal:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(230, 81, 0, 0.2); border-color:#e65100; }
.pk-promo-card-minimal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.pk-promo-card-minimal:hover img { transform: scale(1.05); }
.pk-promo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.75); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; padding: 20px; text-align: center; box-sizing: border-box; z-index: 2; }
.pk-promo-card-minimal:hover .pk-promo-overlay { opacity: 1; }
.pk-promo-hover-title { font-size: 1.3rem; font-weight: 900; margin: 0; line-height: 1.4; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.pk-promo-hover-hint { display: block; margin-top: 15px; font-size: 12px; color: #ffcc80; text-transform: uppercase; letter-spacing: 1px; }

/* Φίλτρα & Σελιδοποίηση */
.pk-events-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.pk-filter-btn { background: #f5f5f5; border: 1px solid #ddd; color: #555; padding: 8px 18px; border-radius: 30px; font-size: 13px; font-weight: bold; text-decoration: none; transition: all 0.2s; }
.pk-filter-btn:hover { background: #e0e0e0; color: #333; }
.pk-filter-btn.active { background: #d32f2f; color: #fff; border-color: #d32f2f; box-shadow: 0 4px 10px rgba(211,47,47,0.3); }

.pk-pagination { margin-top: 40px !important; text-align: center !important; clear: both !important; width: 100% !important; }
.pk-pagination .page-numbers { display: inline-block !important; padding: 8px 16px !important; margin: 0 4px !important; border: 1px solid #ddd !important; text-decoration: none !important; border-radius: 6px !important; color: #333 !important; font-weight: bold !important; font-size: 15px !important; background: #fff !important; transition: all 0.2s ease !important; }
.pk-pagination .page-numbers:hover { background: #f0f0f0 !important; border-color: #bbb !important; }
.pk-pagination .page-numbers.current { background: #d32f2f !important; color: #fff !important; border-color: #d32f2f !important; }

/* --------------------------------------------------------------------------
   5. ΕΞΥΠΝΟΣ ΚΑΤΑΛΟΓΟΣ (SMART DIRECTORY GRID)
   -------------------------------------------------------------------------- */
.pk-smart-wrap { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 40px; font-family: inherit; }
.pk-smart-sidebar { width: 280px; flex-shrink: 0; background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.pk-smart-main { flex-grow: 1; min-width: 0; }
.pk-filter-group { margin-bottom: 25px; }
.pk-filter-title { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.pk-filter-search { width: 100%; padding: 10px 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; outline: none; transition: 0.3s; box-sizing: border-box;}
.pk-filter-search:focus { border-color: #d32f2f; box-shadow: 0 0 0 3px rgba(211,47,47,0.1); }
.pk-term-count { font-size: 12px; color: #999; background: #f5f5f5; padding: 2px 6px; border-radius: 10px; }
.pk-show-more-btn { background: none; border: none; color: #d32f2f; font-size: 13px; font-weight: bold; cursor: pointer; padding: 0; margin-top: 5px; text-decoration: underline; }
.pk-smart-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: #fff; padding: 10px 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid #eee; }
.pk-sort-select { padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; outline: none; cursor: pointer; }
.pk-mobile-filter-btn { display: none; width: 100%; background: #d32f2f; color: #fff; border: none; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; margin-bottom: 20px; text-align: center; }
.pk-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; transition: opacity 0.3s ease; align-items: stretch;}
.pk-dir-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.06); border: 1px solid #eaeaea; transition: 0.3s; display: flex; flex-direction: column; }
.pk-dir-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); border-color: #d32f2f; }
.pk-dir-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid #eee; }
.pk-dir-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.pk-dir-title { font-size: 16px; font-weight: bold; color: #222; margin: 0 0 10px 0; }
.pk-dir-meta { font-size: 13px; color: #666; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.pk-dir-btn { margin-top: auto; display: block; text-align: center; background: #f9f9f9; color: #333; padding: 8px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 13px; transition: 0.2s; border: 1px solid #ddd; }
.pk-dir-btn:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }
.pk-ajax-loading { opacity: 0.4; pointer-events: none; }
.pk-no-results { grid-column: 1 / -1; text-align: center; padding: 40px; background: #fff; border-radius: 8px; border: 1px dashed #ccc; color: #777; font-size: 16px; }

@media (max-width: 768px) {
    .pk-smart-wrap { flex-direction: column; }
    .pk-mobile-filter-btn { display: block; }
    .pk-smart-sidebar { width: 100%; display: none; margin-bottom: 20px; box-sizing: border-box;}
    .pk-smart-sidebar.active { display: block; }
    .pk-smart-topbar { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   6. SINGLE PAGES (Παρουσίαση Εκδηλώσεων / Καταλόγου / Προτάσεων)
   -------------------------------------------------------------------------- */
.site.grid-container { max-width: 100% !important; }
.site-content { padding: 0 !important; display: block !important; width: 100% !important; max-width: 100% !important; }
.pk-single-wrap { width: 100% !important; max-width: 1200px !important; margin: 40px auto !important; padding: 0 20px !important; box-sizing: border-box !important; font-family: sans-serif; }
.pk-single-header { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #eee; }

.pk-single-title { font-size: 2.2rem; font-weight: 900; color: #222; margin: 0 0 20px 0; line-height: 1.2; }
.pk-single-body { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 20px; align-items: flex-start; }
.pk-single-content { flex: 1 1 0; min-width: 300px; font-size: 16px; line-height: 1.8; color: #444; box-sizing: border-box; }
.pk-single-sidebar { flex: 0 0 320px; box-sizing: border-box; }

.pk-info-card { background: #fff; border: 1px solid #eee; padding: 25px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: sticky; top: 100px; }
.pk-info-row { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.pk-info-icon { font-size: 1.5rem; line-height:1; }
.pk-info-text { width: 100%; }
.pk-info-text strong { display: block; color: #222; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.pk-info-text span, .pk-info-text a { color: #555; font-size: 15px; text-decoration:none; display:inline-block; }
.pk-info-text a:hover { color: #0055cc; text-decoration:underline; }

/* Εικόνες & Gallery στις Παρουσιάσεις */
.pk-single-img-wrap, .pk-dir-img-wrap { margin: 30px 0 15px 0; max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06); border: 1px solid #eee; background:#f8f9fa; text-align:center; position:relative;}
.pk-single-img-wrap img, .pk-dir-img-wrap img { max-width: 100%; height: auto; display: inline-block; cursor: zoom-in; transition: transform 0.2s; object-fit: contain; }
.pk-single-img-wrap img { max-height: 400px; }
.pk-single-img-wrap img:hover, .pk-dir-img-wrap img:hover { transform: scale(1.02); }
.pk-zoom-hint { text-align: center; font-size: 12px; color: #888; padding: 10px; background: #fafafa; border-top: 1px solid #eee; }

.pk-promo-img-wrap { margin: 0 0 15px 0; border: 2px solid #ffcc80; background:#fffdf5; padding:10px; max-width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06); text-align:center;}
.pk-promo-img-wrap img { max-height: 700px; border-radius:8px; width: auto; height: auto; display: inline-block; cursor: zoom-in; transition: transform 0.2s; object-fit: contain;}

.pk-gallery-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; margin-bottom: 40px; justify-content: flex-start; }
.pk-gallery-grid img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; cursor: zoom-in; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: transform 0.2s; border:1px solid #eee;}
.pk-gallery-grid img:hover { transform: scale(1.05); z-index:2; }

/* Buttons & Badges Single */
.pk-btn-ticket { display: block; width: 100%; background: #d32f2f; color: #fff; text-align: center; padding: 15px; border-radius: 8px; font-weight: bold; text-decoration: none; margin-top: 10px; transition: background 0.3s; font-size:15px; box-sizing:border-box;}
.pk-btn-ticket:hover { background: #b71c1c; color:#fff; }
.pk-btn-outline { display: block; width: 100%; background: #fff; border:2px solid #222; color: #222; text-align: center; padding: 12px; border-radius: 8px; font-weight: bold; text-decoration: none; margin-top: 10px; transition: background 0.3s; font-size:14px; box-sizing:border-box;}
.pk-btn-outline:hover { background: #222; color:#fff; }

.pk-dir-types { margin-top: 12px; font-size: 16px; color: #444; font-weight: bold; }
.pk-dir-features { margin-top: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pk-feat-badge { padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: bold; }
.pk-feat-am { background: #e6f7ff; color: #0055cc; border: 1px solid #b3d4ff; }
.pk-feat-sv { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }

.pk-status-badge { display:inline-block; background:#ffcc00; color:#000; padding:6px 18px; border-radius:20px; font-weight:bold; margin-bottom:15px; font-size:14px; text-transform:uppercase; letter-spacing:0.5px;}
.pk-header-dates { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pk-head-date-item { display:inline-block; padding: 6px 18px; border-radius: 30px; border: 1px solid; font-weight: bold; }
.pk-rep-day { display:inline-block; background:#111; color:#fff; font-size:12px; padding:5px 12px; border-radius:20px; margin:4px; font-weight:bold; }

/* Σχετικές & Παρελθοντικές Εκδηλώσεις */
.pk-related-events { margin-top: 40px; padding-top: 30px; border-top: 2px solid #eee; }
.pk-rel-ev-item { display:flex; gap:15px; margin-bottom:15px; padding:15px; background:#f9f9f9; border-radius:8px; align-items:center; text-decoration:none; color:#222; transition:background 0.2s; border:1px solid #eee; }
.pk-rel-ev-item:hover { background:#fff; border-color:#d32f2f; box-shadow:0 5px 15px rgba(0,0,0,0.05); }
.pk-rel-ev-item img { width:80px; height:80px; object-fit:cover; border-radius:6px; }
.pk-past-event { background:#fff; opacity: 0.7; }
.pk-past-event:hover { opacity: 1; border-color:#ccc; }

.pk-author-bar { margin-top: 50px; background: #fffdf5; border: 1px dashed #ffb74d; padding: 20px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }

/* Map Single */
.pk-map-iframe { width: 100%; height: 200px; border: 1px solid #ddd; border-radius: 8px; margin-top: 10px; display: block; }
.pk-map-btn { display: block; text-align: center; background: #f0f4f8; color: #0055cc !important; border: 1px solid #d0e1f9; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: bold; margin-top: 8px; text-decoration: none !important; transition: background 0.2s; }
.pk-map-btn:hover { background: #e2ecf5; color: #0044aa !important; }

/* Modal Εικόνας Single */
#pk-image-modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index:999999; overflow:hidden; align-items:center; justify-content:center; cursor:grab; }
#pk-image-modal:active { cursor:grabbing; }
#pk-modal-close { position:absolute; top:20px; right:30px; color:#fff; font-size:45px; font-weight:bold; cursor:pointer; z-index:1000000; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
#pk-modal-img { position:absolute; transition: transform 0.1s ease-out; transform-origin: center center; max-width:90vw; max-height:90vh; user-select:none; -webkit-user-drag:none; }

@media (max-width: 768px) {
    .pk-single-sidebar { flex: 1; min-width: 100%; order: -1; } 
    .pk-single-title { font-size: 1.8rem; }
    .pk-author-bar { flex-direction: column; gap: 15px; text-align: center; }
}

/* --------------------------------------------------------------------------
   7. CALENDAR & AVAILABILITY STATS
   -------------------------------------------------------------------------- */
.pk-ajax-cal-container { width: 100%; margin-bottom: 30px; }
.pk-cal-slider-wrap { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-bottom: 15px; margin-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; align-items: center; }
.pk-cal-slider-wrap::-webkit-scrollbar { height: 6px; }
.pk-cal-slider-wrap::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.pk-cal-btn { background: #f5f5f5; border: 1px solid #ddd; color: #555; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: bold; cursor: pointer; white-space: nowrap; transition: all 0.2s ease; outline: none; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 70px; }
.pk-cal-btn:hover { background: #e0e0e0; color: #333; }
.pk-cal-btn.active { background: #d32f2f; color: #fff; border-color: #d32f2f; box-shadow: 0 4px 10px rgba(211,47,47,0.3); }
.pk-cal-badge { background: #d32f2f; color: #fff; border-radius: 50%; width: 22px; height: 22px; font-size: 12px; line-height: 22px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.pk-cal-btn.active .pk-cal-badge { background: #fff; color: #d32f2f; }
.pk-cal-datepicker-trigger { background: #fff; border: 2px solid #d32f2f; color: #d32f2f; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: bold; cursor: pointer; white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; transition: 0.3s; outline: none; }
.pk-cal-datepicker-trigger:hover, .pk-cal-datepicker-trigger.active { background: #d32f2f; color: #fff; }
.pk-ajax-loader { width: 100%; text-align: center; padding: 50px 20px; color: #666; font-size: 16px; font-weight: bold; background: #f9f9f9; border-radius: 8px; border: 1px dashed #ccc; grid-column: 1 / -1; }
.pk-selected-date-label { font-size: 13px; color: #777; margin: 0 0 15px 5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.fp-event-badge { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); background: #d32f2f; color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 11px; line-height: 16px; text-align: center; font-weight:bold; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* Στατιστικά / Διαθεσιμότητα */
.pk-avail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top:20px; font-family: sans-serif; } 
.pk-avail-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); } 
.pk-avail-title { font-size: 16px; font-weight: bold; color: #333; margin-top: 0; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; } 
.pk-avail-status { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; margin-bottom: 10px; } 
.pk-avail-free { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; } 
.pk-avail-busy { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; } 
.pk-avail-wait { font-size: 13px; color: #666; margin: 0; } 
.pk-avail-wait strong { color: #d32f2f; }