/* fdw-xmas.css — discreet Christmas decoration (Simos 30/11/2026: proposals 1 + 2 together,
   no Santa/reindeer). Everything is scoped to html.fdw-xmas, which a tiny script in module 441
   adds only before 7/1/2027 (Athens) and never on cart/checkout — so the file can stay linked
   after the season and does nothing. Removing the <link> + script restores the site exactly.
   Decorative only: no layout change except a little bottom padding for the garlands. */
html.fdw-xmas{
  --xm-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.1 6.4 6.4-2.3-2.3 6.4 6.3 2-6.3 2.1 2.3 6.4-6.4-2.3L12 22.5l-2.1-6.3-6.4 2.3 2.3-6.4L-.5 12l6.3-2.1-2.3-6.4 6.4 2.3z' fill='%23e2c06b' stroke='%23a9822f' stroke-width='.9' stroke-linejoin='round'/%3E%3C/svg%3E");
  --xm-garland:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='20' viewBox='0 0 72 20'%3E%3Cpath d='M0 5 Q18 13 36 5 T72 5' fill='none' stroke='%235f8f74' stroke-width='1.3'/%3E%3Cg transform='translate(18 9) scale(1)'%3E%3Cpath d='M0 0v2' stroke='%23557d4b' stroke-width='.8'/%3E%3Cellipse cx='-3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(-38 -3.2 4)' fill='%237fa86c' stroke='%23557d4b' stroke-width='.5'/%3E%3Cellipse cx='3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(38 3.2 4)' fill='%236f9a5b' stroke='%23557d4b' stroke-width='.5'/%3E%3Ccircle cx='-.9' cy='2.6' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='1' cy='3.1' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='0' cy='1.4' r='1.1' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3C/g%3E%3Cg transform='translate(54 1) scale(1)'%3E%3Cpath d='M0 0v2' stroke='%23557d4b' stroke-width='.8'/%3E%3Cellipse cx='-3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(-38 -3.2 4)' fill='%237fa86c' stroke='%23557d4b' stroke-width='.5'/%3E%3Cellipse cx='3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(38 3.2 4)' fill='%236f9a5b' stroke='%23557d4b' stroke-width='.5'/%3E%3Ccircle cx='-.9' cy='2.6' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='1' cy='3.1' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='0' cy='1.4' r='1.1' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3C/g%3E%3Ccircle cx='36' cy='5' r='2.2' fill='%2389c2ea' stroke='%235f9fd0' stroke-width='.5'/%3E%3Ccircle cx='35.3' cy='4.3' r='.6' fill='%23fff'/%3E%3C/svg%3E");
  --xm-garland-s:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 3 Q12 8 24 3 T48 3' fill='none' stroke='%235f8f74' stroke-width='1'/%3E%3Cg transform='translate(12 5.5) scale(0.75)'%3E%3Cpath d='M0 0v2' stroke='%23557d4b' stroke-width='.8'/%3E%3Cellipse cx='-3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(-38 -3.2 4)' fill='%237fa86c' stroke='%23557d4b' stroke-width='.5'/%3E%3Cellipse cx='3.2' cy='4' rx='3.8' ry='1.7' transform='rotate(38 3.2 4)' fill='%236f9a5b' stroke='%23557d4b' stroke-width='.5'/%3E%3Ccircle cx='-.9' cy='2.6' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='1' cy='3.1' r='1.35' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3Ccircle cx='0' cy='1.4' r='1.1' fill='%23fff' stroke='%23a9b9a0' stroke-width='.5'/%3E%3C/g%3E%3Ccircle cx='36' cy='1.6' r='1.5' fill='%2389c2ea'/%3E%3C/svg%3E");
}

/* 1. Top menu: fir garland along the bottom edge */
html.fdw-xmas body .fdw-nav{
  background:#fff var(--xm-garland) repeat-x 0 calc(100% - 1px)/72px 20px!important;padding-bottom:16px!important}

/* 2. Small gold star above the page you are on */
html.fdw-xmas body .fdw-nav a[aria-current=page],html.fdw-xmas body .fdw-nav li.active>a{position:relative}
html.fdw-xmas body .fdw-nav a[aria-current=page]::before,html.fdw-xmas body .fdw-nav li.active>a::before{
  content:"";position:absolute;left:50%;top:-10px;width:20px;height:20px;transform:translateX(-50%);
  background:var(--xm-star) center/contain no-repeat;pointer-events:none}

/* 3. Announcement strip: a star on each side (screen readers skip it: empty alt text) */
html.fdw-xmas body #mod-custom458 p::before,html.fdw-xmas body #mod-custom458 p::after{
  content:"✦";content:"✦"/"";color:#a9822f;font-size:15px;margin:0 10px;vertical-align:1px}

/* 4. Side panel titles: small garland instead of the plain line + a star in the corner */
html.fdw-xmas body #sp-left .sm-logo,html.fdw-xmas body .fdw-side p.fdw-head{
  border-bottom:0!important;padding-bottom:16px!important;
  background:var(--xm-garland-s) repeat-x 0 100%/48px 12px!important}
html.fdw-xmas body .fdw-side p.fdw-head::after{
  display:block!important;content:""!important;margin-left:auto;flex:none;width:18px;height:18px;
  background:var(--xm-star) center/contain no-repeat}

/* 5. Phones (the desktop bar is hidden there): garland under the menu grid of module 425
   and the gold star on the current pill. The current page is read from the desktop bar's
   aria-current (still in the DOM, only hidden) with :has(), so no extra script. */
html.fdw-xmas body .fdw-mnav{position:relative;padding-bottom:26px!important}
html.fdw-xmas body .fdw-mnav::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:20px;
  background:var(--xm-garland) repeat-x 0 0/72px 20px;pointer-events:none}
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/"]) body .fdw-mnav a[href="/"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/to-minyma-tis-imeras"]) body .fdw-mnav a[href="/to-minyma-tis-imeras"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/epilegmena-keimena"]) body .fdw-mnav a[href="/epilegmena-keimena"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/ta-nea-mas"]) body .fdw-mnav a[href="/ta-nea-mas"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/syndromes"]) body .fdw-mnav a[href="/syndromes"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/syndromitiko-vivliopoleio"]) body .fdw-mnav a[href="/syndromitiko-vivliopoleio"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/component/eshop/ta-periodika-mas"]) body .fdw-mnav a[href="/component/eshop/ta-periodika-mas"],
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/contact"]) body .fdw-mnav a[href="/contact"]{position:relative}
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/"]) body .fdw-mnav a[href="/"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/to-minyma-tis-imeras"]) body .fdw-mnav a[href="/to-minyma-tis-imeras"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/epilegmena-keimena"]) body .fdw-mnav a[href="/epilegmena-keimena"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/ta-nea-mas"]) body .fdw-mnav a[href="/ta-nea-mas"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/syndromes"]) body .fdw-mnav a[href="/syndromes"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/syndromitiko-vivliopoleio"]) body .fdw-mnav a[href="/syndromitiko-vivliopoleio"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/component/eshop/ta-periodika-mas"]) body .fdw-mnav a[href="/component/eshop/ta-periodika-mas"]::before,
html.fdw-xmas:has(.fdw-nav a[aria-current=page][href="/contact"]) body .fdw-mnav a[href="/contact"]::before{
  content:"";position:absolute;right:12px;top:-9px;width:20px;height:20px;
  background:var(--xm-star) center/contain no-repeat;pointer-events:none}
