/* Vislokaal 2026: kerstlaag (Claude, december 2026). Hoort bij inc/kerst-effecten.php en assets/js/kerst-effecten.js.
 * Kleuren en letters uit chrome.css (--vc-*). De waarden na de komma zijn alleen een vangnet.
 * --vl-kerst-goud is #b8995a (in category.css: --v26-gold). */
:root { --vl-kerst-goud: #b8995a; }

/* ---------- 1. Goudbalk met aftelchip. Tekst in #2d2d2d: navy op dit goud haalt maar 2,6:1. ---------- */
.vl-kerstbar { position: relative; z-index: 1001; margin: 0; padding: 0; background: var(--vl-kerst-goud); color: var(--vc-ink, #2d2d2d); font: 500 14px/1.3 var(--vc-sans, Roboto, Arial, sans-serif); }
.vl-kerstbar .vl-kerstbar__row { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 8px 40px; }
.vl-kerstbar .vl-kerstbar__main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vl-kerstbar .vl-kerstbar__label { flex: none; color: var(--vc-ink, #2d2d2d); font: 700 11px/1 var(--vc-sans, Roboto, Arial, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.vl-kerstbar p.vl-kerstbar__title { margin: 0; padding: 0; color: var(--vc-ink, #2d2d2d); font: 600 17px/1.25 var(--vc-serif, "Roboto Serif", Georgia, serif); }
.vl-kerstbar .vl-kerstbar__title a, .vl-kerstbar .vl-kerstbar__title a:visited { color: inherit; font: inherit; text-decoration: none; }
.vl-kerstbar .vl-kerstbar__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vl-kerstbar .vl-kerstbar__chip { flex: none; padding: 5px 10px; border-radius: 30px; background: #fff; color: var(--vc-ink, #2d2d2d); font: 700 13px/1.1 var(--vc-sans, Roboto, Arial, sans-serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vl-kerstbar a.vl-kerstbar__cta, .vl-kerstbar a.vl-kerstbar__cta:visited { display: inline-block; flex: none; height: 32px; padding: 0 16px; border-radius: 6px; background: var(--vc-n, #3a5896); color: #fff; font: 600 14px/32px var(--vc-sans, Roboto, Arial, sans-serif); text-align: center; text-decoration: none; white-space: nowrap; }
.vl-kerstbar a.vl-kerstbar__cta:hover { background: var(--vc-n2, #2e4881); color: #fff; }
.vl-kerstbar .btn-close.vl-kerstbar__close { position: absolute; top: 24px; right: 12px; z-index: 2; box-sizing: content-box; width: 12px; height: 12px; margin: 0; padding: 10px; border: 0; background-size: 12px; transform: translateY(-50%); opacity: .8; cursor: pointer; }
.vl-kerstbar .btn-close.vl-kerstbar__close:hover { opacity: 1; }
.vl-kerstbar .btn-close.vl-kerstbar__close:focus-visible, .vl-kerstbar a:focus-visible { outline: 3px solid var(--vc-n2, #2e4881); outline-offset: 2px; box-shadow: none; }
@media (max-width: 767px) {
	.vl-kerstbar .vl-kerstbar__row { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0 12px; }
	.vl-kerstbar .vl-kerstbar__main { gap: 10px; min-height: 28px; padding-right: 34px; }
	.vl-kerstbar .vl-kerstbar__label { display: none; }
	.vl-kerstbar p.vl-kerstbar__title { font-size: 15px; white-space: nowrap; }
	.vl-kerstbar .vl-kerstbar__chip { padding: 5px 8px; font-size: 12px; }
	.vl-kerstbar .vl-kerstbar__main { gap: 8px; }
	.vl-kerstbar a.vl-kerstbar__cta { display: block; height: 40px; line-height: 40px; font-size: 15px; }
	.vl-kerstbar .btn-close.vl-kerstbar__close { right: 4px; }
}
@media (max-width: 359px) { .vl-kerstbar .vl-kerstbar__main { flex-wrap: wrap; gap: 4px 8px; } }

/* ---------- 2. Vis-sneeuw ---------- */
#vl-kerst-sneeuw { position: fixed; top: 0; left: 0; z-index: 1002; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #vl-kerst-sneeuw, .vl-kerst-visje { display: none !important; } }

/* ---------- 3. Het gouden visje ---------- */
button.vl-kerst-visje { position: fixed; top: 0; left: 0; z-index: 1004; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--vl-kerst-goud); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; will-change: transform; }
button.vl-kerst-visje:hover, button.vl-kerst-visje:focus { background: transparent; }
button.vl-kerst-visje:focus-visible { outline: 3px solid #f8b840; outline-offset: 0; }
.vl-kerst-visje svg { display: block; width: 28px; height: 28px; overflow: visible; filter: drop-shadow(0 1px 2px rgba(45, 45, 45, .35)); animation: vl-kerst-glinster 1.8s ease-in-out infinite; }
@keyframes vl-kerst-glinster { 0%, 100% { filter: drop-shadow(0 1px 2px rgba(45, 45, 45, .35)) brightness(1); } 50% { filter: drop-shadow(0 0 6px rgba(197, 170, 115, .9)) brightness(1.18); } }
.vl-kerst-spetter { position: fixed; top: 0; left: 0; z-index: 1004; width: 0; height: 0; pointer-events: none; }
.vl-kerst-spetter i { position: absolute; top: -4px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--vl-kerst-goud); animation: vl-kerst-spat .55s ease-out forwards; }
@keyframes vl-kerst-spat { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* Kaartje na het vangen, in de lijn van Tip van Cor: witte kaart, navy serif kop. */
.vl-kerst-kaart { position: fixed; right: 24px; bottom: 24px; z-index: 1005; box-sizing: border-box; width: 360px; max-width: calc(100vw - 32px); padding: 22px 22px 24px; border: 1px solid var(--vc-line, #c3cdda); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(23, 38, 77, .22); color: var(--vc-ink, #2d2d2d); font: 400 15px/1.5 var(--vc-sans, Roboto, Arial, sans-serif); animation: vl-kerst-kaart-in .25s ease-out; }
@keyframes vl-kerst-kaart-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vl-kerst-kaart .vl-kerst-kaart__who { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0 28px 0 0; }
.vl-kerst-kaart .vl-kerst-kaart__avatar { flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid var(--vc-gold, #c5aa73); border-radius: 50%; background: #fff; object-fit: cover; }
.vl-kerst-kaart .vl-kerst-kaart__label { margin: 0; padding: 0; color: var(--vc-mut, #5f6478); font: 600 12px/1.3 var(--vc-sans, Roboto, Arial, sans-serif); letter-spacing: .06em; text-transform: uppercase; }
.vl-kerst-kaart h2.vl-kerst-kaart__title { margin: 0 0 8px; padding: 0; color: var(--vc-n, #3a5896); font: 700 26px/1.15 var(--vc-serif, "Roboto Serif", Georgia, serif); letter-spacing: -.01em; text-transform: none; }
.vl-kerst-kaart p.vl-kerst-kaart__text { margin: 0 0 16px; padding: 0; color: var(--vc-ink, #2d2d2d); font: inherit; }
.vl-kerst-kaart a.vl-kerst-kaart__cta, .vl-kerst-kaart a.vl-kerst-kaart__cta:visited { display: block; height: 44px; padding: 0 18px; border-radius: 8px; background: var(--vc-n, #3a5896); color: #fff; font: 600 15px/44px var(--vc-sans, Roboto, Arial, sans-serif); text-align: center; text-decoration: none; }
.vl-kerst-kaart a.vl-kerst-kaart__cta:hover { background: var(--vc-n2, #2e4881); color: #fff; }
.vl-kerst-kaart .btn-close.vl-kerst-kaart__close { position: absolute; top: 12px; right: 12px; box-sizing: content-box; width: 12px; height: 12px; margin: 0; padding: 10px; border: 0; background-size: 12px; opacity: .7; cursor: pointer; }
.vl-kerst-kaart .btn-close.vl-kerst-kaart__close:hover { opacity: 1; }
.vl-kerst-kaart a:focus-visible, .vl-kerst-kaart .btn-close:focus-visible { outline: 3px solid #f8b840; outline-offset: 2px; box-shadow: none; }
@media (max-width: 575px) { .vl-kerst-kaart { right: 16px; bottom: 16px; left: 16px; width: auto; } }

/* ---------- 4. Productkaarten: gouden visje in de hoek van de foto, springt één keer op ----------
 * Alleen producten in de categorie visschotels of vis-voor-de-feestdagen. De klasse vl-kerst op <html> zet het JS (tot en met SNEEUW_TOT). */
html.vl-kerst .product.product_cat-visschotels .et_shop_image,
html.vl-kerst .product.product_cat-vis-voor-de-feestdagen .et_shop_image { position: relative; display: block; }
html.vl-kerst .product.product_cat-visschotels .et_shop_image::after,
html.vl-kerst .product.product_cat-vis-voor-de-feestdagen .et_shop_image::after { content: ""; position: absolute; right: 6px; bottom: 6px; z-index: 2; width: 26px; height: 26px; background: var(--vl-kerst-goud); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12c2.800-3.600 6.400-5.500 10.300-5.500 3.400 0 6.100 1.500 7.700 3.300L23 7v10l-3-2.800c-1.600 1.800-4.300 3.300-7.700 3.300C8.400 17.500 4.800 15.600 2 12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12c2.800-3.600 6.400-5.500 10.300-5.500 3.400 0 6.100 1.500 7.700 3.300L23 7v10l-3-2.800c-1.600 1.800-4.300 3.300-7.700 3.300C8.400 17.500 4.800 15.600 2 12z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; pointer-events: none; }
html.vl-kerst .product.product_cat-visschotels .wrap-inner:hover .et_shop_image::after,
html.vl-kerst .product.product_cat-visschotels .wrap-inner:focus-within .et_shop_image::after,
html.vl-kerst .product.product_cat-visschotels .wrap-inner:active .et_shop_image::after,
html.vl-kerst .product.product_cat-vis-voor-de-feestdagen .wrap-inner:hover .et_shop_image::after,
html.vl-kerst .product.product_cat-vis-voor-de-feestdagen .wrap-inner:focus-within .et_shop_image::after,
html.vl-kerst .product.product_cat-vis-voor-de-feestdagen .wrap-inner:active .et_shop_image::after { opacity: 1; animation: vl-kerst-sprong .3s ease-out 1; }
@keyframes vl-kerst-sprong { 0% { opacity: 0; transform: translateY(8px) rotate(0deg); } 55% { opacity: 1; transform: translateY(-9px) rotate(-18deg); } 100% { opacity: 1; transform: translateY(0) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) {
	html.vl-kerst .product .et_shop_image::after { animation: none !important; }
	.vl-kerst-kaart { animation: none; }
}

/* ---------- 5. Hoofdmenu: Kerst als gouden pil (tot en met SNEEUW_TOT, zie inc/kerst-effecten.php) ----------
 * De link houdt zijn eigen hoogte; alleen het label krijgt de pil. Zo blijft de navigatiebalk even hoog. */
.vl-kerst-pil { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--vl-kerst-goud, #b8995a); color: var(--vc-ink, #2d2d2d); font: inherit; letter-spacing: inherit; line-height: 20px; white-space: nowrap; }
.vl-kerst-pil .vl-kerst-pil__ic { display: block; flex: none; width: 16px; height: 16px; color: var(--vc-ink, #2d2d2d); }
a.mega-menu-link:hover .vl-kerst-pil, a.mega-menu-link:focus-visible .vl-kerst-pil { background: #a68a4e; }
#header-main.vl26-hdr #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link { padding-left: 4px !important; padding-right: 10px !important; }
#header-main.vl26-hdr #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link::after,
#header-main.vl26-hdr #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link::before { display: none !important; }
@media (max-width: 1399px) { #header-main.vl26-hdr .vl-kerst-pil { padding: 6px 12px; } }
body .area-mobile #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link .vl-kerst-pil { background: var(--vl-kerst-goud, #b8995a) !important; color: var(--vc-ink, #2d2d2d) !important; }
body .area-mobile #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link .vl-kerst-pil > span { background: transparent !important; color: inherit !important; }
body .area-mobile #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-vl-kerst-nav > a.mega-menu-link:hover .vl-kerst-pil { background: #a68a4e !important; }
/* Het mobiele menu zet een pijltje (icoonfont) achter elk label-span; niet in de pil. */
.vl-kerst-pil::before, .vl-kerst-pil::after, .vl-kerst-pil > span::before, .vl-kerst-pil > span::after { content: none !important; display: none !important; }
