/*
 * Christmas theme. Loaded only when "Christmas theme" is on in the plugin settings,
 * and scoped to body.tp-xmas so it can never leak into the normal look.
 * Calm and seasonal: the normal header and footer stay; soft gold (#c9a96a) hairlines and
 * cranberry (#8a1c2b) for the Christmas menu link, hovers and sale badges.
 * No patterns or animation, so nothing competes with product photos.
 */

body.tp-xmas {
  --tp-xmas-red: #8a1c2b;
  --tp-xmas-gold: #c9a96a;
}

/* Top strip keeps its normal colour, with a gold hairline */
body.tp-xmas #top-bar,
body.tp-xmas .header-top {
  border-bottom: 1px solid var(--tp-xmas-gold);
}

/* Main nav stays light, with a gold rule underneath */
body.tp-xmas #wide-nav,
body.tp-xmas .header-bottom {
  border-bottom: 1px solid var(--tp-xmas-gold);
}
body.tp-xmas #wide-nav .nav > li > a:hover,
body.tp-xmas #wide-nav .nav > li.active > a,
body.tp-xmas #wide-nav .nav > li.current-menu-item > a {
  color: var(--tp-xmas-red) !important;
}

/* The Christmas page link (each shop's slug) is always cranberry, so the campaign is easy to find */
body.tp-xmas .nav a[href$='/kaledos/'],
body.tp-xmas .nav a[href$='/ziemassvetki/'],
body.tp-xmas .nav a[href$='/joulud/'],
body.tp-xmas .nav a[href$='/joulu/'] {
  color: var(--tp-xmas-red) !important;
  font-weight: 700;
}

/* Solid buttons keep their normal colour; the hover turns cranberry */
body.tp-xmas .button.primary:not(.is-outline):not(.is-form):not(.ux-buy-now-button):hover,
body.tp-xmas .button.checkout:not(.is-outline):not(.is-form):hover,
body.tp-xmas .single_add_to_cart_button:not(.is-outline):hover,
body.tp-xmas .add_to_cart_button:not(.is-outline):hover,
body.tp-xmas .checkout-button:not(.is-outline):hover,
body.tp-xmas #place_order:hover {
  background-color: var(--tp-xmas-red) !important;
  border-color: var(--tp-xmas-red) !important;
  color: #fff !important;
}

/* Sale badges: muted cranberry instead of bright red */
body.tp-xmas .badge-inner.on-sale,
body.tp-xmas .onsale {
  background-color: var(--tp-xmas-red) !important;
  color: #fff !important;
}
