/*
Theme Name: BE / TALLI
Theme URI: https://talli.space
Author: TALLI
Description: Классическая тема витрины BLUE ELEPHANT для TALLI (WordPress + WooCommerce).
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: be
*/

/* ------------------------------------------------------------------
   1. Fonts
------------------------------------------------------------------ */
@font-face {
	font-family: "Futura BE";
	font-style: normal;
	font-weight: 300 500;
	font-display: swap;
	src: url("assets/fonts/futura-be-medium.woff2") format("woff2");
}
@font-face {
	font-family: "Futura BE";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("assets/fonts/futura-be-bold.woff2") format("woff2");
}

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/jost-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/jost-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/jost-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   2. Tokens / reset
------------------------------------------------------------------ */
:root {
	--be-black: #000;
	--be-ink: #111;
	--be-beige: #e5dfd9;
	--be-gray: #e6e6e6;
	--be-gray-2: #f4f4f4;
	--be-muted: #54504a;
	--be-line: #e7e7e7;
	--be-white: #fff;
	--be-header: 120px;
	--be-header-solid: 65px;
	--be-bar: 65px;
	--be-bar-bg: #1b1b1b;
	--be-tile: #e6e6e6; /* home blocks (ref #e6e6e6); catalog/product tiles use #e7e7e7 */
	--be-gutter: 6rem;
	--be-ease: cubic-bezier(0.25, 0.1, 0.25, 1);

	/* Reference type (Adobe futura-pt) -> our faces. Jost (variable, OFL) tracks futura-pt better than the
	   single Futura Md BT weight we own; weights and the tracking offset that equalises ink width were
	   measured with _tools/font-fit.js (ref weight -> Jost weight, letter-spacing offset in em). */
	--be-font: "Jost", "Futura BE", "Helvetica Neue", Arial, sans-serif;
	--fw-light: 250;
	--fw-regular: 350;
	--fw-medium: 450;
	--fw-semibold: 550;
	--fw-bold: 650;
	--ls-light: -0.025em;
	--ls-regular: -0.036em;
	--ls-medium: -0.045em;
	--ls-semibold: -0.04em;
	--ls-bold: -0.036em;
}

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

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

body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--be-font);
	font-size: 1.4rem;
	font-weight: var(--fw-regular);
	line-height: 1.5;
	color: var(--be-ink);
	background: var(--be-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a,
button {
	-webkit-tap-highlight-color: transparent;
}

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

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

button {
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

table {
	border-collapse: collapse;
}

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

::selection {
	color: var(--be-white);
	background: var(--be-ink);
}

/* ------------------------------------------------------------------
   3. Utilities
------------------------------------------------------------------ */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	color: var(--be-white);
	background: var(--be-ink);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 28px;
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: background-color 0.25s var(--be-ease), color 0.25s var(--be-ease), border-color 0.25s var(--be-ease);
}

.btn-dark {
	color: var(--be-beige);
	background: var(--be-ink);
}

.btn-dark:hover {
	color: var(--be-white);
	background: var(--be-black);
}

.btn-light {
	color: var(--be-ink);
	background: var(--be-white);
	border-color: var(--be-white);
}

.btn-light:hover {
	color: var(--be-white);
	background: transparent;
}

.link-underline {
	display: inline-block;
	padding-bottom: 3px;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	transition: opacity 0.2s ease;
}

.link-underline:hover {
	opacity: 0.55;
}

.icon {
	display: block;
	flex: none;
}

.is-muted {
	color: #777;
}

/* ------------------------------------------------------------------
   4. Header
------------------------------------------------------------------ */

/* Front page desktop: beige wordmark/menu over the transparent hero. */

.be-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 14px;
	font-size: 0.9rem;
	line-height: 1;
}

/* Mobile menu */

/* Search overlay */

/* Позиция копии по вертикали как на референсе: заголовок на ~30% высоты hero. */

/* ------------------------------------------------------------------
   8. Sections and product cards
------------------------------------------------------------------ */

.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	max-width: 1440px;
	margin: 0 auto;
	background: var(--be-white);
}

/* WooCommerce adds table clearfix pseudo-elements; inside a grid they take a cell. */
.products::before,
.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
	content: none !important;
	display: none !important;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--be-gray);
}

.product-card-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 352 / 419;
	overflow: hidden;
	background: var(--be-gray);
}

.product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.35s var(--be-ease), transform 0.5s var(--be-ease);
}

.product-card-hover {
	opacity: 0;
}

.product-card:hover .product-card-hover,
.product-card:focus-within .product-card-hover {
	opacity: 1;
}

.product-card:hover .product-card-main {
	transform: scale(1.012);
}

.card-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--be-ink);
	background: transparent;
}

.card-heart .icon {
	transition: fill 0.2s ease, transform 0.2s ease;
}

.card-heart:hover .icon {
	transform: scale(1.08);
}

.card-heart.is-active .icon {
	fill: var(--be-ink);
}

.product-card-info {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 12px 10px 14px;
	text-align: center;
	background: rgba(230, 230, 230, 0.96);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.25s var(--be-ease), transform 0.25s var(--be-ease);
}

.product-card:hover .product-card-info,
.product-card:focus-within .product-card-info {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.product-card-model {
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.product-card-color {
	font-size: 1.1rem;
	color: var(--be-muted);
}

.product-card-price {
	margin-top: 5px;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
}

.product-card .price {
	font-size: 1.1rem;
	color: var(--be-ink);
}

.product-card .price del {
	color: #999;
}

/* ------------------------------------------------------------------
   11. Catalog
------------------------------------------------------------------ */
.catalog-banner {
	position: relative;
	width: 100%;
	height: clamp(280px, 40vw, 576px);
	overflow: hidden;
	background: var(--be-gray);
}

.catalog-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.catalog-main {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 8px 8rem;
}

.catalog-toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 16px 20px;
}

.catalog-title {
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Woo's generic .woocommerce h1 is 3rem; the catalog heading is a small label. */
.woocommerce .catalog-title {
	font-size: 1.16rem;
	font-weight: 500;
	letter-spacing: 0.075em;
}

.catalog-desc {
	max-width: 480px;
	margin-top: 6px;
	font-size: 1.1rem;
	color: var(--be-muted);
}

.catalog-actions {
	display: flex;
	align-items: center;
	gap: 26px;
}

.filter-toggle {
	position: relative;
	min-height: 44px;
	padding: 14px 0;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.filter-toggle::after {
	content: "";
	position: absolute;
	right: -12px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -4px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.filter-toggle[aria-expanded="true"]::after {
	transform: rotate(225deg);
	margin-top: -1px;
}

.filter-toggle:hover {
	opacity: 0.6;
}

.filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	margin-left: 3px;
	font-size: 0.9rem;
	color: var(--be-white);
	background: var(--be-ink);
	border-radius: 50%;
}

.catalog-order {
	display: flex;
	align-items: center;
	gap: 10px;
}

.catalog-order-label {
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.woocommerce-ordering {
	position: relative;
	margin: 0;
}

.woocommerce-ordering::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 2px;
	width: 5px;
	height: 5px;
	margin-top: -4px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
	pointer-events: none;
}

.woocommerce-ordering select {
	appearance: none;
	min-height: 44px;
	padding: 0 20px 0 0;
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.catalog-filters {
	padding: 30px 16px 34px;
	border-top: 1px solid var(--be-line);
	border-bottom: 1px solid var(--be-line);
}

.catalog-filters[hidden] {
	display: none;
}

.filters-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.filter-group legend {
	margin-bottom: 14px;
	padding: 0;
	font-size: 1rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.filter-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 30px;
	font-size: 1.2rem;
	cursor: pointer;
}

.filter-check input {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--be-ink);
}

.price-inputs {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.price-inputs label {
	flex: 1;
	min-width: 0;
}

.price-inputs input {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	font-size: 1.2rem;
	background: var(--be-white);
	border: 1px solid #ccc;
	border-radius: 0;
}

.filters-actions {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 28px;
}

.filters-actions .btn {
	min-height: 40px;
}

.catalog-main .products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	background: var(--be-white);
}

.catalog-main .product-card {
	border-right: 1px solid var(--be-white);
}

.catalog-main .product-card:nth-child(4n) {
	border-right: 0;
}

.catalog-main .product-card .product-card-info {
	background: var(--be-gray);
}

.catalog-empty {
	padding: 8rem 0;
	text-align: center;
}

.catalog-empty p {
	margin-bottom: 24px;
	font-size: 1.4rem;
	color: var(--be-muted);
}

.woocommerce-pagination {
	margin-top: 5rem;
}

.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	font-size: 1.2rem;
	border: 1px solid transparent;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	border-color: var(--be-ink);
}

/* ------------------------------------------------------------------
   12. Single product
------------------------------------------------------------------ */
body.single-product {
	background: var(--be-gray-2);
}

body.single-product .site-main {
	background: var(--be-gray-2);
}

.product-breadcrumb {
	max-width: 1440px;
	margin: 0 auto;
	padding: 26px 40px 0;
}

.woocommerce-breadcrumb {
	font-size: 1rem;
	letter-spacing: 0.06em;
	color: #888;
}

.woocommerce-breadcrumb a {
	color: #888;
}

.woocommerce-breadcrumb a:hover {
	color: var(--be-ink);
}

.product-layout {
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(0, 22fr);
	column-gap: 15.4%;
	row-gap: 2%;
	align-items: start;
	max-width: 1440px;
	margin: 0 auto;
	padding: 18px 40px 9rem;
}

.product-gallery-col {
	min-width: 0;
}

.be-gallery {
	position: relative;
}

.be-gallery-viewport {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--be-gray-2);
}

.be-gallery-slide {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.be-gallery-slide.is-active {
	display: flex;
}

.be-gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--be-ink);
	background: rgba(255, 255, 255, 0.55);
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity 0.2s ease;
}

.be-gallery:hover .gallery-arrow,
.gallery-arrow:focus-visible {
	opacity: 1;
}

.gallery-prev {
	left: 8px;
}

.gallery-next {
	right: 8px;
}

.gallery-counter {
	position: absolute;
	bottom: 12px;
	left: 14px;
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: var(--be-muted);
}

.be-gallery-thumbs {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}

.be-gallery-thumbs li {
	flex: 0 0 72px;
}

.gallery-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	padding: 0;
	overflow: hidden;
	background: var(--be-gray);
	border: 1px solid transparent;
	opacity: 0.55;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
	opacity: 1;
	border-color: var(--be-ink);
}

.product-summary-col {
	position: sticky;
	top: calc(var(--be-header-solid) + 30px);
	padding-top: 4px;
}

.product-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.product_title,
.woocommerce div.product .product_title {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: none;
}

.product-heart {
	position: static;
	top: auto;
	right: auto;
	flex: none;
	margin-top: -8px;
}

.product-heart.is-active .icon {
	fill: var(--be-ink);
}

.product-color {
	margin-top: 6px;
	font-size: 1.2rem;
	color: var(--be-muted);
}

.product-price-row {
	margin-top: 30px;
}

.product-price-row .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--be-ink);
}

.product-price-row .price del,
.woocommerce div.product p.price del {
	font-size: 1.4rem;
	color: #999;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	font-weight: 400;
	text-decoration: none;
	color: var(--be-ink);
}

.product-stock {
	margin-top: 10px;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	color: var(--be-muted);
}

.product-stock.out-of-stock {
	color: #a33;
}

.product-buy {
	margin-top: 26px;
}

.product-buy form.cart {
	display: flex;
	align-items: center;
	gap: 12px;
}

.product-buy .quantity {
	display: none;
}

.product-buy .single_add_to_cart_button {
	min-width: 148px;
	min-height: 37px;
	height: 37px;
	padding: 0 24px;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--be-beige);
	background: var(--be-ink);
	border: 0;
	border-radius: 0;
	transition: background-color 0.2s ease;
}

.product-buy .single_add_to_cart_button:hover {
	color: var(--be-white);
	background: var(--be-black);
}

.product-buy .single_add_to_cart_button.disabled {
	background: #777;
}

.product-accordions {
	margin-top: 48px;
	border-top: 1px solid #ccc;
}

.product-accordion {
	border-bottom: 1px solid #ccc;
}

.product-accordion[hidden] {
	display: none;
}

.product-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 17px 0;
	font-size: 1rem;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.product-accordion summary::-webkit-details-marker {
	display: none;
}

.product-accordion summary .icon {
	transition: transform 0.2s ease;
}

.product-accordion summary .icon-v {
	transition: opacity 0.2s ease;
}

.product-accordion[open] summary .icon-v {
	opacity: 0;
}

.accordion-body {
	padding: 0 0 22px;
	font-size: 1.2rem;
	line-height: 1.85;
	color: #333;
}

.accordion-body p {
	margin-bottom: 10px;
}

.accordion-body p:last-child {
	margin-bottom: 0;
}

.accordion-body a {
	border-bottom: 1px solid currentColor;
}

.product-facts {
	margin-top: 10px;
	padding: 0;
	list-style: none;
}

.product-facts li {
	position: relative;
	padding-left: 13px;
}

.product-facts li::before {
	content: "–";
	position: absolute;
	left: 0;
}

.woocommerce-product-attributes {
	width: 100%;
	margin: 4px 0 12px;
	font-size: 1.2rem;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 5px 0;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e2e2e2;
}

.woocommerce-product-attributes th {
	width: 45%;
	font-weight: 400;
	color: var(--be-muted);
}

.related.products {
	display: block;
	max-width: 1440px;
	margin: 0 auto;
	padding: 2rem 0 1rem;
	background: transparent;
}

.related.products > h2 {
	margin: 3rem 0 3rem;
	font-size: 2.4rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}

.related.products .products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related.products .product-card {
	border-right: 1px solid var(--be-white);
}

.related.products .product-card:nth-child(4n) {
	border-right: 0;
}

.woocommerce-product-gallery {
	width: 100%;
}

.onsale {
	display: none;
}

/* ------------------------------------------------------------------
   13. Pages
------------------------------------------------------------------ */
.page-wrap {
	max-width: 920px;
	margin: 0 auto;
	padding: 8rem 40px 10rem;
}

.page-kicker {
	margin-bottom: 14px;
	font-size: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.page-title {
	font-size: clamp(3rem, 3.6vw, 4.2rem);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.15;
	text-transform: uppercase;
}

.page-head {
	margin-bottom: 4rem;
}

.page-content {
	font-size: 1.5rem;
	line-height: 1.9;
	color: #333;
}

.page-content > * + * {
	margin-top: 1.4em;
}

.page-content h2,
.page-content h3 {
	margin-top: 2em;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--be-ink);
}

.page-content h2 {
	font-size: 2rem;
}

.page-content h3 {
	font-size: 1.6rem;
}

.page-content a {
	border-bottom: 1px solid currentColor;
}

.page-content ul,
.page-content ol {
	padding-left: 20px;
	list-style: disc;
}

.page-content ol {
	list-style: decimal;
}

.page-content li {
	margin-bottom: 6px;
}

.page-content blockquote {
	margin: 2em 0;
	padding-left: 20px;
	font-size: 1.8rem;
	font-weight: 300;
	border-left: 1px solid var(--be-ink);
}

.error-wrap {
	text-align: center;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-top: 30px;
}

.post-list {
	display: grid;
	gap: 40px;
}

.post-item-media img {
	width: 100%;
}

/* ------------------------------------------------------------------
   14. WooCommerce: forms, cart, checkout, account
------------------------------------------------------------------ */
.woocommerce {
	font-size: 1.4rem;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
	padding-top: var(--be-header);
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
	max-width: 1280px;
	margin: 0 auto;
	padding: 6rem 40px 10rem;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3 {
	font-weight: 300;
	letter-spacing: 0.04em;
}

.woocommerce h1 {
	font-size: 3rem;
	text-transform: uppercase;
}

.woocommerce h2 {
	font-size: 2rem;
}

.woocommerce h3 {
	font-size: 1.5rem;
}

.woocommerce a {
	color: var(--be-ink);
}

.woocommerce a:hover {
	opacity: 0.65;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 24px;
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--be-beige);
	background: var(--be-ink);
	border: 0;
	border-radius: 0;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover {
	color: var(--be-white);
	background: var(--be-black);
	opacity: 1;
}

.woocommerce button.button.alt,
.woocommerce a.button.alt {
	color: var(--be-beige);
	background: var(--be-ink);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .cart .quantity input,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce .woocommerce-form-login input,
.woocommerce .woocommerce-form-register input {
	min-height: 44px;
	padding: 10px 12px;
	font-size: 1.4rem;
	background: var(--be-white);
	border: 1px solid #ccc;
	border-radius: 0;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .cart .quantity input:focus {
	outline: 0;
	border-color: var(--be-ink);
}

.woocommerce form .form-row label {
	font-size: 1.1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.woocommerce table.shop_table {
	border: 1px solid #ddd;
	border-radius: 0;
}

.woocommerce table.shop_table th {
	padding: 14px 12px;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--be-gray-2);
}

.woocommerce table.shop_table td {
	padding: 14px 12px;
	border-top: 1px solid #eee;
}

.woocommerce table.shop_table img {
	width: 64px;
}

.woocommerce table.cart td.actions .coupon .input-text {
	width: 180px;
}

.woocommerce .cart_totals h2,
.woocommerce #order_review_heading {
	font-size: 1.6rem;
	text-transform: uppercase;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cross-sells {
	width: 100%;
}

.woocommerce .cart-collaterals {
	margin-top: 4rem;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
	margin-bottom: 3rem;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	padding: 16px 20px 16px 50px;
	font-size: 1.3rem;
	color: var(--be-ink);
	background: var(--be-gray-2);
	border-top: 1px solid var(--be-ink);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	top: 17px;
	left: 18px;
	color: var(--be-ink);
}

.woocommerce .woocommerce-error {
	border-top-color: #a33;
}

.woocommerce .woocommerce-error::before {
	color: #a33;
}

.woocommerce .woocommerce-message .button {
	float: right;
	margin-left: 20px;
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
	color: var(--be-ink);
}

.woocommerce .woocommerce-breadcrumb {
	margin: 0;
}

.woocommerce .woocommerce-result-count {
	font-size: 1.1rem;
	color: var(--be-muted);
}

.woocommerce .woocommerce-ordering select {
	min-height: 36px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left;
	width: 24%;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: right;
	width: 72%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	border-top: 1px solid #ddd;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	padding: 12px 0;
	font-size: 1.2rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 1px solid #eee;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 500;
}

.woocommerce-account .woocommerce::after,
.woocommerce-cart .woocommerce::after,
.woocommerce-checkout .woocommerce::after {
	content: "";
	display: table;
	clear: both;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 0;
}

.woocommerce #payment {
	background: transparent;
}

.woocommerce #payment ul.payment_methods {
	border-bottom: 1px solid #ddd;
}

.woocommerce #payment div.payment_box {
	background: var(--be-gray-2);
}

.woocommerce #payment div.payment_box::before {
	border-bottom-color: var(--be-gray-2);
}

.woocommerce .woocommerce-customer-details address {
	padding: 16px;
	border: 1px solid #ddd;
	border-radius: 0;
}

/* ------------------------------------------------------------------
   15. Motion
------------------------------------------------------------------ */
.reveal.will-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s var(--be-ease), transform 0.5s var(--be-ease);
}

.reveal.is-inview {
	opacity: 1;
	transform: none;
}

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

	.reveal.will-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------
   16. Responsive
------------------------------------------------------------------ */
@media (max-width: 1280px) {
	:root {
		--be-gutter: 4rem;
	}

	

	

	

	.product-layout {
		gap: 5%;
		padding-left: 32px;
		padding-right: 32px;
	}
}

@media (max-width: 1024px) {
	:root {
		--be-gutter: 3.2rem;
	}

	.products,
	.catalog-main .products,
	.related.products .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-main .product-card:nth-child(4n) {
		border-right: 1px solid var(--be-white);
	}

	.catalog-main .product-card:nth-child(2n) {
		border-right: 0;
	}

	.related.products .product-card:nth-child(4n) {
		border-right: 1px solid var(--be-white);
	}

	.related.products .product-card:nth-child(2n) {
		border-right: 0;
	}

	.filters-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.product-layout {
		grid-template-columns: minmax(0, 54fr) minmax(0, 40fr);
	}

	

	
}

@media (max-width: 900px) {
	:root {
		--be-header: 64px;
		--be-header-solid: 64px;
	}

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	.catalog-banner {
		height: clamp(200px, 46vw, 300px);
		min-height: 0;
	}

	.catalog-toolbar {
		padding: 18px 8px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.catalog-actions {
		width: 100%;
		justify-content: space-between;
	}

	.catalog-main {
		padding-left: 4px;
		padding-right: 4px;
	}

	.filters-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.catalog-filters {
		padding-left: 8px;
		padding-right: 8px;
	}

	.product-breadcrumb {
		padding: 18px 20px 0;
	}

	.product-layout {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 10px 20px 7rem;
	}

	.product-summary-col {
		position: static;
	}

	.be-gallery-viewport {
		aspect-ratio: 3 / 4;
	}

	.gallery-arrow {
		opacity: 1;
		background: rgba(255, 255, 255, 0.7);
	}

	.related.products {
		padding: 0 0 1rem;
	}

	.related.products > h2 {
		margin-top: 2rem;
	}

	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce,
	.woocommerce-account .woocommerce {
		padding: 4rem 20px 8rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 3rem;
	}

	.page-wrap {
		padding: 6rem 24px 8rem;
	}
}

@media (max-width: 768px) {
	.product-card-media {
		aspect-ratio: 3 / 4;
	}

	.product-card-info {
		position: static;
		padding: 15px 10px 20px;
		background: var(--be-gray);
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
}

@media (max-width: 600px) {
	:root {
		--be-gutter: 1.6rem;
	}

	.products {
		grid-template-columns: 1fr;
	}

	.catalog-main .products,
	.related.products .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-main .product-card,
	.catalog-main .product-card:nth-child(2n),
	.catalog-main .product-card:nth-child(4n),
	.related.products .product-card,
	.related.products .product-card:nth-child(2n),
	.related.products .product-card:nth-child(4n) {
		border-right: 0;
	}

	.catalog-main .product-card:nth-child(odd),
	.related.products .product-card:nth-child(odd) {
		border-right: 1px solid var(--be-white);
	}

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	

	.catalog-banner {
		height: 64vw;
	}

	.catalog-title {
		font-size: 1rem;
	}

	.catalog-order-label {
		display: none;
	}

	.product-layout {
		padding: 6px 14px 6rem;
	}

	.product_title {
		font-size: 1.9rem;
	}

	.product-summary-col {
		padding-top: 0;
	}

	.product-buy form.cart {
		display: block;
	}

	.product-buy .single_add_to_cart_button {
		width: 100%;
	}

	.be-gallery-thumbs li {
		flex: 0 0 60px;
	}

	.related.products > h2 {
		font-size: 2rem;
	}

	.page-title {
		font-size: 2.8rem;
	}

	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce,
	.woocommerce-account .woocommerce {
		padding: 3rem 14px 7rem;
	}

	.woocommerce table.shop_table_responsive tr td::before {
		font-size: 1rem;
	}

	.woocommerce .woocommerce-message .button {
		float: none;
		margin: 10px 0 0;
	}
}

/* ------------------------------------------------------------------
   Desktop header typography measured against the reference (1440)
------------------------------------------------------------------ */


/* Compact catalog toolbar on desktop (reference ~60px, not 92px). */
@media (min-width: 769px) {
	.catalog-toolbar {
		align-items: center;
		padding: 10px 16px;
	}

	.filter-toggle {
		min-height: 32px;
		padding: 8px 0;
	}

	.catalog-order select {
		min-height: 32px;
	}
}

/* Woo's own .button rules outrank the theme selector; pin the reference size. */
.woocommerce div.product .product-buy .single_add_to_cart_button {
	min-width: 148px;
	min-height: 37px;
	height: 37px;
	padding: 0 24px;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
}

/* Woo's layout floats .summary and forces 48%; the theme uses a grid column. */
.woocommerce div.product .product-summary-col.summary {
	float: none;
	width: auto;
}

/* Futura BE не содержит казахских глифов — для KZ оставляем Jost. */
html[lang="kk-KZ"] body {
	font-family: "Jost", "Futura BE", Arial, sans-serif;
}

/* Загруженный Futura Md BT не имеет Light; крупные light-заголовки референса
   остаются на Jost 300, остальной текст — на Futura. */
.page-title {
	font-family: "Jost", "Futura BE", sans-serif;
	font-weight: 300;
}


/* ==================================================================
   Header · hero · home · footer · overlays
   Measured against https://en.blueelephant.co at 1440 and 390.
================================================================== */
body.menu-open {
	overflow: hidden;
}

/* --- Header ------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: var(--be-header);
	color: var(--be-ink);
	background: transparent;
	transition: height 0.3s var(--be-ease), background-color 0.3s var(--be-ease), color 0.3s var(--be-ease);
}

body.admin-bar .site-header {
	top: 32px;
}

body.has-hero .site-header {
	color: var(--be-beige);
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, #25211e 0%, rgba(37, 33, 30, 0) 100%);
	opacity: 0;
	transition: opacity 0.3s var(--be-ease);
}

body.has-hero .site-header::before {
	opacity: 1;
}

/* After scroll: compact one-row black bar. */
.site-header.is-scrolled {
	height: var(--be-bar);
	color: var(--be-beige);
	background: var(--be-bar-bg);
}

.site-header.is-scrolled::before {
	opacity: 0;
}

/* Hover / keyboard focus: black. */
@media (hover: hover) {
	.site-header:hover {
		color: var(--be-beige);
		background: var(--be-bar-bg);
	}

	.site-header:hover::before {
		opacity: 0;
	}
}

.site-header:has(:focus-visible) {
	color: var(--be-beige);
	background: var(--be-bar-bg);
}

.site-header:has(:focus-visible)::before {
	opacity: 0;
}

.header-inner {
	position: relative;
	height: 100%;
}

.header-left {
	position: absolute;
	top: 25px;
	left: 16px;
	display: flex;
	align-items: center;
	height: 22px;
	transition: top 0.3s var(--be-ease);
}

.site-header.is-scrolled .header-left {
	top: 22px;
	left: 24px;
}

.brand-talli {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-main {
	position: absolute;
	top: 36px;
	left: 50%;
	display: block;
	width: 215px;
	line-height: 0;
	transform: translateX(-50%);
	transition: top 0.3s var(--be-ease), left 0.3s var(--be-ease), width 0.3s var(--be-ease), transform 0.3s var(--be-ease);
}

.brand-main svg {
	display: block;
	width: 100%;
	height: auto;
}

.site-header.is-scrolled .brand-main {
	top: 28px;
	left: 140px;
	width: 149px;
	transform: none;
}

.header-nav {
	position: absolute;
	top: 70px;
	left: 50%;
	transform: translateX(-50%);
	transition: top 0.3s var(--be-ease);
}

.site-header.is-scrolled .header-nav {
	top: 14px;
}

.header-nav .menu {
	display: flex;
	align-items: center;
	gap: 34px;
	white-space: nowrap;
}

.header-nav .menu a {
	display: block;
	padding: 12px 0;
	font-size: 1.16rem;
	font-weight: 500;
	letter-spacing: 0.075em;
	line-height: 15px;
	text-transform: uppercase;
	color: inherit;
	transition: opacity 0.2s ease;
}

.header-nav .menu a:hover {
	opacity: 0.6;
}

.site-header.is-scrolled .header-nav .menu {
	gap: 22px;
}

.site-header.is-scrolled .header-nav .menu a {
	font-size: 1.1rem;
	letter-spacing: 0.06em;
}

body.be-lang-kz .site-header.is-scrolled .header-nav .menu {
	gap: 14px;
}

body.be-lang-kz .site-header.is-scrolled .header-nav .menu a {
	font-size: 1rem;
	letter-spacing: 0.04em;
}

.header-right {
	position: absolute;
	top: 18px;
	right: 21px;
	display: flex;
	align-items: center;
	gap: 24px;
	height: 29px;
}

.site-header .header-right .lang-switch {
	margin: 0;
	padding: 0 18px 0 0;
	border-right: 0;
	opacity: 1;
	font-size: 1.1rem;
}

.site-header.is-scrolled .header-right .lang-switch {
	display: none;
}

.header-link,
.header-icon-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 1.2rem;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
	color: inherit;
	transition: opacity 0.2s ease;
}

.header-link:hover,
.header-icon-link:hover {
	opacity: 0.6;
}

.header-icon-link .be-ico {
	display: block;
	flex: none;
}

.be-cart-count {
	font-size: 1.1rem;
}

.be-cart-count::before {
	content: "(";
}

.be-cart-count::after {
	content: ")";
}

.header-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	color: inherit;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: opacity 0.2s ease;
}

.header-search:hover {
	opacity: 0.6;
}

.mobile-toggle,
.mobile-close,
.search-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.mobile-toggle {
	flex-direction: column;
	gap: 5px;
	color: inherit;
}

.mobile-toggle-bar {
	display: block;
	width: 20px;
	height: 1.5px;
	background: currentColor;
}

/* Pages without a photo hero keep their content clear of the header. */
body:not(.has-hero) .site-main {
	padding-top: var(--be-header);
}

body.admin-bar:not(.has-hero) .site-main {
	padding-top: calc(var(--be-header) + 32px);
}

/* Narrower desktop: the centred menu would run into the logo, so drop the
   TALLI STORE mark and tuck the logo into the corner of the compact bar. */
@media (max-width: 1380px) and (min-width: 901px) {
	.site-header.is-scrolled .header-left {
		display: none;
	}

	.site-header.is-scrolled .brand-main {
		left: 28px;
		width: 120px;
	}
}

@media (max-width: 1280px) and (min-width: 901px) {
	.header-nav .menu {
		gap: 24px;
	}

	.site-header.is-scrolled .header-account,
	.site-header.is-scrolled .header-cart-label {
		display: none;
	}

	.site-header.is-scrolled .header-nav .menu {
		gap: 16px;
	}

	.site-header.is-scrolled .header-nav .menu a {
		font-size: 1rem;
		letter-spacing: 0.04em;
	}
}

@media (max-width: 1100px) and (min-width: 901px) {
	.header-account {
		display: none;
	}
}

/* --- Mobile menu (white, centred, like the reference) ------------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	padding: 60px 24px 40px;
	color: var(--be-ink);
	background: var(--be-white);
	overflow-y: auto;
}

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

.mobile-close {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: 58px;
	height: 61px;
}

.mobile-nav .menu {
	display: flex;
	flex-direction: column;
}

.mobile-nav .menu a {
	display: block;
	padding: 12px 0;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: 0.075em;
	line-height: 17px;
	text-align: center;
	text-transform: uppercase;
}

.mobile-menu-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 36px;
	padding-top: 14px;
	border-top: 1px solid #e5dfd9;
}

.mobile-account {
	padding: 12px 0;
	font-size: 1.3rem;
	letter-spacing: 0.1em;
	line-height: 17px;
	text-align: center;
}

.mobile-langs {
	justify-content: center;
	margin-top: 10px;
	font-size: 1.2rem;
	color: #777;
}

.mobile-menu .mobile-langs .lang-switch__link.is-active {
	color: var(--be-ink);
}

/* --- Search overlay ------------------------------------------------ */
/* Search overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 210;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: var(--be-ink);
	background: var(--be-white);
}

.search-overlay[hidden] {
	display: none;
}

.search-close {
	position: absolute;
	top: 24px;
	right: 24px;
	display: flex;
}

.search-inner {
	width: min(760px, 100%);
}

.search-kicker {
	margin-bottom: 24px;
	font-size: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--be-muted);
}

.search-overlay .search-form {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--be-ink);
}

.search-overlay .search-field {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	font-size: 2.8rem;
	font-weight: 300;
	letter-spacing: 0.02em;
	background: transparent;
	border: 0;
	outline: 0;
}

.search-overlay .search-field::placeholder {
	color: #bbb;
}

.search-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

/* --- Hero ---------------------------------------------------------- */
.home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 1.3rem;
	letter-spacing: 0.025em;
	line-height: 17px;
	text-transform: uppercase;
	color: var(--be-beige);
	background: var(--be-ink);
	border: 0;
	transition: background-color 0.25s var(--be-ease);
}

.home-btn:hover {
	background: var(--be-black);
}

.hero {
	position: relative;
	width: 100%;
	aspect-ratio: 2400 / 1128;
	overflow: hidden;
	background: var(--be-white);
}

.hero-track {
	display: flex;
	height: 100%;
	transition: transform 0.7s var(--be-ease);
}

.hero-track.is-jump {
	transition: none;
}

.hero-slide {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-copy {
	position: absolute;
	top: 42.7%;
	right: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero-title {
	font-family: "Jost", "Futura BE", sans-serif;
	font-size: 5.2rem;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 68px;
	text-transform: uppercase;
	color: var(--be-ink);
}

.hero-btn {
	min-width: 128px;
	margin-top: 12px;
}

.hero-arrow {
	position: absolute;
	top: 46.7%;
	z-index: 3;
	width: 90px;
	height: 90px;
	color: var(--be-ink);
	opacity: 0.55;
	transform: translateY(-50%);
	transition: opacity 0.2s ease;
}

.hero-arrow:hover {
	opacity: 1;
}

.hero-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
}

.hero-prev {
	left: 8px;
}

.hero-prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}

.hero-next {
	right: 8px;
}

.hero-next::before {
	transform: translate(-70%, -50%) rotate(45deg);
}

.hero-dots {
	position: absolute;
	bottom: 52px;
	left: 50%;
	z-index: 3;
	display: flex;
	transform: translateX(-50%);
}

.hero-dot {
	position: relative;
	width: 25px;
	height: 25px;
}

.hero-dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 5px;
	border: 1px solid var(--be-ink);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease;
}

.hero-dot.is-active::after {
	background: var(--be-ink);
}

/* --- Home sections ------------------------------------------------- */
.home-main {
	padding: 15px;
}

.home-prd,
.home-campaign,
.home-stories {
	margin: 1px 0;
	background: var(--be-tile);
}

.home-prd {
	min-height: 740px;
	padding: 40px 0;
}

.home-prd-track {
	display: flex;
	max-width: 1200px;
	margin: 0 auto;
}

.home-prd-slide {
	position: relative;
	flex: 0 0 50%;
	min-height: 660px;
	padding-top: 40px;
	text-align: center;
}

.home-prd-slide + .home-prd-slide::before {
	content: "";
	position: absolute;
	top: 107px;
	left: 0;
	width: 1px;
	height: 200px;
	background: rgba(255, 255, 255, 0.85);
}

.home-prd-img {
	display: block;
	width: 420px;
	max-width: 100%;
	margin: 0 auto;
	background: #e8e8e8;
}

.home-prd-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.home-prd-dsc {
	margin-top: -79px;
}

.home-prd-cate {
	font-size: 1.2rem;
	font-weight: 300;
	letter-spacing: 1.2px;
	line-height: 18px;
	text-transform: uppercase;
	color: #333;
}

.home-prd-name {
	padding: 8px 12px;
	font-family: "Jost", "Futura BE", sans-serif;
	font-size: 2.8rem;
	font-weight: 300;
	letter-spacing: 2.8px;
	line-height: 36px;
	color: #333;
}

.home-prd-name a {
	color: inherit;
}

.home-prd-dsc .home-btn {
	min-width: 113px;
	margin-top: 20px;
}

.home-prd-dots {
	display: none;
}

.home-campaign {
	position: relative;
	padding: 0 65px;
}

.home-campaign-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.home-campaign-card {
	position: absolute;
	top: 66%;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 180px;
	padding: 32px 16px;
	text-align: center;
	background: var(--be-white);
	transform: translateX(-50%);
}

.home-campaign-title {
	font-family: "Jost", "Futura BE", sans-serif;
	font-size: 2.4rem;
	font-weight: 300;
	letter-spacing: 0.6px;
	line-height: 31px;
	text-transform: uppercase;
	color: #444;
}

.home-campaign-sub {
	margin: 10px 0 24px;
	font-family: "Times New Roman", Times, serif;
	font-size: 1.3rem;
	font-style: italic;
	letter-spacing: 0.325px;
	line-height: 18px;
	color: #666;
}

.home-campaign-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	font-size: 1.1rem;
	letter-spacing: 0.275px;
	line-height: 14px;
	text-transform: uppercase;
	color: var(--be-ink);
}

.home-campaign-btn {
	position: absolute;
	top: 48.5%;
	left: 50%;
	min-width: 128px;
	transform: translateX(-50%);
}

.home-stories {
	padding: 60px 0 100px;
	text-align: center;
}

.home-stories-title {
	font-family: "Jost", "Futura BE", sans-serif;
	font-size: 3.6rem;
	font-weight: 300;
	letter-spacing: 3.6px;
	line-height: 48px;
	color: var(--be-black);
}

.home-stories-title span {
	display: inline-block;
	padding: 8px 12px 12px;
	border-bottom: 1px solid #999;
}

/* --- Footer --------------------------------------------------------- */
body .site-footer {
	padding: 60px 0 24px;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
	color: #999;
	background: #1b1b1b;
}

.site-footer .footer-inner {
	max-width: 1232px;
	margin: 0 auto;
	padding: 0 16px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 150px repeat(4, minmax(0, 1fr)) 250px;
	column-gap: 24px;
	align-items: start;
}

.footer-logo {
	display: block;
	width: 139px;
	line-height: 0;
}

.footer-logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.footer-title {
	margin: 0 0 20px;
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 15px;
	text-transform: uppercase;
	color: #999;
}

.footer-col li {
	line-height: 15px;
}

body .site-footer a,
body .site-footer a:visited {
	color: var(--be-beige);
}

body .site-footer .footer-col a {
	display: block;
	padding: 8px 0;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
	line-height: 15px;
	transition: opacity 0.2s ease;
}

body .site-footer a:hover {
	color: var(--be-beige);
	opacity: 0.6;
}

.footer-side p {
	margin: 0 0 8px;
	line-height: 17px;
	color: var(--be-beige);
}

.footer-legal {
	margin-top: 76px;
	font-size: 1rem;
	letter-spacing: 0.06em;
	line-height: 15px;
	color: #777;
}

.footer-legal p + p {
	margin-top: 1px;
}

.footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-top: 10px;
	font-size: 1.1rem;
}

body .site-footer .footer-legal-links a {
	color: var(--be-beige);
}

.footer-copy {
	margin-top: 24px;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
	line-height: 18px;
	color: #999;
}

.site-footer :focus-visible {
	outline-color: var(--be-beige);
}

@media (max-width: 1100px) {
	.footer-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 40px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-side {
		grid-column: span 2;
	}
}

/* --- Tablet and mobile ------------------------------------------------ */
@media (max-width: 900px) {
	:root {
		--be-header: 64px;
		--be-header-solid: 64px;
		--be-bar: 50px;
	}

	body.admin-bar .site-header {
		top: 0;
	}

	.site-header,
	.site-header.is-scrolled {
		height: 50px;
	}

	.header-left,
	.site-header.is-scrolled .header-left {
		top: 3px;
		left: 0;
		height: 44px;
	}

	.mobile-toggle {
		display: flex;
	}

	.brand-talli,
	.header-nav,
	.header-account,
	.header-wishlist,
	.header-cart-label,
	.be-cart-count,
	.site-header .header-right .lang-switch {
		display: none;
	}

	.brand-main,
	.site-header.is-scrolled .brand-main {
		top: 15px;
		left: 50%;
		width: 149px;
		transform: translateX(-50%);
	}

	.header-right {
		top: 3px;
		right: 0;
		gap: 0;
		height: 44px;
	}

	.header-icon-link,
	.header-search {
		width: 44px;
		height: 44px;
		justify-content: center;
		border: 0;
		border-radius: 0;
	}

	.header-search .be-ico {
		width: 13px;
		height: 13px;
	}

	.hero {
		aspect-ratio: 900 / 1140;
	}

	.hero-copy {
		top: 39.6%;
	}

	.hero-title {
		font-size: 2.4rem;
		line-height: 31px;
	}

	.hero-btn {
		min-width: 120px;
		padding: 8px 20px;
		font-size: 1.2rem;
		line-height: 12px;
	}

	.hero-arrow {
		display: none;
	}

	.hero-dots {
		bottom: 26px;
	}

	.home-main {
		padding: 0;
	}

	.home-prd {
		min-height: 405px;
		padding: 0;
	}

	.home-prd-track {
		max-width: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.home-prd-track::-webkit-scrollbar {
		display: none;
	}

	.home-prd-slide {
		flex: 0 0 100%;
		min-height: 0;
		padding: 12px 0 0;
		scroll-snap-align: start;
	}

	.home-prd-slide + .home-prd-slide::before {
		display: none;
	}

	.home-prd-img {
		width: 245px;
	}

	.home-prd-dsc {
		margin-top: -46px;
	}

	.home-prd-cate {
		font-size: 1.2rem;
	}

	.home-prd-name {
		padding: 8px 12px;
		font-size: 2rem;
		letter-spacing: 2px;
		line-height: 26px;
	}

	.home-prd-dsc .home-btn {
		min-width: 84px;
		margin-top: 12px;
		padding: 12px 28px;
		font-size: 1.1rem;
		line-height: 14px;
	}

	.home-prd-dots {
		display: flex;
		justify-content: center;
		gap: 0;
		margin-top: 14px;
	}

	.home-prd-dot {
		position: relative;
		width: 25px;
		height: 25px;
	}

	.home-prd-dot::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 5px;
		height: 5px;
		border: 1px solid #555;
		border-radius: 50%;
		transform: translate(-50%, -50%);
	}

	.home-prd-dot.is-active::after {
		background: #555;
	}

	.home-campaign {
		padding: 0;
	}

	.home-campaign-card {
		top: 66%;
		width: 176px;
		padding: 28px 16px 24px;
	}

	.home-campaign-title {
		font-size: 1.5rem;
		line-height: 20px;
	}

	.home-campaign-sub {
		margin: 8px 0 18px;
		font-size: 1.1rem;
	}

	.home-campaign-btn {
		top: 17%;
		left: 70%;
		min-width: 120px;
		padding: 8px 20px;
		font-size: 1.2rem;
		line-height: 12px;
	}

	.home-stories {
		padding: 60px 0 80px;
	}

	.home-stories-title {
		font-size: 1.8rem;
		letter-spacing: 1.8px;
		line-height: 24px;
	}

	/* Mobile menu */
	.mobile-close {
		display: flex;
	}

	/* Footer, stacked like the reference */
	body .site-footer {
		padding: 28px 0 24px;
	}

	.site-footer .footer-inner {
		padding: 0 24px;
	}

	.footer-grid {
		display: block;
	}

	.footer-brand {
		margin-bottom: 52px;
	}

	.footer-title {
		margin-bottom: 12px;
		font-size: 1.2rem;
	}

	.footer-col,
	.footer-side {
		margin-bottom: 36px;
	}

	.footer-legal {
		margin-top: 20px;
		font-size: 1.1rem;
	}

	.footer-copy {
		margin-top: 24px;
	}
}

@media (max-width: 480px) {
	.hero-dots {
		bottom: 26px;
	}
}
