/* ==========================================================================
   Likebreeze — main stylesheet
   Source of truth: Figma "Likebreeze_main" (1920) + "m_Likebreeze_0818" (720 @2x).
   The Figma frames show the RTL site: Figma-right = inline-start, Figma-left =
   inline-end. Logical properties keep LTR (English) a clean mirror.
   ========================================================================== */

/* Fonts (bundled, OFL). Pretendard covers Latin (as in Figma); Vazirmatn covers Persian. */
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Medium-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-SemiBold-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Pretendard"; src: url("../fonts/Pretendard-Bold-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-wght.woff2") format("woff2-variations"), url("../fonts/Vazirmatn-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	/* Colour tokens (Figma). --c-muted is #999 in Figma, darkened to pass WCAG AA (4.5:1) for text. */
	--c-ink: #222;
	--c-ink-2: #333;
	--c-text: #666;
	--c-muted: #767676;
	--c-faint: #ccc;
	--c-line: #ddd;
	--c-divider: #d9d9d9;
	--c-surface: #f6f6f7;
	--c-white: #fff;
	--c-accent: #ff6339;
	--c-accent-dark: #e94e24;
	--c-sale: #e00719;
	--c-overlay: rgba(0, 0, 0, .7);
	--c-focus: #1a5fff;

	--font: "Pretendard", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font-fa: "Vazirmatn", "Pretendard", system-ui, Tahoma, sans-serif;

	/* Layout: 1500px content inside 1920 (210px sides). */
	--container: 1500px;
	--gutter: clamp(16px, 3.2vw, 24px);
	--section-space: clamp(25px, 5.2vw, 100px);
	--grid-gap: clamp(12px, 1.72vw, 33px);
	--radius-pill: 999px;

	/* Type scale: Figma desktop → mobile (720 frame ÷ 2). */
	--fs-section: clamp(24px, 1.6vw + 0.9rem, 50px);
	--fs-hero: clamp(26px, 1.7vw + 1rem, 50px);
	--fs-hero-sub: clamp(16px, .9vw + .6rem, 30px);
	--fs-xl: clamp(22px, 1.2vw + .8rem, 40px);
	--fs-lg: clamp(16px, .6vw + .6rem, 24px);
	--fs-md: clamp(15px, .3vw + .7rem, 20px);
	--fs-base: clamp(15px, .2vw + .75rem, 18px);
	--fs-sm: clamp(13px, .15vw + .7rem, 16px);
	--fs-xs: 14px;

	--shadow-product: 7px 10px 10px rgba(0, 0, 0, .1);
	--shadow-card: 0 20px 30px rgba(0, 0, 0, .07);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--dur: 200ms;

	/* Direction helpers for physical-only properties. */
	--to-end: to right;
	--flip: 1;

	--header-h: 197px;
	--bottom-bar-h: 0px;
}
[dir="rtl"] { --to-end: to left; --flip: -1; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
/* Never scroll sideways, even if a plugin or embed is wider than the screen (clip keeps position: sticky working). */
@supports (overflow: clip) { html { overflow-x: clip; } }
/* Keep keyboard-focused elements clear of the sticky header and bottom bars. */
html { scroll-padding-top: 24px; scroll-padding-bottom: 24px; }
@media (max-width: 1023px) { html { scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: calc(var(--bottom-bar-h) + 80px); } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-ink);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: var(--bottom-bar-h);
}
:lang(fa) body, body:lang(fa) { font-family: var(--font-fa); }
img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.25em; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--c-divider); margin: 2rem 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: 0 !important; overflow: hidden; padding: 0;
	position: absolute !important; top: 0; left: 0; word-wrap: normal !important;
}
.a11y-speak-region { left: 0 !important; margin: 0 !important; }
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: auto; right: auto; inset-inline-start: 16px; top: 16px; z-index: 1000; padding: 12px 20px;
	background: var(--c-ink); color: var(--c-white);
}
.site-main:focus { outline: 0; }

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

.icon { flex: none; }
[dir="rtl"] .icon--chevron-right, [dir="rtl"] .icon--chevron-left { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.button, .wp-element-button, .wp-block-button__link, input[type="submit"], button[type="submit"].submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px;
	font-size: var(--fs-md); font-weight: 500; line-height: 1;
	border: 1px solid var(--c-ink); background: var(--c-ink); color: var(--c-white);
	border-radius: 0; cursor: pointer; text-align: center;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.button:hover, .wp-element-button:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-white); }
.button--outline { background: var(--c-white); color: var(--c-ink); }
.button--outline:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.button--outline-light { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.button--outline-light:hover { background: var(--c-white); color: var(--c-accent); border-color: var(--c-white); }
.button--accent { background: var(--c-accent); border-color: var(--c-accent); }
.button--accent:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }

.icon-button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; color: var(--c-ink);
}
.round-button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .6); color: var(--c-white);
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.round-button:hover { background: var(--c-white); color: var(--c-accent); }
.round-button.swiper-button-disabled { opacity: .4; cursor: default; }

/* "More ›" text link (Figma: btn, Medium 20 #999). */
.more-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font-size: var(--fs-md); font-weight: 500; color: var(--c-muted);
}
.more-link:hover { color: var(--c-ink); }

/* Bordered "More" button (Figma: 200×60, 1px #222). */
.more-button-wrap { display: flex; justify-content: center; margin-top: clamp(30px, 5.2vw, 100px); }
.more-button { min-width: 200px; min-height: 60px; }
.more-button-wrap.is-mobile-only { display: none; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
	width: 100%; min-height: 50px; padding: 10px 16px;
	border: 1px solid var(--c-line); border-radius: 0; background: var(--c-white);
	font-size: 16px; line-height: 1.5;
	transition: border-color var(--dur) var(--ease);
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select {
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
[dir="rtl"] select { background-position: left 14px center; }
input:focus, select:focus, textarea:focus { border-color: var(--c-ink); outline: none; box-shadow: 0 0 0 1px var(--c-ink); }
label { display: inline-block; margin-bottom: 6px; font-weight: 500; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--c-ink); width: 18px; height: 18px; vertical-align: middle; }

.search-form { position: relative; display: flex; align-items: center; }
.search-form__input {
	height: 55px; border: 1px solid var(--c-ink) !important; border-radius: var(--radius-pill) !important;
	padding-inline: 30px 64px; font-size: var(--fs-base);
}
.search-form__input::placeholder { color: var(--c-muted); }
.search-form__input:focus { box-shadow: 0 0 0 1px var(--c-ink); }
.search-form__submit {
	position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink);
}
.search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- Header (Figma 1:479) ---------- */
.site-header { position: relative; z-index: 50; background: var(--c-white); padding-top: 50px; }
.site-header.is-stuck { position: sticky; top: 0; box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }
.admin-bar .site-header.is-stuck { top: 32px; }
.site-header__top { display: flex; align-items: center; gap: 24px; }
.site-branding { flex: none; order: 1; }
.site-branding img, .custom-logo { width: auto; max-height: 66px; }
.site-branding__text { font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--c-ink); text-transform: uppercase; }
.site-search { order: 2; width: min(600px, 42%); margin-inline-start: 70px; }
.header-actions { order: 3; display: flex; align-items: flex-end; gap: 28px; margin-inline-start: auto; }
.header-action {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
	min-width: 44px; min-height: 52px; color: var(--c-ink);
}
.header-action .icon { width: 28px; height: 28px; }
.header-action__label { font-size: var(--fs-xs); line-height: 1.2; color: var(--c-muted); }
.header-action:hover .header-action__label { color: var(--c-ink); }
.cart-count {
	position: absolute; top: -6px; inset-inline-end: -4px;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--c-accent); color: var(--c-white);
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count[data-count="0"] { display: none; }
.site-header__menu-toggle, .site-header__search-toggle { display: none; }

.site-header__bottom { display: flex; align-items: center; gap: 50px; margin-top: 31px; min-height: 50px; }
.primary-nav { order: 2; }
.primary-nav__list { display: flex; align-items: center; gap: 50px; margin: 0; padding: 0; list-style: none; }
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; font-size: var(--fs-md); color: var(--c-ink); }
.primary-nav__list > li > a:hover, .primary-nav__list > .current-menu-item > a { color: var(--c-accent); }
.primary-nav .menu-item-has-children > a::after {
	content: ""; width: 0; height: 0;
	border-inline: 5px solid transparent; border-top: 8px solid var(--c-ink);
	transition: transform var(--dur) var(--ease);
}
.primary-nav .sub-menu {
	position: absolute; top: 100%; inset-inline-start: -20px; z-index: 20;
	min-width: 220px; margin: 0; padding: 12px 0; list-style: none;
	background: var(--c-white); box-shadow: var(--shadow-card); border: 1px solid var(--c-line);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 10px 20px; font-size: 16px; }
.primary-nav .sub-menu a:hover { background: var(--c-surface); }
.categories-toggle { order: 1; display: inline-flex; align-items: center; gap: 30px; min-height: 50px; font-size: var(--fs-md); color: var(--c-ink); }
.categories-toggle__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--c-ink); color: var(--c-white); transition: background-color var(--dur) var(--ease); }
.categories-toggle:hover .categories-toggle__icon { background: var(--c-accent); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: lb-fade var(--dur) var(--ease); }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0;
	width: min(400px, 88vw); overflow-y: auto; background: var(--c-white);
	padding: 24px; animation: lb-slide-in 260ms var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer__title { margin: 0; font-size: 22px; font-weight: 700; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--c-surface); }
.drawer__list a { display: flex; align-items: center; min-height: 52px; font-size: 17px; }
.drawer__list .children, .drawer__list .sub-menu { list-style: none; padding-inline-start: 16px; margin: 0 0 8px; }
.drawer__list .children a, .drawer__list .sub-menu a { min-height: 44px; font-size: 15px; color: var(--c-text); }
.drawer__list .children li, .drawer__list .sub-menu li { border: 0; }
.drawer__nav--secondary { margin-top: 24px; padding-top: 16px; border-top: 2px solid var(--c-ink); }
.drawer__nav--secondary .primary-nav__list { display: block; }
.drawer__nav--secondary .primary-nav__list li { border-bottom: 1px solid var(--c-surface); }
.drawer__nav--secondary .primary-nav__list a { display: flex; align-items: center; min-height: 52px; }
.drawer__nav--secondary .sub-menu { list-style: none; padding-inline-start: 16px; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-slide-in { from { transform: translateX(calc(-100% * var(--flip))); } }
body.drawer-open { overflow: hidden; }

/* ---------- Hero (Figma 1:455) ---------- */
.hero { position: relative; margin-top: 20px; }
.hero__slider { position: relative; overflow: hidden; }
.hero__slide { position: relative; display: flex; align-items: center; min-height: clamp(270px, 32.3vw, 620px); background: var(--c-surface); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__content { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
@media (min-width: 1024px) { .hero__content { padding-inline: max(var(--gutter), calc(clamp(16px, 5.2vw, 100px) + 84px)); } }
.hero__text { max-width: 560px; }
.hero__eyebrow { margin: 0 0 10px; font-family: "Pretendard", var(--font); font-size: var(--fs-md); letter-spacing: .02em; color: var(--c-ink); }
.hero__title { margin: 0; font-family: var(--font-fa); font-size: var(--fs-hero); font-weight: 700; line-height: 1.55; color: var(--c-ink); }
.hero__subtitle { margin: 8px 0 0; font-family: var(--font-fa); font-size: var(--fs-hero-sub); color: var(--c-text); }
.hero__link { position: absolute; inset: 0; z-index: 2; }
.hero__nav {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, .2); color: var(--c-white);
	transition: background-color var(--dur) var(--ease);
}
.hero__nav:hover { background: rgba(0, 0, 0, .45); }
.hero__nav--prev { left: clamp(16px, 5.2vw, 100px); }
.hero__nav--next { right: clamp(16px, 5.2vw, 100px); }
[dir="rtl"] .hero__nav .icon { transform: none; }
.hero__pagination { position: absolute; bottom: 50px !important; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__pagination .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: var(--c-ink); opacity: .2; border-radius: 5px; transition: width var(--dur) var(--ease), opacity var(--dur); }
.hero__pagination .swiper-pagination-bullet-active { width: 30px; opacity: 1; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-space); }
.section--categories { padding-top: calc(var(--section-space) * 1.5); }
.section-head {
	display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px;
	margin-bottom: clamp(20px, 2.1vw, 40px);
}
.section-title {
	grid-column: 1; grid-row: 1; margin: 0;
	font-size: var(--fs-section); font-weight: 600; line-height: 1.2;
	text-transform: uppercase; color: #000; letter-spacing: -.01em;
}
.section-head .more-link { grid-column: 2; grid-row: 1; }
.section-head .tabs__list { grid-column: 1 / -1; grid-row: 2; margin-top: clamp(14px, 2.1vw, 40px); }

/* Tabs (Figma tab_btn: Bold 24, #ccc / active #ff6339, 2×16 dividers). */
.tabs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.tabs__tab {
	position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 28px;
	font-size: var(--fs-lg); font-weight: 700; color: var(--c-faint); line-height: 1.2;
	transition: color var(--dur) var(--ease);
}
.tabs__tab:first-child { padding-inline-start: 0; }
.tabs__tab + .tabs__tab::before {
	content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 2px; height: 16px;
	background: var(--c-divider); transform: translateY(-50%);
}
.tabs__tab:hover { color: var(--c-text); }
.tabs__tab[aria-selected="true"] { color: var(--c-accent); }
.tabs__panel { animation: lb-fade 300ms var(--ease); }

/* ---------- Product grid + card (Figma list_1..4: 350×500) ---------- */
.product-grid { display: grid; gap: clamp(20px, 3.6vw, 70px) var(--grid-gap); margin: 0; padding: 0; list-style: none; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-card__media {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1; overflow: hidden; background: var(--c-surface);
}
.product-card__media img {
	width: 100%; height: 100%; object-fit: contain; padding: 14%;
	mix-blend-mode: multiply; transition: transform 400ms var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.placeholder--product { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.placeholder--product svg { width: auto; height: 53%; filter: drop-shadow(var(--shadow-product)); }
.placeholder--photo { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ece7e2, #d9dfe2); }
.product-card.is-demo.demo-shape-1 .placeholder--product svg { height: 38%; transform: scaleX(2.2); }
.product-card.is-demo.demo-shape-3 .placeholder--product svg { height: 42%; transform: scaleX(1.8); }

.product-card__badge {
	position: absolute; top: 0; inset-inline-start: 0;
	padding: 6px 10px; background: var(--c-sale); color: var(--c-white);
	font-size: 14px; font-weight: 700; line-height: 1.2;
}
.product-card__soldout {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: var(--c-overlay); color: var(--c-white);
	font-size: clamp(18px, 1.56vw, 30px); font-weight: 700; text-transform: uppercase;
}
.product-card__rank {
	position: absolute; top: 0; inset-inline-start: 0;
	width: clamp(30px, 2.1vw, 40px); height: clamp(30px, 2.1vw, 40px);
	display: flex; align-items: center; justify-content: center;
	background: var(--c-ink); color: var(--c-white); font-size: clamp(15px, .94vw, 18px); font-weight: 700;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding-top: clamp(14px, 1.56vw, 30px); }
.product-card__title {
	margin: 0; font-size: var(--fs-base); font-weight: 400; line-height: 1.67; color: var(--c-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(1.67em * 2);
}
.product-card__title a:hover { color: var(--c-ink); }
.product-card__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: clamp(14px, 1.56vw, 30px); }
.product-card__prices { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; order: 2; text-align: end; justify-content: flex-end; }
.product-card__actions { display: flex; align-items: center; gap: 4px; order: 1; margin-inline-start: -10px; }
.product-card__price { font-size: var(--fs-lg); font-weight: 700; color: var(--c-ink); line-height: 1.25; white-space: nowrap; }
.product-card__price .woocommerce-Price-currencySymbol, .product-card__regular .woocommerce-Price-currencySymbol { font-weight: 400; font-size: .75em; }
.product-card__discount { color: var(--c-sale); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.product-card__regular { flex-basis: 100%; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; text-decoration: line-through; }
.product-card__regular .woocommerce-Price-amount { text-decoration: line-through; }
.product-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; color: var(--c-ink); position: relative;
	transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card__icon:hover { color: var(--c-accent); }
.product-card__icon:active { transform: scale(.92); }
.product-card__icon[disabled] { cursor: default; opacity: .6; }
.product-card__wish[aria-pressed="true"] { color: var(--c-sale); }
.product-card__wish[aria-pressed="true"] svg path { fill: currentColor; }
.product-card__cart.loading { opacity: .4; pointer-events: none; }
.product-card__cart.added::after {
	content: ""; position: absolute; top: 6px; inset-inline-end: 6px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--c-accent); border: 2px solid var(--c-white);
}
.product-card .added_to_cart { display: none; }

/* Ranked variant (Figma Best Sellers list: 260×412). */
.product-card--rank .product-card__media { aspect-ratio: 26 / 30; }
.product-card--rank .product-card__body { padding-top: 20px; }
.product-card--rank .product-card__title { font-weight: 600; color: var(--c-ink); line-height: 1.35; -webkit-line-clamp: 1; min-height: 0; }
.product-card--rank .product-card__meta { margin-top: 18px; }
.product-card--rank .product-card__price { font-size: var(--fs-sm); }
.product-card--rank .product-card__icon { width: 36px; height: 36px; opacity: .5; }
.product-card--rank .product-card__icon:hover { opacity: 1; }
.product-card--rank .product-card__icon svg { width: 18px; height: 18px; }

/* Promo variant (Figma Promotions list: 320×420 white + shadow). */
.product-card--promo { height: 100%; background: var(--c-white); box-shadow: var(--shadow-card); padding: 0 0 clamp(20px, 2.4vw, 46px); }
.product-card--promo .product-card__media { aspect-ratio: 32 / 25; background: var(--c-white); }
.product-card--promo .product-card__body { padding: 8px clamp(16px, 2vw, 39px) 0; }
.product-card--promo .product-card__title { font-size: var(--fs-md); font-weight: 600; color: var(--c-ink); text-transform: uppercase; line-height: 1.2; min-height: 2.4em; }
.product-card--promo .product-card__meta { margin-top: 10px; }
.product-card--promo .product-card__prices { justify-content: flex-start; text-align: start; order: 0; }
.product-card--promo .product-card__price { font-size: var(--fs-sm); }

/* ---------- Best Sellers (Figma con_2) ---------- */
.bestsellers { display: grid; grid-template-columns: minmax(0, 930fr) minmax(0, 570fr); grid-template-areas: "list feature"; gap: clamp(24px, 4.7vw, 90px); }
.product-grid--rank { grid-area: list; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 30px; }
.best-feature { grid-area: feature; position: relative; display: block; overflow: hidden; color: var(--c-white); background: #c9d3d6; min-height: 100%; }
.best-feature:hover { color: var(--c-white); }
.best-feature__media, .best-feature__media img, .best-feature__media .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.best-feature__media img { transition: transform 600ms var(--ease); }
.best-feature:hover .best-feature__media img { transform: scale(1.03); }
.best-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 45%); }
.best-feature__badge {
	position: absolute; top: 0; inset-inline-end: 0; z-index: 1;
	width: clamp(50px, 3.65vw, 70px); height: clamp(50px, 3.65vw, 70px);
	display: flex; align-items: center; justify-content: center;
	background: var(--c-accent); font-size: clamp(14px, .94vw, 18px); font-weight: 700;
}
.best-feature__title {
	position: absolute; z-index: 1; top: clamp(60px, 5.6vw, 108px); inset-inline: clamp(24px, 3.1vw, 60px);
	font-size: var(--fs-xl); font-weight: 700; line-height: 1.2; max-width: 390px; text-shadow: 0 1px 12px rgba(0, 0, 0, .15);
}

/* ---------- Promo banners (Figma con_3: 735×200) ---------- */
.section--banners { padding-block: 0; }
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.promo-banner {
	position: relative; display: flex; align-items: center; min-height: clamp(100px, 10.4vw, 200px);
	padding-inline: clamp(24px, 3.9vw, 75px); overflow: hidden;
	background: var(--banner-bg, var(--c-surface)); color: var(--c-ink);
}
.promo-banner:hover { color: var(--c-ink); }
.promo-banner__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.promo-banner__eyebrow { font-size: var(--fs-md); font-weight: 500; line-height: 1.2; }
.promo-banner__title { font-size: clamp(20px, 1.56vw, 30px); font-weight: 700; line-height: 1.2; }
.promo-banner__text { margin-inline-start: auto; width: 55%; }
.promo-banner__image { position: absolute; top: 0; inset-inline-start: 0; width: 42%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.promo-banner:hover .promo-banner__image { transform: scale(1.04); }

/* ---------- Promotions (Figma con_4: orange 780 / grey 1140) ---------- */
.promotions {
	position: relative; display: flex; align-items: center; min-height: clamp(420px, 33.85vw, 650px);
	margin-block: var(--section-space); padding-block: 0; overflow: hidden;
	background: linear-gradient(var(--to-end), var(--c-accent) 0 40.625%, var(--c-surface) 40.625% 100%);
}
.promotions__panel { position: relative; flex: 0 0 40.625%; align-self: stretch; display: flex; align-items: center; color: var(--c-white); }
.promotions__intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.promotions__title { color: var(--c-white); }
.promotions__intro .button { min-width: 200px; min-height: 60px; }
.promotions__nav { display: flex; gap: 10px; margin-top: 100px; }
.promotions__watermark { position: absolute; bottom: 0; inset-inline-end: 12.8%; width: clamp(160px, 16.5vw, 318px); opacity: .07; pointer-events: none; }
.promotions__track { flex: 1; min-width: 0; margin-inline-start: -100px; position: relative; z-index: 1; }
.promotions__track .swiper { overflow: visible; padding-block: 30px 50px; }
.promotions__track .swiper-slide { width: clamp(200px, 16.7vw, 320px); height: auto; }

/* ---------- Brands (Figma con_5) ---------- */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; padding: 50px; background: var(--c-surface); }
.brand-card {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 150px; padding-inline: 50px; background: var(--c-white); border: 1px solid var(--c-line);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.brand-card:hover { border-color: var(--c-ink); box-shadow: var(--shadow-card); }
.brand-card__logo { order: 2; display: flex; align-items: center; max-width: 55%; }
.brand-card__logo img { max-height: 34px; width: auto; }
.brand-card__name { font-size: 20px; font-weight: 700; letter-spacing: .02em; color: var(--c-ink); }
.brand-card__product { order: 1; display: flex; align-items: center; justify-content: center; width: 80px; height: 100px; }
.brand-card__product img { max-height: 100px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.brand-card__product .placeholder--product svg { height: 87px; }

/* ---------- Card grids (events / reviews / news) ---------- */
.card-grid { display: grid; gap: 40px 30px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 33px; }

/* Event (Figma con_7: 480×400). */
.event-card { position: relative; display: block; aspect-ratio: 480 / 400; overflow: hidden; background: var(--c-surface); color: var(--c-ink-2); }
.event-card:hover { color: var(--c-ink-2); }
.event-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 600ms var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; text-align: end; width: 56%; margin-inline-start: auto; padding: clamp(24px, 3.1vw, 60px); padding-inline-start: 0; }
.event-card__label { font-size: var(--fs-lg); font-weight: 500; color: var(--c-text); text-transform: uppercase; }
.event-card__title { margin-top: 20px; font-size: var(--fs-xl); font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.event-card__tag { margin-top: 20px; padding: 8px 18px; border: 1px solid var(--c-ink-2); border-radius: var(--radius-pill); font-size: var(--fs-md); font-weight: 500; line-height: 1.4; }

/* Photo review (Figma con_8: 350 wide). */
.review-card { display: flex; flex-direction: column; }
.review-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 350 / 300; overflow: hidden; background: var(--c-surface); }
.review-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.review-card__media:hover img { transform: scale(1.04); }
.review-card__head { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.review-card__author { font-size: var(--fs-base); color: var(--c-muted); }
.review-card__text { margin: 20px 0 0; font-size: var(--fs-base); line-height: 1.4; color: var(--c-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-card__date { margin: 15px 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.stars { position: relative; display: inline-block; width: 100px; height: 20px; flex: none; }
.stars::before, .stars::after {
	content: ""; position: absolute; inset: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m10 1.5 2.6 5.4 5.9.8-4.3 4.1 1 5.8L10 14.8l-5.2 2.8 1-5.8L1.5 7.7l5.9-.8z'/%3E%3C/svg%3E") 0 0 / 20px 20px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m10 1.5 2.6 5.4 5.9.8-4.3 4.1 1 5.8L10 14.8l-5.2 2.8 1-5.8L1.5 7.7l5.9-.8z'/%3E%3C/svg%3E") 0 0 / 20px 20px repeat-x;
}
.stars::before { background: var(--c-line); }
.stars::after { background: var(--c-accent); width: var(--rating, 0%); }
[dir="rtl"] .stars::after { inset-inline-start: 0; inset-inline-end: auto; right: 0; left: auto; }

/* News (Figma con_9: 480×480 + gradient). */
.news-card__link { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: var(--c-white); background: var(--c-surface); }
.news-card__link:hover { color: var(--c-white); }
.news-card__media, .news-card__media img, .news-card__media .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card__media img { transition: transform 600ms var(--ease); }
.news-card__link:hover .news-card__media img { transform: scale(1.04); }
.news-card__link::after { content: ""; position: absolute; inset: auto 0 0; height: 37%; background: linear-gradient(180deg, rgba(217, 217, 217, 0), rgba(0, 0, 0, .6)); }
.news-card__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 0 40px 40px; }
.news-card__title { margin: 0; font-size: var(--fs-lg); font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__date { margin: 20px 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }

/* ---------- Footer (Figma 1:3) ---------- */
.site-footer { margin-top: var(--section-space); padding-block: 100px 70px; background: var(--c-surface); color: var(--c-text); }
.site-footer__top { display: flex; align-items: flex-start; gap: 70px; }
.footer-brand { flex: none; }
.footer-brand img, .footer-brand .custom-logo { max-height: 102px; width: auto; }
.footer-contact { font-style: normal; color: var(--c-ink); font-size: var(--fs-base); }
.footer-contact p { margin: 0 0 18px; }
.footer-contact__lines { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.footer-contact a:hover { color: var(--c-accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-inline-start: -9px; }
.footer-menus { display: flex; gap: 100px; margin-inline-start: auto; }
.footer-menu__title { margin: 0 0 20px; font-size: var(--fs-md); font-weight: 700; color: var(--c-ink); text-transform: uppercase; }
.footer-menu__list { list-style: none; margin: 0; padding: 0; }
.footer-menu__list li { margin: 0; }
.footer-menu__list a { display: inline-flex; align-items: center; min-height: 41px; font-size: var(--fs-base); color: var(--c-text); }
.footer-menu__list a:hover { color: var(--c-ink); }
.footer-menu__list .children { display: none; }
/* Trust badges (eNamad, Samandehi, …): last column of the footer's top row. */
.footer-trust { flex: none; }
.footer-trust__list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.trust-badge {
	display: flex; align-items: center; justify-content: center; width: 104px; height: 116px; padding: 8px;
	background: var(--c-white); border: 1px solid var(--c-line); overflow: hidden;
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.trust-badge:hover { border-color: var(--c-faint); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.trust-badge a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.trust-badge img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: pointer; }
.trust-badge--empty { border-style: dashed; border-color: var(--c-faint); background: transparent; font-size: 13px; color: var(--c-muted); }
.site-footer__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--c-divider); }
.footer-about { max-width: 1500px; }
.footer-about__tagline { margin: 0 0 20px; font-size: var(--fs-base); color: var(--c-text); }
.footer-about__text { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.5; }
.footer-about__text p { margin: 0; }
.footer-about__copyright { margin: 30px 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
.footer-toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: -12px; font-size: 15px; color: var(--c-muted); text-transform: uppercase; }
.footer-toggle .icon { transform: rotate(180deg); transition: transform var(--dur) var(--ease); }
.footer-toggle[aria-expanded="false"] .icon { transform: none; }

/* Back to top (Figma btn_top 60×60). */
.back-to-top {
	position: fixed; right: clamp(16px, 5.2vw, 100px); bottom: calc(40px + var(--bottom-bar-h)); z-index: 40;
	width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line); border-radius: 50%; background: var(--c-white); color: var(--c-ink);
	box-shadow: var(--shadow-card); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.back-to-top:hover { background: var(--c-ink); color: var(--c-white); }

/* Add-to-cart toast (auto-dismisses; announced via role=status). */
.lb-toast {
	position: fixed; z-index: 250; inset-inline-end: clamp(16px, 2vw, 32px); bottom: calc(24px + var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px;
	width: min(400px, calc(100vw - 32px)); padding: 16px 16px 16px 20px;
	background: var(--c-ink); color: var(--c-white); box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
	opacity: 0; transform: translateY(12px); transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
[dir="rtl"] .lb-toast { padding: 16px 20px 16px 16px; }
.lb-toast.is-visible { opacity: 1; transform: none; }
.lb-toast__msg { grid-column: 1; margin: 0; font-size: 14px; line-height: 1.7; }
.lb-toast__count { color: rgba(255, 255, 255, .7); font-size: 13px; }
.lb-toast__link { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; background: var(--c-white); color: var(--c-ink); font-size: 14px; font-weight: 600; }
.lb-toast__link:hover { background: var(--c-accent); color: var(--c-white); }
.lb-toast__close { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 36px; height: 36px; font-size: 24px; line-height: 1; color: rgba(255, 255, 255, .8); }
.lb-toast__close:hover { color: var(--c-white); }

/* Mobile bottom bar (Figma bottom_btn). */
.bottom-bar { display: none; }

/* ---------- Inner pages (v1.4.0) ----------
   Every page except the homepage opens with a light-grey band (breadcrumb, title,
   count), then content on white. Square corners, ink + orange like the homepage. */
.page-header { background: var(--c-surface); padding-block: clamp(26px, 3vw, 56px); margin-bottom: clamp(28px, 3.1vw, 56px); }
.page-header__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 14px; }
.page-title { margin: 0; font-size: clamp(26px, 1.25vw + 1rem, 42px); font-weight: 700; line-height: 1.3; color: var(--c-ink); letter-spacing: -.01em; }
.page-header__meta { font-size: 15px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.page-description { margin-top: 12px; max-width: 760px; color: var(--c-text); font-size: 16px; line-height: 1.9; }
.page-description p:last-child { margin-bottom: 0; }
.breadcrumb, .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--c-muted); }
.breadcrumb a, .woocommerce-breadcrumb a { color: var(--c-text); }
.breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb [aria-current="page"] { color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.breadcrumb__sep { color: var(--c-faint); }

.content-area { padding-bottom: var(--section-space); }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: start; }
.page-narrow { max-width: 820px; margin-inline: auto; }
.section-title--sm { font-size: clamp(22px, 1vw + .9rem, 32px); text-transform: none; }

/* Pill chips: blog categories, shop categories. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 2.6vw, 44px); padding: 0; }
.chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
	border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white);
	font-size: 15px; color: var(--c-ink-2); white-space: nowrap;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.chip[aria-current="page"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

/* Article typography (posts and pages). */
.entry-content { font-size: 17px; line-height: 1.95; color: var(--c-ink-2); }
.entry-content > * { max-width: 860px; }
.entry-content > .alignwide { max-width: 1200px; }
.entry-content > .alignfull { max-width: none; }
.entry-content > :first-child { margin-top: 0; }
.entry-content:not(.entry-content--wide) a:not(.button):not(.wp-block-button__link):not(.wp-element-button) { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.entry-content:not(.entry-content--wide) a:not(.button):not(.wp-block-button__link):not(.wp-element-button):hover { color: var(--c-ink); }
.entry-content:not(.entry-content--wide) h2 { margin: 2.2em 0 .7em; font-size: clamp(22px, 1vw + .9rem, 30px); color: var(--c-ink); }
.entry-content:not(.entry-content--wide) h3 { margin: 1.8em 0 .6em; font-size: clamp(19px, .6vw + .9rem, 23px); color: var(--c-ink); }
.entry-content:not(.entry-content--wide) h4 { margin: 1.6em 0 .5em; font-size: 18px; color: var(--c-ink); }
.entry-content:not(.entry-content--wide) p { margin: 0 0 1.2em; }
.entry-content:not(.entry-content--wide) ul, .entry-content:not(.entry-content--wide) ol { margin: 0 0 1.4em; padding-inline-start: 1.4em; }
.entry-content:not(.entry-content--wide) li { margin-bottom: .45em; }
.entry-content--article li::marker { color: var(--c-accent); font-weight: 700; }
.entry-content img { height: auto; }
.entry-content:not(.entry-content--wide) figure, .entry-content:not(.entry-content--wide) .wp-block-image { margin: 2em 0; }
.entry-content:not(.entry-content--wide) figure img { width: 100%; }
.entry-content:not(.entry-content--wide) figcaption { margin-top: 10px; font-size: 14px; color: var(--c-muted); text-align: center; }
.entry-content:not(.entry-content--wide) blockquote, .entry-content:not(.entry-content--wide) .wp-block-quote {
	position: relative; margin: 2.2em 0; padding: 26px 30px; border: 0; border-inline-start: 3px solid var(--c-accent);
	background: var(--c-surface); font-size: 1.12em; line-height: 1.85; color: var(--c-ink);
}
.entry-content:not(.entry-content--wide) blockquote p:last-child { margin-bottom: 0; }
.entry-content:not(.entry-content--wide) blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--c-muted); }
.entry-content:not(.entry-content--wide) table { margin: 2em 0; font-size: 15px; }
.entry-content:not(.entry-content--wide) table th { background: var(--c-surface); font-weight: 700; color: var(--c-ink); text-align: start; }
.entry-content:not(.entry-content--wide) table td, .entry-content:not(.entry-content--wide) table th { padding: 12px 16px; border: 1px solid var(--c-line); }
.entry-content:not(.entry-content--wide) hr { margin: 2.5em 0; }
.entry-content:not(.entry-content--wide) code { padding: 2px 6px; background: var(--c-surface); font-size: .9em; }
.entry-content:not(.entry-content--wide) pre { overflow-x: auto; padding: 18px 20px; background: var(--c-surface); font-size: 14px; direction: ltr; text-align: left; }
.entry-content .wp-block-button__link { text-decoration: none; color: var(--c-white); }
.page-thumbnail { margin: 0 0 32px; background: var(--c-surface); }
.page-thumbnail img { width: 100%; }
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; }

/* Blog: post cards (image on top, category, title, excerpt, meta). */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.4vw, 56px) clamp(16px, 1.72vw, 33px); }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.post-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface); }
.post-card__media img, .post-card__media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding-top: 18px; }
.post-card__cat { font-size: 14px; font-weight: 700; color: var(--c-accent-dark); }
.post-card__cat:hover { color: var(--c-ink); }
.post-card__title { margin: 8px 0 0; font-size: clamp(18px, .35vw + .95rem, 21px); font-weight: 700; line-height: 1.6; color: var(--c-ink); }
.post-card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__excerpt { margin: 8px 0 0; font-size: 15px; line-height: 1.85; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 14px; font-size: 14px; color: var(--c-muted); }
.post-card--text { padding: 24px; border: 1px solid var(--c-line); }
.post-card--text .post-card__body { padding-top: 0; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0; background: var(--c-surface); }
.post-card--featured .post-card__media { aspect-ratio: 16 / 10; height: 100%; }
.post-card--featured .post-card__body { justify-content: center; padding: clamp(24px, 3.6vw, 64px); }
.post-card--featured .post-card__title { font-size: clamp(22px, 1.1vw + 1rem, 36px); line-height: 1.45; margin-top: 12px; }
.post-card--featured .post-card__title a { -webkit-line-clamp: 3; }
.post-card--featured .post-card__excerpt { margin-top: 14px; font-size: 16px; -webkit-line-clamp: 3; }
.post-card--featured .post-card__meta { margin-top: 22px; padding-top: 0; }

.no-results { display: grid; justify-items: center; gap: 4px; padding: clamp(40px, 5vw, 80px) 0; text-align: center; }
.no-results h2 { margin: 8px 0 4px; font-size: 22px; }
.no-results p { color: var(--c-text); }
.no-results__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-surface); color: var(--c-accent); }
.no-results .button { margin-top: 12px; }
.search-again { max-width: 600px; margin-bottom: clamp(28px, 3vw, 50px); }
.no-results .search-form { width: min(600px, 100%); margin: 20px auto 0; }
.search-section + .search-section { margin-top: clamp(48px, 5vw, 90px); }
.search-section__title { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); font-size: 20px; }

/* Single post. */
.article-header { background: var(--c-surface); padding-block: clamp(26px, 3vw, 56px) clamp(90px, 10vw, 180px); }
.single-post:not(.has-post-thumbnail) .article-header { padding-bottom: clamp(30px, 3.4vw, 60px); margin-bottom: clamp(30px, 3.4vw, 60px); }
.article-header__inner { display: flex; flex-direction: column; align-items: center; max-width: 860px; margin-inline: auto; text-align: center; }
.article-header__cat {
	display: inline-flex; align-items: center; min-height: 32px; margin-top: 26px; padding: 0 14px;
	border-radius: var(--radius-pill); background: var(--c-white); font-size: 14px; font-weight: 700; color: var(--c-accent-dark);
}
.article-header__cat:hover { background: var(--c-ink); color: var(--c-white); }
.article-header__title { margin: 16px 0 0; font-size: clamp(26px, 1.6vw + 1rem, 48px); font-weight: 700; line-height: 1.45; color: var(--c-ink); text-wrap: balance; }
.article-header__lead { max-width: 680px; margin: 16px 0 0; font-size: 17px; line-height: 1.9; color: var(--c-text); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-muted); }
.article-meta li { display: inline-flex; align-items: center; gap: 6px; }
.article-meta a:hover { color: var(--c-ink); }
.article-hero { margin-top: clamp(-150px, -8.4vw, -70px); margin-bottom: clamp(30px, 3.6vw, 64px); }
.article-hero__media { max-width: 1200px; margin: 0 auto; aspect-ratio: 16 / 8; overflow: hidden; background: var(--c-surface); }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.entry-content--article { font-size: 18px; }
.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.article-footer__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); font-size: 14px; color: var(--c-ink-2); }
.tag-pill:hover { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-white); }
.article-share { position: relative; min-height: 44px; padding: 0 20px; font-size: 15px; margin-inline-start: auto; }
.article-share.is-copied::after {
	content: attr(data-copied); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	padding: 6px 10px; background: var(--c-ink); color: var(--c-white); font-size: 12px; white-space: nowrap;
}
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; justify-content: stretch; }
.post-navigation a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 1px solid var(--c-line); transition: border-color var(--dur) var(--ease); }
.post-navigation a:hover { border-color: var(--c-ink); color: var(--c-ink); }
.post-navigation .nav-next { grid-column: 2; text-align: end; }
.post-navigation .meta-nav { font-size: 13px; color: var(--c-muted); }
.post-navigation .post-title { font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-posts { margin-top: var(--section-space); padding-top: clamp(40px, 4vw, 70px); border-top: 1px solid var(--c-line); }

/* Pagination. */
.pagination, .woocommerce-pagination { margin-top: clamp(40px, 4.2vw, 80px); }
.nav-links, .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; border: 0; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
	border: 1px solid var(--c-line); font-size: 16px; color: var(--c-ink); background: var(--c-white); font-variant-numeric: tabular-nums;
}
a.page-numbers:hover { border-color: var(--c-ink); color: var(--c-ink); }
.page-numbers.current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.page-numbers.dots { border: 0; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }

/* Comments. */
.comments-area { margin-top: clamp(48px, 5vw, 80px); }
.comments-title, .comment-reply-title { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 22px; font-weight: 700; }
.comment-reply-title small { margin-inline-start: auto; font-size: 14px; font-weight: 400; }
.comment-reply-title small a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 48px; }
.comment-list .children { list-style: none; margin: 0; padding-inline-start: clamp(20px, 4vw, 56px); }
.comment-body { position: relative; padding: 22px 0; border-bottom: 1px solid var(--c-line); padding-inline-start: 64px; }
.comment-meta { margin-bottom: 8px; }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author .avatar { position: absolute; inset-inline-start: 0; top: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--c-surface); }
.comment-author .fn { font-weight: 700; font-size: 16px; color: var(--c-ink); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { margin-top: 2px; font-size: 13px; color: var(--c-muted); }
.comment-metadata a:hover { color: var(--c-ink); }
.comment-metadata .edit-link { margin-inline-start: 10px; }
.comment-content { font-size: 16px; line-height: 1.9; color: var(--c-ink-2); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-awaiting-moderation { display: block; margin-top: 6px; font-size: 13px; color: var(--c-accent-dark); }
.reply { margin-top: 10px; }
.comment-reply-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); font-size: 13px; color: var(--c-ink-2); }
.comment-reply-link:hover { border-color: var(--c-ink); color: var(--c-ink); }
.comment-respond { padding: clamp(22px, 2.6vw, 40px); background: var(--c-surface); }
.comment-list .comment-respond { margin: 16px 0; }
.comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.comment-form > * { grid-column: 1 / -1; margin: 0 0 16px; }
.comment-form > .comment-form-author, .comment-form > .comment-form-email, .comment-form > .comment-form-url { grid-column: auto; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--c-text); }
.logged-in-as a { text-decoration: underline; text-underline-offset: 3px; }
.comment-form label { display: block; font-size: 14px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { background: var(--c-white); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.form-submit { margin-bottom: 0 !important; }
.form-submit .button { min-width: 180px; }
.no-comments { color: var(--c-muted); }

/* Widgets. */
.widget { margin-bottom: 40px; }
.widget__title { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-ink); font-size: 18px; font-weight: 700; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; }
.widget li a { color: var(--c-text); }
.widget li a:hover { color: var(--c-ink); }

/* 404. */
.error-404 { display: grid; justify-items: center; padding-block: clamp(30px, 4vw, 80px) clamp(40px, 5vw, 100px); text-align: center; }
.error-404__code { margin: 0; font-size: clamp(110px, 13vw, 240px); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--c-ink); }
.error-404__title { margin: 24px 0 8px; font-size: clamp(24px, 1vw + 1rem, 36px); font-weight: 700; }
.error-404 p { max-width: 520px; color: var(--c-text); }
.error-404 .search-form { width: min(600px, 100%); margin: 26px auto; }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 1199px) {
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-list--3 > :nth-child(3) { display: none; }
}
@media (max-width: 767px) {
	.page-header { padding-block: 20px 24px; margin-bottom: 24px; }
	.page-header__row { margin-top: 10px; }
	.page-description { font-size: 15px; }
	.breadcrumb [aria-current="page"] { max-width: 22ch; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { min-height: 38px; padding: 0 16px; font-size: 14px; }
	.post-list { grid-template-columns: 1fr; gap: 32px; }
	.post-list--3 > :nth-child(3) { display: flex; }
	.post-card--featured { display: flex; background: none; }
	.post-card--featured .post-card__body { padding: 18px 0 0; }
	.post-card--featured .post-card__title { font-size: 22px; }
	.post-card__media { aspect-ratio: 16 / 10; }
	.article-header { padding-block: 18px 80px; }
	.article-header__cat { margin-top: 18px; }
	.article-meta { gap: 6px 16px; }
	.article-hero { margin-top: -60px; margin-inline: 0; padding-inline: 0; }
	.article-hero__media { aspect-ratio: 4 / 3; }
	.entry-content, .entry-content--article { font-size: 16px; line-height: 1.9; }
	.entry-content blockquote { padding: 18px 20px; }
	.entry-content:not(.entry-content--wide) table { display: block; overflow-x: auto; }
	.article-share { margin-inline-start: 0; }
	.post-navigation .nav-next { grid-column: auto; }
	.comment-form { grid-template-columns: 1fr; }
	.comment-body { padding-inline-start: 0; }
	.comment-author .avatar { position: static; width: 36px; height: 36px; }
	.comment-respond { margin-inline: calc(var(--gutter) * -1); }
	.search-section__title { font-size: 18px; }
}

/* Avada / Fusion Builder content shown without Avada (inc/compat-fusion.php). */
.fb-section { margin: 0 0 clamp(28px, 3vw, 48px); }
.fb-section:last-child { margin-bottom: 0; }
.fb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(24px, 3vw, 40px); }
.fb-col { flex: 1 1 calc(var(--fb-w, 100%) - 40px); min-width: 0; }
.fb-col > :first-child, .fb-text > :first-child, .fb-toggle__body > :first-child { margin-top: 0; }
.fb-col > :last-child, .fb-text > :last-child, .fb-toggle__body > :last-child { margin-bottom: 0; }
.fb-title { margin: 0 0 .6em; color: var(--c-ink); line-height: 1.5; }
h2.fb-title { font-size: clamp(21px, .8vw + .9rem, 28px); }
h3.fb-title { font-size: clamp(19px, .5vw + .9rem, 23px); }
h4.fb-title, h5.fb-title, h6.fb-title { font-size: 18px; }
.fb-text ul, .fb-text ol { padding-inline-start: 1.3em; }
.fb-text li { margin-bottom: .4em; }
.fb-text li::marker { color: var(--c-accent); }
.fb-image { margin: 0; text-align: center; }
.fb-image img { display: inline-block; width: auto; max-width: 100%; height: auto; background: var(--c-surface); }
.fb-separator { margin: clamp(24px, 2.6vw, 40px) 0; border: 0; border-top: 1px solid var(--c-line); }
.fb-accordion { border-top: 1px solid var(--c-line); }
/* Avada pages often put a separator right before/after the FAQ; the accordion already draws those lines. */
.fb-separator:has(+ .fb-accordion), .fb-accordion + .fb-separator { display: none; }
.fb-toggle { border-bottom: 1px solid var(--c-line); }
.fb-toggle__title {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
	font-size: 16px; font-weight: 700; color: var(--c-ink); cursor: pointer; list-style: none;
}
.fb-toggle__title::-webkit-details-marker { display: none; }
.fb-toggle__title::after {
	content: ""; flex: none; width: 20px; height: 20px; background: currentColor; transition: transform var(--dur) var(--ease);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 5v14M5 12h14'/%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 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fb-toggle[open] > .fb-toggle__title::after { transform: rotate(45deg); }
.fb-toggle__title:hover { color: var(--c-accent); }
.fb-toggle__body { padding: 0 0 18px; color: var(--c-text); }
@media (max-width: 767px) {
	.fb-col { flex-basis: 100%; }
}

/* ---------- Login / register (Kerasno Pro "mreeir" forms) ----------
   The plugin's own sheet hard-codes a red button and rounded fields; these rules give every
   step (mobile number, SMS code, password, registration details) the theme's look. */
body .mreeir-form-wrapper { padding: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 80px) !important; }
body .mreeir-form-wrapper .mreeir-logreg-form {
	position: relative; width: 100%; max-width: 440px !important; margin-inline: auto; padding: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 40px) !important;
	background: var(--c-white) !important; border: 1px solid var(--c-line) !important; border-radius: 0 !important; box-shadow: none !important;
	font-family: var(--font); color: var(--c-ink);
}
body .mreeir-form-wrapper .mreeir-logreg-form::before {
	content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
	background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6339' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / 28px no-repeat;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper { margin: 0 0 14px; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-title {
	margin-bottom: 8px; font-family: var(--font) !important; font-size: clamp(20px, .5vw + 1rem, 24px) !important; font-weight: 700 !important; line-height: 1.5; color: var(--c-ink) !important; text-align: center;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-message {
	margin-bottom: 22px; font-family: var(--font) !important; font-size: 15px !important; line-height: 1.9 !important; color: var(--c-text) !important; text-align: center;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input[type=tel],
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input[type=text],
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input[type=password],
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input[type=email],
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input[type=number] {
	width: 100% !important; height: 56px !important; min-height: 56px; padding: 0 16px !important; margin: 0 0 10px !important;
	border: 1px solid var(--c-line) !important; border-radius: 0 !important; background: var(--c-white) !important; box-shadow: none !important;
	font-family: "Pretendard", var(--font) !important; font-size: 19px !important; font-weight: 600; letter-spacing: .06em; color: var(--c-ink) !important;
	direction: ltr; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input:focus {
	border-color: var(--c-ink) !important; box-shadow: 0 0 0 1px var(--c-ink) !important; outline: none;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input input::placeholder { font-family: var(--font); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--c-muted); }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--c-ink); text-align: start; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input select {
	width: 100%; height: 56px; border: 1px solid var(--c-line) !important; border-radius: 0 !important; font-family: var(--font);
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit button,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper button[type=submit] {
	display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 56px; padding: 0 20px !important;
	background: var(--c-ink) !important; color: var(--c-white) !important; border: 1px solid var(--c-ink) !important; border-radius: 0 !important; box-shadow: none !important;
	font-family: var(--font) !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.2 !important;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit button:hover:not(:disabled) { background: var(--c-accent) !important; border-color: var(--c-accent) !important; }
body .mreeir-form-wrapper .mreeir-logreg-form button:disabled { background: var(--c-surface) !important; border-color: var(--c-line) !important; color: var(--c-muted) !important; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit button.mreeir-submit-nobg {
	min-height: 44px; margin-top: 8px; background: transparent !important; border-color: transparent !important; color: var(--c-ink) !important;
	font-weight: 500 !important; text-decoration: underline; text-underline-offset: 4px;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit button.mreeir-submit-nobg:hover { background: transparent !important; color: var(--c-accent) !important; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit .mreeir-extra-link,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit a,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-info a {
	display: inline-flex; align-items: center; min-height: 40px; font-size: 14px !important; color: var(--c-text) !important;
	text-decoration: underline !important; text-underline-offset: 4px;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit a:hover,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-info a:hover { color: var(--c-accent) !important; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit .mreeir-resendtime-wrapper,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit .mreeir-resendcode-wrapper {
	margin-top: 14px; font-size: 14px !important; color: var(--c-muted) !important; text-align: center;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper .mreeir-resendtime,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper span#mreeir-resendtime { color: var(--c-accent-dark) !important; font-weight: 700; font-variant-numeric: tabular-nums; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit .mreeir-resendcode-wrapper .resend-code,
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-submit .mreeir-resendcode-wrapper .force-resend-code {
	color: var(--c-ink) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 4px; cursor: pointer;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-info { margin: 6px 0 0; font-size: 13px; line-height: 1.9; color: var(--c-muted); text-align: center; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-info:empty { display: none; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-back {
	position: absolute; top: 16px; inset-inline-start: 16px; margin: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line); background: var(--c-white); cursor: pointer;
}
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-back:hover { border-color: var(--c-ink); }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-back img { width: 18px; height: 18px; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-logo { display: none; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-loading { position: absolute; inset: 0; z-index: 5; margin: 0; background: rgba(255, 255, 255, .8); border-radius: 0; }
body .mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper input[type=checkbox] { width: 18px !important; height: 18px !important; accent-color: var(--c-ink); vertical-align: middle; }
body .mreeir-signal-toast.jq-toast-single, body .mreeir-error-toast.jq-toast-single, body .jq-toast-wrap .jq-toast-single {
	border-radius: 0 !important; font-family: var(--font) !important; font-size: 14px !important; line-height: 1.8 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
body .mreeir-signal-toast.jq-toast-single { background: var(--c-ink) !important; color: var(--c-white) !important; }
body .mreeir-error-toast.jq-toast-single { background: var(--c-sale) !important; color: var(--c-white) !important; }
@media (max-width: 767px) {
	body .mreeir-form-wrapper { padding-inline: 0 !important; }
	body .mreeir-form-wrapper .mreeir-logreg-form { border-inline: 0 !important; padding-inline: 4px !important; border-top: 0 !important; border-bottom: 0 !important; }
}

/* WordPress core alignment classes. */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--c-muted); text-align: center; margin-top: 8px; }
.sticky, .gallery-caption, .bypostauthor { outline: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
	.site-search { margin-inline-start: 40px; }
	.promotions__nav { margin-top: 50px; }
}

@media (max-width: 1199px) {
	.product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid--4 > :nth-child(n+4) { display: none; }
	.product-grid--new > :nth-child(n+4) { display: flex; }
	.product-grid--new > :nth-child(n+7) { display: none; }
	.bestsellers { grid-template-columns: 1fr; grid-template-areas: "feature" "list"; }
	.best-feature { aspect-ratio: 672 / 600; min-height: 0; }
	.card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-header__bottom { gap: 30px; }
	.primary-nav__list { gap: 30px; }
	.header-actions { gap: 16px; }
	.footer-menus { gap: 50px; }
	.site-footer__top { flex-wrap: wrap; gap: 40px; }
	.footer-menus { margin-inline-start: 0; }
	.layout-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
	:root { --header-h: 64px; --bottom-bar-h: 64px; }
	.site-header { position: sticky; top: 0; padding: 0; border-bottom: 1px solid var(--c-surface); }
	.admin-bar .site-header { top: 0; }
	.site-header__top { position: relative; min-height: 64px; gap: 4px; }
	.site-header__bottom { display: none; }
	.site-header__menu-toggle, .site-header__search-toggle { display: inline-flex; }
	.site-header__menu-toggle { order: 0; margin-inline-start: -10px; }
	.site-branding { order: 1; position: absolute; left: 50%; transform: translateX(-50%); }
	.site-branding img, .custom-logo { max-height: 44px; }
	.site-branding__text { font-size: 20px; }
	.header-actions { order: 3; gap: 0; }
	.header-action { min-height: 44px; justify-content: center; }
	.header-action__label, .header-action--sale, .header-action--compare, .header-action:not(.header-action--cart):not(.header-action--wishlist) { display: none; }
	.header-action--wishlist { display: none; }
	.header-action .icon { width: 26px; height: 26px; }
	.site-header__search-toggle { order: 2; margin-inline-start: auto; }
	.header-actions { margin-inline-start: 0; margin-inline-end: -10px; }
	.site-search {
		position: absolute; top: 100%; inset-inline: 0; width: auto; margin: 0; padding: 12px var(--gutter) 16px;
		background: var(--c-white); box-shadow: 0 12px 20px rgba(0, 0, 0, .06); display: none;
	}
	.site-search.is-open { display: block; animation: lb-fade var(--dur) var(--ease); }
	.search-form__input { height: 48px; }

	.hero { margin-top: 0; }
	.hero__slide { min-height: 75vw; align-items: flex-start; }
	.hero__content { padding-top: 11vw; }
	.hero__text { max-width: 54%; }
	.hero__title { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.6; }
	.hero__subtitle { font-size: clamp(13px, 3.6vw, 16px); }
	.hero__slide--m-center .hero__content { justify-content: center; }
	.hero__slide--m-center .hero__text { max-width: 35%; }
	.hero__slide--m-center .hero__eyebrow { margin-bottom: 6px; }
	.hero__slide--m-center .hero__title { font-size: clamp(14px, 4vw, 19px); line-height: 1.65; }
	.hero__slide--m-center .hero__subtitle { font-size: clamp(12px, 3.3vw, 15px); line-height: 1.7; }
	.hero__nav { display: none; }
	.hero__pagination { bottom: 24px !important; }

	.bottom-bar {
		position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: var(--c-white); border-top: 1px solid var(--c-line);
	}
	.bottom-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--c-ink); }
	.bottom-bar__item.is-active { color: var(--c-accent); }
	.bottom-bar__icon { position: relative; display: inline-flex; }
	.bottom-bar .cart-count { top: -4px; inset-inline-end: -10px; }
	.back-to-top { width: 50px; height: 50px; bottom: calc(16px + var(--bottom-bar-h)); right: 16px; }
}

@media (max-width: 767px) {
	.section-head { margin-bottom: 20px; }
	.section-head .more-link { display: none; }
	.more-button-wrap { margin-top: 20px; }
	.more-button-wrap.is-mobile-only { display: flex; }
	.more-button { width: 100%; min-height: 48px; }
	.tabs__tab { padding-inline: 16px; font-size: 18px; }

	.product-grid { gap: 30px 12px; }
	.product-grid--4, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-grid--4 > :nth-child(n+4) { display: flex; }
	.product-grid--4 > :nth-child(n+5) { display: none; }
	.product-grid--new > :nth-child(n+5) { display: flex; }
	.product-grid--new > :nth-child(n+7) { display: none; }
	.product-card__title { -webkit-line-clamp: 3; min-height: calc(1.67em * 3); font-size: 14px; }
	.product-card__meta { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 6px; }
	.product-card__prices { justify-content: flex-start; text-align: start; }
	.product-card__price { font-size: 15px; }
	.product-card__actions { margin-inline-start: -10px; }
	.product-grid--rank { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.product-card--rank .product-card__media { aspect-ratio: 325 / 350; }
	.product-card--rank .product-card__title { -webkit-line-clamp: 1; min-height: 0; }
	.product-card--rank .product-card__icon { opacity: 1; }
	.product-card--rank .product-card__prices { position: relative; }
	.product-card--rank .product-card__discount { margin-inline-start: auto; }

	.promo-banners { grid-template-columns: 1fr; gap: 0; padding-inline: 0; }
	.promo-banner { min-height: 100px; padding-inline: 30px; }

	.promotions { display: block; min-height: 0; padding-block: 50px 0; background: linear-gradient(var(--to-end), var(--c-accent) 0 62.5%, var(--c-surface) 62.5% 100%); }
	.promotions__panel { display: block; }
	.promotions__intro { padding-inline: var(--gutter); gap: 0; }
	.promotions__intro .button, .promotions__nav { display: none; }
	.promotions__watermark { top: 170px; bottom: auto; inset-inline-end: 4%; width: 44vw; }
	.promotions__track { margin: 0; padding-inline-start: var(--gutter); }
	.promotions__track .swiper { padding-block: 24px 30px; }
	.promotions__track .swiper-slide { width: 42vw; }
	.promotions::after { content: none; }
	.promotions__more { padding-inline-end: var(--gutter); padding-bottom: 30px; }
	.promotions__more .more-button-wrap { margin-top: 0; }

	.brands { margin-inline: calc(var(--gutter) * -1); padding: 25px var(--gutter); gap: 10px 12px; }
	.brand-card { min-height: 75px; padding-inline: 16px; }
	.brand-card__logo img { max-height: 18px; }
	.brand-card__name { font-size: 14px; }
	.brand-card__product { width: 40px; height: 50px; }
	.brand-card__product img { max-height: 50px; }
	.brand-card__product .placeholder--product svg { height: 44px; }

	.card-grid--3 { grid-template-columns: 1fr; gap: 10px; }
	.card-grid--4 { gap: 20px 12px; }
	.event-card { aspect-ratio: 672 / 330; }
	.event-card__body { padding: 30px; padding-inline-start: 0; width: 58%; }
	.event-card__title { margin-top: 8px; font-size: 22px; }
	.event-card__label { font-size: 15px; }
	.event-card__tag { margin-top: 14px; padding: 6px 14px; font-size: 14px; }
	.review-card__head { flex-direction: column-reverse; align-items: flex-start; gap: 4px; margin-top: 10px; }
	.review-card__author { font-size: 15px; }
	.review-card__text { margin-top: 8px; font-size: 14px; }
	.review-card__date { margin-top: 6px; font-size: 13px; }
	.stars { width: 80px; height: 16px; }
	.stars::before, .stars::after { -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
	.news-card__link { aspect-ratio: 672 / 450; }
	.news-card__body { padding: 0 24px 24px; }
	.news-card__date { margin-top: 8px; }

	.site-footer { padding-block: 50px 40px; }
	.site-footer__top { flex-direction: column; gap: 30px; }
	.trust-badge { width: 92px; height: 104px; }
	.footer-brand img { max-height: 64px; }
	.footer-menus { gap: 40px; }
	.footer-menu__title { margin-bottom: 8px; }
	.site-footer__bottom { flex-direction: column-reverse; gap: 10px; margin-top: 30px; padding-top: 30px; }
	.footer-toggle { margin-top: 0; }

	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}

@media (max-width: 400px) {
	.hero__text { max-width: 56%; }
	.hero__slide--m-center .hero__text { max-width: 36%; }
	.tabs__tab { padding-inline: 12px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-footer, .bottom-bar, .back-to-top, .drawer { display: none !important; }
}
