/*
Theme Name: Orodja Deli
Template: shoptimizer
Description: Shoptimizer child theme for orodjadeli.eu.
Version: 1.0.0
Text Domain: shoptimizer-child
*/

:root {
	--od-yellow: #ffc20e;
	--od-yellow-dark: #e6a800;
	--od-ink: #111;
	--od-ink-2: #2b2b2b;
	--od-muted: #6b6b6b;
	--od-line: #e7e7e7;
	--od-soft: #f5f5f2;
	--od-head: "Barlow Condensed", "Arial Narrow", sans-serif;
}

/* The Visa Acceptance Solutions plugin makes every .woocommerce element a grid below 481px. On the body the grid
   column grows to the 1320px container, so phones showed product pages zoomed out to a third. */
@media screen and (max-width: 481px) {
	body.woocommerce,
	div.woocommerce {
		display: block;
	}
}

/* Logo */
.od-logo a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--od-head);
	font-size: 31px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--od-ink);
}
.od-logo span {
	padding: 4px 9px 3px;
	background: var(--od-yellow);
	transform: skewX(-8deg);
}

/* Navigation bar */
.main-navigation ul.menu > li > a {
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Prices */
.woocommerce-price-suffix {
	font-size: 0.75em;
	font-weight: 400;
	color: var(--od-muted);
}

/* Product cards: the frame sits inside the column gutter, so neighbouring cards don't touch. */
ul.products li.product {
	padding: 12px 22px 40px;
}
ul.products li.product::after {
	content: "";
	position: absolute;
	inset: 0 7px -14px; /* reaches into the row margin to wrap the button, which the theme pins to the bottom */
	border: 1px solid var(--od-line);
	border-radius: 8px;
	pointer-events: none;
	transition: box-shadow 0.2s;
}
ul.products li.product .woocommerce-card__header .button {
	width: calc(100% - 44px);
}
ul.products li.product:hover::after {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
ul.products li.product .price,
.product .summary .price,
.commercekit-ajs-product-price .amount {
	font-weight: 700;
	color: var(--od-ink);
}

/* Page numbers: buttons big enough to tap, the current page filled yellow. */
/* The theme shows 14px plain text on desktop and paints only the current number yellow, on white. */
nav.woocommerce-pagination {
	--od-page: 44px;
}
nav.woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 0;
}
nav.woocommerce-pagination ul.page-numbers li {
	flex: 0 0 var(--od-page);
	margin: 0;
}
nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: var(--od-page);
	margin: 0;
	padding: 0;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	box-shadow: none;
	background: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: calc(var(--od-page) - 2px);
	text-align: center;
	color: var(--od-ink);
}
nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
	border-color: var(--od-ink);
	background: var(--od-soft);
}
nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
	border-color: var(--od-yellow);
	background: var(--od-yellow);
	font-weight: 700;
	color: var(--od-ink);
}
nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots {
	border: 0;
	background: none;
}
@media (min-width: 993px) {
	/* Above the products the numbers share a row with sorting; below they get their own row. */
	.shoptimizer-sorting:not(.sorting-end) .woocommerce-pagination {
		--od-page: 38px;
	}
	.shoptimizer-sorting.sorting-end {
		flex-wrap: wrap;
	}
	.shoptimizer-sorting.sorting-end .woocommerce-pagination {
		flex-basis: 100%;
		margin-top: 20px;
	}
}
@media (max-width: 992px) {
	/* Buttons shrink instead of wrapping, so the row stays whole on narrow phones. */
	nav.woocommerce-pagination ul.page-numbers li {
		flex-shrink: 1;
		min-width: 0;
	}
}

/* Shop: chosen filters above the products (functions.php) as chips; a click removes the filter. */
.site-main .widget_layered_nav_filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	list-style: none;
}
.site-main .widget_layered_nav_filters a {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	background: var(--od-yellow);
	color: var(--od-ink);
}
.site-main .widget_layered_nav_filters a::after {
	content: " ×";
}

/* Header: account link with icon, like the cart next to it */
.secondary-navigation .menu-item a {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 2px;
	font-size: 12px;
}
.secondary-navigation .icon-wrapper svg {
	width: 24px;
	height: 24px;
}

/* Product page: details under the cart button */
/* The theme styles the meta as a full-width bar below the product; undo that here. */
.product .summary .product_meta {
	position: static;
	width: auto;
	text-align: left;
	margin: 20px 0 0;
	padding: 14px 0;
	border-top: 1px solid var(--od-line);
	border-bottom: 1px solid var(--od-line);
	font-size: 14px;
	color: var(--od-muted);
}
.product .summary .product_meta > span {
	display: block;
	margin: 2px 0;
}
.product .summary .woocommerce-product-details__short-description {
	font-weight: 600;
	color: var(--od-ink);
}
.product .summary h2 {
	margin: 24px 0 8px;
	font-family: var(--od-head);
	font-size: 24px;
	text-transform: uppercase;
}

/* Product page: name, price, no-battery notice and shop promises */
.single-product .summary .product_title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--od-ink);
}
.single-product .summary .price {
	font-size: 30px;
	font-weight: 800;
}
.single-product .summary .price .woocommerce-price-suffix {
	font-size: 15px;
}
/* Plain text: the whole short description is the notice. Imported content is a bullet list that ends
   with the no-battery line (build_products.py), so there only the last bullet gets the box. */
.od-no-battery .summary .woocommerce-product-details__short-description:not(:has(ul)),
.od-no-battery .summary .woocommerce-product-details__short-description li:last-child {
	padding: 10px 14px;
	border-left: 4px solid var(--od-yellow);
	border-radius: 4px;
	background: #fff6d6;
}
.od-no-battery .summary .woocommerce-product-details__short-description p {
	margin: 0;
}
.od-no-battery .summary .woocommerce-product-details__short-description li:last-child {
	margin-top: 10px;
	list-style: none;
}
/* Batteries and charger for the tool (functions.php, od_addons) */
.od-addons {
	margin: 20px 0 0;
	padding: 14px 16px 10px;
	border: 2px solid var(--od-yellow);
	border-radius: 8px;
}
.od-addons__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: var(--od-ink);
}
.od-addons ul {
	margin: 0;
	list-style: none;
}
.od-addons li {
	display: grid;
	grid-template-columns: 52px 1fr auto auto;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid var(--od-line);
}
.od-addons li:first-child {
	border-top: 0;
}
.od-addons__img img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
}
.od-addons__name {
	font-size: 14px;
	line-height: 1.35;
	color: var(--od-ink);
}
.od-addons__price {
	font-weight: 700;
	white-space: nowrap;
	color: var(--od-ink);
}
.od-addons .od-addons__add {
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	background: var(--od-yellow);
	color: var(--od-ink);
}
.od-addons .od-addons__add:hover {
	background: var(--od-yellow-dark);
}
/* WooCommerce adds a "Prikaži košarico" link after a successful add; the cart drawer already opens. */
.od-addons .added_to_cart {
	display: none;
}
.od-addons__note {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--od-muted);
}
/* The same rows in the cart drawer (functions.php); the theme's mini-cart item styles must not reach them. */
.od-mini-addons {
	margin: 16px 0 8px;
	padding: 10px 12px 4px;
	list-style: none;
}
.od-mini-addons .od-addons__title {
	font-size: 15px;
}
.od-mini-addons .od-addons__add {
	padding: 7px 12px;
	font-size: 13px;
}
/* Narrow rows: price under the name, button on the right. */
.od-mini-addons li {
	grid-template-columns: 44px 1fr auto;
	gap: 2px 10px;
}
.od-mini-addons .od-addons__img img {
	width: 44px;
	height: 44px;
}
.od-mini-addons .od-addons__img {
	grid-row: span 2;
}
.od-mini-addons .od-addons__name {
	font-size: 13px;
}
.od-mini-addons .od-addons__price {
	grid-column: 2;
	grid-row: 2;
	font-size: 14px;
}
.od-mini-addons .od-addons__add {
	grid-column: 3;
	grid-row: 1 / span 2;
}
@media (max-width: 480px) {
	.od-addons li {
		grid-template-columns: 44px 1fr auto;
		gap: 4px 10px;
	}
	.od-addons__img img {
		width: 44px;
		height: 44px;
	}
	.od-addons__img {
		grid-row: span 2;
	}
	.od-addons__price {
		grid-column: 2;
		grid-row: 2;
	}
	.od-addons__add {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}

.od-trust {
	margin: 20px 0 0;
	padding: 12px 16px;
	list-style: none;
	border-radius: 8px;
	background: var(--od-soft);
	font-size: 14px;
	color: var(--od-muted);
}
.od-trust li {
	position: relative;
	margin: 0;
	padding: 6px 0 6px 32px;
}
.od-trust li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 22px;
	height: 22px;
	background: center / 20px no-repeat var(--od-icon, none);
}
.od-trust strong {
	color: var(--od-ink);
}
.od-trust a {
	color: inherit;
}
.od-trust a:hover strong {
	text-decoration: underline;
}

/* Long descriptions make the right column much taller than the photos; keep the photos in view (below the 61px sticky menu). */
@media (min-width: 993px) {
	.single-product .product-details-wrapper .woocommerce-product-gallery {
		position: sticky;
		top: 85px;
		align-self: flex-start;
	}
}

/* Product photo viewer (lightbox.js) */
.woocommerce-product-gallery__image {
	cursor: zoom-in;
}
body.od-lb-open {
	overflow: hidden;
}
.od-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3vh 2vw;
	background: rgba(0, 0, 0, 0.55);
}
.od-lb[hidden],
.od-lb__nav[hidden] {
	display: none;
}
.od-lb__box {
	display: flex;
	width: 100%;
	max-width: 1840px;
	height: 100%;
	max-height: 880px;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.od-lb__stage {
	position: relative;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 32px 100px;
	touch-action: pan-y;
}
.od-lb__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.od-lb__nav {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #e6e6e6;
	color: var(--od-ink);
	transform: translateY(-50%);
	cursor: pointer;
}
.od-lb__nav:hover,
.od-lb__nav:focus-visible {
	background: var(--od-yellow);
}
.od-lb__prev {
	left: 28px;
}
.od-lb__next {
	right: 28px;
}
.od-lb__side {
	position: relative;
	flex: 0 0 300px;
	padding: 28px 20px;
	overflow-y: auto;
	background: #f6f6f6;
}
.od-lb__close {
	position: absolute;
	top: 14px;
	right: 12px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 32px;
	line-height: 1;
	color: var(--od-ink);
	cursor: pointer;
}
.od-lb__title {
	margin: 0 40px 10px 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--od-ink);
}
.od-lb__price {
	margin-bottom: 22px;
	font-size: 20px;
	font-weight: 700;
	color: var(--od-ink);
}
.od-lb__thumbs {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.od-lb__thumbs button {
	aspect-ratio: 1.25;
	padding: 8px;
	border: 1px solid #e3e3e3;
	background: #fff;
	cursor: pointer;
}
.od-lb__thumbs button[aria-current="true"] {
	outline: 2px solid var(--od-yellow-dark);
	outline-offset: -2px;
}
.od-lb__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Home: shared section headings */
.od-title {
	margin: 64px 0 6px;
	font-family: var(--od-head);
	font-size: 36px;
	text-align: center;
	text-transform: uppercase;
}
/* Categories follow the benefits bar; less space so they show on the first screen. */
.od-usp + .od-title {
	margin-top: 32px;
}
.od-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 10px auto 0;
	background: var(--od-yellow);
}
.od-sub {
	margin: 0 0 28px;
	color: var(--od-muted);
	text-align: center;
}
.od-more {
	text-align: center;
}
.od-more a {
	font-weight: 600;
	text-decoration: none !important; /* beats the theme's long body:not(...) .entry-content p a rule */
	color: var(--od-ink);
	border-bottom: 2px solid var(--od-yellow);
}

/* Home: hero */
.od-hero.alignfull {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	padding: 36px 20px;
	background: var(--od-ink);
	color: #fff;
}
.od-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: -12%;
	bottom: 0;
	width: 52%;
	background: var(--od-yellow);
	transform: skewX(-14deg);
}
.od-hero > * {
	position: relative;
}
.od-hero .wp-block-columns {
	max-width: 1320px;
	margin: 0 auto;
}
.od-hero .od-kicker,
.od-brand .od-kicker {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--od-yellow);
}
.od-hero h1 {
	margin: 0 0 16px;
	font-family: var(--od-head);
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.02;
	text-transform: uppercase;
	color: #fff;
}
.od-hero p {
	max-width: 520px;
	font-size: 18px;
	color: #d6d6d6;
}
.od-hero .wp-block-button__link {
	padding: 14px 28px;
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	background: var(--od-yellow);
	color: var(--od-ink);
}
.od-hero .wp-block-button__link:hover {
	background: #fff;
}
.od-hero .is-style-outline .wp-block-button__link {
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}
.od-hero .is-style-outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--od-ink);
}
.od-hero figure {
	max-width: 320px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.od-hero figure img {
	display: block;
	width: 100%;
}

/* Home: about the brand (texts and photos from delieurope.com) */
.od-brand.alignfull {
	margin-top: 72px;
	padding: 64px 20px;
	background: var(--od-ink);
	color: #d6d6d6;
}
.od-brand .wp-block-columns {
	max-width: 1320px;
	margin: 0 auto;
	gap: 56px;
}
.od-brand figure {
	margin: 0;
}
.od-brand img {
	border-radius: 12px;
}
.od-brand h2 {
	margin: 0 0 16px;
	font-family: var(--od-head);
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
}
.od-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 28px 0;
	padding: 20px 0;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
.od-stats span {
	font-size: 13px;
	line-height: 1.3;
	color: #bdbdbd;
}
.od-stats strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--od-head);
	font-size: 36px;
	line-height: 1;
	color: var(--od-yellow);
}
.od-brand-note {
	margin: 0;
	font-weight: 700;
	color: #fff;
}

/* Home: Deli Tools series */
.od-serie figure {
	margin: 0 0 14px;
	overflow: hidden;
	border-radius: 8px;
	border-bottom: 5px solid var(--od-serie);
}
.od-serie img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.od-serie h3 {
	margin: 0;
	font-family: var(--od-head);
	font-size: 26px;
	text-transform: uppercase;
}
.od-serie h3 a {
	color: var(--od-ink);
}
.od-serie p {
	margin: 0;
	color: var(--od-muted);
}
.od-serie-red {
	--od-serie: #d7191f;
}
.od-serie-yellow {
	--od-serie: var(--od-yellow);
}
.od-serie-green {
	--od-serie: #7ab51d;
}

/* Home: category tiles */
.od-cat {
	position: relative;
	height: 100%;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--od-line);
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.2s, transform 0.2s;
}
.od-cat::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: var(--od-yellow);
}
.od-cat:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.od-cat h3 {
	margin: 8px 0 10px;
	font-family: var(--od-head);
	font-size: 24px;
	text-transform: uppercase;
}
.od-cat h3 a {
	color: var(--od-ink);
}
.od-cat figure {
	margin: 0 0 8px;
}
.od-cat p {
	margin: 0;
	font-size: 14px;
	color: var(--od-muted);
}
.od-chips a {
	display: inline-block;
	text-decoration: none !important; /* beats the theme's long body:not(...) .entry-content p a rule */
	margin: 0 6px 6px 0;
	padding: 3px 11px;
	border: 1px solid var(--od-line);
	border-radius: 999px;
	background: var(--od-soft);
	font-size: 13px;
	color: var(--od-ink-2);
}
.od-chips a:hover {
	border-color: var(--od-yellow);
	background: var(--od-yellow);
}

/* Home: benefits strip */
.od-usp.alignfull {
	margin-top: 0;
	padding: 28px 20px;
	background: var(--od-soft);
}
.od-usp .wp-block-columns {
	max-width: 1320px;
	margin: 0 auto;
}
.od-usp p {
	position: relative;
	margin: 0;
	padding-left: 58px;
	font-size: 14px;
	color: var(--od-muted);
}
.od-usp strong {
	display: block;
	font-size: 16px;
	color: var(--od-ink);
}
.od-usp p::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--od-yellow) center / 22px no-repeat var(--od-icon, none);
}
/* Icons: Lucide (ISC licence). */
.od-i-truck {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
}
.od-i-return {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}
.od-i-card {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E");
}
.od-i-company {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4M10 10h4M10 14h4M10 18h4'/%3E%3C/svg%3E");
}
.od-i-phone {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.od-i-shield {
	--od-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

@media (max-width: 781px) {
	/* The theme stretches full-width blocks only on desktop; reach over the 15px page padding here. */
	.od-hero.alignfull,
	.od-usp.alignfull {
		margin-right: -15px;
		margin-left: -15px;
	}
	.od-hero.alignfull {
		padding: 28px 20px 32px;
	}
	.od-hero::before,
	.od-hero .wp-block-column:last-child {
		display: none;
	}
	.od-hero h1 {
		font-size: 34px;
	}
	.od-hero p {
		font-size: 16px;
	}
	.od-hero .wp-block-buttons {
		gap: 10px;
	}
	.od-hero .wp-block-button__link {
		padding: 12px 18px;
		font-size: 14px;
	}
	/* Benefits as a 2 x 2 grid of headlines; the detail line is hidden to keep it short. */
	.od-usp.alignfull {
		padding: 16px;
	}
	.od-usp .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 12px;
	}
	.od-usp p {
		padding-left: 40px;
		font-size: 0;
	}
	.od-usp strong {
		padding-top: 6px;
		font-size: 13px;
		line-height: 1.3;
	}
	.od-usp p::before {
		width: 32px;
		height: 32px;
		background-size: 16px;
	}
	.single-product .summary .product_title {
		font-size: 22px;
	}
	.single-product .summary .price {
		font-size: 26px;
	}
	.od-title {
		margin-top: 44px;
		font-size: 30px;
	}
	/* On phones the theme puts the button in the normal flow, so the card needs its own padding. */
	ul.products li.product {
		padding: 10px 12px 26px;
	}
	ul.products li.product::after {
		inset: 0 4px 12px;
	}
	ul.products li.product .woocommerce-card__header .button {
		width: 100%;
	}
	.od-lb {
		padding: 0;
	}
	.od-lb__box {
		flex-direction: column;
		max-height: none;
		border-radius: 0;
	}
	.od-lb__stage {
		flex: 1 1 auto;
		padding: 16px 56px;
	}
	.od-lb__nav {
		width: 42px;
		height: 42px;
	}
	.od-lb__prev {
		left: 8px;
	}
	.od-lb__next {
		right: 8px;
	}
	.od-lb__side {
		flex: 0 0 auto;
		max-height: 42%;
		padding: 16px;
	}
	.od-lb__title,
	.od-lb__price {
		font-size: 17px;
	}
	.od-lb__thumbs {
		grid-template-columns: repeat(4, 1fr);
	}
	.od-brand.alignfull {
		margin: 48px -15px 0;
		padding: 36px 20px;
	}
	.od-brand .wp-block-columns {
		gap: 24px;
	}
	.od-stats {
		grid-template-columns: 1fr 1fr;
	}
	.od-series.wp-block-columns {
		gap: 20px;
	}
	/* Two tiles per row on phones instead of four tall ones stacked. */
	.od-cats.wp-block-columns {
		flex-wrap: wrap !important;
		gap: 12px;
	}
	.wp-block-columns.od-cats:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: calc(50% - 6px) !important;
	}
	.od-cat {
		padding: 12px;
	}
	.od-cat h3 {
		font-size: 18px;
	}
	.od-cat p {
		font-size: 13px;
	}
}

/* Product groups as buttons: search without results, subgroups above a category */
.od-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}
.od-pills li a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #ddd;
	border-radius: 999px;
	color: #111;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.od-pills li a:hover {
	border-color: #111;
}
.od-pills li span {
	color: #777;
}
.od-pills li a[aria-current] {
	border-color: #111;
	background: #111;
	color: #fff;
}
.od-pills li a[aria-current] span {
	color: #bbb;
}
.od-noresults a {
	font-weight: 600;
}
/* One row that scrolls sideways, so the products stay near the top. Wider screens have the sidebar. */
.od-subcats .od-pills {
	position: relative;
	flex-wrap: nowrap;
	overflow-x: auto;
	margin-bottom: 1em;
	padding-bottom: 4px;
}
@media (min-width: 993px) {
	.od-subcats {
		display: none;
	}
}

/* Sizes and versions of the same tool on the product page (od_variants) */
.od-variants {
	margin: 0 0 1.2em;
}
.od-variants__title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
}
.od-variants .od-pills {
	margin: 0;
}
.od-variants .od-pills li a {
	padding: 6px 12px;
	font-size: 14px;
	white-space: normal;
}

/* Delivery price under the cart drawer subtotal */
.od-mini-shipping {
	display: flex;
	justify-content: space-between;
	margin: -0.5em 0 1em;
	color: #555;
	font-size: 14px;
}
.od-mini-free {
	margin: -0.75em 0 1em;
	font-size: 14px;
	font-weight: 600;
}

/* Empty cart, "Novo v trgovini": on phones the theme stacked the cards one per row and pinned the add button over the
   product name. Two per row with the button under the price, like the shop pages. */
@media (max-width: 768px) {
	.wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid .wc-block-grid__products { /* outranks WooCommerce's ".has-4-columns" rule */
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
		max-width: none;
		margin: 0;
	}
	.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
		position: static;
		margin-top: auto;
	}
}

/* Cart and checkout items: the short description repeats the name and is cut mid-phrase (»navor nastavljiv v 20…«). */
.wc-block-components-product-metadata__description {
	display: none;
}

/* Related products and upsells on phones: the theme's strip showed one 320px card per screen. Two, with the next one
   peeking in, like the shop pages. Image sizes follow in functions.php. */
@media (max-width: 992px) {
	.related.products ul.products,
	.upsells.products ul.products {
		scroll-padding-left: 1.25em; /* the theme's padding-left, or the first card snaps under the screen edge */
	}
	.related.products ul.products li.product,
	.upsells.products ul.products li.product {
		min-width: 42vw;
		max-width: 42vw;
		scroll-snap-align: start;
	}
}

/* Checkout on phones: three stacked gaps (24 + 32 + 24px) pushed the form down. */
@media (max-width: 992px) {
	.woocommerce-checkout #main {
		padding-top: 0;
	}
	.woocommerce-checkout .wp-block-woocommerce-checkout {
		margin-top: 0;
		padding-top: 16px;
	}
}

/* Links like /splosni-pogoji/#odstop: keep the heading below the sticky header (about 130px on phones). */
.entry-content [id] {
	scroll-margin-top: 140px;
}

/* The sticky buy bar follows the page's own add-to-cart button (functions.php), not the scroll position. */
body.od-atc-out .site-content .shoptimizer-sticky-add-to-cart {
	top: auto;
	bottom: 0;
	box-shadow: 5px 0 5px 0 rgba(27, 31, 35, 0.1);
}
body.od-atc-in .site-content .shoptimizer-sticky-add-to-cart {
	top: auto;
	bottom: -300px;
}
/* The bar now also stays at the very bottom: keep the footer's last line clear of it. */
.single-product .site-footer {
	padding-bottom: 80px;
}

/* Top bar: the right text (with the phone) on one line; the left one may wrap instead (both were half the width). */
@media (min-width: 993px) {
	.top-bar-right {
		flex: none;
		white-space: nowrap;
	}
}
