/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.ann {
  background: var(--c-p700);
  color: var(--txi);
  text-align: center;
  font-size: 12px;
  padding: 8px 40px;
  position: relative;
  line-height: 1.5;
}
.ann a { color: var(--c-a400); text-decoration: underline; }
.ann a:hover { color: var(--c-a500); }
.ann-x {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.ann-x:hover { color: var(--txi); }

/* ============================================
   HEADER
   ============================================ */
.sh-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
}
.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
  background: var(--bg);
  max-width: 1400px;
  margin: 0 auto;
}
.sh-logo {
  font-family: var(--fd);
  font-size: 20px;
  color: var(--c-p500);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.sh-logo:hover { color: var(--c-p500); }
.sh-logo-img { max-height: 36px; width: auto; display: block; }
.sh-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-a500);
  flex-shrink: 0;
}
.sh-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.sh-nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.sh-nav a,
.sh-nav .menu-item > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--tx2);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sh-nav .menu-item > a:hover {
  background: var(--bg-el);
  color: var(--c-p500);
}
.sh-nav .current-menu-item > a {
  color: var(--c-p500);
}
.sh-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--c-p500);
  border-radius: 1px;
}
.sh-nav .menu-item { position: relative; }
.sh-nav .current-menu-item > a { position: relative; }

/* Dropdown sub-menu */
.sh-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sh-nav .menu-item-has-children > a::before {
  content: '';
  order: 99;
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}
.sh-nav .menu-item-has-children::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 10px;
}
.sh-nav .sub-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  box-shadow: var(--sh-lg);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
  flex-direction: column;
  gap: 2px;
}
.sh-nav .menu-item-has-children:hover .sub-menu,
.sh-nav .menu-item-has-children:focus-within .sub-menu { display: flex; }
.sh-nav .sub-menu a {
  display: block; padding: 8px 12px;
  border-radius: 7px; font-size: 13px;
  color: var(--tx2); white-space: nowrap;
}
.sh-nav .sub-menu a:hover { background: var(--bg-el); color: var(--c-p500); }

/* Header actions */
.sh-acts {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sh-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--tx2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background .15s, color .15s;
  text-decoration: none;
  cursor: pointer;
  font-size: 20px;
}
.sh-btn:hover {
  background: var(--bg-el);
  color: var(--c-p500);
}
.sh-cc {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: var(--c-a400);
  color: var(--c-n900);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.sh-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--tx);
  font-size: 20px;
  cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.ft {
  background: var(--c-n900);
  color: var(--c-n300);
  padding: 0;
  margin-top: auto;
}
/* Sticky footer: body flex column pushes footer down */
html { height: 100%; }
body { min-height: 100%; display: flex; flex-direction: column; }
.sh, .ann, .mc-overlay, .wc-main { width: 100%; }
.wc-main { flex: 1; }
.ft-bot {
  max-width: 1400px;
  margin: auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.055);
}
.ft-copy {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.ft-leg {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
}
.ft-leg a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.ft-leg a:hover { color: var(--txi); }
.ft-translate {
  display: inline-flex;
  align-items: center;
}

/* ============================================
   COOKIE CONSENT BAR
   ============================================ */
.ck-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--c-n900);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}
.ck-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ck-bar-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.ck-bar-icon {
  font-size: 20px;
  color: var(--c-a500);
  flex-shrink: 0;
}
.ck-bar-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.75);
  font-family: var(--fb);
}
.ck-bar-text a {
  color: var(--c-a400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-bar-text a:hover { color: var(--c-a300); }
.ck-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ck-bar-btn {
  height: 36px;
  padding: 0 20px;
  border: none;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--fb);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.ck-bar-btn--accept {
  background: var(--c-a500);
  color: var(--c-n900);
}
.ck-bar-btn--accept:hover { background: var(--c-a600); }
.ck-bar-btn--decline {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
}
.ck-bar-btn--decline:hover { background: rgba(255,255,255,.15); color: var(--txi); }
@media (max-width: 600px) {
  .ck-bar-inner { flex-direction: column; padding: 16px 20px; gap: 14px; }
  .ck-bar-actions { width: 100%; }
  .ck-bar-btn { flex: 1; }
}

/* ============================================
   MINI-CART OVERLAY
   ============================================ */
.mc-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-ov);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mc-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   SITE WRAPPER
   ============================================ */
.site-main {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 24px;
  flex: 1;
  width: 100%;
}
/* Collapse empty <p> tags WordPress inserts between shortcodes */
.site-main > p:empty { display:none; }
.site-main > p > br:only-child { display:none; }

/* Footer copyright — allow wrapping on mobile */
@media (max-width:768px) {
  .ft-copy { white-space:normal; text-align:center; }
}
