/* ==========================================================================
   Black T-Shirt — main styles
   Design: Figma "E-commerce - BLACK T-SHIRT", desktop 1440.
   ========================================================================== */

@font-face {
	font-family: "Host Grotesk";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/host-grotesk-latin.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;
}

/* ---------- Tokens ---------- */
:root {
	--c-black: #000;
	--c-white: #fff;
	--c-txt: #000;           /* primari-txt */
	--c-txt-2: #181818;      /* secondary-txt */
	--c-bg: #fff;            /* primary-bg */
	--c-bg-2: #f6f6f6;       /* secondary-bg / neutral-50 */
	--c-n100: #d9d9d9;
	--c-n200: #d0d0d0;
	--c-n300: #808080;
	--c-n400: #333;
	--c-red: #dc402f;
	--c-disabled: #717171;

	--font: "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1440px;
	--gutter: 60px;
	--radius: 12px;
	--header-h: 119px;
	--ease: cubic-bezier(.4, 0, .2, 1);
	--t: .2s var(--ease);
}

@media (max-width: 1280px) { :root { --gutter: 40px; } }
@media (max-width: 1024px) { :root { --gutter: 24px; --header-h: 116px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-txt);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 12px 16px; background: var(--c-black); color: var(--c-white); border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon { flex-shrink: 0; }

/* ---------- Typography (heading PC styles) ---------- */
.h1 { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; }
.h2 { font-size: 40px; font-weight: 600; line-height: 1.3; }
.h3 { font-size: 32px; font-weight: 700; line-height: 1.3; }
.h4 { font-size: 24px; font-weight: 600; line-height: 1.3; }
.h5 { font-size: 20px; font-weight: 600; line-height: 1.3; }

@media (max-width: 1024px) {
	.h1 { font-size: 36px; }
	.h2 { font-size: 32px; }
	.h3 { font-size: 28px; }
	.h4 { font-size: 22px; }
}
@media (max-width: 640px) {
	.h1 { font-size: 30px; letter-spacing: .5px; }
	.h2 { font-size: 26px; }
	.h3 { font-size: 24px; }
	.h4 { font-size: 20px; }
	.h5 { font-size: 18px; }
}

/* ==========================================================================
   Components (Figma "others" page)
   ========================================================================== */

/* Buttons: primary (white) / secondary (black). Arrow icon 20px. */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 15px 23px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--t), color var(--t), border-color var(--t);
}
.btn .icon { width: 20px; height: 20px; transition: transform var(--t); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--c-white); color: #040404; }
.btn--primary:hover { background: #cecece; }

.btn--secondary { gap: 16px; padding-inline: 31px; background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.btn--secondary:hover { background: var(--c-white); color: var(--c-black); }

/* Outline (on dark backgrounds) */
.btn--outline { background: transparent; border-color: var(--c-white); color: var(--c-white); }
.btn--outline:hover { background: var(--c-white); color: var(--c-black); }

.btn:disabled, .btn.is-disabled, .btn[aria-disabled="true"] {
	background: var(--c-disabled); border-color: var(--c-disabled); color: #2e2e2e; pointer-events: none; cursor: default;
}
.btn--secondary:disabled, .btn--secondary.is-disabled { color: var(--c-n400); }

/* Slider arrow 46×54 */
.arrow-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 54px;
	background: var(--c-black); color: var(--c-white);
	border: .5px solid var(--c-white); border-radius: 10px;
	transition: background-color var(--t), border-color var(--t), color var(--t);
}
.arrow-btn .icon { width: 24px; height: 24px; }
.arrow-btn--prev .icon { transform: scaleX(-1); }
.arrow-btn:hover { background: var(--c-n400); border-color: var(--c-bg-2); }
.arrow-btn:disabled, .arrow-btn.is-disabled { background: var(--c-n200); border-color: var(--c-n300); color: var(--c-n300); cursor: default; }

/* FAQ / accordion toggle 48×48: plus → hover box → white box with cross */
.toggle-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; flex-shrink: 0;
	border: 1px solid transparent; border-radius: var(--radius);
	color: var(--c-black);
	transition: background-color var(--t), border-color var(--t);
}
.toggle-btn .icon { width: 32px; height: 32px; transition: transform .3s var(--ease); }
.toggle-btn:hover { background: #d7d7d7; border-color: #252525; }
.is-open > * > .toggle-btn, .toggle-btn[aria-expanded="true"] { background: var(--c-white); border-color: transparent; }
.toggle-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }

/* Badges */
.badge {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 6px 4px;
	background: var(--c-white);
	border: .5px solid var(--c-black); border-radius: 4px;
	font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .42px;
	text-transform: uppercase; white-space: nowrap;
}
.badge--bestseller { min-width: 93px; }
.badge--sale { border-color: var(--c-red); color: var(--c-red); }

/* Price */
.price-box { display: flex; align-items: flex-end; gap: 8px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.price-box__from { font-weight: 400; }
.price-box__current { font-size: 14px; }
.price-box__old { font-size: 14px; color: #111314; opacity: .4; }
.price-box__old del { text-decoration-thickness: from-font; }
.price-box__sale { font-size: 16px; color: var(--c-red); }

/* Rating stars (5 × 16px, gap 1px): grey base + black fill clipped to --rating % */
.rating { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; }
.rating__stars { position: relative; display: block; }
.rating__base, .rating__fill { display: flex; gap: 1px; }
.rating__base { color: var(--c-n200); }
.rating__fill { position: absolute; inset: 0 auto 0 0; width: var(--rating, 0%); overflow: hidden; color: #111314; }
.rating__stars .icon { width: 16px; height: 16px; }

/* Favorite (heart) toggle */
.fav-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: -4px;
	color: var(--c-black);
	transition: transform var(--t);
}
.fav-btn .icon { width: 24px; height: 24px; }
.fav-btn:hover { transform: scale(1.12); }
.fav-btn__on { display: none; }
.fav-btn[aria-pressed="true"] .fav-btn__on { display: block; animation: fav-pop .35s var(--ease); }
.fav-btn[aria-pressed="true"] .fav-btn__off { display: none; }
@keyframes fav-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-bg);
	box-shadow: 0 0 31px rgba(0, 0, 0, .08);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-top { background: var(--c-bg); border: .7px solid var(--c-n100); }
.header-top__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	padding-block: 6px;
}

.header-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; margin-left: -8px; }

.header-logo { flex-shrink: 0; }
.header-logo img { width: 216px; height: 54px; }

.header-search {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 1 733px;
	margin-right: auto;
	padding: 11px 12px;
	background: var(--c-bg-2);
	border: 1px solid var(--c-n100);
	border-radius: var(--radius);
	transition: border-color var(--t), background-color var(--t);
}
.header-search:focus-within { border-color: var(--c-black); background: var(--c-white); }
.header-search__submit { display: flex; opacity: .75; }
.header-search__input {
	flex: 1;
	min-width: 0;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	outline: none;
	font-size: 14px;
	letter-spacing: .42px;
	line-height: normal;
}
.header-search__input::placeholder { color: var(--c-black); opacity: .75; }
.header-search__input::-webkit-search-cancel-button { cursor: pointer; }

.header-actions { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }
.header-action {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	letter-spacing: .14px;
	line-height: normal;
	white-space: nowrap;
	transition: opacity var(--t);
}
.header-action:hover { opacity: .6; }
.header-action__count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 21px; height: 22px; margin-left: 4px; padding: 4px;
	background: var(--c-n100); border-radius: 6px;
	font-size: 12px; font-weight: 600; letter-spacing: .12px; line-height: normal;
}
.header-action__count.is-empty { display: none; }

/* Main nav */
.header-nav { background: var(--c-bg); }
.header-nav__head { display: none; }
.main-nav__list { display: flex; align-items: center; justify-content: center; gap: 32px; min-height: 51px; }
.main-nav__list > li { position: relative; display: flex; align-items: center; gap: 6px; }
.main-nav__list a {
	display: block;
	font-size: 14px;
	letter-spacing: .14px;
	line-height: normal;
	transition: opacity var(--t);
}
.main-nav__list > li > a { padding-block: 16px; }
.main-nav__list > li > a:hover,
.main-nav__list > .current-menu-item > a,
.main-nav__list > .current-menu-ancestor > a { opacity: .6; }
.main-nav__list > .current-menu-item > a { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
.main-nav__toggle { display: flex; align-items: center; width: 16px; height: 16px; transition: transform var(--t); }
.main-nav__list > li:hover > .main-nav__toggle,
.main-nav__list > li:focus-within > .main-nav__toggle { transform: rotate(180deg); }

.main-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 10;
	min-width: 200px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: var(--c-white);
	border: 1px solid var(--c-n100);
	border-radius: var(--radius);
	box-shadow: 0 12px 31px rgba(0, 0, 0, .08);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.main-nav__list > li:hover > .sub-menu,
.main-nav__list > li:focus-within > .sub-menu,
.main-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav__list .sub-menu a { padding: 10px 12px; border-radius: 8px; transition: background-color var(--t); }
.main-nav__list .sub-menu a:hover { background: var(--c-bg-2); }

.header-overlay { display: none; }

/* Header: tablet / mobile */
@media (max-width: 1200px) {
	.header-actions { gap: 20px; }
	.header-action__label { display: none; }
	.header-action__count { position: absolute; top: -8px; right: -12px; margin: 0; min-width: 18px; height: 18px; padding: 2px 4px; font-size: 11px; }
}

@media (max-width: 1024px) {
	.header-top__inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px 12px; }
	.header-burger { display: inline-flex; order: 1; }
	.header-logo { order: 2; margin-right: auto; }
	.header-logo img { width: 144px; height: 36px; }
	.header-actions { order: 3; }
	.header-search { order: 4; flex: 1 1 100%; margin: 0; padding-block: 9px; }

	.header-nav {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 110;
		width: min(360px, 88vw);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .header-nav { top: 46px; }
	.is-menu-open .header-nav { transform: none; visibility: visible; }
	.header-nav__head {
		display: flex; align-items: center; justify-content: space-between;
		padding: 16px var(--gutter); border-bottom: 1px solid var(--c-n100);
	}
	.header-nav__head img { width: 144px; height: 36px; }
	.header-nav__close { display: flex; margin-right: -8px; }

	.main-nav { padding-block: 8px; }
	.main-nav__list { display: block; min-height: 0; }
	.main-nav__list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--c-bg-2); }
	.main-nav__list > li > a { flex: 1; padding-block: 16px; font-size: 16px; }
	.main-nav__toggle { width: 40px; height: 40px; justify-content: center; }
	.main-nav__list > li:hover > .main-nav__toggle,
	.main-nav__list > li:focus-within > .main-nav__toggle { transform: none; }
	.main-nav__list > li.is-open > .main-nav__toggle { transform: rotate(180deg); }
	.main-nav__list .sub-menu {
		position: static; display: none; flex-basis: 100%;
		min-width: 0; padding: 0 0 12px 12px; border: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.main-nav__list > li:hover > .sub-menu,
	.main-nav__list > li:focus-within > .sub-menu { transform: none; }
	.main-nav__list > li.is-open > .sub-menu { display: block; transform: none; }
	.main-nav__list .sub-menu a { font-size: 15px; }

	.header-overlay {
		position: fixed; inset: 0; z-index: 105;
		display: block; background: rgba(0, 0, 0, .4);
		opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
	}
	.is-menu-open .header-overlay { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
	.header-actions { gap: 16px; }
	.header-action .icon { width: 22px; height: 22px; }
}

/* ==========================================================================
   Running line (marquee)
   ========================================================================== */
.marquee { overflow: hidden; background: var(--c-txt-2); color: var(--c-white); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__item { display: flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; line-height: 1.3; }
.marquee__flag { width: 32px; height: 21px; border-radius: 1.6px; }
.marquee__icon { width: 32px; height: 32px; }

.marquee--lg .marquee__item { min-height: 72px; font-size: 24px; }
.marquee--md .marquee__item { min-height: 72px; font-size: 20px; }

@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

@media (max-width: 640px) {
	.marquee--lg .marquee__item, .marquee--md .marquee__item { min-height: 56px; font-size: 18px; gap: 20px; padding-right: 20px; }
	.marquee__flag { width: 26px; height: 17px; }
	.marquee__icon { width: 26px; height: 26px; }
}

/* ==========================================================================
   Subscribe banner
   ========================================================================== */
.subscribe { position: relative; overflow: hidden; background: var(--c-black); color: var(--c-white); }
.subscribe__bg { position: absolute; inset: 0; }
.subscribe__bg picture, .subscribe__img { width: 100%; height: 100%; }
.subscribe__img { object-fit: cover; object-position: right center; }
.subscribe__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, 0) 71.7%, #000 100%),
		linear-gradient(270deg, rgba(0, 0, 0, 0) 3.16%, #000 72.08%);
}
.subscribe__inner { position: relative; min-height: 507px; padding-block: 100px; }
.subscribe__content { display: flex; flex-direction: column; gap: 16px; max-width: 481px; }
.subscribe__title { font-size: 40px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.subscribe__text { max-width: 480px; font-size: 16px; line-height: 1.6; letter-spacing: .16px; }
.subscribe__text strong, .subscribe__text b { font-weight: 700; }

/* CF7 subscribe form: input 320 + white button, no gap (design) */
.subscribe-form { margin-top: 32px; max-width: 480px; }
.subscribe-form .form-row { display: flex; align-items: flex-start; }
.subscribe-form .wpcf7-form-control-wrap { flex: 0 1 320px; min-width: 0; }
.subscribe-form input[type="email"] {
	width: 100%;
	height: 52px;
	padding: 16px;
	background: #191919;
	border: 1px solid #404040;
	border-radius: var(--radius);
	color: var(--c-white);
	font-size: 14px;
	letter-spacing: .14px;
	line-height: 1.3;
	outline: none;
	transition: border-color var(--t);
}
.subscribe-form input[type="email"]::placeholder { color: var(--c-white); opacity: .75; }
.subscribe-form input[type="email"]:focus { border-color: var(--c-white); }
.subscribe-form .wpcf7-submit {
	flex-shrink: 0;
	height: 52px;
	padding: 16px 56px 16px 24px;
	background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23040404' stroke-width='1.894' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.253 4.5 3.703 3.66a2.75 2.75 0 0 1 0 4.04l-3.703 3.66M2 10.18h13.633'/%3E%3C/svg%3E") no-repeat right 24px center / 20px;
	border: 0;
	border-radius: var(--radius);
	color: #040404;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color var(--t);
}
.subscribe-form .wpcf7-submit:hover { background-color: #cecece; }
.subscribe-form .wpcf7-spinner { position: absolute; margin: 14px 0 0 8px; }
.subscribe-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #ff8a7d; }
.subscribe-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 10px 14px !important; border-radius: 8px; font-size: 14px; }

@media (max-width: 1024px) {
	.subscribe__img { opacity: .55; }
	.subscribe__inner { min-height: 0; padding-block: 64px; }
	.subscribe__title { font-size: 32px; }
}
@media (max-width: 480px) {
	.subscribe__title { font-size: 26px; }
	.subscribe-form .form-row { flex-direction: column; gap: 8px; }
	.subscribe-form .wpcf7-form-control-wrap, .subscribe-form .wpcf7-submit { flex-basis: auto; width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main { background: var(--c-bg-2); border-top: 1px solid #757575; padding-top: 80px; }
.footer-main__grid { display: flex; justify-content: space-between; gap: 40px; }

.footer-about { display: flex; flex-direction: column; gap: 30px; width: 301px; flex-shrink: 0; }
.footer-about__title { font-size: 32px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.footer-about__text { margin-top: -20px; font-size: 16px; line-height: 1.5; letter-spacing: .48px; color: var(--c-txt-2); }

.socials { display: flex; }
.socials li + li { margin-left: -1px; }
.socials__link {
	display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px;
	border: 1px solid var(--c-black); border-radius: var(--radius);
	color: #312b36;
	transition: background-color var(--t), color var(--t);
}
.socials__link .icon { width: 30px; height: 30px; }
.socials__link:hover { background: var(--c-black); color: var(--c-white); }

.footer-cols { display: flex; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 30px; width: 160px; }
.footer-col--support { width: 200px; }
.footer-col--contact { width: 260px; }
.footer-col__title { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: .18px; text-transform: uppercase; }
.footer-col__list { display: flex; flex-direction: column; gap: 16px; }
.footer-col__list a {
	font-size: 16px; line-height: 1.3; letter-spacing: .8px; text-transform: uppercase; color: var(--c-txt-2);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
	transition: background-size var(--t);
}
.footer-col__list a:hover, .footer-col__list .current-menu-item > a { background-size: 100% 1px; }

.footer-contacts { display: flex; flex-direction: column; gap: 18px; }
.footer-contacts li { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: .54px; }
.footer-contacts .icon { width: 24px; height: 24px; }
.footer-contacts a { transition: opacity var(--t); }
.footer-contacts a:hover { opacity: .6; }

.footer-logo { margin-top: 124px; }
.footer-logo__svg { width: 100%; height: auto; }

.footer-bottom { background: var(--c-black); color: var(--c-white); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 16px; }
.footer-bottom__copy { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: .48px; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.payments__item {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 32px; padding: 6px 10px;
	background: var(--c-white); border: 1px solid rgba(31, 32, 40, .1); border-radius: 4px;
}
.payments__item img { max-height: 18px; width: auto; }
.payments__item--paypal img { width: 40px; }
.payments__item--link img { width: 36px; }

@media (max-width: 1280px) {
	.footer-main__grid { flex-direction: column; gap: 48px; }
	.footer-about { width: auto; max-width: 420px; }
	.footer-cols { justify-content: space-between; }
}
@media (max-width: 1024px) {
	.footer-main { padding-top: 56px; }
	.footer-cols { flex-wrap: wrap; gap: 40px 24px; }
	.footer-col, .footer-col--support, .footer-col--contact { width: calc(50% - 12px); gap: 20px; }
	.footer-logo { margin-top: 64px; }
}
@media (max-width: 640px) {
	.footer-about__title { font-size: 26px; }
	.footer-col, .footer-col--support { width: calc(50% - 12px); }
	.footer-col--contact { width: 100%; }
	.footer-col__list a { font-size: 14px; letter-spacing: .5px; }
	.footer-contacts li { font-size: 16px; }
	.footer-logo { margin-top: 48px; }
	.footer-bottom__inner { flex-direction: column-reverse; align-items: flex-start; }
	.footer-bottom__copy { font-size: 14px; }
}

/* ==========================================================================
   Section: Hero slider
   ========================================================================== */
.hero {
	--hero-delay: 6000ms;
	position: relative;
	overflow: hidden;
	height: clamp(520px, 45.07vw, 760px); /* 649 @ 1440 */
	background: var(--c-black);
	color: var(--c-white);
	touch-action: pan-y;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.hero__bg { position: absolute; inset: 0; }
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 85.2%);
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	transition: transform 7s linear;
}
.hero__slide.is-active .hero__img { transform: scale(1); }

.hero__inner { position: relative; display: flex; align-items: center; height: 100%; }
.hero__content { display: flex; flex-direction: column; gap: 48px; width: 487px; max-width: 100%; }
.hero__text-group { display: flex; flex-direction: column; gap: 12px; }
.hero__title { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.hero__text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; }
.hero__line { display: block; height: 1px; background: #565656; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Content reveal on slide change */
/* Outgoing text fades out fast; incoming waits until it's gone (no overlapping texts) */
.hero__content > * { opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; transition-duration: .6s; transition-delay: .35s; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .45s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .55s; }
.hero.no-anim .hero__content > * { transition: none; }

/* Vertical pagination with autoplay progress ring */
.hero__nav {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.hero__dots {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 5px;
	background: var(--c-black);
	border-radius: 16px;
	pointer-events: auto;
}
.hero__dot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 16px;
}
.hero__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-white);
	opacity: .5;
	transition: opacity var(--t);
}
.hero__dot:hover::before { opacity: .8; }
.hero__dot.is-active { height: 22px; }
.hero__dot.is-active::before { opacity: 1; }
.hero__ring { position: absolute; inset: 0; margin: auto; opacity: 0; transform: rotate(-90deg); }
.hero__dot.is-active .hero__ring { opacity: 1; }
.hero__progress { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hero__dot.is-active .hero__progress { animation: hero-progress var(--hero-delay) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__progress { animation-play-state: paused; }
.hero.is-static .hero__progress { animation: none; stroke-dashoffset: 0; }
@keyframes hero-progress { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	.hero__slide, .hero__img, .hero__content > * { transition: none; }
	.hero__img { transform: none; }
}

@media (max-width: 1024px) {
	.hero__title { font-size: 36px; }
	.hero__content { gap: 32px; }
}
@media (max-width: 767px) {
	.hero { height: auto; min-height: min(640px, 100svh - var(--header-h)); }
	.hero__slide { display: flex; }
	.hero__bg::after { background: linear-gradient(0deg, #000 25%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .15) 100%); }
	.hero__inner { align-items: flex-end; padding-block: 40px 72px; }
	.hero__content { gap: 24px; }
	.hero__title { font-size: 30px; letter-spacing: .3px; }
	.hero__buttons .btn { flex: 1 1 auto; }
	/* Same vertical pill as desktop, on the right over the image */
	.hero__nav { top: 35%; }
	.hero__text-group { padding-right: 44px; }
}

/* ==========================================================================
   Shared: section head (title + link), arrow link
   ========================================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.section-head__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.section-head--light { color: var(--c-white); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	/* Underline drawn as a background: on hover it shrinks to 0 towards the right,
	   on leave it grows back from the left. */
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.link-arrow:hover, .link-arrow:focus-visible { background-position: 100% 100%; background-size: 0 1px; }
.link-arrow .icon { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

@media (max-width: 1024px) { .section-head__title { font-size: 32px; } }
@media (max-width: 640px)  { .section-head__title { font-size: 26px; } }

/* ==========================================================================
   Shared: page section spacing, centered title, actions
   ========================================================================== */
.section { margin-block: 100px; }
.section-title { margin-bottom: 40px; font-size: 40px; font-weight: 600; line-height: 1.3; text-align: center; }
.section-actions { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 1024px) {
	.section { margin-block: 72px; }
	.section-title { margin-bottom: 32px; font-size: 32px; }
}
@media (max-width: 640px) {
	.section { margin-block: 56px; }
	.section-title { margin-bottom: 24px; font-size: 26px; }
}

/* ==========================================================================
   Product card (Figma "products-card")
   ========================================================================== */
.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--c-white);
	border: 1px solid #eee;
	transition: box-shadow .3s var(--ease);
}
.product-card:hover { box-shadow: 0 12px 31px rgba(0, 0, 0, .08); }
.product-card__media { position: relative; aspect-ratio: 330 / 391; overflow: hidden; background: #f8f8f8; }
.product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.product-card__img--hover { opacity: 0; }
.product-card.has-hover-img:hover .product-card__img--hover { opacity: 1; }
.product-card:not(.has-hover-img):hover .product-card__img { transform: scale(1.04); }
.product-card__top {
	position: absolute;
	inset: 16px 16px auto;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.product-card__fav { margin-left: auto; }
.product-card__body { display: flex; flex-direction: column; gap: 20px; flex: 1; padding: 16px; }
.product-card__info { display: flex; flex-direction: column; gap: 4px; }
.product-card__title { font-size: 18px; font-weight: 600; line-height: 1.5; }
.product-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__link:focus-visible { outline: none; }
.product-card:has(.product-card__link:focus-visible) { outline: 2px solid var(--c-black); outline-offset: 2px; }
.product-card__price { margin-top: auto; }
.product-card .price-box .amount { font-weight: 700; }

@media (max-width: 640px) {
	.product-card__top { inset: 10px 10px auto; }
	.product-card .badge { padding: 4px; font-size: 12px; }
	.product-card .badge--bestseller { min-width: 0; }
	.product-card__body { gap: 12px; padding: 12px; }
	.product-card__title { font-size: 16px; }
}

/* ==========================================================================
   Shared: carousel (CSS scroll-snap + arrows, assets/js/main.js)
   --per-view: visible items (fractional = peek of the next one), --gap: gap between items.
   ========================================================================== */
.carousel { position: relative; --per-view: 4; --gap: 0px; }
.carousel__track {
	display: flex;
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
	flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
	min-width: 0;
	scroll-snap-align: start;
}
.carousel__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel__track.is-dragging a { pointer-events: none; }

/* Bleed: track runs to the viewport edges; items outside the container are faded (JS adds .is-out) */
.carousel--bleed { --bleed: calc(var(--gutter) + max(0px, (100vw - var(--container)) / 2)); }
.carousel--bleed .carousel__track {
	margin-inline: calc(-1 * var(--bleed));
	padding-inline: var(--bleed);
	scroll-padding-inline: var(--bleed);
}
.carousel--bleed .carousel__item { transition: opacity .4s var(--ease); }
.carousel--bleed .carousel__item.is-out { opacity: .15; }
@media (max-width: 1024px) { .carousel--bleed .carousel__item.is-out { opacity: 1; } }

.carousel__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); }
.carousel__arrow--prev { left: -23px; }
.carousel__arrow--next { right: -23px; }
.carousel__arrow[hidden] { display: none; }
.carousel__dots.pager { display: flex; width: max-content; max-width: 100%; margin: 20px auto 0; }
/* --touch: bullets only where the arrows are hidden (≤767px) */
@media (min-width: 768px) { .carousel__dots--touch.pager { display: none; } }
@media (max-width: 767px) { .carousel__arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* ==========================================================================
   Shared: pager (pill with dots; active dot has a progress ring)
   ========================================================================== */
.pager {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 10px 0 6px;
	background: var(--c-black);
	border: 2px solid var(--c-white);
	border-radius: 20px;
}
.pager__dot { position: relative; display: flex; align-items: center; justify-content: center; width: 16px; height: 24px; }
.pager__dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c-n200);
	opacity: .5;
	transition: opacity var(--t), width var(--t), height var(--t), background-color var(--t);
}
.pager__dot:hover::before { opacity: .9; }
.pager__dot.is-active { width: 24px; margin-right: 3px; }
.pager__dot.is-active::before { width: 12px; height: 12px; background: var(--c-white); opacity: 1; }
.pager__ring { position: absolute; inset: 0; margin: auto; opacity: 0; transform: rotate(-90deg); }
.pager__dot.is-active .pager__ring { opacity: 1; }
.pager__progress { stroke-dasharray: 100; stroke-dashoffset: 100; }

/* ==========================================================================
   Section: Features timeline ("Quality behind every piece")
   ========================================================================== */
.features { --features-delay: 5000ms; }
.features__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.features__content { flex: 0 1 760px; min-width: 0; }
.features__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.features__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.features__text { font-size: 20px; line-height: 1.6; letter-spacing: .2px; opacity: .8; }

.features__list { display: flex; flex-direction: column; gap: 20px; }
.features__item { position: relative; padding-bottom: 20px; border-bottom: 1px solid var(--c-n200); }
.features__item.is-active { border-bottom-color: #c8c8c8; }
.features__trigger { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.features__trigger, .features__item-text { opacity: .5; transition: opacity .4s var(--ease); }
.features__item.is-active .features__trigger, .features__item.is-active .features__item-text { opacity: 1; }
.features__item:not(.is-active) .features__trigger:hover { opacity: .8; }
.features__num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 37px;
	height: 37px;
	background: var(--c-black);
	border-radius: 8px;
	color: var(--c-white);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}
.features__item-title { font-size: 25px; font-weight: 600; line-height: 1.3; color: #010201; }
.features__item-text { margin-top: 12px; font-size: 16px; line-height: 1.6; letter-spacing: .16px; color: var(--c-n400); }

/* Timeline line under the active item */
.features__line { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--c-black); }
.features__item.is-active .features__line { animation: features-line var(--features-delay) linear forwards; }
@keyframes features-line { from { width: 0; } to { width: 100%; } }

/* Image + pager */
.features__media { position: relative; flex: 0 0 535px; padding-bottom: 24px; }
.features__frame {
	position: relative;
	aspect-ratio: 535 / 752;
	overflow: hidden;
	background: #111;
	border: 2px solid var(--c-black);
	border-radius: 16px;
}
.features__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.features__slide.is-active { opacity: 1; }
.features__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.features__slide.is-active .features__img { transform: scale(1); }
.features__pager { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.features .pager__dot.is-active .pager__progress { animation: hero-progress var(--features-delay) linear forwards; }

/* Shared timeline states */
.features.is-paused .features__item.is-active .features__line,
.features.is-paused .pager__dot.is-active .pager__progress { animation-play-state: paused; }
.features.is-static .features__item.is-active .features__line { animation: none; width: 100%; }
.features.is-static .pager__progress { animation: none !important; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
	.features__slide, .features__img { transition: none; }
	.features__img { transform: none; }
}

@media (max-width: 1200px) {
	.features__media { flex-basis: 42%; }
}
@media (max-width: 1024px) {
	.features__inner { flex-direction: column; gap: 0; }
	.features__content { display: contents; }
	.features__head { order: 1; margin-bottom: 32px; }
	.features__media { order: 2; flex-basis: auto; width: 100%; max-width: 560px; margin: 0 auto 32px; }
	.features__frame { aspect-ratio: 4 / 5; }
	.features__list { order: 3; width: 100%; }
	.features__title { font-size: 32px; }
	.features__text { font-size: 18px; }
	.features__item-title { font-size: 22px; }
}
@media (max-width: 640px) {
	.features__title { font-size: 26px; }
	.features__text { font-size: 16px; }
	.features__head { margin-bottom: 24px; }
	.features__list { gap: 16px; }
	.features__item { padding-bottom: 16px; }
	.features__num { width: 32px; height: 32px; font-size: 14px; }
	.features__item-title { font-size: 19px; }
	.features__item-text { font-size: 15px; }
}

/* ==========================================================================
   Section: Hot Deals
   ========================================================================== */
@media (min-width: 1281px) { .hot__container { padding-inline: 30px; } } /* box is 1380 @ 1440 */
.hot__box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 30px 30px 30px 60px;
	background: var(--c-bg-2);
	border-radius: 16px;
}
/* Dashed border 24/24 (CSS "dashed" can't set dash length) */
.hot__border { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hot__border rect {
	width: calc(100% - 1px);
	height: calc(100% - 1px);
	fill: none;
	stroke: #848484;
	stroke-width: 1;
	stroke-dasharray: 24 24;
}

.hot__info { position: relative; display: flex; flex-direction: column; gap: 32px; flex: 0 1 376px; min-width: 0; }
.hot__head { display: flex; flex-direction: column; gap: 14px; }
.hot__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.hot__text { font-size: 20px; line-height: 1.6; letter-spacing: .2px; color: var(--c-txt-2); opacity: .8; }

.countdown {
	display: inline-flex;
	align-self: flex-start;
	gap: 16px;
	padding: 24px;
	background: var(--c-white);
	border-radius: 16px;
}
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown__value {
	min-width: 64px;
	padding: 14px 16px;
	background: var(--c-black);
	border-radius: 6px;
	color: var(--c-white);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.countdown__label { font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .12px; text-transform: uppercase; opacity: .8; }

.hot__carousel { --per-view: 2; flex: 0 1 659px; min-width: 0; }
.hot--single .hot__carousel { --per-view: 1; flex-basis: 330px; }
.hot__track .carousel__item + .carousel__item { margin-left: -1px; } /* cards share the 1px border */

@media (max-width: 1200px) {
	.hot__box { padding-left: 40px; gap: 32px; }
	.hot__title { font-size: 34px; }
	.hot__text { font-size: 18px; }
}
@media (max-width: 960px) {
	.hot__box { flex-direction: column; align-items: stretch; padding: 40px 24px 24px; }
	.hot__info { flex-basis: auto; }
	.hot__carousel { flex-basis: auto; width: 100%; }
	.hot--single .hot__carousel { max-width: 360px; }
}
@media (max-width: 640px) {
	.hot__box { padding: 32px 16px 16px; gap: 24px; }
	.hot__title { font-size: 28px; }
	.hot__text { font-size: 16px; }
	.countdown { gap: 8px; padding: 16px; align-self: stretch; justify-content: space-between; }
	.countdown__value { min-width: 54px; padding: 12px 8px; font-size: 20px; }
	/* One card at a time, centered; the next one appears only after a swipe / bullet */
	.hot__carousel, .hot--single .hot__carousel { --per-view: 1; max-width: none; }
	.hot__track .carousel__item { display: flex; justify-content: center; }
	.hot__track .carousel__item + .carousel__item { margin-left: 0; }
	.hot__track .product-card { width: 100%; max-width: 330px; }
}

/* ==========================================================================
   Section: Collections ("Explore Our Most Popular Collections")
   ========================================================================== */
@media (min-width: 1281px) { .colls__container { padding-inline: 30px; } } /* box is 1380 @ 1440 */
.colls__box {
	display: flex;
	align-items: center;
	gap: 42px;
	padding: 30px 30px 30px 60px;
	background: var(--c-black);
	border-radius: 16px;
	color: var(--c-white);
}
.colls__info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	flex: 0 0 381px;
	align-self: stretch;
	padding-block: 30px;
}
.colls__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.colls__text { font-size: 20px; line-height: 1.6; letter-spacing: .2px; opacity: .8; }

.colls__carousel { --per-view: var(--count, 3); flex: 1 1 867px; min-width: 0; }
.colls__track { --gap: 1px; border-radius: 16px; }

.coll-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 660px;
	padding: 30px;
	overflow: hidden;
	background: #222;
	isolation: isolate;
}
.coll-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.coll-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(4, 4, 4, 0) 34.7%, #040404 100%),
		rgba(0, 0, 0, .3);
}
.coll-card:hover .coll-card__img { transform: scale(1.06); }
.coll-card__body { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.coll-card__text { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.coll-card__title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.coll-card__subtitle { font-size: 14px; line-height: 1.6; letter-spacing: .14px; opacity: .8; }
.coll-card__btn { width: 100%; max-width: 239px; }

@media (max-width: 1200px) {
	.colls__box { padding-left: 40px; gap: 32px; }
	.colls__info { flex-basis: 300px; }
	.colls__title { font-size: 34px; }
	.colls__text { font-size: 18px; }
}
@media (max-width: 960px) {
	.colls__box { flex-direction: column; align-items: stretch; padding: 40px 24px 24px; }
	.colls__info { flex-basis: auto; padding: 0; }
	.colls__carousel { --per-view: 2.3 !important; flex-basis: auto; width: 100%; }
	.coll-card { height: 520px; padding: 24px; }
}
@media (max-width: 640px) {
	.colls__box { padding: 32px 16px 16px; gap: 24px; }
	.colls__title { font-size: 28px; }
	.colls__text { font-size: 16px; }
	.colls__carousel { --per-view: 1.25 !important; }
	.coll-card { height: 440px; padding: 20px; }
	.coll-card__title { font-size: 22px; }
}

/* ==========================================================================
   Customer photos: section grid, teaser row, photos page, pagination, lightbox
   ========================================================================== */
.photo-tile {
	position: relative;
	display: block;
	overflow: hidden;
	background: #d8d8d8;
	border-radius: 12px;
}
.photo-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.photo-tile { cursor: zoom-in; }
a.photo-tile:hover .photo-tile__img { transform: scale(1.04); }

/* Section grid (6 photos, layout from the design: 435 | 322 | 263+263, rows 230+230) */
.photo-grid { display: grid; gap: 12px; }
.photo-grid--6 {
	grid-template-columns: 435fr 322fr 263fr 263fr;
	grid-template-rows: 1fr 1fr;
	aspect-ratio: 1320 / 472;
}
.photo-grid--6 > :nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.photo-grid--6 > :nth-child(2) { grid-column: 2; grid-row: 1; }
.photo-grid--6 > :nth-child(3) { grid-column: 3 / 5; grid-row: 1; }
.photo-grid--6 > :nth-child(4) { grid-column: 2; grid-row: 2; }
.photo-grid--6 > :nth-child(5) { grid-column: 3; grid-row: 2; }
.photo-grid--6 > :nth-child(6) { grid-column: 4; grid-row: 2; }
.photo-grid:not(.photo-grid--6) { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; }

/* Decorative faded row: "there are more photos" (not clickable) */
.photos__teaser { position: relative; height: 49px; margin-top: 12px; overflow: hidden; pointer-events: none; user-select: none; }
.photos__teaser::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, #fff 100%);
}
.photos .section-actions { margin-top: 40px; }

@media (max-width: 767px) {
	.photo-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row dense; aspect-ratio: auto; gap: 8px; }
	.photo-grid--6 > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
	.photo-grid--6 > :nth-child(1) { grid-column: 1 / 3 !important; aspect-ratio: 4 / 3; }
	.photo-grid--6 > :nth-child(3) { grid-column: 1 / 3 !important; aspect-ratio: 2 / 1; }
	.photos__teaser { height: 36px; margin-top: 8px; }
	.photos .section-actions { margin-top: 28px; }
}

/* Photos page */
.photos-page { padding-block: 24px 100px; }
.photos-page__title { margin-bottom: 16px; }
.photos-page__intro { max-width: 760px; margin-bottom: 8px; color: var(--c-n400); }
.photos-page__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.photos-page__grid .photo-tile { aspect-ratio: 1; }
.photos-page .pagination { margin-top: 48px; }
@media (max-width: 1024px) { .photos-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.photos-page { padding-block: 16px 64px; }
	.photos-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
}

/* Pagination (shared, design: plain numbers, current = black square) */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 34px;
	padding: 6px 12px;
	border-radius: 8px;
	color: var(--c-n300);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	transition: background-color var(--t), color var(--t);
}
.pagination a.page-numbers:hover { color: var(--c-black); background: var(--c-bg-2); }
.pagination .page-numbers.current { background: var(--c-black); color: var(--c-white); }
.pagination .page-numbers.prev, .pagination .page-numbers.next { color: var(--c-black); }
.pagination .icon { width: 20px; height: 20px; }
.pagination .pagination__prev { transform: scaleX(-1); }
/* Lightbox (<dialog>, built by main.js) */
.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, .92);
	color: var(--c-white);
	overscroll-behavior: contain;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__figure { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; padding: 72px 88px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; }
.lightbox__close { position: absolute; top: 16px; right: 16px; color: var(--c-white); }
.lightbox__close:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; opacity: .8; }
@media (max-width: 767px) {
	.lightbox__figure { padding: 64px 12px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
}

/* ==========================================================================
   Section: Reviews ("Real People. Real Reviews.")
   ========================================================================== */
@media (min-width: 1281px) { .reviews__container { padding-inline: 30px; } } /* box is 1380 @ 1440 */
.reviews__box { overflow: hidden; padding: 80px 0 48px; background: var(--c-bg-2); border-radius: 16px; }
.reviews__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; padding-inline: 30px; text-align: center; }
.reviews__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.reviews__text { font-size: 20px; line-height: 1.6; letter-spacing: .2px; color: var(--c-txt-2); }
.reviews__text p { margin: 0; }
.reviews__text a {
	font-weight: 700;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.reviews__text a:hover { background-position: 100% 100%; background-size: 0 1px; }
.reviews__shortcode { padding-inline: 30px; }

/* Cards area: 4 × 280 (+10 gap) in the middle, neighbours peek at the box edges (faded) */
.reviews__carousel { --rv-pad: max(16px, calc((100% - 1150px) / 2)); --per-view: 4; }
.reviews__carousel .reviews__track { --gap: 10px; padding-inline: var(--rv-pad); scroll-padding-inline: var(--rv-pad); }
.reviews__carousel .carousel__item { flex-basis: calc((100% - 30px) / 4); }
.reviews__carousel .carousel__item.is-out { opacity: .3; }
.reviews__carousel .carousel__arrow--prev { left: calc(var(--rv-pad) - 23px); }
.reviews__carousel .carousel__arrow--next { right: calc(var(--rv-pad) - 23px); }
.reviews__carousel .carousel__arrow { top: 120px; transform: none; } /* middle of the photo */
.reviews .section-actions { margin-top: 32px; }

.review-card { display: flex; flex-direction: column; height: 100%; }
.review-card__photo { height: 240px; overflow: hidden; border-radius: 16px 16px 0 0; background: #ddd; }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	padding: 18px 16px;
	background: var(--c-white);
	border: 1px solid #e8e8e8;
	border-top: 0;
	border-radius: 0 0 16px 16px;
}
.review-card--no-photo .review-card__body { border-top: 1px solid #e8e8e8; border-radius: 16px; }
.review-author { display: flex; align-items: flex-start; gap: 12px; }
.review-author__avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: #e0e0e2;
	border-radius: 50%;
	font-size: 16.8px;
	font-weight: 700;
	letter-spacing: .17px;
}
.review-author__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review-author__verified {
	position: absolute;
	right: -4px;
	bottom: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #4285f4;
	border: 1.25px solid var(--c-white);
	border-radius: 50%;
	color: var(--c-white);
}
.review-author__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.6; }
.review-author__name { font-size: 18px; font-weight: 700; letter-spacing: .18px; }
.review-author__date { font-size: 12px; letter-spacing: .12px; }
.review-card__content { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.review-card__more { margin-top: auto; }
.review-card__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: .14px;
}
.review-card.is-expanded .review-card__text { display: block; -webkit-line-clamp: unset; }
.review-card__more {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .12px;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.review-card__more:hover { background-position: 100% 100%; background-size: 0 1px; }

@media (max-width: 1200px) {
	.reviews__carousel { --rv-pad: 40px; }
	.reviews__carousel .carousel__item { flex-basis: calc((100% - 20px) / 3.2); }
}
@media (max-width: 1024px) {
	.reviews__box { padding: 56px 0 40px; }
	.reviews__title { font-size: 32px; }
	.reviews__text { font-size: 18px; }
	.reviews__carousel { --rv-pad: 24px; }
	.reviews__carousel .carousel__item { flex-basis: calc((100% - 10px) / 2.3); }
	.reviews__carousel .carousel__item.is-out { opacity: 1; }
}
@media (max-width: 640px) {
	.reviews__box { padding: 40px 0 32px; border-radius: 12px; }
	.reviews__head { margin-bottom: 24px; padding-inline: 16px; }
	.reviews__title { font-size: 26px; }
	.reviews__text { font-size: 16px; }
	.reviews__carousel { --rv-pad: 16px; }
	.reviews__carousel .carousel__item { flex-basis: 78%; }
	.review-card__photo { height: 220px; }
}

/* ==========================================================================
   Shared: breadcrumbs + page head
   ========================================================================== */
.page-head { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; line-height: 1.6; letter-spacing: .14px; color: var(--c-n300); }
.breadcrumbs a { transition: color var(--t); }
.breadcrumbs a:hover { color: var(--c-black); }
.breadcrumbs [aria-current] { color: var(--c-n300); }
@media (max-width: 767px) { .page-head { gap: 16px; margin-bottom: 24px; } }

/* ==========================================================================
   Reviews page: list + sticky "Write a Review" form
   ========================================================================== */
.reviews-page { padding-block: 24px 100px; }
.reviews-page__layout { display: grid; grid-template-columns: minmax(0, 784px) minmax(0, 496px); justify-content: space-between; gap: 40px; align-items: start; }
.reviews-page__layout--no-form { grid-template-columns: minmax(0, 784px); }

.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px;
	background: var(--c-white);
	border: 1px solid #e8e8e8;
	border-radius: 8px;
}
.review-item .photo-tile { flex: 0 0 187px; width: 187px; height: 187px; border-radius: 8px; }
.review-item__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.review-item--no-photo .review-item__body { gap: 12px; }
.review-item__text { font-size: 14px; line-height: 1.6; letter-spacing: .14px; }
.reviews-page__footer { margin-top: 40px; text-align: center; }
.reviews-page__count { font-size: 16px; color: var(--c-n300); }
.reviews-page__empty { padding: 40px; background: var(--c-bg-2); border-radius: 16px; text-align: center; }

/* Review author (shared by the reviews section and page) */
.review-author { display: flex; align-items: flex-start; gap: 12px; }

/* Form card */
.review-form { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .review-form { top: calc(var(--header-h) + 56px); }
.review-form__head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: -32px;
	padding: 32px 24px 64px;
	overflow: hidden;
	background: var(--c-black);
	border-radius: 20px 20px 0 0;
	color: var(--c-white);
	isolation: isolate;
}
.review-form__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.review-form__head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000 85.2%); }
.review-form__title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.review-form__text { font-size: 14px; line-height: 1.6; letter-spacing: .14px; }
.review-form__body {
	position: relative;
	padding: 24px;
	background: var(--c-white);
	border: 1px solid #e8e8e8;
	border-radius: 20px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .04);
}

@media (max-width: 1100px) {
	.reviews-page__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px; }
}
@media (max-width: 900px) {
	.reviews-page__layout { grid-template-columns: minmax(0, 1fr); }
	.review-form { position: static; order: -1; }
}
@media (max-width: 640px) {
	.reviews-page { padding-block: 16px 64px; }
	.review-item { flex-direction: column; align-items: stretch; gap: 16px; }
	.review-item .photo-tile { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; }
	.review-form__body { padding: 16px; }
}

/* ==========================================================================
   Shared form styles (CF7 forms with class "bts-form")
   ========================================================================== */
.bts-form__grid { display: flex; flex-wrap: wrap; gap: 12px; }
.bts-form__row { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; min-width: 0; }
.bts-form__row--half { flex-basis: calc(50% - 6px); }
.bts-form__label { font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .13px; }
.bts-form__req { color: var(--c-red); }
.bts-form input[type="text"], .bts-form input[type="email"], .bts-form input[type="tel"], .bts-form textarea {
	width: 100%;
	min-height: 42px;
	padding: 10px;
	background: var(--c-bg-2);
	border: 1px solid var(--c-n100);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	outline: none;
	transition: border-color var(--t), background-color var(--t);
}
.bts-form textarea { min-height: 120px; resize: vertical; }
.bts-form input::placeholder, .bts-form textarea::placeholder { color: var(--c-black); opacity: .6; font-size: 12px; }
.bts-form input:not([type="submit"]):focus, .bts-form textarea:focus { border-color: var(--c-black); background-color: var(--c-white); }
.bts-form .wpcf7-not-valid { border-color: var(--c-red) !important; }
.bts-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; color: var(--c-red); }
.bts-form .wpcf7-form-control-wrap { display: block; }
.bts-form__submit { margin-top: 24px; }
.bts-form .wpcf7-submit {
	width: 100%;
	min-height: 52px;
	padding: 16px 32px;
	background: var(--c-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23fff' stroke-width='1.894' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.253 4.5 3.703 3.66a2.75 2.75 0 0 1 0 4.04l-3.703 3.66M2 10.18h13.633'/%3E%3C/svg%3E") no-repeat calc(50% + 52px) center / 20px;
	border: 1px solid var(--c-black);
	border-radius: var(--radius);
	color: var(--c-white);
	font-size: 16px;
	font-weight: 600;
	text-indent: -28px;
	cursor: pointer;
	transition: background-color var(--t), color var(--t);
}
.bts-form .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.bts-form .wpcf7-submit:hover, .bts-form .wpcf7-submit:focus-visible { background-color: var(--c-white); color: var(--c-black); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23000' stroke-width='1.894' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.253 4.5 3.703 3.66a2.75 2.75 0 0 1 0 4.04l-3.703 3.66M2 10.18h13.633'/%3E%3C/svg%3E"); }
.bts-form .wpcf7-spinner { display: block; margin: 12px auto 0; }
.bts-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 10px 14px !important; border-radius: 10px; font-size: 14px; }
@media (max-width: 480px) { .bts-form__row--half { flex-basis: 100%; } }

/* Star rating input (CF7 radio 1–5, JS sets data-rating for the hover/selected fill) */
.star-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.star-input .wpcf7-radio { display: flex; gap: 2px; }
.star-input .wpcf7-list-item { margin: 0; }
.star-input label { position: relative; display: block; width: 32px; height: 32px; cursor: pointer; }
.star-input input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.star-input .wpcf7-list-item-label { position: absolute; inset: 0; overflow: hidden; color: transparent; }
.star-input .wpcf7-list-item-label::before {
	content: "";
	position: absolute;
	inset: 2px;
	background: var(--c-n200);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.565 1.338a.457.457 0 0 1 .87 0l1.258 3.874a.457.457 0 0 0 .435.316h4.073c.443 0 .627.567.269.827l-3.295 2.394a.457.457 0 0 0-.166.511l1.258 3.874c.137.421-.345.772-.703.511L8.269 11.25a.457.457 0 0 0-.538 0l-3.295 2.395c-.358.26-.84-.09-.703-.511l1.258-3.874a.457.457 0 0 0-.166-.511L1.53 6.355c-.358-.26-.174-.827.269-.827h4.073a.457.457 0 0 0 .435-.316l1.258-3.874Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.565 1.338a.457.457 0 0 1 .87 0l1.258 3.874a.457.457 0 0 0 .435.316h4.073c.443 0 .627.567.269.827l-3.295 2.394a.457.457 0 0 0-.166.511l1.258 3.874c.137.421-.345.772-.703.511L8.269 11.25a.457.457 0 0 0-.538 0l-3.295 2.395c-.358.26-.84-.09-.703-.511l1.258-3.874a.457.457 0 0 0-.166-.511L1.53 6.355c-.358-.26-.174-.827.269-.827h4.073a.457.457 0 0 0 .435-.316l1.258-3.874Z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: background-color .15s;
}
.star-input[data-rating="1"] .wpcf7-list-item:nth-child(-n+1) .wpcf7-list-item-label::before,
.star-input[data-rating="2"] .wpcf7-list-item:nth-child(-n+2) .wpcf7-list-item-label::before,
.star-input[data-rating="3"] .wpcf7-list-item:nth-child(-n+3) .wpcf7-list-item-label::before,
.star-input[data-rating="4"] .wpcf7-list-item:nth-child(-n+4) .wpcf7-list-item-label::before,
.star-input[data-rating="5"] .wpcf7-list-item .wpcf7-list-item-label::before { background: #111314; }
.star-input label:has(input:focus-visible) { outline: 2px solid var(--c-black); outline-offset: 1px; border-radius: 4px; }
.star-input__hint { font-size: 12px; line-height: 1.6; opacity: .6; }

/* File dropzone (CF7 file field inside) */
.dropzone {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	background: var(--c-white);
	border: 2px dashed var(--c-n100);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color var(--t), background-color var(--t);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--c-black); background: var(--c-bg-2); }
.dropzone .wpcf7-form-control-wrap { position: static; }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cg%3E %3Cpath d='M33.7872 6H6.21277C3.89038 6 2 7.89846 2 10.2308V31.7692C2 34.1015 3.89038 36 6.21277 36H33.7872C36.1096 36 38 34.1015 38 31.7692V10.2308C38 7.89846 36.1096 6 33.7872 6ZM6.21277 8.30769H33.7872C34.8443 8.30769 35.7021 9.16923 35.7021 10.2308V21.2892L28.4715 14.0277C28.2557 13.8124 27.9638 13.6915 27.6596 13.6915C27.3554 13.6915 27.0635 13.8124 26.8477 14.0277L13.8723 27.0615L10.0916 23.2615C9.98459 23.154 9.85754 23.0687 9.7177 23.0105C9.57786 22.9523 9.42797 22.9223 9.2766 22.9223C9.12522 22.9223 8.97533 22.9523 8.83549 23.0105C8.69565 23.0687 8.5686 23.154 8.46162 23.2615L4.29787 27.4462V10.2308C4.29787 9.16923 5.15574 8.30769 6.21277 8.30769ZM33.7872 33.6923H6.21277C5.70515 33.6915 5.21856 33.4886 4.85963 33.1282C4.50069 32.7677 4.29868 32.279 4.29787 31.7692V30.7108L9.2766 25.7077L13.0574 29.5077C13.1643 29.6152 13.2914 29.7006 13.4312 29.7588C13.5711 29.817 13.721 29.8469 13.8723 29.8469C14.0237 29.8469 14.1736 29.817 14.3134 29.7588C14.4533 29.7006 14.5803 29.6152 14.6873 29.5077L27.6596 16.4769L35.7021 24.5569V31.7692C35.7021 32.8308 34.8443 33.6923 33.7872 33.6923Z' fill='%23000'/%3E %3Cpath d='M12.3404 20.6154C14.6628 20.6154 16.5532 18.7169 16.5532 16.3846C16.5532 14.0523 14.6628 12.1538 12.3404 12.1538C10.018 12.1538 8.12766 14.0523 8.12766 16.3846C8.12766 18.7169 10.018 20.6154 12.3404 20.6154ZM12.3404 14.4615C12.5985 14.4514 12.8561 14.4937 13.0975 14.5859C13.3389 14.6782 13.5593 14.8185 13.7455 14.9983C13.9316 15.1782 14.0796 15.394 14.1807 15.6328C14.2817 15.8715 14.3337 16.1283 14.3335 16.3878C14.3333 16.6472 14.2809 16.9039 14.1795 17.1425C14.078 17.3811 13.9297 17.5966 13.7432 17.7762C13.5568 17.9558 13.3362 18.0957 13.0946 18.1876C12.853 18.2794 12.5955 18.3213 12.3374 18.3108C11.8424 18.2905 11.3744 18.0787 11.0314 17.7196C10.6885 17.3606 10.4972 16.8822 10.4976 16.3847C10.498 15.8872 10.69 15.4091 11.0336 15.0506C11.3771 14.6921 11.8454 14.481 12.3404 14.4615Z' fill='%23000'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cg%3E %3Cpath d='M33.7872 6H6.21277C3.89038 6 2 7.89846 2 10.2308V31.7692C2 34.1015 3.89038 36 6.21277 36H33.7872C36.1096 36 38 34.1015 38 31.7692V10.2308C38 7.89846 36.1096 6 33.7872 6ZM6.21277 8.30769H33.7872C34.8443 8.30769 35.7021 9.16923 35.7021 10.2308V21.2892L28.4715 14.0277C28.2557 13.8124 27.9638 13.6915 27.6596 13.6915C27.3554 13.6915 27.0635 13.8124 26.8477 14.0277L13.8723 27.0615L10.0916 23.2615C9.98459 23.154 9.85754 23.0687 9.7177 23.0105C9.57786 22.9523 9.42797 22.9223 9.2766 22.9223C9.12522 22.9223 8.97533 22.9523 8.83549 23.0105C8.69565 23.0687 8.5686 23.154 8.46162 23.2615L4.29787 27.4462V10.2308C4.29787 9.16923 5.15574 8.30769 6.21277 8.30769ZM33.7872 33.6923H6.21277C5.70515 33.6915 5.21856 33.4886 4.85963 33.1282C4.50069 32.7677 4.29868 32.279 4.29787 31.7692V30.7108L9.2766 25.7077L13.0574 29.5077C13.1643 29.6152 13.2914 29.7006 13.4312 29.7588C13.5711 29.817 13.721 29.8469 13.8723 29.8469C14.0237 29.8469 14.1736 29.817 14.3134 29.7588C14.4533 29.7006 14.5803 29.6152 14.6873 29.5077L27.6596 16.4769L35.7021 24.5569V31.7692C35.7021 32.8308 34.8443 33.6923 33.7872 33.6923Z' fill='%23000'/%3E %3Cpath d='M12.3404 20.6154C14.6628 20.6154 16.5532 18.7169 16.5532 16.3846C16.5532 14.0523 14.6628 12.1538 12.3404 12.1538C10.018 12.1538 8.12766 14.0523 8.12766 16.3846C8.12766 18.7169 10.018 20.6154 12.3404 20.6154ZM12.3404 14.4615C12.5985 14.4514 12.8561 14.4937 13.0975 14.5859C13.3389 14.6782 13.5593 14.8185 13.7455 14.9983C13.9316 15.1782 14.0796 15.394 14.1807 15.6328C14.2817 15.8715 14.3337 16.1283 14.3335 16.3878C14.3333 16.6472 14.2809 16.9039 14.1795 17.1425C14.078 17.3811 13.9297 17.5966 13.7432 17.7762C13.5568 17.9558 13.3362 18.0957 13.0946 18.1876C12.853 18.2794 12.5955 18.3213 12.3374 18.3108C11.8424 18.2905 11.3744 18.0787 11.0314 17.7196C10.6885 17.3606 10.4972 16.8822 10.4976 16.3847C10.498 15.8872 10.69 15.4091 11.0336 15.0506C11.3771 14.6921 11.8454 14.481 12.3404 14.4615Z' fill='%23000'/%3E %3C/g%3E %3C/g%3E %3C/svg%3E") center / contain no-repeat;
}
.dropzone__text { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.6; letter-spacing: .12px; }
.dropzone__text span { opacity: .6; }
.dropzone .wpcf7-not-valid-tip { position: absolute; left: 0; bottom: -22px; }

/* ==========================================================================
   News: section + post card (shared with the blog)
   ========================================================================== */
.news__head { margin-bottom: 40px; }
.news__carousel { --per-view: 3; }
.news__track { --gap: 10px; }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
	padding: 16px 16px 20px;
	background: var(--c-bg-2);
	border-radius: 24px;
	transition: background-color .3s var(--ease);
}
.post-card:hover { background: #eee; }
.post-card__media { height: 263px; overflow: hidden; border-radius: 20px; background: #ddd; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; flex: 1; }
.post-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.post-card__badge { padding: 2px 4px; text-transform: none; }
.post-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #010201; }
.post-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card:has(.post-card__link:focus-visible) { outline: 2px solid var(--c-black); outline-offset: 2px; }
.post-card__link:focus-visible { outline: none; }

/* Post meta: author · date · read time (with 15px dividers) */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; line-height: 1.6; letter-spacing: .13px; }
.post-meta > * { display: inline-flex; align-items: center; gap: 6px; opacity: .8; }
.post-meta > * + *::before { content: ""; width: 1px; height: 15px; margin-right: 6px; background: currentColor; opacity: .3; }
.post-meta__author { font-weight: 500; }
.post-meta .icon { width: 16px; height: 16px; }
.author-avatar { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.author-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: #e0e0e2; font-size: 10px; font-weight: 700; }

@media (max-width: 1024px) {
	.news__head { margin-bottom: 32px; }
	.news__carousel { --per-view: 2.2; }
}
@media (max-width: 767px) {
	.news__head { margin-bottom: 24px; }
	.news__carousel { --per-view: 1.15; }
	.post-card { border-radius: 20px; }
	.post-card__media { height: 220px; border-radius: 16px; }
	.post-card__title { font-size: 18px; }
	.post-card .post-meta__time { flex-basis: 100%; }
	.post-card .post-meta__time::before { display: none; }
}

/* ==========================================================================
   FAQ: accordion (shared), home section, FAQ page with topic filter
   ========================================================================== */
.faq__item { border-top: 1px solid var(--c-n200); border-bottom: 1px solid var(--c-n200); margin-bottom: -1px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.faq__heading { font: inherit; }
.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	padding: 21px var(--faq-pad, 60px);
	text-align: left;
	cursor: pointer;
}
.faq__question-text { font-size: 24px; font-weight: 600; line-height: 1.3; }
.faq__question .toggle-btn { pointer-events: none; }
.faq__question:hover .toggle-btn { background: #d7d7d7; border-color: #252525; }
.faq__question:focus-visible { outline-offset: -4px; }

/* Smooth height: grid rows 0fr → 1fr */
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__panel-inner { overflow: hidden; }
.faq__answer > * { max-width: 1168px; }
.faq__answer {
	padding: 0 var(--faq-pad, 60px) 32px;
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: .18px;
}
.faq__answer > * + * { margin-top: .8em; }
.faq__answer a { text-decoration: underline; }

.faq__item.is-open { background: var(--c-black); color: var(--c-white); }
.faq__item.is-open .faq__question { padding-top: 32px; padding-bottom: 24px; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__item.is-open .toggle-btn { background: var(--c-white); border-color: transparent; color: var(--c-black); }
.faq__item.is-open .toggle-btn .icon { transform: rotate(45deg); }
.faq__item.is-hidden { display: none; }
@media (prefers-reduced-motion: reduce) { .faq__panel, .faq__item { transition: none; } }

/* Home section */
.faq-section__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; text-align: center; }
.faq-section__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.faq-section__text { font-size: 20px; line-height: 1.6; letter-spacing: .2px; color: var(--c-txt-2); }
.faq-section__text p { margin: 0; }
.faq-section__text a, .faq-page__intro a {
	font-weight: 700;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	text-decoration: none;
	transition: background-size .4s var(--ease);
}
.faq-section__text a:hover, .faq-page__intro a:hover { background-position: 100% 100%; background-size: 0 1px; }
.faq-section .faq { --faq-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }

/* FAQ page */
.faq-page { padding-block: 24px 100px; }
.faq-page__intro { max-width: 760px; margin-bottom: 32px; }
.faq-page__box { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px 0; background: var(--c-bg-2); border-radius: 16px; }
@media (min-width: 1281px) { .faq-page__box { margin-inline: -30px; } } /* 1380 @ 1440 */
.faq-page__title { padding-inline: 24px; font-size: 40px; font-weight: 600; line-height: 1.3; text-align: center; }
.faq-page__box .faq { --faq-pad: 32px; width: 100%; padding-inline: 24px; }
.faq-page__box .faq__question { padding-block: 20px; }
.faq-page__empty { color: var(--c-n300); }

.faq-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-inline: 16px; }
.faq-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 43px;
	padding: 11px 23px;
	border: 1px solid var(--c-black);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color var(--t), color var(--t);
}
.faq-filter__btn:hover { background: var(--c-white); }
.faq-filter__btn.is-active { background: var(--c-black); color: var(--c-white); }
.faq-filter__icon { display: none; width: 16px; height: 16px; transform: rotate(135deg); }
.faq-filter__btn.is-active .faq-filter__icon { display: block; }

@media (max-width: 1024px) {
	.faq-section__title, .faq-page__title { font-size: 32px; }
	.faq-section__text { font-size: 18px; }
	.faq__question-text { font-size: 20px; }
	.faq__answer { font-size: 16px; }
}
@media (max-width: 640px) {
	.faq-section__head { margin-bottom: 24px; }
	.faq-section__title, .faq-page__title { font-size: 26px; }
	.faq-section__text { font-size: 16px; }
	.faq__question { gap: 16px; padding-block: 16px; }
	.faq__question-text { font-size: 18px; }
	.faq__question .toggle-btn { width: 40px; height: 40px; }
	.faq__item.is-open .faq__question { padding-top: 20px; padding-bottom: 16px; }
	.faq__answer { padding-bottom: 24px; }
	.faq-page__box { padding: 24px 0; border-radius: 12px; }
	.faq-page__box .faq { --faq-pad: 16px; padding-inline: 0; }
	.faq-filter__btn { min-height: 38px; padding: 8px 16px; font-size: 14px; }
}

/* ==========================================================================
   Catalog (archive-product.php): head, toolbar, grid, footer, filters drawer
   ========================================================================== */
.shop { padding-block: 16px 100px; }
.shop__head { margin-bottom: 32px; }
.shop__title-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 20px; }
.shop__count { padding-bottom: 6px; font-size: 18px; line-height: 1.6; letter-spacing: .18px; color: var(--c-n300); white-space: nowrap; }
.shop__desc { max-width: 760px; color: var(--c-n400); }

.shop__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--c-n100);
}
.filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 30px;
	background: var(--c-black);
	border: 1px solid var(--c-black);
	border-radius: 500px;
	color: var(--c-white);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color var(--t), color var(--t);
}
.filter-btn .icon { width: 18px; height: 18px; }
.filter-btn:hover, .filter-btn[aria-expanded="true"] { background: var(--c-white); color: var(--c-black); }

.shop__grid .product-grid__item { min-width: 0; }
.shop__footer { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
.shop__shown { font-size: 16px; color: var(--c-n300); text-align: center; }
.shop__footer .pagination { margin-top: 0; }
.shop__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 80px 16px; background: var(--c-bg-2); border-radius: 16px; text-align: center; }
.shop__empty .btn { margin-top: 12px; }

@media (max-width: 767px) {
	.shop { padding-block: 8px 64px; }
	.shop__head { margin-bottom: 20px; }
	.shop__count { font-size: 15px; padding-bottom: 4px; }
	.shop__toolbar { padding-top: 16px; margin-bottom: 16px; }
	.filter-btn { padding: 10px 20px; font-size: 14px; }
}

/* Drawer (filters) */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	background: var(--c-white);
	box-shadow: 0 0 31px rgba(0, 0, 0, .12);
	transform: translateX(-100%);
	transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--c-n100); }
.drawer__title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.drawer__placeholder { color: var(--c-n300); }
.filter-widget + .filter-widget { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-n100); }
.filter-widget__title { margin-bottom: 12px; font-size: 18px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__overlay { transition: none; } }

/* ==========================================================================
   Section: Products slider
   ========================================================================== */
.products-slider { overflow-x: clip; }
.products-slider__carousel { --per-view: 4; }
@media (max-width: 1024px) { .products-slider__carousel { --per-view: 2.5; } }
@media (max-width: 767px)  { .products-slider__carousel { --per-view: 1.6; } }

/* ==========================================================================
   Section: Shop by category
   ========================================================================== */
.cats { position: relative; overflow: hidden; padding-block: 80px 40px; background: #040404; color: var(--c-white); }
.cats__bg { position: absolute; inset: 0; }
.cats__bg img { width: 100%; height: 100%; object-fit: cover; }
.cats__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(4, 4, 4, 0) 7.68%, #040404 55.81%),
		rgba(4, 4, 4, .95);
}
.cats__inner { position: relative; display: flex; flex-direction: column; gap: 40px; }

.cats__grid { --gap: 1px; border-radius: 16px; }
.cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 550px;
	padding: 30px;
	overflow: hidden;
	background: #a8a8a8;
	isolation: isolate;
}
.cat-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.cat-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(4, 4, 4, 0) 34.7%, #040404 100%),
		rgba(0, 0, 0, .5);
	transition: opacity .4s var(--ease);
}
.cat-card__title { font-size: 32px; font-weight: 700; line-height: 1.3; text-align: center; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card:hover::after { opacity: .75; }
.cat-card:hover .cat-card__title { transform: translateY(-6px); }

@media (max-width: 1024px) {
	.cats { padding-block: 64px 40px; }
	.cats__inner { gap: 32px; }
	.cat-card { height: 420px; padding: 24px; }
	.cat-card__title { font-size: 26px; }
}
/* Page-header style (categories / collections / tags pages): light, breadcrumbs + H1 */
.cats--page { padding-block: 16px 0; background: transparent; color: inherit; }
.cats--page .page-head { margin-bottom: 0; }
.cats--page .cats__inner { gap: 34px; }
.cats--page .cat-card { color: var(--c-white); }

/* Grid layout: 4 per row, wraps */
.cats__grid--wrap {
	display: grid;
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}

@media (max-width: 1024px) {
	.cats__carousel { --per-view: 2.4 !important; }
	.cats__grid--wrap { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.cats--page { padding-top: 8px; }
	.cats__grid--wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cats__grid--wrap .cat-card { height: 260px; }
}
@media (max-width: 767px) {
	.cats { padding-block: 48px 32px; }
	.cats__inner { gap: 24px; }
	.cats__carousel { --per-view: 1.45 !important; }
	.cats__grid { border-radius: 12px; }
	.cat-card { height: 380px; padding: 20px; }
	.cat-card__title { font-size: 24px; }
}

/* ==========================================================================
   Shared: page heading (H1 PC), product grid, sort pill
   ========================================================================== */
.page-heading { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
@media (max-width: 1024px) { .page-heading { font-size: 36px; } }
@media (max-width: 640px)  { .page-heading { font-size: 30px; } }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "Sort by …" pill + custom dropdown (bts_sort_menu) */
.sort-pill { position: relative; display: inline-flex; }
.sort-pill__label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 16px;
	border: 1px solid var(--c-n400);
	border-radius: 500px;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--t), color var(--t);
}
.sort-pill__label .icon { width: 14px; height: 14px; margin-left: 6px; transition: transform .25s var(--ease); }
.sort-pill__label:hover, .sort-pill.is-open .sort-pill__label { background: var(--c-black); color: var(--c-white); }
.sort-pill.is-open .sort-pill__label .icon { transform: rotate(180deg); }
.sort-pill__label:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }
.sort-pill__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: max(100%, 240px);
	padding: 8px;
	background: var(--c-white);
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.sort-pill.is-open .sort-pill__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.sort-pill__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	transition: background-color var(--t);
}
.sort-pill__item:hover, .sort-pill__item:focus-visible { background: var(--c-bg-2); outline: none; }
.sort-pill__item.is-current { font-weight: 600; }
.sort-pill__item .icon { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 640px) {
	.sort-pill__menu { min-width: min(260px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) { .sort-pill__menu, .sort-pill__label .icon { transition: none; } }

/* ==========================================================================
   Favorites page
   ========================================================================== */
.favorites { padding-block: 24px 100px; }
.favorites__bar { display: flex; justify-content: flex-end; margin: 61px 0 20px; }
.favorites__grid .product-grid__item { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.favorites__grid .product-grid__item.is-removing { opacity: 0; transform: scale(.96); }
.favorites__empty {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 80px 16px;
	margin-top: 40px;
	text-align: center;
	background: var(--c-bg-2);
	border-radius: 16px;
}
.favorites__empty > .icon { width: 48px; height: 48px; margin-bottom: 8px; }
.favorites__empty-text { color: var(--c-n300); }
.favorites__empty .btn { margin-top: 16px; }
.favorites.is-empty .favorites__bar, .favorites.is-empty .favorites__grid { display: none; }
.favorites.is-empty .favorites__empty { display: flex; }
@media (max-width: 767px) {
	.favorites { padding-block: 16px 64px; }
	.favorites__bar { margin: 24px 0 16px; }
}

/* ==========================================================================
   Generic pages
   ========================================================================== */
.page-default { padding-block: 40px 100px; }
.page-title { margin-bottom: 32px; }
.entry__content > * + * { margin-top: 1em; }
.entry__content a { text-decoration: underline; }
.woo-page { padding-block: 40px 100px; }

/* ==========================================================================
   Single product (woocommerce/single-product.php)
   ========================================================================== */
.sp { padding-top: 16px; }
.sp__crumbs { margin-bottom: 40px; }
.sp__main { display: grid; grid-template-columns: minmax(0, 646fr) minmax(0, 646fr); gap: 28px; align-items: start; }

/* Gallery: vertical thumbs (as high as the main image, scrollable) + main image */
.sp-gallery { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 19px; }
.sp-gallery--single { grid-template-columns: minmax(0, 1fr); }
.sp-gallery__nav { display: flex; flex-direction: column; gap: 8px; contain: size; /* column height = main image height */ }
.sp-gallery__thumbs {
	display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0;
	overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
/* Prev / next photo arrows around the thumbs (up / down; left / right on small screens) */
.sp-gallery__arrow {
	display: flex; align-items: center; justify-content: center; flex: 0 0 32px;
	background: var(--c-black); color: var(--c-white); border-radius: 6px;
	transition: background-color var(--t), color var(--t);
}
.sp-gallery__arrow .icon { width: 20px; height: 20px; transform: rotate(90deg); }
.sp-gallery__arrow--prev .icon { transform: rotate(-90deg); }
.sp-gallery__arrow:hover { background: var(--c-n400); }
.sp-gallery__arrow:disabled { background: var(--c-n200); color: var(--c-n300); cursor: default; }
.sp-gallery__arrow:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }
.sp-gallery__thumbs::-webkit-scrollbar { display: none; }
.sp-gallery__thumb { position: relative; flex: 0 0 124px; height: 124px; overflow: hidden; background: #e8e8e8; border-radius: 6px; }
.sp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid #e0e0e0; border-radius: inherit; background: rgba(255, 255, 255, .65); transition: opacity var(--t); }
.sp-gallery__thumb:hover::after { opacity: .4; }
.sp-gallery__thumb.is-active::after { opacity: 0; }
.sp-gallery__thumb:focus-visible { outline: 2px solid var(--c-black); outline-offset: -2px; }
.sp-gallery__main { position: relative; overflow: hidden; background: #e8e8e8; border-radius: 12px; aspect-ratio: 527 / 720; }
.sp-gallery__badge { position: absolute; top: 16px; left: 16px; z-index: 1; pointer-events: none; }
.sp-gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.sp-gallery__track::-webkit-scrollbar { display: none; }
.sp-gallery__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; cursor: zoom-in; }
.sp-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.sp-info { display: flex; flex-direction: column; min-width: 0; }
.sp-info__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stock-pill {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 2px 8px;
	background: #d7ffee; border: 1px solid #27b479; border-radius: 8px;
	color: #27b479; font-size: 14px; font-weight: 500; line-height: 1.6;
}
.stock-pill > * { opacity: .75; }
.stock-pill.is-out { background: #fff0ee; border-color: var(--c-red); color: var(--c-red); }
.stock-pill.is-out .stock-pill__icon { display: none; }
.sp-info__sku { font-size: 14px; line-height: 1.6; color: var(--c-n300); }
.sp-info__title { margin-top: 12px; font-size: 45px; font-weight: 700; line-height: 1.2; }
.sp-info__rating { align-self: flex-start; margin-top: 12px; }
.sp-info__rating .rating__stars .icon { width: 20px; height: 20px; }
.sp-info__rating .rating__count {
	font-size: 14px; line-height: 1.6;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.sp-info__rating:hover .rating__count { background-position: 100% 100%; background-size: 0 1px; }
.sp-info__price { margin-top: 16px; }
.sp-info__price .price-box { align-items: baseline; }
.sp-info__price .price-box__current, .sp-info__price .price-box__sale { font-size: 28px; }
.sp-info__price .price-box__old { font-size: 18px; }

/* Picker */
.sp-form { margin-top: 8px; }
.sp-attr { margin-top: 24px; }
.sp-attr__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.sp-attr__label { font-size: 18px; line-height: 1.5; }
.sp-attr__label strong { font-weight: 700; }
.sp-attr__label span { font-weight: 300; }
.sp-attr__label .is-empty { color: var(--c-n300); }
.sp-attr.is-invalid .sp-attr__label, .sp-attr.is-invalid .sp-attr__label .is-empty { color: var(--c-red); }
.sp-attr__guide {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 16px; line-height: 1.5; white-space: nowrap;
}
.sp-attr__guide .icon { width: 20px; height: 20px; opacity: .75; }
.sp-attr__guide span {
	opacity: .75;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease), opacity var(--t);
}
.sp-attr__guide:hover span { opacity: 1; background-position: 100% 100%; background-size: 0 1px; }
.sp-attr__options { display: flex; flex-wrap: wrap; gap: 10px; }

.sp-swatch { display: inline-flex; padding: 4px; margin: -5px -1px; border: 1px solid transparent; border-radius: 10px; transition: border-color var(--t); }
.sp-swatch__color { display: block; width: 32px; height: 32px; background: var(--swatch, #d0d0d0); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sp-swatch:hover { border-color: var(--c-n200); }
.sp-swatch[aria-pressed="true"] { border-color: #181818; }
.sp-swatch.is-unavailable { cursor: not-allowed; }
.sp-swatch.is-unavailable .sp-swatch__color {
	background: linear-gradient(135deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)), #a5a5a5;
}
.sp-swatch.is-unavailable:hover { border-color: transparent; }

.sp-option {
	padding: 13px 17px;
	border: 1px solid var(--c-n300); border-radius: 6px;
	color: var(--c-n300); font-size: 12px; font-weight: 600; line-height: 1.2; text-transform: uppercase;
	transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.sp-option:hover { border-color: var(--c-black); color: var(--c-black); }
.sp-option[aria-pressed="true"] { border-color: #141414; box-shadow: inset 0 0 0 .5px #141414; color: var(--c-black); }
.sp-option.is-unavailable { background: var(--c-bg-2); border-color: var(--c-n200); color: var(--c-n200); cursor: not-allowed; }
.sp-swatch:focus-visible, .sp-option:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }

.sp-form__error { margin-top: 16px; font-size: 14px; color: var(--c-red); }

/* Quantity + Buy now + favorite */
.sp-buy { display: flex; align-items: stretch; gap: 10px; margin-top: 32px; }
.qty { display: flex; height: 51px; flex-shrink: 0; }
.qty__btn { display: flex; align-items: center; justify-content: center; width: 32px; background: var(--c-black); color: var(--c-white); transition: background-color var(--t); }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__btn--minus { border-radius: 8px 0 0 8px; }
.qty__btn--plus { border-radius: 0 8px 8px 0; }
.qty__btn:hover { background: var(--c-n400); }
.qty__btn:disabled { background: var(--c-n300); cursor: default; }
.qty__input {
	width: 44px; padding: 0;
	border: 0; border-block: 1px solid var(--c-black); border-radius: 0;
	font-size: 14px; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus-visible { outline: 2px solid var(--c-black); outline-offset: -2px; }
.sp-buy__btn { flex: 1; min-height: 51px; padding-block: 14px; }
.sp-buy__btn.is-loading { opacity: .7; pointer-events: none; }
.sp-buy__fav.fav-btn { width: 51px; height: 51px; margin: 0; flex-shrink: 0; border: 1px solid var(--c-black); border-radius: 12px; transition: background-color var(--t); }
.sp-buy__fav.fav-btn:hover { transform: none; background: var(--c-bg-2); }

/* Accordions (details/summary) */
.sp-acc { margin-top: 32px; }
.sp-acc__item { border-bottom: 1px solid var(--c-n200); }
.sp-acc__item:first-child { border-top: 1px solid var(--c-n200); }
.sp-acc__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding-block: 16px;
	font-size: 20px; font-weight: 600; line-height: 1.3;
	list-style: none; cursor: pointer;
}
.sp-acc__head::-webkit-details-marker { display: none; }
.sp-acc__icon { width: 40px; height: 40px; flex-shrink: 0; transition: transform .3s var(--ease); }
.sp-acc__head:hover .sp-acc__icon { transform: rotate(90deg); }
.sp-acc__item[open] .sp-acc__icon, .sp-acc__item[open] .sp-acc__head:hover .sp-acc__icon { transform: rotate(45deg); }
.sp-acc__body { padding-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--c-txt-2); }
.sp-acc__body ul { padding-left: 20px; list-style: disc; }
.sp-acc__body table { width: 100%; border-collapse: collapse; }
.sp-acc__body th, .sp-acc__body td { padding: 6px 8px; border: 1px solid var(--c-n200); text-align: left; }

/* Product reviews */
.sp-reviews { margin-block: 80px 100px; scroll-margin-top: calc(var(--header-h) + 24px); }
.sp-reviews__notice {
	display: flex; align-items: center; gap: 8px;
	margin-bottom: 24px; padding: 12px 16px;
	background: #d7ffee; border: 1px solid #27b479; border-radius: 12px;
	color: #1d7d55; font-size: 16px;
}
.sp-reviews__notice .icon { width: 20px; height: 20px; flex-shrink: 0; }
.sp-reviews__empty {
	display: flex; align-items: center; justify-content: center; gap: 32px;
	padding: 48px; background: var(--c-bg-2); border-radius: 24px;
}
.sp-reviews__empty-img { flex: 0 0 270px; width: 270px; height: 200px; object-fit: contain; }
.sp-reviews__empty-body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 562px; }
.sp-reviews__empty-title { margin-bottom: -14px; font-size: 32px; font-weight: 700; line-height: 1.3; }
.sp-reviews__empty-text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; color: var(--c-txt-2); }
.sp-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sp-reviews__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.sp-reviews__title span { color: var(--c-n300); font-weight: 400; }
.sp-reviews__avg { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--c-n300); }
.sp-reviews__avg strong { font-size: 24px; font-weight: 700; line-height: 1; color: var(--c-black); }
.sp-reviews__avg .rating__stars .icon { width: 20px; height: 20px; }
.sp-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sp-reviews__list .review-item { align-items: flex-start; }
.sp-reviews__only-buyers { margin-top: 16px; font-size: 14px; color: var(--c-n300); text-align: center; }
.sp-review-form__user { font-size: 14px; color: var(--c-n300); }
.sp-review-form__note { margin-top: 12px; font-size: 12px; color: var(--c-n300); text-align: center; }
.sp-similar { margin-top: 0; }

/* Right side drawer (review form, size guide) */
.drawer--right .drawer__panel { inset: 0 0 0 auto; transform: translateX(100%); }
.drawer__panel--wide { width: min(560px, 100vw); }
.drawer__subtitle { margin-top: 2px; font-size: 14px; color: var(--c-n300); }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-guide th, .size-guide td { padding: 10px 8px; border-bottom: 1px solid var(--c-n100); text-align: center; }
.size-guide th { font-weight: 600; background: var(--c-bg-2); }

@media (max-width: 1100px) {
	.sp-gallery { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.sp-gallery__nav { order: 2; flex-direction: row; contain: none; }
	.sp-gallery__thumbs { flex-direction: row; min-width: 0; overflow-x: auto; overflow-y: hidden; }
	.sp-gallery__arrow .icon { transform: none; }
	.sp-gallery__arrow--prev .icon { transform: scaleX(-1); }
	.sp-gallery__thumb { flex: 0 0 72px; height: 89px; }
	.sp-info__title { font-size: 36px; }
}
@media (max-width: 900px) {
	.sp__main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sp-gallery__main { aspect-ratio: 4 / 5; }
	.sp-reviews__list { grid-template-columns: minmax(0, 1fr); }
	.sp-reviews__empty { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
	.sp-reviews__empty-body { align-items: center; }
}
@media (max-width: 640px) {
	.sp__crumbs { margin-bottom: 20px; }
	.sp-info__title { font-size: 28px; }
	.sp-info__price .price-box__current, .sp-info__price .price-box__sale { font-size: 24px; }
	.sp-buy { gap: 8px; }
	.sp-buy__btn { padding-inline: 16px; }
	.sp-acc__head { font-size: 18px; }
	.sp-acc__icon { width: 32px; height: 32px; }
	.sp-reviews { margin-block: 64px; }
	.sp-reviews__head { flex-direction: column; align-items: stretch; gap: 16px; }
	.sp-reviews__title { font-size: 28px; }
	.sp-reviews__empty-img { flex-basis: auto; width: 200px; height: 150px; }
	.sp-reviews__empty-title { font-size: 26px; }
}

/* ==========================================================================
   Contacts page (template-parts/contacts-page.php)
   ========================================================================== */
.contacts { padding-top: 16px; }
.contacts + .section { margin-top: 100px; }
.contacts__layout { display: grid; grid-template-columns: minmax(0, 472px) minmax(0, 808px); justify-content: space-between; gap: 40px; align-items: start; }
.contacts__layout--no-form { grid-template-columns: minmax(0, 472px); }
.contacts__info { display: flex; flex-direction: column; gap: 32px; }
.contacts__cards { display: flex; flex-direction: column; gap: 10px; }

.contact-card {
	display: flex; align-items: center; gap: 12px;
	padding: 23px;
	background: var(--c-white);
	border: 1px solid #e8e8e8; border-radius: 12px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .04);
	transition: border-color var(--t), box-shadow var(--t);
}
a.contact-card:not([aria-disabled]):hover { border-color: var(--c-black); box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.contact-card__icon { width: 32px; height: 32px; flex-shrink: 0; }
.contact-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; line-height: 1.3; }
.contact-card__label { font-size: 12px; letter-spacing: .36px; color: var(--c-n300); }
.contact-card__value { font-size: 18px; font-weight: 600; letter-spacing: .54px; overflow-wrap: anywhere; }

.contacts__social {
	display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	min-height: 322px; padding: 32px;
	background: var(--c-bg-2); border-radius: 12px;
}
.contacts__social-title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.contacts__social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts__social-link {
	display: flex; align-items: center; justify-content: center;
	width: 64px; height: 64px;
	background: var(--c-white); border: 1px solid var(--c-black); border-radius: 12.8px;
	transition: background-color var(--t), color var(--t);
}
.contacts__social-link .icon { width: 32px; height: 32px; }
.contacts__social-link:hover { background: var(--c-black); color: var(--c-white); }

/* Photo (left, under the card) + form card overlapping it */
.contacts__form-wrap { position: relative; display: flex; justify-content: flex-end; }
.contacts__photo { position: absolute; inset: 0 auto 0 0; width: 350px; overflow: hidden; background: #000; border-radius: 20px 0 0 20px; }
.contacts__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.contacts__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 25%, #000 100%); }
.contacts__form {
	position: relative;
	display: flex; flex-direction: column; gap: 24px;
	width: 496px; max-width: 100%;
	padding: 24px;
	background: var(--c-white);
	border: 1px solid #e8e8e8; border-radius: 20px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .04);
}
.contacts__form-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--c-n100); }
.contacts__form-title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.contacts__form-text { font-size: 14px; line-height: 1.6; letter-spacing: .14px; }
.contacts__form .bts-form__submit { margin-top: 24px; }

@media (max-width: 1200px) {
	.contacts__layout { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 24px; }
	.contacts__photo { width: 42%; }
}
@media (max-width: 900px) {
	.contacts__layout { grid-template-columns: minmax(0, 1fr); }
	.contacts__social { min-height: 0; }
	.contacts__social-title { font-size: 28px; }
	.contacts__form-wrap { flex-direction: column; }
	.contacts__photo { position: relative; inset: auto; width: 100%; height: 200px; border-radius: 20px 20px 0 0; }
	.contacts__photo::after { background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 100%); }
	.contacts__photo + .contacts__form { margin-top: -24px; }
	.contacts__form { width: 100%; }
}
@media (max-width: 640px) {
	.contact-card { padding: 16px; }
	.contact-card__value { font-size: 16px; }
	.contacts__social { padding: 24px; }
	.contacts__social-link { width: 56px; height: 56px; }
	.contacts__form { padding: 16px; }
	.contacts + .section { margin-top: 64px; }
}

/* ==========================================================================
   Section: Banner (3 designs, Theme settings → Banners)
   ========================================================================== */
.banner__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.banner__text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; }
.banner__media { position: relative; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.banner__btn { margin-top: 11px; }

/* Design 1: photo left + grey box */
.banner--1 .banner__box { display: grid; grid-template-columns: minmax(0, 692fr) minmax(0, 618fr); gap: 10px; min-height: 392px; }
.banner--1 .banner__media { overflow: hidden; border-radius: 16px; background: var(--c-bg-2); }
.banner--1 .banner__body { justify-content: center; padding: 60px 80px; background: var(--c-bg-2); border-radius: 16px; }
.banner--1 .banner__title { max-width: 440px; }
.banner--1 .banner__text { max-width: 440px; color: var(--c-txt-2); }
.banner--1 .banner__box:not(:has(.banner__media)) { grid-template-columns: minmax(0, 1fr); }

/* Design 2: black box, text left, photo right */
.banner--2 .banner__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 420px; overflow: hidden; background: #040404; border-radius: 16px; color: var(--c-white); }
.banner--2 .banner__media { order: 2; }
.banner--2 .banner__img { object-position: 50% 20%; }
.banner--2 .banner__media::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 40%; background: linear-gradient(to right, #040404, rgba(4, 4, 4, 0)); }
.banner--2 .banner__body { justify-content: center; padding: 60px 80px; }
.banner--2 .banner__text { max-width: 480px; opacity: .8; }
.banner--2 .banner__box:not(:has(.banner__media)) { grid-template-columns: minmax(0, 1fr); }

/* Design 3: photo background + dark overlay, centered white text */
.banner--3 .banner__box { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; overflow: hidden; background: #040404; border-radius: 16px; color: var(--c-white); isolation: isolate; }
.banner--3 .banner__media { position: absolute; inset: 0; z-index: -1; }
.banner--3 .banner__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .8) 100%); }
.banner--3 .banner__img { transition: transform 1.2s var(--ease); }
.banner--3 .banner__box:hover .banner__img { transform: scale(1.04); }
.banner--3 .banner__body { align-items: center; max-width: 760px; padding: 80px 24px; text-align: center; }
.banner--3 .banner__title { font-size: 48px; line-height: 1.2; }
.banner--3 .banner__text { opacity: .85; }

@media (max-width: 1024px) {
	.banner--1 .banner__body, .banner--2 .banner__body { padding: 48px 40px; }
	.banner__title, .banner--3 .banner__title { font-size: 32px; }
}
@media (max-width: 767px) {
	.banner--1 .banner__box, .banner--2 .banner__box { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.banner--1 .banner__media, .banner--2 .banner__media { aspect-ratio: 16 / 10; }
	.banner--2 .banner__media { order: 0; }
	.banner--2 .banner__media::before { inset: auto 0 0 0; width: auto; height: 50%; background: linear-gradient(to top, #040404, rgba(4, 4, 4, 0)); }
	.banner--1 .banner__body, .banner--2 .banner__body { padding: 32px 24px; }
	.banner--2 .banner__body { padding-top: 8px; }
	.banner--3 .banner__box { min-height: 420px; }
	.banner__title, .banner--3 .banner__title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .banner--3 .banner__img { transition: none; } }

/* ==========================================================================
   Text page with contents (page-templates/text-page.php)
   ========================================================================== */
.doc { padding-block: 16px 0; }
.doc + .section { margin-top: 100px; }
.doc__crumbs { margin-bottom: 40px; }
.doc__layout { display: grid; grid-template-columns: minmax(0, 408px) minmax(0, 872px); justify-content: space-between; gap: 40px; }
.doc__layout--no-toc { grid-template-columns: minmax(0, 872px); }
.doc__aside { padding-right: 16px; border-right: 1px solid var(--c-n200); }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .doc-toc { top: calc(var(--header-h) + 56px); }
.doc-toc__title {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 24px;
	font-size: 18px; font-weight: 600; line-height: 1.55; letter-spacing: .18px; text-transform: uppercase;
	list-style: none;
}
.doc-toc__title::-webkit-details-marker { display: none; }
.doc-toc__chevron { display: none; width: 16px; height: 16px; transition: transform .25s var(--ease); }
.doc-toc__list { display: flex; flex-direction: column; gap: 6px; }
.doc-toc__link {
	display: block;
	padding: 10px 16px 10px 14px;
	border-left: 2px solid transparent;
	font-size: 16px; line-height: 1.55; letter-spacing: .16px;
	transition: border-color var(--t), background-color var(--t);
}
.doc-toc__link:hover { border-left-color: var(--c-n200); background: var(--c-bg-2); }
.doc-toc__link.is-active { border-left-color: var(--c-black); font-weight: 600; background: none; }

.doc__title { margin-bottom: 20px; font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.doc__content { display: flex; flex-direction: column; gap: 20px; }
.doc__content > * { margin: 0; }
.doc__content h2 { font-size: 32px; font-weight: 700; line-height: 1.3; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc__content h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
.doc__content h4 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.doc__content p { font-size: 18px; line-height: 1.6; letter-spacing: .18px; color: rgba(0, 0, 0, .8); }
.doc__content a { text-decoration: underline; text-underline-offset: 3px; transition: opacity var(--t); }
.doc__content a:hover { opacity: .6; }
.doc__content ul, .doc__content ol { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; list-style: none; }
.doc__content ol { padding-inline: 12px; counter-reset: doc; }
.doc__content li { position: relative; font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: .16px; color: rgba(0, 0, 0, .8); }
.doc__content ul > li { padding-left: 22px; }
.doc__content ul > li::before {
	content: ""; position: absolute; left: 0; top: 7px;
	width: 12px; height: 12px;
	background: radial-gradient(circle, #1c1b1a 3.86px, transparent 4.36px);
}
.doc__content ol > li { padding-left: 35px; counter-increment: doc; }
.doc__content ol > li::before { content: counter(doc, decimal-leading-zero) "."; position: absolute; left: 0; top: 0; font-weight: 800; }
.doc__content blockquote {
	padding: 30px 30px 30px 34px;
	background: var(--c-bg-2); border-left: 4px solid var(--c-black);
}
.doc__content blockquote p { font-size: 18px; line-height: 1.5; color: var(--c-black); }
.doc__content blockquote strong { font-weight: 600; }
.doc__content img { border-radius: 12px; }
.doc__content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc__content th, .doc__content td { padding: 10px 12px; border-bottom: 1px solid var(--c-n100); text-align: left; }
.doc__content th { background: var(--c-bg-2); font-weight: 600; }

@media (max-width: 1200px) {
	.doc__layout { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.doc__crumbs { margin-bottom: 24px; }
	.doc__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.doc__aside { padding: 0; border: 0; }
	.doc-toc { position: static; border: 1px solid var(--c-n100); border-radius: 12px; }
	.doc-toc__title { margin: 0; padding: 14px 16px; cursor: pointer; }
	.doc-toc__chevron { display: block; }
	.doc-toc[open] .doc-toc__chevron { transform: rotate(180deg); }
	.doc-toc__list { padding: 0 8px 12px; }
	.doc__title { font-size: 32px; }
	.doc__content h2 { font-size: 26px; }
	.doc__content h3 { font-size: 20px; }
	.doc__content p, .doc__content blockquote p { font-size: 16px; }
	.doc__content blockquote { padding: 20px 20px 20px 24px; }
}
@media (min-width: 901px) {
	.doc-toc__title { pointer-events: none; }
}
@media (max-width: 640px) {
	.doc + .section { margin-top: 64px; }
}

/* ==========================================================================
   404 (404.php)
   ========================================================================== */
.e404 { display: flex; flex-direction: column; align-items: center; padding-block: 80px; text-align: center; }
.e404__media { width: min(468px, 100%); margin-bottom: 48px; }
.e404__img { width: 100%; height: auto; }
.e404__title { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.e404__text { max-width: 562px; margin-top: 10px; font-size: 18px; line-height: 1.6; letter-spacing: .18px; color: var(--c-txt-2); }
.e404__btn { margin-top: 24px; }
@media (max-width: 640px) {
	.e404 { padding-block: 48px 64px; }
	.e404__media { margin-bottom: 32px; }
	.e404__title { font-size: 32px; }
	.e404__text { font-size: 16px; }
}

/* ==========================================================================
   My account (WooCommerce CSS is off here — inc/account.php)
   ========================================================================== */
.account-page { padding-block: 16px 100px; }
.account { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: start; }
.account__aside {
	position: sticky; top: calc(var(--header-h) + 24px);
	display: flex; flex-direction: column; gap: 8px;
	padding: 12px;
	background: var(--c-white); border: 1px solid #e8e8e8; border-radius: 20px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .04);
}
.admin-bar .account__aside { top: calc(var(--header-h) + 56px); }
.account-user { display: flex; align-items: center; gap: 12px; padding: 12px 12px 16px; border-bottom: 1px solid #eee; }
.account-user__avatar {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 48px; height: 48px;
	background: var(--c-black); border-radius: 50%;
	color: var(--c-white); font-size: 16px; font-weight: 600; letter-spacing: .5px;
}
.account-user__meta { display: flex; flex-direction: column; min-width: 0; }
.account-user__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.account-user__email { overflow: hidden; font-size: 13px; color: var(--c-n300); text-overflow: ellipsis; white-space: nowrap; }

.account-nav__list { display: flex; flex-direction: column; gap: 2px; }
.account-nav__link {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 15px; line-height: 1.3;
	transition: background-color var(--t), color var(--t);
}
.account-nav__link .icon { width: 20px; height: 20px; flex-shrink: 0; }
.account-nav__link:hover { background: var(--c-bg-2); }
.account-nav__link[aria-current="page"], .is-active > .account-nav__link { background: var(--c-black); color: var(--c-white); font-weight: 600; }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px; padding-top: 8px; border-top: 1px solid #eee; }
.woocommerce-MyAccount-navigation-link--customer-logout .account-nav__link:hover { background: #fff0ee; color: var(--c-red); }

/* Content typography */
.account__content { min-width: 0; font-size: 16px; line-height: 1.6; }
.account__content > * + * { margin-top: 24px; }
.account__content > .woocommerce-notices-wrapper:empty { display: none; }
.account__content > .woocommerce-notices-wrapper:empty:first-child + * { margin-top: 0; }
.account__content h2 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.account__content h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.account__content p a:not(.button), .account-page .woocommerce-LostPassword a, .account-page .lost_password a {
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.account__content p a:not(.button):hover, .account-page .woocommerce-LostPassword a:hover, .account-page .lost_password a:hover { background-position: 100% 100%; background-size: 0 1px; }
.account-page address { font-style: normal; line-height: 1.7; }
.account-page mark { background: none; color: inherit; font-weight: 600; }
.account-page mark.order-status { display: inline-block; padding: 2px 10px; background: var(--c-black); border-radius: 999px; color: var(--c-white); font-size: 14px; }
.account__content .account-title { font-size: 28px; font-weight: 700; line-height: 1.25; }
.account-text { margin-top: 6px; color: rgba(0, 0, 0, .7); }

/* Status pill */
.status-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	background: var(--c-bg-2); border-radius: 999px;
	color: #555; font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.status-pill::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status-pill--processing { background: #e8f0ff; color: #1d4ed8; }
.status-pill--completed { background: #d7ffee; color: #1d7d55; }
.status-pill--on-hold { background: #fff5d6; color: #8a6100; }
.status-pill--cancelled, .status-pill--failed, .status-pill--refunded { background: #fff0ee; color: var(--c-red); }

/* Dashboard */
.account-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.account-card {
	position: relative;
	display: flex; flex-direction: column; gap: 2px; height: 100%;
	padding: 20px;
	background: var(--c-white); border: 1px solid #e8e8e8; border-radius: 16px;
	transition: border-color var(--t), box-shadow var(--t);
}
.account-card:hover { border-color: var(--c-black); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.account-card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; background: var(--c-bg-2); border-radius: 12px; }
.account-card__icon .icon { width: 22px; height: 22px; }
.account-card__title { font-size: 16px; font-weight: 600; }
.account-card__meta { font-size: 14px; color: var(--c-n300); }
.account-card__arrow { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; opacity: 0; transform: translateX(-6px); transition: opacity var(--t), transform var(--t); }
.account-card:hover .account-card__arrow { opacity: 1; transform: none; }

.account-box { padding: 24px; background: var(--c-white); border: 1px solid #e8e8e8; border-radius: 20px; }
.account-box__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.account-box__title { font-size: 20px; font-weight: 600; }
.account-box .link-arrow { padding-bottom: 4px; font-size: 14px; }
.account-orders > li + li { border-top: 1px solid #eee; }
.account-order {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto 20px; align-items: center; gap: 16px;
	padding: 14px 8px; margin-inline: -8px;
	border-radius: 12px;
	transition: background-color var(--t);
}
.account-order:hover { background: var(--c-bg-2); }
.account-order__thumbs { display: flex; padding-left: 12px; }
.account-order__thumbs img { width: 48px; height: 56px; margin-left: -12px; object-fit: cover; background: #e8e8e8; border: 2px solid var(--c-white); border-radius: 8px; }
.account-order__info { display: flex; flex-direction: column; min-width: 0; }
.account-order__number { font-weight: 600; }
.account-order__date { font-size: 14px; color: var(--c-n300); }
.account-order__total { font-weight: 600; white-space: nowrap; }
.account-order__arrow { width: 20px; height: 20px; color: var(--c-n300); }
.account-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 0 4px; color: rgba(0, 0, 0, .7); }

/* Buttons */
.account-page .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px;
	background: var(--c-black); border: 1px solid var(--c-black); border-radius: 12px;
	color: var(--c-white); font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--t), color var(--t);
}
.account-page .button:hover { background: var(--c-white); color: var(--c-black); }
.account-page .button:disabled { opacity: .5; cursor: default; }
.account-page .shop_table .button, .account-page .woocommerce-info .button, .account-page .woocommerce-message .button {
	min-height: 0; padding: 8px 16px; font-size: 14px; border-radius: 10px;
}
.account-page .shop_table .button { background: var(--c-white); color: var(--c-black); }
.account-page .shop_table .button:hover { background: var(--c-black); color: var(--c-white); }

/* Notices */
.account-page .woocommerce-message, .account-page .woocommerce-info, .account-page .woocommerce-error {
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
	margin-bottom: 24px; padding: 14px 18px;
	background: var(--c-bg-2); border: 1px solid var(--c-n100); border-radius: 12px;
	font-size: 15px; line-height: 1.5; list-style: none;
}
.account__content .woocommerce-message, .account__content .woocommerce-info, .account__content .woocommerce-error { margin-bottom: 0; }
.account-page .woocommerce-message { background: #d7ffee; border-color: #27b479; color: #145c3e; }
.account-page .woocommerce-error { flex-direction: column; align-items: flex-start; background: #fff0ee; border-color: var(--c-red); color: #a3271a; }
.account-page .woocommerce-message .button, .account-page .woocommerce-info .button { order: 2; margin-left: auto; }

/* Tables (orders, order details) */
.account-page .shop_table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #e8e8e8; border-radius: 16px; font-size: 15px; }
.account-page .shop_table th, .account-page .shop_table td { padding: 14px 16px; text-align: left; vertical-align: middle; }
.account-page .shop_table thead th { background: var(--c-bg-2); color: var(--c-n300); font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.account-page .shop_table tbody tr + tr > *, .account-page .shop_table tfoot tr > * { border-top: 1px solid #eee; }
.account-page .shop_table tbody th { font-weight: 600; }
.account-page .shop_table tfoot th { font-weight: 500; color: rgba(0, 0, 0, .7); }
.account-page .shop_table tfoot tr:last-child > * { font-size: 17px; font-weight: 700; color: var(--c-black); }
.account-page .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
.account-page .woocommerce-orders-table__cell-order-actions { text-align: right; }
.account-page .woocommerce-orders-table__cell-order-actions .button + .button { margin-left: 6px; }
.account-page .order_details .product-name a { font-weight: 600; }
.account-page .order_details .wc-item-meta { margin-top: 4px; padding: 0; list-style: none; font-size: 13px; color: var(--c-n300); }
.account-page .order_details .wc-item-meta li, .account-page .order_details .wc-item-meta p { display: inline; }
.account-page .order_details .product-total { text-align: right; white-space: nowrap; }
.account-page .woocommerce-order-details, .account-page .woocommerce-customer-details { margin-top: 32px; }
.account-page .woocommerce-order-details__title, .account-page .woocommerce-column__title { margin-bottom: 14px; }
.account-page .woocommerce-customer-details address { padding: 20px 24px; border: 1px solid #e8e8e8; border-radius: 16px; }
.account-page .woocommerce-customer-details p { margin-top: 6px; }
.account-page .woocommerce-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

/* Addresses */
.account-page .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.account-page .woocommerce-Address { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #e8e8e8; border-radius: 16px; }
.account-page .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-page .woocommerce-Address-title h2 { font-size: 18px; }
.account-page .woocommerce-Address-title .edit {
	padding: 6px 14px; border: 1px solid var(--c-black); border-radius: 10px;
	font-size: 14px; font-weight: 600; transition: background-color var(--t), color var(--t);
}
.account-page .woocommerce-Address-title .edit:hover { background: var(--c-black); color: var(--c-white); }
.account-page .woocommerce-Address address { color: rgba(0, 0, 0, .75); }

/* Forms (address, account details, login, register, lost password) */
.account-page form .form-row { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 0 0 16px; }
.account-page .woocommerce-address-fields__field-wrapper, .account-page .woocommerce-EditAccountForm { display: flex; flex-wrap: wrap; column-gap: 12px; }
.account-page .form-row-first, .account-page .form-row-last { flex: 1 1 calc(50% - 6px); width: calc(50% - 6px); }
.account-page form .clear { display: none; }
.account-page form label { font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .13px; }
.account-page form .required { color: var(--c-red); text-decoration: none; border: 0; }
.account-page form .optional { color: var(--c-n300); font-weight: 400; }
.account-page form .input-text, .account-page form select, .account-page form textarea {
	width: 100%; min-height: 46px; padding: 10px 12px;
	background: var(--c-bg-2); border: 1px solid var(--c-n100); border-radius: 10px;
	font-size: 15px; line-height: 1.5; outline: none;
	transition: border-color var(--t), background-color var(--t);
}
.account-page form .input-text:focus, .account-page form select:focus, .account-page form textarea:focus { border-color: var(--c-black); background-color: var(--c-white); }
.account-page form .woocommerce-invalid .input-text, .account-page form .woocommerce-invalid select { border-color: var(--c-red); }
.account-page form em, .account-page form .description { font-size: 13px; font-style: normal; color: var(--c-n300); }
.account-page .woocommerce-input-wrapper { display: block; }
.account-page fieldset { width: 100%; margin: 8px 0 24px; padding: 20px 24px 8px; border: 1px solid #e8e8e8; border-radius: 16px; }
.account-page legend { padding: 0 8px; margin-left: -8px; font-size: 18px; font-weight: 600; }
.account-page .woocommerce-EditAccountForm > p:last-of-type, .account-page .woocommerce-address-fields > p:last-child { width: 100%; margin: 8px 0 0; }

/* Password field: show / hide button (added by WooCommerce JS) */
.account-page .password-input { position: relative; display: block; }
.account-page .password-input .input-text { padding-right: 46px; }
.account-page .show-password-input {
	position: absolute; top: 50%; right: 8px;
	width: 32px; height: 32px; padding: 0;
	background: currentColor; border: 0; opacity: .5; transform: translateY(-50%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	cursor: pointer; transition: opacity var(--t);
}
.account-page .show-password-input:hover, .account-page .show-password-input.display-password { opacity: 1; }
.account-page .woocommerce-password-strength { padding: 6px 10px; border-radius: 8px; font-size: 13px; }
.account-page .woocommerce-password-strength.short, .account-page .woocommerce-password-strength.bad { background: #fff0ee; color: #a3271a; }
.account-page .woocommerce-password-strength.good { background: #fff5d6; color: #8a6100; }
.account-page .woocommerce-password-strength.strong { background: #d7ffee; color: #145c3e; }
.account-page .woocommerce-password-hint { font-size: 13px; color: var(--c-n300); }

/* Country / state select (selectWoo) */
.account-page .select2-container .select2-selection--single { height: 46px; background: var(--c-bg-2); border: 1px solid var(--c-n100); border-radius: 10px; }
.account-page .select2-container--open .select2-selection--single, .account-page .select2-container--focus .select2-selection--single { border-color: var(--c-black); background: var(--c-white); }
.account-page .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 36px 0 12px; line-height: 44px; font-size: 15px; color: var(--c-black); }
.account-page .select2-container .select2-selection--single .select2-selection__arrow { top: 9px; right: 8px; }
.select2-dropdown { border-color: var(--c-n100) !important; border-radius: 10px !important; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, .1); }
.select2-results__option { padding: 8px 12px !important; font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--c-black) !important; }
.select2-search--dropdown .select2-search__field { padding: 8px 10px !important; border-radius: 8px; }

/* Checkbox */
.account-page input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-black); }
.account-page .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; cursor: pointer; }

/* Login / register (guest) */
.account-page--guest #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.account-page--guest #customer_login > div,
.account-page--guest .woocommerce:not(:has(#customer_login)) > form,
.account-page--guest .lost_reset_password {
	padding: 32px;
	background: var(--c-white); border: 1px solid #e8e8e8; border-radius: 20px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .04);
}
.account-page--guest .woocommerce:not(:has(#customer_login)) { max-width: 560px; }
.account-page--guest #customer_login h2, .account-page--guest .woocommerce > h2 { margin-bottom: 20px; font-size: 24px; font-weight: 600; }
.account-page--guest .woocommerce:not(:has(#customer_login)) > h2 { display: none; }
.account-page--guest form.login .form-row:has(.woocommerce-form-login__submit) { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.account-page--guest .woocommerce-form-login__submit, .account-page--guest .woocommerce-form-register__submit, .account-page--guest .lost_reset_password .button { width: 100%; }
.account-page--guest .woocommerce-form-login__submit { order: 2; }
.account-page--guest .woocommerce-LostPassword { margin-top: 4px; font-size: 14px; text-align: center; }
.account-page--guest .woocommerce-form-register > p:not(.form-row), .account-page--guest .woocommerce-privacy-policy-text p, .account-page--guest .lost_reset_password > p:first-child { margin-bottom: 16px; font-size: 14px; color: rgba(0, 0, 0, .7); }
.account-page--guest .lost_reset_password { max-width: 560px; }

@media (max-width: 1200px) {
	.account-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.account { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.account__aside { position: static; padding: 8px; }
	.account-user { display: none; }
	.account-nav__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.account-nav__list::-webkit-scrollbar { display: none; }
	.account-nav__link { padding: 10px 14px; white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 0 0 auto; padding: 0 0 0 8px; border-top: 0; border-left: 1px solid #eee; }
}
@media (max-width: 767px) {
	.account-page { padding-bottom: 64px; }
	.account-page .woocommerce-Addresses, .account-page--guest #customer_login { grid-template-columns: minmax(0, 1fr); }
	/* Responsive tables → cards */
	.account-page .shop_table_responsive thead { display: none; }
	.account-page .shop_table_responsive, .account-page .shop_table_responsive tbody, .account-page .shop_table_responsive tr, .account-page .shop_table_responsive th, .account-page .shop_table_responsive td { display: block; }
	.account-page .shop_table_responsive tbody tr { padding: 8px 0; }
	.account-page .shop_table_responsive tbody tr + tr { border-top: 1px solid #eee; }
	.account-page .shop_table_responsive tbody tr > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-top: 0 !important; text-align: right; }
	.account-page .shop_table_responsive tbody tr > *::before { content: attr(data-title); color: var(--c-n300); font-size: 13px; font-weight: 500; text-align: left; }
	.account-page .shop_table_responsive tbody tr > [data-title="Actions"]::before { content: ""; }
	.account-order { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
	.account-order .status-pill { grid-column: 2; justify-self: start; }
	.account-order__total { grid-column: 3; grid-row: 1; }
	.account-order__arrow { display: none; }
}
@media (max-width: 480px) {
	.account-card { padding: 16px; }
	.account-card__icon { width: 40px; height: 40px; margin-bottom: 10px; }
	.account-card__arrow { display: none; }
	.account-page .form-row-first, .account-page .form-row-last { flex-basis: 100%; width: 100%; }
	.account-box, .account-page--guest #customer_login > div, .account-page--guest .lost_reset_password { padding: 20px; }
}
.account__content .account-section-title { font-size: 28px; font-weight: 700; line-height: 1.25; }
.account-page .order_details tfoot td { text-align: right; }
.account-page .order_details tfoot td, .account-page .order_details tfoot th { padding-block: 10px; }
.account-page .order-again { margin-top: 16px; }
.account__content form > h2, .account__content form > h3 { margin-bottom: 20px; font-size: 28px; font-weight: 700; line-height: 1.25; }
.account-dash { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 767px) { .account__content .account-title, .account__content .account-section-title, .account__content form > h2, .account__content form > h3 { font-size: 24px; } }
@media (max-width: 767px) {
	.account-page .shop_table_responsive tbody tr > .woocommerce-orders-table__cell-order-total { display: block; }
	.account-page .shop_table_responsive tbody tr > .woocommerce-orders-table__cell-order-total::before { float: left; }
}

/* ==========================================================================
   Blog (template-parts/blog.php)
   ========================================================================== */
.blog { padding-top: 24px; }
.blog + .section { margin-top: 100px; }
.blog-hero { display: grid; grid-template-columns: minmax(0, 638fr) minmax(0, 678fr); gap: 4px; min-height: 393px; }
.blog-hero--no-photos { grid-template-columns: minmax(0, 1fr); }
.blog-hero__box {
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	padding: 64px;
	background: var(--c-black); border-radius: 12px; color: var(--c-white);
}
.blog-hero__box .breadcrumbs a:hover { color: var(--c-white); }
.blog-hero__text { display: flex; flex-direction: column; gap: 10px; max-width: 463px; }
.blog-hero__title { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.blog-hero__desc { font-size: 18px; line-height: 1.6; letter-spacing: .18px; opacity: .8; }
.blog-hero__photos { display: flex; gap: 4px; }
.blog-hero__photo { flex: 1 1 0; min-width: 0; overflow: hidden; background: #e8e8e8; border-radius: 12px; transition: flex-grow .5s var(--ease); }
.blog-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .blog-hero__photo:hover { flex-grow: 1.6; } }

.blog__head { display: flex; flex-direction: column; align-items: center; gap: 24px; margin: 100px 0 40px; }
.blog__title { font-size: 40px; font-weight: 600; line-height: 1.3; text-align: center; }
.blog-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.blog-chip {
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 43px; padding: 11px 23px;
	border: 1px solid var(--c-black); border-radius: 8px;
	font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
	transition: background-color var(--t), color var(--t);
}
.blog-chip:hover { background: var(--c-bg-2); }
.blog-chip.is-active { background: var(--c-black); color: var(--c-white); }
.blog-chip__icon { display: none; width: 16px; height: 16px; transform: rotate(135deg); }
.blog-chip.is-active .blog-chip__icon { display: block; }

/* Rows of 3 cards, then 2 wide cards */
.blog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.blog-grid__item { grid-column: span 2; }
.blog-grid__item:nth-child(5n+4), .blog-grid__item:nth-child(5n+5) { grid-column: span 3; }
.blog-grid .post-card { height: 100%; }
.blog__footer { margin-top: 40px; }
.blog__empty { padding: 48px; background: var(--c-bg-2); border-radius: 16px; text-align: center; }

@media (max-width: 1024px) {
	.blog-hero { grid-template-columns: minmax(0, 1fr); }
	.blog-hero__box { padding: 40px; }
	.blog-hero__photos { height: 260px; }
	.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.blog-grid__item, .blog-grid__item:nth-child(5n+4), .blog-grid__item:nth-child(5n+5) { grid-column: auto; }
	.blog__head { margin-top: 64px; }
	.blog__title { font-size: 32px; }
}
@media (max-width: 640px) {
	.blog { padding-top: 16px; }
	.blog-hero__box { padding: 24px; gap: 32px; }
	.blog-hero__title { font-size: 32px; }
	.blog-hero__desc { font-size: 16px; }
	.blog-hero__photos { height: 180px; }
	.blog-grid { grid-template-columns: minmax(0, 1fr); }
	.blog__head { margin: 48px 0 24px; gap: 16px; }
	.blog__title { font-size: 28px; }
	.blog-chips { flex-wrap: nowrap; justify-content: flex-start; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
	.blog-chips::-webkit-scrollbar { display: none; }
	.blog-chip { padding: 9px 18px; min-height: 40px; font-size: 15px; }
	.blog + .section { margin-top: 64px; }
}

/* ==========================================================================
   Single post (single.php)
   ========================================================================== */
.post-single { padding-top: 16px; }
.post-single__crumbs { margin-bottom: 59px; }
.post-single__crumbs .breadcrumbs__item:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.post-single__image { max-width: 1141px; height: 560px; margin-inline: auto; overflow: hidden; background: #e8e8e8; border-radius: 12px; }
.post-single__image img { width: 100%; height: 100%; object-fit: cover; }
.post-single__wrap { position: relative; display: flex; flex-direction: column; gap: 30px; max-width: 1021px; margin: -60px auto 0; }
.post-single--no-image .post-single__wrap { margin-top: 0; }
.post-single__card {
	display: flex; flex-direction: column; gap: 20px;
	padding: 48px;
	background: var(--c-white); border-radius: 12px;
	box-shadow: 0 0 18px rgba(0, 0, 0, .06);
}
.post-single__title { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.post-single__content img { width: 100%; height: auto; max-height: 440px; object-fit: cover; border-radius: 12px; }
.post-single__content figure { margin: 0; }
.post-single__content figcaption { margin-top: 8px; font-size: 14px; color: var(--c-n300); text-align: center; }

.author-box { display: flex; align-items: flex-start; gap: 23px; padding: 32px; background: var(--c-bg-2); border-radius: 20px; }
.author-box__avatar { flex-shrink: 0; }
.author-box__avatar .author-avatar { width: 80px !important; height: 80px !important; font-size: 24px; }
.author-box__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.author-box__head { display: flex; flex-direction: column; gap: 4px; }
.author-box__name { font-size: 24px; font-weight: 600; line-height: 1.3; }
.author-box__role { font-size: 16px; font-weight: 500; line-height: 1.6; opacity: .8; }
.author-box__bio { font-size: 16px; line-height: 1.6; letter-spacing: .16px; opacity: .8; }

/* Related news (black section) */
.related-news { margin-top: 100px; padding-block: 60px; background: var(--c-black); color: var(--c-white); }
.related-news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.related-news__title { font-size: 40px; font-weight: 600; line-height: 1.3; }
.related-news__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 12px; color: var(--c-black); }
.related-news__grid--3 .related-news__item:first-child { grid-row: span 2; }
.related-news__grid--1 { grid-template-columns: minmax(0, 1fr); }
.related-news__item > .post-card { height: 100%; }
.related-news__grid--3 .related-news__item:first-child .post-card__media { height: 290px; }

/* Post card: horizontal variant (image left) */
.post-card--row { flex-direction: row; align-items: center; gap: 20px; }
.post-card--row .post-card__media { flex: 0 0 190px; width: 190px; height: 190px; }
.post-card--row .post-card__body { align-self: stretch; min-height: 190px; }

@media (max-width: 1024px) {
	.post-single__image { height: 440px; }
	.post-single__wrap { margin-top: -40px; }
	.post-single__card { padding: 40px; }
	.post-single__title { font-size: 36px; }
	.related-news__grid { grid-template-columns: minmax(0, 1fr); }
	.related-news__grid--3 .related-news__item:first-child { grid-row: auto; }
}
@media (max-width: 640px) {
	.post-single__crumbs { margin-bottom: 20px; }
	.post-single__image { height: 260px; }
	.post-single__wrap { margin-top: -24px; gap: 20px; }
	.post-single__card { padding: 20px; gap: 16px; }
	.post-single__title { font-size: 28px; }
	.author-box { flex-direction: column; gap: 16px; padding: 24px; }
	.author-box__avatar .author-avatar { width: 64px !important; height: 64px !important; }
	.author-box__name { font-size: 20px; }
	.related-news { margin-top: 64px; padding-block: 48px; }
	.related-news__head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
	.related-news__title { font-size: 28px; }
	.related-news__grid--3 .related-news__item:first-child .post-card__media { height: 220px; }
	.post-card--row { gap: 14px; }
	.post-card--row .post-card__media { flex-basis: 110px; width: 110px; height: 130px; border-radius: 14px; }
	.post-card--row .post-card__body { min-height: 130px; gap: 12px; }
	.post-card--row .post-card__title { font-size: 16px; }
	.post-card--row .post-meta__author, .post-card--row .post-meta__time { display: none; }
	.post-card--row .post-meta > * + *::before { display: none; }
}

/* ==========================================================================
   Section: Page hero (about-hero)
   ========================================================================== */
.about-hero { background: var(--c-black); color: var(--c-white); }
.about-hero__inner { display: flex; align-items: stretch; gap: 4px; padding-block: 60px; }
.about-hero__photos { display: flex; gap: 4px; flex: 0 1 321px; min-width: 0; }
.about-hero__photo { flex: 1 1 0; min-width: 0; min-height: 541px; overflow: hidden; background: #222; border-radius: 12px; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__card {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	flex: 1 1 671px; min-width: 0; padding: 64px;
	background: var(--c-txt-2); border-radius: 12px;
}
.about-hero .breadcrumbs__list { justify-content: center; }
.about-hero .breadcrumbs a:hover { color: var(--c-white); }
.about-hero__body { display: flex; flex-direction: column; align-items: center; max-width: 583px; padding: 48px 16px; text-align: center; }
.about-hero__title { font-size: 45px; font-weight: 700; line-height: 1.2; letter-spacing: .45px; }
.about-hero__text { max-width: 487px; margin-top: 12px; font-size: 16px; line-height: 1.6; letter-spacing: .16px; }
.about-hero .about-hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 100%; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .25); }
.about-hero__pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px; border-radius: 500px; font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: .14px; }
.about-hero__check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: .75px solid var(--c-white); border-radius: 50%; }
.about-hero__check .icon { width: 11px; height: 11px; }
@media (max-width: 1024px) {
	.about-hero__inner { flex-wrap: wrap; padding-block: 40px; }
	.about-hero__card { order: -1; flex-basis: 100%; padding: 40px 24px; }
	.about-hero__photos { flex: 1 1 calc(50% - 2px); }
	.about-hero__photo { min-height: 260px; }
}
@media (max-width: 640px) {
	.about-hero__inner { padding-block: 24px; }
	.about-hero__card { padding: 32px 16px; }
	.about-hero__body { padding: 16px 0 0; }
	.about-hero__title { font-size: 32px; }
	.about-hero .about-hero__pills { margin-top: 24px; padding-top: 24px; }
	.about-hero__photo { min-height: 180px; }
}

/* ==========================================================================
   Section: Story tiles
   ========================================================================== */
.story { padding-block: 60px; }
.story--dark { background: var(--c-black); color: var(--c-white); }
.story + .story { padding-top: 0; }
.story__inner { display: flex; flex-direction: column; gap: 10px; }
.story__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.story__row--no-photo { grid-template-columns: minmax(0, 1fr); }
.story__row--photo-left .story__photo { order: -1; }
.story__tile {
	display: flex; flex-direction: column; justify-content: center; gap: 64px;
	min-height: 650px; padding: 64px;
	background: var(--c-txt-2); border-radius: 12px;
}
.story--light .story__tile { background: var(--c-bg-2); }
.story__tile--list { gap: 48px; }
.story__title { max-width: 448px; font-size: 40px; font-weight: 600; line-height: 1.3; }
.story__text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; opacity: .8; }
.story__text > * + * { margin-top: 1.6em; }
.story__photo { min-height: 650px; overflow: hidden; background: #dfdfdf; border-radius: 12px; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__tile--list + .story__photo, .story__photo:has(+ .story__tile--list) { min-height: 738px; }

/* Numbered list (01, 02…) */
.num-list { display: flex; flex-direction: column; gap: 20px; }
.num-list__item { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--c-n400); }
.story--light .num-list__item { border-color: var(--c-n200); }
.num-list__head { display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 600; line-height: 1.3; }
.num-list__num { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 37px; height: 37px; background: var(--c-white); border-radius: 8px; color: var(--c-black); font-size: 16px; }
.story--light .num-list__num { background: var(--c-black); color: var(--c-white); }
.num-list__text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; }

@media (max-width: 1024px) {
	.story__tile { min-height: 0; padding: 40px; gap: 32px; }
	.story__photo, .story__tile--list + .story__photo, .story__photo:has(+ .story__tile--list) { min-height: 460px; }
	.story__title { font-size: 32px; }
}
@media (max-width: 767px) {
	.story { padding-block: 40px; }
	.story__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.story__row--photo-left .story__photo { order: 0; }
	.story__photo, .story__tile--list + .story__photo, .story__photo:has(+ .story__tile--list) { min-height: 0; aspect-ratio: 4 / 3; }
	.story__tile { padding: 24px; }
	.story__title { font-size: 28px; }
	.num-list__head { font-size: 20px; }
}

/* ==========================================================================
   Section: Features with icons (tech)
   ========================================================================== */
.tech__title { max-width: 683px; margin-inline: auto; }
.tech__box { display: grid; grid-template-columns: minmax(0, 424fr) minmax(0, 896fr); }
.tech__box--no-photo { grid-template-columns: minmax(0, 1fr); }
.tech__photo { min-height: 600px; overflow: hidden; background: #c2c2c2; border-radius: 20px 0 0 20px; }
.tech__photo img { width: 100%; height: 100%; object-fit: cover; }
.tech__box .tech__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; align-content: center; padding: 48px; background: var(--c-bg-2); border-radius: 0 20px 20px 0; }
.tech__box--no-photo .tech__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 20px; }
.tech__item { display: flex; flex-direction: column; gap: 8px; }
.tech__icon { display: block; width: 64px; height: 64px; margin-bottom: 16px; }
.tech__icon svg, .tech__icon img { width: 64px; height: 64px; object-fit: contain; }
.tech__item-title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #010201; }
.tech__item-text { font-size: 16px; line-height: 1.6; letter-spacing: .16px; opacity: .8; }
@media (max-width: 900px) {
	.tech__box { grid-template-columns: minmax(0, 1fr); }
	.tech__photo { min-height: 0; aspect-ratio: 16 / 10; border-radius: 20px 20px 0 0; }
	.tech__grid { border-radius: 0 0 20px 20px; }
	.tech__box--no-photo .tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tech__box .tech__grid, .tech__box--no-photo .tech__grid { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; }
	.tech__icon, .tech__icon svg, .tech__icon img { width: 52px; height: 52px; }
	.tech__icon { margin-bottom: 8px; }
}
.nowrap { white-space: nowrap; }
@media (max-width: 400px) { .about-hero__title { font-size: 28px; } }

/* ==========================================================================
   Catalog filters drawer (template-parts/shop-filters.php)
   ========================================================================== */
.drawer__panel.filters-panel { width: min(672px, 100vw); }
.filters-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 40px 40px 14px; border-bottom: 1px solid #dedede; }
.filters-panel__title { font-size: 22px; font-weight: 600; line-height: 1.35; text-transform: uppercase; color: #1c1b1a; }
.filters-panel__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: -8px; border-radius: 8px; transition: background-color var(--t); }
.filters-panel__close:hover { background: var(--c-bg-2); }
.filters-panel__close .icon { width: 20px; height: 20px; }
.filters { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.filters__body { display: flex; flex-direction: column; gap: 24px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 48px 40px; }
.filters__footer { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px; border-top: 1px solid #dedede; }

.filter-group { padding-bottom: 24px; border-bottom: .5px solid #dedede; }
.filter-group__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; color: #1c1b1a; text-transform: uppercase; list-style: none; cursor: pointer; }
.filter-group__head::-webkit-details-marker { display: none; }
.filter-group__toggle .icon { width: 24px; height: 24px; }
.filter-group__minus, .filter-group[open] .filter-group__plus { display: none; }
.filter-group[open] .filter-group__minus { display: block; }
.filter-group__body { margin-top: 24px; }

/* Buttons (size and other attributes) */
.filters .filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-option > span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 52px; padding: 13px 17px;
	border: 1px solid var(--c-n300); border-radius: 6px;
	color: var(--c-n300); font-size: 12px; font-weight: 600; line-height: 1.1; letter-spacing: .12px; text-transform: uppercase;
	cursor: pointer; transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.filter-option:hover > span { border-color: var(--c-black); color: var(--c-black); }
.filter-option input:checked + span { border-color: #141414; box-shadow: inset 0 0 0 .5px #141414; color: var(--c-black); }
.filter-option input:focus-visible + span, .filter-swatch input:focus-visible ~ .filter-swatch__box { outline: 2px solid var(--c-black); outline-offset: 2px; }

/* Color swatches */
.filters .filter-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.filter-swatch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.filter-swatch__box { display: inline-flex; padding: 4px; border: 1px solid transparent; border-radius: 10px; transition: border-color var(--t); }
.filter-swatch__color { display: block; width: 24px; height: 24px; background: var(--swatch, #9b9b9b); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.filter-swatch:hover .filter-swatch__box { border-color: var(--c-n200); }
.filter-swatch input:checked ~ .filter-swatch__box { border-color: #181818; }
.filter-swatch__name { font-size: 16px; color: #141414; }

/* Price range */
.price-range { display: flex; flex-direction: column; gap: 20px; }
.price-range__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.price-range__field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; background: var(--c-bg-2); border: 1px solid #dedede; transition: border-color var(--t); }
.price-range__field:focus-within { border-color: var(--c-black); }
.price-range__field span { font-size: 12px; line-height: 1.6; letter-spacing: .12px; opacity: .6; }
.price-range__field input { width: 60%; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 500; line-height: 1.6; text-align: right; outline: none; -moz-appearance: textfield; appearance: textfield; }
.price-range__field input::-webkit-outer-spin-button, .price-range__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-range__slider { position: relative; height: 12px; margin-inline: 6px; }
.price-range__slider::before { content: ""; position: absolute; inset: 5.5px 0 auto; height: 1px; background: #dedede; }
.price-range__track { position: absolute; top: 5.5px; height: 1px; background: var(--c-black); }
.price-range__slider input[type="range"] {
	position: absolute; inset: 0 -6px; z-index: 2;
	width: calc(100% + 12px); height: 12px; margin: 0;
	background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.price-range__slider input[type="range"]::-webkit-slider-thumb { width: 12px; height: 12px; background: var(--c-black); border: 0; border-radius: 50%; pointer-events: auto; cursor: grab; -webkit-appearance: none; appearance: none; }
.price-range__slider input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; background: var(--c-black); border: 0; border-radius: 50%; pointer-events: auto; cursor: grab; }
.price-range__slider input[type="range"]::-webkit-slider-runnable-track { background: none; }
.price-range__slider input[type="range"]::-moz-range-track { background: none; }
.price-range__slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--c-black); outline-offset: 2px; }

/* Footer */
.filters__apply { width: 100%; min-height: 51px; background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.filters__apply:hover { background: var(--c-white); color: var(--c-black); }
.filters__apply:disabled, .filters__apply.btn:disabled { background: #cecece; border-color: #cecece; color: var(--c-white); pointer-events: none; }
.filters__clean {
	padding-bottom: 4px; font-size: 14px; font-weight: 600; line-height: 1.45; letter-spacing: .28px; color: #141414;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .4s var(--ease);
}
.filters__clean:hover { background-position: 100% 100%; background-size: 0 1px; }


@media (max-width: 640px) {
	.filters-panel__head { padding: 24px 16px 14px; }
	.filters-panel__title { font-size: 20px; }
	.filters__body { padding: 24px 16px; gap: 20px; }
	.filters__footer { padding: 16px; }
	.filter-group { padding-bottom: 20px; }
	.filter-group__head { font-size: 16px; }
	.filter-group__body { margin-top: 18px; }
}
