/*
Theme Name: JOGGO Store Full
Description: JOGGO page artboards, design states, and WooCommerce integration.
Version: 2.0.3
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: joggo-store-full
*/

:root {
	--ink: #252525;
	--muted: #555555;
	--paper: #ffffff;
	--sage: #f2f2f2;
	--line: #dddddd;
	--accent: #465d1c;
	--title: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.75;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.shell { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: absolute; left: 18px; top: -100px; z-index: 5; padding: 10px 18px; background: var(--paper); }
.skip-link:focus { top: 14px; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark { color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.055em; line-height: 1; white-space: nowrap; text-decoration: none; }
.wordmark__dot { color: var(--accent); }
.site-nav, .site-tools, .site-footer nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.site-nav a, .site-tools a, .site-footer nav a { text-decoration: none; font-size: 13px; white-space: nowrap; }
.site-nav a:hover, .site-tools a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-tools { gap: 16px; }
.site-tools__cart { border: 1px solid var(--ink); padding: 6px 12px; }
.site-tools__cart span { padding-left: 4px; }
.hero {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	margin-top: 34px;
	min-height: min(490px, 38vw);
	background: var(--sage);
}
.hero__copy {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 4.3vw, 68px);
}
.eyebrow { margin: 0; font-size: 11px; font-weight: 750; letter-spacing: .18em; line-height: 1.3; }
.hero h1, .section-header h2, .guide h2 {
	margin: 0;
	font-family: var(--title);
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.34;
}
.hero h1 { margin-top: 14px; font-size: clamp(29px, 3.75vw, 54px); }
.hero__intro { color: var(--muted); margin: 20px 0 24px; line-height: 1.9; font-size: clamp(13px, 1.14vw, 16px); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-height: 46px;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}
.button--primary { color: var(--paper); background: var(--ink); border: 1px solid var(--ink); }
.button--primary:hover { color: var(--ink); background: transparent; }
.text-link { font-size: 13px; font-weight: 650; text-underline-offset: 5px; white-space: nowrap; }
.text-link span { margin-left: 3px; }
.hero__visual { min-width: 0; height: 100%; margin: 0; }
.hero__visual img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 54% 50%; }
.collection { padding-block: 74px 78px; scroll-margin-top: 18px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.section-header h2, .guide h2 { font-size: clamp(23px, 2.9vw, 37px); }
.category-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card { min-width: 0; border: 1px solid var(--line); text-decoration: none; }
.category-card__photo { aspect-ratio: 1.95; overflow: hidden; background: var(--sage); }
.category-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.category-card--t-shirts img { transform: scale(2.15); transform-origin: 22% 88%; }
.category-card--tote-bags img { transform: scale(2); transform-origin: 86% 25%; }
.category-card--mugs img { transform: scale(2.7); transform-origin: 63% 97%; }
.category-card--t-shirts:hover img { transform: scale(2.25); }
.category-card--tote-bags:hover img { transform: scale(2.1); }
.category-card--mugs:hover img { transform: scale(2.8); }
.category-card__text { position: relative; padding: 18px 43px 20px 18px; }
.category-card__text h3 { font-size: 19px; margin: 4px 0; }
.category-card__text p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin: 0; }
.category-card__arrow { position: absolute; top: 22px; right: 17px; font-size: 18px; }
.guide { padding: 56px 0; background: var(--sage); }
.guide__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding-left: 23px; }
.guide li::marker { color: var(--accent); font-weight: 800; }
.guide li p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; min-height: 98px; gap: 22px; }
.site-footer nav { flex-wrap: wrap; }
.content { min-height: 55vh; padding-block: 46px 76px; }
.content h1, .woocommerce-products-header__title, .woocommerce div.product .product_title { font-family: var(--title); line-height: 1.35; }
.content article + article { margin-top: 36px; }
.woocommerce .woocommerce-ordering select, .woocommerce form .input-text { color: var(--ink); border: 1px solid var(--line); padding: 8px; background: white; }
.woocommerce ul.products li.product a img { background: var(--sage); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button:not(.is-link) { background: var(--ink); color: var(--paper); border-radius: 0; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover { background: #334c41; color: white; }

@media (max-width: 1000px) {
	.shell { width: calc(100% - 52px); }
	.site-tools__account { display: none; }
	.hero__copy { padding: 32px; }
}
@media (max-width: 680px) {
	.shell { width: calc(100% - 36px); }
	.site-header__inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 16px 10px; }
	.site-nav { grid-column: 1 / -1; grid-row: 2; gap: 19px; }
	.site-nav a, .site-tools a { font-size: 12px; }
	.site-tools { grid-column: 2; grid-row: 1; }
	.hero { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
	.hero__copy { padding: 29px 22px 27px; }
	.hero h1 { font-size: clamp(32px, 9vw, 49px); margin-top: 10px; }
	.hero__intro { margin: 13px 0 17px; }
	.desktop-only { display: none; }
	.hero__visual { height: auto; aspect-ratio: 1.42; }
	.collection { padding-block: 47px; }
	.section-header { align-items: start; flex-wrap: wrap; gap: 9px; }
	.category-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.category-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
	.category-card__photo { aspect-ratio: 1.05; }
	.category-card__text { align-self: center; padding: 11px 32px 11px 11px; }
	.category-card__text h3 { font-size: 16px; }
	.category-card__arrow { top: 11px; right: 10px; }
	.guide { padding-block: 35px; }
	.guide__inner, .guide ol { grid-template-columns: 1fr; gap: 14px; }
	.site-footer__inner { align-items: flex-start; flex-direction: column; padding-block: 23px; }
	.site-footer nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.category-card__photo img { transition: none; }
}
