/*
 * naranaturen-2027 — loaded after pv2027.css.
 *
 * 1. naranaturen.se's own chrome.
 * 2. pikkuvihrea.fi WPCode snippets not yet in the PV theme when this was built
 *    (theme-2027/wpcode/pv-fold-00N). When a PV release folds one of them,
 *    delete it here in the same NN build that moves to that base.
 */

/* ---- 1. naranaturen.se -------------------------------------------- */

/* The logo is a 600×83 PNG, not PV's square-ish SVG: keep it from looking oversized next to the search. */
.pv-logo img.pv-logo-svg { max-height: 44px; width: auto; max-width: 100%; }

/* One language: WPML still lists "SV", and a dropdown with nothing else in it is noise (shadow review 2026-10-27). */
.pv-lang, .pv-drawer__lang { display: none !important; }

/* ---- 2. folded PV snippets ---------------------------------------- */

/* pv-fold-001: "Visa fler artiklar" keeps its text on hover/focus. */
#pv-blog-more:hover, #pv-blog-more:focus { background: var(--pv-green-dark); color: #fff; }

/* pv-fold-002: bundle-sells add-ons on their own rows on simple products. */
.pv-pdp__buy form.cart:not(.bundle_form):not(.variations_form):has(.bundle_sells_form) { flex-wrap: wrap !important; }
.pv-pdp__buy form.cart .bundle_sells_title, .pv-pdp__buy form.cart .bundle_sells_form { flex: 0 0 100%; width: 100%; }
.pv-pdp__buy form.cart .bundle_sells_title h3 { font: 700 16px var(--pv-font) !important; margin: 6px 0 -4px !important; padding: 0; text-align: left; }
.pv-pdp__buy form.cart:has(.bundle_sells_form) .single_add_to_cart_button { flex: 1 1 0; }

/* pv-fold-003: side gutter stays visible in the horizontal scrollers on phones. */
@media (max-width: 991px) {
	.pv-grid--scroll, .pv-mosaic__grid { scroll-padding-inline: 16px; }
}

/* pv-fold-006: Cookiebot button steps aside while scrolling down on phones (pair of nn2027.js). */
@media (max-width: 991px) {
	#CookiebotWidget { transition: opacity .2s, visibility .2s, transform .2s; }
	body.pv-float-hidden #CookiebotWidget,
	body.pv-drawer-open #CookiebotWidget { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateY(12px); }
}

/* pv-fold-009: feature mosaic one card per row on desktop, bigger image. */
@media (min-width: 992px) {
	.pv-mosaic__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.pv-mosaic__card { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); min-height: 300px; }
	.pv-mosaic__card:not(:has(.pv-mosaic__img)) { grid-template-columns: minmax(0, 1fr); }
	.pv-mosaic__img { padding: 16px; }
	.pv-mosaic__img img { max-height: 420px; }
	.pv-mosaic__body { padding: 32px 36px; font-size: 16px; align-self: center; }
	.pv-mosaic__body h2 { font-size: 22px !important; }
}
