/*
Theme Name: plove.me
Theme URI: https://plove.me/
Author: plove.me
Description: Empty base theme with custom AJAX and JS architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: plove-me
*/

/* Global tokens: the SPA shell (drawers, delivery panel, map) renders in the
   footer, outside the `.plv-nav` / `.site-main--*` scopes that redeclare them. */
:root {
	--sky-1: #daf0fb;
	--sky-2: #b8dff5;
	--sky-3: #7ec8ed;
	--sky-4: #00c0ff;
	--sky-5: #0099d4;
	--text-1: #1a2e3b;
	--text-2: #4a6878;
	--text-3: #7a9aaa;
	--plv-bg: #f4fafd;
	--plv-border: #d9e7ef;
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — legacy `plv-nav` from buyer SPA (`CatalogPage.jsx` + `app.css`)
   ═══════════════════════════════════════════════════════════════════════════ */

.plv-nav {
	--sky-1: #daf0fb;
	--sky-2: #b8dff5;
	--sky-3: #7ec8ed;
	--sky-4: #00c0ff;
	--sky-5: #0099d4;
	--text-1: #1a2e3b;
	--text-2: #4a6878;
	--text-3: #7a9aaa;
	--glass: rgba(255, 255, 255, 0.52);
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	background: rgba(240, 249, 255, 0.88);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(0, 192, 255, 0.12);
	font-family: var(--font-body);
}

.plv-nav button {
	cursor: pointer;
	border: none;
	background: none;
	font-family: inherit;
}

.plv-nav-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
}

.plv-nav-logo-img {
	width: 44px;
	height: 44px;
	display: block;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 3px rgba(0, 154, 200, 0.20));
}

.plv-nav-delivery {
	flex: 0 1 auto;
	width: fit-content;
	max-width: min(280px, 72vw);
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.70);
	border: 1.5px solid rgba(0, 192, 255, 0.22);
	border-radius: 100px;
	padding: 6px 12px 6px 10px;
	transition: background 0.2s, border-color 0.2s;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: hidden;
}

.plv-nav-delivery:active {
	background: rgba(0, 192, 255, 0.08);
	border-color: var(--sky-3);
}

.plv-nav-delivery svg {
	flex-shrink: 0;
}

.plv-nav-delivery svg path {
	stroke: var(--sky-5);
	fill: none;
}

.plv-nav-delivery-select {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0 4px 0 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	color: var(--text-1);
	line-height: 1.2;
	cursor: pointer;
}

.plv-nav-delivery-select:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 192, 255, 0.35);
	border-radius: 6px;
}

.plv-nav-cart {
	position: relative;
	width: 42px;
	height: 42px;
	background: var(--glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1.5px solid rgba(0, 192, 255, 0.25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.2s;
	text-decoration: none;
	color: inherit;
}

.plv-nav-cart:active {
	background: rgba(0, 192, 255, 0.12);
}

.plv-nav-cart svg path {
	stroke: var(--sky-5);
	fill: none;
}

.plv-nav-cart-badge {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--sky-4);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(240, 249, 255, 0.9);
}

.plv-lang {
	position: relative;
	flex-shrink: 0;
	margin-left: auto;
}

.plv-lang-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	padding: 6px 10px;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	color: #0f172a;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.plv-lang-trigger:hover {
	background: #fff;
}

.plv-lang-flag {
	font-size: 14px;
	line-height: 1;
}

.plv-lang-caret {
	font-size: 9px;
	opacity: 0.6;
}

.plv-lang-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 2000;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	min-width: 160px;
	padding: 4px;
}

.plv-lang-menu[hidden] {
	display: none;
}

.plv-lang-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	border: none;
	background: transparent;
	padding: 10px 12px;
	border-radius: 8px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	color: inherit;
	text-align: left;
}

.plv-lang-item:hover {
	background: #f1f5f9;
}

.plv-lang-item.active {
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 600;
}

.plv-lang-check {
	margin-left: auto;
	color: #1d4ed8;
}

.plv-lang-item:not(.active) .plv-lang-check {
	visibility: hidden;
}

@media screen and (max-width: 767px) {
	.plv-nav {
		padding: 10px 12px;
		gap: 6px;
	}
}

.site-footer {
	margin-top: 40px;
	background-color: #0189a4;
	color: #ffffff;
}

.site-footer__container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 16px 20px;
}

.site-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.site-footer__logo {
	text-decoration: none;
	line-height: 1.15;
}

.site-footer .site-footer__logo-image {
	display: block;
	width: auto;
	max-width: 80px;
	max-height: 52px;
	height: auto;
	object-fit: contain;
}

.site-footer__menu-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 8px 14px;
	margin: 0;
	padding: 0;
}

.site-footer__nav {
	flex: 1 1 240px;
	min-width: 0;
}

.site-footer__menu-link {
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
}

.site-footer__social-list {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.site-footer__social-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	text-decoration: none;
}

.site-footer__icon-svg {
	width: 30px;
	height: 30px;
}

.site-footer__bottom {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer__copyright {
	font-size: 14px;
	line-height: 1.4;
}

@media screen and (max-width: 980px) {
	.site-footer__top {
		flex-wrap: wrap;
	}

	.site-footer__nav {
		order: 3;
		width: 100%;
		flex: 1 1 100%;
	}

	.site-footer__menu-list {
		grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	}
}

@media screen and (max-width: 767px) {
	.site-footer__container {
		padding: 24px 12px 18px;
	}

	.site-footer .site-footer__logo-image {
		max-width: 70px;
		max-height: 46px;
	}

	.site-footer__menu-link {
		font-size: 13px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   FRONT-PAGE — UX adapted from buyer SPA prototype
   (`examples/app/plovi-app/buyer/src/styles/app.css` — CatalogPage glassmorphism)
   ═══════════════════════════════════════════════════════════════════════════ */

.site-main--front {
	--plv-primary: #00c2e8;
	--plv-primary-dark: #009ab8;
	--plv-card: #ffffff;
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--sky-1: #daf0fb;
	--sky-2: #b8dff5;
	--sky-3: #7ec8ed;
	--sky-4: #00c0ff;
	--sky-5: #0099d4;
	--text-1: #1a2e3b;
	--text-2: #4a6878;
	--text-3: #7a9aaa;
	--glass: rgba(255, 255, 255, 0.52);
	--mist: rgba(255, 255, 255, 0.72);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
	--r-pill: 99px;

	position: relative;
	min-height: 100vh;
	background: linear-gradient(180deg, #e6f5fd 0%, #f0f9ff 40%, #fafeff 100%);
	background-attachment: fixed;
	color: var(--text-1);
	-webkit-font-smoothing: antialiased;
	font-family: var(--font-body);
	overflow-x: hidden;
	padding-bottom: 96px;
}

.plv-front {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 12px;
}

/* ─── Animated background canvas ──────────────────────────────────── */
.plv-bg-canvas {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.plv-bg-orb {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 192, 255, 0.10) 0%, transparent 70%);
	animation: plv-orb-drift ease-in-out infinite;
}

.plv-bg-orb:nth-child(1) {
	width: 600px;
	height: 600px;
	top: -200px;
	left: -150px;
	animation-duration: 18s;
}

.plv-bg-orb:nth-child(2) {
	width: 400px;
	height: 400px;
	top: 30%;
	right: -100px;
	animation-duration: 24s;
	animation-delay: -8s;
}

.plv-bg-orb:nth-child(3) {
	width: 300px;
	height: 300px;
	bottom: 20%;
	left: 10%;
	animation-duration: 20s;
	animation-delay: -4s;
}

@keyframes plv-orb-drift {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-30px) scale(1.05); }
}

.plv-petal {
	position: fixed;
	pointer-events: none;
	z-index: 0;
	width: 8px;
	height: 12px;
	border-radius: 50% 0 50% 0;
	opacity: 0;
	animation: plv-petal-fall linear infinite;
}

@keyframes plv-petal-fall {
	0%   { opacity: 0;   transform: translateY(-20px) rotate(0deg) translateX(0); }
	10%  { opacity: 0.7; }
	90%  { opacity: 0.4; }
	100% { opacity: 0;   transform: translateY(100vh) rotate(720deg) translateX(40px); }
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.plv-hero {
	padding: 36px 16px 18px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.plv-hero-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}

.plv-hero-logo-img {
	width: 96px;
	height: 96px;
	display: block;
	filter: drop-shadow(0 8px 28px rgba(0, 154, 200, 0.25));
}

.plv-hero-title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: 64px;
	line-height: 1;
	letter-spacing: -1px;
	color: var(--sky-4);
	margin: 0 0 8px;
}

.plv-hero-title em {
	font-style: italic;
}

.plv-hero-sub {
	font-size: 12px;
	font-weight: 400;
	color: var(--text-3);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
}

/* ─── Search ──────────────────────────────────────────────────────── */
.plv-search {
	position: relative;
	margin: 12px 4px 14px;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.72);
	border: 1.5px solid rgba(0, 192, 255, 0.22);
	border-radius: 100px;
	padding: 2px 14px 2px 12px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 1;
}

.plv-search-icon {
	font-size: 15px;
	margin-right: 8px;
	flex-shrink: 0;
	opacity: 0.7;
}

.plv-search-input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-1);
	font-family: inherit;
}

.plv-search-input::placeholder {
	color: var(--text-3);
	font-weight: 400;
}

.plv-search-clear {
	background: rgba(0, 0, 0, 0.06);
	border: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 12px;
	color: var(--text-3);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ─── Section filter pills ────────────────────────────────────────── */
.plv-filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 4px 12px;
	scrollbar-width: none;
	position: relative;
	z-index: 1;
}

.plv-filters::-webkit-scrollbar { display: none; }

/* Group pills: flow into exactly 3 rows, scroll horizontally if there are too many to fit. */
.plv-filters--groups {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(3, auto);
	grid-auto-columns: max-content;
	align-content: start;
	justify-content: start;
	column-gap: 8px;
	row-gap: 8px;
}

.plv-filter-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 600;
	border: 1.5px solid rgba(0, 192, 255, 0.22);
	background: rgba(255, 255, 255, 0.65);
	color: var(--text-2);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.18s;
	font-family: inherit;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.plv-filter-pill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}

.plv-filter-pill-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.plv-filter-pill-emoji {
	flex-shrink: 0;
	font-size: 18px;
	line-height: 1;
}

.plv-filter-pill:hover {
	border-color: var(--pill-border-strong, rgba(0, 192, 255, 0.45));
	color: var(--pill-fg, var(--sky-5));
}

.plv-filter-pill.active {
	background: var(--pill-bg, var(--sky-4));
	color: white;
	border-color: var(--pill-bg, var(--sky-4));
	box-shadow: 0 4px 12px var(--pill-shadow, rgba(0, 192, 255, 0.28));
}

/* 6-hue cycle for group pills — each `data-pill-hue` slot picks a different accent so
   neighbouring pills are visually distinct. Tints are pastel for the resting border,
   saturated for hover/active.
   0 sky, 1 leaf-green, 2 amber-orange, 3 raspberry, 4 violet, 5 teal */
.plv-filter-pill[data-pill-hue="0"] { --pill-bg: #38bdf8; --pill-fg: #0369a1; --pill-border: rgba(56,189,248,0.22); --pill-border-strong: rgba(56,189,248,0.55); --pill-shadow: rgba(56,189,248,0.30); border-color: var(--pill-border); }
.plv-filter-pill[data-pill-hue="1"] { --pill-bg: #84cc16; --pill-fg: #4d7c0f; --pill-border: rgba(132,204,22,0.22); --pill-border-strong: rgba(132,204,22,0.55); --pill-shadow: rgba(132,204,22,0.30); border-color: var(--pill-border); }
.plv-filter-pill[data-pill-hue="2"] { --pill-bg: #f59e0b; --pill-fg: #b45309; --pill-border: rgba(245,158,11,0.22); --pill-border-strong: rgba(245,158,11,0.55); --pill-shadow: rgba(245,158,11,0.30); border-color: var(--pill-border); }
.plv-filter-pill[data-pill-hue="3"] { --pill-bg: #ec4899; --pill-fg: #be185d; --pill-border: rgba(236,72,153,0.22); --pill-border-strong: rgba(236,72,153,0.55); --pill-shadow: rgba(236,72,153,0.30); border-color: var(--pill-border); }
.plv-filter-pill[data-pill-hue="4"] { --pill-bg: #8b5cf6; --pill-fg: #6d28d9; --pill-border: rgba(139,92,246,0.22); --pill-border-strong: rgba(139,92,246,0.55); --pill-shadow: rgba(139,92,246,0.30); border-color: var(--pill-border); }
.plv-filter-pill[data-pill-hue="5"] { --pill-bg: #14b8a6; --pill-fg: #0f766e; --pill-border: rgba(20,184,166,0.22); --pill-border-strong: rgba(20,184,166,0.55); --pill-shadow: rgba(20,184,166,0.30); border-color: var(--pill-border); }

/* ─── Group nav dropdown ──────────────────────────────────────────── */
.plv-group-nav {
	padding: 0 4px 14px;
	position: relative;
	z-index: 1;
}

.plv-group-nav-select {
	width: 100%;
	padding: 11px 36px 11px 14px;
	border: 1.5px solid rgba(0, 192, 255, 0.25);
	border-radius: 12px;
	background: rgba(240, 249, 255, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-1);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2300c0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.plv-group-nav-select:focus {
	border-color: rgba(0, 192, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(0, 192, 255, 0.12);
}

/* ─── Section block ───────────────────────────────────────────────── */
.plv-section-block {
	position: relative;
	z-index: 1;
}

.plv-chapter-div {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 12px 0;
	margin-top: 14px;
}

.plv-chapter-div::before,
.plv-chapter-div::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 192, 255, 0.25), transparent);
}

.plv-chapter-div-icon {
	width: 40px;
	height: 40px;
	background: rgba(0, 192, 255, 0.08);
	border: 1.5px solid rgba(0, 192, 255, 0.18);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 18px;
}

.plv-chapter-div-icon svg {
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.plv-section-hdr {
	padding: 18px 12px 12px;
	scroll-margin-top: 90px;
}

.plv-section-hdr-title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: 44px;
	line-height: 1.05;
	color: var(--text-1);
	letter-spacing: -0.5px;
	margin: 0;
}

.plv-section-hdr-title em {
	font-style: italic;
	color: var(--sky-4);
}

.plv-section-hdr-sub {
	font-size: 13px;
	color: var(--text-2);
	margin: 6px 0 0;
	font-weight: 400;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.plv-section-hdr-sub-sep {
	color: var(--text-3);
	margin: 0 2px;
}

.plv-section-hdr-sub-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.plv-section-hdr-sub-link:hover {
	color: var(--sky-4);
}

.plv-section-empty {
	padding: 28px 16px;
	text-align: center;
	color: var(--text-3);
	font-size: 13px;
	font-style: italic;
	letter-spacing: 0.5px;
}

/* ─── Group header within section ─────────────────────────────────── */
.plv-group-block {
	margin-bottom: 18px;
	scroll-margin-top: 90px;
}

.plv-group-block:last-child {
	margin-bottom: 0;
}

.plv-group-hdr {
	margin: 12px 12px 8px;
	padding: 0;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 500;
	color: var(--text-2);
	line-height: 1.2;
}

.plv-group-hdr-link {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s, color 0.15s;
}

.plv-group-hdr-link:hover {
	color: var(--sky-5);
	border-bottom-color: rgba(0, 192, 255, 0.35);
}

.plv-group-hdr-count {
	font-size: 12px;
	color: var(--text-3);
	font-family: var(--font-body);
	font-weight: 600;
}

/* ─── Product grid ────────────────────────────────────────────────── */
.plvp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 4px 4px 8px;
}

@media (min-width: 600px) {
	.plvp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
	.plvp-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
	.plvp-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ─── Product card (glassmorphism) ────────────────────────────────── */
.plvp-card {
	background: var(--glass);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0, 140, 200, 0.10);
	transition: transform 0.22s, box-shadow 0.22s;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: visible;
}

.plvp-card[hidden] { display: none; }

.plvp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(0, 140, 200, 0.16);
}

.plvp-photo-wrap {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 18px 18px 0 0;
	position: relative;
	display: block;
	flex-shrink: 0;
	text-decoration: none;
	background: var(--sky-1);
}

/* Defensive: WP/WC + Gutenberg ship several `img { height: auto }` rules whose
   selector specificity beats a plain `.plvp-photo`. Pin the photo with !important
   so it ALWAYS fills the 4:3 wrap regardless of the source aspect ratio. */
.plvp-photo {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	transition: transform 0.4s ease;
	display: block;
}

.plvp-card:hover .plvp-photo { transform: scale(1.04); }

.plvp-photo-ph {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--sky-1) 0%, var(--sky-2) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.plvp-photo-ph::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-45deg, transparent, transparent 8px,
		rgba(0, 192, 255, 0.07) 8px, rgba(0, 192, 255, 0.07) 9px
	);
}

.plvp-photo-ph-text {
	font-size: 11px;
	color: var(--sky-5);
	opacity: 0.7;
	letter-spacing: 0.5px;
	position: relative;
	z-index: 1;
	font-weight: 600;
	padding: 0 8px;
	text-align: center;
}

.plvp-photo-fade {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to bottom, transparent, rgba(240, 249, 255, 0.6));
	pointer-events: none;
}

/* Wrapper that stacks multiple badges (АКЦИЯ + НОВОЕ + ЛУЧШЕЕ etc.) at top-left of the photo. */
.plvp-card-marks {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	pointer-events: none;
}

.plvp-card-mark {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--sky-5);
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 100px;
	border: 1px solid rgba(0, 192, 255, 0.25);
	white-space: nowrap;
}

.plvp-card-mark.sale  { background: #ff6b6b; color: white; border-color: transparent; }
.plvp-card-mark.hit   { background: var(--sky-4); color: white; border-color: transparent; }
.plvp-card-mark.new   { background: #22c55e; color: white; border-color: transparent; }
.plvp-card-mark.plovi {
	background: linear-gradient(135deg, var(--sky-4), var(--sky-5));
	color: white;
	border-color: transparent;
}

.plvp-oos-ov {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.plvp-oos-tag {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--text-2);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.10);
	padding: 4px 10px;
	border-radius: 100px;
}

.plvp-info {
	padding: 10px 12px 58px; /* reserve room for absolute .plvp-price-row + .plvp-qty-row */
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.plvp-chip {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--text-3);
	margin-bottom: 4px;
}

.plvp-name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--text-1);
	flex: 0 0 auto;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.plvp-desc {
	font-size: 11px;
	color: var(--text-3);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}

.plvp-price-row {
	position: absolute;
	left: 12px;
	bottom: 14px;
	display: flex;
	align-items: baseline;
	gap: 4px;
	flex-wrap: wrap;
	max-width: calc(100% - 60px); /* leave room for the round add button on the right */
	line-height: 1;
}

.plvp-price {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--text-1);
	white-space: nowrap;
}

.plvp-price-unit {
	font-size: 11px;
	font-weight: 500;
	color: var(--text-3);
	white-space: nowrap;
	letter-spacing: 0.2px;
}

.plvp-price-orig {
	font-size: 11px;
	color: var(--text-3);
	text-decoration: line-through;
	font-weight: 600;
	width: 100%;
}

.plvp-noprice {
	font-size: 11px;
	color: var(--text-3);
	font-style: italic;
}

.plvp-qty-row {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.plvp-add-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}

.plvp-btn-add {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: rgba(0, 30, 60, 0.80);
	color: white;
	box-shadow: 0 2px 10px rgba(0, 80, 140, 0.22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform 0.15s, background 0.15s;
	text-decoration: none;
}

.plvp-btn-add:hover  { background: var(--sky-5); }
.plvp-btn-add:active { transform: scale(0.88); }

.plvp-oos-label {
	font-size: 9.5px;
	font-weight: 600;
	color: var(--text-3);
	letter-spacing: 0.3px;
	background: rgba(255, 255, 255, 0.7);
	padding: 6px 10px;
	border-radius: 100px;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ─── Floating cart bar ───────────────────────────────────────────── */
.plv-cart-bar {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) translateY(100%);
	width: 100%;
	max-width: 480px;
	padding: 10px 14px max(18px, env(safe-area-inset-bottom));
	background: rgba(240, 249, 255, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: 1.5px solid rgba(0, 192, 255, 0.15);
	z-index: 200;
	transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
	cursor: pointer;
	text-decoration: none;
}

.plv-cart-bar.visible { transform: translateX(-50%) translateY(0); }

.plv-cart-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--sky-4);
	border-radius: 16px;
	padding: 14px 20px;
	box-shadow: 0 6px 24px rgba(0, 192, 255, 0.38);
	transition: transform 0.2s;
}

.plv-cart-bar:active .plv-cart-bar-inner { transform: scale(0.98); }

.plv-cart-bar-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.plv-cart-bar-count {
	background: rgba(255, 255, 255, 0.25);
	color: white;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 100px;
}

.plv-cart-bar-label {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	color: white;
}

.plv-cart-bar-total {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	color: white;
}

/* Mobile tweaks */
@media (max-width: 480px) {
	.plv-hero { padding: 28px 12px 14px; }
	.plv-hero-title { font-size: 56px; }
	.plv-section-hdr-title { font-size: 38px; }
	.plv-section-hdr { padding: 16px 8px 10px; }
	.plv-front { padding: 0 8px; }
}

/* Desktop cart bar (B3) — wider, less «phone preview» feel */
@media (min-width: 900px) {
	.plv-cart-bar {
		max-width: 720px;
		padding: 12px 18px max(16px, env(safe-area-inset-bottom));
	}
	.plv-cart-bar-inner {
		padding: 14px 24px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATALOG ARCHIVE — product_cat / Shop
   Product grid = front-page `.plvp-card`; bottom nav = Legacy Tilda `plvbn`
   (underwater sibling pills from `plovi.me/{category}` pages).
   ═══════════════════════════════════════════════════════════════════════════ */

.site-main--catalog {
	--plv-primary: #00c2e8;
	--plv-primary-dark: #009ab8;
	--plv-card: #ffffff;
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--sky-1: #daf0fb;
	--sky-2: #b8dff5;
	--sky-3: #7ec8ed;
	--sky-4: #00c0ff;
	--sky-5: #0099d4;
	--text-1: #1a2e3b;
	--text-2: #4a6878;
	--text-3: #7a9aaa;
	--glass: rgba(255, 255, 255, 0.52);
	--mist: rgba(255, 255, 255, 0.72);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
	--r-pill: 99px;

	position: relative;
	min-height: 100vh;
	background: linear-gradient(180deg, #e6f5fd 0%, #f0f9ff 40%, #fafeff 100%);
	background-attachment: fixed;
	color: var(--text-1);
	-webkit-font-smoothing: antialiased;
	font-family: var(--font-body);
	overflow-x: hidden;
	padding-bottom: 0;
}

.plv-catalog {
	position: relative;
	z-index: 1;
	padding-bottom: 96px;
}

.plv-catalog-inner {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 12px 32px;
}

.plv-catalog-hdr {
	padding: 28px 8px 8px;
	text-align: center;
}

.plv-catalog-back {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-3);
	text-decoration: none;
	letter-spacing: 0.2px;
	margin-bottom: 10px;
	transition: color 0.2s;
}

.plv-catalog-back:hover {
	color: var(--sky-5);
}

.plv-catalog-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(36px, 6vw, 52px);
	line-height: 1.1;
	color: var(--text-1);
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.plv-catalog-title em {
	font-style: italic;
	font-weight: 500;
}

.plv-catalog-title-emoji {
	font-style: normal;
	font-size: 0.72em;
	line-height: 1;
}

.plv-catalog-count {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-3);
}

/* ─── Plovi Bottom Nav · Underwater Edition (Legacy Tilda) ─── */
.plvbn {
	position: relative;
	font-family: var(--font-body);
	margin-top: 8px;
}

.plvbn-wave {
	display: block;
	width: 100%;
	line-height: 0;
	margin-bottom: -2px;
	overflow: hidden;
	position: relative;
}

.plvbn-wave svg {
	display: block;
	width: 100%;
	height: auto;
}

.plvbn-sea {
	background: linear-gradient(180deg, #0891b2 0%, #0e7490 40%, #155e75 80%, #164e63 100%);
	padding: 32px 20px 44px;
	position: relative;
	overflow: hidden;
}

.plvbn-sea::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 140px;
	background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(125, 211, 252, 0.35) 0%, transparent 100%);
	pointer-events: none;
}

.plvbn-rays {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.plvbn-ray {
	position: absolute;
	top: 0;
	width: 2px;
	height: 55%;
	background: linear-gradient(to bottom, rgba(186, 230, 253, 0.18), transparent);
	transform-origin: top center;
	animation: plvbn-ray-sway ease-in-out infinite alternate;
	border-radius: 2px;
}

@keyframes plvbn-ray-sway {
	from { transform: skewX(-8deg) scaleX(1); opacity: 0.6; }
	to   { transform: skewX(8deg) scaleX(1.4); opacity: 1; }
}

.plvbn-bub {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.22);
	pointer-events: none;
	animation: plvbn-bubble-rise linear infinite;
}

@keyframes plvbn-bubble-rise {
	0%   { transform: translateY(0) translateX(0); opacity: 0.55; }
	40%  { transform: translateY(-40%) translateX(5px); opacity: 0.35; }
	100% { transform: translateY(-100%) translateX(-4px); opacity: 0; }
}

.plvbn-inner {
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.plvbn-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	gap: 12px;
}

.plvbn-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: -0.2px;
}

.plvbn-home {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.42);
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: color 0.2s;
	white-space: nowrap;
}

.plvbn-home:hover {
	color: rgba(255, 255, 255, 0.72);
}

.plvbn-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.plvbn-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 15px;
	border-radius: 100px;
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.11);
	border: 1.5px solid rgba(255, 255, 255, 0.20);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	white-space: nowrap;
	transition: background 0.22s, border-color 0.22s, transform 0.2s, box-shadow 0.22s;
	-webkit-tap-highlight-color: transparent;
}

.plvbn-pill:visited {
	color: rgba(255, 255, 255, 0.92) !important;
}

.plvbn-pill:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.42);
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	color: rgba(255, 255, 255, 0.92) !important;
}

.plvbn-pill em {
	font-style: normal;
	font-size: 13px;
	line-height: 1;
}

.plvbn-pill--active {
	background: rgba(255, 255, 255, 0.24) !important;
	border-color: rgba(255, 255, 255, 0.58) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.09), 0 4px 16px rgba(0, 0, 0, 0.18) !important;
	cursor: default;
	pointer-events: none;
	transform: none !important;
}

.plvbn-divider {
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.09);
	margin: 14px 0 6px;
}

@keyframes plvbn-bob {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-5px); }
}

@media (max-width: 480px) {
	.plv-catalog-inner { padding: 0 8px 24px; }
	.plv-catalog-hdr { padding: 20px 4px 6px; }
	.plvbn-sea { padding: 28px 14px 36px; }
	.plvbn-title { font-size: 16px; }
}

/* ==========================================================================
   SINGLE PRODUCT (Legacy Tilda t-store__prod-popup → theme shell)
   ========================================================================== */

.site-main--product {
	--sky-0: #f0f9ff;
	--sky-1: #e0f2fe;
	--sky-2: #bae6fd;
	--sky-3: #7dd3fc;
	--sky-4: #38bdf8;
	--sky-5: #0ea5e9;
	--text-1: #0c4a6e;
	--text-2: #0369a1;
	--text-3: #64748b;
	--glass: rgba(255, 255, 255, 0.72);
	--mist: rgba(255, 255, 255, 0.45);
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', sans-serif;
	position: relative;
	isolation: isolate;
	min-height: 60vh;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(56, 189, 248, 0.22), transparent 60%),
		radial-gradient(900px 500px at 90% 0%, rgba(14, 165, 233, 0.14), transparent 55%),
		linear-gradient(180deg, #f0f9ff 0%, #e8f4fc 40%, #f8fafc 100%);
	font-family: var(--font-body);
	color: var(--text-1);
	padding-bottom: 96px;
}

.plv-product {
	position: relative;
	z-index: 1;
}

.plv-product-inner {
	position: relative;
	z-index: 2;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px 40px;
}

.plv-product-hdr {
	padding: 22px 4px 8px;
}

.plv-product-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-2);
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.plv-product-back:hover {
	opacity: 1;
	transform: translateX(-2px);
	color: var(--text-1);
}

.plv-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 8px;
}

@media (min-width: 800px) {
	.plv-product-layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 40px;
		align-items: start;
	}
}

@media (min-width: 800px) {
	.plv-product-gallery {
		position: sticky;
		top: 88px;
	}
}

.plv-product-photo-wrap {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	background: var(--sky-1);
	aspect-ratio: 1 / 1;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 18px 40px rgba(14, 165, 233, 0.12);
}

.plv-product-photo-wrap--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 28px;
	color: var(--text-3);
}

.plv-product-photo {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block;
}

.plv-product-marks {
	z-index: 2;
}

.plv-product-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.plv-product-thumb {
	width: 64px;
	height: 64px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	overflow: hidden;
	background: var(--glass);
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.plv-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.plv-product-thumb:hover {
	transform: translateY(-1px);
	border-color: rgba(14, 165, 233, 0.35);
}

.plv-product-thumb.is-active {
	border-color: var(--sky-5);
	box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.18);
}

.plv-product-info {
	padding: 4px 2px 0;
}

.plv-product-cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--text-2);
	text-decoration: none;
	opacity: 0.9;
	margin-bottom: 10px;
}

.plv-product-cat:hover {
	opacity: 1;
	color: var(--text-1);
}

.plv-product-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(28px, 4.2vw, 42px);
	line-height: 1.15;
	color: var(--text-1);
}

.plv-product-title em {
	font-style: italic;
	font-weight: 600;
}

.plv-product-sku {
	font-size: 12px;
	color: var(--text-3);
	margin-bottom: 12px;
}

.plv-product-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 8px;
	margin: 6px 0 22px;
	line-height: 1.1;
}

.plv-product-price {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	color: var(--text-1);
}

.plv-product-price-orig {
	font-size: 16px;
	color: var(--text-3);
	text-decoration: line-through;
	width: 100%;
}

.plv-product-portion {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-3);
	white-space: nowrap;
}

.plv-product-options {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 22px;
}

.plv-product-option-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-2);
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}

.plv-product-option-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.plv-product-pill {
	appearance: none;
	border: 1.5px solid rgba(14, 165, 233, 0.28);
	background: rgba(255, 255, 255, 0.78);
	color: var(--text-1);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.plv-product-pill:hover {
	border-color: var(--sky-5);
	transform: translateY(-1px);
}

.plv-product-pill.is-active {
	background: var(--sky-5);
	border-color: var(--sky-5);
	color: #fff;
	box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
}

.plv-product-pill.is-disabled {
	opacity: 0.38;
	pointer-events: none;
}

.plv-product-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 24px;
}

.plv-product-qty {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.82);
	border: 1.5px solid rgba(14, 165, 233, 0.22);
	border-radius: 999px;
	overflow: hidden;
	height: 52px;
}

.plv-product-qty-btn {
	appearance: none;
	border: 0;
	background: transparent;
	width: 44px;
	height: 100%;
	font-size: 20px;
	font-weight: 700;
	color: var(--text-2);
	cursor: pointer;
	line-height: 1;
}

.plv-product-qty-btn:hover {
	background: rgba(14, 165, 233, 0.08);
	color: var(--text-1);
}

.plv-product-qty-input {
	width: 48px;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--text-1);
	-moz-appearance: textfield;
}

.plv-product-qty-input::-webkit-outer-spin-button,
.plv-product-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.plv-product-add {
	flex: 1 1 180px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: #fff !important;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(14, 165, 233, 0.32);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.plv-product-add:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(14, 165, 233, 0.4);
	color: #fff !important;
}

.plv-product-add.is-disabled {
	background: #94a3b8;
	box-shadow: none;
	pointer-events: none;
	cursor: not-allowed;
	filter: grayscale(0.2);
}

.plv-product-desc {
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-2);
	max-width: 42em;
}

.plv-product-desc p {
	margin: 0 0 0.85em;
}

.plv-product-desc p:last-child {
	margin-bottom: 0;
}

.plv-product-related {
	margin-top: 48px;
	padding-top: 8px;
}

.plv-product-related-title {
	font-family: var(--font-display);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 600;
	color: var(--text-1);
	margin: 0 0 18px;
}

@media (max-width: 480px) {
	.plv-product-inner { padding: 0 10px 28px; }
	.plv-product-price { font-size: 28px; }
	.plv-product-add { flex-basis: 100%; }
}



/* ═══════════════════════════════════════════════════════════════════════════
   CART / CHECKOUT — Legacy Tilda t706 cart+orderform on theme shell
   ═══════════════════════════════════════════════════════════════════════════ */

.site-main--checkout {
	--plv-primary: #00c2e8;
	--plv-primary-dark: #009ab8;
	--plv-card: #ffffff;
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--sky-1: #daf0fb;
	--sky-2: #b8dff5;
	--text-1: #1a2e3b;
	position: relative;
	min-height: 60vh;
	padding: 0;
	background: linear-gradient(180deg, #e6f5fd 0%, #f0f9ff 40%, #fafeff 100%);
	background-attachment: fixed;
	color: var(--text-1);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.plv-checkout {
	position: relative;
	font-family: var(--font-body);
	color: #0f172a;
	padding: 16px 16px 48px;
	max-width: 720px;
	margin: 0 auto;
}

.plv-checkout .plv-bg-canvas {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.plv-checkout-inner {
	position: relative;
	z-index: 1;
}

.plv-checkout-hdr {
	margin-bottom: 18px;
}

.plv-checkout-back {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #0369a1;
	text-decoration: none;
	margin-bottom: 8px;
}

.plv-checkout-back:hover {
	color: var(--plv-primary-dark);
}

.plv-checkout-title {
	font-family: var(--font-display);
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 600;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.plv-checkout-empty {
	background: var(--plv-card);
	border-radius: 16px;
	padding: 36px 24px;
	text-align: center;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.plv-checkout-empty p {
	margin: 0 0 18px;
	color: #64748b;
	font-size: 15px;
}

.plv-checkout-card {
	background: var(--plv-card);
	border-radius: 16px;
	padding: 18px 16px;
	margin-bottom: 14px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.plv-checkout-card-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 12px;
}

.plv-checkout-card-label {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
}

.plv-checkout-card-count {
	font-size: 13px;
	color: #64748b;
	font-weight: 600;
}

.plv-checkout-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.plv-checkout-item:last-of-type {
	border-bottom: none;
}

.plv-checkout-item-thumb {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	overflow: hidden;
	background: #f1f5f9;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plv-checkout-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.plv-checkout-item-thumb-fallback {
	font-size: 22px;
}

.plv-checkout-item-info {
	flex: 1;
	min-width: 0;
}

.plv-checkout-item-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.plv-checkout-item-name a {
	color: inherit;
	text-decoration: none;
}

.plv-checkout-item-var {
	font-weight: 500;
	color: #64748b;
}

.plv-checkout-item-meta {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
}

.plv-checkout-item-line strong {
	color: #0f172a;
}

.plv-checkout-item-controls {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.plv-checkout-qty {
	min-width: 22px;
	text-align: center;
	font-weight: 800;
	font-size: 14px;
}

.plv-checkout-qty-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.12s ease;
}

.plv-checkout-qty-btn:active {
	transform: scale(0.88);
}

.plv-checkout-qty-btn--plus {
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
}

.plv-checkout-qty-btn--minus {
	background: rgba(0, 0, 0, 0.06);
	color: #333;
	border: 1.5px solid rgba(0, 0, 0, 0.14);
}

.plv-checkout-totals {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.plv-checkout-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #475569;
}

.plv-checkout-total-row--free span:last-child {
	color: #16a34a;
	font-weight: 700;
}

.plv-checkout-delivery-hint {
	font-size: 11px;
	color: #94a3b8;
	text-align: right;
}

.plv-checkout-total-row--grand {
	margin-top: 4px;
	font-size: 16px;
	color: #0f172a;
	font-weight: 800;
}

.plv-checkout-total-row--grand span:last-child {
	font-size: 18px;
	color: var(--plv-primary-dark);
}

.plv-checkout-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #334155;
}

.plv-checkout-card .plv-checkout-label + .plv-checkout-input,
.plv-checkout-card .plv-checkout-input + .plv-checkout-label,
.plv-checkout-card .plv-checkout-hint + .plv-checkout-label {
	margin-top: 14px;
}

.plv-checkout-card > .plv-checkout-label:first-child {
	margin-top: 0;
}

.plv-checkout-hint {
	margin: 0 0 10px;
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.45;
}

.plv-checkout-input {
	width: 100%;
	box-sizing: border-box;
	border: 1.5px solid #00c2e8;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
	color: #0f172a;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plv-checkout-input:focus {
	border-color: var(--plv-primary-dark);
	box-shadow: 0 0 0 3px rgba(0, 194, 232, 0.18);
}

.plv-checkout-textarea {
	resize: vertical;
	min-height: 72px;
}

.plv-checkout-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230369a1' d='M1.4.3L6 4.9 10.6.3 12 1.7 6 7.7 0 1.7z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.plv-checkout-slots {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.plv-checkout-slot {
	cursor: pointer;
}

.plv-checkout-slot input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.plv-checkout-slot span {
	display: block;
	text-align: center;
	padding: 11px 8px;
	border-radius: 10px;
	border: 1.5px solid #e2e8f0;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.plv-checkout-slot input:checked + span {
	border-color: #38bdf8;
	background: #e0f2fe;
	color: #0369a1;
}

.plv-checkout-pay {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}

.plv-checkout-pay-opt {
	flex: 1;
	cursor: pointer;
}

.plv-checkout-pay-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.plv-checkout-pay-opt span {
	display: block;
	text-align: center;
	padding: 12px 10px;
	border-radius: 10px;
	border: 1.5px solid #e2e8f0;
	font-size: 14px;
	font-weight: 700;
	background: #fff;
}

.plv-checkout-pay-opt.is-active span,
.plv-checkout-pay-opt input:checked + span {
	border-color: #00c2e8;
	background: #f0f9ff;
	color: #0369a1;
}

.plv-checkout-remember {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #475569;
	cursor: pointer;
}

.plv-checkout-remember input {
	width: 18px;
	height: 18px;
	accent-color: #00c2e8;
}

.plv-checkout-error {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff2f2;
	border: 1px solid #fca5a5;
	color: #b91c1c;
	font-size: 13px;
	font-weight: 600;
}

.plv-checkout-cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: none;
	border-radius: 10px;
	padding: 16px 18px;
	background: #00c2e8;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.12s ease, opacity 0.15s;
	box-shadow: none;
}

.plv-checkout-cta:hover {
	background: var(--plv-primary-dark);
}

.plv-checkout-cta:active {
	transform: scale(0.98);
}

.plv-checkout-cta.is-busy,
.plv-checkout-cta:disabled {
	opacity: 0.65;
	cursor: default;
}

.plv-checkout-cta--secondary {
	background: #0f172a;
	max-width: 240px;
	margin: 0 auto;
}

.plv-checkout-cta--secondary:hover {
	background: #1e293b;
}

@media (min-width: 700px) {
	.plv-checkout {
		padding: 24px 20px 64px;
	}
	.plv-checkout-card {
		padding: 22px 20px;
	}
}

/* Thankyou (order-received) — same cards as cart */
.plv-thankyou-hero {
	text-align: center;
	padding-top: 28px;
	padding-bottom: 28px;
}

.plv-thankyou-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--plv-primary);
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 14px;
	box-shadow: 0 8px 20px rgba(0, 194, 232, 0.35);
}

.plv-thankyou-hero--error .plv-thankyou-icon {
	background: #ef4444;
	box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.plv-thankyou-lead {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(20px, 4vw, 26px);
	font-weight: 600;
	line-height: 1.25;
	color: #0f172a;
}

.plv-thankyou-sub {
	margin: 0;
	font-size: 14px;
	color: #64748b;
	line-height: 1.45;
}

.plv-thankyou-hero .plv-checkout-cta {
	margin-top: 18px;
}

.plv-thankyou-details {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.plv-thankyou-detail {
	display: grid;
	grid-template-columns: minmax(100px, 34%) 1fr;
	gap: 8px 12px;
	align-items: start;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.plv-thankyou-detail:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.plv-thankyou-detail dt {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}

.plv-thankyou-detail dd {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	word-break: break-word;
}

.plv-thankyou-qty {
	min-width: 52px;
	justify-content: flex-end;
}

.plv-thankyou-qty .plv-checkout-qty {
	min-width: auto;
	font-size: 13px;
	color: #64748b;
}

/* Hide residual WC COD instruction text if payment gateway hook prints it */
.plv-thankyou-hooks {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-main--thankyou .woocommerce-order-details,
.site-main--thankyou .woocommerce-customer-details {
	display: none !important;
}


/* ── Cart drawer ─────────────────────────────────────────── */
.plv-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.plv-cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.plv-cart-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: min(100%, 520px);
  background: rgba(255,255,255,0.98);
  border: 1.5px solid rgba(255,255,255,0.95);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  z-index: 10001;
  max-height: min(88dvh, 760px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: var(--font-body, sans-serif);
  color: var(--text-1, #0f172a);
  box-shadow: 0 -12px 48px rgba(0,90,140,0.2);
  transform: translate(-50%, 100%);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.plv-cart-drawer.open {
  transform: translate(-50%, 0);
}

.plv-cart-handle {
  width: 44px;
  height: 4px;
  background: rgba(0,0,0,0.14);
  border-radius: 2px;
  margin: 11px auto 0;
  flex-shrink: 0;
}

.plv-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.plv-cart-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--text-1, #0f172a);
}

.plv-cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
}

.plv-cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 20px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.plv-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.plv-cart-item:last-child { border-bottom: none; }

.plv-cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.plv-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plv-cart-item-info {
  flex: 1;
  min-width: 0;
}
.plv-cart-item-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-1, #0f172a);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.plv-cart-item-price {
  font-size: 12px;
  color: var(--text-3, #64748b);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.plv-cart-item-amount {
  display: inline-flex;
  align-items: center;
  background: var(--plv-bg);
  border: 1px solid var(--plv-border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1, #0f172a);
  white-space: nowrap;
}

.plv-cart-item-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.plv-cart-item-qty {
  font-family: var(--font-body, sans-serif);
  font-weight: 700;
  font-size: 15px;
  min-width: 20px;
  text-align: center;
}
.plv-cart-item-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.12s;
  flex-shrink: 0;
}
.plv-cart-item-btn:active { transform: scale(0.85); }
.plv-cart-item-btn-plus  { background: rgba(0,0,0,0.75); color: white; }
.plv-cart-item-btn-minus { background: rgba(0,0,0,0.07); color: #333; border: 1.5px solid rgba(0,0,0,0.16); }

.plv-cart-footer {
  padding: 15px 20px max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0,0,0,0.08);
  background: rgba(248,252,255,0.96);
  flex-shrink: 0;
}
.plv-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.plv-cart-total-label {
  font-size: 14px;
  color: var(--text-3, #64748b);
}
.plv-cart-total-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
}

.plv-cart-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-3, #64748b);
  font-size: 15px;
}

.plv-dp-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,30,50,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.plv-dp-backdrop.open { opacity: 1; pointer-events: all; }
.plv-dp-panel {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 480px; max-height: min(90dvh, 760px); z-index: 10001;
  transition: transform .32s cubic-bezier(.34,1.1,.64,1);
}
.plv-dp-panel.open { transform: translateX(-50%) translateY(0); }
.plv-dp-inner {
  display: flex;
  flex-direction: column;
  max-height: min(90dvh, 760px);
  box-sizing: border-box;
  overflow: hidden;
  background: rgba(240,249,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px 28px 0 0;
  padding: 20px 20px max(24px, env(safe-area-inset-bottom));
  border-top: 1.5px solid rgba(255,255,255,.95);
  box-shadow: 0 -12px 48px rgba(0,120,180,.15);
}
.plv-dp-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 300;
  color: var(--text-1); margin-bottom: 16px;
}
.plv-dp-title em { font-style: italic; color: var(--sky-4); }
.plv-dp-subtitle {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3);
  margin: 12px 0 7px;
  flex-shrink: 0;
}
.plv-dp-cities {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  min-height: 120px;
  max-height: 42dvh;
  gap: 5px;
  padding-right: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}
.plv-dp-city {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px;
  padding: 8px 12px; border-radius: 11px;
  border: 1.5px solid rgba(0,192,255,0.18);
  background: rgba(255,255,255,0.70);
  cursor: pointer; transition: all .18s;
  flex-shrink: 0;
}
.plv-dp-city:active { border-color: var(--sky-3); background: rgba(0,192,255,0.06); }
.plv-dp-city.active { border-color: var(--sky-4); background: rgba(0,192,255,0.08); }
.plv-dp-city-name { font-size: 13px; font-weight: 700; color: var(--text-1); }
.plv-dp-city-info { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.plv-dp-city-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0,192,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .18s;
}
.plv-dp-city.active .plv-dp-city-check {
  background: var(--sky-4); border-color: var(--sky-4);
}
.plv-dp-city.active .plv-dp-city-check::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: white;
}
.plv-dp-current {
  margin-top: 14px; padding: 14px 16px;
  background: rgba(0,192,255,0.08);
  border: 1.5px solid rgba(0,192,255,0.20);
  border-radius: 14px;
}
.plv-dp-current-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 4px;
}
.plv-dp-current-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.plv-dp-current-date {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; color: var(--text-1);
}
.plv-dp-change-btn {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  color: var(--sky-5); background: transparent; border: none;
  cursor: pointer; text-decoration: underline; padding: 4px 8px;
}
.plv-dp-dates-wrap { margin-top: 4px; }
.plv-dp-dates {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.plv-dp-date {
  padding: 10px 8px; border-radius: 12px;
  border: 1.5px solid rgba(0,192,255,0.18);
  background: rgba(255,255,255,0.70);
  cursor: pointer; text-align: center; transition: all .18s;
}
.plv-dp-date:active { border-color: var(--sky-3); }
.plv-dp-date.active {
  background: var(--sky-4); border-color: var(--sky-4);
  box-shadow: 0 4px 12px rgba(0,192,255,.28);
}
.plv-dp-date-day {
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--text-3); display: block;
}
.plv-dp-date.active .plv-dp-date-day { color: rgba(255,255,255,.8); }
.plv-dp-date-num {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text-1); display: block;
}
.plv-dp-date.active .plv-dp-date-num { color: white; }
.plv-dp-date-mon { font-size: 10px; color: var(--text-3); display: block; }
.plv-dp-date.active .plv-dp-date-mon { color: rgba(255,255,255,.75); }
.plv-dp-confirm {
  width: 100%; padding: 14px; margin-top: 20px;
  background: var(--sky-4); color: white; border: none;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,192,255,.32);
  transition: all .2s;
}
.plv-dp-confirm:active { transform: translateY(1px); }

/* ---- extracted ---- */

/* ── Quick order drawer: profile summary + actions ──────── */
.plv-qo-profile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 14px;
  background: rgba(0,194,232,0.07);
  border: 1px solid rgba(0,194,232,0.2);
  border-radius: 14px;
}
.plv-qo-profile-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-1, #0f172a);
  line-height: 1.45;
}
.plv-qo-profile-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  line-height: 1.35;
}
.plv-qo-profile-val {
  flex: 1;
  min-width: 0;
  color: var(--text-1, #0f172a);
  overflow-wrap: anywhere;
}
.plv-qo-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plv-qo-order-btn {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  background: var(--sky-4, #00c2e8);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
}
.plv-qo-order-btn:hover:not(:disabled) { background: #0284c7; }
.plv-qo-order-btn:active:not(:disabled) { transform: scale(0.98); }
.plv-qo-order-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.plv-qo-edit-btn {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  box-sizing: border-box;
  background: none;
  color: var(--text-3, #64748b);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.plv-qo-edit-btn:hover { background: rgba(0,0,0,0.04); color: var(--text-1, #0f172a); }



/* ===== SPA cart parity (drawer / DeliveryPanel / MapPicker) ===== */
.plv-nav-delivery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  max-width: 160px;
  padding: 0;
}
.plv-nav-delivery-label {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.plv-nav-delivery-select--sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}
.plv-nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}
.plv-nav-cart {
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: inherit;
  padding: 0;
}
.plv-cart-error {
  margin: 10px 20px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff2f2;
  border: 1px solid #fca5a5;
  font-size: 13px;
  color: #b91c1c;
}
.plv-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 14px;
}
.plv-cart-total-row--muted { color: var(--text-2, #475569); font-size: 13px; }
.plv-cart-delivery-hint { font-size: 12px; color: var(--text-3, #64748b); margin: -2px 0 8px; text-align: right; }
.plv-btn-primary, .plv-cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--sky-4, #00c2e8);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  min-height: 48px;
  padding: 13px 16px;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  box-sizing: border-box;
}
.plv-dp-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.plv-dp-date {
  min-width: 72px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(0,192,255,0.18);
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  text-align: center;
}
.plv-dp-date.active { border-color: var(--sky-4, #00c2e8); background: rgba(0,192,255,0.08); }
.plv-dp-date-day { display: block; font-size: 10px; text-transform: uppercase; color: var(--text-3,#64748b); }
.plv-dp-date-num { display: block; font-size: 13px; font-weight: 700; }
.plv-dp-dates-hint { font-size: 12px; color: var(--text-3,#64748b); margin: 0 0 12px; }
.plv-dp-confirm { width: 100%; margin-top: 8px; }
.plv-map-overlay {
  position: fixed; inset: 0; z-index: 600;
  display: flex; flex-direction: column; background: #fff;
}
.plv-map-overlay[hidden] { display: none !important; }
.plv-map-header {
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #e2e8f0; flex-shrink: 0;
}
.plv-map-title { font-weight: 700; font-size: 16px; }
.plv-map-close { font-size: 20px; color: #64748b; border: 0; background: none; cursor: pointer; }
.plv-map-toolbar {
  padding: 8px 16px; font-size: 13px; color: #64748b;
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0;
}
.plv-map-geo {
  padding: 6px 12px; border-radius: 20px; border: 1.5px solid #bae6fd;
  background: #fff; color: #0284c7; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.plv-map-error { padding: 8px 16px; font-size: 12px; color: #b91c1c; background: #fef2f2; border-bottom: 1px solid #fecaca; }
.plv-map-canvas { flex: 1; width: 100%; min-height: 240px; }
.plv-map-footer { padding: 12px 16px; flex-shrink: 0; border-top: 1px solid #e2e8f0; background: #fff; }
.plv-map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.plv-checkout-map-btn {
  border: 1.5px solid rgba(0,194,232,0.35);
  background: rgba(0,194,232,0.06);
  color: #0284c7;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.plv-checkout-pin-label { font-size: 12px; color: #0284c7; margin: 4px 0 8px; }
.plv-messenger-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.plv-messenger-type {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 12px;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: #fff; cursor: pointer; font-size: 12px; font-weight: 600;
}
.plv-messenger-type.is-active { border-color: var(--sky-4,#00c2e8); background: rgba(0,194,232,0.08); }
.plv-messenger-type input { position: absolute; opacity: 0; pointer-events: none; }
.plv-messenger-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0; line-height: 0;
}
.plv-messenger-icon-svg { width: 18px; height: 18px; display: block; }
.plv-checkout-pay-opt.is-disabled { opacity: 0.55; cursor: not-allowed; }
.plv-cart-overlay[hidden], .plv-cart-drawer[hidden], .plv-dp-backdrop[hidden], .plv-dp-panel[hidden] {
  display: none !important;
}
/* Class-level `display` beats the UA `[hidden]` rule, so restate it for the shell. */
.plv-cart-drawer [hidden],
.plv-dp-panel [hidden],
.plv-map-overlay [hidden] {
  display: none !important;
}
.plv-cart-overlay:not([hidden]), .plv-cart-drawer:not([hidden]), .plv-dp-backdrop:not([hidden]), .plv-dp-panel:not([hidden]) {
  display: block;
}
.plv-dp-panel:not([hidden]) { display: block; }
.plv-cart-drawer:not([hidden]) { display: flex; }


/* ═══════════════════════════════════════════════════════════════════════════
   ВИТРИНА ПО МАКЕТУ (02.08.2026)
   Приведение главной к присланному Next.js/Tailwind макету «Свежее из
   Черногории»: плоский список категорий, квадратное фото, кнопка «Купить» и
   лайк поверх фото, имя/фасовка/цена — под фото.
   Блок намеренно вынесен в конец файла и работает переопределениями: чтобы
   откатить дизайн, достаточно удалить этот блок (и вернуть разметку в
   sk_print::print_front_page / print_front_product_card).
   Токены макета: cream=страница, card=подложка фото, ink=текст, muted=вторичный,
   sky=акцент, leaf=зелёный лайка.
   ═══════════════════════════════════════════════════════════════════════════ */

.plv-front {
	--plv-card: #efefe8;
	--plv-ink: #1f2a2e;
	--plv-muted: #7b8a90;
	--plv-leaf: #2f7d52;
	--plv-leaf-soft: #e2f0e8;
	--plv-radius-card: 26px;
}

/* ── Hero: текстовый заголовок вместо логотипа-скрипта ─────────────────── */
.plv-hero--flat {
	text-align: left;
	padding: 8px 0 0;
	max-width: 640px;
}
.plv-hero-title--flat {
	font-family: var(--font-display);
	font-size: clamp(30px, 6vw, 52px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--plv-ink);
	margin: 0;
	font-style: normal;
}
.plv-hero--flat .plv-hero-sub {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--plv-muted);
	max-width: 36em;
}

/* ── Плоский список категорий: секции — только якоря ───────────────────── */
.plv-sec-anchor {
	display: block;
	height: 0;
	overflow: hidden;
	scroll-margin-top: 84px;
}
.plv-section-block + .plv-section-block { margin-top: 0; }

.plv-group-block { scroll-margin-top: 84px; }

.plv-group-hdr {
	font-family: var(--font-display);
	font-size: clamp(20px, 3.2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 32px 0 0;
	padding: 0;
}
.plv-group-hdr-link {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	text-decoration: none;
	color: var(--plv-ink);
	transition: color 0.15s;
}
.plv-group-hdr-link:hover { color: var(--sky-5); }
.plv-group-hdr-chev { color: var(--plv-muted); font-weight: 400; }
.plv-group-hdr-count {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--plv-muted);
	background: none;
	padding: 0;
}

/* ── Сетка: 2 колонки на мобиле, 3 на десктопе (как в макете) ──────────── */
.plvp-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 12px;
	padding-top: 16px;
}
@media (min-width: 640px) {
	.plvp-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
}
@media (min-width: 1024px) { .plvp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .plvp-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Карточка: рамки нет, «карточка» — само фото ───────────────────────── */
.plvp-card {
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.plvp-card:hover { transform: none; box-shadow: none; }

.plvp-photo-wrap {
	aspect-ratio: 1 / 1;
	border-radius: var(--plv-radius-card);
	background: var(--plv-card);
	overflow: hidden;
	transition: transform 0.15s ease;
}
.plvp-card:active .plvp-photo-wrap { transform: scale(0.97); }
.plvp-photo { width: 100%; height: 100%; object-fit: cover; }
.plvp-photo-fade { display: none; }

/* Лайк — визуальная заглушка без счётчика (реальные лайки требуют БД+ajax) */
.plvp-like {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	width: 30px;
	border-radius: 999px;
	background: var(--plv-leaf-soft);
	color: var(--plv-leaf);
	pointer-events: none;
}
.plvp-like svg { width: 15px; height: 15px; }

/* Кнопка покупки — пилюля в правом нижнем углу фото */
.plvp-add-wrap {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
}
.plvp-btn-add {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: #fff;
	color: var(--plv-ink);
	font-size: 15px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(20, 40, 50, 0.16);
	transition: background 0.15s, color 0.15s, transform 0.12s;
}
.plvp-btn-add:hover { background: var(--sky-4); color: #fff; }
.plvp-btn-add:active { transform: scale(0.97); }
.plvp-btn-add-text { display: none; }
.plvp-btn-add-plus { font-size: 22px; font-weight: 400; line-height: 1; }
@media (min-width: 640px) {
	.plvp-btn-add { width: auto; min-width: 106px; height: 44px; padding: 0 18px; }
	.plvp-btn-add-text { display: inline; }
	.plvp-btn-add-plus { display: none; }
}
.plvp-oos-label {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--plv-muted);
	font-size: 12px;
	font-weight: 600;
}

/* ── Подпись под фото: имя, фасовка, цена ──────────────────────────────── */
.plvp-info {
	padding: 10px 2px 0;
	position: static;
	gap: 2px;
}
.plvp-name {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--plv-ink);
	margin: 0;
}
.plvp-portion {
	font-size: 13px;
	line-height: 1.35;
	color: var(--plv-muted);
}
.plvp-price-row {
	position: static;
	margin-top: 6px;
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 0;
}
.plvp-price {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--plv-ink);
}
.plvp-price-orig { font-size: 13px; color: var(--plv-muted); text-decoration: line-through; }
.plvp-noprice { font-size: 14px; color: var(--plv-muted); }

/* Подзаголовок hero: в макете это обычный текст предложением, а не капс —
   гасим uppercase/letter-spacing старой витрины (правило .plv-hero-sub выше). */
.plv-hero--flat .plv-hero-sub {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ВИТРИНА-ГЛАВЫ (02.08.2026)
   Оформление действующего plovi.me: главы с градиентными фонами, волны-
   разделители, плавающий декор, фото-hero с рядами цветных пилюль. Вместо
   плиток-разделов — карточки товаров (светлые «стеклянные», чтобы читались
   и на светлой «Кладовой», и на тёмных «Море»/«Вечер»).
   Блок идёт последним и работает переопределениями: откат = удалить блок.
   ═══════════════════════════════════════════════════════════════════════════ */

.plvch-root { background: #fffbeb; overflow: hidden; position: relative; }
.plvch-root * { box-sizing: border-box; }

/* ── HERO с фотографией ───────────────────────────────────────────────── */
.plvch-hero {
	position: relative;
	min-height: 500px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: var(--font-body);
}
.plvch-hero-bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	filter: brightness(0.65) saturate(1.1);
	transform: scale(1.06);
}
.plvch-hero-ov {
	position: absolute; inset: 0;
	background: linear-gradient(125deg, rgba(0,30,40,0.35) 0%, rgba(27,94,59,0.55) 50%, rgba(0,80,90,0.4) 100%);
}
.plvch-hero-content {
	position: relative; z-index: 2;
	padding: 96px 44px 28px;
	text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.plvch-hero-title {
	font-family: 'Montserrat', var(--font-display), sans-serif;
	font-size: clamp(26px, 4.5vw, 44px);
	font-weight: 800; color: #fff;
	line-height: 1.12; letter-spacing: -0.02em;
	margin: 0 0 12px;
}
.plvch-hero-title em { font-style: normal; color: #4dffdb; }
.plvch-hero-sub {
	font-size: 14px; color: rgba(255,255,255,0.75);
	margin: 0;
}
.plvch-hero-badge {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 100px; padding: 7px 16px; margin-top: 14px;
}
.plvch-hero-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #00e5c8; box-shadow: 0 0 0 3px rgba(0,229,200,0.25);
	animation: plvch-pulse 2s infinite;
}
@keyframes plvch-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(0,229,200,0.25); }
	50%      { box-shadow: 0 0 0 6px rgba(0,229,200,0.10); }
}
.plvch-hero-badge-t {
	font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.92);
	letter-spacing: 0.05em; text-transform: uppercase;
}

/* Ряды пилюль-категорий */
.plvch-hero-cats { position: relative; z-index: 2; margin-top: auto; }
.plvch-hero-fade {
	position: absolute; inset: auto 0 0 0; height: 150px;
	background: linear-gradient(to top, rgba(0,15,25,0.7) 0%, transparent 100%);
	pointer-events: none; z-index: 1;
}
.plvch-hero-rows {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; gap: 12px;
	padding: 16px 0 30px;
}
.plvch-hero-row {
	display: flex; gap: 7px;
	overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
	padding: 0 16px;
}
.plvch-hero-row::-webkit-scrollbar { display: none; }
.plvch-hero-row:nth-child(2) { padding-left: 52px; }
.plvch-cat {
	flex-shrink: 0;
	display: inline-flex; align-items: center; gap: 5px;
	border-radius: 100px; padding: 8px 18px;
	font-size: 13px; font-weight: 500;
	color: #fff !important; text-decoration: none; white-space: nowrap;
	transition: opacity 0.2s, transform 0.15s;
}
.plvch-cat:hover { opacity: 0.85; transform: translateY(-1px); }
.plvch-cat--c0 { background: rgba( 87,160,100,0.78); }
.plvch-cat--c1 { background: rgba(  2,132,199,0.80); }
.plvch-cat--c2 { background: rgba(194, 65, 12,0.82); }
.plvch-cat--c3 { background: rgba( 22,163, 74,0.80); }
.plvch-cat--c4 { background: rgba(245,158, 11,0.80); }
.plvch-cat--c5 { background: rgba(124, 58,237,0.78); }
.plvch-cat--c6 { background: rgba(185, 28, 28,0.80); }
.plvch-cat--c7 { background: rgba(  8,145,178,0.80); }

/* ── Поиск между hero и главами ───────────────────────────────────────── */
.plvch-search-wrap { background: #fffbeb; padding: 20px 16px 4px; }
.plvch-search { max-width: 1100px; margin: 0 auto; }

/* ── Волны-разделители ────────────────────────────────────────────────── */
.plvch-wave { position: relative; margin-top: -2px; line-height: 0; z-index: 3; }
.plvch-wave svg { display: block; width: 100%; height: auto; }

/* ── Оболочка главы ───────────────────────────────────────────────────── */
.plvch { position: relative; overflow: hidden; padding: 56px 16px 0; }
@media (min-width: 560px) { .plvch { padding: 72px 24px 0; } }
@media (min-width: 900px) { .plvch { padding: 80px 40px 0; } }
.plvch-inner { max-width: 1100px; margin: 0 auto; padding-bottom: 64px; position: relative; z-index: 2; }

.plvch-hdr { scroll-margin-top: 84px; }
.plvch-num {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: 'Montserrat', var(--font-display), sans-serif;
	font-size: 11px; font-weight: 800;
	letter-spacing: 1.8px; text-transform: uppercase;
	padding: 5px 14px; border-radius: 100px; margin-bottom: 12px;
}
.plvch-title {
	font-family: 'Montserrat', var(--font-display), sans-serif;
	font-weight: 900; font-size: clamp(28px, 6vw, 50px);
	line-height: 1.04; letter-spacing: -0.5px; margin: 0 0 7px;
	font-style: normal;
}
.plvch-sub { font-size: 13.5px; margin: 0 0 28px; opacity: 0.65; max-width: 560px; }

/* Базовый фон главы — на случай ключа без своей палитры (например «drugoe»,
   добавленной в «Настройки витрины» после этой правки). */
.plvch { background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%); }
.plvch .plvch-num { background: rgba(30,41,59,0.10); color: #1e293b; }
.plvch .plvch-title { color: #1e293b; }
.plvch .plvch-sub { color: #475569; }


/* Палитры глав — один в один из блоков действующего сайта */
.plvch--farm   { background: linear-gradient(180deg, #fef3c7 0%, #fde68a 30%, #e7f0a0 65%, #c4e09a 100%); }
.plvch--farm   .plvch-num { background: rgba(120,60,10,0.10); color: #78350f; }
.plvch--farm   .plvch-title { color: #78350f; }
.plvch--farm   .plvch-sub { color: #92400e; }

.plvch--sea    { background: linear-gradient(180deg, #bae6fd 0%, #38bdf8 22%, #0284c7 52%, #0c4a6e 100%); }
.plvch--sea    .plvch-num { background: rgba(255,255,255,0.16); color: #fff; }
.plvch--sea    .plvch-title { color: #fff; }
.plvch--sea    .plvch-sub { color: rgba(255,255,255,0.72); }

.plvch--garden { background: linear-gradient(180deg, #d1fae5 0%, #6ee7b7 28%, #10b981 62%, #064e3b 100%); }
.plvch--garden .plvch-num { background: rgba(255,255,255,0.22); color: #022c22; }
.plvch--garden .plvch-title { color: #022c22; }
.plvch--garden .plvch-sub { color: #065f46; }

.plvch--pantry { background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 28%, #fde68a 58%, #fb923c 100%); }
.plvch--pantry .plvch-num { background: rgba(124,45,18,0.10); color: #7c2d12; }
.plvch--pantry .plvch-title { color: #7c2d12; }
.plvch--pantry .plvch-sub { color: #92400e; }

.plvch--eve    { background: linear-gradient(180deg, #e0e7ff 0%, #818cf8 28%, #4338ca 60%, #1e1b4b 100%); }
.plvch--eve    .plvch-num { background: rgba(255,255,255,0.14); color: #fff; }
.plvch--eve    .plvch-title { color: #fff; }
.plvch--eve    .plvch-sub { color: rgba(255,255,255,0.68); }

/* ── Плавающий декор ──────────────────────────────────────────────────── */
.plvch-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.plvch-float {
	position: absolute; font-size: 46px; opacity: 0.35;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
	animation: plvch-sway 7s ease-in-out infinite;
}
@keyframes plvch-sway {
	0%, 100% { transform: rotate(-6deg) translateY(0); }
	50%      { transform: rotate(5deg) translateY(-10px); }
}
.plvch-cloud { position: absolute; font-size: 44px; opacity: 0.45; animation: plvch-cloud linear infinite; }
@keyframes plvch-cloud { from { transform: translateX(-80px); } to { transform: translateX(calc(100vw + 100px)); } }
.plvch-fish { position: absolute; opacity: 0.18; animation: plvch-swim linear infinite; }
@keyframes plvch-swim { from { transform: translateX(110vw) scaleX(-1); } to { transform: translateX(-100px) scaleX(-1); } }
.plvch-bub { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.13); animation: plvch-bub ease-in infinite; }
@keyframes plvch-bub {
	0%   { transform: translateY(0) scale(1); opacity: 0.18; }
	80%  { opacity: 0.08; }
	100% { transform: translateY(-100px) scale(1.4); opacity: 0; }
}
.plvch-leaf { position: absolute; opacity: 0.3; animation: plvch-leaf linear infinite; }
@keyframes plvch-leaf {
	0%   { transform: translateY(-30px) rotate(0deg); opacity: 0; }
	10%  { opacity: 0.35; }
	90%  { opacity: 0.2; }
	100% { transform: translateY(280px) rotate(420deg) translateX(30px); opacity: 0; }
}
.plvch-star { position: absolute; color: #fff; animation: plvch-twinkle ease-in-out infinite; }
@keyframes plvch-twinkle {
	0%, 100% { opacity: 0.08; transform: scale(0.7); }
	50%      { opacity: 0.75; transform: scale(1.25); }
}
.plvch-shoot {
	position: absolute; width: 60px; height: 2px; border-radius: 2px; opacity: 0;
	background: linear-gradient(to right, transparent, #fff);
	animation: plvch-shoot 8s ease-in-out infinite;
}
@keyframes plvch-shoot {
	0%   { opacity: 0; transform: translate(0,0) rotate(-35deg); }
	2%   { opacity: 0.7; }
	5%   { opacity: 0; transform: translate(120px,60px) rotate(-35deg); }
	100% { opacity: 0; }
}

/* ── Сетка товаров главы ──────────────────────────────────────────────── */
.plvch-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 11px;
	position: relative; z-index: 2;
	padding-top: 0;
}
@media (min-width: 560px) { .plvch-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; } }
@media (min-width: 900px) { .plvch-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Карточка товара: светлая «стеклянная» на цветном фоне главы ──────── */
.plvch-grid .plvp-card {
	position: relative;
	display: flex; flex-direction: column;
	background: rgba(255,255,255,0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1.5px solid rgba(255,255,255,0.7);
	border-radius: 26px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.13);
	overflow: hidden;
	padding: 0 0 52px;
	transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
	animation: plvch-rise 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes plvch-rise {
	from { opacity: 0; transform: translateY(22px) scale(0.97); }
	to   { opacity: 1; transform: none; }
}
.plvch-grid .plvp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.19); }

.plvch-grid .plvp-photo-wrap {
	display: block; position: relative;
	aspect-ratio: 1 / 1; width: 100%;
	border-radius: 0; overflow: hidden;
	background: #efefe8;
	text-decoration: none;
}
.plvch-grid .plvp-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.plvch-grid .plvp-photo-fade { display: none; }
.plvch-grid .plvp-photo-ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	padding: 10px; text-align: center;
}
.plvch-grid .plvp-photo-ph-text { font-size: 12px; color: #9aa3a0; }

.plvch-grid .plvp-like {
	position: absolute; left: 10px; top: 10px; z-index: 3;
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 999px;
	background: rgba(255,255,255,0.9); color: #2f7d52;
	pointer-events: none;
}
.plvch-grid .plvp-like svg { width: 15px; height: 15px; }

.plvch-grid .plvp-info { padding: 10px 13px 0; position: static; gap: 2px; display: flex; flex-direction: column; }
.plvch-grid .plvp-name {
	font-family: var(--font-display);
	font-size: 16px; font-weight: 600; line-height: 1.22;
	color: #1f2a2e; margin: 0;
}
.plvch-grid .plvp-portion { font-size: 12.5px; color: #7b8a90; }
.plvch-grid .plvp-price-row { position: static; margin-top: 6px; padding: 0; display: flex; align-items: baseline; gap: 8px; }
.plvch-grid .plvp-price { font-size: 16px; font-weight: 700; color: #1f2a2e; font-family: var(--font-body); }
.plvch-grid .plvp-price-orig { font-size: 12.5px; color: #7b8a90; text-decoration: line-through; }
.plvch-grid .plvp-noprice { font-size: 13px; color: #7b8a90; }

.plvch-grid .plvp-add-wrap { position: absolute; right: 12px; bottom: 12px; z-index: 3; }
.plvch-grid .plvp-btn-add {
	display: inline-flex; align-items: center; justify-content: center;
	height: 34px; min-width: 34px; padding: 0 14px;
	border-radius: 999px; background: #1f2a2e; color: #fff;
	font-size: 13px; font-weight: 700; text-decoration: none;
	box-shadow: 0 3px 12px rgba(20,40,50,0.22);
	transition: background 0.15s, transform 0.12s;
}
.plvch-grid .plvp-btn-add:hover { background: #00a4cc; }
.plvch-grid .plvp-btn-add:active { transform: scale(0.96); }
.plvch-grid .plvp-btn-add-plus { display: none; }
.plvch-grid .plvp-oos-label {
	display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
	border-radius: 999px; background: rgba(255,255,255,0.92);
	color: #7b8a90; font-size: 11.5px; font-weight: 600;
}

/* ── Кнопка/сентинел догрузки ─────────────────────────────────────────── */
.plvch-more { display: flex; justify-content: center; padding: 26px 0 4px; position: relative; z-index: 2; }
.plvch-more-btn {
	appearance: none; border: 1.5px solid rgba(255,255,255,0.75);
	background: rgba(255,255,255,0.86);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	color: #1f2a2e; font-family: var(--font-body);
	font-size: 14px; font-weight: 700; cursor: pointer;
	padding: 11px 26px; border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.14);
	transition: transform 0.15s, box-shadow 0.15s;
}
.plvch-more-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.2); }
.plvch-more.is-loading .plvch-more-btn { opacity: 0.55; pointer-events: none; }
.plvch-more.is-loading .plvch-more-btn::after {
	content: ' …';
}

@media (prefers-reduced-motion: reduce) {
	.plvch-grid .plvp-card { animation: none; }
	.plvch-float, .plvch-cloud, .plvch-fish, .plvch-bub,
	.plvch-leaf, .plvch-star, .plvch-shoot, .plvch-hero-dot { animation: none; }
}


/* «Другое» — тёмная сланцевая, продолжает вечернюю главу */
.plvch--drugoe { background: linear-gradient(180deg, #1e1b4b 0%, #334155 45%, #1f2937 100%); }
.plvch--drugoe .plvch-num { background: rgba(255,255,255,0.14); color: #fff; }
.plvch--drugoe .plvch-title { color: #fff; }
.plvch--drugoe .plvch-sub { color: rgba(255,255,255,0.68); }

/* ═══════════════════════════════════════════════════════════════════════════
   МИНИМАЛИСТИЧНАЯ ВИТРИНА (02.08.2026, доработка)
   Палитра, типографика и пропорции карточки взяты из макета
   plovi.vercel.app (токены вытащены из его собственного CSS):
     cream #fafaf5 — фон, card #f3f3ec — подложка фото, ink #20261f — текст,
     muted #8b928a — второстепенный, leaf #1e6b4b + leaf-soft #e2f1e8 — лайки,
     sky #2cb2f0 — акцент. Шрифты: Golos Text (текст), Unbounded (заголовки).
   Главы сохранены, но градиенты приглушены до едва заметных оттенков на
   кремовой базе, эмодзи-декор снят. Блок идёт последним — откат = удалить.
   ═══════════════════════════════════════════════════════════════════════════ */

.plvch-root {
	--plv-cream: #fafaf5;
	--plv-card: #f3f3ec;
	--plv-ink: #20261f;
	--plv-muted: #8b928a;
	--plv-leaf: #1e6b4b;
	--plv-leaf-soft: #e2f1e8;
	--plv-sky: #2cb2f0;
	--plv-line: #e6e6dd;
	--plv-gutter: 12px;
	--plv-radius: 26px;
	--plv-font: 'Golos Text', var(--font-body);
	--plv-display: 'Unbounded', var(--font-display);

	background: var(--plv-cream);
	font-family: var(--plv-font);
	color: var(--plv-ink);
}
@media (min-width: 900px) { .plvch-root { --plv-gutter: 16px; } }

/* ── Поля по краям убраны: контент идёт почти во всю ширину ───────────── */
.plvch { padding: 40px var(--plv-gutter) 0; }
@media (min-width: 560px) { .plvch { padding: 48px var(--plv-gutter) 0; } }
@media (min-width: 900px) { .plvch { padding: 56px var(--plv-gutter) 0; } }
.plvch-inner { max-width: none; margin: 0; padding-bottom: 40px; }
.plvch-search-wrap { background: var(--plv-cream); padding: 16px var(--plv-gutter) 0; }
.plvch-search { max-width: none; }

/* ── Приглушённые главы: тон вместо градиента ─────────────────────────── */
.plvch { background: var(--plv-cream); }
.plvch--farm   { background: linear-gradient(180deg, #fbfaf1 0%, #f6f4e6 100%); }
.plvch--sea    { background: linear-gradient(180deg, #f4fafd 0%, #e9f4fa 100%); }
.plvch--garden { background: linear-gradient(180deg, #f5faf6 0%, #ebf5ee 100%); }
.plvch--pantry { background: linear-gradient(180deg, #fdfaf4 0%, #f8f1e6 100%); }
.plvch--eve    { background: linear-gradient(180deg, #f6f6fa 0%, #eeeef5 100%); }
.plvch--drugoe { background: linear-gradient(180deg, #f7f7f5 0%, #efefeb 100%); }

/* Единая типографика заголовков — цвет главы больше не меняет текст */
.plvch .plvch-num,
.plvch--farm .plvch-num, .plvch--sea .plvch-num, .plvch--garden .plvch-num,
.plvch--pantry .plvch-num, .plvch--eve .plvch-num, .plvch--drugoe .plvch-num {
	background: transparent;
	color: var(--plv-muted);
	font-family: var(--plv-font);
	font-size: 11px; font-weight: 600;
	letter-spacing: 1.4px; text-transform: uppercase;
	padding: 0; margin-bottom: 6px;
}
.plvch .plvch-title,
.plvch--farm .plvch-title, .plvch--sea .plvch-title, .plvch--garden .plvch-title,
.plvch--pantry .plvch-title, .plvch--eve .plvch-title, .plvch--drugoe .plvch-title {
	font-family: var(--plv-display);
	font-weight: 600;
	font-size: clamp(21px, 3.2vw, 30px);
	letter-spacing: -0.01em;
	color: var(--plv-ink);
	margin: 0 0 4px;
}
.plvch .plvch-sub,
.plvch--farm .plvch-sub, .plvch--sea .plvch-sub, .plvch--garden .plvch-sub,
.plvch--pantry .plvch-sub, .plvch--eve .plvch-sub, .plvch--drugoe .plvch-sub {
	font-size: 14px; color: var(--plv-muted);
	opacity: 1; margin: 0 0 18px; max-width: 46em;
}

/* Волны и плавающий декор сняты — «без вычурных решений» */
.plvch-wave, .plvch-decor { display: none; }

/* ── Hero: та же минималистичная типографика ──────────────────────────── */
.plvch-hero { min-height: 420px; }
.plvch-hero-content { padding: 84px var(--plv-gutter) 24px; }
.plvch-hero-title { font-family: var(--plv-display); font-weight: 600; letter-spacing: -0.02em; }
.plvch-hero-title em { color: #7fe3c4; }
.plvch-hero-sub, .plvch-hero-badge-t { font-family: var(--plv-font); }
.plvch-hero-row { padding: 0 var(--plv-gutter); }
.plvch-hero-row:nth-child(2) { padding-left: calc(var(--plv-gutter) + 36px); }
.plvch-cat { font-family: var(--plv-font); font-size: 12.5px; font-weight: 500; padding: 7px 15px; }

/* ── Сетка: плотнее и во всю ширину ───────────────────────────────────── */
.plvch-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 12px;
	padding-top: 2px;
}
@media (min-width: 560px)  { .plvch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; } }
@media (min-width: 900px)  { .plvch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .plvch-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .plvch-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ── Карточка ─────────────────────────────────────────────────────────── */
.plvch-grid .plvp-card {
	display: flex; flex-direction: column;
	background: none; border: none; box-shadow: none; border-radius: 0;
	overflow: visible; padding: 0;
	animation: plvch-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.plvch-grid .plvp-card:hover { transform: none; box-shadow: none; }

.plvch-grid .plvp-box {
	position: relative;
	border-radius: var(--plv-radius);
	background: var(--plv-card);
	overflow: hidden;
	transition: transform 0.15s ease;
}
.plvch-grid .plvp-card:active .plvp-box { transform: scale(0.97); }

.plvch-grid .plvp-photo-wrap {
	display: block; position: relative;
	aspect-ratio: 1 / 1; width: 100%;
	overflow: hidden; text-decoration: none;
	background: var(--plv-card);
}
.plvch-grid .plvp-photo {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.3s ease-out;
}
.plvch-grid .plvp-box:hover .plvp-photo { transform: scale(1.04); }
.plvch-grid .plvp-photo-ph {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: #c9c9bf; background: #e9e9e2;
}
.plvch-grid .plvp-photo-ph svg { width: 38px; height: 38px; }

/* Лайки: только показ, ставятся на странице заказа */
.plvch-grid .plvp-like {
	position: absolute; left: 10px; top: 10px; z-index: 3;
	display: inline-flex; align-items: center; gap: 4px;
	padding: 5px 10px; border-radius: 999px;
	background: var(--plv-leaf-soft); color: var(--plv-leaf);
	font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.plvch-grid .plvp-like svg { width: 14px; height: 14px; }

/* Степпер: круглый «+», после нажатия — «− N +» */
.plvch-grid .plvp-qty {
	position: absolute; right: 8px; bottom: 8px; z-index: 3;
	display: inline-flex; align-items: center;
	height: 40px; border-radius: 999px;
	background: #fff; color: var(--plv-ink);
	box-shadow: 0 2px 10px rgba(32, 38, 31, 0.16);
	overflow: hidden;
	transition: background 0.15s;
}
.plvch-grid .plvp-qty-btn {
	appearance: none; border: 0; background: none; cursor: pointer;
	width: 40px; height: 40px; padding: 0;
	font-size: 19px; font-weight: 600; line-height: 1;
	color: inherit; font-family: var(--plv-font);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background 0.12s;
}
.plvch-grid .plvp-qty-btn:hover { background: rgba(32, 38, 31, 0.06); }
.plvch-grid .plvp-qty-btn:active { transform: scale(0.94); }
.plvch-grid .plvp-qty-minus,
.plvch-grid .plvp-qty-n { display: none; }
.plvch-grid .plvp-qty.is-on { background: var(--plv-ink); color: #fff; }
.plvch-grid .plvp-qty.is-on .plvp-qty-minus { display: inline-flex; }
.plvch-grid .plvp-qty.is-on .plvp-qty-n {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; font-size: 14px; font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.plvch-grid .plvp-qty.is-on .plvp-qty-btn:hover { background: rgba(255, 255, 255, 0.14); }

.plvch-grid .plvp-oos {
	position: absolute; right: 8px; bottom: 8px; z-index: 3;
	display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
	border-radius: 999px; background: rgba(255, 255, 255, 0.94);
	color: var(--plv-muted); font-size: 11.5px; font-weight: 600;
}

/* Подпись: сначала цена, затем название и фасовка */
.plvch-grid .plvp-cap {
	display: block; text-decoration: none;
	margin-top: 8px; padding: 0 2px;
	transition: opacity 0.15s;
}
.plvch-grid .plvp-cap:hover { opacity: 0.6; }
.plvch-grid .plvp-price-row { display: flex; align-items: baseline; gap: 7px; margin: 0; padding: 0; position: static; }
.plvch-grid .plvp-price {
	font-family: var(--plv-font);
	font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
	color: var(--plv-ink);
}
.plvch-grid .plvp-price-orig { font-size: 12.5px; color: var(--plv-muted); text-decoration: line-through; }
.plvch-grid .plvp-noprice { font-size: 13.5px; color: var(--plv-muted); }
.plvch-grid .plvp-name {
	font-family: var(--plv-font);
	font-size: 14.5px; font-weight: 400; line-height: 1.32;
	color: var(--plv-ink);
	margin: 3px 0 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.plvch-grid .plvp-portion { font-size: 13.5px; font-weight: 500; color: var(--plv-muted); margin-top: 1px; }

/* ── Кнопка догрузки ──────────────────────────────────────────────────── */
.plvch-more { padding: 20px 0 2px; }
.plvch-more-btn {
	background: #fff; border: 1px solid var(--plv-line);
	color: var(--plv-ink); font-family: var(--plv-font);
	font-size: 13.5px; font-weight: 600;
	padding: 10px 22px; border-radius: 999px;
	box-shadow: none;
}
.plvch-more-btn:hover { transform: none; box-shadow: 0 4px 14px rgba(32, 38, 31, 0.10); }

/* Строка поиска в той же палитре */
.plvch-root .plv-search {
	background: #fff; border: 1px solid var(--plv-line);
	box-shadow: none; border-radius: 999px;
}
.plvch-root .plv-search-input { font-family: var(--plv-font); color: var(--plv-ink); }

/* ── Фон во всю ширину окна ────────────────────────────────────────────────
   Два источника полей по краям: (1) у body осталось браузерное margin:8px —
   тема его никогда не сбрасывала; (2) у .plv-front выше по файлу задан
   max-width:1240px и собственный padding. Из-за них кремовая заливка не
   доходила до краёв окна. Гуттер теперь живёт ТОЛЬКО на секциях .plvch. */
html, body { margin: 0; }
.plvch-root {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED PRODUCT CARD — catalog / related (= homepage §42 `.plvch-grid`)
   Markup is the same (`print_front_product_card` → `.plvp-card`), but styles
   lived under `.plvch-grid` only. Without this block, `.plvp-grid` on
   `/product-category/…` and «Смотрите также» falls back to unstyled stepper
   buttons + WooCommerce blue underlined links.
   ═══════════════════════════════════════════════════════════════════════════ */

.plvp-grid {
	--plv-card: #f3f3ec;
	--plv-ink: #20261f;
	--plv-muted: #8b928a;
	--plv-leaf: #1e6b4b;
	--plv-leaf-soft: #e2f1e8;
	--plv-radius: 26px;
	--plv-font: 'Golos Text', var(--font-body);

	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 12px;
}
@media (min-width: 560px)  { .plvp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; } }
@media (min-width: 900px)  { .plvp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .plvp-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .plvp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.plvp-grid .plvp-card {
	display: flex;
	flex-direction: column;
	background: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	box-shadow: none;
	border-radius: 0;
	overflow: visible;
	padding: 0;
}
.plvp-grid .plvp-card:hover { transform: none; box-shadow: none; }

.plvp-grid .plvp-box {
	position: relative;
	border-radius: var(--plv-radius);
	background: var(--plv-card);
	overflow: hidden;
	transition: transform 0.15s ease;
}
.plvp-grid .plvp-card:active .plvp-box { transform: scale(0.97); }

.plvp-grid .plvp-photo-wrap {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	overflow: hidden;
	text-decoration: none;
	border-radius: 0;
	background: var(--plv-card);
}
.plvp-grid .plvp-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease-out;
}
.plvp-grid .plvp-box:hover .plvp-photo { transform: scale(1.04); }
.plvp-grid .plvp-photo-ph {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c9c9bf;
	background: #e9e9e2;
}
.plvp-grid .plvp-photo-ph svg { width: 38px; height: 38px; }

.plvp-grid .plvp-like {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--plv-leaf-soft);
	color: var(--plv-leaf);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.plvp-grid .plvp-like svg { width: 14px; height: 14px; }

.plvp-grid .plvp-qty {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	height: 40px;
	border-radius: 999px;
	background: #fff;
	color: var(--plv-ink);
	box-shadow: 0 2px 10px rgba(32, 38, 31, 0.16);
	overflow: hidden;
	transition: background 0.15s;
}
.plvp-grid .plvp-qty-btn {
	appearance: none;
	border: 0;
	background: none;
	cursor: pointer;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 19px;
	font-weight: 600;
	line-height: 1;
	color: inherit;
	font-family: var(--plv-font);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s;
}
.plvp-grid .plvp-qty-btn:hover { background: rgba(32, 38, 31, 0.06); }
.plvp-grid .plvp-qty-btn:active { transform: scale(0.94); }
.plvp-grid .plvp-qty-minus,
.plvp-grid .plvp-qty-n { display: none; }
.plvp-grid .plvp-qty.is-on { background: var(--plv-ink); color: #fff; }
.plvp-grid .plvp-qty.is-on .plvp-qty-minus { display: inline-flex; }
.plvp-grid .plvp-qty.is-on .plvp-qty-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.plvp-grid .plvp-qty.is-on .plvp-qty-btn:hover { background: rgba(255, 255, 255, 0.14); }

.plvp-grid .plvp-oos {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--plv-muted);
	font-size: 11.5px;
	font-weight: 600;
}

.plvp-grid .plvp-cap,
.woocommerce .plvp-grid .plvp-cap,
.woocommerce-page .plvp-grid .plvp-cap {
	display: block;
	text-decoration: none !important;
	color: var(--plv-ink);
	margin-top: 8px;
	padding: 0 2px;
	transition: opacity 0.15s;
}
.plvp-grid .plvp-cap:hover,
.woocommerce .plvp-grid .plvp-cap:hover {
	opacity: 0.6;
	text-decoration: none !important;
	color: var(--plv-ink);
}
.plvp-grid .plvp-price-row { display: flex; align-items: baseline; gap: 7px; margin: 0; padding: 0; position: static; }
.plvp-grid .plvp-price {
	font-family: var(--plv-font);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--plv-ink);
	text-decoration: none;
}
.plvp-grid .plvp-price-orig { font-size: 12.5px; color: var(--plv-muted); text-decoration: line-through; }
.plvp-grid .plvp-noprice { font-size: 13.5px; color: var(--plv-muted); }
.plvp-grid .plvp-name {
	font-family: var(--plv-font);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.32;
	color: var(--plv-ink);
	margin: 3px 0 0;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.plvp-grid .plvp-portion {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--plv-muted);
	margin-top: 1px;
	text-decoration: none;
}
