/* =========================================================================
   Творча майстриня — основні стилі
   ========================================================================= */

/* Шрифти (SIL OFL 1.1, див. assets/fonts/OFL-*.txt) ---------------------- */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-cyrillic-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-cyrillic-wght-normal.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-cyrillic-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Системні шрифти з підігнаними метриками — текст не «стрибає», поки вантажаться файли. */
@font-face {
	font-family: "Manrope Fallback";
	src: local("Arial"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 96.93%;
	ascent-override: 109.98%;
	descent-override: 30.95%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Cormorant Fallback";
	src: local("Times New Roman"), local("Liberation Serif"), local("Times");
	size-adjust: 97%;
	ascent-override: 95%;
	descent-override: 29.6%;
	line-gap-override: 0%;
}

:root {
	/* Варіант «Б»: лондонська галантерея. Пляшково-зелений, льон, веджвудський блакитний, приглушена троянда, старе золото. */
	--tm-green: #173F30;
	--tm-green-dark: #0F2E22;
	--tm-green-deep: #0C241B;
	--tm-green-tint: #E3EADF;
	--tm-bg: #F2ECDF;
	--tm-surface: #FBF7EE;
	--tm-white: #FFFDF8;
	--tm-line: #D9CFB8;
	--tm-line-soft: #E6DDC8;
	--tm-field: #B8AC90;
	--tm-ink: #24211C;
	--tm-ink-2: #453F35;
	--tm-muted: #5E584C;
	--tm-red: #8E3B4D;
	--tm-rose-tint: #F3E3E3;
	--tm-blue: #3F5F7F;
	--tm-blue-tint: #DDE5EC;
	--tm-gold: #A88A4A;
	--tm-gold-light: #E3CF9E;
	--tm-cream: #F6F0E2;
	--tm-amber: #865000;
	--tm-gray: #6B665C;
	--tm-radius: 2px;
	--tm-radius-sm: 2px;
	--tm-shadow: 0 20px 44px rgba(36, 33, 28, .18);
	--tm-font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tm-serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
	/* Подвійна тонка лінія — рамки заголовків і секцій. */
	--tm-rule: linear-gradient(var(--tm-gold), var(--tm-gold)) top / 100% 1px no-repeat, linear-gradient(var(--tm-gold), var(--tm-gold)) bottom / 100% 1px no-repeat;
	/* Смуга «хрестиком», як кайма на вишитому зразку. */
	--tm-stitch: linear-gradient(45deg, transparent 42%, #8E3B4D 42%, #8E3B4D 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, #8E3B4D 42%, #8E3B4D 58%, transparent 58%);
	--tm-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M5 5l8 8M13 5l-8 8' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--tm-bg);
	color: var(--tm-ink);
	font-family: var(--tm-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--tm-green); }
a:hover { color: var(--tm-green-dark); }

:focus-visible { outline: 3px solid var(--tm-green); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--tm-ink); }

button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tm-skip {
	position: absolute; left: 12px; top: -60px; z-index: 999;
	background: var(--tm-green); color: #fff; padding: 10px 16px; border-radius: 2px;
}
.tm-skip:focus { top: 12px; color: #fff; }

.tm-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.tm-main { padding-top: 20px; padding-bottom: 64px; }
.tm-muted { color: var(--tm-muted); }
.tm-icon { flex-shrink: 0; }

.tm-page-title {
	margin: 0 0 18px;
	font-family: var(--tm-serif);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
}

.tm-kicker {
	display: block;
	font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--tm-red);
}
.tm-kicker--light { color: var(--tm-gold-light); }

/* Кнопки ------------------------------------------------------------------ */

.tm-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px;
	border: 0; border-radius: 2px;
	background: var(--tm-green); color: #fff;
	font-family: var(--tm-font); font-size: 15px; font-weight: 800; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease;
}
.tm-btn:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover { background: var(--tm-green-dark); color: #fff; }

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt { background: var(--tm-green); color: #fff; }
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover { background: var(--tm-green-dark); }

.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce button.button:disabled[disabled] { opacity: .5; cursor: not-allowed; background: var(--tm-green); }

.tm-btn--light { background: var(--tm-bg); color: var(--tm-green-dark); }
.tm-btn--light:hover { background: var(--tm-surface); color: var(--tm-green-dark); }
.tm-btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--tm-gold-light); }
.tm-btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.tm-btn--outline { background: var(--tm-surface); color: var(--tm-green-dark); box-shadow: inset 0 0 0 1.5px var(--tm-green); }
.tm-btn--outline:hover { background: var(--tm-green-tint); color: var(--tm-green-dark); }
.tm-btn--small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.tm-btn--block { width: 100%; }

.tm-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 2px; background: transparent; color: var(--tm-green-dark);
	cursor: pointer;
}
.tm-iconbtn:hover { background: var(--tm-green-tint); }

/* Поля ------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1.5px solid var(--tm-field);
	border-radius: var(--tm-radius-sm);
	background: var(--tm-white);
	font-size: 15px;
	color: var(--tm-ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--tm-green); outline: none; box-shadow: 0 0 0 3px rgba(23,63,48,.2); }

/* Шапка ------------------------------------------------------------------ */

.tm-header { position: relative; z-index: 60; background: var(--tm-surface); }

.tm-topbar { background: var(--tm-green-dark); color: #fff; font-size: 13px; }
.tm-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.tm-topbar__info, .tm-topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.tm-topbar__info span { display: inline-flex; align-items: center; gap: 6px; }
.tm-topbar a { color: #fff; text-decoration: none; }
.tm-topbar a:hover { text-decoration: underline; }
.tm-topbar__menu { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.tm-insta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }

.tm-mainbar { border-bottom: 1px solid var(--tm-line); background: var(--tm-surface); }
.tm-mainbar__inner { display: flex; align-items: center; gap: 14px 20px; padding-top: 16px; padding-bottom: 16px; }

.tm-burger { display: none; }

.tm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tm-ink); min-width: 0; }
.tm-brand__logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tm-brand__logo--empty { display: block; background: var(--tm-green-tint); border: 2px dashed var(--tm-green); }
.tm-brand__text { display: flex; flex-direction: column; min-width: 0; }
.tm-brand__name { font-family: var(--tm-serif); font-size: 25px; font-weight: 700; line-height: 1.1; color: var(--tm-green-dark); white-space: nowrap; }
.tm-brand__tag { font-size: 13px; color: var(--tm-muted); }

.tm-catalog-btn {
	display: inline-flex; align-items: center; gap: 10px;
	height: 50px; padding: 0 22px;
	border: 0; border-radius: 2px;
	background: var(--tm-green); color: #fff;
	font-size: 16px; font-weight: 800; cursor: pointer; flex-shrink: 0;
}
.tm-catalog-btn:hover { background: var(--tm-green-dark); }
.tm-catalog-btn__close { display: none; }
.tm-catalog-btn[aria-expanded="true"] .tm-catalog-btn__open { display: none; }
.tm-catalog-btn[aria-expanded="true"] .tm-catalog-btn__close { display: inline-flex; }
.tm-catalog-btn__open { display: inline-flex; }

.tm-search { flex: 1 1 340px; display: flex; min-width: 0; }
.tm-search input[type="search"] {
	flex: 1; min-width: 0; height: 50px; min-height: 50px;
	border: 2px solid var(--tm-green); border-right: 0; border-radius: 2px 0 0 2px;
}
.tm-search > button {
	display: inline-flex; align-items: center; gap: 8px;
	height: 50px; padding: 0 22px;
	border: 0; border-radius: 0 2px 2px 0;
	background: var(--tm-green); color: #fff; font-weight: 800; cursor: pointer;
}
.tm-search > button:hover { background: var(--tm-green-dark); }

.tm-actions { display: flex; align-items: center; gap: 6px; }
.tm-action {
	position: relative;
	display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
	min-width: 64px; padding: 4px 6px;
	color: var(--tm-ink); font-size: 12px; font-weight: 700; text-decoration: none;
}
.tm-action .tm-icon { color: var(--tm-green-dark); }
.tm-action:hover { color: var(--tm-green); }

.tm-cart-count {
	position: absolute; top: -2px; right: 10px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--tm-red); color: #fff;
	font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}
.tm-cart-count[data-count="0"] { display: none; }

.tm-catnav { background: var(--tm-bg); }
.tm-catnav__inner { position: relative; display: flex; align-items: center; gap: 2px; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.tm-catnav__list { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tm-catnav__list::-webkit-scrollbar { display: none; }
.tm-catnav.is-measured .tm-catnav__list { overflow: hidden; }
.tm-catnav__list a.is-overflow { visibility: hidden; position: absolute; pointer-events: none; }
.tm-catnav a { flex-shrink: 0; padding: 13px 10px; font-size: 14px; font-weight: 600; color: var(--tm-ink); text-decoration: none; }
.tm-catnav a:hover { color: var(--tm-green); }
.tm-catnav .tm-catnav__accent { margin-left: auto; color: var(--tm-red); font-weight: 800; }
.tm-catnav__more { flex-shrink: 0; }
.tm-catnav__more[hidden] { display: none; }
.tm-catnav__morebtn {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 13px 10px; border: 0; background: none;
	font-size: 14px; font-weight: 700; color: var(--tm-green-dark); cursor: pointer;
}
.tm-catnav__morebtn .tm-icon { transform: rotate(90deg); transition: transform .15s ease; }
.tm-catnav__morebtn[aria-expanded="true"] .tm-icon { transform: rotate(-90deg); }
.tm-catnav__morebtn:hover { color: var(--tm-green); }
.tm-catnav__drop {
	position: absolute; right: 16px; top: 100%; z-index: 75;
	display: flex; flex-direction: column; min-width: 240px; max-height: 60vh; overflow-y: auto;
	padding: 8px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 0 0 2px 2px; box-shadow: var(--tm-shadow);
}
.tm-catnav__drop[hidden] { display: none; }
.tm-catnav__drop a { padding: 10px 12px; border-radius: 2px; white-space: normal; }
.tm-catnav__drop a:hover { background: var(--tm-green-tint); }

.tm-stitch { height: 10px; background: var(--tm-bg) var(--tm-stitch) repeat-x left center; }

/* Велике меню ------------------------------------------------------------ */

.tm-mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 24px; z-index: 70; }
.tm-mega[hidden] { display: none; }
.tm-mega__panel {
	max-width: 1272px; margin: 0 auto;
	display: flex; min-height: 320px; max-height: calc(100vh - 220px);
	background: var(--tm-surface); border: 1px solid var(--tm-line); border-top: 0;
	border-radius: 0 0 2px 2px; box-shadow: var(--tm-shadow); overflow: hidden;
}
.tm-mega__empty { padding: 32px; color: var(--tm-muted); }
.tm-mega__list { flex: 0 0 300px; margin: 0; padding: 12px; list-style: none; background: var(--tm-bg); border-right: 1px solid var(--tm-line); overflow-y: auto; }
.tm-mega__root {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	min-height: 44px; padding: 10px 14px; border-radius: 2px;
	color: var(--tm-ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.tm-mega__root .tm-icon { color: #8C8372; }
.tm-mega__root:hover { background: var(--tm-green-tint); color: var(--tm-ink); }
.tm-mega__root.is-active { background: var(--tm-green); color: #fff; font-weight: 700; }
.tm-mega__root.is-active .tm-icon { color: #fff; }
.tm-mega__panes { flex: 1; min-width: 0; padding: 26px 34px 32px; overflow-y: auto; }
.tm-mega__pane[hidden] { display: none; }
.tm-mega__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.tm-mega__head h2 { margin: 0; font-family: var(--tm-serif); font-size: 28px; color: var(--tm-green-dark); }
.tm-mega__head a { font-weight: 700; }
.tm-mega__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px 32px; }
.tm-mega__group ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tm-mega__gtitle { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px dashed var(--tm-gold-light); font-size: 16px; font-weight: 800; color: var(--tm-ink); text-decoration: none; }
.tm-mega__group a { color: var(--tm-ink-2); text-decoration: none; }
.tm-mega__group a:hover { color: var(--tm-green); text-decoration: underline; }
.tm-mega__more { font-weight: 700; color: var(--tm-green) !important; }

.tm-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(36, 33, 28, .45); }
.tm-overlay[hidden] { display: none; }

/* Висувне меню (телефон) ------------------------------------------------- */

.tm-drawer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--tm-surface); }
.tm-drawer[hidden] { display: none; }
.tm-drawer__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--tm-bg); border-bottom: 1px solid var(--tm-line); }
.tm-drawer__back[hidden] { display: none; }
.tm-drawer__title { flex: 1; margin: 0 0 0 6px; font-family: var(--tm-serif); font-size: 22px; font-weight: 700; color: var(--tm-green-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-drawer__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.tm-drawer__panel[hidden] { display: none; }
.tm-drawer__list { margin: 0; padding: 8px 0; list-style: none; }
.tm-drawer__item {
	width: 100%; min-height: 56px; padding: 0 16px;
	display: flex; align-items: center; gap: 14px;
	border: 0; border-bottom: 1px solid var(--tm-line-soft); background: var(--tm-surface);
	font-size: 16px; font-weight: 600; color: var(--tm-ink); text-align: left; text-decoration: none; cursor: pointer;
}
.tm-drawer__item > span:nth-child(2) { flex: 1; }
.tm-drawer__item .tm-icon { color: #8C8372; }
.tm-drawer__dot { width: 36px; height: 36px; border-radius: 2px; flex-shrink: 0; }
.tm-drawer__info { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tm-drawer__infolist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tm-drawer__info a { color: var(--tm-ink); text-decoration: none; font-weight: 600; }
.tm-drawer__info .tm-insta { color: var(--tm-green-dark); font-weight: 800; }
.tm-drawer__all { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 1px solid var(--tm-line-soft); font-weight: 800; text-decoration: none; }
.tm-drawer__group { padding: 14px 16px 6px; }
.tm-drawer__gtitle { display: block; padding-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tm-muted); text-decoration: none; }
.tm-drawer__group ul { margin: 0; padding: 0; list-style: none; }
.tm-drawer__group li a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px dashed var(--tm-line-soft); color: var(--tm-ink); text-decoration: none; }

/* Нижня панель (телефон) ------------------------------------------------- */

.tm-tabbar { display: none; }

/* Головна ---------------------------------------------------------------- */

.tm-hero-row { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 28px; }
.tm-hero {
	position: relative; overflow: hidden;
	flex: 2 1 560px; min-width: 0; min-height: 400px;
	display: flex; flex-direction: column; justify-content: center; gap: 18px;
	padding: 56px 56px 76px; border-radius: 2px;
	background: var(--tm-green); color: #fff;
}
.tm-hero__img, .tm-promo__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100% !important; object-fit: cover; }
.tm-hero--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(31,61,46,.92) 0%, rgba(31,61,46,.7) 55%, rgba(31,61,46,.25) 100%); }
.tm-hero > :not(.tm-hero__img):not(.tm-hero__stitch) { position: relative; z-index: 2; }
.tm-hero__stitch { z-index: 2; }
.tm-hero h1 { margin: 0; max-width: 640px; font-family: var(--tm-serif); font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; color: #fff; }
.tm-hero p { margin: 0; max-width: 540px; font-size: 17px; color: var(--tm-cream); }
.tm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tm-hero__stitch {
	position: absolute; left: 0; right: 0; bottom: 18px; height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath d='M4 4l14 14M18 4L4 18' stroke='%23E8B4A8' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M26 7l8 8M34 7l-8 8' stroke='%23CFE3D5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
}

.tm-promos { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tm-promo {
	position: relative; overflow: hidden;
	flex: 1 1 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
	padding: 28px; border-radius: 2px; color: var(--tm-ink); text-decoration: none;
}
.tm-promo--sand { background: #EADFC4; }
.tm-promo--rose { background: #EBD9DA; }
.tm-promo--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%); }
.tm-promo > span { position: relative; z-index: 2; }
.tm-promo__title { font-family: var(--tm-serif); font-size: 28px; font-weight: 700; line-height: 1.15; }
.tm-promo__text { font-size: 15px; color: var(--tm-ink-2); }
.tm-promo:hover { color: var(--tm-ink); }
.tm-promo:hover .tm-promo__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.tm-benefits {
	margin: 20px 0 0; padding: 20px 24px; list-style: none;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px;
	background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius);
}
.tm-benefits li { display: flex; align-items: center; gap: 14px; }
.tm-benefits__icon { width: 44px; height: 44px; border-radius: 2px; background: var(--tm-green-tint); color: var(--tm-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tm-benefits__text { display: flex; flex-direction: column; gap: 2px; }
.tm-benefits__text b { font-size: 15px; }
.tm-benefits__text span { font-size: 13px; color: var(--tm-muted); }

.tm-section { padding-top: 52px; }
.tm-home > .tm-section:last-of-type { padding-bottom: 64px; }
.tm-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.tm-section__head h2 { margin: 0; font-family: var(--tm-serif); font-size: clamp(26px, 2.6vw, 34px); }
.tm-section__head a { font-weight: 700; font-size: 15px; }

.tm-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tm-cat-tile { display: flex; flex-direction: column; overflow: hidden; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); color: var(--tm-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tm-cat-tile:hover { border-color: var(--tm-green); color: var(--tm-ink); transform: translateY(-2px); }
.tm-cat-tile__img { display: block; height: 150px; background-image: var(--tm-cross); }
.tm-cat-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-cat-tile__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.tm-cat-tile__name .tm-icon { color: var(--tm-green); }

.tm-store { display: flex; flex-wrap: wrap; overflow: hidden; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }
.tm-store__text { flex: 1 1 420px; min-width: 0; padding: 44px 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tm-store__text h2 { margin: 0; font-family: var(--tm-serif); font-size: clamp(26px, 2.6vw, 34px); }
.tm-store__text p { margin: 0; color: var(--tm-muted); }
.tm-store__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tm-store__list li { display: flex; align-items: center; gap: 12px; }
.tm-store__list .tm-icon { color: var(--tm-green); }
.tm-store__list .tm-insta { color: var(--tm-ink); }
.tm-store__map { position: relative; flex: 1 1 420px; min-height: 340px; background: var(--tm-green-tint); }
.tm-store__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tm-store__map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--tm-red); }

/* Картки товарів --------------------------------------------------------- */

.woocommerce ul.products,
ul.products.tm-products {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px;
	margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.tm-card,
.tm-card {
	width: auto; float: none; margin: 0;
	display: flex; flex-direction: column; gap: 8px;
	padding: 12px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius);
	transition: border-color .15s, box-shadow .15s;
}
.tm-card:hover { border-color: var(--tm-gold-light); box-shadow: 0 10px 24px rgba(36,33,28,.08); }
.tm-card__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; background: var(--tm-green-tint) var(--tm-cross); }
.tm-card__img img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; margin: 0 !important; background: #fff; }
.tm-badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 2px; background: var(--tm-red); color: #fff; font-size: 12px; font-weight: 800; }
.tm-card__sku { font-size: 12px; color: var(--tm-muted); }
.tm-card__title {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(1.35em * 3);
	font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--tm-ink); text-decoration: none;
}
.tm-card__title:hover { color: var(--tm-green); }
.tm-card__foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-card__price { font-size: 21px; font-weight: 800; white-space: nowrap; }
.tm-card__price del { font-size: 14px; font-weight: 600; color: var(--tm-muted); }
.tm-card__price ins { text-decoration: none; color: var(--tm-red); }
.tm-card--out .tm-card__price { color: var(--tm-gray); }
.woocommerce a.button.tm-card__buy,
.tm-card__buy { width: 48px; min-height: 44px; height: 44px; padding: 0; border-radius: 2px; flex-shrink: 0; }
.tm-card__buy { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--tm-green); color: #fff; text-decoration: none; }
.tm-card__buy:hover { background: var(--tm-green-dark); color: #fff; }
.woocommerce a.button.tm-card__buy.loading { opacity: .6; }
.woocommerce a.button.tm-card__buy.added::after { display: none; }
.tm-card .added_to_cart { display: none; }

.tm-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.tm-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tm-stock--in { color: var(--tm-green); }
.tm-stock--low { color: var(--tm-amber); }
.tm-stock--out { color: var(--tm-gray); }

/* Каталог ---------------------------------------------------------------- */

.tm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--tm-muted); }
.tm-crumbs a { color: var(--tm-muted); text-decoration: none; }
.tm-crumbs a:hover { color: var(--tm-green); text-decoration: underline; }

.tm-archive__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tm-archive__head .tm-page-title { margin-bottom: 14px; }
.tm-archive__count { font-size: 15px; color: var(--tm-muted); }
.term-description, .page-description { max-width: 860px; margin-bottom: 18px; color: var(--tm-ink-2); }

.tm-subcats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: thin; }
.tm-subcat {
	flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
	height: 46px; padding: 0 16px 0 6px;
	background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 999px;
	color: var(--tm-ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.tm-subcat:hover { border-color: var(--tm-green); color: var(--tm-ink); }
.tm-subcat__dot { width: 34px; height: 34px; border-radius: 50%; }

.tm-shop { display: flex; align-items: flex-start; gap: 24px; }
.tm-shop__results { flex: 1; min-width: 0; }

.tm-filters { flex: 0 0 280px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); }
.tm-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--tm-line-soft); }
.tm-filters__title { font-size: 18px; font-weight: 800; flex: 1; }
.tm-filters__reset { color: var(--tm-red); font-size: 14px; font-weight: 700; text-decoration: none; }
.tm-filters__close, .tm-js .tm-filters__foot { display: none; }
.tm-filters__foot { padding: 0 20px 18px; }
.tm-filters__body { padding: 0 20px 8px; }
.tm-fgroup { padding: 16px 0; border-bottom: 1px solid var(--tm-line-soft); }
.tm-fgroup:last-child { border-bottom: 0; }
.tm-fgroup__title { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.tm-fgroup__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.tm-fgroup__list.is-long:not(.is-open) li:nth-child(n+9) { display: none; }
.tm-fgroup__more { margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--tm-green); font-weight: 700; cursor: pointer; }

.tm-filters fieldset { margin: 0; min-width: 0; border: 0; }
.tm-filters legend { float: left; width: 100%; padding: 0; }
.tm-filters legend + * { clear: both; }
.tm-filters__reset[hidden] { display: none; }
.tm-check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--tm-ink); font-size: 14px; cursor: pointer; }
.tm-check:hover { color: var(--tm-green); }
.tm-check input { position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; opacity: 0; cursor: pointer; }
.tm-check__box { width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid var(--tm-field); border-radius: 2px; background: var(--tm-surface); }
.tm-check input:checked + .tm-check__box { border-color: var(--tm-green); background: var(--tm-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tm-check input:focus-visible + .tm-check__box { outline: 3px solid var(--tm-green); outline-offset: 2px; }
.tm-check input:checked ~ .tm-check__name { font-weight: 700; }
.tm-check__name { flex: 1; min-width: 0; }
.tm-check__n { font-size: 13px; color: var(--tm-muted); font-variant-numeric: tabular-nums; }
.tm-check.is-zero { color: var(--tm-muted); cursor: default; }
.tm-check.is-zero .tm-check__box { background: var(--tm-line-soft); }
.tm-check.is-zero input { cursor: default; }

.tm-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; color: var(--tm-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.tm-switch input { position: absolute; right: 0; top: 50%; width: 46px; height: 28px; margin: -14px 0 0; opacity: 0; cursor: pointer; }
.tm-switch__track { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--tm-field); flex-shrink: 0; transition: background .15s; }
.tm-switch__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--tm-surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.tm-switch input:checked + .tm-switch__track { background: var(--tm-green); }
.tm-switch input:checked + .tm-switch__track .tm-switch__knob { left: 21px; }
.tm-switch input:focus-visible + .tm-switch__track { outline: 3px solid var(--tm-green); outline-offset: 2px; }

.tm-price__row { display: flex; align-items: center; gap: 8px; }
.tm-price__row input { flex: 1; min-width: 0; min-height: 40px; padding: 6px 10px; }
/* Повзунок ціни з двома ручками: два накладені <input type="range">. */
.tm-range { position: relative; height: 32px; margin-top: 10px; --lo: 0%; --hi: 100%; }
.tm-range[hidden] { display: none; }
.tm-range::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--tm-field) var(--lo), var(--tm-green) var(--lo), var(--tm-green) var(--hi), var(--tm-field) var(--hi)); }
.tm-range input { position: absolute; left: 0; top: 0; width: 100%; height: 32px; margin: 0; padding: 0; border: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.tm-range input::-webkit-slider-runnable-track { height: 32px; background: none; }
.tm-range input::-moz-range-track { height: 32px; background: none; }
.tm-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--tm-green); background: var(--tm-surface); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: grab; }
.tm-range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tm-green); background: var(--tm-surface); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: grab; }
.tm-range input:focus-visible { outline: none; }
.tm-range input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--tm-green); outline-offset: 2px; }
.tm-range input:focus-visible::-moz-range-thumb { outline: 3px solid var(--tm-green); outline-offset: 2px; }
.tm-shop__results { transition: opacity .15s; }
.tm-shop__results.is-loading { opacity: .45; pointer-events: none; }
.tm-chip--reset { background: none; color: var(--tm-muted); text-decoration: underline; }

.tm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.tm-toolbar__filters { display: none; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.tm-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--tm-green-tint); color: var(--tm-green-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.tm-chip:hover { background: #D3DDCD; color: var(--tm-green-dark); }
.tm-toolbar__sort { margin-left: auto; }
.woocommerce-ordering { margin: 0 !important; float: none !important; }
.woocommerce-ordering select { width: auto; min-height: 42px; padding: 0 36px 0 12px; font-weight: 600; }

.woocommerce nav.woocommerce-pagination { margin-top: 32px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 6px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px; height: 44px; padding: 0 10px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--tm-line); border-radius: 2px; background: var(--tm-surface); color: var(--tm-ink); font-weight: 700;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tm-green); border-color: var(--tm-green); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--tm-green-tint); color: var(--tm-ink); }

.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	margin: 0 0 18px; padding: 14px 18px 14px 18px !important;
	border: 1px solid var(--tm-line); border-left-width: 1px; border-radius: 2px;
	background: var(--tm-surface); color: var(--tm-ink); list-style: none;
}
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-message { background: var(--tm-green-tint); border-color: var(--tm-gold-light); }
.woocommerce-error { background: var(--tm-rose-tint); border-color: #DDB9BF; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 38px; margin-left: 12px; }

/* Сторінка товару -------------------------------------------------------- */

.tm-single div.product {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px;
	position: relative;
}
.tm-single div.product > * { grid-column: 1 / -1; }
.tm-single div.product > .woocommerce-product-gallery { grid-column: 1; width: 100% !important; float: none !important; margin: 0 !important; }
.tm-single div.product > .summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; gap: 16px; }
.tm-single div.product > .onsale { position: absolute; z-index: 5; top: 14px; left: 14px; margin: 0; min-height: 0; min-width: 0; padding: 5px 10px; border-radius: 2px; background: var(--tm-red); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2; }

.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__image:only-child { border: 1px solid var(--tm-line); border-radius: 2px; overflow: hidden; background: #fff; }
.woocommerce-product-gallery__image img { width: 100%; display: block; }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 88px !important; margin: 0 !important; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 2px; border: 1px solid var(--tm-line); opacity: .7; cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border: 3px solid var(--tm-green); }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 9; width: 46px; height: 46px; border-radius: 50%; background: var(--tm-surface); box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 0; display: flex; align-items: center; justify-content: center; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173F30' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce-product-gallery__trigger img { display: none !important; }

.tm-single__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--tm-muted); }
.tm-single__meta b { color: var(--tm-ink); }
.tm-single__cats a { font-weight: 700; text-decoration: none; }
.tm-single .product_title { margin: 0; font-family: var(--tm-serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }

.tm-buybox { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }
.tm-buybox .price { margin: 0; font-size: 38px; font-weight: 800; color: var(--tm-ink) !important; letter-spacing: -.01em; }
.tm-buybox .price del { font-size: 20px; color: var(--tm-muted); }
.tm-buybox .price ins { text-decoration: none; color: var(--tm-red); }
.tm-buybox .stock { margin: 0; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.tm-buybox .stock.tm-stock--in { background: var(--tm-green-tint); }
.tm-buybox .stock.tm-stock--low { background: #F4E7CB; color: #6B4300; }
.tm-buybox .stock.tm-stock--out { background: #E9E3D6; }
.tm-buybox form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.tm-buybox form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; font-size: 18px; }
.tm-buybox__note { margin: 0; font-size: 13px; color: var(--tm-muted); }

.quantity:has(input[type="hidden"]) { display: none; }
.quantity { display: inline-flex; align-items: center; height: 56px; border: 1.5px solid var(--tm-field); border-radius: 2px; overflow: hidden; background: var(--tm-surface); }
.quantity .qty { width: 52px; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; text-align: center; font-size: 18px; font-weight: 800; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; }
.tm-qty-btn { width: 44px; height: 100%; border: 0; background: var(--tm-surface); color: var(--tm-green-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tm-qty-btn:hover { background: var(--tm-green-tint); }

.woocommerce-product-details__short-description { color: var(--tm-ink-2); }

.tm-infoboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tm-infobox { padding: 18px 20px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); }
.tm-infobox__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 800; }
.tm-infobox__title .tm-icon { color: var(--tm-green); }
.tm-infobox ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--tm-ink-2); }

.woocommerce-tabs { margin-top: 16px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; overflow: hidden; }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; margin: 0 !important; padding: 0 20px !important; border-bottom: 1px solid var(--tm-line); list-style: none; overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 16px 18px 13px !important; border-bottom: 3px solid transparent; color: var(--tm-muted) !important; font-size: 16px; font-weight: 800 !important; text-decoration: none; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--tm-green-dark) !important; border-bottom-color: var(--tm-green); }
.woocommerce-tabs .panel { margin: 0 !important; padding: 28px 32px 32px !important; }
.woocommerce-tabs .panel > :first-child { margin-top: 0; }

table.shop_attributes { width: 100%; max-width: 820px; border: 0 !important; border-collapse: collapse; }
table.shop_attributes th, table.shop_attributes td { padding: 12px 0 !important; border: 0 !important; border-bottom: 1px dashed var(--tm-line) !important; background: none !important; text-align: left; font-style: normal !important; vertical-align: top; }
table.shop_attributes th { width: 40%; padding-right: 16px !important; color: var(--tm-muted); font-weight: 500; }
table.shop_attributes td { font-weight: 600; }
table.shop_attributes td p { margin: 0; padding: 0 !important; }

.related.products, .upsells.products { margin-top: 32px; }
.related.products > h2, .upsells.products > h2 { margin: 0 0 20px; font-family: var(--tm-serif); font-size: 30px; }

/* Кошик, оформлення, кабінет -------------------------------------------- */

.tm-wc-page { max-width: 100%; }
.woocommerce table.shop_table { width: 100%; border: 1px solid var(--tm-line); border-radius: var(--tm-radius); border-collapse: separate; border-spacing: 0; background: var(--tm-surface); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--tm-line-soft); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { border-top: 0; background: var(--tm-bg); font-size: 14px; }
.woocommerce table.shop_table img { width: 64px; border-radius: 2px; }
.woocommerce table.shop_table .product-remove a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: var(--tm-red) !important; text-decoration: none; font-size: 22px; }
.woocommerce table.shop_table .product-remove a:hover { background: var(--tm-rose-tint); }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 440px; margin-left: auto; float: none; }
.woocommerce .cart-collaterals h2, .woocommerce-checkout h3, #order_review_heading { font-family: var(--tm-serif); font-size: 24px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 18px !important; }

/* Оформлення: ліворуч контакти → доставка → коментар → оплата, праворуч — склад замовлення. */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 24px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0 0 14px; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 3 / span 2; position: sticky; top: calc(var(--tm-mainbar-h, 0px) + 16px); padding: 24px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }
.woocommerce-checkout #customer_details { grid-row: 2 / span 2; }
.woocommerce-checkout .tm-pay { grid-row: 4; margin-top: 20px; padding: 24px 28px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }
.woocommerce-checkout .tm-sum-toggle { grid-row: 1; }
.woocommerce-checkout .col2-set { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; padding: 24px 28px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }
.woocommerce-checkout .col2-set .col-2:empty { display: none; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 700; margin-bottom: 6px; display: block; }
.woocommerce form .form-row .required { color: var(--tm-red); text-decoration: none; }
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.woocommerce-checkout #order_review table.shop_table th, .woocommerce-checkout #order_review table.shop_table td { padding: 10px 0; }
.woocommerce-checkout #order_review .order-total .amount { font-size: 26px; font-weight: 800; }
#payment { background: transparent !important; border-radius: 0 !important; }
#payment ul.payment_methods { margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 10px; }
#payment ul.payment_methods li { margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--tm-line); border-radius: 2px; background: var(--tm-surface); }
#payment ul.payment_methods li:has(input:checked) { border: 2px solid var(--tm-green); background: #EEF1E6; }
#payment ul.payment_methods li input { accent-color: var(--tm-green); margin-right: 8px; }
#payment ul.payment_methods li label { font-weight: 700; }
#payment div.payment_box { margin: 8px 0 0 !important; padding: 0 !important; background: none !important; color: var(--tm-muted); font-size: 14px; }
#payment div.payment_box::before { display: none !important; }
#payment #place_order { width: 100%; min-height: 58px; font-size: 18px; }
#payment .place-order { padding: 0 !important; margin: 0; }
#payment .woocommerce-privacy-policy-text { color: var(--tm-muted); font-size: 14px; }
#shipping_method { margin: 0; padding: 0; list-style: none; }
#shipping_method li { margin: 0 0 8px; }
#shipping_method li input { accent-color: var(--tm-green); }

.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 24px; }
.woocommerce-MyAccount-navigation { flex: 0 0 240px; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: var(--tm-radius); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 2px; color: var(--tm-ink); font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--tm-green); color: #fff; }
.woocommerce-MyAccount-content { flex: 1; min-width: 0; }
.woocommerce-account:not(.logged-in) .woocommerce > * { flex: 1 1 340px; }

/* Звичайні сторінки ------------------------------------------------------ */

.tm-prose-page { max-width: 860px; }
.tm-prose { font-size: 16px; line-height: 1.7; color: var(--tm-ink-2); }
.tm-prose h2, .tm-prose h3 { font-family: var(--tm-serif); color: var(--tm-ink); }
.tm-entry { padding: 20px 0; border-bottom: 1px solid var(--tm-line); }
.tm-entry__title { margin: 0 0 8px; font-family: var(--tm-serif); }

/* Підвал ----------------------------------------------------------------- */

.tm-footer { margin-top: 48px; background: var(--tm-green-deep); color: #DAD3C0; }
.tm-stitch--footer { height: 12px; background-size: 32px 12px; }
.tm-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 28px; }
.tm-footer__brand { display: flex; align-items: center; gap: 12px; }
.tm-footer__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tm-footer__name { font-family: var(--tm-serif); font-size: 22px; font-weight: 700; color: #fff; }
.tm-footer__about p { margin: 14px 0 0; font-size: 14px; }
.tm-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.tm-footer__title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tm-footer a { color: #DAD3C0; text-decoration: none; }
.tm-footer a:hover { color: #fff; text-decoration: underline; }
.tm-footer__strong, .tm-footer .tm-insta { color: #fff !important; font-weight: 800; }
.tm-footer__menu { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tm-footer__bottom { border-top: 1px solid rgba(227,207,158,.35); }
.tm-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #C9C0A8; }
.tm-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-footer__pay span { padding: 4px 10px; border: 1px solid rgba(227,207,158,.5); border-radius: 2px; color: var(--tm-cream); font-weight: 700; }

/* =========================================================================
   Планшет і телефон
   ========================================================================= */

@media (max-width: 1023px) {
	body { padding-bottom: 72px; }

	.tm-header { position: sticky; top: 0; }
	.admin-bar .tm-header { top: 46px; }
	.tm-topbar, .tm-catnav, .tm-catalog-btn, .tm-mega, .tm-action--account, .tm-action span:not(.tm-cart-count) { display: none !important; }

	.tm-mainbar__inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 12px; }
	.tm-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 2px; background: var(--tm-green); color: #fff; cursor: pointer; flex-shrink: 0; }
	.tm-brand { flex: 1; gap: 8px; }
	.tm-brand__logo { width: 40px; height: 40px; }
	.tm-brand__name { font-size: 19px; overflow: hidden; text-overflow: ellipsis; }
	.tm-brand__tag { display: none; }
	.tm-action { min-width: 44px; padding: 6px; }
	.tm-cart-count { right: 0; }
	.tm-search { order: 10; flex: 1 1 100%; }
	.tm-search input[type="search"], .tm-search > button { height: 46px; min-height: 46px; }
	.tm-search > button { padding: 0 14px; }
	.tm-search__label { display: none; }
	.tm-stitch { height: 8px; background-size: 24px 8px; }

	.tm-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
		background: var(--tm-surface); border-top: 1px solid var(--tm-line);
	}
	.tm-tabbar a, .tm-tabbar button {
		display: flex; flex-direction: column; align-items: center; gap: 3px;
		padding: 6px 0; border: 0; background: none;
		color: var(--tm-ink-2); font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer;
	}
	.tm-tabbar [aria-current="page"] { color: var(--tm-green); font-weight: 800; }
	.tm-tabbar__icon { position: relative; display: inline-flex; }
	.tm-tabbar .tm-cart-count { top: -6px; right: -10px; min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; }

	.tm-hero { padding: 36px 32px 60px; min-height: 320px; }

	/* Фільтри — висувна панель */
	.tm-shop { flex-wrap: wrap; }
	.tm-filters { flex-basis: 100%; }
	.tm-js .tm-toolbar__filters { display: inline-flex; min-height: 44px; }
	.tm-check, .tm-switch { min-height: 44px; }
	.tm-js .tm-filters {
		position: fixed; left: 0; right: 0; bottom: 0; top: 64px; z-index: 210;
		display: flex; flex-direction: column;
		border-radius: 2px 2px 0 0; border: 0;
		transform: translateY(105%); transition: transform .25s ease; visibility: hidden;
	}
	.tm-filters-open .tm-filters { transform: none; visibility: visible; }
	.tm-js .tm-filters__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
	.tm-js .tm-filters__close { display: flex; }
	.tm-js .tm-filters__body { flex: 1; overflow-y: auto; padding: 0 16px; }
	.tm-js .tm-filters__foot { display: flex; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tm-line); }
	.tm-overlay--filters { z-index: 205; }

	.tm-single div.product { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.tm-single div.product > .woocommerce-product-gallery,
	.tm-single div.product > .summary { grid-column: 1; }

	.woocommerce-checkout form.checkout { display: flex; flex-direction: column; }
	.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { order: -3; }
	.woocommerce-checkout .tm-sum-toggle { order: -2; margin-bottom: 12px; }
	.woocommerce-checkout #order_review_heading { order: -1; }
	.woocommerce-checkout #order_review { order: -1; position: static; margin-bottom: 16px; }
	.woocommerce-checkout .tm-pay { padding: 18px 16px; }
}

@media (max-width: 767px) {
	.tm-container { padding: 0 16px; }
	.tm-main { padding-top: 12px; }

	.tm-hero-row { padding-top: 16px; gap: 12px; }
	.tm-hero { flex-basis: 100%; min-height: 0; padding: 26px 22px 48px; border-radius: 2px; gap: 12px; }
	.tm-hero p { font-size: 15px; }
	.tm-hero .tm-btn--ghost-light { display: none; }
	.tm-promos { flex-direction: row; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 0 16px; }
	.tm-promo { flex: 0 0 72%; min-height: 120px; padding: 18px; border-radius: 2px; }
	.tm-promo__title { font-size: 21px; }
	.tm-promo__text { font-size: 13px; }

	.tm-benefits { display: flex; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px; border: 0; background: none; gap: 10px; }
	.tm-benefits li { flex: 0 0 260px; padding: 12px 14px; background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; }

	.tm-section { padding-top: 32px; }
	.tm-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tm-cat-tile__img { height: 92px; }
	.tm-cat-tile__name { padding: 10px 12px; font-size: 14px; }
	.tm-cat-tile__name .tm-icon { display: none; }

	.woocommerce ul.products, ul.products.tm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	ul.products.tm-products--row { display: flex; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; }
	ul.products.tm-products--row > li { flex: 0 0 172px; scroll-snap-align: start; }
	.tm-card { padding: 10px; border-radius: 2px; }
	.tm-card__title { font-size: 14px; }
	.tm-card__price { font-size: 17px; }
	.woocommerce a.button.tm-card__buy, .tm-card__buy { width: 42px; min-height: 40px; height: 40px; }

	.tm-store__text { padding: 22px 20px; }
	.tm-store__map { min-height: 240px; }

	.tm-toolbar { gap: 10px; }
	.tm-toolbar__filters { flex: 1; }
	.tm-toolbar__sort { flex: 1; margin-left: 0; }
	.tm-toolbar__sort select { width: 100%; }
	.tm-chips { order: 5; flex-basis: 100%; }

	.tm-buybox { padding: 18px; }
	.tm-buybox .price { font-size: 30px; }
	.woocommerce-tabs .panel { padding: 20px 18px; }
	table.shop_attributes th { width: 48%; }

	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; border-top: 1px solid var(--tm-line-soft); }
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 8px 16px; text-align: right !important; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	.woocommerce table.shop_table_responsive tr td.product-remove::before,
	.woocommerce table.shop_table_responsive tr td.actions::before { content: none; }
	.woocommerce table.cart td.actions { flex-direction: column; }
	.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2, .woocommerce-checkout #order_review { padding: 18px 16px; }

	.tm-footer { margin-top: 32px; }
	.tm-footer__grid { gap: 24px; padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* =========================================================================
   Кошик без перезавантаження, підказки пошуку, липка шапка (assets/js/shop.js)
   ========================================================================= */

/* «− 1 +» на картці та в міні-кошику ------------------------------------ */
.tm-card__buy[hidden] { display: none !important; }
.tm-card__buy.is-busy { opacity: .55; pointer-events: none; }
.tm-step { display: inline-flex; align-items: center; height: 44px; flex-shrink: 0; border-radius: 2px; background: var(--tm-green); color: #fff; }
.tm-step button { width: 38px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.tm-step button:hover { background: var(--tm-green-dark); }
.tm-step button:focus-visible { outline-color: var(--tm-ink); }
.tm-step output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.tm-step--light { background: var(--tm-surface); color: var(--tm-ink); box-shadow: inset 0 0 0 1.5px var(--tm-field); }
.tm-step--light button:hover { background: var(--tm-green-tint); }

/* Сповіщення ------------------------------------------------------------- */
.tm-toast {
	position: fixed; left: 12px; right: 12px; bottom: calc(var(--tm-tabbar-h, 0px) + 16px); z-index: 300;
	display: flex; align-items: center; gap: 16px; width: fit-content; margin: 0 auto; padding: 12px 18px;
	border-radius: 2px; background: var(--tm-ink); color: #fff; font-size: 15px; font-weight: 600; box-shadow: var(--tm-shadow);
	transform: translateY(16px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s;
}
.tm-toast.is-on { transform: none; opacity: 1; visibility: visible; }
/* Сповіщення не перехоплює кліки: під ним може бути кнопка «+», яку щойно натиснули. */
.tm-toast { pointer-events: none; }
.tm-toast a { pointer-events: auto; color: #fff; font-weight: 800; text-decoration: underline; white-space: nowrap; }
@media (min-width: 1024px) {
	/* На комп’ютері — у лівому нижньому куті, осторонь від карток товарів. */
	.tm-toast { left: 24px; right: auto; bottom: 24px; margin: 0; }
}
.tm-has-buybar .tm-toast { bottom: calc(var(--tm-tabbar-h, 0px) + 84px); }

/* Міні-кошик -------------------------------------------------------------- */
.tm-mini__overlay { position: fixed; inset: 0; z-index: 215; background: rgba(36, 33, 28, .45); }
.tm-mini__overlay[hidden] { display: none; }
.tm-mini {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 220; width: min(420px, 100vw);
	display: flex; flex-direction: column; background: var(--tm-surface); box-shadow: -8px 0 32px rgba(36, 33, 28, .18);
	transform: translateX(24px); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
.tm-mini[hidden] { display: none; }
.tm-mini.is-on { transform: none; opacity: 1; }
.tm-mini__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--tm-line); }
.tm-mini__title { font-family: var(--tm-serif); font-size: 24px; font-weight: 700; color: var(--tm-green-dark); }
.tm-mini__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.tm-mini__list { margin: 0; padding: 0; list-style: none; }
.tm-mini__item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--tm-line-soft); }
.tm-mini__img img, .tm-mini__noimg { display: block; width: 64px; height: 64px; border-radius: 2px; object-fit: cover; background: var(--tm-line-soft); }
.tm-mini__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tm-mini__name { color: var(--tm-ink); font-size: 14px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.tm-mini__name:hover { color: var(--tm-green); }
.tm-mini__each { font-size: 13px; color: var(--tm-muted); }
.tm-mini__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.tm-mini__row .tm-step { height: 40px; }
.tm-mini__row .tm-step button { height: 40px; }
.tm-mini__sum { font-size: 17px; }
.tm-mini__remove { align-self: flex-start; color: var(--tm-muted); }
.tm-mini__empty { margin: 32px 0; text-align: center; color: var(--tm-muted); }
.tm-mini__undo { margin: 14px 0 0; padding: 10px 14px; border-radius: 2px; background: var(--tm-green-tint); font-size: 14px; }
.tm-mini__undo button { padding: 0; border: 0; background: none; color: var(--tm-green-dark); font-weight: 800; text-decoration: underline; cursor: pointer; }
.tm-mini__foot { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--tm-line); }
.tm-mini__foot:empty { display: none; }
.tm-mini__total { display: flex; align-items: baseline; justify-content: space-between; font-size: 16px; }
.tm-mini__total b { font-size: 24px; }
.tm-mini__note { margin: 0; font-size: 13px; color: var(--tm-muted); }
.tm-mini__link { align-self: center; padding: 6px; color: var(--tm-green-dark); font-weight: 700; }

/* Підказки пошуку --------------------------------------------------------- */
.tm-search { position: relative; }
.tm-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 85;
	max-height: min(70vh, 560px); overflow-y: auto; padding: 6px;
	background: var(--tm-surface); border: 1px solid var(--tm-line); border-radius: 2px; box-shadow: var(--tm-shadow);
}
.tm-suggest[hidden] { display: none; }
.tm-suggest__row { display: flex; align-items: center; gap: 6px; }
.tm-suggest__item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 2px; color: var(--tm-ink); text-decoration: none; }
.tm-suggest__item img, .tm-suggest__noimg { width: 48px; height: 48px; flex-shrink: 0; border-radius: 2px; object-fit: cover; background: var(--tm-line-soft); }
.tm-suggest__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tm-suggest__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.tm-suggest mark { background: none; color: var(--tm-green-dark); font-weight: 800; }
.tm-suggest__meta { font-size: 12px; color: var(--tm-muted); }
.tm-suggest__stock--out { color: var(--tm-red); }
.tm-suggest__price { flex-shrink: 0; font-size: 15px; font-weight: 800; white-space: nowrap; }
.tm-suggest__price del { font-size: 12px; font-weight: 400; color: var(--tm-muted); }
.tm-suggest__price ins { text-decoration: none; color: var(--tm-red); }
.tm-suggest__add { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 2px; background: var(--tm-green-tint); color: var(--tm-green-dark); cursor: pointer; }
.tm-suggest .tm-suggest__add:hover { background: var(--tm-green); color: #fff; }
.tm-suggest__add--none { background: none; }
.tm-suggest__cat, .tm-suggest__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 10px; border-radius: 2px; color: var(--tm-ink); font-size: 14px; text-decoration: none; }
.tm-suggest__cat span:last-child { color: var(--tm-muted); }
.tm-suggest__all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--tm-line-soft); border-radius: 0 0 2px 2px; color: var(--tm-green-dark); font-weight: 800; }
.tm-suggest [role="option"]:hover, .tm-suggest [role="option"].is-active { background: var(--tm-green-tint); }
.tm-suggest__alt, .tm-suggest__empty { margin: 0; padding: 10px; font-size: 14px; color: var(--tm-muted); }

/* Липка компактна шапка (комп’ютер) -------------------------------------- */
/* Щоб прокрутка до елемента (якір, фокус, перехід між сторінками каталогу) не ховала його під шапкою. */
html { scroll-padding-top: 84px; }
@media (max-width: 1023px) { html { scroll-padding-top: 136px; } }
@media (min-width: 1024px) {
	.tm-header.is-stuck .tm-topbar { margin-bottom: var(--tm-mainbar-h, 0px); }
	.tm-header.is-stuck .tm-mainbar { position: fixed; top: 0; left: 0; right: 0; z-index: 80; box-shadow: 0 4px 18px rgba(36, 33, 28, .1); animation: tm-stuck .2s ease; }
	.admin-bar .tm-header.is-stuck .tm-mainbar { top: 32px; }
	.tm-header.is-stuck .tm-mainbar__inner { padding-top: 7px; padding-bottom: 7px; }
	.tm-header.is-stuck .tm-brand__text { display: none; }
	.tm-header.is-stuck .tm-brand__logo { width: 46px; height: 46px; }
	.tm-header.is-stuck .tm-action--account { display: none; }
	.tm-header.is-stuck .tm-mega { position: fixed; top: 64px; max-height: calc(100vh - 80px); overflow-y: auto; }
	.admin-bar .tm-header.is-stuck .tm-mega { top: 96px; }
}
@keyframes tm-stuck { from { transform: translateY(-100%); } to { transform: none; } }

/* Панель купівлі на сторінці товару (телефон) ----------------------------- */
.tm-buybar { display: none; }
@media (max-width: 1023px) {
	.tm-buybar {
		position: fixed; left: 0; right: 0; bottom: var(--tm-tabbar-h, 0px); z-index: 89;
		display: flex; align-items: center; gap: 10px; padding: 10px 12px;
		background: var(--tm-surface); border-top: 1px solid var(--tm-line); box-shadow: 0 -4px 16px rgba(36, 33, 28, .08);
	}
	.tm-buybar[hidden] { display: none; }
	.tm-buybar__price { flex: 1; min-width: 0; font-size: 18px; font-weight: 800; white-space: nowrap; }
	.tm-buybar__price del { display: none; }
	.tm-buybar__price ins { text-decoration: none; color: var(--tm-red); }
	.tm-buybar__add { min-height: 44px; padding: 0 20px; }
	.tm-has-buybar { padding-bottom: 136px; }
	.tm-suggest { max-height: 60vh; }
	.tm-suggest__price { font-size: 14px; }
}
@media (max-width: 767px) {
	.tm-step, .tm-step button { height: 40px; }
	.tm-step button { width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.tm-toast, .tm-mini { transition: none; }
	.tm-header.is-stuck .tm-mainbar { animation: none; }
}


/* =========================================================================
   Варіант «Б» — лондонська галантерея
   Пляшково-зелена шапка, льон і папір, тонкі подвійні лінії, овальні «камеї»
   категорій, бірки-значки. Усе нижче — лише вигляд; розмітка та поведінка ті самі.
   ========================================================================= */

/* Типографіка ------------------------------------------------------------ */
/* Cormorant типово має «старостильні» цифри — для цін потрібні рівні. */
body { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-weight: 600; }
.tm-page-title { font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.08; }
.tm-kicker { font-size: 11px; font-weight: 700; letter-spacing: .24em; }
.tm-kicker--light { color: var(--tm-gold-light); }
a { text-underline-offset: 3px; }
a:hover { color: var(--tm-red); }
::selection { background: var(--tm-gold-light); color: var(--tm-ink); }

/* Кнопки ------------------------------------------------------------------ */
.tm-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit { padding: 0 26px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tm-btn--small { padding: 0 16px; font-size: 12px; }
.tm-btn--light { background: var(--tm-surface); color: var(--tm-green); }
.tm-btn--light:hover { background: #fff; color: var(--tm-green); }
.tm-btn--ghost-light { box-shadow: inset 0 0 0 1px var(--tm-gold-light); color: var(--tm-cream); }
.tm-btn--outline { background: transparent; color: var(--tm-green); box-shadow: inset 0 0 0 1px var(--tm-green); }
.tm-btn--outline:hover { background: var(--tm-green); color: var(--tm-cream); }
.wc-proceed-to-checkout .checkout-button, #payment #place_order, .tm-buybox form.cart .single_add_to_cart_button { font-size: 14px !important; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { border-width: 1px; }

/* Шапка ------------------------------------------------------------------ */
.tm-header { background: var(--tm-green); color: var(--tm-cream); }
.tm-header :focus-visible, .tm-footer :focus-visible { outline-color: var(--tm-gold-light); }
.tm-header .tm-suggest :focus-visible, .tm-header .tm-mega :focus-visible, .tm-header .tm-catnav__drop :focus-visible { outline-color: var(--tm-green); }

.tm-topbar { background: var(--tm-green); color: var(--tm-gold-light); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tm-topbar a { color: var(--tm-gold-light); }
.tm-topbar a:hover { color: var(--tm-cream); text-decoration: none; }
.tm-insta { font-weight: 700; }

.tm-mainbar { background: var(--tm-green); border-top: 1px solid rgba(227, 207, 158, .4); border-bottom: 0; }
.tm-mainbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px 32px; padding-top: 20px; padding-bottom: 22px; }
.tm-mainbar__left { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.tm-brand { grid-column: 2; grid-row: 1; justify-content: center; gap: 16px; color: var(--tm-cream); }
.tm-brand:hover { color: var(--tm-cream); }
.tm-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; }

.tm-brand__logo--empty { display: none; }
.tm-brand__logo { box-shadow: 0 0 0 1px var(--tm-gold-light); }
.tm-brand__text { align-items: center; gap: 6px; text-align: center; }
.tm-brand__name { font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1; color: var(--tm-cream); }
.tm-brand__tag { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--tm-gold-light); white-space: nowrap; }
.tm-brand__tag::before, .tm-brand__tag::after { content: ""; width: 40px; height: 3px; border-top: 1px solid var(--tm-gold-light); border-bottom: 1px solid var(--tm-gold-light); }

.tm-catalog-btn { height: 46px; padding: 0 18px; background: transparent; box-shadow: inset 0 0 0 1px var(--tm-gold-light); color: var(--tm-cream); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tm-catalog-btn:hover, .tm-catalog-btn[aria-expanded="true"] { background: var(--tm-cream); color: var(--tm-green); }

.tm-search { flex: 1 1 200px; max-width: 360px; }
.tm-search input[type="search"] { height: 46px; min-height: 46px; border: 1px solid var(--tm-gold-light); border-right: 0; background: transparent; color: var(--tm-cream); }
.tm-search input[type="search"]::placeholder { color: #C9D2C6; opacity: 1; }
.tm-search input[type="search"]:focus { border-color: var(--tm-cream); box-shadow: none; background: rgba(255, 255, 255, .06); }
.tm-search > button { height: 46px; padding: 0 14px; border: 1px solid var(--tm-gold-light); border-left: 0; background: transparent; color: var(--tm-gold-light); }
.tm-search > button:hover { background: var(--tm-cream); color: var(--tm-green); }
.tm-search__label { display: none; }
.tm-suggest { color: var(--tm-ink); }

.tm-action { color: var(--tm-cream); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tm-action .tm-icon { color: var(--tm-cream); }
.tm-action:hover, .tm-action:hover .tm-icon { color: var(--tm-gold-light); }
.tm-cart-count { box-shadow: 0 0 0 2px var(--tm-green); }

.tm-catnav { background: var(--tm-green); border-top: 1px solid rgba(227, 207, 158, .4); }
.tm-catnav a { padding: 15px 12px; color: var(--tm-cream); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tm-catnav a:hover { color: var(--tm-gold-light); }
.tm-catnav .tm-catnav__accent { color: var(--tm-gold-light); font-weight: 700; }
.tm-catnav__morebtn { padding: 15px 12px; color: var(--tm-cream); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tm-catnav__morebtn:hover { color: var(--tm-gold-light); }
.tm-catnav__drop a { color: var(--tm-ink); }
.tm-catnav__drop a:hover { color: var(--tm-green); }
@media (min-width: 1024px) {
	.tm-catnav.is-measured .tm-catnav__list, .tm-catnav__list { justify-content: center; }
	.tm-catnav .tm-catnav__accent { margin-left: 0; }
}

.tm-stitch { height: 14px; border-bottom: 1px solid var(--tm-gold); background: var(--tm-stitch); background-color: var(--tm-surface); background-size: 14px 14px; background-repeat: repeat; }
.tm-stitch--footer { height: 14px; border-top: 1px solid var(--tm-gold); border-bottom: 0; background-size: 14px 14px; }

.tm-mega { color: var(--tm-ink); }
.tm-mega__head h2 { font-size: 34px; color: var(--tm-green); }
.tm-mega__gtitle { border-bottom: 1px solid var(--tm-gold); font-family: var(--tm-serif); font-size: 21px; font-weight: 600; }
.tm-mega__root.is-active { color: var(--tm-cream); }
.tm-drawer__title { font-size: 26px; font-weight: 600; color: var(--tm-green); }
.tm-drawer__dot { border-radius: 50%; box-shadow: 0 0 0 1px var(--tm-gold); }

/* Липка шапка: назва без підпису, в один рядок. */
@media (min-width: 1024px) {
	.tm-header.is-stuck .tm-mainbar { border-top: 0; box-shadow: 0 6px 20px rgba(12, 36, 27, .28); }
	.tm-header.is-stuck .tm-brand__text { display: flex; }
	.tm-header.is-stuck .tm-brand__tag, .tm-header.is-stuck .tm-brand__logo { display: none; }
	.tm-header.is-stuck .tm-brand__name { font-size: 30px; }
	.tm-header.is-stuck .tm-action--account { display: inline-flex; }
	.tm-header.is-stuck .tm-action span:not(.tm-cart-count) { display: none; }
	.tm-header.is-stuck .tm-action { min-width: 44px; }
}

/* Заголовки секцій: назва між подвійними лініями ---------------------------- */
.tm-section { padding-top: 64px; }
.tm-section__head { flex-direction: column; align-items: center; gap: 8px; margin-bottom: 30px; text-align: center; }
.tm-section__head h2,
.related.products > h2, .upsells.products > h2 { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); width: 100%; margin: 0; font-family: var(--tm-serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; text-align: center; }
.tm-section__head h2::before, .tm-section__head h2::after,
.related.products > h2::before, .related.products > h2::after,
.upsells.products > h2::before, .upsells.products > h2::after { content: ""; flex: 1; min-width: 16px; height: 3px; border-top: 1px solid var(--tm-gold); border-bottom: 1px solid var(--tm-gold); }
.related.products > h2, .upsells.products > h2 { margin-bottom: 28px; }
.tm-section__head a { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-red); text-decoration: none; }
.tm-section__head a:hover { color: var(--tm-green); }

/* Головна: банер у веджвудському блакитному з подвійною рамкою ------------- */
.tm-hero-row { gap: 24px; padding-top: 32px; }
.tm-hero { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start; gap: 18px; padding: 64px 60px; background: var(--tm-blue); color: var(--tm-surface); }
.tm-hero::after { content: ""; position: absolute; inset: 12px; z-index: 1; border: 1px solid var(--tm-gold-light); outline: 1px solid var(--tm-gold-light); outline-offset: -6px; pointer-events: none; }
.tm-hero--image::before, .tm-hero__stitch { display: none; }
.tm-hero--image { grid-template-columns: minmax(0, 1fr) clamp(200px, 26%, 300px); column-gap: 48px; }
.tm-hero--image > * { grid-column: 1; }
.tm-hero--image > .tm-hero__img { position: relative; z-index: 2; inset: auto; grid-column: 2; grid-row: 1 / span 5; align-self: center; justify-self: center; width: 100%; height: auto !important; aspect-ratio: 4 / 5; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--tm-blue), 0 0 0 7px var(--tm-gold-light), 0 0 0 12px var(--tm-blue), 0 0 0 13px var(--tm-gold-light); }
.tm-hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 600; line-height: 1.02; color: var(--tm-surface); text-wrap: balance; }
.tm-hero p { color: #EEF2F6; }

.tm-promo { border: 1px solid var(--tm-line); padding: 30px; }
.tm-promo::after { content: ""; position: absolute; inset: 8px; z-index: 1; border: 1px solid rgba(168, 138, 74, .55); pointer-events: none; }
.tm-promo__title { font-size: 32px; font-weight: 600; line-height: 1.08; }
.tm-promo:hover .tm-promo__title { text-decoration-thickness: 1px; }

.tm-benefits { margin-top: 24px; padding: 22px 24px; border-width: 1px 0; border-color: var(--tm-gold); background: transparent; box-shadow: 0 3px 0 -2px var(--tm-gold), 0 -3px 0 -2px var(--tm-gold); }
.tm-benefits__icon { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--tm-gold); color: var(--tm-green); }
.tm-benefits__text b { font-family: var(--tm-serif); font-size: 20px; font-weight: 600; line-height: 1.15; }

/* Категорії — овальні камеї ------------------------------------------------ */
.tm-cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 24px; }
.tm-cat-tile { align-items: center; gap: 16px; overflow: visible; padding: 6px 0; background: none; border: 0; text-align: center; }
.tm-cat-tile:hover { transform: none; color: var(--tm-red); }
.tm-cat-tile__img { width: 82%; height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 5px var(--tm-bg), 0 0 0 6px var(--tm-gold); transition: box-shadow .15s; }
.tm-cat-tile:hover .tm-cat-tile__img { box-shadow: 0 0 0 5px var(--tm-bg), 0 0 0 7px var(--tm-red); }
.tm-cat-tile__name { justify-content: center; padding: 0; font-family: var(--tm-serif); font-size: 23px; font-weight: 600; line-height: 1.12; }
.tm-cat-tile__name .tm-icon { display: none; }

.tm-store__text h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; }

/* Картки товарів ----------------------------------------------------------- */
.woocommerce ul.products, ul.products.tm-products { gap: 22px; }
.woocommerce ul.products li.product.tm-card, .tm-card { gap: 8px; padding: 14px 14px 16px; }
.tm-card:hover { border-color: var(--tm-gold); box-shadow: 0 10px 24px rgba(36, 33, 28, .1); }
.tm-card__img { overflow: visible; background-color: var(--tm-green-tint); }
.tm-card__title { font-weight: 600; }
.tm-card__title:hover { color: var(--tm-red); }
.tm-card__foot { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 6px; }
.tm-card__price { font-family: var(--tm-serif); font-size: 30px; font-weight: 700; line-height: 1; }
.tm-card__price del { font-family: var(--tm-font); }
.woocommerce a.button.tm-card__buy, .tm-card__buy { width: 100%; height: 46px; min-height: 46px; gap: 8px; padding: 0 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--tm-green); color: var(--tm-green); font-size: 12px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.tm-card__buy .tm-icon { width: 18px; height: 18px; }
.woocommerce a.button.tm-card__buy:hover, .tm-card__buy:hover { background: var(--tm-green); color: var(--tm-cream); }
.tm-card .tm-step { width: 100%; height: 46px; justify-content: space-between; }
.tm-card .tm-step button { width: 52px; height: 46px; }

/* Значок — паперова бірка на нитці. */
.tm-badge, .tm-single div.product > .onsale { top: 12px; left: -6px; padding: 5px 12px 5px 20px; background: var(--tm-red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-5deg); transform-origin: left center; box-shadow: 0 2px 5px rgba(36, 33, 28, .22); }
.tm-badge::before, .tm-single div.product > .onsale::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--tm-surface); }
.tm-single div.product > .onsale { left: 8px; }

.tm-stock { font-size: 12px; font-weight: 600; letter-spacing: .04em; }

/* Каталог ------------------------------------------------------------------ */
.tm-crumbs { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tm-subcat { border-radius: 999px; }
.tm-subcat__dot { box-shadow: 0 0 0 1px var(--tm-gold); }
.tm-filters__title { font-family: var(--tm-serif); font-size: 26px; font-weight: 600; }
.tm-fgroup__title { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-ink-2); }
.tm-check__box { border-width: 1px; }
.tm-chip { border-radius: 2px; box-shadow: inset 0 0 0 1px var(--tm-line); background: var(--tm-surface); color: var(--tm-green); }
.tm-chip:hover { background: var(--tm-green-tint); color: var(--tm-green); }
.tm-chip--reset { box-shadow: none; background: none; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: var(--tm-cream); }

/* Сторінка товару ---------------------------------------------------------- */
.tm-single .product_title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; line-height: 1.08; }
.tm-buybox .price { font-family: var(--tm-serif); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.tm-buybox .price del { font-family: var(--tm-font); }
.tm-buybox .stock { border-radius: 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tm-infobox__title { font-family: var(--tm-serif); font-size: 21px; font-weight: 600; }
.woocommerce-tabs ul.tabs li a { font-size: 12px; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; }
.woocommerce-tabs ul.tabs li.active a { color: var(--tm-green) !important; border-bottom-width: 2px; }
.woocommerce-product-gallery__trigger { background: var(--tm-surface); }
.tm-buybar__price { font-family: var(--tm-serif); font-size: 26px; font-weight: 700; }

/* Кошик, оформлення, кабінет ----------------------------------------------- */
.woocommerce .cart-collaterals h2, .woocommerce-checkout h3, #order_review_heading { font-size: 30px; font-weight: 600; }
.woocommerce table.shop_table thead th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce-checkout #order_review .order-total .amount, .tm-mini__total b { font-family: var(--tm-serif); font-size: 32px; font-weight: 700; }
.tm-mini__title { font-size: 30px; font-weight: 600; color: var(--tm-green); }
.tm-ship__card, .tm-sum-toggle, .tm-thanks, .tm-ac { border-color: var(--tm-line) !important; border-radius: 2px !important; background: var(--tm-surface) !important; }
.tm-ship__card.is-checked, .tm-ship__card:has(input:checked) { border-color: var(--tm-green) !important; box-shadow: inset 0 0 0 1px var(--tm-green); background: #EEF1E6 !important; }
.tm-ship__card input, #payment ul.payment_methods li input { accent-color: var(--tm-green); }
.tm-ship__card:focus-within { outline-color: var(--tm-green); }
.tm-ac li { border-radius: 2px !important; }
.tm-ac li:hover, .tm-ac li.is-active { background: var(--tm-green-tint) !important; }
.tm-comment-toggle { color: var(--tm-green) !important; }
.tm-field-error { color: var(--tm-red) !important; }
.tm-invalid input, .tm-invalid textarea, .tm-invalid select { border-color: var(--tm-red) !important; }
.tm-delivery__pickup { border-radius: 2px !important; background: var(--tm-green-tint) !important; color: var(--tm-green) !important; }
.tm-loading::after { border-color: var(--tm-line) !important; border-top-color: var(--tm-green) !important; }
.tm-thanks__title { font-family: var(--tm-serif); font-size: clamp(30px, 3.4vw, 42px) !important; font-weight: 600; line-height: 1.1; }
.tm-status { border-radius: 2px !important; letter-spacing: .06em; text-transform: uppercase; font-size: 11px !important; }

.tm-prose h2 { font-size: 34px; }
.tm-prose h3 { font-size: 26px; }
.tm-entry__title { font-size: 30px; }

/* Підвал -------------------------------------------------------------------- */
.tm-footer { background: var(--tm-green); }
.tm-footer__name { font-size: 32px; font-weight: 600; color: var(--tm-cream); }
.tm-footer__title { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--tm-gold-light); }
.tm-footer a:hover { color: var(--tm-gold-light); text-decoration: none; }
.tm-footer__strong, .tm-footer .tm-insta { color: var(--tm-cream) !important; font-weight: 700; }
.tm-footer__pay span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tm-gold-light); }

.tm-toast { background: var(--tm-green-deep); color: var(--tm-cream); }
.tm-toast a { color: var(--tm-gold-light); }
.tm-step { color: var(--tm-cream); }
.tm-step--light { color: var(--tm-ink); box-shadow: inset 0 0 0 1px var(--tm-field); }

/* Планшет і телефон --------------------------------------------------------- */
@media (max-width: 1023px) {
	.tm-mainbar { border-top: 0; }
	.tm-mainbar__inner { display: flex; }
	.tm-mainbar__left { display: contents; }
	.tm-burger { background: transparent; box-shadow: inset 0 0 0 1px var(--tm-gold-light); color: var(--tm-cream); }
	.tm-brand { justify-content: flex-start; }
	.tm-brand__text { align-items: flex-start; }
	.tm-brand__name { font-size: 27px; }
	.tm-brand__tag { display: none; }
	.tm-search { max-width: none; }
	.tm-stitch { height: 10px; background-size: 10px 10px; }
	.tm-tabbar { background: var(--tm-surface); border-top-color: var(--tm-gold); }
	.tm-tabbar a, .tm-tabbar button { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
	.tm-tabbar [aria-current="page"] { font-weight: 700; }
	.tm-tabbar .tm-cart-count { box-shadow: 0 0 0 2px var(--tm-surface); }
	.tm-hero { padding: 48px 40px; }
	.tm-js .tm-filters { border-radius: 0; border-top: 1px solid var(--tm-gold); }
}
@media (max-width: 767px) {
	.tm-hero { padding: 40px 30px; gap: 14px; }
	.tm-hero--image { grid-template-columns: minmax(0, 1fr); }
	.tm-hero--image > .tm-hero__img { grid-column: 1; grid-row: auto; order: 9; width: min(200px, 60%); margin: 16px 0 14px; }
	.tm-promo { padding: 22px; }
	.tm-promo__title { font-size: 25px; }
	.tm-benefits { border: 0; box-shadow: none; padding: 0 16px; }
	.tm-benefits li { border-radius: 2px; }
	.tm-section { padding-top: 44px; }
	.tm-section__head { margin-bottom: 20px; }
	.tm-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
	.tm-cat-tile { gap: 12px; }
	.tm-cat-tile__img { height: auto; width: 86%; }
	.tm-cat-tile__name { padding: 0; font-size: 17px; }
	.woocommerce ul.products, ul.products.tm-products { gap: 10px; }
	.woocommerce ul.products li.product.tm-card, .tm-card { padding: 10px 10px 12px; border-radius: 2px; }
	.tm-card__price { font-size: 25px; }
	.woocommerce a.button.tm-card__buy, .tm-card__buy { width: 100%; height: 42px; min-height: 42px; font-size: 11px; letter-spacing: .12em; }
	.tm-card .tm-step, .tm-card .tm-step button { height: 42px; }
	.tm-badge { left: -4px; top: 8px; padding: 4px 9px 4px 17px; font-size: 10px; }
	.tm-buybox .price { font-size: 42px; }
}

/* Поверх типових стилів WooCommerce (вони специфічніші за наші класи). */
.woocommerce ul.products li.product a.button.tm-card__buy { display: inline-flex; margin-top: 0; }
.woocommerce div.product .tm-buybox p.price, .woocommerce div.product .tm-buybox span.price { font-size: 52px; color: var(--tm-ink); }
.woocommerce div.product .tm-buybox p.price del { font-size: 22px; opacity: 1; }
.woocommerce div.product .tm-buybox .stock.tm-stock--in { color: var(--tm-green); }
.woocommerce div.product .tm-buybox .stock.tm-stock--low { color: #6B4300; }
.woocommerce div.product .tm-buybox .stock.tm-stock--out { color: var(--tm-gray); }
@media (max-width: 767px) {
	.woocommerce div.product .tm-buybox p.price, .woocommerce div.product .tm-buybox span.price { font-size: 42px; }
}
.tm-search input[type="search"]::-webkit-search-cancel-button { filter: grayscale(1) brightness(3); }
@media (min-width: 1024px) {
	.tm-suggest { right: auto; width: max(100%, 480px); }
}
