/*
Theme Name: oJAYo
Theme URI: https://ojayo.com/
Author: oJAYo.com
Description: Minimal storefront theme for oJAYo.com books, built for WooCommerce.
Version: 1.0.9
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ojayo
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #1d1d1f;
	--ink-2: #424245;
	--muted: #6e6e73;
	--line: #d2d2d7;
	--line-2: #e8e8ed;
	--bg: #ffffff;
	--bg-alt: #f5f5f7;
	--blue: #0071e3;
	--blue-h: #0077ed;
	--link: #0066cc;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.08);
	--shadow-book: 0 2px 4px rgba(0,0,0,.08), 0 18px 40px -8px rgba(0,0,0,.28);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.01em;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.oj-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.oj-skip:focus { left: 12px; }
.oj-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.oj-narrow { max-width: 820px; }
.oj-center { text-align: center; }
.oj-ico { flex: none; }

/* ---------- Buttons & links ---------- */
.oj-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce-page .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	background: var(--blue); color: #fff !important;
	border: 0; border-radius: 980px;
	font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
	text-decoration: none !important; cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.oj-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--blue-h); color: #fff;
}
.woocommerce button.button.alt.disabled, .woocommerce button.button:disabled { background: #a1a1a6; }
.oj-btn-white { background: #fff; color: var(--blue) !important; }
.oj-btn-ghost { background: #fff; color: var(--blue) !important; box-shadow: inset 0 0 0 1px var(--blue); }
.oj-btn-ghost:hover { background: #f0f6ff; color: var(--blue) !important; }
.oj-sample-btn { width: 100%; min-height: 52px; margin-top: 12px; }
.oj-sample-btn .oj-ico { width: 20px; height: 20px; }
/* About and support pages */
.oj-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 8px 0 40px; }
.oj-stat { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; text-align: center; }
.oj-stat strong { display: block; font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.oj-stat span { color: var(--muted); font-size: 14px; }
.oj-steps { list-style: none; padding: 0 !important; counter-reset: s; }
.oj-steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px !important; }
.oj-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.oj-prose .wpcf7 { margin-top: 12px; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.oj-prose .wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.oj-prose .wpcf7 input:not([type=submit]), .oj-prose .wpcf7 select, .oj-prose .wpcf7 textarea { margin-top: 6px; font-weight: 400; }
.oj-prose .wpcf7 textarea { min-height: 150px; }
.oj-prose .wpcf7 input[type=submit] { background: var(--blue); color: #fff; border: 0; border-radius: 980px; min-height: 48px; padding: 0 28px; font-weight: 500; cursor: pointer; }
.oj-prose .wpcf7 input[type=submit]:hover { background: var(--blue-h); }
.oj-prose .wpcf7-response-output { border-radius: var(--radius-sm); margin: 16px 0 0 !important; }
@media (max-width: 640px) { .oj-stats { grid-template-columns: 1fr; } }
.oj-btn-white:hover { background: #f0f6ff; }
.oj-link { color: var(--link); font-size: 17px; }
.oj-more { color: var(--link); white-space: nowrap; font-size: 17px; }

/* ---------- Promo bar ---------- */
.oj-promo { background: #1d1d1f; color: #e8e8ed; font-size: 13px; text-align: center; }
.oj-promo p { margin: 0; padding: 9px 22px; }
.oj-promo a { color: #2997ff; }

/* ---------- Header ---------- */
.oj-nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.82);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}
.admin-bar .oj-nav { top: 32px; }
.oj-nav.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }
.oj-nav-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.oj-logo { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none !important; }
.oj-logo .oj-mark { width: 28px; height: 28px; flex: none; display: block; filter: drop-shadow(0 1px 2px rgba(252,5,34,.25)); }
.oj-logo span { padding-top: 1px; }
.oj-menu { flex: 1; }
.oj-menu-list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; justify-content: center; }
.oj-menu-list a { color: var(--ink-2); font-size: 14px; text-decoration: none; opacity: .9; }
.oj-menu-list a:hover, .oj-menu-list .current-menu-item a { color: var(--ink); opacity: 1; }
.oj-icons { display: flex; align-items: center; gap: 4px; }
.oj-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink-2);
	border-radius: 50%; cursor: pointer; text-decoration: none !important;
}
.oj-icon-btn:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.oj-menu-toggle { display: none; }
.oj-bag-count {
	position: absolute; right: 3px; bottom: 5px;
	min-width: 17px; height: 17px; padding: 0 4px;
	background: var(--ink); color: #fff; border-radius: 9px;
	font-size: 11px; font-weight: 600; line-height: 17px; text-align: center;
}
.oj-bag-count.is-empty { display: none; }
.oj-search { border-top: 1px solid var(--line-2); background: rgba(255,255,255,.96); padding: 16px 0 20px; }
.oj-search form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.oj-search label { position: absolute; left: -9999px; }
.oj-search input[type="search"] { flex: 1; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 14px;
	color: var(--ink); background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.oj-search button, .woocommerce-product-search button {
	min-height: 44px; padding: 0 20px; border: 0; border-radius: 980px; background: var(--blue); color: #fff; cursor: pointer; font-weight: 500;
}

/* ---------- Type ---------- */
.oj-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.oj-eyebrow-blue { color: var(--blue); }
.oj-eyebrow-lg { font-size: 13px; color: var(--blue); }
.oj-display { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 18px; }
.oj-lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.4; color: var(--ink-2); max-width: 640px; margin: 0 auto 28px; }
.oj-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 8px; }
.oj-sub { font-size: 19px; color: var(--muted); margin: 0; max-width: 640px; }
.oj-caption { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 22px; }

/* ---------- Sections ---------- */
.oj-sec { padding: 88px 0; }
.oj-sec-tight { padding: 40px 0 96px; }
.oj-bg-alt { background: var(--bg-alt); }
.oj-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }

/* ---------- Hero ---------- */
.oj-hero { padding: 72px 0 56px; text-align: center; overflow: hidden; }
.oj-cta-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; }
.oj-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.oj-trust li { display: inline-flex; align-items: center; gap: 7px; }
.oj-trust .oj-ico { width: 18px; height: 18px; color: var(--ink-2); }
.oj-trust-center { justify-content: center; }

.oj-fan { position: relative; height: 470px; max-width: 980px; margin: 54px auto 0; }
.oj-fan-book { position: absolute; bottom: 30px; left: 50%; display: block; border-radius: 6px 10px 10px 6px; overflow: hidden; box-shadow: var(--shadow-book); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.oj-fan-book img { display: block; width: 100%; height: auto; }
.oj-fan-book::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18) 0, rgba(255,255,255,.12) 2.5%, rgba(255,255,255,0) 6%); pointer-events: none; }
.oj-fan-2 { width: 270px; z-index: 5; transform: translateX(-50%) translateY(-10px); }
.oj-fan-1 { width: 220px; z-index: 4; transform: translateX(-122%) rotate(-5deg); }
.oj-fan-3 { width: 220px; z-index: 4; transform: translateX(22%) rotate(5deg); }
.oj-fan-0 { width: 185px; z-index: 3; transform: translateX(-222%) translateY(16px) rotate(-10deg); }
.oj-fan-4 { width: 185px; z-index: 3; transform: translateX(122%) translateY(16px) rotate(10deg); }
.oj-fan:hover .oj-fan-2 { transform: translateX(-50%) translateY(-20px); }

/* ---------- Chips ---------- */
.oj-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.oj-chips-center { justify-content: center; margin-top: 6px; padding: 0 22px; }
.oj-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 980px;
	background: #fff; border: 1px solid var(--line);
	color: var(--ink); font-size: 14px; text-decoration: none !important;
	transition: border-color .15s, background .15s;
}
.oj-chip span { color: var(--muted); font-size: 12px; }
.oj-chip:hover { border-color: var(--ink); }
.oj-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.oj-chip.is-on span { color: #c7c7cc; }

/* ---------- Product grid & cards ---------- */
.woocommerce ul.products, ul.products.oj-grid, ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 28px;
	list-style: none; margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product, ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; text-align: left;
}
.oj-card-link { display: block; color: inherit; text-decoration: none !important; }
.oj-cover {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1; padding: 11% 18%;
	background: var(--bg-alt); border-radius: var(--radius);
	margin-bottom: 14px; transition: background .25s ease;
}
.oj-bg-alt .oj-cover { background: #fff; }
.oj-cover img, .woocommerce ul.products li.product .oj-cover img {
	width: auto !important; height: 100% !important; max-width: 100%; object-fit: contain; margin: 0 !important;
	border-radius: 3px 6px 6px 3px; box-shadow: var(--shadow-book);
	transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.oj-card-link:hover .oj-cover img { transform: translateY(-6px); }
.oj-card .oj-eyebrow { font-size: 11px; margin-bottom: 4px; }
.oj-card-title { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; color: var(--ink); }
.oj-card-link:hover .oj-card-title { color: var(--link); }
.oj-card-meta { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.oj-card-meta .oj-price, .oj-card-meta .amount { color: var(--ink); font-weight: 500; }
.woocommerce ul.products li.product .onsale { display: none; }

/* ---------- Tiles ---------- */
.oj-tiles { display: grid; gap: 18px; margin-top: 40px; }
.oj-tiles-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.oj-tiles-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.oj-tile { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 24px 26px; }
.oj-tile .oj-ico { width: 28px; height: 28px; color: var(--blue); margin-bottom: 18px; }
.oj-tile h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.015em; }
.oj-tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.oj-tiles-plain .oj-tile { background: transparent; padding: 0 8px; text-align: center; }
.oj-tiles-plain .oj-ico { margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */
.oj-faq { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 6px 28px; }
.oj-faq details { border-bottom: 1px solid var(--line-2); }
.oj-faq details:last-child { border-bottom: 0; }
.oj-faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.oj-faq summary::-webkit-details-marker { display: none; }
.oj-faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 26px; color: var(--muted); transition: transform .2s; }
.oj-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.oj-faq details p { color: var(--ink-2); margin: -6px 0 22px; max-width: 680px; }

/* ---------- Author ---------- */
.oj-author { display: flex; align-items: center; gap: 44px; max-width: 900px; }
.oj-team-mark { flex: none; width: 148px; height: 148px; }
.oj-mark-lg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(252,5,34,.35)); }
.oj-monogram {
	flex: none; width: 148px; height: 148px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 30% 25%, #3b8cff, #0a3fae 70%);
	color: #fff; font-size: 52px; font-weight: 700; letter-spacing: -0.04em;
	box-shadow: 0 18px 40px -12px rgba(10,63,174,.55);
}

/* ---------- Team band ---------- */
.oj-band {
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
	padding: 44px 48px; border-radius: 24px; color: #fff;
	background: linear-gradient(120deg, #0a3fae 0%, #0071e3 55%, #3b8cff 100%);
}
.oj-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 6px; }
.oj-band p { margin: 0; color: rgba(255,255,255,.85); }
.oj-band .oj-eyebrow { color: rgba(255,255,255,.75); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.oj-footer { background: var(--bg-alt); color: var(--muted); font-size: 13px; padding: 56px 0 30px; border-top: 1px solid var(--line-2); }
.oj-foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.oj-foot-brand p { margin-top: 12px; max-width: 300px; line-height: 1.5; }
.oj-footer h2 { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin: 4px 0 12px; }
.oj-footer ul { list-style: none; margin: 0; padding: 0; }
.oj-footer li { margin-bottom: 9px; }
.oj-footer a { color: var(--ink-2); }
.oj-foot-legal { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; }
.oj-foot-legal p { margin: 0; }
.oj-foot-legal p:last-child { max-width: 560px; text-align: right; }

/* ---------- Pages ---------- */
.oj-page { padding-top: 56px; padding-bottom: 96px; }
.oj-page-title { font-size: clamp(36px, 4.8vw, 56px); letter-spacing: -0.035em; font-weight: 700; margin: 0 0 32px; }
.oj-page-read { max-width: 800px; }
.oj-prose { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.oj-prose h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.oj-prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.oj-prose ul, .oj-prose ol { padding-left: 1.3em; }
.oj-prose li { margin-bottom: .4em; }
.oj-prose strong { color: var(--ink); }
.oj-404 { text-align: left; }

/* ---------- Shop archive ---------- */
.oj-archive { padding-top: 48px; padding-bottom: 96px; }
.oj-archive .page-title, .woocommerce-products-header__title { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.035em; font-weight: 700; margin: 0 0 22px; }
.term-description { color: var(--muted); font-size: 19px; max-width: 700px; margin-bottom: 20px; }
.oj-archive .woocommerce-result-count { float: none; margin: 0; color: var(--muted); font-size: 14px; display: inline-block; }
.oj-archive .woocommerce-ordering { float: right; margin: -8px 0 28px; }
.oj-archive .woocommerce-ordering select { width: auto; min-height: 38px; padding: 6px 34px 6px 14px; border-radius: 980px; font-size: 14px; }
.oj-archive ul.products { clear: both; }
.woocommerce nav.woocommerce-pagination { margin-top: 56px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; max-width: 100%; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; padding: 0 12px; line-height: 40px; border-radius: 980px; font-size: 15px; color: var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--bg-alt); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border: 0 !important; border-radius: var(--radius-sm); background: var(--bg-alt) !important; color: var(--ink) !important; padding: 16px 20px 16px 52px !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue) !important; top: 16px !important; }
.woocommerce-error::before { top: 16px !important; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 36px; padding: 6px 16px; font-size: 14px; }

/* ---------- Single book ---------- */
.oj-single { padding-top: 22px; padding-bottom: 96px; }
.oj-crumbs, .woocommerce .oj-crumbs { font-size: 13px; color: var(--muted); margin: 0 0 26px; }
.oj-crumbs a { color: var(--muted); }
.oj-crumbs .sep { margin: 0 8px; color: #a1a1a6; }
.woocommerce div.product {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 64px; align-items: start;
}
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images.woocommerce-product-gallery, .woocommerce div.product div.images {
	grid-column: 1; width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important;
	background: var(--bg-alt); border-radius: 28px; padding: 8% 16%;
}
.woocommerce div.product div.images img { border-radius: 4px 8px 8px 4px; box-shadow: var(--shadow-book); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { display: none; }
.woocommerce div.product div.summary {
	grid-column: 2; width: 100% !important; float: none !important; margin: 0 !important; padding-top: 10px;
}
.woocommerce div.product .product_title { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 10px; }
.oj-byline { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin-bottom: 24px; }
.woocommerce div.product form.cart { margin: 0 0 10px !important; display: flex; flex-direction: column; gap: 12px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { content: none; }
.woocommerce div.product form.cart .quantity { display: none !important; }
.woocommerce div.product form.cart .button { width: 100%; min-height: 52px; font-size: 17px; float: none; margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button::before { content: none; }
.single-product .oj-trust { margin: 18px 0 26px; flex-direction: column; gap: 10px; font-size: 14px; }
.oj-details { margin: 0; border-top: 1px solid var(--line-2); }
.oj-details div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.oj-details dt { color: var(--muted); }
.oj-details dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Tabs as clean sections */
.woocommerce div.product .woocommerce-tabs { margin-top: 88px; padding-top: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex; justify-content: center; gap: 4px; padding: 4px !important; margin: 0 auto 44px !important;
	background: var(--bg-alt); border-radius: 980px; width: fit-content; overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: transparent !important; margin: 0 !important; padding: 0 !important; border-radius: 980px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 20px !important; font-size: 14px; font-weight: 500 !important; color: var(--ink-2) !important; border-radius: 980px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff !important; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0 auto !important; font-size: 17px; line-height: 1.62; color: var(--ink-2); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 30px; margin: 1.6em 0 .55em; color: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.woocommerce div.product .woocommerce-tabs .panel > p:first-child strong { font-size: 21px; line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.woocommerce div.product .woocommerce-tabs .panel ul { padding-left: 1.2em; }
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: .45em; }
.woocommerce div.product .woocommerce-tabs .panel strong { color: var(--ink); }

/* Related */
.woocommerce div.product .related.products, .woocommerce div.product .upsells.products { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line-2); }
.related.products > h2, .upsells.products > h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; font-weight: 700; margin: 0 0 32px; }

/* Reviews */
#reviews .comment-reply-title { font-size: 21px; font-weight: 600; }
#reviews textarea { min-height: 120px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #f5a623; }

/* ---------- Bag, checkout, account ---------- */
.oj-page-wide .oj-page-title { margin-bottom: 36px; }
.oj-store-page { font-size: 16px; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--blue) !important; color: #fff !important; border: 0 !important; border-radius: 980px !important;
	min-height: 50px; font-weight: 500 !important; font-size: 17px !important; box-shadow: none !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--blue-h) !important; }
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--line-2) !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar, .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
	background: var(--bg-alt); border-radius: var(--radius); padding: 24px !important;
}
.wc-block-cart-items th, .wc-block-cart .wc-block-cart__totals-title { font-size: 12px !important; letter-spacing: .06em; color: var(--muted) !important; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 3px 5px 5px 3px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.wc-block-components-product-name { font-weight: 600 !important; color: var(--ink) !important; font-size: 17px !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select .wc-blocks-components-select__select {
	border-radius: var(--radius-sm) !important; border-color: var(--line) !important;
}
.wc-block-checkout__actions_row a, .wc-block-components-checkout-return-to-cart-button { color: var(--link) !important; }
.wc-block-components-quantity-selector { display: none !important; }
.wp-block-woocommerce-empty-cart-block h2 { font-size: 28px; }

.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 48px; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 520px; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password {
	border: 0 !important; background: var(--bg-alt); border-radius: var(--radius); padding: 28px !important; margin: 0 0 24px !important;
}
.woocommerce form .form-row label { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.woocommerce form .form-row .input-text { border-radius: var(--radius-sm); }
.woocommerce table.shop_table { border: 1px solid var(--line-2) !important; border-radius: var(--radius-sm) !important; border-collapse: separate !important; font-size: 15px; }
.woocommerce table.shop_table th { font-weight: 600; color: var(--ink); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line-2) !important; padding: 14px 16px !important; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-thankyou-order-received { font-size: 21px; font-weight: 600; }

/* ---------- Blog ---------- */
.oj-blog { padding-top: 48px; padding-bottom: 96px; }
.oj-blog-head { margin-bottom: 36px; }
.oj-blog-head .oj-page-title { margin-bottom: 10px; }
.oj-blog-head .oj-sub { margin-bottom: 24px; }
.oj-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 28px; }
.oj-post-card-link { display: block; color: inherit; text-decoration: none !important; }
.oj-post-thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); margin-bottom: 14px; }
.oj-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.oj-post-card-link:hover .oj-post-thumb img { transform: scale(1.03); }
.oj-post-card h2 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.oj-post-card-link:hover h2 { color: var(--link); }
.oj-post-card p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.oj-post-card .oj-more { font-size: 15px; }
.oj-article-head { max-width: 860px; padding-top: 40px; }
.oj-article-title { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 16px; }
.oj-article-lead { margin: 0 0 14px !important; text-align: left; max-width: 760px; }
.oj-article-meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.oj-article-body { max-width: 860px; padding-bottom: 96px; font-size: 18px; }
.oj-article-body h2 { font-size: 32px; margin: 1.7em 0 .5em; }
.oj-article-body h3 { font-size: 22px; }
.oj-article-body table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1em 0 1.6em; }
.oj-article-body th, .oj-article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.oj-article-body th { color: var(--ink); background: var(--bg-alt); }
.oj-article-body figure { margin: 1.6em 0; }
.oj-article-body .oj-callout { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 24px; margin: 1.4em 0; }
.oj-article-body .oj-callout p:last-child { margin-bottom: 0; }
.oj-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 0 0 32px; box-shadow: var(--shadow); }
.oj-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-embed { margin: 0 0 32px; }
.wp-block-embed__wrapper { position: relative; }
.oj-books-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.oj-books-block h2 { margin-top: 0 !important; }
ul.products.oj-grid-sm { grid-template-columns: repeat(3, minmax(0,1fr)); }
.oj-prose ul.products { padding: 0 !important; }
.oj-prose .oj-card-title { font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
	.oj-menu-list { gap: 18px; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.oj-tiles-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.oj-fan { height: 400px; transform: scale(.86); transform-origin: 50% 100%; margin-top: 30px; }
}
@media (max-width: 860px) {
	.oj-post-grid { grid-template-columns: 1fr 1fr; }
	.oj-menu-toggle { display: inline-flex; }
	.oj-nav-in { gap: 8px; }
	.oj-logo { margin-right: auto; }
	.oj-menu { display: none; position: absolute; left: 0; right: 0; top: 56px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line-2); padding: 8px 22px 18px; }
	.oj-menu-open .oj-menu { display: block; }
	.oj-menu-list { flex-direction: column; gap: 0; }
	.oj-menu-list a { display: block; padding: 12px 0; font-size: 19px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { position: static; grid-column: 1; margin-bottom: 30px !important; padding: 10% 22%; }
	.woocommerce div.product div.summary { grid-column: 1; }
	.oj-foot-cols { grid-template-columns: 1fr 1fr; }
	.oj-foot-brand { grid-column: 1 / -1; }
	.oj-foot-legal { flex-direction: column; }
	.oj-foot-legal p:last-child { text-align: left; }
	.oj-band { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
	.oj-author { flex-direction: column; align-items: flex-start; gap: 24px; }
	.oj-team-mark { flex: none; width: 148px; height: 148px; }
.oj-mark-lg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(252,5,34,.35)); }
.oj-monogram { width: 104px; height: 104px; font-size: 38px; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; }
	.oj-tiles-3 { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 782px) {
	.admin-bar .oj-nav { top: 46px; }
}
@media (max-width: 640px) {
	.oj-post-grid { grid-template-columns: 1fr; }
	ul.products.oj-grid-sm { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.oj-article-body { font-size: 17px; }
	body { font-size: 16px; }
	.oj-wrap { padding: 0 18px; }
	.oj-sec { padding: 64px 0; }
	.oj-hero { padding-top: 48px; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 14px; }
	.oj-card-title { font-size: 15px; }
	.oj-card-meta { flex-direction: column; gap: 2px; font-size: 13px; }
	.oj-sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
	.oj-tiles-4 { grid-template-columns: 1fr; }
	.oj-fan { height: 450px; transform: scale(.68); transform-origin: 50% 100%; margin: -96px auto 0; }
	.oj-fan-0, .oj-fan-4 { display: none; }
	.oj-fan-1 { transform: translateX(-112%) rotate(-5deg); }
	.oj-fan-3 { transform: translateX(12%) rotate(5deg); }
	.oj-faq { padding: 2px 18px; }
	.oj-faq summary { font-size: 17px; }
	.oj-archive .woocommerce-ordering { float: none; margin: 12px 0 24px; }
	.oj-promo { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
