/* Smart Beauty Store — розміри й кольори повторюють сайт smart-beauty.com.ua */

:root {
	--sbst-font: "Montserrat", sans-serif;
	--sbst-text: var(--ast-global-color-3, #453e3e);
	--sbst-heading: var(--ast-global-color-2, #2b161b);
	--sbst-border: #dddddd;
	--sbst-container: 1408px;
	--sbst-gutter: 20px;
	--sbst-bar-h: 119px;
}

/* ---------- Основа ---------- */

html { font-size: 87.5%; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
	margin: 0; background: #fff; color: var(--sbst-text);
	font-family: var(--sbst-font); font-weight: 400; font-size: 14px; font-size: 1rem; line-height: 1.85714285714286;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
address, blockquote, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, iframe, legend, li, ol, p, pre, ul { margin: 0; padding: 0; border: 0; font-size: 100%; font-style: inherit; font-weight: inherit; }
p { margin-bottom: 1em; }
ol, ul { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
b, strong { font-weight: 700; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
figure { margin: 0; }
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }
blockquote { margin: 1.5em 1em 1.5em 3em; padding: 20px; border-left: 5px solid var(--sbst-border); font-size: 1.1em; font-style: italic; color: var(--sbst-text); }
table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--sbst-border); border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; }
td, th { padding: 8px; border: 1px solid var(--sbst-border); border-width: 0 1px 1px 0; }
th { font-weight: 700; }
a { color: var(--sbst-accent); text-decoration: none; background-color: transparent; }
a:hover, a:focus { color: var(--sbst-link-hover); }
a:focus-visible, button:focus-visible { outline: thin dotted; outline-offset: 2px; }
::selection { background-color: var(--sbst-accent); color: #fff; }
h1, h2, h3, h4, h5, h6 { clear: both; font-family: var(--sbst-font); font-weight: 600; color: var(--sbst-heading); }
h1 { font-size: 38px; font-size: 2.7142857142857rem; line-height: 1em; }
h2 { font-size: 34px; font-size: 2.4285714285714rem; line-height: 1.25em; }
h3 { font-size: 32px; font-size: 2.2857142857143rem; line-height: 1.2em; }
h4 { font-size: 24px; font-size: 1.7142857142857rem; line-height: 1.2em; }
h5 { font-size: 20px; font-size: 1.4285714285714rem; line-height: 1.2em; }
h6 { font-size: 18px; font-size: 1.2857142857143rem; line-height: 1.25em; }
/* Низька вага селектора — стилі плагінів для своїх заголовків важливіші. */
.entry-content :where(h1, h2, h3, h4, h5, h6) { margin-bottom: 20px; }
.entry-content { word-wrap: break-word; }
.entry-content > :last-child { margin-bottom: 0; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }
pre { overflow: auto; max-width: 100%; margin-bottom: 1.6em; padding: 1.6em; background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; }
code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
ins, mark { background: 0 0; text-decoration: none; }
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; text-align: center; display: block; margin-left: auto; margin-right: auto; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: .8075em 0; }
.wp-caption-text { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; word-wrap: normal !important; }
.sbst-skip:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; clip-path: none; padding: 12px 20px; background: #fff; color: var(--sbst-accent); box-shadow: 0 0 4px rgba(0, 0, 0, .3); }

/* ---------- Форми й кнопки ---------- */

button, input, optgroup, select, textarea { font: inherit; color: inherit; margin: 0; }
input, select { line-height: 1; }
textarea { overflow: auto; width: 100%; line-height: 1.5; }
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 {
	color: #666; background: #fff; border: 1px solid var(--sbst-border); border-radius: 0; padding: .75em; box-shadow: none; -webkit-appearance: none; appearance: none; max-width: 100%;
}
select { padding: .8em 2em .8em .8em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23453e3e' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .8em center; }
input:focus, textarea:focus, select:focus { border-color: var(--sbst-accent); outline: 0; }
.button, button[type="submit"], input[type="submit"], input[type="button"], input[type="reset"], .wp-block-button__link, .woocommerce a.button, .woocommerce button.button {
	display: inline-block; cursor: pointer; border: 0; border-radius: 0;
	padding: 10px 20px; background: var(--sbst-accent); color: #fefefe;
	font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1em; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; text-align: center;
	transition: background-color .2s linear, color .2s linear;
}
.woocommerce .button, .woocommerce input.button, .woocommerce button.button, .woocommerce a.button, .woocommerce-page .button { font-weight: 700; }
.show-password-input { font-weight: 400 !important; }
.button:hover, .button:focus, button[type="submit"]:hover, input[type="submit"]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--sbst-accent-hover); color: #fff; }
.button.disabled, .button:disabled, button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Каркас ---------- */

.sbst-container { max-width: var(--sbst-container); margin-left: auto; margin-right: auto; padding-left: var(--sbst-gutter); padding-right: var(--sbst-gutter); }
.sbst-content { display: flow-root; min-height: 30vh; }
.sbst-main.sbst-container { padding-bottom: 0; }
.sbst-main.sbst-catalog { max-width: 1340px; }
.sbst-main--builder { max-width: none; padding: 0; }
.sbst-title { margin: 0 0 20px; font-size: 30px; font-size: 2.1428571428571rem; line-height: 1.2; color: var(--sbst-heading); }
.sbst-title--sm { font-size: 22px; }
.sbst-entry + .sbst-entry { margin-top: 3em; }
.sbst-entry__content::after { content: ""; display: table; clear: both; }
.sbst-archive-head { margin-bottom: 2em; }
.sbst-404 { text-align: center; padding-top: 4em; padding-bottom: 4em; }
.search-form { display: flex; gap: 6px; justify-content: center; }

/* ---------- Шапка: верхня смуга ---------- */

.sbst-topbar { background: var(--ast-global-color-4); }
.sbst-topbar__html { font-size: 9px; line-height: 1.85714285714286; color: var(--ast-global-color-2); overflow-wrap: anywhere; }
.sbst-topbar__html p { margin: 0 0 1em; }
.sbst-topbar__html > :last-child { margin-bottom: 0; }
.sbst-topbar__html--desktop { max-width: var(--sbst-container); margin: 0 auto; padding: 0 var(--sbst-gutter); min-height: 40px; display: flex; flex-direction: column; justify-content: center; }
.sbst-topbar__html--mobile { display: none; }

/* ---------- Шапка: основний рядок (комп’ютер) ---------- */

.sbst-mhead { display: none; }
.sbst-bar { position: relative; z-index: 50; background: #fff; padding: 0 5px; margin-bottom: 20px; }
.sbst-bar__inner {
	max-width: var(--sbst-container); margin: 0 auto; padding: 0 var(--sbst-gutter);
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 20px; align-items: center; min-height: 104px;
}
.sbst-bar__left { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }
.sbst-bar__right { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }
.sbst-logo { display: flex; align-items: center; padding: 14px 0; line-height: 1; }
.sbst-logo .custom-logo-link { display: block; padding-right: 14px; line-height: 0; }
.sbst-logo .custom-logo { width: 81px; max-width: 81px; height: auto; transition: all .2s linear; }
.sbst-logo__text { font-size: 22px; font-weight: 600; color: var(--sbst-accent); }

/* Липка шапка */
.sbst-sticky-ph { display: none; }
.sbst-sticky-ph.is-on { display: block; }
.is-fixed { position: fixed !important; top: 0; left: 0; right: 0; z-index: 99; margin: 0 !important; box-shadow: 0 1px 12px rgba(0, 0, 0, .09); animation: sbst-drop .25s ease; }
.admin-bar .is-fixed { top: 32px; }
@media (max-width: 782px) { .admin-bar .is-fixed { top: 46px; } }
@media (max-width: 600px) { .admin-bar .is-fixed { top: 0; } }
@keyframes sbst-drop { from { transform: translateY(-100%); } to { transform: none; } }
.sbst-bar.is-fixed .sbst-bar__inner { min-height: 104px; }
.sbst-bar.is-fixed .custom-logo { width: 59px; max-width: 59px; }
.sbst-bar.is-fixed .sbst-logo { padding: 0; }
.sbst-bar.is-fixed .sbst-menu > li > a { line-height: 94px; }
@media (prefers-reduced-motion: reduce) { .is-fixed { animation: none; } }

/* Меню */
.sbst-menu, .sbst-menu ul { list-style: none; margin: 0; padding: 0; }
.sbst-menu { display: flex; flex-wrap: wrap; justify-content: center; margin: 5px; font-weight: 600; text-transform: uppercase; }
.sbst-menu > li { position: relative; display: flex; }
.sbst-menu > li > a {
	display: flex; align-items: center; padding: 5px 12px 0; line-height: 104px;
	font-size: 16px; font-weight: 600; color: var(--ast-global-color-3); text-transform: uppercase; white-space: nowrap;
	transition: color .2s linear;
}
.sbst-menu > li > a:hover, .sbst-menu > li:hover > a, .sbst-menu > li.current-menu-item > a, .sbst-menu > li.current-menu-ancestor > a, .sbst-menu > li.current_page_item > a { color: var(--sbst-menu-active); }
.sbst-menu__arrow { display: inline-flex; margin-left: 10px; }
.sbst-menu__arrow svg { width: 10px; height: 6.2px; }
.sbst-menu__admin a { font-size: 13px !important; text-transform: none; }

/* Звичайне підменю */
.sbst-menu .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 60; width: 240px;
	background: var(--ast-global-color-4); border-top: 2px solid var(--sbst-accent); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
	font-size: 14px; line-height: 1.45;
	opacity: 0; visibility: hidden; transform: translateY(-.5em); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.sbst-menu .sub-menu .sub-menu { top: -2px; left: 100%; }
.sbst-menu li:hover > .sub-menu, .sbst-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sbst-menu .sub-menu li { position: relative; }
.sbst-menu .sub-menu a { display: block; padding: .9em 1em; font-size: 12px; font-weight: 600; color: var(--ast-global-color-3); text-transform: uppercase; border-bottom: 1px solid #eaeaea; }
.sbst-menu .sub-menu a:hover { color: var(--ast-global-color-1); }

/* Мегаменю (пункт «Магазин») */
.sbst-menu > li.sbst-mega { position: static; }
.sbst-bar__inner { position: relative; }
.sbst-menu > li.sbst-mega > .sub-menu {
	left: var(--sbst-gutter); right: var(--sbst-gutter); width: auto; top: calc(100% - 3px);
	/* Усі колонки (бренди, засоби…) — в один ряд, скільки б їх не було. */
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 0;
	padding: 14px 7px 16px; background: var(--ast-global-color-4);
}
.sbst-menu > li.sbst-mega > .sub-menu > li { padding: 0 14px; }
.sbst-menu > li.sbst-mega .sub-menu .sub-menu { position: static; width: auto; opacity: 1; visibility: inherit; transform: none; border: 0; box-shadow: none; background: none; padding: 0; }
.sbst-menu > li.sbst-mega .sub-menu a { padding: 2px 0; border: 0; font-size: 11px; line-height: 1.4; color: var(--ast-global-color-3); }
.sbst-menu > li.sbst-mega > .sub-menu > li > a { padding: 4px 0 3px; }
.sbst-menu > li.sbst-mega .sub-menu a:hover { color: var(--ast-global-color-1); }
.sbst-menu > li.sbst-mega .sub-menu a b, .sbst-menu > li.sbst-mega .sub-menu a strong { font-weight: 600; }

/* ---------- Іконки шапки ---------- */

.sbst-cart { display: flex; align-items: center; padding: 0 10px 0 0; color: #000; }
.sbst-cart:hover, .sbst-cart:focus { color: #000; }
.sbst-cart__total { display: inline-block; padding: 0 6px 0 2px; margin-right: 7px; font-size: 14px; font-weight: 600; line-height: 2.7; color: #000; white-space: nowrap; }
.sbst-cart__icon { position: relative; display: inline-flex; padding: 0 2px; color: var(--ast-global-color-6); transition: color .2s linear; }
.sbst-cart:hover .sbst-cart__icon { color: #9f0d28; }
.sbst-cart__icon svg { width: 24px; height: 24px; }
.sbst-cart__count {
	position: absolute; top: -10px; left: 22px; min-width: 18px; height: 18px; padding: 0 2px 0 0;
	border-radius: 99px; background: #000; color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; font-style: normal;
}

.sbst-search { position: relative; display: flex; align-items: center; padding: 0 10px; }
.sbst-search__toggle { display: flex; padding: 0; border: 0; background: none; color: var(--ast-global-color-2); cursor: pointer; font-size: 21px; line-height: 1; }
.sbst-search__toggle svg { width: 19px; height: 21px; margin: 3px 2px 0 0; }
.sbst-search__form {
	position: absolute; right: -4px; top: 50%; z-index: 5; display: flex; width: 290px; height: 41px;
	background: #fff; border: 1px solid #eaeaea; transform: translateY(-50%);
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.sbst-search.is-open .sbst-search__form { opacity: 1; visibility: visible; }
.sbst-search__input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 10px !important; border: 0 !important; border-right: 1px solid #eaeaea !important; font-size: 14px; color: #555 !important; background: #fff !important; }
.sbst-search__submit { flex: 0 0 54px; display: flex; align-items: center; justify-content: center; padding: 0 !important; background: #fff !important; color: var(--ast-global-color-2) !important; }
.sbst-search__submit svg { width: 19px; height: 21px; }

.sbst-account { position: relative; display: flex; align-items: center; padding-left: 10px; }
.sbst-account__link { display: flex; color: var(--ast-global-color-6); }
.sbst-account__link svg { width: 30px; height: 30px; }
.sbst-account__menu {
	position: absolute; top: 100%; right: -10px; z-index: 70; min-width: 200px; margin: 0; padding: 8px 0; list-style: none;
	background: var(--ast-global-color-5); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1); border-top: 2px solid var(--sbst-accent);
	font-size: 12px; line-height: 1.5; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.sbst-account:hover .sbst-account__menu, .sbst-account:focus-within .sbst-account__menu { opacity: 1; visibility: visible; }
.sbst-account__menu a { display: block; padding: 7px 16px; color: var(--ast-global-color-3); }
.sbst-account__menu a:hover { color: var(--sbst-accent); }

/* ---------- Мобільна шапка й меню ---------- */

.sbst-burger {
	display: inline-flex; align-items: center; padding: 9.8px; border: 0; background: none; cursor: pointer;
	color: #9f0d28; font-size: 19.6px; line-height: 1.857;
}
.sbst-burger svg { width: 21px; height: 21px; }
.sbst-burger__label { margin-left: 7.84px; font-size: 14px; font-weight: 600; line-height: 26px; }

.sbst-offcanvas { position: fixed; inset: 0; z-index: 9999; overflow-y: auto; background: var(--ast-global-color-5); }
.sbst-offcanvas[hidden] { display: none; }
.admin-bar .sbst-offcanvas { top: 46px; }
.sbst-offcanvas__head { display: flex; justify-content: flex-end; }
.sbst-offcanvas__close { display: flex; align-items: center; justify-content: center; width: 46px; height: 54px; padding: 0; border: 0; background: none; color: #3a3a3a; cursor: pointer; }
.sbst-offcanvas__close svg { width: 18px; height: 18px; }
.sbst-mmenu, .sbst-mmenu ul { list-style: none; margin: 0; padding: 0; }
.sbst-mmenu { padding: 10px 20px; }
.sbst-mmenu li { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.sbst-mmenu a { flex: 1 1 0; display: block; padding: 11px 10px; font-size: 14px; line-height: 30px; color: #000; text-transform: uppercase; }
.sbst-mmenu a:hover, .sbst-mmenu .current-menu-item > a { color: #9f0d28; }
.sbst-mmenu .sub-menu { display: none; flex-basis: 100%; padding-left: 16px; }
.sbst-mmenu .sub-menu a { padding: 6px 10px; font-size: 12px; }
.sbst-mmenu li.is-open > .sub-menu { display: block; }
.sbst-sub-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 8px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.sbst-sub-toggle svg { transition: transform .2s ease; }
li.is-open > .sbst-sub-toggle svg { transform: rotate(180deg); }
body.sbst-lock { overflow: hidden; }

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

.sbst-footer { background: var(--ast-global-color-5); }
.sbst-footer__above { margin-top: 50px; padding: 30px 0; border-top: 1px solid var(--ast-global-color-8); }
.sbst-fmenu { list-style: none; margin: 0; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; }
.sbst-fmenu a { display: block; padding: 0 24px; font-size: 14px; line-height: 26px; color: #777; text-transform: uppercase; text-decoration: underline; }
.sbst-fmenu a:hover, .sbst-fmenu .current-menu-item > a { color: var(--sbst-accent); }
.sbst-footer__primary { padding: 10px; }
.sbst-footer__html { max-width: var(--sbst-container); margin: 0 auto; padding: 0 var(--sbst-gutter); font-size: 14px; color: #d9d9d9; }
.sbst-footer__html p { margin: 0; }
.sbst-footer__html img.aligncenter, .sbst-footer__html .aligncenter { display: block; margin: 0 auto; }
.sbst-footer__below { border-top: 1px solid var(--ast-global-color-4); }
.sbst-footer__copy { max-width: var(--sbst-container); margin: 0 auto; padding: 12px var(--sbst-gutter); min-height: 50px; display: flex; flex-direction: column; justify-content: center; }
.sbst-footer__copy p { margin: 0; }
.sbst-top {
	position: fixed; right: 30px; bottom: 110px; z-index: 99; display: flex; align-items: center; justify-content: center;
	width: 33.6px; height: 33.6px; border-radius: 50px; background: #9f0d28; color: #fff; font-size: 16px;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s, background-color .2s;
}
.sbst-top.is-visible { opacity: 1; visibility: visible; }
.sbst-top:hover, .sbst-top:focus { background: #d11134; color: #fff; }
.sbst-top svg { width: 13px; height: 9px; }

/* ---------- Elementor (як було з Astra) ---------- */

.elementor-widget-heading .elementor-heading-title { margin: 0; }
.elementor-widget-heading h1.elementor-heading-title { line-height: 1em; }
.elementor-widget-heading h2.elementor-heading-title { line-height: 1.25em; }
.elementor-widget-heading h3.elementor-heading-title, .elementor-widget-heading h4.elementor-heading-title, .elementor-widget-heading h5.elementor-heading-title { line-height: 1.2em; }
.elementor-widget-heading h6.elementor-heading-title { line-height: 1.25em; }
/* Кнопки Elementor: і стара розмітка (.elementor-button-wrapper), і нова (Elementor 4). */
.elementor-button-wrapper .elementor-button, .elementor-widget-button .elementor-button { border-style: solid; border-width: 0; border-color: var(--sbst-accent); background-color: var(--sbst-accent); text-decoration: none; font-weight: 400; font-size: 12px; line-height: 1em; text-transform: uppercase; letter-spacing: 1px; }
.elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .elementor-widget-button .elementor-button, .elementor-widget-button .elementor-button:visited { color: #fefefe; }
.elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus, .elementor-widget-button .elementor-button:hover, .elementor-widget-button .elementor-button:focus { color: #fff; background-color: var(--sbst-accent-hover); border-color: var(--sbst-accent); }
body .elementor-button.elementor-size-xs, body .elementor-button.elementor-size-sm, body .elementor-button.elementor-size-md, body .elementor-button.elementor-size-lg, body .elementor-button.elementor-size-xl, body .elementor-button { border-radius: 0; padding: 10px 20px; font-size: 12px; }
body .elementor hr { background-color: #ccc; margin: 0; }
.elementor-post.elementor-grid-item.hentry { margin-bottom: 0; }
.elementor-element .elementor-wc-products .woocommerce[class*="columns-"] ul.products li.product { width: auto; margin: 0; float: none; }
.elementor-element .woocommerce .woocommerce-result-count { float: none; }
.elementor-screen-only { top: 0 !important; }
.sbst-builder .sbst-content .elementor > .e-con, .sbst-builder .sbst-content .elementor > .elementor-section { max-width: 100%; }

/* Віджет «Слайдер Smart Beauty» */
.sbst-slides { position: relative; overflow: hidden; height: 500px; touch-action: pan-y; }
.sbst-slides__track { display: flex; height: 100%; transition: transform .5s ease; will-change: transform; }
.sbst-slide { position: relative; flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.sbst-slide__inner { position: absolute; inset: 0; display: flex; padding: 5%; }
.sbst-slide__content { max-width: 100%; }
.sbst-h-left { justify-content: flex-start; text-align: left; }
.sbst-h-center { justify-content: center; text-align: center; }
.sbst-h-right { justify-content: flex-end; text-align: right; }
.sbst-v-top { align-items: flex-start; }
.sbst-v-middle { align-items: center; }
.sbst-v-bottom { align-items: flex-end; }
.sbst-slide__heading { margin: 0 0 30px; font-size: 35px; font-weight: 700; line-height: 1; color: #000; }
.sbst-slide__desc { margin: 0 0 30px; font-size: 17px; line-height: 1.4; color: #000; }
.sbst-slide__btn { display: inline-block; padding: 10px 20px; border: 2px solid #a11928; background: #a11928; color: #fff; font-size: 12px; line-height: 1; transition: opacity .2s; }
.sbst-slide__btn:hover, .sbst-slide__btn:focus { color: #fff; opacity: .9; }
.sbst-slide.is-active .sbst-slide__content { animation: sbst-slide-in .9s ease both; }
@keyframes sbst-slide-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.sbst-slides__arrow { position: absolute; top: 50%; z-index: 2; display: flex; padding: 0; border: 0; background: none; color: rgba(237, 237, 237, .9); cursor: pointer; transform: translateY(-50%); }
.sbst-slides__arrow--prev { left: 10px; }
.sbst-slides__arrow--next { right: 10px; }
.sbst-slides__arrow:hover { color: #fff; }
.sbst-slides__dots { position: absolute; left: 0; right: 0; bottom: 5px; z-index: 2; display: flex; justify-content: center; align-items: center; height: 26px; }
.sbst-slides__dots button { width: 6px; height: 6px; margin: 0 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .2; cursor: pointer; }
.sbst-slides__dots button.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sbst-slides__track { transition: none; } .sbst-slide.is-active .sbst-slide__content { animation: none; } }

/* Віджет «Товари Smart Beauty» */
.sbst-products ul.products { margin-bottom: 0; }
.sbst-products .woocommerce { width: 100%; }

/* ---------- WooCommerce: загальне ---------- */

.woocommerce-breadcrumb { margin: 0 0 .92em; font-size: .92em; line-height: 1.857; color: #777; }
.woocommerce-breadcrumb a { color: #777; }
.woocommerce-breadcrumb a:hover { color: var(--sbst-accent); }
.woocommerce .price, .woocommerce-Price-amount { white-space: nowrap; }
.price del { opacity: .5; margin-right: 4px; }
.price ins { text-decoration: none; background: none; }
.onsale, .woocommerce span.onsale {
	position: absolute; top: 10px; left: 10px; z-index: 9; min-height: 0; min-width: 0; margin: 0; padding: .3em 1em;
	border-radius: 20px; background: #fff; color: var(--sbst-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
	font-size: 13px; font-weight: 400; line-height: 1.5;
}
.star-rating { position: relative; overflow: hidden; display: inline-block; height: 1em; width: 5.4em; font-family: WooCommerce; font-size: .857em; line-height: 1; }
.star-rating::before { content: "sssss"; position: absolute; top: 0; left: 0; color: #cfc8d8; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "SSSSS"; position: absolute; top: 0; left: 0; color: #fdb600; }
ul.products .star-rating { display: block; margin: 0 auto .5em; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	position: relative; list-style: none; margin: 0 0 2em; padding: 1em 2em 1em 3.5em;
	background: #f7f6f7; color: #515151; border-top: 3px solid var(--sbst-accent); word-wrap: break-word;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { position: absolute; top: 1em; left: 1.5em; font-family: WooCommerce; color: var(--sbst-accent); }
.woocommerce-message::before { content: "\e015"; }
.woocommerce-info::before { content: "\e028"; }
.woocommerce-error::before { content: "\e016"; color: #b81c23; }
.woocommerce-error { border-top-color: #b81c23; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: right; margin-left: 1em; }
.woocommerce-message::after, .woocommerce-info::after { content: ""; display: table; clear: both; }
.woocommerce-error li { list-style: none; }
.woocommerce .blockUI.blockOverlay { position: relative; }
.woocommerce .blockUI.blockOverlay::before, .woocommerce .loader::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em;
	border: 2px solid rgba(0, 0, 0, .15); border-top-color: var(--sbst-accent); border-radius: 50%; animation: sbst-spin 1s linear infinite;
}
@keyframes sbst-spin { to { transform: rotate(360deg); } }
.required { color: red; font-weight: 700; border: 0 !important; text-decoration: none; }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99998; margin: 0; padding: 1em; background: var(--sbst-accent); color: #fff; text-align: center; font-size: 1em; }
.woocommerce-store-notice a { color: #fff; text-decoration: underline; }

/* Кількість із «−/+» */
.quantity { display: inline-flex; align-items: stretch; vertical-align: top; }
.quantity .qty {
	width: 37px; max-width: 58px; min-height: 35.4px; padding: .3em; text-align: center; -moz-appearance: textfield;
	border: 1px solid var(--sbst-border); color: #666; background: #fff; font-size: 14px;
}
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .sbst-qty {
	display: flex; align-items: center; justify-content: center; width: 38px; min-height: 35.4px; padding: 0; border: 1px solid var(--sbst-border); background: #fff;
	color: var(--sbst-text); font-size: 18px; line-height: 1; cursor: pointer; letter-spacing: 0; text-transform: none;
}
.quantity .sbst-qty.minus { border-right: 0; }
.quantity .sbst-qty.plus { border-left: 0; }
.quantity .sbst-qty:hover { background: #fff; color: var(--sbst-accent); }
.quantity:has(input[type="hidden"]) .sbst-qty, .quantity:has(input[readonly]) .sbst-qty { display: none; }

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

ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px;
	list-style: none; margin: 0 0 14px; padding: 0; clear: both;
}
ul.products:where(.columns-1) { grid-template-columns: minmax(0, 1fr); }
ul.products:where(.columns-2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products:where(.columns-3) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products:where(.columns-5) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products:where(.columns-6) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none; }
ul.products li.product {
	position: relative; display: flex; flex-direction: column; margin: 0 0 2.5em; padding: 0 0 1.2em;
	text-align: center; list-style: none; width: auto; float: none;
}
ul.products li.product .sbst-thumb { position: relative; margin: 0 0 .8em; overflow: hidden; }
ul.products li.product .sbst-thumb > .woocommerce-LoopProduct-link { display: block; position: relative; }
ul.products li.product .sbst-thumb img { display: block; width: 100%; height: auto; margin: 0; }
ul.products li.product .sbst-thumb__swap { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; object-fit: cover; height: 100% !important; }
ul.products li.product:hover .sbst-thumb__swap { opacity: 1; }
.sbst-out-of-stock {
	position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 7px 0 9.8px;
	background: rgba(255, 255, 255, .88); color: var(--sbst-accent); font-size: 14px; font-weight: 700; line-height: 26px; text-transform: uppercase; text-align: center;
}
ul.products li.product .sbst-summary { flex: 1 1 auto; display: block; padding: 0 1.2em; }
.sbst-card-btn {
	position: absolute; right: 14px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0;
	border: 0; border-radius: 50%; background: #fff; color: var(--sbst-text); box-shadow: 0 1px 6px rgba(0, 0, 0, .1); cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateX(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s, color .2s;
}
.sbst-card-btn--cart { top: 14px; }
.sbst-card-btn--view { top: 56px; }
.sbst-card-btn svg { width: 15px; height: 15px; }
.sbst-card-btn--view svg { width: 17px; height: 17px; }
ul.products li.product:hover .sbst-card-btn, .sbst-card-btn:focus-visible { opacity: 1; visibility: visible; transform: none; }
.sbst-card-btn:hover, .sbst-card-btn:focus { color: var(--sbst-accent); background: #fff; }
.sbst-card-btn.loading { opacity: .6 !important; }
.sbst-card-btn.added::after { display: none; }
.sbst-card-btn + .added_to_cart { display: none !important; }
.sbst-card-btn__tip {
	position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); padding: 2px 8px; border-radius: 3px;
	background: #000; color: #fff; font-size: 12px; font-weight: 400; line-height: 23px; white-space: nowrap; text-transform: none; letter-spacing: 0;
	opacity: 0; visibility: hidden; transition: opacity .2s;
}
.sbst-card-btn:hover .sbst-card-btn__tip { opacity: 1; visibility: visible; }
@media (hover: none) { .sbst-card-btn { display: none; } }

/* Швидкий перегляд */
.sbst-qv { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; }
.sbst-qv[hidden] { display: none; }
.sbst-qv__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.sbst-qv__loader { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: sbst-spin 1s linear infinite; }
.sbst-qv.is-ready .sbst-qv__loader { display: none; }
.sbst-qv__box { position: relative; width: 1000px; max-width: calc(100vw - 40px); height: 500px; max-height: calc(100vh - 80px); background: #fff; opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease; }
.sbst-qv.is-ready .sbst-qv__box { opacity: 1; transform: none; }
.sbst-qv__close { position: absolute; top: -12px; right: -12px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #fff; color: #000; cursor: pointer; box-shadow: 0 0 4px rgba(0, 0, 0, .3); }
.sbst-qv__close svg { width: 14px; height: 14px; }
.sbst-qv__content { height: 100%; }
.sbst-qv__product { display: flex; height: 100%; }
.sbst-qv__images { position: relative; flex: 0 0 50%; overflow: hidden; }
.sbst-qv__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sbst-qv__track::-webkit-scrollbar { display: none; }
.sbst-qv__slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; }
.sbst-qv__slide img { max-height: 500px; width: auto; max-width: 100%; object-fit: contain; }
.sbst-qv__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 12px; }
.sbst-qv__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); cursor: pointer; }
.sbst-qv__dots button.is-active { background: #000; }
.sbst-qv__summary { flex: 1 1 auto; min-width: 0; overflow-y: auto; padding: 30px 30px 30px 30px; }
.sbst-qv__summary .product_title { margin: 0 0 .5em; font-size: 18px; font-weight: 400; line-height: 1.2; color: var(--ast-global-color-7); }
.sbst-qv__summary .woocommerce-product-details__short-description { font-size: 16px; color: var(--ast-global-color-2); }
.sbst-qv__summary p.price { margin: 0 0 .5em; font-size: 21px; font-weight: 700; color: var(--sbst-price); }
.sbst-qv__summary form.cart { display: flex; flex-wrap: wrap; align-items: flex-start; }
.sbst-qv__summary form.cart .quantity { margin: 0 14px 14px 0; }
.sbst-qv__summary form.cart .single_add_to_cart_button { min-height: 35px; padding: 10px 30px; font-weight: 700; }
.sbst-qv__summary .product_meta { padding-top: 8px; border-top: 1px solid var(--sbst-border); font-size: 14px; }
.sbst-qv__summary .product_meta > span { display: block; }
@media (max-width: 767px) {
	.sbst-qv__box { height: auto; max-height: calc(100vh - 60px); overflow-y: auto; }
	.sbst-qv__product { flex-direction: column; }
	.sbst-qv__images { height: 320px; flex-basis: auto; }
	.sbst-qv__slide img { max-height: 320px; }
	.sbst-qv__summary { overflow: visible; padding: 20px; }
	.sbst-qv__close { top: 6px; right: 6px; }
}
ul.products li.product .sbst-loop-link { display: inline-block; color: inherit; }
ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 6px; padding: 0; font-size: 12px; font-weight: 600; line-height: 1.25; color: #777;
	/* Рівно 2 рядки в кожній картці: коротка назва тримає місце під другий рядок, довга обрізається «…»
	   (повна — на сторінці товару). Так картки однакової висоти, ціни й кнопки на одній лінії. */
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
	overflow: hidden; min-height: 2.5em; max-height: 2.5em; overflow-wrap: anywhere;
}
ul.products li.product .sbst-loop-link:hover .woocommerce-loop-product__title { color: var(--sbst-accent); }
.sbst-loop-cat { display: block; margin: 0 0 5px; font-size: 10px; line-height: 1.3; text-transform: uppercase; color: var(--sbst-text); opacity: .7; }
ul.products li.product .price { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--sbst-price); }
ul.products li.product .price del { font-weight: 700; }
ul.products li.product .button {
	margin: .5em 0; padding: 10px 20px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: normal;
}
ul.products li.product .added_to_cart { display: block; font-size: 12px; }
ul.products li.product .button.loading { opacity: .6; }
ul.products li.product .button.added::after { content: " ✓"; }

.woocommerce-pagination { margin: 0; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px; min-height: 47px; list-style: none; margin: 0; padding: 0 1px; border: 0; }
.woocommerce-pagination .page-numbers li { padding: 1px; border: 0; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	display: block; min-width: 35px; height: 35px; padding: .75em; font-size: 14px; line-height: 1; text-align: center; color: var(--sbst-accent); border: 1px solid transparent;
}
.woocommerce-pagination .page-numbers a:hover { border-color: var(--sbst-accent); }
.woocommerce-pagination .page-numbers .current { background: var(--sbst-accent); color: #fefefe; }

/* Панель каталогу */
.sbst-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 0 35px; min-height: 38px; }
.woocommerce button.sbst-filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8.04px 12px; font-size: 12px; font-weight: 600; line-height: 1; }
.sbst-filter-btn svg { width: 12px; height: 12px; }
.woocommerce-ordering { margin: 0 0 0 auto; }
.woocommerce-ordering select { width: 160px; max-width: 160px; height: 40px; text-overflow: ellipsis; border: 0; padding: .8em 2em .8em .8em; color: #666; font-size: 14px; background-position: right .6em center; }

.sbst-filter { position: fixed; inset: 0; z-index: 9999; }
.sbst-filter[hidden] { display: none; }
.sbst-filter__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.sbst-filter__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: 40%; padding: 25px; overflow: auto;
	background: #fff; box-shadow: 0 0 12px 0 rgba(0, 0, 0, .4); transform: translateX(-100%); transition: transform .3s ease-in-out;
}
.sbst-filter.is-open .sbst-filter__panel { transform: none; }
.sbst-filter__close { position: absolute; top: 10px; right: 10px; display: flex; padding: 6px; border: 0; background: none; color: #3a3a3a; cursor: pointer; }
.sbst-filter__close svg { width: 18px; height: 18px; }
.sbst-filter .widget { margin: 0 0 2.5em; }
.sbst-filter .widget-title { margin: 0 0 1em; font-size: 20px; font-size: 1.4285714285714rem; color: var(--sbst-text); }
.sbst-filter ul { list-style: none; margin: 0; padding: 0; }
.sbst-filter ul ul { padding-left: 1em; }
.sbst-filter li { padding: .2em 0; }
.sbst-filter .count { opacity: .7; }
.price_slider_wrapper .ui-slider { position: relative; height: 4px; margin: 1em .5em 1.5em; background: #ddd; border-radius: 1em; }
.price_slider_wrapper .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--sbst-accent); border-radius: 1em; }
.price_slider_wrapper .ui-slider-handle { position: absolute; top: -6px; z-index: 2; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--sbst-accent); cursor: ew-resize; outline: 0; }
.price_slider_amount { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.price_slider_amount .price_label { order: -1; flex-basis: 100%; }
.price_slider_amount input[type="text"] { display: none; }
.price_slider_amount .clear { display: none; }

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

.sbst-product-page div.product { position: relative; }
.sbst-product-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sbst-product-top > .woocommerce-product-gallery { width: 50%; margin: 0 0 3em; position: relative; }
.sbst-product-top > .summary { width: 46%; margin: 0 0 2em; position: sticky; top: 124px; }
.admin-bar .sbst-product-top > .summary { top: 156px; }
.sbst-product-top > .onsale { top: 10px; left: 157px; }

.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery.sbst-gallery { display: grid; grid-template-columns: 137px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.sbst-gallery .flex-viewport, .sbst-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
.sbst-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; }
.sbst-gallery-thumbs { grid-column: 1; grid-row: 1; position: relative; overflow: hidden; align-self: stretch; }
.flex-control-thumbs { list-style: none; margin: 0; padding: 0; }
.sbst-gallery-thumbs .flex-control-thumbs { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; }
.sbst-gallery-thumbs .flex-control-thumbs::-webkit-scrollbar { display: none; }
.flex-control-thumbs li { padding: 0 0 10px; cursor: pointer; }
.flex-control-thumbs img { display: block; width: 100%; height: auto; border: 1px solid transparent; opacity: 1; transition: border-color .2s; }
.flex-control-thumbs img.flex-active { border-color: var(--sbst-accent); }
.flex-control-thumbs img:hover { border-color: #ddd; }
.sbst-gallery-arrow {
	position: absolute; left: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: -11px; padding: 0;
	border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #333; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.sbst-gallery-arrow[hidden] { display: none; }
.sbst-gallery-arrow--up { top: 4px; }
.sbst-gallery-arrow--down { bottom: 14px; }
.sbst-gallery-arrow svg { width: 10px; height: 7px; }
.sbst-gallery-arrow--down svg { transform: rotate(180deg); }
.woocommerce-product-gallery__trigger {
	position: absolute; top: 14px; right: 14px; z-index: 9; width: 36px; height: 36px; border-radius: 100%; background: #fff; text-indent: -9999px; overflow: hidden; font-size: 2em;
}
.woocommerce-product-gallery__trigger span { display: none; }
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; top: 9px; left: 9px; width: 10px; height: 10px; border: 2px solid #000; border-radius: 100%; box-sizing: content-box; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; top: 19px; left: 22px; width: 2px; height: 8px; background: #000; border-radius: 6px; transform: rotate(-45deg); box-sizing: content-box; }
.woocommerce-product-gallery .zoomImg { background-color: #fff; }

.summary .product_title { margin: 0 0 .5em; font-size: 18px; font-weight: 400; line-height: 1.2; color: var(--ast-global-color-7); }
.summary .woocommerce-product-details__short-description { font-size: 16px; color: var(--ast-global-color-2); }
.summary .woocommerce-product-details__short-description p { margin-bottom: 1em; }
.summary .woocommerce-product-details__short-description hr { margin: 0 0 24px; }
.summary p.price, .summary span.price { margin: 0 0 .2em; font-size: 21px; font-size: 1.5rem; font-weight: 700; color: var(--sbst-price); }
.summary .stock { margin: 0 0 1em; font-size: 14px; }
.summary .stock.out-of-stock { color: var(--sbst-accent); font-weight: 600; }
.summary form.cart { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0; }
.summary form.cart .quantity { margin: 0 14px 14px 0; }
.quantity .sbst-qty.plus { margin-right: 6px; }
.sbst-mc-row .quantity .sbst-qty.plus { margin-right: 0; }
.summary form.cart .single_add_to_cart_button { width: 42%; min-height: 32px; margin: 0 0 12px; padding: 10px 20px; font-size: 12px; font-weight: 700; line-height: 1; }
.summary form.cart .single_add_to_cart_button.loading { opacity: .6; }
.summary form.cart > :not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) { flex-basis: 100%; }
.summary form.variations_form { display: block; }
.summary .variations { border: 0; margin-bottom: 1em; }
.summary .variations td, .summary .variations th { border: 0; padding: 4px 8px 4px 0; text-align: left; vertical-align: middle; }
.summary .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: flex-start; }
.summary .reset_variations { font-size: 12px; margin-left: 8px; }
.summary .product_meta { clear: both; margin: 0 0 .8em; padding: 8px 0 0; border-top: 1px solid var(--sbst-border); font-size: 16px; color: var(--ast-global-color-2); }
.summary .product_meta > span { display: inline-block; margin-right: 15px; }
.summary .product_meta .sku_wrapper { display: inline-block; margin-right: 15px; font-weight: 400; }
.summary .product_meta .sku { font-weight: 400; }
.sbst-payments { display: block; width: 100%; margin: 0; padding: 13px 20px 18px; border: 1px solid var(--sbst-border); border-radius: 3.5px; text-align: center; }
.sbst-payments legend { margin: 0 auto; padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--sbst-text); }
.sbst-payments ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.sbst-payments li { display: flex; margin: 0 7px 7px; }

.woocommerce-tabs { display: flex; align-items: flex-start; clear: both; margin: 0 0 49px; padding: 28px 0 0; }
.woocommerce-tabs ul.tabs { flex: 0 0 200px; width: 200px; list-style: none; margin: 0; padding: 0; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { position: relative; display: block; margin: 0; padding: 0; border-bottom: 1px solid var(--sbst-border); }
.woocommerce-tabs ul.tabs li.active::before { content: ""; position: absolute; top: 0; right: 0; width: 3px; height: 40px; background: var(--ast-global-color-7); }
.woocommerce-tabs ul.tabs li a { display: block; padding: 7px 0 7px 11.2px; font-size: 14px; font-weight: 700; line-height: 26px; color: var(--ast-global-color-6); }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--ast-global-color-7); }
.woocommerce-tabs .panel { flex: 1 1 auto; align-self: stretch; min-width: 0; margin: 0; padding: 0 24px 24px; border-left: 1px solid var(--sbst-border); font-size: 16px; color: var(--ast-global-color-2); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel p:last-child { margin-bottom: 0; }
.woocommerce-tabs .panel table { font-size: 14px; }
.related > h2, .upsells > h2, .cross-sells > h2 { margin: 0 0 .7em; font-size: 21px; font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--ast-global-color-2); }
.related, .upsells { clear: both; }

/* Відгуки */
#reviews .commentlist { list-style: none; margin: 0 0 2em; padding: 0; }
#reviews .commentlist li { margin-bottom: 1.5em; }
#reviews .comment_container { display: flex; gap: 14px; }
#reviews .comment_container img.avatar { width: 50px; height: 50px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .comment-form-rating .stars a { position: relative; display: inline-block; width: 1em; height: 1em; overflow: hidden; text-indent: -999em; }
#reviews .comment-form-rating .stars a::before { content: "\e021"; position: absolute; top: 0; left: 0; width: 1em; height: 1em; font-family: WooCommerce; text-indent: 0; color: #fdb600; }
#reviews .comment-form-rating .stars:hover a::before, #reviews .comment-form-rating .stars.selected a::before { content: "\e020"; }
#reviews .comment-form-rating .stars.selected a.active ~ a::before, #reviews .comment-form-rating .stars a:hover ~ a::before { content: "\e021"; }
#reviews .comment-form input[type="text"], #reviews .comment-form input[type="email"] { width: 100%; }
#reviews .comment-form p { margin-bottom: 1em; }

/* Липка панель «Додати в кошик» */
.sbst-sticky-cart {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ast-global-color-5);
	box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, .1), 0 -1px 9px 0 rgba(0, 0, 0, .06);
	transform: translateY(110%); transition: transform .3s ease;
}
.sbst-sticky-cart.is-visible { transform: none; }
.sbst-sticky-cart__inner { max-width: var(--sbst-container); min-height: 70px; margin: 0 auto; padding: 8px var(--sbst-gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sbst-sticky-cart__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sbst-sticky-cart__info img { width: 50px; height: 50px; object-fit: cover; }
.sbst-sticky-cart__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; color: var(--ast-global-color-2); }
.sbst-sticky-cart__buy { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.sbst-sticky-cart .price { font-size: 16px; font-weight: 700; color: var(--sbst-price); }
.sbst-sticky-cart__btn { font-weight: 700; }

/* ---------- Бічний кошик ---------- */

.sbst-drawer { position: fixed; inset: 0; z-index: 99999; }
.sbst-drawer[hidden] { display: none; }
.sbst-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .3s ease; }
.sbst-drawer.is-open .sbst-drawer__overlay { opacity: 1; }
.sbst-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: 38%; display: flex; flex-direction: column;
	background: #fff; transform: translateX(100%); transition: transform .3s ease;
}
.admin-bar .sbst-drawer__panel { top: 32px; }
.sbst-drawer.is-open .sbst-drawer__panel { transform: none; }
.sbst-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; min-height: 50px; border-bottom: 1px solid #eaeaea; font-size: 15px; line-height: 1.5; color: var(--sbst-text); }
.sbst-drawer__close { display: flex; padding: 0; border: 0; background: none; color: #000; cursor: pointer; }
.sbst-drawer__close svg { width: 22px; height: 22px; }
.sbst-drawer__body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.sbst-drawer .widget_shopping_cart_content { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 20px; overflow-y: auto; flex: 1 1 auto; }
.woocommerce-mini-cart-item { position: relative; display: block; min-height: 70px; padding: 0 30px 20px 70px; font-size: 14px; line-height: 1.6; }
.woocommerce-mini-cart-item img { position: absolute; left: 0; top: 0; width: 55px; height: 55px; object-fit: contain; }
.woocommerce-mini-cart-item > a:not(.remove) { display: block; color: var(--sbst-text); font-weight: 400; }
.woocommerce-mini-cart-item a.remove {
	position: absolute; top: 2px; right: 0; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px;
	border: 1px solid #aaa; border-radius: 50%; color: #aaa !important; font-size: 14px; line-height: 1; background: none;
}
.woocommerce-mini-cart-item a.remove svg { width: 12px; height: 12px; }
.woocommerce-mini-cart-item a.remove:hover { border-color: var(--sbst-accent); color: var(--sbst-accent) !important; }
.woocommerce-mini-cart-item .quantity { font-size: 14px; }
.sbst-mc-row { display: flex; align-items: center; justify-content: space-between; margin: 4px -30px 0 0; }
.sbst-mc-row .quantity .qty, .sbst-mc-row .quantity .sbst-qty { min-height: 34px; }
.sbst-mc-price { font-size: 14px; color: var(--sbst-text); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 12px 20px; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; font-size: 14px; }
.woocommerce-mini-cart__total strong { font-weight: 400; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 18px 20px 20px; }
.woocommerce-mini-cart__buttons .button { display: block; width: 100%; padding: 11px 20px; font-size: 12px; font-weight: 700; line-height: 1.1; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff; color: var(--sbst-accent); border: 1px solid var(--sbst-accent); padding: 10px 20px; }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--sbst-accent); color: #fff; }
.woocommerce-mini-cart__empty-message { margin: 0; padding: 20px; text-align: center; }
.sbst-drawer .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* ---------- Кошик ---------- */

table.shop_table { margin: 0 -1px 28px 0; border: 1px solid var(--sbst-border); border-collapse: separate; border-radius: 0; text-align: left; }
table.shop_table th { padding: 9.8px 14px; font-weight: 700; border: 0; }
table.shop_table td { padding: 9.8px 14px; border: 0; border-top: 1px solid var(--sbst-border); vertical-align: middle; }
table.shop_table thead { background: #fbfbfb; }
table.shop_table.cart td { text-align: left; }
table.cart td.product-remove { text-align: center; }
table.cart td.product-remove a {
	display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid #c4c4c4; border-radius: 100%;
	color: #c4c4c4 !important; font-size: 18px; line-height: 1; text-align: center;
}
table.cart td.product-remove a:hover { border-color: var(--sbst-accent); color: var(--sbst-accent) !important; }
table.cart img { width: 70px; max-width: none; height: auto; }
table.cart td.product-name a { font-weight: 400; }
table.cart td.product-quantity .quantity { vertical-align: middle; }
table.cart td.actions { text-align: right; }
table.cart td.actions .coupon { float: left; display: flex; align-items: center; }
#coupon_code { width: 221px; margin: 0 4px 0 0; padding: 7px 10.5px; border: 1px solid var(--sbst-border); }
table.cart td.actions .coupon .button { margin-left: 5px; padding: 10px 40px; font-weight: 700; }
button[name="update_cart"] { display: none !important; }
table.cart td.actions::after { content: ""; display: table; clear: both; }
.cart-collaterals { width: 100%; }
.cart-collaterals .cart_totals { width: 100%; margin: 0 0 28px; padding: 0 20px; border: 1px solid var(--sbst-border); }
.cart_totals h2 { margin: 0 -20px 20px; padding: .7em 1em; font-size: 1.625em; font-weight: 700; line-height: 1.25; color: var(--ast-global-color-2); background: #fbfbfb; border-bottom: 1px solid var(--sbst-border); }
.cart_totals table.shop_table { margin: 0 0 6px; border: 0; border-bottom: 1px solid var(--sbst-border); }
.cart_totals table th, .cart_totals table td { padding: 9.8px 14px; line-height: 1.5; border: 0; border-top: 1px solid var(--sbst-border); vertical-align: top; }
.cart_totals table tr:first-child th, .cart_totals table tr:first-child td { border-top: 0; }
.cart_totals table th { width: 40%; font-weight: 400; }
#shipping_method { list-style: none; margin: 0; padding: 0; }
#shipping_method li { margin: 0; padding: .25em 0 .25em 22px; text-indent: -22px; line-height: 1.5; }
#shipping_method li input { margin: 3px 3.675px; }
.woocommerce-shipping-destination { margin: 0 0 1em; line-height: 1.5; }
.shipping-calculator-button { font-size: 14px; }
.shipping-calculator-form { margin-top: 1em; }
.shipping-calculator-form p { margin-bottom: .5em; }
.wc-proceed-to-checkout { padding: 1em 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; margin: 0 0 1em; padding: 10px 20px; font-size: 1.1em; font-weight: 700; line-height: 1.8; }
.cart-empty.woocommerce-info { text-align: left; }
.return-to-shop .button { font-weight: 700; }
.cross-sells { margin-bottom: 2em; }

/* ---------- Оформлення замовлення ---------- */

.woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 28px; }
form.checkout_coupon { margin: 0 0 2em; padding: 20px; border: 1px solid var(--sbst-border); }
form.checkout_coupon p { margin-bottom: .5em; }
form.checkout { display: grid; grid-template-columns: 55% 40%; grid-template-rows: auto 1fr; justify-content: space-between; align-items: start; }
form.checkout > .woocommerce-NoticeGroup, form.checkout > .wc-block-components-notices { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 2; margin: 0 0 28px; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 25.2px 25.2px 16.8px; border: 2px solid var(--sbst-border); border-bottom: 0; font-size: 1.2em; font-weight: 700; line-height: 1.2; color: var(--ast-global-color-2); }
#order_review { grid-column: 2; grid-row: 2; padding: 0 2em; background: #fffff4; border: 2px solid var(--sbst-border); border-top: 0; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #ship-to-different-address {
	margin: 0 0 20px; padding: 20px 0 14px; border-bottom: 1px solid var(--sbst-border); font-size: 1.2em; font-weight: 700; line-height: 1.2; color: var(--ast-global-color-2);
}
#ship-to-different-address label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: -6px; }
.form-row { width: 100%; margin: 0 0 6px; padding: 3px; }
.form-row-first, .form-row-last { width: 47%; }
.form-row-wide { width: 100%; }
.form-row label { display: block; font-size: .9em; font-weight: 700; line-height: 2; }
.form-row label.checkbox, .form-row label.woocommerce-form__label-for-checkbox { display: inline; cursor: pointer; }
.form-row label.checkbox input, .form-row label.woocommerce-form__label-for-checkbox input { margin: 0 8px 0 0; vertical-align: -1px; }
.form-row .input-text, .form-row select, .form-row textarea { width: 100%; }
.form-row textarea { vertical-align: top; height: 4em; min-height: 56px; line-height: 1.5; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid .select2-selection { border-color: #b81c23; }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row .description { font-size: 12px; }
.optional { font-weight: 400; }
.select2-container .select2-selection--single { height: auto; min-height: 43px; padding: .8em 2em .8em .8em; border: 1px solid var(--sbst-border); border-radius: 3px; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.3; color: var(--sbst-text); }
.select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 14px; width: 12px; height: 8px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23453e3e' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat center; }
.select2-container .select2-selection--single .select2-selection__arrow b { display: none; }
.select2-dropdown { border-color: var(--sbst-border); }
.select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--sbst-accent); }
table.woocommerce-checkout-review-order-table { margin: 0 -1px 28px 0; border: 0; }
table.woocommerce-checkout-review-order-table th { line-height: 1.857; padding: 14px 12px 14px 0; font-weight: 700; border: 0; border-bottom: 1px solid var(--sbst-border); }
table.woocommerce-checkout-review-order-table td { line-height: 1.857; padding: 10px 10px 10px 0; font-weight: 400; border: 0; border-bottom: 1px solid var(--sbst-border); }
.woocommerce-checkout-review-order-table thead th:last-child, .woocommerce-checkout-review-order-table td:last-child { text-align: right; padding-right: 10px; }
.woocommerce-checkout-review-order-table tfoot th, .woocommerce-checkout-review-order-table tfoot td { font-weight: 400; }
.woocommerce-checkout-review-order-table td.product-name { font-weight: 400; }
table.woocommerce-checkout-review-order-table thead { background: none; }
table.woocommerce-checkout-review-order-table td.product-name { position: relative; padding-right: 62px; }
.woocommerce-checkout-review-order-table td.product-name .product-quantity { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-weight: 400; }
.woocommerce-checkout-review-order-table .order-total strong { font-weight: 400; }
.woocommerce-checkout-review-order-table .product-quantity { padding-left: 6px; font-weight: 400; }
.woocommerce-checkout-review-order-table #shipping_method li { line-height: 1.857; }
#payment { background: none; border-radius: 0; }
#payment .payment_methods { list-style: none; margin: 0 0 14px; padding: 0; border: 0; text-align: left; }
#payment .payment_methods li { list-style: none; margin: 0; padding: 12px 0 0; }
#payment .payment_methods li label { cursor: pointer; }
#payment .payment_methods li img { max-height: 24px; width: auto; margin: 0 6px; vertical-align: middle; }
#payment .payment_box { position: relative; margin: .92em 0; padding: 1em; border-radius: 2px; background: #f7f6f7; color: #515151; font-size: .92em; line-height: 1.5; }
#payment .payment_box::before { content: ""; position: absolute; top: -.75em; left: 0; margin: -1em 0 0 2em; border: 1em solid #f7f6f7; border-color: transparent transparent #f7f6f7; }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .place-order { margin: 0; padding: 0 0 2em; }
.woocommerce-privacy-policy-text p { margin-bottom: 14px; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 0; }
.woocommerce-terms-and-conditions-wrapper .form-row label { font-size: .9em; font-weight: 700; }
#place_order { display: block; width: 100%; padding: 10px 20px; font-size: 12px; font-weight: 700; line-height: 1; }
.woocommerce-checkout .woocommerce-shipping-fields { margin-bottom: 0; }
.woocommerce-additional-fields label { font-size: .9em; font-weight: 700; }

/* Сторінка «Дякуємо» та замовлення */
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1em 2em; list-style: none; margin: 0 0 2em; padding: 0; }
.woocommerce-order-overview li { padding-right: 2em; border-right: 1px dashed #cfc8d8; font-size: .8em; text-transform: uppercase; }
.woocommerce-order-overview li strong { display: block; font-size: 1.4em; text-transform: none; }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 2em; }
.woocommerce-column__title, .woocommerce-order-details__title { font-size: 1.5em; margin-bottom: .7em; }
.woocommerce-customer-details address { padding: 1em; border: 1px solid var(--sbst-border); line-height: 1.8; }

/* ---------- Кабінет ---------- */

.woocommerce-account .sbst-entry__content > .woocommerce:has(#customer_login),
.woocommerce-account .sbst-entry__content > .woocommerce:has(> form.woocommerce-form-login),
.woocommerce-account .sbst-entry__content > .woocommerce:has(> .woocommerce-ResetPassword) {
	max-width: 540px; margin: 28px auto; padding: 40px; border: 1px solid var(--sbst-border);
}
#customer_login { display: block; }
#customer_login .u-column2 { display: none; }
#customer_login.is-register .u-column1 { display: none; }
#customer_login.is-register .u-column2 { display: block; }
#customer_login h2 { margin: 0 0 1.5em; font-size: 1.625em; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ast-global-color-2); }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { margin-bottom: 20px; }
.woocommerce-form-login label, .woocommerce-form-register label { font-size: .9em; font-weight: 700; }
.woocommerce-form-login .password-input, .woocommerce-form-register .password-input, .woocommerce-ResetPassword .password-input { position: relative; display: block; }
.show-password-input {
	position: absolute; right: 9px; top: 9px; width: 60px; height: 33px; padding: 0; border: 0; cursor: pointer;
	background: var(--sbst-accent); color: #fefefe; font-size: 12px;
}
.show-password-input::after { content: ""; display: inline-block; width: 16px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath d='M12 0C6.5 0 2.4 3.4 0 7c2.4 3.6 6.5 7 12 7s9.6-3.4 12-7c-2.4-3.6-6.5-7-12-7zm0 11.5A4.5 4.5 0 1 1 12 2.5a4.5 4.5 0 0 1 0 9z'/%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 14'%3E%3Cpath d='M12 0C6.5 0 2.4 3.4 0 7c2.4 3.6 6.5 7 12 7s9.6-3.4 12-7c-2.4-3.6-6.5-7-12-7zm0 11.5A4.5 4.5 0 1 1 12 2.5a4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::after { opacity: .6; }
.woocommerce-form-login__rememberme { display: block !important; margin: 0; font-weight: 600 !important; cursor: pointer; }
.woocommerce-form-login__rememberme input { width: 16px; height: 16px; margin: 0 5px 0 0 !important; vertical-align: -3px !important; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-ResetPassword .button { display: block; width: 100%; margin: 18px 0 0; font-weight: 700; }
.woocommerce-LostPassword, .sbst-form-switch { margin: 21px 0 0; text-align: center; }
.woocommerce-LostPassword { margin-top: 1.5em; }
.woocommerce-privacy-policy-text p { font-size: 14px; }

.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: flex; gap: 41px; align-items: flex-start; margin: 28px 0 3em; }
.woocommerce-MyAccount-navigation { flex: 0 0 22%; border-right: 1px solid var(--sbst-border); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 10px 0 0; padding: 0 0 0 20%; background: #fff; }
.woocommerce-MyAccount-navigation li { position: relative; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--sbst-border); }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; width: 100%; padding: 14px; font-size: 14px; line-height: 26px; color: var(--sbst-text); }
.woocommerce-MyAccount-navigation li a:hover { color: var(--ast-global-color-0); }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--ast-global-color-0); background: #f3f0f0; }
.woocommerce-MyAccount-navigation li.is-active::after { content: ""; position: absolute; top: 1px; right: -1px; z-index: 9; width: 3px; height: calc(100% - 1px); background: var(--ast-global-color-0); }
.sbst-acc-icon { display: flex; flex: 0 0 17px; margin-right: 20px; }
.sbst-acc-icon svg { width: 17px; height: 17px; }
/* Плагін Account Tabs: його іконки й мінімалістичний стиль мають перевагу. */
.woocommerce-MyAccount-navigation li.zat-icon .sbst-acc-icon, .zat-minimal .sbst-acc-icon, .woocommerce-MyAccount-navigation li.zat-no-icon .sbst-acc-icon { display: none; }
.zat-minimal .woocommerce-MyAccount-navigation { border-right: 0; }
.zat-minimal .woocommerce-MyAccount-navigation li.is-active::after { display: none; }
.woocommerce-MyAccount-content { flex: 1 1 auto; min-width: 0; }
.woocommerce-MyAccount-content .woocommerce-orders-table { font-size: 14px; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: flex; gap: 4%; }
.woocommerce-MyAccount-content .woocommerce-Address { flex: 1; }
.woocommerce-MyAccount-content fieldset { margin: 1.5em 0; padding: 1em; border: 1px solid var(--sbst-border); }
.woocommerce-EditAccountForm .form-row { margin-bottom: 1em; }

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

@media (max-width: 1200px) {
	.sbst-menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 14px; }
	.sbst-menu > li.sbst-mega > .sub-menu { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 14px; }
}

@media (max-width: 921px) {
	body { font-size: 17px; }
	h1 { font-size: 36px; } h2 { font-size: 30px; } h3 { font-size: 25px; } h4 { font-size: 20px; } h5 { font-size: 17px; } h6 { font-size: 15px; }
	.sbst-dhead, .sbst-topbar__html--desktop { display: none; }
	.sbst-topbar { padding: 5px 20px; margin-bottom: 5px; }
	.sbst-topbar__html--mobile { display: block; padding-left: 10px; font-size: 15px; line-height: 1.857; }
	.sbst-mhead { display: block; }
	.sbst-mhead__icons { background: #fff; }
	.sbst-mhead__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 20px; align-items: center; min-height: 72px; font-size: 14px; }
	.sbst-mhead__row .sbst-search { justify-self: start; margin-left: 20px; padding: 0; }
	.sbst-mhead__row .sbst-search__toggle { font-size: 18px; }
	.sbst-mhead__row .sbst-search__toggle svg { width: 17px; height: 18px; margin: 0; }
	.sbst-mhead__row .sbst-search__form { left: -14px; right: auto; width: min(290px, calc(100vw - 20px)); }
	.sbst-mhead__row .sbst-cart { justify-self: center; padding: 0; }
	.sbst-mhead__row .sbst-account { justify-self: end; padding: 0; margin: 0 20px 0 10px; }
	.sbst-mhead__row .sbst-account__link svg { width: 18px; height: 18px; }
	.sbst-mhead__row .sbst-account__menu { display: none; }
	.sbst-mhead__main { display: flex; align-items: center; justify-content: space-between; min-height: 69px; padding: 0 20px; background: #fff; }
	.sbst-mhead__main .custom-logo { width: 44px; max-width: 44px; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sbst-product-top { flex-direction: column; }
	.sbst-product-top > .woocommerce-product-gallery, .sbst-product-top > .summary { width: 100%; position: static; }
	.sbst-filter__panel { width: 40%; }
	.sbst-drawer__panel { width: 50%; }
	form.checkout { grid-template-columns: 100%; }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { flex-direction: column; }
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { gap: 11px; margin-top: 38px; }
	.woocommerce-MyAccount-navigation { flex-basis: auto; width: 100%; border-right: 0; }
	.woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: 106px 163px; column-gap: 20px; margin: 0; padding-left: 70px; }
	.woocommerce-MyAccount-navigation li + li { border-top: 0; }
	.woocommerce-MyAccount-navigation li.is-active::after { display: none; }
	.sbst-fmenu { flex-direction: column; align-items: center; margin-bottom: 10px; padding: 0; }
	.sbst-fmenu a { padding: 0; font-size: 10px; line-height: 1.857; }
	.sbst-footer__primary { padding: 0 0 25px; border-top: 1px solid #fff; }
	.sbst-footer__html { padding: 0; margin-bottom: 10px; }
	.sbst-footer__copy { padding: 8px 0 6px; min-height: 50px; justify-content: flex-start; }
	.sbst-footer__copy > :last-child { margin-bottom: 10px; }
	.sbst-mhead__icons.is-fixed .sbst-mhead__row { min-height: 94px; }
	.woocommerce-tabs { display: block; margin-bottom: 56px; }
	.woocommerce-tabs ul.tabs { width: 100%; margin-bottom: 14px; }
	.woocommerce-tabs .panel { padding: 0; margin-bottom: 19.2px; border-left: 0; }
	.sbst-main.sbst-catalog { padding-top: 42px; }
	.sbst-main.sbst-product-page { padding: 42px 22px 0; }
}

@media (max-width: 767px) {
	.sbst-filter__panel { width: 95%; }
	.sbst-toolbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; margin: 0; padding: 12px 20px 12px 37px; min-height: 60px;
		background: var(--ast-global-color-8); box-shadow: 0 -1px 3px rgba(0, 0, 0, .1); justify-content: flex-start; gap: 16px;
	}
	.sbst-toolbar .woocommerce-ordering { margin: 0; }
	.sbst-catalog ul.products { margin-top: 35px; }
	.woocommerce button.sbst-filter-btn { padding: 7.37px 11px; font-size: 11px; }
	.sbst-toolbar .woocommerce-ordering select { background-color: transparent; }
	body.sbst-has-toolbar { padding-bottom: 60px; }
}

@media (max-width: 544px) {
	body { font-size: 14px; }
	h1 { font-size: 32px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 15px; } h6 { font-size: 13px; }
	.button, .woocommerce a.button, .woocommerce button.button { font-size: 11px; }
	ul.products { grid-template-columns: minmax(0, 1fr); }
	.related ul.products, .upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	ul.products li.product .button { padding: 6px 9px; font-size: 12px; }
	.sbst-drawer__panel { width: 100%; }
	.woocommerce-product-gallery.sbst-gallery { grid-template-columns: 70px minmax(0, 1fr); }
	.flex-control-thumbs li { padding-bottom: 8.67px; }
	.sbst-product-top > .woocommerce-product-gallery { margin-bottom: 28px; }
	.form-row-first, .form-row-last { width: 100%; }
	table.shop_table_responsive, table.shop_table_responsive tbody, table.shop_table_responsive tfoot { display: block; width: 100%; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; }
	table.shop_table_responsive tr td { display: block; text-align: right !important; }
	table.shop_table_responsive tr td::before { content: attr(data-title) ": "; float: left; font-weight: 700; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.actions::before, table.shop_table_responsive tr td.product-thumbnail::before { display: none; }
	table.cart td.product-thumbnail { width: auto; text-align: center !important; }
	table.cart td.actions .coupon { float: none; display: flex; align-items: stretch; gap: 9px; }
	#coupon_code { flex: 1 1 auto; width: auto; min-width: 0; margin: 0; }
	table.cart td.actions .coupon .button { flex: 0 0 auto; width: 157px; margin: 0; padding: 10px 20px; white-space: normal; }
	table.shop_table_responsive tbody th { display: none; }
	.cart_totals table td { width: 100% !important; }
	.woocommerce-account .sbst-entry__content > .woocommerce:has(#customer_login) { padding: 30px 20px; }
	.sbst-sticky-cart__title, .sbst-sticky-cart__info img { display: none; }
	.sbst-sticky-cart__inner { justify-content: center; }
	.sbst-top { right: 20px; bottom: 100px; }
}

/* Віджети теми в контейнерах Elementor — на всю ширину, доки в «Розширені → Ширина» не задано інше.
   Інакше контейнер з вирівнюванням по центру (типово на телефоні) стискає їх до 0. */
.e-con > .elementor-widget-sbst-slider:not([class*="elementor-widget__width-"]),
.e-con > .elementor-widget-sbst-products:not([class*="elementor-widget__width-"]),
.e-con > .e-con-inner > .elementor-widget-sbst-slider:not([class*="elementor-widget__width-"]),
.e-con > .e-con-inner > .elementor-widget-sbst-products:not([class*="elementor-widget__width-"]) { width: 100%; align-self: stretch; }

/* Коментарі */
.sbst-comments { margin-top: 40px; }
.sbst-comments__list { list-style: none; padding: 0; }
.sbst-comments__list .comment-body { padding: 15px 0; border-bottom: 1px solid #eee; }
.sbst-comments .avatar { float: left; margin-right: 12px; border-radius: 50%; }
