/* ==========================================================================
   SnusExpress – globálne štýly (celý web)
   Tokeny, ukazovateľ sily na kartách, tlačidlá, pätička.
   ========================================================================== */

:root {
	--sx-ink: #0e1116;
	--sx-ink-2: #171b22;
	--sx-ink-3: #232935;
	--sx-paper: #ffffff;
	--sx-mist: #f2f4f7;
	--sx-line: #e3e6eb;
	--sx-text: #1b1f26;
	--sx-muted: #5f6672;
	--sx-lime: #c6ff3a;
	--sx-lime-deep: #9fd61c;
	--sx-cherry: #ff2d55;
	--sx-amber: #ffb547;
	--sx-frost: #7fd6e8;
	--sx-radius: 20px;
	--sx-radius-lg: 28px;
	--sx-ease: cubic-bezier(.2, .7, .2, 1);
	--sx-display: "Unbounded", "Manrope", system-ui, sans-serif;
}

/* --- Ukazovateľ sily (5 bodiek ako na viečku) ------------------------------ */
.sx-dial {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	color: var(--sx-muted);
	--sx-dial-on: var(--sx-frost);
}
.sx-dial--mid { --sx-dial-on: var(--sx-amber); }
.sx-dial--hot { --sx-dial-on: var(--sx-cherry); }
.sx-dial__dots { display: inline-flex; gap: 3px; }
.sx-dial__dots i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sx-line);
}
.sx-dial__dots i.is-on { background: var(--sx-dial-on); }
.sx-dial--lg { font-size: 14px; gap: 10px; }
.sx-dial--lg .sx-dial__dots { gap: 5px; }
.sx-dial--lg .sx-dial__dots i { width: 12px; height: 12px; }

/* na produktovej karte: pod názvom, nad cenou */
.wd-product .sx-dial { margin: 2px 0 6px; }
.wd-product.text-center .sx-dial { justify-content: center; }

/* --- Odznak 18+ ------------------------------------------------------------- */
.sx-badge-18 {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sx-cherry);
	color: #fff;
	font: 800 14px/1 var(--sx-display);
	letter-spacing: -.5px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}

/* --- Tlačidlá a odkazy -------------------------------------------------------- */
.sx-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	transition: transform .18s var(--sx-ease), background-color .18s, color .18s, border-color .18s;
	touch-action: manipulation;
}
.sx-btn:hover { transform: translateY(-1px); }
.sx-btn:active { transform: translateY(0); }
.sx-btn--lime { background: var(--sx-lime); color: var(--sx-ink); }
.sx-btn--lime:hover { background: #d4ff66; color: var(--sx-ink); }
.sx-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.sx-btn--ghost:hover { border-color: #fff; color: #fff; }
.sx-btn .sx-icon { width: 18px; height: 18px; }

.sx-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--sx-text);
	text-decoration: none;
}
.sx-link .sx-icon { width: 18px; height: 18px; transition: transform .18s var(--sx-ease); }
.sx-link:hover .sx-icon, a:hover > .sx-link .sx-icon { transform: translateX(3px); }

.sx-icon { display: inline-block; flex: 0 0 auto; }

/* viditeľný focus všade, kde je náš prvok */
.sx-btn:focus-visible,
.sx-link:focus-visible,
.sx-lid:focus-visible,
.sx-cat:focus-visible,
.sx-tier:focus-visible,
.sx-promo__card:focus-visible,
.sx-footer a:focus-visible {
	outline: 3px solid var(--sx-lime-deep);
	outline-offset: 3px;
	border-radius: 8px;
}

/* --- Pätička ------------------------------------------------------------------ */
.wd-footer .footer-container,
footer.footer-container {
	background: var(--sx-ink);
	color: rgba(255, 255, 255, .72);
}
.sx-footer { padding: clamp(40px, 6vw, 72px) 0 28px; }
.sx-footer__grid {
	display: grid;
	gap: 36px 28px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.sx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.sx-footer__grid { grid-template-columns: 1.4fr .8fr .9fr 1.2fr; }
}
.sx-footer__logo img { width: 205px; height: auto; display: block; margin-bottom: 18px; }
.sx-footer__brand p { max-width: 38ch; margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.sx-footer__age { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.sx-footer__age .sx-badge-18 { box-shadow: none; }
.sx-footer h3 {
	margin: 0 0 14px;
	font: 800 13px/1 var(--sx-display);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sx-lime);
}
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer li + li { margin-top: 10px; }
.sx-footer a { color: #fff; text-decoration: none; }
.sx-footer a:hover { color: var(--sx-lime); }
.sx-footer__news p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.sx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13px;
}
.sx-footer__bottom p { margin: 0; }

/* newsletter formulár (Mailchimp for WP) – rovnaký vzhľad v promo aj v pätičke */
.sx-news-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.sx-news-form input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 16px;
}
.sx-news-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.sx-news-form input[type="email"]:focus { outline: none; border-color: var(--sx-lime); }
.sx-news-form input[type="submit"],
.sx-news-form button {
	height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--sx-lime);
	color: var(--sx-ink);
	font-weight: 800;
	font-size: 15px;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	white-space: nowrap;
	flex: 0 0 auto;
}
.sx-news-form input[type="submit"]:hover { background: #d4ff66; }
.mc4wp-response { margin-top: 10px; font-size: 14px; }

/* --- Hlavička: jemné doladenie na náš vzhľad ---------------------------------- */
.whb-header .wd-tools-element .wd-tools-count { background: var(--sx-lime) !important; color: var(--sx-ink) !important; }
/* logo: SVG má natívne 410×90, v hlavičke ho zobrazujeme v polovičnej veľkosti */
.whb-header .site-logo img { max-width: 205px !important; height: auto; }
.whb-sticky-header .site-logo img { max-width: 170px !important; }
/* „sticky navigation" (bočný zoznam kategórií s miniatúrami) pri 2 kategóriách nepotrebujeme */
.whb-header .wd-header-sticky-nav,
.wd-sticky-nav-enabled .wd-sticky-nav { display: none !important; }
.wd-sticky-nav-enabled .wd-page-wrapper,
.wd-sticky-nav-enabled .website-wrapper { padding-inline-start: 0 !important; margin-inline-start: 0 !important; }
/* stredný stĺpec hlavičky: hľadanie s pevnou šírkou, menu v jednom riadku vpravo */
.whb-general-header .whb-col-center { gap: 28px; }
.whb-general-header .whb-col-center .wd-search-form { flex: 0 1 220px; max-width: 220px; }
.whb-general-header .wd-header-secondary-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.whb-general-header .wd-header-secondary-nav .wd-nav { flex-wrap: nowrap; }
.whb-general-header .wd-header-secondary-nav .wd-nav > li > a { white-space: nowrap; font-weight: 700; }
/* miniatúry kategórií v hlavnom menu nechceme (ostávajú v mobilnom menu kategórií) */
.whb-general-header .wd-header-secondary-nav .wd-nav-img { display: none; }

/* Hlavička pri užšom desktope (bočný panel prehliadača, 1025–1360 px):
   vyhľadávanie sa smie zmenšiť, menu ostáva v jednom riadku, nič nepretečie. */
.whb-general-header .whb-col-center { min-width: 0; }
@media (min-width: 1025px) and (max-width: 1360px) {
	.whb-general-header .whb-col-center .wd-search-form { flex: 1 1 150px; min-width: 130px; max-width: 220px; margin-right: 10px; }
	.whb-general-header .wd-header-secondary-nav { flex: 0 0 auto; }
	.whb-general-header .wd-header-secondary-nav .menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 13px; }
	.whb-header .site-logo img { max-width: 175px !important; }
}
@media (min-width: 1025px) and (max-width: 1140px) {
	.whb-general-header .wd-header-secondary-nav .menu > li > a { padding-left: 6px; padding-right: 6px; font-size: 12.5px; }
	.whb-header .site-logo img { max-width: 150px !important; }
	.whb-general-header .whb-col-center .wd-search-form { margin-right: 6px; }
}

/* Texty kategórie nad a pod výpisom produktov */
.sx-cat-intro { max-width: 72ch; margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: var(--sx-ink-2, #4A5240); }
.sx-cat-intro p:last-child { margin-bottom: 0; }
.sx-cat-text { max-width: 76ch; margin: 56px 0 24px; padding-top: 32px; border-top: 1px solid var(--sx-line, #E3E6EB); line-height: 1.65; }
.sx-cat-text h2 { font-size: 22px; margin: 32px 0 12px; }
.sx-cat-text h2:first-child { margin-top: 0; }
.sx-cat-text h3 { font-size: 17px; margin: 22px 0 6px; }
.sx-cat-text table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 15px; }
.sx-cat-text th, .sx-cat-text td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--sx-line, #E3E6EB); vertical-align: top; }
.sx-cat-text th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sx-cat-text ul { padding-left: 20px; }
.sx-cat-text li { margin: 6px 0; }

/* rozcestníky podľa sily a príchute na stránke kategórie */
.sx-cat-browse { margin: 0 0 30px; }
.sx-cat-browse .sx-eyebrow { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sx-muted, #6B7280); }
.sx-cat-browse .sx-eyebrow:first-child { margin-top: 0; }
.sx-cat-browse .sx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sx-cat-browse .sx-chips a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
	border: 1px solid var(--sx-line, #E3E6EB); border-radius: 999px;
	background: #fff; color: var(--sx-text, #1B1F17); font-size: 14px; font-weight: 600; text-decoration: none;
	transition: border-color .15s, background-color .15s;
}
.sx-cat-browse .sx-chips a:hover { border-color: var(--sx-ink, #1B1F17); background: var(--sx-mist, #F4F6F2); }
.sx-cat-browse .sx-chips small { font-size: 12px; font-weight: 500; color: var(--sx-muted, #6B7280); }

/* porovnanie značiek */
.sx-compare { margin: 0 0 40px; }
.sx-compare__summary { max-width: 76ch; margin: 0 0 18px; line-height: 1.6; }
.sx-compare__search { display: block; margin: 0 0 16px; }
.sx-compare__search input {
	width: 100%; max-width: 360px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--sx-line, #E3E6EB); border-radius: 10px; font-size: 15px; background: #fff;
}
.sx-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sx-compare__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sx-compare__table th, .sx-compare__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--sx-line, #E3E6EB); vertical-align: top; white-space: nowrap; }
.sx-compare__table td:last-child, .sx-compare__table th:last-child { white-space: normal; }
.sx-compare__table thead th {
	position: sticky; top: 0; z-index: 1; cursor: pointer; background: var(--sx-mist, #F4F6F2);
	font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.sx-compare__table thead th:hover, .sx-compare__table thead th:focus-visible { background: #E9ECE4; }
.sx-compare__table thead th::after { content: " ⇅"; opacity: .35; }
.sx-compare__table tbody th { font-weight: 700; }
.sx-compare__table tbody th a { color: var(--sx-text, #1B1F17); text-decoration: none; }
.sx-compare__table tbody th a:hover { text-decoration: underline; }
.sx-compare__table tbody tr:hover { background: var(--sx-mist, #F4F6F2); }
.sx-compare__note { margin: 14px 0 0; font-size: 14px; color: var(--sx-muted, #6B7280); }
.sx-cat-browse__more { margin: 14px 0 0; font-size: 14px; }
.sx-cat-browse__more a { color: var(--sx-ink-2, #4A5240); text-decoration: underline; text-underline-offset: 3px; }
