/*
Theme Name: 710 Golf
Theme URI: https://710golfshop.com
Author: 710 Golf
Description: Custom classic-golf theme for the 710 Golf online shop. Greens, cream and sand, Fraunces + Figtree, built for WooCommerce.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 710golf
WC requires at least: 8.0
*/

:root {
	--g-green: #1F4D36;
	--g-green-dark: #133024;
	--g-cream: #F6F3EA;
	--g-ink: #1C2420;
	--g-muted: #4A544E;
	--g-muted-2: #56605A;
	--g-body: #3A443E;
	--g-line: #DCD3BD;
	--g-line-2: #E6DCC4;
	--g-sand: #E3D8BE;
	--g-sand-light: #EFE8D6;
	--g-input-line: #BFB392;
	--g-input-bg: #FBFAF5;
	--g-white: #FFFFFF;
	--g-foot-text: #C9D2C8;
	--g-foot-line: #2F5A45;
	--g-foot-small: #A9B6AC;
	--g-serif: 'Fraunces', Georgia, serif;
	--g-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--g-gutter: 80px;
	--g-max: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--g-ink);
	background: var(--g-cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-green); }
a:hover { color: var(--g-green-dark); }
input, textarea, select, button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--g-serif); font-weight: 500; letter-spacing: -0.01em; color: var(--g-ink); }
:focus-visible { outline: 2px solid var(--g-green); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0;
	top: 8px; left: 8px; z-index: 100000; padding: 12px 20px;
	background: var(--g-white); color: var(--g-green); font-weight: 600; border-radius: 8px;
}

.wrap { width: 100%; max-width: calc(var(--g-max) + 2 * var(--g-gutter)); margin: 0 auto; padding: 0 var(--g-gutter); }

.eyebrow {
	font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-green);
}
.kicker {
	font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-muted-2);
}
.section-title { margin: 0; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head__text { display: flex; flex-direction: column; gap: 10px; }
.link-arrow { font-size: 16px; font-weight: 600; }

.placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
	background: var(--g-sand-light); color: var(--g-muted-2);
	font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 56px; padding: 0 32px; border-radius: 28px;
	font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
	border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--g-green); color: var(--g-white); border-color: var(--g-green); }
.btn--primary:hover { background: var(--g-green-dark); border-color: var(--g-green-dark); color: var(--g-white); }
.btn--outline { background: transparent; color: var(--g-ink); border-color: var(--g-ink); }
.btn--outline:hover { background: var(--g-ink); color: var(--g-white); }
.btn--small { min-height: 48px; padding: 0 24px; border-radius: 24px; font-size: 16px; }

/* ---------- Announcement + header ---------- */
.announce {
	min-height: 40px; padding: 8px 20px; display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--g-green-dark); color: var(--g-cream); font-size: 14px; letter-spacing: 0.04em;
}
.site-header { background: var(--g-cream); border-bottom: 1px solid var(--g-line); position: relative; z-index: 50; }
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--g-green); flex-shrink: 0; }
.brand:hover { color: var(--g-green-dark); }
.brand__num { font-family: var(--g-serif); font-size: 34px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand__word { font-size: 15px; font-weight: 600; letter-spacing: 0.32em; }
.brand img { max-height: 56px; width: auto; }

.main-nav { flex-grow: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.main-nav a { color: var(--g-ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 6px 0; display: inline-block; }
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-parent > a { color: var(--g-green); }
.main-nav .sub-menu { display: none; }

.header-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.icon-btn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 0; border-radius: 22px; color: var(--g-ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--g-sand-light); color: var(--g-ink); }
.cart-btn {
	height: 44px; padding: 0 14px; display: inline-flex; gap: 8px; align-items: center;
	background: var(--g-green); color: var(--g-white); border-radius: 22px;
	font-size: 15px; font-weight: 600; text-decoration: none;
}
.cart-btn:hover { background: var(--g-green-dark); color: var(--g-white); }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--g-line); background: var(--g-cream); padding: 20px 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 12px; max-width: 720px; }
.search-form input[type="search"] {
	flex-grow: 1; min-height: 50px; padding: 0 16px; font-size: 16px;
	border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg); color: var(--g-ink);
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0; }
.hero__grid { min-height: 540px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__title { margin: 0; font-size: clamp(46px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.02em; white-space: pre-line; }
.hero__lede { margin: 0; max-width: 480px; font-size: 20px; line-height: 1.6; color: var(--g-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero__media { height: 540px; border-radius: 20px; overflow: hidden; background: var(--g-sand); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media.placeholder { background: var(--g-sand); font-size: 14px; letter-spacing: 0.12em; }

/* ---------- Categories ---------- */
.cats { padding: 72px 0 80px; background: var(--g-white); }
.cats .wrap { display: flex; flex-direction: column; gap: 40px; }
.cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.cat-tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--g-ink); }
.cat-tile:hover { color: var(--g-green); }
.cat-tile__img { height: 220px; border-radius: 14px; overflow: hidden; background: var(--g-sand-light); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover .cat-tile__img img { transform: scale(1.04); }
.cat-tile__name { font-size: 18px; font-weight: 600; }

/* ---------- Products ---------- */
.featured { padding: 80px 0; }
.featured .wrap { display: flex; flex-direction: column; gap: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card {
	display: flex; flex-direction: column; gap: 14px; padding: 16px;
	background: var(--g-white); border: 1px solid var(--g-line); border-radius: 16px;
}
.product-card__img { display: block; height: 280px; border-radius: 10px; overflow: hidden; background: var(--g-sand-light); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.product-card__meta { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g-muted-2); }
.product-card__name { font-size: 18px; font-weight: 600; color: var(--g-ink); text-decoration: none; }
.product-card__name:hover { color: var(--g-green); }
.product-card__price { font-size: 17px; color: var(--g-muted); }
.product-card__price del { opacity: .6; margin-right: 6px; }
.product-card__price ins { text-decoration: none; }
.product-card .button,
.product-card .added_to_cart {
	display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 24px;
	border: 1.5px solid var(--g-green); background: transparent; color: var(--g-green);
	font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center;
}
.product-card .button:hover,
.product-card .button.added { background: var(--g-green); color: var(--g-white); }
.product-card .button.loading { opacity: .6; }
.product-card .added_to_cart { border: 0; min-height: 32px; font-size: 14px; }

/* ---------- Brands ---------- */
.brands { padding: 56px 0; background: var(--g-white); border-top: 1px solid var(--g-line-2); border-bottom: 1px solid var(--g-line-2); }
.brands .wrap { display: flex; flex-direction: column; gap: 28px; }
.brands__label { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-muted-2); }
.brands__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.brand-slot {
	min-height: 72px; padding: 8px 12px; border: 1px dashed #CDBE98; border-radius: 10px;
	display: flex; align-items: center; justify-content: center; text-align: center;
	color: var(--g-muted-2); font-size: 15px; font-weight: 600;
}

/* ---------- Story ---------- */
.story { padding: 96px 0; }
.story__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.story__media { height: 440px; border-radius: 20px; overflow: hidden; background: var(--g-sand); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media.placeholder { background: var(--g-sand); font-size: 14px; letter-spacing: 0.12em; }
.story__text { display: flex; flex-direction: column; gap: 22px; }
.story__text p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--g-body); }
.story__text .link-arrow { align-self: flex-start; font-size: 17px; }

/* ---------- Journal ---------- */
.journal { padding: 80px 0; background: var(--g-white); }
.journal .wrap { display: flex; flex-direction: column; gap: 40px; }
.journal__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.post-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--g-ink); }
.post-card:hover { color: var(--g-ink); }
.post-card:hover .post-card__title { color: var(--g-green); }
.post-card__img { height: 200px; border-radius: 16px; overflow: hidden; background: var(--g-sand-light); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-family: var(--g-serif); font-size: 24px; line-height: 1.2; font-weight: 500; }
.post-card__excerpt { font-size: 17px; line-height: 1.6; color: var(--g-muted); }
.post-card--lead { gap: 18px; }
.post-card--lead .post-card__img { height: 320px; background: var(--g-green); }
.post-card--lead .post-card__img.placeholder { color: #E6DCC4; font-size: 13px; letter-spacing: 0.12em; }
.post-card--lead .post-card__title { font-size: 32px; line-height: 1.15; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.contact__intro { display: flex; flex-direction: column; gap: 22px; }
.contact__intro p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--g-body); }
.contact-card { padding: 40px; background: var(--g-white); border: 1px solid var(--g-line); border-radius: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field input, .field textarea {
	min-height: 50px; padding: 0 16px; font-size: 16px; color: var(--g-ink);
	border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg); font-weight: 400;
}
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--g-green); outline-offset: 0; border-color: var(--g-green); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { align-self: flex-start; min-height: 54px; padding: 0 36px; border-radius: 27px; }
.form-error { margin: 0; padding: 14px 16px; border-radius: 10px; background: #F8E5DF; color: #7A2A14; font-size: 15px; }
.contact-sent { min-height: 380px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.contact-sent__title { font-family: var(--g-serif); font-size: 32px; font-weight: 500; }
.contact-sent p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--g-muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 48px; background: var(--g-green-dark); color: #E9E3D2; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand, .footer-brand .brand:hover { color: var(--g-white); }
.footer-brand p { margin: 0; max-width: 320px; font-size: 16px; line-height: 1.6; color: var(--g-foot-text); }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-col__title { font-weight: 600; color: var(--g-white); font-family: var(--g-sans); font-size: 16px; margin: 0; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--g-foot-text); text-decoration: none; }
.footer-col a:hover { color: var(--g-white); text-decoration: underline; }
.footer-bottom {
	padding-top: 24px; border-top: 1px solid var(--g-foot-line);
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--g-foot-small);
}

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0 32px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { margin: 0; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.page-hero p { margin: 0; font-size: 20px; color: var(--g-muted); max-width: 720px; }
.page-body { padding: 16px 0 96px; }

.prose { max-width: 760px; margin: 0 auto; font-size: 19px; line-height: 1.75; color: #2C3530; }
.prose > * { margin-top: 0; margin-bottom: 24px; }
.prose h2 { font-size: 34px; line-height: 1.2; margin-top: 48px; margin-bottom: 16px; }
.prose h3 { font-size: 26px; line-height: 1.25; margin-top: 40px; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--g-sand); font-family: var(--g-serif); font-size: 24px; color: var(--g-ink); }
.prose img, .prose figure { border-radius: 14px; }
.prose .alignwide { max-width: 1120px; margin-left: 50%; transform: translateX(-50%); width: 1120px; }
.prose .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.prose a { text-underline-offset: 3px; }
.prose .wp-block-button__link { background: var(--g-green); color: var(--g-white); border-radius: 28px; padding: 14px 28px; font-weight: 600; text-decoration: none; }
.prose--wide { max-width: var(--g-max); }

/* Article */
.article { padding: 72px 0 96px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.article__head { width: 100%; max-width: 760px; padding: 0 20px; display: flex; flex-direction: column; gap: 22px; box-sizing: content-box; }
.article__back { font-size: 15px; font-weight: 600; text-decoration: none; }
.article__title { margin: 0; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.article__lede { margin: 0; font-size: 22px; line-height: 1.55; color: var(--g-muted); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 15px; color: var(--g-muted-2); }
.article__meta strong { color: var(--g-ink); }
.article__meta img { width: 44px; height: 44px; border-radius: 22px; }
.article__media { width: 100%; max-width: 1120px; padding: 0 20px; box-sizing: content-box; }
.article__media > div { height: 560px; border-radius: 20px; overflow: hidden; background: var(--g-green); }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__body { width: 100%; padding: 0 20px; }
.article__shop {
	width: 100%; max-width: 760px; padding: 32px; display: flex; gap: 28px; align-items: center;
	background: var(--g-white); border: 1px solid var(--g-line); border-radius: 20px;
}
.article__shop-img { width: 160px; height: 160px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--g-sand-light); }
.article__shop-img img { width: 100%; height: 100%; object-fit: cover; }
.article__shop-text { display: flex; flex-direction: column; gap: 12px; }
.article__shop-title { font-family: var(--g-serif); font-size: 26px; font-weight: 500; }
.article__shop-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--g-muted); }
.article__shop .btn { align-self: flex-start; }
.article__nav { width: 100%; max-width: 760px; display: flex; justify-content: space-between; gap: 24px; font-weight: 600; }

/* Archive / blog index */
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.archive-grid .post-card__img { height: 240px; }
.pagination { margin-top: 56px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--g-line); border-radius: 22px; text-decoration: none; color: var(--g-ink); background: var(--g-white);
}
.pagination .page-numbers.current { background: var(--g-green); border-color: var(--g-green); color: var(--g-white); }
.empty-state { padding: 48px; text-align: center; background: var(--g-white); border: 1px solid var(--g-line); border-radius: 20px; }

/* ---------- WooCommerce ---------- */
.woo-main { padding: 56px 0 96px; }
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--g-muted-2); margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--g-muted-2); }
.woocommerce-products-header__title.page-title,
.woocommerce div.product .product_title { font-family: var(--g-serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; margin: 0 0 16px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important;
	display: flex; flex-direction: column; gap: 10px; padding: 16px;
	background: var(--g-white); border: 1px solid var(--g-line); border-radius: 16px;
}
.woocommerce ul.products li.product a img { border-radius: 10px; margin: 0 0 6px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--g-sand-light); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--g-sans); font-size: 18px; font-weight: 600; padding: 0; color: var(--g-ink); }
.woocommerce ul.products li.product .price { color: var(--g-muted); font-size: 17px; margin: 0; }
.woocommerce ul.products li.product .button { margin-top: auto; }
.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 {
	background: var(--g-green); color: var(--g-white); border-radius: 24px; padding: 14px 26px;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--g-green-dark); color: var(--g-white); }
.woocommerce ul.products li.product .button { background: transparent; color: var(--g-green); border: 1.5px solid var(--g-green); }
.woocommerce ul.products li.product .button:hover { background: var(--g-green); color: var(--g-white); }
.woocommerce span.onsale { background: var(--g-green); border-radius: 20px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.6; font-weight: 600; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--g-green); font-size: 24px; }
.woocommerce div.product div.images img { border-radius: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--g-sand-light); border-color: var(--g-line); border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--g-cream); }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--g-green); background: var(--g-white); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--g-green); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 48px; padding: 10px 14px; border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg);
}
.woocommerce .woocommerce-ordering select { min-height: 44px; padding: 0 12px; border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: 1px solid var(--g-line); border-radius: 22px; min-width: 44px; padding: 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--g-green); color: var(--g-white); }
.wc-block-components-button:not(.is-link) { background: var(--g-green); color: var(--g-white); border-radius: 28px; }
.wc-block-components-button:not(.is-link):hover { background: var(--g-green-dark); color: var(--g-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	:root { --g-gutter: 40px; }
	.site-header__inner { gap: 28px; }
	.main-nav ul { gap: 8px 22px; }
	.cats__grid, .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--g-cream); border-bottom: 1px solid var(--g-line); padding: 8px var(--g-gutter) 20px;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--g-line-2); }
	.hero__grid, .story__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
	.hero__media { height: 420px; order: -1; }
	.hero__grid { min-height: 0; }
	.story__media { height: 360px; }
	.journal__grid { grid-template-columns: 1fr 1fr; }
	.post-card--lead { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article__media > div { height: 420px; }
}

@media (max-width: 640px) {
	:root { --g-gutter: 16px; }
	body { font-size: 16px; }
	.site-header__inner { min-height: 68px; gap: 12px; }
	.brand__num { font-size: 28px; }
	.brand__word { font-size: 13px; }
	.header-actions { gap: 2px; }
	.header-actions .icon-btn--account { display: none; }
	.hero { padding: 24px 0 56px; }
	.hero__media { height: 280px; }
	.hero__lede { font-size: 18px; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.cats, .featured, .journal { padding: 56px 0; }
	.story, .contact { padding: 64px 0; }
	.cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.cat-tile__img { height: 150px; }
	.brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-grid, .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
	.product-card { padding: 10px; gap: 10px; }
	.product-card__img { height: 180px; }
	.product-card__name { font-size: 16px; }
	.woocommerce ul.products li.product { padding: 10px; }
	.journal__grid, .archive-grid { grid-template-columns: 1fr; }
	.post-card--lead .post-card__img { height: 240px; }
	.post-card--lead .post-card__title { font-size: 26px; }
	.story__media { height: 260px; }
	.contact-card { padding: 22px; }
	.contact-form__row { grid-template-columns: 1fr; }
	.contact-form .btn { align-self: stretch; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer { padding: 56px 0 36px; }
	.prose { font-size: 18px; }
	.prose h2 { font-size: 28px; }
	.article { padding: 40px 0 64px; gap: 32px; }
	.article__lede { font-size: 19px; }
	.article__media > div { height: 260px; }
	.article__shop { flex-direction: column; align-items: flex-start; padding: 22px; }
	.article__shop-img { width: 100%; height: 180px; }
	.page-hero { padding: 48px 0 24px; }
}

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

/* ---------- Additions ---------- */
.custom-logo-link { display: inline-flex; flex-shrink: 0; }
.custom-logo-link img { max-height: 56px; width: auto; }
.prose > p:first-child:has(> em:only-child) { font-size: 22px; line-height: 1.55; color: var(--g-muted); }
.prose > p:first-child:has(> em:only-child) em { font-style: normal; }
.article__meta .avatar { border-radius: 22px; }
.article__nav a { text-decoration: none; }
.product-card__img, .cat-tile, .post-card { text-decoration: none; }
.brands__label { margin: 0; font-family: var(--g-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; }
.comment-respond, .comments-area { margin-top: 24px; font-size: 17px; }
.comment-form { display: flex; flex-direction: column; gap: 16px; }
.comment-form p { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.comment-form label { font-size: 15px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	min-height: 50px; padding: 12px 16px; font-size: 16px; border: 1px solid var(--g-input-line); border-radius: 10px; background: var(--g-input-bg); width: 100%;
}
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; }
.comment-form input[type="submit"] { align-self: flex-start; min-height: 48px; padding: 0 28px; border: 0; border-radius: 24px; background: var(--g-green); color: var(--g-white); font-size: 16px; font-weight: 600; cursor: pointer; }
.comment-form input[type="submit"]:hover { background: var(--g-green-dark); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--g-line); }

/* ---------- 1.0.1: logo display ---------- */
.custom-logo-link img { max-height: 64px; }
.hero__media--logo { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--g-white); border: 1px solid var(--g-line); }
.hero__media--logo img { width: 100%; height: 100%; object-fit: contain; }
.product-card__img img.is-contain { object-fit: contain; padding: 12px; background: var(--g-white); }
.woocommerce ul.products li.product a img { object-fit: contain; background: var(--g-white); }
@media (max-width: 640px) {
	.custom-logo-link img { max-height: 48px; }
	.hero__media--logo { padding: 24px; }
}

/* ---------- 1.0.2: portrait banner ---------- */
.hero__media--portrait { width: 420px; height: 630px; max-width: 100%; justify-self: end; }
@media (max-width: 960px) {
	.hero__media--portrait { width: 100%; height: auto; aspect-ratio: 2 / 3; justify-self: stretch; }
}
