/* Flawio shop: product cards, category pages, product detail. */

/* ---------- Breadcrumbs ---------- */
.fl-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	padding: 20px 0 8px;
	color: var(--flawio-muted);
	font-size: 15px;
}
.fl-breadcrumbs a {
	color: var(--flawio-muted);
	text-decoration: none;
}
.fl-breadcrumbs a:hover {
	color: var(--flawio-primary);
	text-decoration: underline;
}
.fl-breadcrumbs__sep {
	color: var(--flawio-border);
	font-size: 18px;
}

/* ---------- Product grid + cards ---------- */
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 0 0 40px !important;
	padding: 0 !important;
	list-style: none;
}
ul.products::before,
ul.products::after {
	display: none !important;
}
.fl-card {
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
.fl-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5; /* the products are mostly portrait: a taller tile shows them bigger */
	background: #FFFFFF; /* no frame around the photo: the product itself stands out (owner 2026-10-09) */
}
.fl-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* whole photo: bouquet photos are portrait, phones pick a non-square size */
	mix-blend-mode: multiply; /* white photo backgrounds take the card tint */
	/* assets/js/card-fit.js zooms past the photo's white margins so the product fills the tile */
	transform: translate(var(--fl-x, 0), var(--fl-y, 0)) scale(var(--fl-zoom, 1));
}
.fl-card__img.is-fit {
	transition: transform .35s ease;
}
.fl-card:hover .fl-card__img {
	transform: translate(var(--fl-x, 0), var(--fl-y, 0)) scale(calc(var(--fl-zoom, 1) * 1.04));
}
.fl-card.outofstock .fl-card__img {
	opacity: .55;
	filter: grayscale(.3);
}
.fl-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--flawio-primary);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
}
.fl-card__badge--oos {
	background: #FFFFFF;
	color: var(--flawio-text);
	box-shadow: 0 0 0 1px var(--flawio-border);
}
.fl-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: 14px;
}
.fl-card__title {
	margin: 0 0 6px;
	font-family: var(--flawio-font-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	/* Room for two lines, so price, "Skladem" and the button line up across a row (owner 2026-10-16). */
	min-height: calc(2em * 1.35);
}
.fl-card__title a {
	color: var(--flawio-text);
	text-decoration: none;
}
.fl-card__title a:hover {
	color: var(--flawio-primary);
}
.fl-card__price .price {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	color: var(--flawio-primary);
	font-size: 19px;
	font-weight: 700;
}
.fl-card__price del {
	order: 2;
	color: var(--flawio-muted);
	font-size: 15px;
	font-weight: 400;
}
.fl-card__price ins {
	text-decoration: none;
}
/* Sold-out item without a price: "Momentálně nedostupné" in muted text instead of a wine-coloured "0,00 Kč". */
.fl-card__price .fl-unavailable,
.fl-product__price .fl-unavailable {
	color: var(--flawio-muted);
	font-size: 15px;
	font-weight: 600;
}
.fl-product__price .fl-unavailable {
	font-size: 18px;
}
.fl-card__stock {
	margin: 4px 0 12px;
	color: var(--flawio-success);
	font-size: 14px;
	font-weight: 600;
}
.fl-card .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin-top: auto;
	border-radius: 10px;
	font-size: 16px;
}
.fl-card__more {
	background: transparent !important;
	color: var(--flawio-primary) !important;
	box-shadow: inset 0 0 0 2px var(--flawio-border);
}
.fl-card__more:hover {
	box-shadow: inset 0 0 0 2px var(--flawio-primary);
}
/* Blocksy centres card children, so the body (and its button) shrank to the title's width (owner 2026-10-10). */
.fl-card__body {
	align-self: stretch;
}
/*
 * Cards in one row share the grid rows (photo, title, price, "Skladem", button), so price, stock and button line up
 * however many lines a name takes – long Hungarian names wrap to three on phones (owner 2026-10-16). Older browsers
 * keep the two-line title height above.
 */
@supports (grid-template-rows: subgrid) {
	ul.products > li.fl-card {
		display: grid;
		grid-row: span 5;
		grid-template-rows: subgrid;
		row-gap: 0;
	}
	ul.products > li.fl-card > .fl-card__body {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		row-gap: 0;
		align-content: start;
	}
	ul.products .fl-card__title {
		min-height: 0;
	}
	ul.products .fl-card__body > * {
		align-self: start;
	}
	/* Sold out: no stock line, the detail button stays in the button row. */
	ul.products .fl-card__body > .fl-card__more,
	ul.products .fl-card__body > .button {
		grid-row: 4;
		align-self: end;
	}
}
/* WooCommerce's "Zobrazit košík" link goes to the old cart page; the FunnelKit side cart opens instead. */
.fl-card .added_to_cart {
	display: none !important;
}

/* ---------- Category page ---------- */
.fl-shop {
	padding-bottom: 72px;
}
.fl-shop__head {
	max-width: 760px;
	padding: 8px 0 28px;
}
.fl-shop__title {
	margin: 0 0 10px;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.1;
}
.fl-shop__intro {
	color: var(--flawio-text);
	font-size: 18px;
}
.fl-shop__intro p:last-child {
	margin-bottom: 0;
}
.fl-shop__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 14px 0;
	border-top: 1px solid var(--flawio-border);
	border-bottom: 1px solid var(--flawio-border);
}
.fl-shop__toolbar .woocommerce-result-count {
	margin: 0 auto 0 0;
	color: var(--flawio-muted);
	font-size: 15px;
}
.fl-shop__toolbar .woocommerce-ordering {
	margin: 0;
}
.fl-shop__toolbar select {
	min-height: 46px;
	padding: 0 40px 0 14px;
	border: 2px solid var(--flawio-border);
	border-radius: 10px;
	font-size: 16px;
}
.fl-stock-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 16px;
	border: 2px solid var(--flawio-border);
	border-radius: 10px;
	color: var(--flawio-text);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}
.fl-stock-toggle__box {
	width: 20px;
	height: 20px;
	border: 2px solid var(--flawio-muted);
	border-radius: 5px;
}
.fl-stock-toggle.is-active {
	border-color: var(--flawio-primary);
	color: var(--flawio-primary);
}
.fl-stock-toggle.is-active .fl-stock-toggle__box {
	border-color: var(--flawio-primary);
	background: var(--flawio-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: 0 !important;
}
.woocommerce-pagination li {
	border: 0 !important;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
}
.woocommerce-pagination .current {
	background: var(--flawio-primary) !important;
	color: #FFFFFF !important;
}
.fl-shop__empty {
	padding: 40px 0;
	font-size: 18px;
}
.flawio-category-text {
	max-width: 760px;
	margin: 56px 0 0;
	padding-top: 40px;
	border-top: 1px solid var(--flawio-border);
}

/* ---------- Product detail ---------- */
.fl-product-page {
	padding-bottom: 72px;
}
.fl-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	padding: 12px 0 56px;
}
/* Not sticky: a sticky gallery taller than the screen hid its thumbnails and the 360° button while scrolling. */
.fl-product__gallery {
	position: relative;
	min-width: 0;
}
.fl-product__gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}
.fl-product__gallery img {
	border-radius: 16px;
	object-fit: contain !important; /* Blocksy crops to its 1:1 frame; portrait bouquets must stay whole */
	background: #FFFFFF;
}
/* The whole photo fits on the screen under the header (on a laptop it was taller than the screen). */
.fl-product__gallery figure.ct-media-container > img {
	width: 100% !important;
	max-height: max(320px, calc(100vh - 220px));
}
.fl-product__summary {
	width: auto !important;
	float: none !important;
}
.fl-product__summary .product_title {
	margin: 0 0 12px;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
}
.fl-product__price .price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 12px;
	color: var(--flawio-primary);
	font-size: 30px;
	font-weight: 700;
}
.fl-product__price del {
	order: 2;
	color: var(--flawio-muted);
	font-size: 20px;
	font-weight: 400;
}
.fl-product__price ins {
	text-decoration: none;
}
/* "bez DPH 164,46 Kč" under the price (inc/shop-ui.php flawio_price_excl_vat). */
.fl-product__price-net {
	margin: -8px 0 12px;
	color: var(--flawio-muted);
	font-size: 15px;
}
.fl-product__stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	color: var(--flawio-success);
	font-weight: 700;
}
.fl-product__stock::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--flawio-success);
}
.fl-product__summary .stock.out-of-stock {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #F2F2F2;
	color: var(--flawio-text);
	font-weight: 700;
}
.fl-product__oos-note {
	color: var(--flawio-muted);
}
.fl-product__excerpt {
	margin: 20px 0;
	font-size: 18px;
}
.fl-product__summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 24px 0 8px;
}
.fl-product__summary .single_add_to_cart_button {
	flex: 1;
	min-height: 56px;
	border-radius: 10px;
	font-size: 18px !important;
}
.fl-product__extras {
	margin-top: 16px;
}
/* Description and parameters over the full width, like the exploding card's sales page (owner 2026-10-09).
   Plain-text descriptions flow in two columns on desktop so the lines stay readable. */
.fl-product__description {
	padding-top: 40px;
	border-top: 1px solid var(--flawio-border);
}
.fl-product__description h2 {
	font-size: 30px;
}
@media (min-width: 1025px) {
	.fl-product__description:not(.fl-product__description--wide):not(.fl-product__description--card) .fl-product__content {
		columns: 2;
		column-gap: 64px;
	}
	.fl-product__description:not(.fl-product__description--wide):not(.fl-product__description--card) .fl-product__content > * {
		break-inside: avoid;
	}
	.fl-product__description:not(.fl-product__description--wide):not(.fl-product__description--card) .fl-product__content > h2,
	.fl-product__description:not(.fl-product__description--wide):not(.fl-product__description--card) .fl-product__content > h3 {
		break-after: avoid;
	}
	.fl-product__description:not(.fl-product__description--wide):not(.fl-product__description--card) .fl-product__content > :first-child {
		margin-top: 0;
	}
	.fl-specs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 64px;
	}
}
.fl-product__specs {
	margin-top: 40px;
}
.fl-product__specs h2 {
	font-size: 30px;
}
.fl-specs {
	margin: 0;
	border-top: 1px solid var(--flawio-border);
}
.fl-specs__row {
	display: grid;
	grid-template-columns: minmax(110px, 200px) 1fr;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--flawio-border);
}
.fl-specs dt {
	color: var(--flawio-muted);
}
.fl-specs dd {
	margin: 0;
	font-weight: 600;
}
.fl-product__content iframe {
	max-width: 100%;
	border-radius: 14px;
}

/* Click-to-play video in product descriptions (assets/js/yt-facade.js swaps the link for the player). */
.fl-video {
	position: relative;
	max-width: 720px;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
}
.fl-video a,
.fl-video img,
.fl-video .fl-lp-video__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.fl-video img {
	object-fit: cover;
}
.fl-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--flawio-primary);
	color: #FFFFFF;
	font-weight: 700;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	transition: background .2s ease;
}
.fl-video a:hover .fl-video__play {
	background: var(--flawio-primary-hover);
}
.fl-video__play::before {
	content: "";
	border-left: 13px solid #FFFFFF;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

/* ---------- 3D card description layout (inc/card-description.php, owner 2026-10-14: designs A + B) ---------- */
.fl-cd {
	display: grid;
	gap: 28px;
}
.fl-cd h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 22px;
}
.fl-cd__icon {
	flex: none;
	color: var(--flawio-primary);
}
.fl-cd__lead {
	max-width: 820px;
	padding-left: 20px;
	border-left: 3px solid var(--flawio-primary);
}
.fl-cd__lead p {
	margin: 0 0 10px;
	color: var(--flawio-muted);
}
.fl-cd__lead p:last-child {
	margin-bottom: 0;
}
.fl-cd__lead strong {
	display: block;
	margin-bottom: 4px;
	font-family: "Playfair Display", serif;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--flawio-text);
}
.fl-cd__cards {
	display: grid;
	gap: 16px;
}
.fl-cd__card {
	padding: 24px;
	border: 1px solid var(--flawio-border);
	border-radius: 16px;
	background: var(--flawio-bg);
}
.fl-cd__card p {
	margin: 0 0 10px;
}
.fl-cd__card p:last-child {
	margin-bottom: 0;
}
.fl-cd__card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fl-cd__card li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 30px;
}
.fl-cd__card li:last-child {
	margin-bottom: 0;
}
.fl-cd__card li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.45em;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--flawio-success);
	border-bottom: 2px solid var(--flawio-success);
	transform: rotate(-45deg);
}
.fl-cd__card--komu li::before {
	top: 0.55em;
	left: 6px;
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: var(--flawio-primary);
	transform: none;
}
.fl-cd__card .fl-cd__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}
.fl-cd__card .fl-cd__chips li {
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--flawio-bg-soft);
	color: var(--flawio-primary-hover);
	font-size: 15px;
	line-height: 1.3;
}
.fl-cd__card .fl-cd__chips li::before {
	content: none;
}
.fl-cd__chips a {
	color: inherit;
	text-decoration: none;
}
.fl-cd__chips a:hover {
	text-decoration: underline;
}
.fl-cd__how {
	display: grid;
	gap: 24px;
	align-items: center;
	padding: 28px 24px;
	border-radius: 16px;
	background: var(--flawio-bg-soft);
}
.fl-cd__how ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: fl-step;
}
.fl-cd__how li {
	position: relative;
	min-height: 36px;
	margin: 0 0 18px;
	padding-left: 52px;
	counter-increment: fl-step;
}
.fl-cd__how li:last-child {
	margin-bottom: 0;
}
.fl-cd__how li::before {
	content: counter(fl-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--flawio-primary);
	color: #FFFFFF;
	font-weight: 700;
}
.fl-cd__how li strong {
	display: block;
	padding-top: 5px;
}
.fl-cd__how li span {
	display: block;
	color: var(--flawio-muted);
}
.fl-cd__video .video-container {
	max-width: none;
	margin: 0;
}
.fl-cd__end {
	padding-top: 24px;
	border-top: 1px solid var(--flawio-border);
}
.fl-cd__closing p {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-size: 22px;
	line-height: 1.35;
}
@media (min-width: 768px) {
	.fl-cd__cards {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1025px) {
	.fl-cd__how {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 40px;
		padding: 36px;
	}
}
.fl-product .upsells,
.fl-product .related {
	margin-top: 64px;
}
.fl-product .upsells > h2,
.fl-product .related > h2 {
	margin-bottom: 24px;
	font-size: 30px;
}

@media (max-width: 1024px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 860px) {
	.fl-product__top {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
@media (max-width: 640px) {
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}
	.fl-card__title {
		font-size: 15px;
	}
	.fl-card__price .price {
		font-size: 17px;
	}
	.fl-card .button {
		min-height: 44px;
		padding: 0 8px;
		font-size: 14px;
	}
	.fl-shop__toolbar .woocommerce-result-count {
		display: none;
	}
}

/* ---------- Refine chips (category pages) ---------- */
.fl-chips {
	margin: 0 0 20px;
}
.fl-chips__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fl-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 4px 16px 4px 4px;
	border: 1px solid var(--flawio-border);
	border-radius: 999px;
	background: var(--flawio-bg);
	color: var(--flawio-text);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}
.fl-chip:not(:has(img)) {
	padding-left: 16px;
}
.fl-chip:hover {
	border-color: var(--flawio-primary);
	color: var(--flawio-primary);
}
.fl-chip__img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
}

/* ---------- Quantity: one control "− 1 +" (Blocksy's +/- spans restyled) ---------- */
.fl-product__summary .quantity {
	position: relative;
	display: inline-flex !important;
	align-items: stretch;
	width: 148px;
	height: 56px;
	border: 2px solid var(--flawio-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--flawio-bg);
}
.fl-product__summary .quantity .ct-decrease,
.fl-product__summary .quantity .ct-increase {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px !important;
	height: auto !important;
	margin: 0 !important;
	background: var(--flawio-bg-soft);
	cursor: pointer;
	opacity: 1 !important;
}
.fl-product__summary .quantity .ct-decrease {
	order: 0;
}
.fl-product__summary .quantity input.qty {
	order: 1;
	flex: 1 1 0;
	width: 0 !important;
	min-width: 0 !important; /* without max="…" Chrome makes a number field ~220 px wide and squeezes the +/- */
	height: 100% !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
}
.fl-product__summary .quantity input.qty::-webkit-inner-spin-button,
.fl-product__summary .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.fl-product__summary .quantity .ct-increase {
	order: 2;
}
.fl-product__summary .quantity .ct-decrease:hover,
.fl-product__summary .quantity .ct-increase:hover {
	background: var(--flawio-border);
}

/* ---------- Product detail: why 3D cards, buy info ---------- */
.flawio-dispatch {
	margin: 0 0 8px;
	color: var(--flawio-text);
	font-weight: 500;
}
/* "Toto je poslední kus skladem." under the quantity and button (assets/js/qty-note.js). */
.fl-qty-note {
	flex-basis: 100%;
	order: 99;
	width: 100%;
	margin: 8px 0 0;
	color: var(--flawio-primary);
	font-size: 15px;
	font-weight: 600;
}
.fl-qty-note[hidden] {
	display: none;
}
/* Delivery timeline (inc/product-extras.php flawio_dispatch_note + assets/js/ship-eta.js, owner 2026-10-14).
   The promise sentence stays for screen readers; the timeline shows it graphically. */
.fl-ship {
	margin: 4px 0 18px;
}
.fl-ship__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.fl-ship__cut {
	margin: 0 0 14px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--flawio-bg-soft);
	font-size: 15px;
	line-height: 1.4;
}
.fl-ship.is-today .fl-ship__cut {
	background: #EDF5EE;
	color: #1F5A23;
}
.fl-ship__cut strong {
	font-weight: 700;
}
.fl-ship__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.fl-ship__steps::before {
	content: "";
	position: absolute;
	left: 16.7%;
	right: 16.7%;
	top: 22px;
	border-top: 2px dashed var(--flawio-border);
}
.fl-ship__steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.35;
}
.fl-ship__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: var(--flawio-bg-soft);
	color: var(--flawio-primary);
}
.fl-ship__steps strong {
	font-weight: 700;
}
.fl-ship__date {
	min-height: 2.7em; /* two lines reserved: the dates replace the general wording without moving the page */
	color: var(--flawio-muted);
}
/* Gift bouquets: no cash on delivery, said before the checkout (owner 2026-10-10). */
.flawio-pay-note {
	margin: 12px 0 0;
	color: var(--flawio-muted);
	font-size: .9rem;
}
.fl-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.fl-benefit {
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: start;
	margin: 0;
	padding: 16px;
	border-radius: 14px;
	background: var(--flawio-bg-soft);
}
.fl-benefit__icon {
	grid-row: span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--flawio-bg);
	color: var(--flawio-primary);
}
.fl-benefit__title {
	font-weight: 700;
	line-height: 1.3;
}
.fl-benefit__text {
	color: var(--flawio-muted);
	font-size: 15px;
	line-height: 1.45;
}

@media (max-width: 640px) {
	/* Products first: compact head, chips in one swipeable row. */
	.fl-breadcrumbs {
		padding-top: 12px;
		font-size: 14px;
	}
	.fl-shop__head {
		padding: 0 0 12px;
	}
	.fl-shop__title {
		font-size: 28px;
		margin-bottom: 6px;
	}
	.fl-shop__intro {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 16px;
	}
	.fl-chips {
		margin: 0 -20px 12px;
	}
	.fl-chips__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 2px 20px 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.fl-chips__list::-webkit-scrollbar {
		display: none;
	}
	.fl-chips__list li {
		scroll-snap-align: start;
	}
	.fl-shop__toolbar {
		flex-wrap: nowrap;
		gap: 8px;
		margin-bottom: 16px;
		padding: 10px 0;
	}
	.fl-shop__toolbar .woocommerce-ordering {
		flex: 1;
		min-width: 0;
	}
	.fl-shop__toolbar select {
		width: 100%;
		font-size: 15px;
	}
	.fl-stock-toggle {
		flex: none;
		padding: 0 12px;
		font-size: 15px;
	}
	.fl-benefits {
		grid-template-columns: 1fr;
	}
}

/* ---------- Gift bouquets: crepe colour (WowAddons radio, data/addons.json) shown as colour swatches ---------- */
.fl-krep .prad-input-container {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
}
.fl-krep .prad-radio-item-wrapper,
.fl-krep .prad-radio-item,
.fl-krep .prad-radio-item label {
	width: 100%;
	margin: 0;
}
.fl-krep .prad-radio-item label {
	align-items: center !important;
	padding: 8px 12px 8px 8px;
	border: 2px solid var(--flawio-border);
	border-radius: 999px;
	background: #FFFFFF;
	cursor: pointer;
	transition: border-color .15s ease;
}
.fl-krep .prad-radio-mark {
	display: none !important;
}
.fl-krep .prad-block-content,
.fl-krep .prad-option-content {
	flex-direction: row !important;
}
.fl-krep .prad-option-content {
	display: flex !important;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 15px;
}
.fl-krep .prad-option-content::before {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
	background: conic-gradient(var(--krep-a) 0 50%, var(--krep-b) 0);
}
.fl-krep input:checked + label {
	border-color: var(--flawio-primary);
	box-shadow: 0 0 0 1px var(--flawio-primary);
}
.fl-krep input:focus-visible + label {
	outline: 3px solid var(--flawio-primary);
	outline-offset: 2px;
}
.fl-krep .prad-radio-item label:hover {
	border-color: var(--flawio-primary);
}
.fl-krep input[data-uid="flkrepmodra"] + label { --krep-a: #1F2F7A; --krep-b: #8CC3EC; }
.fl-krep input[data-uid="flkrepfialova"] + label { --krep-a: #5B2A86; --krep-b: #B57BD6; }
.fl-krep input[data-uid="flkrepcervena"] + label { --krep-a: #A3121C; --krep-b: #E3242B; }
.fl-krep input[data-uid="flkreporanzova"] + label { --krep-a: #9E1B2E; --krep-b: #F29A1B; }
.fl-krep input[data-uid="flkrepruzova"] + label { --krep-a: #8E1B3A; --krep-b: #E8459B; }
.fl-krep input[data-uid="flkrepzlutozelena"] + label { --krep-a: #2F5A2C; --krep-b: #F2E21B; }
.fl-krep input[data-uid="flkrepneon"] + label { --krep-a: #2F5A2C; --krep-b: #8EF03A; }
/* ---------- 360° spin (inc/product-360.php) ---------- */
/* Over the photo's top-left corner (the zoom icon is top-right): always in view together with the photo. */
.fl-360-open {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	padding: 10px 18px 10px 10px;
	border: 2px solid var(--flawio-border);
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--flawio-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}
.fl-360-open:hover,
.fl-360-open:focus-visible {
	border-color: var(--flawio-primary);
	color: var(--flawio-primary);
}
.fl-360-open__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--flawio-primary);
	color: #FFFFFF;
	font-size: 12px;
}
.fl-360 {
	width: min(92vw, 720px);
	max-height: 92vh;
	padding: 20px;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.fl-360::backdrop {
	background: rgba(30, 10, 16, .6);
}
.fl-360__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--flawio-bg-soft);
	color: var(--flawio-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.fl-360__stage {
	position: relative;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
}
.fl-360__stage:active {
	cursor: grabbing;
}
.fl-360__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.fl-360__loading {
	position: absolute;
	inset: auto 0 12px;
	margin: 0;
	text-align: center;
	color: var(--flawio-muted);
}
.fl-360__hint {
	margin: 8px 0 0;
	text-align: center;
	color: var(--flawio-muted);
	font-size: 15px;
}@media (max-width: 640px) {
	.fl-360-open {
		top: 10px;
		left: 10px;
		padding: 6px 14px 6px 6px;
		font-size: 15px;
	}
	.fl-360-open__icon {
		width: 34px;
		height: 34px;
		font-size: 11px;
	}
}

/* ---------- Photo lightbox (PhotoSwipe) ----------
   WordPress reports many portrait product photos as 1192 × 1192. Since 2026-10-14 the gallery passes the real photo
   size and PhotoSwipe gets room above and below the photo (inc/shop-ui.php). If a size is still wrong, the photo is
   drawn whole inside the box PhotoSwipe prepared instead of being stretched. */
.pswp img.pswp__img {
	object-fit: contain;
	background: #FFFFFF;
}
/* Blocksy forces a 0.7 backdrop with !important; the page showed through behind the photo. */
body.woocommerce .pswp__bg,
body.woocommerce-page .pswp__bg {
	opacity: 0.9 !important;
}

/* Main gallery photos zoomed past their white margins by assets/js/card-fit.js (3D cards looked small with white
   strips at the sides). The lightbox shows the untouched photo. */
.fl-product__gallery figure.ct-media-container {
	overflow: hidden;
	border-radius: 16px;
}
.fl-product__gallery figure.ct-media-container > img {
	transform: translate(var(--fl-x, 0), var(--fl-y, 0)) scale(var(--fl-zoom, 1));
}

/* Towel colour of the towel-dog bouquets (data/addons.json, group "rucnik"): same swatches as the crepe, one colour each. */
.fl-krep input[data-uid="flrucnikbila"] + label { --krep-a: #F4F1EC; --krep-b: #F4F1EC; }
.fl-krep input[data-uid="flrucnikzluta"] + label { --krep-a: #F2C230; --krep-b: #F2C230; }
.fl-krep input[data-uid="flrucnikcervena"] + label { --krep-a: #C8232C; --krep-b: #C8232C; }
.fl-krep input[data-uid="flrucnikruzova"] + label { --krep-a: #E98DB4; --krep-b: #E98DB4; }
.fl-krep input[data-uid="flrucnikfialova"] + label { --krep-a: #7A4CA0; --krep-b: #7A4CA0; }
.fl-krep input[data-uid="flrucnikmodra"] + label { --krep-a: #1E2D5C; --krep-b: #1E2D5C; }
.fl-krep input[data-uid="flrucnikzelena"] + label { --krep-a: #3F8A3A; --krep-b: #3F8A3A; }
.fl-krep input[data-uid="flrucnikhneda"] + label { --krep-a: #7B5646; --krep-b: #7B5646; }

/* ---------- Můj účet: login or registration, one at a time (inc/account.php) ---------- */
#customer_login.col2-set {
	display: block;
	max-width: 480px;
	scroll-margin-top: 200px; /* the "Vytvořit účet" link jumps here: keep the page title visible under the header */
}
#customer_login .u-column1,
#customer_login .u-column2 {
	float: none;
	width: 100%;
	max-width: none;
	padding: 0;
	border: 0;
}
#customer_login .u-column2,
#customer_login:target .u-column1,
.fl-show-register #customer_login .u-column1 {
	display: none;
}
#customer_login:target .u-column2,
.fl-show-register #customer_login .u-column2 {
	display: block;
}
.fl-account-switch {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--flawio-muted);
}
.fl-account-switch a {
	color: var(--flawio-primary);
	font-weight: 600;
}
