/*
 * Cokitex – WCAG 2.1 AA (EN 301 549) accessibility overrides
 * 18/11/2026 – Web Art Studio
 *
 * Every visual accessibility change lives in this file.
 * To restore the original look, delete the matching section (or the whole file).
 * The original colours are listed in /home/cokitex/a11y-backup-20261118/ORIGINAL_COLORS.md
 */

/* 1. Main menu "ΞΕΝΟΔΟΧΕΙΟ" – was #858889 (white text 3.57:1) */
html a[href*="xenodocheio-1"] .links-text {
  background-color: #5F6263 !important;
}

/* 1b. Hotel page (/xenodocheio-1) button "Ανακαλύψτε τη Συλλογή" – same grey as no. 1, was #858889 */
html .module-blocks-1189 .module-item-1 .block-footer .btn:not(:hover) {
  background-color: #5F6263;
  --background-color: #5F6263;
}

/* 2. Top bar on hotel pages (header #1187) – was #858889 (text #EBEBF0 3.01:1) */
html .module-header_desktop_classic-1187 .top-bar:before {
  background-color: #5F6263;
  --background-color: #5F6263;
}

/* 3. Home slider button "Ανακαλύψτε τη συλλογή" – was #F2C751 (white text 1.61:1). Hover (#262626) unchanged */
html .module-slider-1149 .swiper-slide:not(.module-item-12) .module-subitem-3 .btn.slide-button-1:not(:hover) {
  background-color: #86670F;
  --background-color: #86670F;
}

/* 4. Slider dots – were 6x6px. Now a 10px dot with a 24x24px click area */
html .module-slider .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  padding: 7px !important;
  margin: 0 !important;
  box-sizing: content-box !important;
  background-clip: content-box !important;
}

/* 5. Breadcrumb – was #7B7E80 / #8B8E91 */
html .breadcrumb li:not(:hover) a,
html .breadcrumb li:last-of-type a,
html .breadcrumb > li:first-child em.fa-home:after {
  color: #6A6D6F;
}

/* 6. Side products tabs (e.g. "Δημοφιλέστερα") – was #6E7275 */
html .side-products-tabs .nav-tabs > li:not(.active) > a:not(:hover) {
  color: #5D6164;
}

/* 7. Product page "Διαθέσιμο" – was #409463 */
html .product-info .product-stats .in-stock span {
  color: #2E7049;
}

/* 8. Footer "Handcrafted by" – was #7D8184 (inline style) */
html a.block-link[href*="webartstudio"] + .block-body .block-text > div {
  color: #9A9EA1 !important;
}

/* 9. 404 page "Error" label – was #F27763 */
html .module-banners_grid-1065 .module-item-1.swiper-slide .module-subitem-1 .slide-text-layer {
  color: #C94A35;
}

/* 10. Links inside text must not rely on colour alone – were not underlined */
html a.agree,
html .checkbox label a,
html .radio label a,
html #content .content p a:not(.btn),
html #content .content li a:not(.btn),
html .post-content a:not(.btn),
html .category-text a:not(.btn),
html .product-info .description a:not(.btn),
html .block-text p a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 11. Site map: "Ξενοδοχείο" link was white on a light background (side effect of the custom CSS for menu item 1) */
html.route-information-sitemap #content a[href*="xenodocheio-1"],
html.route-information-sitemap #content a[href*="xenodocheio-1"] * {
  color: inherit !important;
}

/* 12. Terms page: quotes around "Πολιτική Απορρήτου" – were #9C9C94 on #D6EFD6 */
html #content font[color="#9c9c94"],
html #content font[color="#9C9C94"] {
  color: #5F5F58 !important;
}

/* Non-visual helper: page titles that the theme hides stay readable by screen readers */
html .a11y-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============ ΕΣΠΑ 2021-2027 sticky banner (link to poster PDF, GR/EN) ============ */
.espa-sticky {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9990;
  background: #fff;
  padding: 4px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  line-height: 0;
}
.espa-sticky a { display: block; }
.espa-sticky img { display: block; width: 320px; max-width: none; height: auto; }
.espa-sticky a:focus-visible { outline: 2px solid #1C2021; outline-offset: 3px; }
@media (max-width: 767px) {
  .espa-sticky { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 3px 8px; box-shadow: 0 -1px 6px rgba(0, 0, 0, .15); }
  .espa-sticky img { width: 100%; max-width: 420px; margin: 0 auto; }
  body { padding-bottom: 52px; }
}
