/*
 * Over The Ball — main stylesheet
 *
 * Colors, fonts and sizes come from CSS custom properties written by the
 * Customizer (inc/customizer/dynamic-css.php). Defaults below mirror the
 * logo palette so the theme renders correctly even without them.
 *
 * Contents
 *  1. Tokens & reset
 *  2. Typography & content
 *  3. Buttons & forms
 *  4. Layout
 *  5. Header (announcement, top bar, main header, navigation)
 *  6. Drawers & search overlay
 *  7. Page header & breadcrumbs
 *  8. Homepage sections
 *  9. Blog, posts & comments
 * 10. Sidebar & widgets
 * 11. Footer
 * 12. Utilities, motion & lightbox
 */

/* 1. Tokens & reset ------------------------------------------------------ */

:root {
	--otb-primary: #6623eb;
	--otb-primary-dark: #4b14b8;
	--otb-on-primary: #fff;
	--otb-accent: #d9a441;
	--otb-heading: #1b1525;
	--otb-text: #463f52;
	--otb-muted: #756d82;
	--otb-bg: #fff;
	--otb-surface: #f6f2fe;
	--otb-cream: #fbf8f3;
	--otb-border: #e6dff1;
	--otb-sale: #c8336e;
	--otb-announce-bg: #6623eb;
	--otb-announce-text: #fff;
	--otb-topbar-bg: #1b1525;
	--otb-topbar-text: #e9e2f7;
	--otb-header-bg: #fff;
	--otb-header-text: #1b1525;
	--otb-footer-bg: #1b1525;
	--otb-footer-text: #cbc3d8;
	--otb-footer-heading: #fff;
	--otb-footer-link-hover: #b794ff;
	--otb-boxed-bg: #efe9f7;

	--otb-font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--otb-font-heading: "Cormorant Garamond", Georgia, serif;
	--otb-font-script: "Allura", cursive;
	--otb-fs-base: 17px;
	--otb-h1: 54px;
	--otb-h2: 40px;
	--otb-heading-weight: 600;
	--otb-nav-spacing: 0.06em;

	--otb-container: 1280px;
	--otb-radius: 12px;
	--otb-btn-radius: 999px;
	--otb-logo-w: 200px;
	--otb-logo-w-m: 140px;
	--otb-header-pad: 18px;
	--otb-shop-cols: 4;
	--otb-shop-cols-m: 2;

	--otb-gutter: clamp(16px, 4vw, 32px);
	--otb-section-pad: clamp(56px, 8vw, 104px);
	--otb-radius-sm: min(var(--otb-radius), 8px);
	--otb-shadow-sm: 0 1px 2px rgba(27, 21, 37, 0.05), 0 4px 14px -6px rgba(27, 21, 37, 0.1);
	--otb-shadow: 0 14px 34px -16px rgba(27, 21, 37, 0.28);
	--otb-shadow-lg: 0 28px 70px -24px rgba(27, 21, 37, 0.4);
	--otb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--otb-tint: color-mix(in srgb, var(--otb-primary) 10%, var(--otb-bg));
	--otb-knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M3 2.5l5.5 8 5.5-8M14 2.5l5.5 8 5.5-8M3 13l5.5 8 5.5-8M14 13l5.5 8 5.5-8' fill='none' stroke='%236623EB' stroke-opacity='.075' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

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

body {
	margin: 0;
	background: var(--otb-bg);
	color: var(--otb-text);
	font-family: var(--otb-font-body);
	font-size: var(--otb-fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

figure {
	margin: 0;
}

ul,
ol {
	padding-left: 1.25em;
}

button {
	font: inherit;
}

[hidden] {
	display: none !important;
}

/* 2. Typography & content ----------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--otb-heading);
	font-family: var(--otb-font-heading);
	font-weight: var(--otb-heading-weight);
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.2rem, 4.4vw, var(--otb-h1));
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, var(--otb-h2));
}

h3 {
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

h4 {
	font-size: 1.4rem;
}

h5 {
	font-size: 1.2rem;
}

h6 {
	font-size: 1.05rem;
}

p {
	margin: 0 0 1.15em;
}

a {
	color: var(--otb-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--otb-primary-dark);
}

:focus-visible {
	outline: 2px solid var(--otb-primary);
	outline-offset: 2px;
}

strong,
b {
	font-weight: 600;
	color: var(--otb-heading);
}

hr {
	border: 0;
	border-top: 1px solid var(--otb-border);
	margin: 2.5em 0;
}

blockquote {
	margin: 1.75em 0;
	padding: 0.25em 0 0.25em 1.5em;
	border-left: 3px solid var(--otb-primary);
	font-family: var(--otb-font-heading);
	font-size: 1.45rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--otb-heading);
}

blockquote cite {
	display: block;
	margin-top: 0.5em;
	font-family: var(--otb-font-body);
	font-size: 0.9rem;
	font-style: normal;
	color: var(--otb-muted);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	overflow: auto;
	padding: 1.25em;
	background: var(--otb-surface);
	border-radius: var(--otb-radius-sm);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
}

th,
td {
	padding: 0.75em 1em;
	border-bottom: 1px solid var(--otb-border);
	text-align: left;
}

th {
	color: var(--otb-heading);
	font-weight: 600;
}

.eyebrow {
	margin: 0 0 0.15em;
	color: var(--otb-primary);
	font-family: var(--otb-font-script);
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
}

.entry-content > * {
	margin-block: 0 1.15em;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.6em;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--otb-radius);
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 0.6em;
	color: var(--otb-muted);
	font-size: 0.875rem;
	text-align: center;
}

.entry-content ul li,
.entry-content ol li {
	margin-bottom: 0.4em;
}

.entry-content ul li::marker {
	color: var(--otb-primary);
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

/* Readable measure for pages and posts without a sidebar. */
body:not(.woocommerce-page):not(.otb-elementor-page).otb-sidebar-none .entry--page .entry-content > :where(:not(.alignwide):not(.alignfull)),
.otb-sidebar-none .entry--single .entry-content > :where(:not(.alignwide):not(.alignfull)),
.otb-sidebar-none .entry--single > .entry-featured,
.otb-sidebar-none .entry--single > .entry-footer,
.otb-sidebar-none .entry--single > .otb-author-box {
	max-width: 780px;
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: var(--otb-container);
	margin-inline: auto;
}

.otb-sidebar-none .entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-block-pullquote {
	border-top: 3px solid var(--otb-primary);
	border-bottom: 3px solid var(--otb-primary);
}

.wp-block-separator {
	border-color: var(--otb-border);
}

.has-script-font-family {
	font-weight: 400;
	line-height: 1.1;
}

/* 3. Buttons & forms ----------------------------------------------------- */

.btn,
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"]:not(.otb-search-form__submit):not(.icon-btn),
.comment-reply-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.75em 1.75em;
	border: 1.5px solid var(--otb-primary);
	border-radius: var(--otb-btn-radius);
	background: var(--otb-primary);
	color: var(--otb-on-primary);
	font-family: var(--otb-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.otb-btn-upper .btn,
.otb-btn-upper .wp-block-button__link,
.otb-btn-upper input[type="submit"],
.otb-btn-upper button[type="submit"]:not(.otb-search-form__submit):not(.icon-btn) {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.82rem;
}

.btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.otb-search-form__submit):not(.icon-btn):hover {
	background: var(--otb-primary-dark);
	border-color: var(--otb-primary-dark);
	color: var(--otb-on-primary);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--otb-primary) 70%, transparent);
}

.btn--outline,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--otb-heading);
	color: var(--otb-heading);
}

.btn--outline:hover,
.is-style-outline > .wp-block-button__link:hover {
	background: var(--otb-heading);
	border-color: var(--otb-heading);
	color: #fff;
}

.btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--otb-heading);
}

.btn--light:hover {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.btn--sm {
	min-height: 40px;
	padding: 0.5em 1.1em;
	font-size: 0.82rem;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: inherit;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.35em 0.9em;
	border: 1px solid var(--otb-border);
	border-radius: 999px;
	background: var(--otb-bg);
	color: var(--otb-heading);
	font-size: 0.85rem;
	text-decoration: none;
}

.chip:hover {
	border-color: var(--otb-primary);
	color: var(--otb-primary);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7em 1em;
	border: 1px solid color-mix(in srgb, var(--otb-heading) 18%, var(--otb-bg));
	border-radius: var(--otb-radius-sm);
	background: var(--otb-bg);
	color: var(--otb-heading);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

select {
	appearance: none;
	padding-right: 2.5em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231B1525' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1em center;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--otb-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--otb-primary) 20%, transparent);
}

::placeholder {
	color: var(--otb-muted);
	opacity: 1;
}

label {
	color: var(--otb-heading);
	font-weight: 500;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--otb-primary);
	width: 1.05em;
	height: 1.05em;
}

.otb-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.otb-search-form__field {
	padding-right: 3.25em;
	border-radius: 999px;
}

.otb-search-form__submit {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--otb-primary);
	color: var(--otb-on-primary);
	cursor: pointer;
}

.otb-search-form__submit:hover {
	background: var(--otb-primary-dark);
}

/* 4. Layout ---------------------------------------------------------------- */

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

/* Block flow (not flex) so an absolutely positioned transparent header keeps
   its static position below the announcement and top bars. */
.site {
	position: relative;
	background: var(--otb-bg);
}

.site-content {
	min-height: 40vh;
}

.otb-boxed {
	background: var(--otb-boxed-bg);
}

.otb-boxed .site {
	max-width: calc(var(--otb-container) + var(--otb-gutter) * 2 + 48px);
	margin: 0 auto;
	box-shadow: var(--otb-shadow-lg);
}

.content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 4vw, 64px);
	padding-block: clamp(40px, 6vw, 80px);
}

.content-wrap--sidebar-right {
	grid-template-columns: minmax(0, 1fr) 300px;
}

.content-wrap--sidebar-left {
	grid-template-columns: 300px minmax(0, 1fr);
}

.content-wrap--sidebar-left .sidebar {
	order: -1;
}

.woocommerce .content-wrap--sidebar-left,
.woocommerce-page .content-wrap--sidebar-left {
	grid-template-columns: 260px minmax(0, 1fr);
}

.woocommerce .content-wrap--sidebar-right,
.woocommerce-page .content-wrap--sidebar-right {
	grid-template-columns: minmax(0, 1fr) 260px;
}

.content-wrap--full {
	display: block;
	padding: 0;
}

.otb-no-page-header .content-wrap:not(.content-wrap--full) {
	padding-top: clamp(32px, 4vw, 56px);
}

.site-main--home,
.site-main--canvas {
	display: block;
}

@media (max-width: 960px) {
	.content-wrap--sidebar-right,
	.content-wrap--sidebar-left,
	.woocommerce .content-wrap--sidebar-left,
	.woocommerce .content-wrap--sidebar-right,
	.woocommerce-page .content-wrap--sidebar-left,
	.woocommerce-page .content-wrap--sidebar-right {
		grid-template-columns: minmax(0, 1fr);
	}

	.content-wrap--sidebar-left .sidebar:not(.sidebar--drawer) {
		order: 0;
	}
}

/* 5. Header ---------------------------------------------------------------- */

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--otb-bg);
	color: var(--otb-primary);
	border-radius: 8px;
	box-shadow: var(--otb-shadow);
}

/* The wrapper must not create a box, so the header can stick against the page. */
.site-header-wrap {
	display: contents;
}

.otb-announcement {
	background: var(--otb-announce-bg);
	color: var(--otb-announce-text);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-align: center;
}

.otb-announcement__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding-block: 6px;
}

.otb-announcement__track {
	display: grid;
	padding-inline: 32px;
}

.otb-announcement__msg {
	grid-area: 1 / 1;
	margin: 0;
	animation: otb-fade-in 0.5s var(--otb-ease);
}

.otb-announcement a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.otb-announcement__close {
	position: absolute;
	right: var(--otb-gutter);
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	padding: 6px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.8;
}

.otb-announcement__close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

.topbar {
	background: var(--otb-topbar-bg);
	color: var(--otb-topbar-text);
	font-size: 0.8125rem;
}

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

.topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.topbar__text {
	margin: 0;
}

.topbar .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar .widget {
	margin: 0;
}

.site-header {
	--otb-logo-current: var(--otb-logo-w);
	--otb-logo-scale: 1;
	position: relative;
	z-index: 100;
	background: var(--otb-header-bg);
	color: var(--otb-header-text);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.has-border {
	border-bottom: 1px solid var(--otb-border);
}

.otb-sticky-header .site-header:not(.is-transparent) {
	position: sticky;
	top: 0;
}

.admin-bar.otb-sticky-header .site-header:not(.is-transparent) {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar.otb-sticky-header .site-header:not(.is-transparent) {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px -14px rgba(27, 21, 37, 0.35);
}

.otb-sticky-header .site-header.is-scrolled.can-shrink {
	--otb-logo-scale: 0.78;
}

.site-header .container {
	position: relative;
}

.site-header__main {
	display: grid;
	align-items: center;
	gap: 24px;
	padding-block: var(--otb-header-pad);
	transition: padding 0.3s ease;
}

.otb-sticky-header .site-header.is-scrolled.can-shrink .site-header__main {
	padding-block: calc(var(--otb-header-pad) * 0.55);
}

.site-header__left {
	grid-area: left;
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-branding {
	grid-area: brand;
	line-height: 0;
}

.site-logo {
	display: inline-block;
}

.site-branding .otb-logo {
	display: block;
	width: calc(var(--otb-logo-current) * var(--otb-logo-scale));
	max-width: 100%;
	height: auto;
	transition: width 0.3s var(--otb-ease);
}

.site-branding .otb-logo--light {
	display: none;
}

.main-navigation {
	grid-area: nav;
}

.site-header__search {
	grid-area: search;
	max-width: 640px;
	width: 100%;
	justify-self: center;
}

.site-header__right {
	grid-area: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 2px;
}

.header-widgets {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: 8px;
	font-size: 0.875rem;
}

.header-widgets .widget {
	margin: 0;
}

.site-header--classic .site-header__main {
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand nav right";
}

.site-header--classic .site-header__left {
	display: none;
}

.site-header--classic .main-navigation .menu {
	justify-content: center;
}

.site-header--centered .site-header__main {
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "left brand right";
}

.site-header--shop .site-header__main {
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand search right";
	gap: clamp(24px, 4vw, 56px);
}

.site-header--shop .site-header__left {
	display: none;
}

.site-header__nav {
	border-top: 1px solid var(--otb-border);
}

.site-header__nav .main-navigation .menu {
	justify-content: center;
}

.cart-link {
	gap: 6px;
	width: auto;
	min-width: 44px;
	padding-inline: 10px;
	border-radius: 999px;
}

.otb-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--otb-primary);
	color: var(--otb-on-primary);
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1;
}

.otb-cart-count[data-count="0"] {
	background: color-mix(in srgb, var(--otb-header-text) 20%, transparent);
	color: var(--otb-header-text);
}

.otb-drawer__title .otb-cart-count {
	position: static;
	margin-left: 6px;
	vertical-align: middle;
}

.otb-cart-total {
	font-size: 0.875rem;
	font-weight: 600;
}

/* Transparent header over the homepage hero. */
.site-header.is-transparent {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-transparent .site-header__nav {
	border-top-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-transparent:not(.is-stuck) .site-branding .otb-logo--default {
	display: none;
}

.site-header.is-transparent:not(.is-stuck) .site-branding .otb-logo--light {
	display: block;
}

.site-header.is-transparent:not(.is-stuck) .otb-cart-count[data-count="0"] {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.site-header.is-transparent.is-stuck {
	position: fixed;
	top: 0;
	background: var(--otb-header-bg);
	color: var(--otb-header-text);
	animation: otb-slide-down 0.35s var(--otb-ease);
	box-shadow: 0 6px 24px -14px rgba(27, 21, 37, 0.35);
}

.admin-bar .site-header.is-transparent.is-stuck {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* Navigation */
.main-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 clamp(14px, 2vw, 30px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation li {
	position: relative;
	display: flex;
	align-items: center;
}

.main-navigation a {
	position: relative;
	display: block;
	padding-block: 12px;
	color: inherit;
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: var(--otb-nav-spacing);
	text-decoration: none;
}

.otb-nav-upper .main-navigation .menu > li > a {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.main-navigation .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 1.5px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--otb-ease);
}

.main-navigation .menu > li:hover > a::after,
.main-navigation .menu > li.current-menu-item > a::after,
.main-navigation .menu > li.current-menu-ancestor > a::after,
.main-navigation .menu > li > a:focus-visible::after {
	transform: scaleX(1);
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
	color: var(--otb-primary);
}

.site-header.is-transparent:not(.is-stuck) .main-navigation .menu > li.current-menu-item > a {
	color: inherit;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.7;
	transition: transform 0.25s ease;
}

.submenu-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 20;
	min-width: 240px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--otb-bg);
	color: var(--otb-heading);
	border: 1px solid var(--otb-border);
	border-radius: var(--otb-radius);
	box-shadow: var(--otb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.25s var(--otb-ease), visibility 0.2s;
}

.main-navigation .sub-menu .sub-menu {
	top: -11px;
	left: 100%;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-navigation .sub-menu li {
	display: flex;
	justify-content: space-between;
}

.main-navigation .sub-menu a {
	flex: 1;
	padding: 8px 22px;
	font-size: 0.94rem;
	text-transform: none;
	letter-spacing: 0;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu .current-menu-item > a {
	color: var(--otb-primary);
	background: var(--otb-surface);
}

.main-navigation .sub-menu .submenu-toggle {
	margin-right: 10px;
	transform: rotate(-90deg);
}

/* Mega menu */
.main-navigation li.otb-mega {
	position: static;
}

.main-navigation .otb-mega > .sub-menu {
	left: var(--otb-gutter);
	right: var(--otb-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px 32px;
	padding: 28px 32px;
}

.main-navigation .otb-mega > .sub-menu > li {
	display: block;
}

.main-navigation .otb-mega > .sub-menu > li > a {
	padding: 0 0 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--otb-border);
	background: none;
	font-family: var(--otb-font-heading);
	font-size: 1.3rem;
	font-weight: var(--otb-heading-weight);
	color: var(--otb-heading);
}

.main-navigation .otb-mega > .sub-menu > li > .submenu-toggle {
	display: none;
}

.main-navigation .otb-mega .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-navigation .otb-mega .sub-menu .sub-menu a {
	padding: 5px 0;
	background: none;
	color: var(--otb-text);
}

.main-navigation .otb-mega .sub-menu .sub-menu a:hover {
	color: var(--otb-primary);
}

/* Checkout header */
.site-header--checkout .site-header__main {
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "left brand right";
}

.checkout-back {
	grid-area: left;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--otb-heading);
	font-size: 0.9rem;
	text-decoration: none;
}

.checkout-secure {
	grid-area: right;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--otb-muted);
	font-size: 0.9rem;
}

@media (max-width: 600px) {
	.checkout-back span,
	.checkout-secure span {
		display: none;
	}
}

/* 6. Drawers & search overlay -------------------------------------------- */

.otb-drawer {
	position: fixed;
	inset: 0;
	z-index: 400;
}

.otb-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(27, 21, 37, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.otb-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(400px, 90vw);
	background: var(--otb-bg);
	box-shadow: var(--otb-shadow-lg);
	transform: translateX(-100%);
	transition: transform 0.35s var(--otb-ease);
	outline: none;
}

.otb-drawer--right .otb-drawer__panel {
	left: auto;
	right: 0;
	transform: translateX(100%);
}

.otb-drawer.is-open .otb-drawer__overlay {
	opacity: 1;
}

.otb-drawer.is-open .otb-drawer__panel {
	transform: none;
}

.otb-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--otb-border);
}

.otb-drawer__head .otb-logo {
	width: 120px;
	height: auto;
}

.otb-drawer__title {
	margin: 0;
	font-size: 1.6rem;
}

.otb-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.otb-drawer__body > * + * {
	margin-top: 20px;
}

.menu--mobile {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu--mobile li {
	position: relative;
	border-bottom: 1px solid var(--otb-border);
}

.menu--mobile a {
	display: block;
	padding: 14px 44px 14px 0;
	color: var(--otb-heading);
	font-family: var(--otb-font-heading);
	font-size: 1.35rem;
	font-weight: var(--otb-heading-weight);
	text-decoration: none;
}

.menu--mobile .submenu-toggle {
	position: absolute;
	top: 10px;
	right: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--otb-surface);
	opacity: 1;
}

.menu--mobile .sub-menu {
	display: none;
	margin: 0 0 12px;
	padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--otb-tint);
}

.menu--mobile li.is-open > .sub-menu {
	display: block;
}

.menu--mobile .sub-menu li {
	border: 0;
}

.menu--mobile .sub-menu a {
	padding-block: 8px;
	font-family: var(--otb-font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--otb-text);
}

.otb-drawer__account {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--otb-heading);
	font-weight: 500;
	text-decoration: none;
}

.otb-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 450;
}

.otb-search-overlay__panel {
	position: relative;
	z-index: 2;
	padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
	background: var(--otb-bg);
	box-shadow: var(--otb-shadow-lg);
	transform: translateY(-100%);
	transition: transform 0.4s var(--otb-ease);
}

.otb-search-overlay.is-open .otb-search-overlay__panel {
	transform: none;
}

.otb-search-overlay__panel .container {
	max-width: 820px;
	text-align: center;
}

.otb-search-overlay .otb-search-form__field {
	min-height: 64px;
	padding-inline: 1.5em 4em;
	font-size: 1.2rem;
}

.otb-search-overlay .otb-search-form__submit {
	width: 54px;
	height: 54px;
	right: 5px;
}

.otb-search-overlay__popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	color: var(--otb-muted);
	font-size: 0.9rem;
}

.otb-search-overlay__close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.otb-search-overlay__backdrop {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(27, 21, 37, 0.45);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.otb-search-overlay.is-open .otb-search-overlay__backdrop {
	opacity: 1;
}

body.otb-locked {
	overflow: hidden;
}

/* 7. Page header & breadcrumbs ------------------------------------------- */

.page-header {
	position: relative;
	padding-block: clamp(40px, 6vw, 84px);
	overflow: hidden;
}

.page-header--tinted {
	background-color: var(--otb-surface);
	background-image: var(--otb-knit);
}

.page-header--plain {
	border-bottom: 1px solid var(--otb-border);
}

.page-header--center {
	text-align: center;
}

.page-header__inner {
	position: relative;
	z-index: 1;
}

.page-header .page-title {
	margin: 0;
	font-size: clamp(2.2rem, 4.6vw, var(--otb-h1));
}

.archive-title-prefix {
	display: block;
	margin-bottom: 0.2em;
	color: var(--otb-primary);
	font-family: var(--otb-font-script);
	font-size: 0.6em;
	font-weight: 400;
	letter-spacing: 0;
}

.page-header__description {
	max-width: 680px;
	margin-top: 14px;
	color: var(--otb-muted);
}

.page-header--center .page-header__description {
	margin-inline: auto;
}

.page-header__description p:last-child {
	margin-bottom: 0;
}

.page-header .entry-meta {
	justify-content: inherit;
	margin-top: 16px;
}

.page-header--center .entry-meta,
.page-header--center .entry-categories {
	justify-content: center;
}

.page-header.has-bg-image {
	color: #fff;
	padding-block: clamp(64px, 10vw, 140px);
}

.page-header__bg,
.page-header__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-header__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(27, 21, 37, 0.35), rgba(27, 21, 37, 0.6));
}

.page-header.has-bg-image .page-title,
.page-header.has-bg-image .otb-breadcrumbs a,
.page-header.has-bg-image .otb-breadcrumbs,
.page-header.has-bg-image .eyebrow,
.page-header.has-bg-image .page-header__description,
.page-header.has-bg-image .entry-meta,
.page-header.has-bg-image .entry-meta a {
	color: #fff;
}

.otb-breadcrumbs {
	margin-bottom: 14px;
	color: var(--otb-muted);
	font-size: 0.85rem;
}

.otb-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-header--center .otb-breadcrumbs ol {
	justify-content: center;
}

.otb-breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
	opacity: 0.5;
}

.otb-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.otb-breadcrumbs a:hover {
	color: var(--otb-primary);
}

.otb-breadcrumbs [aria-current] {
	color: var(--otb-heading);
}

/* 8. Homepage sections ------------------------------------------------------ */

.otb-section {
	padding-block: var(--otb-section-pad);
}

.section-heading {
	margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading--center {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.section-title {
	margin: 0;
}

.section-intro {
	margin: 14px 0 0;
	color: var(--otb-muted);
	font-size: 1.05rem;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: var(--otb-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.section-link:hover {
	color: var(--otb-primary);
	gap: 10px;
}

.section-link svg {
	transition: transform 0.2s ease;
}

/* Hero */
.otb-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--otb-surface);
	background-image: var(--otb-knit), linear-gradient(120deg, var(--otb-surface) 0%, var(--otb-cream) 100%);
}

.otb-hero--large {
	min-height: clamp(520px, 78vh, 820px);
}

.otb-hero--medium {
	min-height: clamp(420px, 60vh, 640px);
}

.otb-hero--small {
	min-height: clamp(320px, 44vh, 480px);
}

.otb-hero--full {
	min-height: 100svh;
}

.otb-hero__slides {
	display: grid;
	min-height: inherit;
}

.otb-hero__slide {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	min-height: inherit;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0.9s;
}

.otb-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.otb-hero__media,
.otb-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.otb-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(27, 21, 37, calc(var(--otb-overlay, 0.35) + 0.2)) 0%, rgba(27, 21, 37, var(--otb-overlay, 0.35)) 55%, rgba(27, 21, 37, calc(var(--otb-overlay, 0.35) * 0.5)) 100%);
}

.otb-hero--center .otb-hero__media::after {
	background: rgba(27, 21, 37, var(--otb-overlay, 0.35));
}

.otb-hero__slide.is-active .otb-hero__img {
	animation: otb-ken-burns 14s ease-out both;
}

.otb-hero__art {
	position: absolute;
	top: 50%;
	right: max(var(--otb-gutter), calc((100vw - var(--otb-container)) / 2 - 20px));
	width: min(44vw, 560px);
	transform: translateY(-50%);
	pointer-events: none;
}

.otb-hero__art::before {
	content: "";
	position: absolute;
	inset: 10%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
}

.otb-hero__art img {
	position: relative;
	width: 100%;
	height: auto;
	animation: otb-float 9s ease-in-out infinite;
}

.otb-hero__content {
	position: relative;
	z-index: 2;
	padding-block: clamp(64px, 10vw, 120px);
}

.otb-hero__copy {
	max-width: 640px;
}

.otb-hero--center .otb-hero__copy {
	margin-inline: auto;
	text-align: center;
}

.otb-hero__eyebrow {
	font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.otb-hero__title {
	margin-bottom: 0.35em;
	font-size: clamp(2.6rem, 6vw, calc(var(--otb-h1) * 1.35));
	line-height: 1.02;
}

.otb-hero__text {
	max-width: 520px;
	margin-bottom: 1.8em;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.otb-hero--center .otb-hero__text {
	margin-inline: auto;
}

.otb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.otb-hero--center .otb-hero__actions {
	justify-content: center;
}

.otb-hero__slide.has-image {
	color: rgba(255, 255, 255, 0.92);
}

.otb-hero__slide.has-image .otb-hero__title {
	color: #fff;
}

.otb-hero__slide.has-image .otb-hero__eyebrow {
	color: #fff;
	opacity: 0.95;
}

.otb-hero__slide.is-active .otb-hero__copy > * {
	animation: otb-rise 0.9s var(--otb-ease) both;
}

.otb-hero__slide.is-active .otb-hero__copy > :nth-child(2) {
	animation-delay: 0.08s;
}

.otb-hero__slide.is-active .otb-hero__copy > :nth-child(3) {
	animation-delay: 0.16s;
}

.otb-hero__slide.is-active .otb-hero__copy > :nth-child(4) {
	animation-delay: 0.24s;
}

.otb-hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.otb-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid color-mix(in srgb, var(--otb-heading) 20%, transparent);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--otb-heading);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.otb-hero__arrow:hover {
	background: #fff;
}

.otb-hero__dots {
	display: flex;
	gap: 8px;
}

.otb-hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: color-mix(in srgb, var(--otb-heading) 25%, transparent);
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.otb-hero__dot.is-active {
	width: 28px;
	background: var(--otb-primary);
}

@media (max-width: 782px) {
	.otb-hero__art {
		top: 24px;
		right: -12%;
		width: 70vw;
		opacity: 0.35;
		transform: none;
	}

	.otb-hero__slide {
		align-items: flex-end;
	}

	.otb-hero__content {
		padding-bottom: 88px;
	}
}

/* Feature highlights */
.otb-features {
	border-bottom: 1px solid var(--otb-border);
	background: var(--otb-bg);
}

.otb-features__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-features__list--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.otb-features__list--1 {
	grid-template-columns: minmax(0, 1fr);
}

.otb-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 26px 20px;
}

.otb-feature + .otb-feature {
	border-left: 1px solid var(--otb-border);
}

.otb-feature__icon {
	display: inline-flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--otb-tint);
	color: var(--otb-primary);
}

.otb-feature__copy {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.otb-feature__title {
	color: var(--otb-heading);
	font-weight: 600;
}

.otb-feature__text {
	color: var(--otb-muted);
	font-size: 0.9rem;
}

@media (max-width: 960px) {
	.otb-features__list,
	.otb-features__list--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otb-feature + .otb-feature {
		border-left: 0;
	}

	.otb-feature:nth-child(n + 3) {
		border-top: 1px solid var(--otb-border);
	}

	.otb-feature:nth-child(even) {
		border-left: 1px solid var(--otb-border);
	}
}

@media (max-width: 520px) {
	.otb-features__list,
	.otb-features__list--3,
	.otb-features__list--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.otb-feature:nth-child(even) {
		border-left: 0;
	}

	.otb-feature + .otb-feature {
		border-top: 1px solid var(--otb-border);
	}

	.otb-feature {
		padding: 18px 4px;
	}
}

/* Placeholder art (when an image slot is empty) */
.otb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: var(--otb-surface);
	background-image: var(--otb-knit);
}

.otb-placeholder img {
	width: 58%;
	max-width: 260px;
	height: auto;
	opacity: 0.9;
}

/* Categories */
.otb-categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: clamp(14px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-categories__grid--6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.otb-categories__grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.otb-categories__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.otb-categories__grid--6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.otb-categories__grid,
	.otb-categories__grid--6,
	.otb-categories__grid--4,
	.otb-categories__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.otb-cat__link {
	display: block;
	color: var(--otb-heading);
	text-decoration: none;
}

.otb-cat__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--otb-radius);
	background: var(--otb-surface);
}

.otb-cat__media img:not(.otb-placeholder img) {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--otb-ease);
}

.otb-cat__link:hover .otb-cat__media img {
	transform: scale(1.06);
}

.otb-cat__label {
	display: flex;
	flex-direction: column;
	padding-top: 12px;
}

.otb-cat__name {
	font-family: var(--otb-font-heading);
	font-size: 1.45rem;
	font-weight: var(--otb-heading-weight);
	line-height: 1.15;
}

.otb-cat__link:hover .otb-cat__name {
	color: var(--otb-primary);
}

.otb-cat__count {
	color: var(--otb-muted);
	font-size: 0.85rem;
}

.otb-categories--circles .otb-cat__media {
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 6px var(--otb-bg), 0 0 0 7px var(--otb-border);
}

.otb-categories--circles .otb-cat__label {
	align-items: center;
	text-align: center;
	padding-top: 18px;
}

/* Products block */
.otb-products {
	background: var(--otb-cream);
}

.otb-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: -12px 0 32px;
}

.otb-tab {
	padding: 9px 22px;
	border: 1px solid var(--otb-border);
	border-radius: 999px;
	background: var(--otb-bg);
	color: var(--otb-heading);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.otb-tab:hover {
	border-color: var(--otb-primary);
	color: var(--otb-primary);
}

.otb-tab.is-active {
	border-color: var(--otb-heading);
	background: var(--otb-heading);
	color: #fff;
}

.otb-carousel {
	position: relative;
}

.otb-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.otb-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--otb-border);
	border-radius: 50%;
	background: var(--otb-bg);
	color: var(--otb-heading);
	cursor: pointer;
	transition: all 0.2s ease;
}

.otb-carousel__btn:hover:not(:disabled) {
	border-color: var(--otb-primary);
	background: var(--otb-primary);
	color: #fff;
}

.otb-carousel__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

/* Shop by weight */
.otb-weights {
	background-color: var(--otb-surface);
	background-image: var(--otb-knit);
}

.otb-weights__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	.otb-weights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.otb-weight {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 26px 18px 22px;
	border: 1px solid var(--otb-border);
	border-radius: var(--otb-radius);
	background: var(--otb-bg);
	color: var(--otb-heading);
	text-align: center;
	text-decoration: none;
	transition: transform 0.3s var(--otb-ease), border-color 0.2s ease, box-shadow 0.3s ease;
}

.otb-weight:hover {
	border-color: var(--otb-primary);
	color: var(--otb-heading);
	transform: translateY(-4px);
	box-shadow: var(--otb-shadow);
}

.otb-weight__badge {
	position: relative;
	display: inline-flex;
	margin-bottom: 12px;
	color: var(--otb-primary);
}

.otb-weight__num {
	position: absolute;
	right: -10px;
	bottom: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 2px solid var(--otb-bg);
	border-radius: 50%;
	background: var(--otb-heading);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
}

.otb-weight:hover .otb-weight__num {
	background: var(--otb-primary);
}

.otb-weight__label {
	font-family: var(--otb-font-heading);
	font-size: 1.6rem;
	font-weight: var(--otb-heading-weight);
	line-height: 1.1;
}

.otb-weight__detail {
	margin-top: 4px;
	color: var(--otb-muted);
	font-size: 0.875rem;
}

.otb-weight__needle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--otb-cream);
	color: var(--otb-text);
	font-size: 0.75rem;
}

/* Promo banner */
.otb-promo__card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	overflow: hidden;
	border-radius: calc(var(--otb-radius) * 1.5);
	background: var(--otb-cream);
}

.otb-promo--image-right .otb-promo__media {
	order: 2;
}

.otb-promo__media {
	position: relative;
	min-height: 380px;
}

.otb-promo__media img:not(.otb-placeholder img) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.otb-promo__copy {
	align-self: center;
	padding: clamp(32px, 6vw, 80px);
}

.otb-promo__title {
	font-size: clamp(2rem, 3.6vw, var(--otb-h2));
}

.otb-promo__text {
	margin-bottom: 1.6em;
	color: var(--otb-muted);
}

.otb-promo--background .otb-promo__card {
	position: relative;
	display: flex;
	min-height: 460px;
	background: var(--otb-heading);
}

.otb-promo--background .otb-promo__media {
	position: absolute;
	inset: 0;
	min-height: 0;
}

.otb-promo--background.has-image .otb-promo__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(27, 21, 37, 0.75), rgba(27, 21, 37, 0.15));
}

.otb-promo--background .otb-promo__copy {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

.otb-promo--background.has-image .otb-promo__copy,
.otb-promo--background.has-image .otb-promo__title,
.otb-promo--background.has-image .otb-promo__text,
.otb-promo--background.has-image .eyebrow {
	color: #fff;
}

.otb-promo--background.no-image .otb-promo__card {
	background: var(--otb-cream);
}

@media (max-width: 820px) {
	.otb-promo__card {
		grid-template-columns: minmax(0, 1fr);
	}

	.otb-promo--image-right .otb-promo__media {
		order: 0;
	}

	.otb-promo__media {
		min-height: 260px;
	}
}

/* About */
.otb-about {
	background: var(--otb-cream);
}

.otb-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(32px, 7vw, 110px);
}

.otb-about__media {
	position: relative;
	aspect-ratio: 4 / 5;
	margin: 0 0 24px 24px;
}

.otb-about__media::before {
	content: "";
	position: absolute;
	inset: 24px 24px -24px -24px;
	border: 1.5px solid var(--otb-primary);
	border-radius: var(--otb-radius);
	opacity: 0.5;
}

.otb-about__media > img,
.otb-about__media > .otb-placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--otb-radius);
}

.otb-about__title {
	font-size: clamp(2.1rem, 4vw, var(--otb-h2));
}

.otb-about__text {
	font-size: 1.05rem;
}

.otb-about__signature {
	margin: 0.4em 0 1em;
	color: var(--otb-primary);
	font-family: var(--otb-font-script);
	font-size: 2.4rem;
	line-height: 1;
}

@media (max-width: 820px) {
	.otb-about__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.otb-about__media {
		max-width: 420px;
	}
}

/* Testimonials */
.otb-testimonials {
	background: var(--otb-surface);
}

.otb-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.otb-testimonials__grid--1 {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

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

@media (max-width: 900px) {
	.otb-testimonials__grid,
	.otb-testimonials__grid--2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.otb-testimonial {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: var(--otb-radius);
	background: var(--otb-bg);
	box-shadow: var(--otb-shadow-sm);
}

.otb-testimonial__icon {
	color: var(--otb-primary);
	opacity: 0.5;
}

.otb-testimonial__quote {
	flex: 1;
	margin: 14px 0 20px;
	padding: 0;
	border: 0;
	font-size: 1.35rem;
}

.otb-testimonial__quote p {
	margin: 0;
}

.otb-testimonial__by {
	display: flex;
	flex-direction: column;
	padding-top: 16px;
	border-top: 1px solid var(--otb-border);
}

.otb-testimonial__name {
	color: var(--otb-heading);
	font-weight: 600;
}

.otb-testimonial__detail {
	color: var(--otb-muted);
	font-size: 0.875rem;
}

/* Gallery */
.otb-gallery__grid {
	display: grid;
	grid-template-columns: repeat(var(--otb-gallery-cols, 6), minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	.otb-gallery__grid {
		grid-template-columns: repeat(min(var(--otb-gallery-cols, 6), 4), minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.otb-gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}
}

.otb-gallery__item a {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--otb-radius-sm);
}

.otb-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--otb-ease), filter 0.3s ease;
}

.otb-gallery__item a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--otb-primary) 35%, transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.otb-gallery__item a:hover img {
	transform: scale(1.07);
}

.otb-gallery__item a:hover::after {
	opacity: 1;
}

/* Newsletter */
.otb-newsletter {
	position: relative;
	padding-block: clamp(56px, 7vw, 96px);
	overflow: hidden;
	background: radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--otb-primary) 55%, transparent) 0%, transparent 60%), var(--otb-heading);
	color: rgba(255, 255, 255, 0.85);
}

.otb-newsletter::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M3 2.5l5.5 8 5.5-8M14 2.5l5.5 8 5.5-8M3 13l5.5 8 5.5-8M14 13l5.5 8 5.5-8' fill='none' stroke='%23FFFFFF' stroke-opacity='.05' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.otb-newsletter__bg,
.otb-newsletter__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.otb-newsletter.has-image .otb-newsletter__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(27, 21, 37, 0.72);
}

.otb-newsletter__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 80px);
}

.otb-newsletter .eyebrow {
	color: #c9b0ff;
}

.otb-newsletter__title {
	margin: 0 0 0.3em;
	color: #fff;
	font-size: clamp(2rem, 3.6vw, var(--otb-h2));
}

.otb-newsletter__text {
	margin: 0;
	font-size: 1.05rem;
}

.otb-newsletter .otb-admin-hint {
	padding: 16px 20px;
	border: 1px dashed rgba(255, 255, 255, 0.4);
	border-radius: var(--otb-radius-sm);
	color: #fff;
}

.otb-newsletter .otb-admin-hint a {
	color: #c9b0ff;
}

@media (max-width: 820px) {
	.otb-newsletter__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

.otb-home-content .entry-content {
	max-width: 860px;
	margin-inline: auto;
}

/* 9. Blog, posts & comments ----------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: clamp(24px, 3vw, 36px);
}

.post-grid--1 {
	--cols: 1;
}

.post-grid--2 {
	--cols: 2;
}

.post-grid--3 {
	--cols: 3;
}

.post-grid--4 {
	--cols: 4;
}

.otb-sidebar-left .post-grid--4,
.otb-sidebar-right .post-grid--4 {
	--cols: 3;
}

@media (max-width: 1000px) {
	.post-grid--3,
	.post-grid--4 {
		--cols: 2;
	}
}

@media (max-width: 640px) {
	.post-grid {
		--cols: 1;
	}
}

.post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-radius: var(--otb-radius);
	background: var(--otb-surface);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--otb-ease);
}

.post-card__media .otb-placeholder img {
	width: 40%;
	height: auto;
}

.post-card:hover .post-card__media > img {
	transform: scale(1.05);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: 18px;
}

.post-card__cat {
	margin-bottom: 6px;
	color: var(--otb-primary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.post-card__title {
	margin: 0 0 10px;
	font-size: 1.6rem;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.4s var(--otb-ease);
}

.post-card__title a:hover {
	background-size: 100% 1px;
}

.post-card__excerpt {
	color: var(--otb-muted);
	font-size: 0.95rem;
}

.post-card__excerpt p {
	margin: 0 0 14px;
}

.post-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--otb-border);
	color: var(--otb-muted);
	font-size: 0.85rem;
}

.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--otb-heading);
	font-weight: 600;
	text-decoration: none;
}

.post-card__more:hover {
	color: var(--otb-primary);
}

.post-layout--list .post-card {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
}

.post-layout--list .post-card__body {
	padding-top: 0;
}

@media (max-width: 640px) {
	.post-layout--list .post-card {
		grid-template-columns: minmax(0, 1fr);
	}
}

.sticky .post-card__title::before {
	content: "★ ";
	color: var(--otb-accent);
}

.entry--classic + .entry--classic {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--otb-border);
}

.entry__media {
	display: block;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: var(--otb-radius);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	color: var(--otb-muted);
	font-size: 0.9rem;
}

.entry-meta a {
	color: inherit;
}

.entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.entry-categories a {
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--otb-tint);
	color: var(--otb-primary);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.entry-featured {
	margin-bottom: clamp(28px, 4vw, 48px);
}

.entry-featured img {
	width: 100%;
	border-radius: var(--otb-radius);
}

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--otb-border);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.entry-tags a {
	padding: 4px 12px;
	border: 1px solid var(--otb-border);
	border-radius: 999px;
	color: var(--otb-text);
	font-size: 0.8rem;
	text-decoration: none;
}

.entry-tags a:hover {
	border-color: var(--otb-primary);
	color: var(--otb-primary);
}

.otb-share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.otb-share__label {
	color: var(--otb-muted);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.otb-share ul,
.otb-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-share a,
.otb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--otb-border);
	border-radius: 50%;
	color: var(--otb-heading);
	transition: all 0.2s ease;
}

.otb-share a:hover,
.otb-social a:hover {
	border-color: var(--otb-primary);
	background: var(--otb-primary);
	color: #fff;
}

.otb-social--topbar a,
.otb-social--header a {
	width: 30px;
	height: 30px;
	border: 0;
	color: inherit;
}

.otb-social--topbar a:hover,
.otb-social--header a:hover {
	background: color-mix(in srgb, currentColor 12%, transparent);
	color: inherit;
}

.otb-author-box {
	display: flex;
	gap: 24px;
	margin-top: 40px;
	padding: 28px;
	border-radius: var(--otb-radius);
	background: var(--otb-surface);
}

.otb-author-box img {
	flex: 0 0 auto;
	border-radius: 50%;
}

.otb-author-box__name {
	margin: 0 0 8px;
	font-size: 1.6rem;
}

.otb-author-box .eyebrow {
	font-size: 1.6rem;
}

.post-navigation {
	margin-top: 48px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 20px 24px;
	border: 1px solid var(--otb-border);
	border-radius: var(--otb-radius);
	color: var(--otb-heading);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.post-navigation a:hover {
	border-color: var(--otb-primary);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-navigation .nav-next a {
	align-items: flex-end;
}

.nav-subtitle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--otb-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nav-title {
	font-family: var(--otb-font-heading);
	font-size: 1.3rem;
	font-weight: var(--otb-heading-weight);
	line-height: 1.2;
}

.otb-related {
	margin-top: 72px;
	padding-top: 56px;
	border-top: 1px solid var(--otb-border);
}

.pagination,
.woocommerce-pagination {
	margin-top: 56px;
}

.pagination .nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--otb-border);
	border-radius: 999px;
	color: var(--otb-heading);
	text-decoration: none;
	transition: all 0.2s ease;
}

a.page-numbers:hover {
	border-color: var(--otb-primary);
	color: var(--otb-primary);
}

.page-numbers.current {
	border-color: var(--otb-heading);
	background: var(--otb-heading);
	color: #fff;
}

.page-numbers.dots {
	border: 0;
}

.no-results,
.error-404 {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.no-results__art,
.error-404__art {
	width: 180px;
	height: 180px;
	margin: 0 auto 24px;
	border-radius: 50%;
}

.error-404__lead {
	font-size: 1.1rem;
}

.error-404 .otb-search-form {
	max-width: 520px;
	margin: 24px auto;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.comments-area {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid var(--otb-border);
}

.otb-sidebar-none .comments-area {
	max-width: 780px;
	margin-inline: auto;
}

.comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding-left: clamp(16px, 4vw, 48px);
	list-style: none;
}

.comment-body {
	position: relative;
	margin-bottom: 20px;
	padding: 24px;
	border-radius: var(--otb-radius);
	background: var(--otb-cream);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--otb-heading);
	font-weight: 600;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin: 4px 0 12px 68px;
	font-size: 0.8rem;
}

.comment-metadata a {
	color: var(--otb-muted);
}

.comment-content {
	margin-left: 68px;
}

.reply {
	margin-left: 68px;
}

.comment-reply-link {
	min-height: 0;
	padding: 4px 14px;
	font-size: 0.75rem;
}

.comment-form p {
	margin-bottom: 18px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* 10. Sidebar & widgets ---------------------------------------------------- */

.sidebar.is-sticky .sidebar__inner {
	position: sticky;
	top: 110px;
}

.widget {
	margin-bottom: 40px;
	font-size: 0.95rem;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title,
.widget .wp-block-heading {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--otb-border);
	color: var(--otb-heading);
	font-family: var(--otb-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 6px 0;
}

.widget li a {
	color: var(--otb-text);
	text-decoration: none;
}

.widget li a:hover {
	color: var(--otb-primary);
}

.widget .children,
.widget .sub-menu {
	padding-left: 14px;
}

.otb-weight-list a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.otb-weight-list__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--otb-surface);
	color: var(--otb-primary);
	font-size: 0.75rem;
	font-weight: 600;
}

.otb-weight-list .is-active a {
	color: var(--otb-primary);
	font-weight: 600;
}

.otb-weight-list .is-active .otb-weight-list__num {
	background: var(--otb-primary);
	color: #fff;
}

.sidebar__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -20px 20px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--otb-border);
}

.sidebar__drawer-title {
	color: var(--otb-heading);
	font-family: var(--otb-font-heading);
	font-size: 1.5rem;
	font-weight: var(--otb-heading-weight);
}

.otb-filter-toggle {
	display: none;
}

.otb-filters-backdrop {
	position: fixed;
	inset: 0;
	z-index: 299;
	background: rgba(27, 21, 37, 0.45);
}

.otb-contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 0;
}

.otb-contact svg {
	flex: 0 0 auto;
	margin-top: 0.2em;
	color: var(--otb-primary);
}

.otb-contact a {
	color: inherit;
	text-decoration: none;
}

.otb-contact a:hover {
	text-decoration: underline;
}

.otb-contact--inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.otb-contact--inline svg {
	margin-top: 0.1em;
	color: inherit;
	opacity: 0.8;
	width: 15px;
	height: 15px;
}

.otb-contact--cards {
	display: grid;
	gap: 14px;
}

.otb-contact--cards li {
	padding: 18px 20px;
	border: 1px solid var(--otb-border);
	border-radius: var(--otb-radius);
	background: var(--otb-bg);
}

.otb-admin-hint {
	padding: 12px 16px;
	border: 1px dashed var(--otb-primary);
	border-radius: var(--otb-radius-sm);
	background: var(--otb-surface);
	font-size: 0.9rem;
}

/* Contact page */
.otb-contact-page {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}

.otb-contact-page__info {
	padding: clamp(24px, 4vw, 40px);
	border-radius: calc(var(--otb-radius) * 1.5);
	background: var(--otb-surface);
	background-image: var(--otb-knit);
}

.otb-contact-page__title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.otb-contact-page__info .otb-social {
	margin-top: 20px;
}

.otb-contact-page__form .entry-content {
	margin-bottom: 28px;
}

.otb-contact-page__map {
	margin-top: clamp(40px, 6vw, 72px);
	overflow: hidden;
	border-radius: calc(var(--otb-radius) * 1.5);
}

.otb-contact-page__map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

@media (max-width: 860px) {
	.otb-contact-page {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 11. Footer ------------------------------------------------------------------ */

.before-footer {
	padding-block: 48px;
	border-top: 1px solid var(--otb-border);
}

.site-footer {
	background: var(--otb-footer-bg);
	color: var(--otb-footer-text);
	font-size: 0.95rem;
}

.site-footer a {
	color: var(--otb-footer-text);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--otb-footer-link-hover);
}

.site-footer__widgets {
	padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px);
}

.footer-columns {
	display: grid;
	gap: 40px clamp(24px, 4vw, 56px);
}

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

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

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

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

.footer-columns--4.footer-columns--wide-first {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
}

.footer-columns--3.footer-columns--wide-first {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
}

.footer-columns--2.footer-columns--wide-first {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.footer-columns--4.footer-columns--wide-last {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
}

.footer-columns--3.footer-columns--wide-last {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
}

.footer-columns--2.footer-columns--wide-last {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

@media (max-width: 960px) {
	.footer-columns--3,
	.footer-columns--4,
	.footer-columns--3.footer-columns--wide-first,
	.footer-columns--4.footer-columns--wide-first,
	.footer-columns--3.footer-columns--wide-last,
	.footer-columns--4.footer-columns--wide-last {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.footer-columns,
	.footer-columns--2.footer-columns--wide-first,
	.footer-columns--2.footer-columns--wide-last {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

.site-footer .widget {
	margin-bottom: 32px;
}

.site-footer .widget-title,
.site-footer .wp-block-heading {
	padding: 0;
	border: 0;
	color: var(--otb-footer-heading);
}

.site-footer .widget li a {
	color: var(--otb-footer-text);
}

.site-footer .widget li a:hover {
	color: var(--otb-footer-link-hover);
}

.footer-brand__logo {
	display: inline-block;
	margin-bottom: 18px;
}

.footer-brand__logo img {
	width: 230px;
	max-width: 100%;
	height: auto;
}

.footer-brand__about {
	max-width: 380px;
	margin-bottom: 20px;
}

.otb-social--footer a,
.otb-social--drawer a {
	border-color: color-mix(in srgb, var(--otb-footer-text) 35%, transparent);
	color: var(--otb-footer-heading);
}

.otb-social--drawer a {
	border-color: var(--otb-border);
	color: var(--otb-heading);
}

.otb-social--footer a:hover {
	border-color: var(--otb-footer-link-hover);
	background: var(--otb-footer-link-hover);
	color: var(--otb-footer-bg);
}

.otb-contact--footer svg {
	color: var(--otb-footer-link-hover);
}

.site-footer .otb-admin-hint {
	border-color: color-mix(in srgb, var(--otb-footer-text) 40%, transparent);
	background: transparent;
}

.site-footer__bottom {
	border-top: 1px solid color-mix(in srgb, var(--otb-footer-text) 18%, transparent);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	padding-block: 22px;
	font-size: 0.85rem;
}

.site-footer--minimal .site-footer__bottom-inner {
	padding-block: 28px;
}

.site-footer__copyright {
	margin: 0;
}

.footer-bottom-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otb-payments li {
	padding: 3px 9px;
	border: 1px solid color-mix(in srgb, var(--otb-footer-text) 30%, transparent);
	border-radius: 5px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.otb-payments img {
	max-height: 28px;
	width: auto;
}

/* 12. Utilities, motion & lightbox ---------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--otb-primary);
	color: var(--otb-on-primary);
	box-shadow: var(--otb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.3s var(--otb-ease);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.back-to-top:hover {
	background: var(--otb-primary-dark);
	color: var(--otb-on-primary);
}

.otb-has-sticky-atc .back-to-top {
	bottom: 96px;
}

.otb-js body:not(.otb-no-animations) .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.8s var(--otb-ease), transform 0.8s var(--otb-ease);
}

.otb-js body:not(.otb-no-animations) .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.otb-lightbox {
	max-width: min(92vw, 1200px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: var(--otb-radius);
	background: transparent;
	overflow: visible;
}

.otb-lightbox::backdrop {
	background: rgba(27, 21, 37, 0.85);
}

.otb-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	border-radius: var(--otb-radius);
}

.otb-lightbox__close {
	position: absolute;
	top: -18px;
	right: -18px;
	background: #fff;
	color: var(--otb-heading);
	box-shadow: var(--otb-shadow);
}

.otb-lightbox__close:hover {
	background: #fff;
}

@keyframes otb-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes otb-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes otb-slide-down {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: none;
	}
}

@keyframes otb-ken-burns {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1);
	}
}

@keyframes otb-float {
	0%,
	100% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(-14px) rotate(-2deg);
	}
}

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

	.otb-js body .reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

@media print {
	.site-header-wrap,
	.site-header,
	.site-footer,
	.otb-newsletter,
	.sidebar,
	.back-to-top,
	.otb-share,
	.post-navigation,
	.comments-area {
		display: none !important;
	}
}
