/*
Theme Name: Otoya
Theme URI: https://otoya.in
Description: Otoya Audio child theme for Shoptimizer. Every site customisation lives here; the parent theme is never edited.
Author: Hikari Brands
Author URI: https://hikaribrands.com/
Template: shoptimizer
Version: 1.1.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: otoya
*/

/* -------------------------------------------------------------------------
 * Tokens (from the Otoya home and product page designs)
 * ---------------------------------------------------------------------- */
:root {
	--otoya-plum: #7B2A4B;
	--otoya-plum-dark: #5E1F39;
	--otoya-ink: #17202C;
	--otoya-page: #F5F6F3;
	--otoya-muted: #55606E;
	--otoya-line: #D3D8D4;
	--otoya-band: #ECEEE9;
	--otoya-band-line: #CDD2CC;
	--otoya-spec-text: #414B58;
	--otoya-photo: #E6E8E3;
	--otoya-photo-line: #A8AFA9;
	--otoya-on-plum: #F0DEE7;
	--otoya-on-ink: #B7C0CC;
	--otoya-ink-line: #3A4656;
	--otoya-import: #B26A00;
	--otoya-instock: #1F7A4D;
	--otoya-wrap: 1320px;
	--otoya-gutter: 2.5rem;
	--otoya-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--otoya-display: "Archivo", "Arial Narrow", "Roboto Condensed", ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 760px) {
	:root {
		--otoya-gutter: 1.25rem;
	}
}

/* -------------------------------------------------------------------------
 * Base type
 * ---------------------------------------------------------------------- */
html body,
body button,
body input,
body select,
body textarea,
body .button,
body .site-content,
body .site-footer,
body .price,
body .amount,
body .woocommerce-Price-amount,
body .widget {
	font-family: var(--otoya-body) !important;
	font-stretch: 100%;
}

html body {
	background-color: var(--otoya-page);
	color: var(--otoya-ink);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body .site-content,
body .entry-content,
body .woocommerce-product-details__short-description {
	font-size: 17px;
	color: var(--otoya-ink);
}

body .entry-content p,
body .entry-content li {
	font-size: 1em;
	line-height: 1.55;
}

body h1,
body h2,
body .entry-title,
body .page-title,
body .product_title,
body .otoya-h2 {
	font-family: var(--otoya-display) !important;
	font-stretch: 75%;
	font-weight: 780 !important;
	color: var(--otoya-ink);
}

body h3,
body h4 {
	font-family: var(--otoya-body) !important;
	font-stretch: 100%;
	font-weight: 700 !important;
	letter-spacing: 0;
	color: var(--otoya-ink);
}

body h1,
body .entry-title,
body .page-title,
body .product_title {
	font-size: clamp(2.3rem, 3.8vw, 3.4rem);
	line-height: 1.02;
	letter-spacing: -0.018em;
}

body .otoya-h2,
body .entry-content h2 {
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	line-height: 1.05;
	letter-spacing: -0.015em;
}

body .otoya-h2 {
	margin: 0;
}

body .entry-content h2 {
	margin: 2.5rem 0 1rem;
}

body .entry-content h3 {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 2rem 0 0.5rem;
}

.otoya-muted {
	color: var(--otoya-muted) !important;
}

.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* -------------------------------------------------------------------------
 * Links and focus. Links are ink; plum on hover.
 * ---------------------------------------------------------------------- */
body a {
	color: var(--otoya-ink);
}

body a:hover {
	color: var(--otoya-plum);
}

body .entry-content a:not(.button):not(.otoya-btn),
body .otoya-textlink,
body .otoya-key-points a,
body .otoya-assure a,
body .otoya-legal a,
body .otoya-pdp-more a,
body .otoya-qa__a a,
body .otoya-pdp-brand,
body .woocommerce-breadcrumb a {
	color: var(--otoya-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

body .entry-content a:not(.button):not(.otoya-btn):hover,
body .otoya-textlink:hover,
body .otoya-key-points a:hover,
body .otoya-assure a:hover,
body .otoya-legal a:hover,
body .otoya-pdp-more a:hover,
body .otoya-qa__a a:hover,
body .otoya-pdp-brand:hover {
	color: var(--otoya-plum);
}

.otoya-textlink {
	display: inline-block;
	padding: 0.6rem 0;
	font-weight: 600;
}

:focus-visible {
	outline: 3px solid var(--otoya-plum) !important;
	outline-offset: 2px !important;
}

.otoya-topbar :focus-visible,
.otoya-band--plum :focus-visible,
.otoya-band--ink :focus-visible,
.otoya-footer :focus-visible {
	outline-color: var(--otoya-page) !important;
}

/* -------------------------------------------------------------------------
 * Page width: 1320px with a 2.5rem gutter, no sidebars.
 * ---------------------------------------------------------------------- */
body .col-full,
.otoya-wrap {
	max-width: var(--otoya-wrap) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--otoya-gutter) !important;
	padding-right: var(--otoya-gutter) !important;
	background: transparent !important;
	box-sizing: border-box;
}

body .content-area {
	width: 100% !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body #secondary,
body .related-wrapper:empty {
	display: none !important;
}

body .site-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body:not(.home):not(.single-product) .site-main {
	padding: 2rem 0 5.5rem;
}

/* Full-width colour bands inside the page column, without sideways scrolling. */
.otoya-band {
	position: relative;
	background: var(--otoya-band-bg);
	box-shadow: 0 0 0 100vmax var(--otoya-band-bg);
	clip-path: inset(0 -100vmax);
}

.otoya-band--plum {
	--otoya-band-bg: var(--otoya-plum);
	color: var(--otoya-page);
}

.otoya-band--ink {
	--otoya-band-bg: var(--otoya-ink);
	color: var(--otoya-page);
}

.otoya-band--tint {
	--otoya-band-bg: var(--otoya-band);
}

.otoya-rule-top {
	position: relative;
}

.otoya-rule-top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--otoya-line);
	box-shadow: 0 0 0 100vmax var(--otoya-line);
	clip-path: inset(0 -100vmax);
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.otoya-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.6rem;
	border: 2px solid transparent;
	border-radius: 3px;
	font-family: var(--otoya-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

body .otoya-btn--light {
	background: var(--otoya-page);
	border-color: var(--otoya-page);
	color: var(--otoya-ink);
}

body .otoya-btn--light:hover {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: var(--otoya-ink);
}

body .otoya-btn--outline-light {
	padding: 0.85rem 1.5rem;
	background: transparent;
	border-color: var(--otoya-page);
	color: var(--otoya-page);
}

body .otoya-btn--outline-light:hover {
	background: var(--otoya-page);
	color: var(--otoya-plum);
}

body .otoya-btn--ink,
body button.otoya-btn--ink {
	background: var(--otoya-ink) !important;
	border-color: var(--otoya-ink) !important;
	color: var(--otoya-page) !important;
}

body .otoya-btn--ink:hover {
	background: #000000 !important;
}

/* WooCommerce buttons: plum, white text. */
body .button,
body button.button,
body .single_add_to_cart_button,
body .checkout-button,
body #place_order,
body .wc-block-components-button:not(.is-link) {
	background-color: var(--otoya-plum) !important;
	border-color: var(--otoya-plum) !important;
	color: #FFFFFF !important;
	border-radius: 3px;
	font-weight: 700;
	text-decoration: none !important;
}

body .button:hover,
body button.button:hover,
body .single_add_to_cart_button:hover,
body .checkout-button:hover,
body #place_order:hover,
body .wc-block-components-button:not(.is-link):hover {
	background-color: var(--otoya-plum-dark) !important;
	border-color: var(--otoya-plum-dark) !important;
	color: #FFFFFF !important;
}

/* -------------------------------------------------------------------------
 * Announcement bar and header
 * ---------------------------------------------------------------------- */
.otoya-topbar {
	background: var(--otoya-ink);
	color: var(--otoya-page);
	text-align: center;
	padding: 0.7rem 1.5rem;
	font-size: 15px;
	line-height: 1.4;
}

body .site-header {
	position: static !important;
	background: var(--otoya-page) !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body .site-header .main-header {
	display: block !important;
	height: auto !important;
	padding-top: 1.4rem !important;
	padding-bottom: 1.4rem !important;
}

body .col-full-nav,
body .site-header .menu-overlay,
body .archive-header:empty {
	display: none !important;
}

.otoya-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2.5rem;
}

body .otoya-wordmark {
	margin: 0;
	font-family: var(--otoya-display) !important;
	font-stretch: 62%;
	font-weight: 800;
	font-size: 2.2rem;
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--otoya-ink);
	text-decoration: none;
}

body a.otoya-wordmark:hover {
	color: var(--otoya-ink);
}

.otoya-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 2.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 500;
}

.otoya-nav__menu li {
	margin: 0;
	padding: 0;
}

body .otoya-nav__menu a {
	display: block;
	padding: 0.65rem 0;
	color: var(--otoya-ink);
	text-decoration: none;
}

body .otoya-nav__menu a:hover,
body .otoya-nav__menu .current-menu-item > a {
	color: var(--otoya-plum);
}

body .otoya-nav__menu .current-menu-item > a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

.otoya-header__tools {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

body .otoya-icon-button,
body button.otoya-icon-button {
	position: relative;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: 0;
	border-radius: 3px;
	color: var(--otoya-ink) !important;
	cursor: pointer;
	box-shadow: none;
}

body .otoya-icon-button:hover {
	color: var(--otoya-plum) !important;
}

.otoya-icon-button svg {
	display: block;
}

.otoya-cart-count {
	position: absolute;
	top: 3px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--otoya-plum);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-sizing: border-box;
}

.otoya-search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 1.25rem 0 0.25rem;
}

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

.otoya-search label {
	font-weight: 600;
}

body .otoya-search input[type="search"] {
	flex: 1 1 260px;
	max-width: 32rem;
	min-height: 48px;
	margin: 0;
	padding: 0 0.9rem;
	border: 1px solid var(--otoya-muted);
	border-radius: 3px;
	background: #FFFFFF;
	color: var(--otoya-ink);
	font-size: 16px;
	box-shadow: none;
}

body .otoya-search .otoya-btn {
	min-height: 48px;
	padding: 0 1.4rem;
}

/* Breadcrumbs */
body .archive-header {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}

body .archive-header .col-full {
	padding-top: 0.5rem;
}

body .woocommerce-breadcrumb {
	margin: 0;
	padding: 0 !important;
	max-width: none !important;
	font-size: 15px;
	color: var(--otoya-muted);
}

body .woocommerce-breadcrumb a {
	display: inline-block;
	padding: 0.6rem 0;
	color: var(--otoya-muted) !important;
}

body .woocommerce-breadcrumb a:hover {
	color: var(--otoya-ink) !important;
}

body .woocommerce-breadcrumb .breadcrumb-separator {
	margin: 0 0.6rem;
}

body.home .archive-header {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Home
 * ---------------------------------------------------------------------- */
.otoya-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3.5rem;
	padding: 5rem 0 5.5rem;
}

.otoya-hero__text {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.6rem;
}

body .otoya-hero h1 {
	margin: 0;
	color: var(--otoya-page);
	font-size: clamp(2.8rem, 5.4vw, 4.9rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

.otoya-hero__lede {
	margin: 0;
	max-width: 34rem;
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--otoya-on-plum);
}

.otoya-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.75rem;
}

body .otoya-hero__link {
	padding: 0.7rem 0;
	color: var(--otoya-page);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

body .otoya-hero__link:hover {
	color: #FFFFFF;
	text-decoration-thickness: 2px;
}

.otoya-hero__product {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.otoya-hero__media {
	display: block;
	aspect-ratio: 5 / 4;
	box-sizing: border-box;
	background: rgba(245, 246, 243, 0.12);
	border: 2px dashed rgba(245, 246, 243, 0.55);
	overflow: hidden;
}

.otoya-hero__media--photo {
	background: var(--otoya-photo);
	border: 0;
}

.otoya-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.otoya-hero__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.otoya-hero__meta {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

body .otoya-hero__name {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--otoya-page);
	text-decoration: none;
}

body .otoya-hero__name:hover {
	color: var(--otoya-page);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.otoya-hero__stock {
	font-size: 15px;
	color: var(--otoya-on-plum);
}

.otoya-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 3.5rem;
	margin: 0;
	padding: 3.25rem 0;
	list-style: none;
}

.otoya-facts li {
	flex: 1 1 260px;
	min-width: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.otoya-facts strong {
	font-size: 1.15rem;
	font-weight: 700;
}

.otoya-facts span {
	color: var(--otoya-muted);
}

.otoya-products {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
	padding: 2.5rem 0 5.5rem;
}

.otoya-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
}

.otoya-products > .woocommerce {
	margin: 0;
}

.otoya-feature {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem 5rem;
	padding: 5.5rem 0;
}

.otoya-feature__text {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.4rem;
}

body .otoya-feature .otoya-h2 {
	color: var(--otoya-page);
	font-size: clamp(2rem, 3.6vw, 3.2rem);
	line-height: 1.04;
}

.otoya-feature__text p {
	margin: 0;
	max-width: 32rem;
	font-size: 1.1rem;
	color: var(--otoya-on-ink);
}

body .otoya-stats {
	flex: 1 1 480px;
	min-width: 0;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem 2.5rem;
	border: 0;
}

.otoya-stats > div {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

body .otoya-stats dt {
	margin: 0;
	padding: 0;
	font-family: var(--otoya-display) !important;
	font-stretch: 62%;
	font-weight: 800;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--otoya-page);
}

body .otoya-stats dd {
	margin: 0;
	padding: 0;
	color: var(--otoya-on-ink);
}

.otoya-how {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding: 5.5rem 0;
}

.otoya-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 3.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otoya-steps li {
	flex: 1 1 260px;
	min-width: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.otoya-steps__num {
	font-family: var(--otoya-display);
	font-stretch: 62%;
	font-weight: 800;
	font-size: 3rem;
	line-height: 1;
	color: var(--otoya-plum);
}

.otoya-steps strong {
	font-size: 1.15rem;
	font-weight: 700;
}

.otoya-steps li > span:last-child {
	color: var(--otoya-muted);
}

/* Questions, open, in two columns (home and product pages) */
.otoya-faq {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.5rem;
	padding: 5rem 0 5.5rem;
}

.otoya-qa-grid {
	align-self: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 2.25rem 4rem;
}

.otoya-qa {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

body .otoya-qa h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.otoya-qa__a,
.otoya-qa__a p {
	margin: 0;
	color: var(--otoya-muted);
}

/* -------------------------------------------------------------------------
 * Product grid cards
 * ---------------------------------------------------------------------- */
body ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem 1.75rem;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

body ul.products::before,
body ul.products::after {
	display: none !important;
}

body ul.products li.product {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	text-align: left !important;
	background: transparent;
	box-shadow: none;
}

body ul.products li.product .woocommerce-image__wrapper {
	margin: 0 0 0.7rem;
	padding: 0;
	background: transparent;
}

body ul.products li.product img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 5;
	object-fit: contain;
	margin: 0 !important;
	background: var(--otoya-photo);
	box-sizing: border-box;
}

body ul.products li.product img.woocommerce-placeholder {
	border: 2px dashed var(--otoya-photo-line);
	object-position: -99999px 0;
}

/* Real product photos are shot on white, so their box is white; only placeholders stay grey. */
body ul.products li.product img:not(.woocommerce-placeholder),
body.single-product .woocommerce-product-gallery img:not(.woocommerce-placeholder) {
	background: #fff;
}

body ul.products li.product .woocommerce-card__header {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0 !important;
	margin: 0;
}

.otoya-card__brand {
	margin: 0 !important;
	font-size: 14px;
	color: var(--otoya-muted);
}

body ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--otoya-body) !important;
	font-stretch: 100%;
	font-size: 1.1rem !important;
	font-weight: 650 !important;
	line-height: 1.3;
	letter-spacing: 0;
}

body ul.products li.product .woocommerce-loop-product__title a {
	color: var(--otoya-ink) !important;
	text-decoration: none !important;
}

/* The whole card opens the product. */
body ul.products li.product .woocommerce-loop-product__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

body ul.products li.product:hover .woocommerce-loop-product__title a {
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
}

body ul.products li.product .price {
	display: block;
	margin: 0 !important;
	font-size: 17px !important;
	font-weight: 700;
	color: var(--otoya-ink) !important;
}

body ul.products li.product .otoya-stock--loop {
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.45;
	color: var(--otoya-muted) !important;
}

body ul.products li.product .button,
body ul.products li.product .product__categories {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Product page
 * ---------------------------------------------------------------------- */
body.single-product .product-details-wrapper {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 3rem 4.5rem;
	margin: 0 !important;
	padding: 1.5rem 0 5.5rem !important;
}

body.single-product .product-details-wrapper::before,
body.single-product .product-details-wrapper::after {
	display: none !important;
}

body.single-product .product-details-wrapper > .images {
	flex: 1 1 520px;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
}

body.single-product .woocommerce-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--otoya-photo);
	box-sizing: border-box;
}

body.single-product .woocommerce-product-gallery img.woocommerce-placeholder,
body.single-product .woocommerce-product-gallery__image--placeholder img {
	border: 2px dashed var(--otoya-photo-line);
	object-position: -99999px 0;
}

body.single-product .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
	list-style: none;
}

body.single-product .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

body.single-product .product-details-wrapper > .summary {
	flex: 1 1 420px;
	min-width: 0;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

body.single-product .summary > * {
	margin: 0 !important;
}

body.single-product .summary > .clear,
body.single-product .summary > div:empty {
	display: none !important;
}

body.single-product .summary .otoya-pdp-brand {
	margin-bottom: -0.9rem !important;
	font-size: 15px;
	font-weight: 600;
}

body.single-product .product .summary h1.product_title {
	padding: 0;
	font-size: clamp(2.3rem, 3.8vw, 3.4rem) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.018em;
}

body.single-product .summary p.price {
	font-size: 2rem !important;
	font-weight: 700;
	line-height: 1.1;
	color: var(--otoya-ink) !important;
}

body.single-product .summary .otoya-price-note {
	margin-top: -1.2rem !important;
	font-size: 15px;
	color: var(--otoya-muted);
}

body.single-product .summary p.stock.otoya-stock {
	border: 0 !important;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0;
	font-size: 17px !important;
	font-weight: 600;
	color: var(--otoya-ink) !important;
	background: none;
}

body.single-product .summary p.stock.otoya-stock::before {
	content: "" !important;
	position: static;
	flex: none;
	width: 10px;
	height: 10px;
	margin: 0;
	border-radius: 50%;
	background: var(--otoya-import);
	mask: none;
	-webkit-mask: none;
	transform: none;
}

body.single-product .summary p.stock.otoya-stock--in::before {
	background: var(--otoya-instock);
}

body.single-product .summary form.cart {
	align-self: stretch;
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

body.single-product .summary form.cart .quantity {
	display: none !important;
}

body.single-product .summary form.cart .single_add_to_cart_button,
body.single-product .summary form.cart .otoya-buy-now-button {
	flex: 1 1 200px;
	min-height: 54px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 1.5rem !important;
	float: none !important;
	border: 2px solid var(--otoya-plum) !important;
	border-radius: 3px !important;
	font-family: var(--otoya-body) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.2;
	cursor: pointer;
}

body.single-product .summary form.cart .otoya-buy-now-button {
	background: transparent !important;
	border-color: var(--otoya-ink) !important;
	color: var(--otoya-ink) !important;
}

body.single-product .summary form.cart .otoya-buy-now-button:hover {
	background: var(--otoya-ink) !important;
	color: var(--otoya-page) !important;
}

body.single-product .woocommerce-product-details__short-description {
	font-size: 1.1rem;
	line-height: 1.5;
}

body.single-product .woocommerce-product-details__short-description p {
	margin: 0;
	font-size: inherit;
}

.otoya-key-points ul {
	margin: 0;
	padding: 0 0 0 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.otoya-key-points li {
	margin: 0;
}

.otoya-key-points p {
	margin: 0 0 0.75rem;
}

body.single-product .summary .otoya-assure {
	align-self: stretch;
	padding-top: 1.5rem;
	border-top: 1px solid var(--otoya-line);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--otoya-muted);
}

.otoya-assure ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.otoya-assure li {
	margin: 0;
}

.otoya-assure strong {
	color: var(--otoya-ink);
	font-weight: 700;
}

.otoya-assure a {
	font-size: 15px;
	font-weight: 600;
}

body.single-product .summary .otoya-legal {
	align-self: stretch;
	font-size: 15px;
	color: var(--otoya-muted);
}

.otoya-legal p {
	margin: 0;
	font-size: inherit;
	line-height: 1.55;
}

/* Specifications band */
.otoya-pdp-specs {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 5rem 0;
}

body .otoya-specs {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	column-gap: 4.5rem;
	border: 0;
}

.otoya-specs__row {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 1.5rem;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--otoya-band-line);
}

body .otoya-specs dt {
	flex: 0 0 11rem;
	margin: 0;
	padding: 0;
	font-weight: 700;
	color: var(--otoya-ink);
}

body .otoya-specs dd {
	flex: 1 1 14rem;
	margin: 0;
	padding: 0;
	color: var(--otoya-spec-text);
}

/* In the box / Good to know / Manual */
.otoya-pdp-more {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 4.5rem;
	padding: 5rem 0;
}

.otoya-pdp-more__col {
	flex: 1 1 280px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
	color: var(--otoya-muted);
}

body .otoya-pdp-more h2 {
	margin: 0;
	font-family: var(--otoya-body) !important;
	font-stretch: 100%;
	font-size: 1.3rem;
	font-weight: 700 !important;
	line-height: 1.3;
	letter-spacing: 0;
}

.otoya-pdp-more ul {
	margin: 0;
	padding: 0 0 0 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.otoya-pdp-more li,
.otoya-pdp-more p {
	margin: 0;
}

.otoya-pdp-more a {
	font-weight: 600;
}

.otoya-pdp-faq {
	gap: 2.25rem;
}

.otoya-pdp-reviews {
	padding: 4rem 0 5rem;
}

/* -------------------------------------------------------------------------
 * Other pages
 * ---------------------------------------------------------------------- */
body .entry-header,
body .woocommerce-products-header {
	margin: 0 0 2rem;
	padding: 0;
	text-align: left;
}

body .entry-header .entry-title,
body .woocommerce-products-header .page-title,
body .site-main > .page-title {
	margin: 0;
}

body .woocommerce-products-header__title.page-title,
body.woocommerce-cart .entry-header .entry-title,
body.woocommerce-checkout .entry-header .entry-title {
	display: block !important;
}

/* Until photos arrive, every product image slot is a plain light block. */
body img.woocommerce-placeholder {
	background: var(--otoya-photo);
	object-position: -99999px 0;
}

body.page:not(.home):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .entry-content,
body.single-post .entry-content {
	max-width: 46rem;
}

body .term-description,
body .woocommerce-products-header .term-description {
	max-width: 46rem;
	margin-bottom: 2.5rem;
	color: var(--otoya-muted);
}

/* Questions on the FAQ page */
details.wp-block-details {
	border-top: 1px solid var(--otoya-line);
	padding: 1rem 0;
	margin: 0;
}

details.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--otoya-line);
}

details.wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 1.15rem;
}

details.wp-block-details[open] summary {
	margin-bottom: 0.5rem;
}

details.wp-block-details p {
	margin: 0 0 0.5rem;
	color: var(--otoya-muted);
}

/* Store notices: ink on a light band, not green. */
body .woocommerce-message,
body .woocommerce-info {
	background: var(--otoya-band) !important;
	color: var(--otoya-ink) !important;
	border-left: 4px solid var(--otoya-ink) !important;
}

body .woocommerce-message a:not(.button),
body .woocommerce-info a:not(.button) {
	color: var(--otoya-ink) !important;
	text-decoration: underline;
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error {
	max-width: none !important;
}

/* Links inside notices ("View cart") read as links, not buttons. */
body .woocommerce-message .message-content .button,
body .woocommerce-info .message-content .button {
	width: auto !important;
	min-height: 0;
	margin: 0 0 0 0.4rem;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--otoya-ink) !important;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
}

/* Contact form */
.otoya-contact__form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.otoya-contact__form input[type="text"],
.otoya-contact__form input[type="email"],
.otoya-contact__form textarea {
	width: 100%;
	max-width: 36rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--otoya-muted);
	border-radius: 3px;
	background: #FFFFFF;
	color: var(--otoya-ink);
	font-size: 1rem;
}

.otoya-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.otoya-notice {
	padding: 0.8rem 1rem;
	border-left: 4px solid var(--otoya-ink);
	background: var(--otoya-band);
}

.otoya-notice--error {
	border-left-color: var(--otoya-plum);
}

/* Stock line elsewhere (cart, checkout) */
body .otoya-stock {
	color: var(--otoya-ink);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
body .site-footer.otoya-footer {
	margin: 0 !important;
	padding: 4.5rem 0 3rem !important;
	background: var(--otoya-ink) !important;
	color: var(--otoya-page) !important;
	border: 0 !important;
	font-size: 16px;
}

.otoya-footer .otoya-wrap {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.otoya-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2.5rem 4rem;
}

.otoya-footer__about {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.otoya-footer__about p {
	margin: 0;
	max-width: 24rem;
	color: var(--otoya-on-ink);
}

body .otoya-footer .otoya-wordmark {
	color: var(--otoya-page);
}

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

.otoya-footer__col li {
	margin: 0;
}

.otoya-footer__heading {
	margin: 0;
	padding-bottom: 0.4rem;
	font-weight: 700;
	color: var(--otoya-page);
}

body .otoya-footer__col a {
	display: inline-block;
	padding: 0.55rem 0;
	color: var(--otoya-page) !important;
	text-decoration: none;
}

body .otoya-footer__col a:hover {
	color: var(--otoya-page) !important;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.otoya-footer__legal {
	padding-top: 1.75rem;
	border-top: 1px solid var(--otoya-ink-line);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 14px;
	color: var(--otoya-on-ink);
}

.otoya-footer__legal p {
	margin: 0;
	font-size: inherit;
}

body .otoya-footer__legal a {
	color: var(--otoya-page) !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* -------------------------------------------------------------------------
 * Narrower screens
 * ---------------------------------------------------------------------- */
@media (max-width: 1023px) {
	body ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body .site-header .main-header {
		padding-top: 1rem !important;
		padding-bottom: 0.5rem !important;
	}

	.otoya-header {
		gap: 0.25rem 1rem;
	}

	body .otoya-wordmark {
		order: 1;
		font-size: 2rem;
	}

	.otoya-header__tools {
		order: 2;
		margin-right: -10px;
	}

	.otoya-nav {
		order: 3;
		flex: 1 1 100%;
	}

	.otoya-nav__menu {
		gap: 0 1.1rem;
		font-size: 15px;
	}

	.otoya-hero {
		gap: 2.5rem;
		padding: 3rem 0 3.5rem;
	}

	.otoya-facts {
		gap: 1.5rem;
		padding: 2.5rem 0;
	}

	.otoya-products {
		padding: 1rem 0 4rem;
	}

	.otoya-feature,
	.otoya-how {
		padding: 4rem 0;
	}

	.otoya-faq {
		padding: 3.5rem 0 4rem;
	}

	body ul.products {
		gap: 2rem 1rem;
	}

	body ul.products li.product .woocommerce-loop-product__title {
		font-size: 1rem !important;
	}

	body.single-product .product-details-wrapper {
		gap: 2rem;
		padding: 0.5rem 0 4rem !important;
	}

	.otoya-pdp-specs,
	.otoya-pdp-more {
		padding: 3.5rem 0;
	}

	body .site-footer.otoya-footer {
		padding: 3.5rem 0 2.5rem !important;
	}
}

@media (max-width: 520px) {
	body .otoya-stats {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	body .otoya-stats dt {
		font-size: 2.2rem;
	}

	body .otoya-specs dt {
		flex-basis: 100%;
	}
}

/* Shop dropdown in the header (desktop), and the category row on shop pages. */
.otoya-nav__menu > li {
	position: relative;
}

body .otoya-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -1rem;
	z-index: 60;
	min-width: 13rem;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: var(--otoya-page);
	border: 1px solid var(--otoya-line);
	border-radius: 3px;
	box-shadow: 0 10px 24px rgba(23, 32, 44, 0.1);
}

body .otoya-nav__menu li:hover > .sub-menu,
body .otoya-nav__menu li:focus-within > .sub-menu {
	display: block;
}

body .otoya-nav__menu .sub-menu a {
	padding: 0.5rem 1rem;
	white-space: nowrap;
}

.otoya-cat-nav {
	margin: 0 0 1.75rem;
}

.otoya-cat-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.otoya-cat-nav li {
	margin: 0;
}

body .otoya-cat-nav a {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--otoya-line);
	border-radius: 3px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--otoya-ink);
	text-decoration: none;
}

body .otoya-cat-nav a:hover {
	border-color: var(--otoya-ink);
	color: var(--otoya-ink);
}

body .otoya-cat-nav a[aria-current="page"] {
	background: var(--otoya-ink);
	border-color: var(--otoya-ink);
	color: var(--otoya-page);
}

@media (max-width: 760px) {
	body .otoya-nav__menu .sub-menu {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}
