/*
Theme Name: JP KOPI Independent
Author: OpenAI
Description: Independent JP-KOPI storefront theme with custom layouts and WooCommerce support.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: jp-kopi-standalone
*/

:root {
	--jpk-ink: #202a35;
	--jpk-muted: #576678;
	--jpk-line: #dce3ea;
	--jpk-paper: #f5f7fa;
	--jpk-panel: #ffffff;
	--jpk-warm: #eaf0f5;
	--jpk-sage: #e7eef5;
	--jpk-image-wash: #f0f4f8;
	--jpk-gold: #294a63;
	--jpk-gold-hover: #203b51;
	--jpk-gold-soft: #b6c9db;
	--jpk-radius: 6px;
	--jpk-section-gap: 12px;
	--jpk-footer-muted: #c1ccd6;
	--jpk-container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--jpk-paper);
	color: var(--jpk-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif;
	font-size: 15px;
	line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jpk-gold); }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.container { width: 100%; margin-inline: auto; }

.topline { min-height: 40px; padding-block: 8px; display: flex; align-items: center; background: var(--jpk-ink); color: var(--jpk-panel); font-size: 12px; letter-spacing: .03em; }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: clamp(20px, 2vw, 28px); }
.topline-nav .menu, .primary-nav .menu, .footer-menu .menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.topline-nav a { color: var(--jpk-panel); }
.site-header { background: var(--jpk-panel); }
.header-main { min-height: 92px; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(320px, 520px) minmax(180px, 1fr); align-items: center; gap: clamp(20px, 2.4vw, 36px); padding-block: 16px; }
.site-branding { min-width: 0; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { max-height: 62px; width: auto; }
.site-title { margin: 0; font: 30px/1.2 Georgia, "Times New Roman", serif; letter-spacing: .14em; white-space: nowrap; }
.site-description { margin: 3px 0 0; color: var(--jpk-muted); font-size: 11px; }
.header-search { width: 100%; max-width: 520px; min-width: 0; justify-self: center; }
.header-search form { display: flex; min-height: 46px; border: 1px solid var(--jpk-line); background: var(--jpk-panel); }
.header-search form:focus-within { border-color: var(--jpk-gold); box-shadow: 0 0 0 2px rgba(41, 74, 99, .1); }
.header-search input[type="search"] { flex: 1; min-width: 0; padding: 0 15px; border: 0; background: transparent; color: var(--jpk-ink); outline-offset: -2px; }
.header-search button { min-width: 48px; padding: 0 13px; border: 0; border-left: 1px solid var(--jpk-line); background: transparent; color: var(--jpk-muted); font-size: 20px; cursor: pointer; }
.header-tools { display: flex; justify-self: end; justify-content: flex-end; align-items: center; gap: 20px; font-size: 13px; white-space: nowrap; }
.header-tools .cart-count { display: inline-grid; min-width: 20px; min-height: 20px; margin-left: 4px; place-items: center; }
.nav-wrap { border-top: 1px solid var(--jpk-line); border-bottom: 1px solid var(--jpk-line); background: var(--jpk-panel); }
.primary-nav { min-height: 58px; }
.primary-nav .menu { min-height: 56px; gap: clamp(18px, 2.4vw, 30px); white-space: nowrap; }
.primary-nav .menu a { display: flex; min-height: 56px; align-items: center; border-bottom: 2px solid transparent; font-size: 13px; }
.primary-nav .menu a:hover { color: var(--jpk-gold); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--jpk-gold); border-color: var(--jpk-gold); }
.menu-toggle { display: none; }

@media (min-width: 901px) {
	.primary-nav .menu { width: 100%; justify-content: space-evenly; gap: clamp(16px, 2vw, 28px); padding-inline: clamp(20px, 2vw, 28px); }
}

.layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); align-items: start; gap: 32px; padding-block: 0 48px; }
.sidebar { min-width: 0; padding: 20px 18px; border: 1px solid var(--jpk-line); border-radius: 4px; background: var(--jpk-warm); }
.side-label { margin: 0 0 14px; color: var(--jpk-muted); font-size: 12px; letter-spacing: .08em; }
.side-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.side-tabs button { flex: 1; min-height: 42px; padding: 9px 6px; border: 0; border-radius: 3px; background: transparent; color: var(--jpk-muted); font-size: 14px; font-weight: 550; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.side-tabs button:hover { background: var(--jpk-panel); color: var(--jpk-ink); }
.side-tabs button[aria-pressed="true"] { background: var(--jpk-gold); color: var(--jpk-panel); }
.side-panel[hidden] { display: none !important; }
.category-list, .category-children { margin: 0; padding: 0; list-style: none; }
.category-list { display: grid; gap: 4px; }
.category-row { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.category-row > a { flex: 1; min-width: 0; padding: 9px 10px; border-radius: 3px; font-size: 14px; line-height: 1.5; transition: background-color .15s ease, color .15s ease; }
.category-row > a:hover { background: var(--jpk-panel); color: var(--jpk-gold); }
.category-row > a.category-bilingual { display: flex; min-height: 54px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding-block: 7px; line-height: 1.35; }
.category-bilingual-english { color: var(--jpk-ink); font-size: 12px; font-weight: 650; letter-spacing: .045em; line-height: 1.25; text-transform: uppercase; }
.category-bilingual-japanese { color: var(--jpk-muted); font-size: 13px; font-weight: 400; line-height: 1.4; }
.category-row > a[aria-current="page"] { background: var(--jpk-panel); color: var(--jpk-gold); }
.category-item.is-ancestor > .category-row > a { color: var(--jpk-gold); font-weight: 550; }
.category-toggle { width: 34px; min-width: 34px; height: 34px; border: 0; border-radius: 3px; background: transparent; color: var(--jpk-gold); cursor: pointer; }
.category-toggle:hover { background: var(--jpk-panel); }
.side-tabs button:focus-visible, .category-row > a:focus-visible, .category-toggle:focus-visible { outline: 2px solid var(--jpk-gold); outline-offset: 2px; }
.category-depth-1 > .category-row > a { padding-left: 9px; color: #555750; font-size: 13px; }
.category-depth-2 > .category-row > a { padding-left: 8px; color: var(--jpk-muted); font-size: 13px; }
.category-depth-3 > .category-row > a, .category-depth-4 > .category-row > a { padding-left: 8px; color: var(--jpk-muted); font-size: 12px; }
.category-toggle span { display: inline-block; transition: transform .15s ease; }
.category-toggle[aria-expanded="true"] span { transform: rotate(90deg); }
.category-children { margin: 1px 0 8px 11px; padding-left: 9px; border-left: 1px solid var(--jpk-line); }
.category-children[hidden] { display: none; }
.category-children .category-row > a { color: var(--jpk-muted); font-size: 13px; }
.category-empty { margin: 12px 0 0; color: var(--jpk-muted); font-size: 13px; }
.sidebar-news { margin-top: 24px; padding: 14px; border: 1px solid var(--jpk-line); border-radius: 4px; background: var(--jpk-panel); }
.sidebar-news-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sidebar-news-heading h2 { margin: 0; color: var(--jpk-ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.sidebar-news-heading > a { flex: 0 0 auto; color: var(--jpk-gold); font-size: 11px; }
.sidebar-news-topic { display: block; color: var(--jpk-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.sidebar-news-intro { margin: 6px 0 11px; color: var(--jpk-muted); font-size: 12px; line-height: 1.6; }
.sidebar-news-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sidebar-news-list li { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.sidebar-news-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: transparent; }
.sidebar-news-thumb img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; }
.sidebar-news-thumb-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--jpk-muted); font-size: 9px; line-height: 1.3; text-align: center; }
.sidebar-news-item-copy { display: grid; min-width: 0; gap: 3px; }
.sidebar-news-list time { color: var(--jpk-muted); font-size: 11px; line-height: 1.4; }
.sidebar-news-title { color: var(--jpk-ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.sidebar-news-title:hover, .sidebar-news-heading > a:hover { color: var(--jpk-gold); }
.sidebar-news-empty { margin: 0; color: var(--jpk-muted); font-size: 11px; line-height: 1.5; }
.sidebar-contact { margin-top: 16px; padding: 14px; border: 1px solid var(--jpk-line); border-radius: 4px; background: var(--jpk-sage); }
.sidebar-contact h2 { margin: 0 0 12px; color: var(--jpk-ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.sidebar-contact-form .fluentform { margin: 0 !important; }
.sidebar-contact-form .ff-el-group { margin-bottom: 9px !important; }
.sidebar-contact-form .ff-el-input--label { margin-bottom: 4px !important; }
.sidebar-contact-form .ff-el-input--label label { color: var(--jpk-ink) !important; font-size: 12px !important; font-weight: 550 !important; line-height: 1.4 !important; }
.sidebar-contact-form .ff-el-form-control { box-sizing: border-box; width: 100% !important; min-width: 0; min-height: 38px; padding: 8px 9px !important; border: 1px solid #d2d8d8 !important; border-radius: var(--jpk-radius) !important; background: #fff !important; color: var(--jpk-ink) !important; font: inherit; font-size: 12px !important; line-height: 1.45; }
.sidebar-contact-form textarea.ff-el-form-control { min-height: 82px; resize: vertical; }
.sidebar-contact-form .ff-btn-submit { width: 100% !important; min-height: 40px; padding: 9px 10px !important; border: 0 !important; border-radius: var(--jpk-radius) !important; background: var(--jpk-gold) !important; color: #fff !important; font-size: 12px !important; font-weight: 600 !important; }
.sidebar-contact-unavailable { margin: 0; color: var(--jpk-muted); font-size: 12px; line-height: 1.5; }
.content { min-width: 0; }
.layout > #primary.content { min-width: 0; margin: 0 !important; padding: 0 !important; }

@media (max-width: 767px) {
	.sidebar-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.sidebar-news-list li { align-content: start; }
	.sidebar-news-title { font-size: 12px; }
}

@media (hover: hover) and (min-width: 768px) {
	.sidebar { position: relative; z-index: 30; overflow: visible; }
	.category-list { display: block; }
	.category-item { position: relative; }
	.category-item:hover, .category-item:focus-within { z-index: 50; }
	.category-depth-0 > .category-children {
		position: absolute;
		top: var(--mega-top, -1px);
		left: calc(100% + 1px);
		z-index: 60;
		width: min(1200px, max(380px, calc(100vw - 300px)));
		max-height: none;
		margin: 0;
		padding: 14px;
		overflow: visible;
		border: 1px solid var(--jpk-line);
		background: var(--jpk-paper);
		box-shadow: 0 10px 28px rgba(36, 37, 34, .12);
		display: none !important;
	}
	.category-depth-0:hover > .category-children,
	.category-depth-0:focus-within > .category-children,
	.category-depth-0.is-mega-open > .category-children { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-content: start; gap: 10px 14px; }
	.category-depth-0 > .category-children > .category-item { min-width: 0; padding: 2px 6px 10px; border-bottom: 1px solid var(--jpk-line); }
	.category-depth-0 > .category-children > .category-item > .category-row { min-height: 30px; }
	.category-depth-0 > .category-children > .category-item > .category-row > a { padding: 4px 2px; color: var(--jpk-gold); font-size: 13px; font-weight: 600; }
	.category-depth-0 > .category-children .category-children { position: static; inset: auto; display: grid !important; grid-template-columns: 1fr; gap: 1px; width: auto; max-height: none; margin: 4px 0 0; padding: 5px 0 0 10px; overflow: visible; border: 0; border-left: 1px solid var(--jpk-line); background: transparent; box-shadow: none; }
	.category-depth-0 > .category-children > .category-item { container-type: inline-size; }
	.category-depth-0 > .category-children > .category-item > .category-children { display: block !important; columns: 2; column-gap: 12px; column-fill: balance; }
	.category-depth-0 > .category-children > .category-item > .category-children > .category-item { display: inline-block; width: 100%; vertical-align: top; break-inside: avoid; }
	.category-depth-0 > .category-children .category-row { min-height: 29px; }
	.category-depth-0 > .category-children .category-row > a { padding: 5px 5px; font-size: 13px; }
	.category-depth-0 > .category-children .category-depth-2 > .category-row > a { color: var(--jpk-muted); }
	.category-depth-0 > .category-children .category-depth-3 > .category-row > a,
	.category-depth-0 > .category-children .category-depth-4 > .category-row > a { padding-left: 10px; color: var(--jpk-muted); font-size: 12px; }
	.category-depth-0 > .category-children .category-toggle { display: none; }
	.category-depth-0 > .category-row > .category-toggle { cursor: default; }
	.category-depth-0 > .category-row > .category-toggle[aria-expanded="true"] span { transform: none; }
	.category-depth-0.mega-dense > .category-children { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 8px; padding: 10px; }
	.category-depth-0.mega-dense > .category-children > .category-item { padding: 0 4px 5px; }
	.category-depth-0.mega-dense > .category-children > .category-item > .category-row,
	.category-depth-0.mega-dense > .category-children .category-row { min-height: 24px; }
	.category-depth-0.mega-dense > .category-children .category-row > a { padding: 3px 4px; font-size: 12px; line-height: 1.4; }
	.category-depth-0.mega-dense > .category-children > .category-item > .category-row > a { font-size: 12px; }
}

@container (min-width: 360px) {
	.category-depth-0 > .category-children > .category-item > .category-children { columns: 3; column-gap: 10px; }
}

.breadcrumb { margin: 0 0 14px; color: var(--jpk-muted); font-size: 11px; }
.page-title, .archive-title { margin: 0; font: 400 clamp(25px, 3vw, 34px)/1.3 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.page-intro { margin: 9px 0 24px; color: var(--jpk-muted); font-size: 13px; }
.hero { min-height: 250px; padding: clamp(24px, 5vw, 52px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(110deg, var(--jpk-warm), var(--jpk-paper) 60%, var(--jpk-warm)); }
.hero-kicker { color: var(--jpk-gold); font-size: 11px; letter-spacing: .16em; }
.hero h1 { max-width: 650px; margin: 12px 0 8px; font: 400 clamp(24px, 3vw, 36px)/1.35 Georgia, "Times New Roman", serif; }
.hero p { max-width: 600px; margin: 0; color: var(--jpk-muted); font-size: 13px; }
.home-hero { min-height: 248px; padding: clamp(24px, 3.5vw, 40px); display: flex; align-items: center; overflow: hidden; border-radius: 4px; background-color: var(--jpk-ink); background-image: linear-gradient(90deg, rgba(25, 26, 23, .88) 0%, rgba(25, 26, 23, .67) 46%, rgba(25, 26, 23, .08) 100%); background-position: center; background-size: cover; color: #fff; }
.home-hero-copy { max-width: 560px; }
.home-hero-kicker, .home-section-kicker { color: var(--jpk-gold-soft); font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.home-hero h1 { max-width: 520px; margin: 9px 0 8px; font: 400 clamp(23px, 2.4vw, 31px)/1.38 Georgia, "Times New Roman", serif; }
.home-hero p { max-width: 460px; margin: 0; color: #f1eee8; font-size: 13px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.home-button { min-height: 40px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 600; }
.home-button-primary { background: var(--jpk-gold); color: #fff; }
.home-button-primary:hover { background: var(--jpk-gold-hover); color: #fff; }
.home-button-secondary { border-color: #ffffff8c; color: #fff; }
.home-button-secondary:hover { border-color: #fff; background: #ffffff18; color: #fff; }
.home-trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--jpk-line); border-radius: 3px; background: var(--jpk-panel); }
.home-trust-item { min-height: 52px; padding: 9px 12px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.home-trust-item + .home-trust-item { border-left: 1px solid var(--jpk-line); }
.home-trust-item span { color: var(--jpk-gold); font-size: 10px; letter-spacing: .08em; }
.home-trust-item strong { color: var(--jpk-ink); font-size: 12px; font-weight: 550; }
.home-section { margin-top: 26px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--jpk-line); }
.home-section-heading h2, .home-info-heading h2 { margin: 3px 0 0; font-size: 17px; font-weight: 550; line-height: 1.35; }
.home-section-heading a { color: var(--jpk-gold); font-size: 11px; white-space: nowrap; }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--jpk-line); border-radius: 3px; background: var(--jpk-panel); transition: border-color .15s ease, transform .15s ease; }
.home-product-card:hover { transform: translateY(-2px); border-color: var(--jpk-gold-soft); }
.home-product-image { height: 150px; display: grid; place-items: center; overflow: hidden; background: var(--jpk-image-wash); }
.home-product-image img { width: 100%; height: 100%; padding: 9px; object-fit: contain; mix-blend-mode: multiply; }
.home-product-info { min-height: 96px; padding: 10px 11px 12px; }
.home-product-info h3 { display: -webkit-box; min-height: 36px; margin: 0; overflow: hidden; color: var(--jpk-ink); font-size: 11px; font-weight: 400; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-product-price { display: block; margin-top: 7px; color: var(--jpk-ink); font-size: 12px; font-weight: 600; }
.home-info-section { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 2fr); align-items: center; gap: 20px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--jpk-line); border-radius: 3px; background: var(--jpk-warm); }
.home-info-heading h2 { font-size: 15px; }
.home-info-heading .home-section-kicker { color: var(--jpk-gold); }
.home-info-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.home-info-links a { min-height: 42px; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--jpk-line); border-radius: 3px; background: var(--jpk-panel); font-size: 11px; line-height: 1.4; }
.home-info-links a span:last-child { color: var(--jpk-gold); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 24px 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--jpk-line); }
.section-title h2 { margin: 0; font-size: 16px; font-weight: 500; }
.section-title a { color: var(--jpk-gold); font-size: 12px; }
.quick-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-cats a { min-height: 78px; padding: 15px; display: flex; align-items: flex-end; background: var(--jpk-warm); font: 16px Georgia, "Times New Roman", serif; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { min-width: 0; border: 1px solid var(--jpk-line); background: var(--jpk-panel); }
.product-art { min-height: 170px; display: grid; place-items: center; overflow: hidden; background: var(--jpk-image-wash); }
.product-art img { width: 100%; height: 190px; object-fit: contain; mix-blend-mode: multiply; }
.product-info { padding: 12px; }
.product-info small { color: var(--jpk-muted); font-size: 10px; }
.product-info h2, .product-info h3 { margin: 6px 0 0; font-size: 13px; font-weight: 400; line-height: 1.55; }
.product-price { display: block; margin-top: 9px; font-size: 13px; font-weight: 500; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 18px 0 12px; padding: 12px 0; border-top: 1px solid var(--jpk-line); border-bottom: 1px solid var(--jpk-line); color: var(--jpk-muted); font-size: 12px; }
.subcat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 20px; }
.subcat-grid a { padding: 10px 12px; border: 1px solid var(--jpk-line); color: var(--jpk-gold); font-size: 12px; }
.entry-content { line-height: 1.85; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.home-elementor-content > .elementor { width: 100%; max-width: 100%; }
.home-elementor-content .elementor-container { max-width: 100%; }
.home-elementor-content .elementor-section.elementor-top-section { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: clamp(20px, 2.2vw, 34px) !important; padding-bottom: clamp(20px, 2.2vw, 34px) !important; }
.home-elementor-content .elementor-widget:not(:last-child) { margin-bottom: 14px; }
.home-elementor-content h2, .home-elementor-content h3 { margin-top: 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 9px; border: 1px solid var(--jpk-line); }
.pagination, .woocommerce-pagination { margin-top: 26px; }
.pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; border: 0 !important; }
.pagination a, .pagination span, .woocommerce-pagination .page-numbers li a, .woocommerce-pagination .page-numbers li span { min-width: 36px; padding: 7px 10px; border: 1px solid var(--jpk-line) !important; background: var(--jpk-paper) !important; }

.woocommerce .woocommerce-breadcrumb { margin: 0 0 14px; color: var(--jpk-muted); font-size: 11px; }
.woocommerce.archive .woocommerce-breadcrumb { margin: 0 0 5px 19px; padding-top: 11px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--jpk-muted); font-size: 12px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 16px 0 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto !important; margin: 0 !important; padding: 0 0 12px; border: 1px solid var(--jpk-line); background: var(--jpk-panel); }
.woocommerce ul.products li.product a img { height: 190px; margin: 0 0 10px; object-fit: contain; background: var(--jpk-image-wash); mix-blend-mode: multiply; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 12px; color: var(--jpk-ink); font-size: 13px; font-weight: 400; line-height: 1.55; }
.woocommerce ul.products li.product .price { padding: 0 12px; color: var(--jpk-ink); font-size: 13px; }
.woocommerce ul.products li.product .button { margin: 8px 12px 0; border-radius: 0; background: var(--jpk-gold); color: #fff; font-size: 11px; font-weight: 400; }
.woocommerce div[id^="product-"] div.images img { background: var(--jpk-warm); }
.woocommerce div[id^="product-"] div.summary { padding-top: 8px; }
.woocommerce div[id^="product-"] .product_title { font: 400 25px/1.4 Georgia, "Times New Roman", serif; }
.woocommerce div[id^="product-"] p.price, .woocommerce div[id^="product-"] span.price { color: var(--jpk-ink); }
.woocommerce div[id^="product-"] form.cart .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: 0; background: var(--jpk-gold); color: #fff; }
.woocommerce ul.products li.product .button:hover, .woocommerce div[id^="product-"] form.cart .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover { background: var(--jpk-gold-hover); color: #fff; }
.woocommerce div[id^="product-"] .woocommerce-tabs ul.tabs li { border-radius: 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--jpk-gold); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--jpk-gold); }
.woocommerce table.shop_table { border-color: var(--jpk-line); border-radius: 0; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select { min-height: 42px; padding: 9px; border: 1px solid var(--jpk-line); background: var(--jpk-paper); }

.site-footer { padding: 42px 0 22px; background: var(--jpk-ink); color: #f5f7fa; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-inline: clamp(20px, 2vw, 28px); }
.footer-brand { font: 22px Georgia, "Times New Roman", serif; letter-spacing: .12em; }
.footer-description { margin: 12px 0 0; color: var(--jpk-footer-muted); font-size: 12px; }
.footer-column h2 { margin: 0 0 14px; color: var(--jpk-gold-soft); font-size: 13px; font-weight: 550; }
.footer-menu .menu { display: grid; gap: 8px; align-items: start; }
.footer-menu .menu a, .footer-column > a { color: #eff3f7; font-size: 12px; }
.footer-menu .menu a:hover, .footer-column > a:hover { color: var(--jpk-gold-soft); }
.footer-bottom { margin-top: 28px; padding: 16px clamp(20px, 2vw, 28px) 0; border-top: 1px solid #ffffff29; color: var(--jpk-footer-muted); font-size: 11px; }

@media (max-width: 900px) {
	.container { width: min(calc(100% - 36px), var(--jpk-container)); }
	.topline-inner { padding-inline: 14px; }
	.primary-nav .menu { justify-content: flex-start; overflow-x: auto; padding-inline: 0; }
	.footer-top { padding-inline: 14px; }
	.footer-bottom { padding-inline: 14px; }
	.header-main { grid-template-columns: 230px minmax(220px, 1fr) max-content; gap: 22px; }
	.layout { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
	.home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-info-section { grid-template-columns: 1fr; gap: 12px; }
	.quick-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.container { width: min(calc(100% - 28px), var(--jpk-container)); }
	.topline-inner { padding-inline: 8px; font-size: 10px; }
	.footer-top { padding-inline: 8px; }
	.footer-bottom { padding-inline: 8px; }
	.topline-nav .menu { gap: 12px; }
	.header-main { grid-template-columns: 1fr auto; min-height: 0; padding-block: 14px; }
	.site-title { font-size: 22px; }
	.site-logo img { max-height: 48px; }
	.header-search { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
	.header-tools { gap: 12px; font-size: 11px; }
	.primary-nav .menu { gap: 20px; }
	.layout { grid-template-columns: 1fr; gap: 22px; padding-block: 0 34px; }
	.sidebar { padding: 14px; }
	.category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.category-list > li { min-width: 0; }
	.category-list .category-children { grid-column: 1 / -1; }
	.content .elementor, .content .elementor-section, .content .elementor-container { max-width: 100%; }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.home-hero { min-height: 224px; padding: 24px 20px; background-position: 62% center; }
	.home-hero h1 { font-size: 23px; }
	.home-trust-item { padding: 8px 6px; gap: 6px; }
	.home-trust-item strong { font-size: 11px; }
	.home-section { margin-top: 22px; }
	.home-product-grid { gap: 9px; }
	.home-product-image { height: 136px; }
	.home-info-links { grid-template-columns: 1fr; }
	.product-art { min-height: 130px; }
	.product-art img, .woocommerce ul.products li.product a img { height: 145px; }
	.subcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-top { gap: 20px; }
}
@media (max-width: 420px) {
	.topline-inner > span:first-child { max-width: 52%; }
	.topline-nav .menu { gap: 8px; }
	.topline-nav a { font-size: 10px; }
	.header-tools { gap: 8px; }
	.header-tools a { font-size: 10px; }
	.home-hero { min-height: 214px; padding: 21px 16px; }
	.home-hero h1 { font-size: 21px; }
	.home-hero p { font-size: 12px; }
	.home-hero-actions { gap: 7px; margin-top: 14px; }
	.home-button { min-height: 38px; padding-inline: 11px; font-size: 11px; }
	.home-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--jpk-line); }
	.home-trust-item:nth-child(4) { border-top: 1px solid var(--jpk-line); }
	.home-section-heading h2 { font-size: 15px; }
	.home-section-heading a { font-size: 10px; }
	.home-product-image { height: 125px; }
	.home-product-info { min-height: 92px; padding: 9px; }
	.home-product-info h3 { font-size: 10px; }
	.home-info-section { padding: 15px; }
	.category-list { grid-template-columns: 1fr; }
	.product-grid, .woocommerce ul.products { gap: 8px; }
	.product-info { padding: 9px; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

/* Keep shop and product-category thumbnails square at every screen size. */
.woocommerce.archive ul.products li.product a img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

/* Give shop and category archives a compact, readable header and sort row. */
.woocommerce.archive .woocommerce-products-header {
	margin: 0 0 14px;
	padding: 16px 18px;
	border: 1px solid var(--jpk-line);
	border-radius: 4px;
	background: var(--jpk-warm);
}

.woocommerce.archive .woocommerce-products-header__title {
	margin: 0 0 6px;
	color: var(--jpk-ink);
	font-size: clamp(22px, 2.2vw, 27px);
	line-height: 1.35;
}

.woocommerce.archive .term-description {
	max-width: 76ch;
	color: var(--jpk-ink);
	font-size: 13px;
	line-height: 1.65;
}

.woocommerce.archive .term-description > :last-child {
	margin-bottom: 0;
}

.woocommerce.archive .woocommerce-result-count {
	min-height: 0;
	margin: 0 0 4px;
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.5;
}

.woocommerce.archive .woocommerce-ordering {
	margin: 0 0 4px;
}

.woocommerce.archive .woocommerce-ordering select {
	min-height: 32px;
	padding: 6px 32px 6px 10px;
	border: 1px solid var(--jpk-line);
	border-radius: 3px;
	background-color: #fff;
	color: var(--jpk-ink);
	font-size: 12px;
}

.woocommerce.archive .jpk-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	margin: 0 0 8px;
}
.woocommerce.archive .jpk-shop-toolbar .woocommerce-result-count,
.woocommerce.archive .jpk-shop-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}
.woocommerce.archive ul.products li.product .jpk-product-image-wrap {
	flex: 0 0 auto;
	width: 100%;
	overflow: hidden;
}
.woocommerce.archive ul.products li.product .jpk-product-image-link {
	display: block;
}
.woocommerce.archive ul.products li.product .jpk-product-summary-wrap {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	padding: 0 10px 10px;
}
.woocommerce.archive ul.products li.product .jpk-product-card-link {
	display: block;
	color: inherit;
}
.woocommerce.archive ul.products li.product .jpk-product-card-actions {
	margin-top: auto;
}

.woocommerce.archive ul.products {
	clear: both;
	margin-top: 4px;
}

@media (min-width: 1200px) {
	.woocommerce.archive ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.custom-subcategories-container + hr { margin: 8px 0 !important; }

.woocommerce.archive ul.products li.product,
.woocommerce.archive ul.products li.product-category {
	overflow: hidden;
	border: 1px solid var(--jpk-line);
	border-radius: 4px;
	background: var(--jpk-panel);
	transition: border-color .15s ease, transform .15s ease;
}

.woocommerce.archive ul.products li.product:hover,
.woocommerce.archive ul.products li.product-category:hover {
	transform: translateY(-2px);
	border-color: var(--jpk-gold-soft);
}

.woocommerce.archive ul.products li.product {
	display: flex;
	flex-direction: column;
}
.woocommerce.archive ul.products li.product .jpk-product-image-wrap { flex: 0 0 auto; }
.woocommerce.archive ul.products li.product .jpk-product-summary-wrap {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}
.woocommerce.archive ul.products li.product .jpk-product-summary-wrap .price {
	width: 100%;
	margin-top: auto;
	text-align: center;
}

.woocommerce.archive ul.products li.product a img,
.woocommerce.archive ul.products li.product-category a img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.jpk-home-product-section ul.products > li[hidden] {
	display: none !important;
}
.jpk-products-toggle-wrap {
	display: flex;
	width: 100%;
	flex: 0 0 100%;
	justify-content: center;
	margin: 8px 0 0;
}
.jpk-products-toggle-wrap[hidden] {
	display: none !important;
}
.jpk-products-toggle {
	display: inline-grid;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--jpk-gold);
	border-radius: 50%;
	background: #fff;
	color: var(--jpk-ink);
	line-height: 1;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.jpk-products-toggle:hover {
	border-color: var(--jpk-ink);
	background: var(--jpk-ink);
	color: #fff;
}
.jpk-products-toggle:focus-visible {
	outline: 2px solid var(--jpk-gold);
	outline-offset: 3px;
}
.jpk-products-toggle-icon {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s ease;
}
.jpk-products-toggle[aria-expanded="true"] .jpk-products-toggle-icon {
	transform: rotate(180deg);
}
.jpk-products-toggle[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.woocommerce.archive .woocommerce-breadcrumb { margin: 0 0 4px 15px; padding-top: 9px; }
	/* Keep the shop toolbar compact on mobile. */
	.woocommerce.archive .jpk-shop-toolbar {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0 8px !important;
		margin: 0 0 6px !important;
	}

	.woocommerce.archive .jpk-shop-toolbar .woocommerce-result-count {
		margin: 0 !important;
	}

	.woocommerce.archive .woocommerce-products-header {
		margin-bottom: 12px;
		padding: 13px 14px;
	}

	.woocommerce.archive .woocommerce-result-count {
		display: inline-block;
		min-height: 0 !important;
		margin: 0 8px 4px 0 !important;
		float: none !important;
		line-height: 1.35;
		vertical-align: middle;
	}

	.woocommerce.archive .woocommerce-ordering {
		display: inline-block;
		width: auto;
		max-width: 48%;
		margin: 0 0 4px !important;
		float: none !important;
		vertical-align: middle;
	}

	.woocommerce.archive .woocommerce-ordering select {
		width: auto;
		max-width: 100%;
		min-height: 32px;
		padding: 5px 25px 5px 8px;
		font-size: 11px;
	}

	.jpk-products-toggle-wrap {
		margin-top: 8px;
	}
}


/* Factory showcase: inert placeholder cards for the homepage preview. */
.jpk-factory-showcase {
	margin: 22px 0 30px;
	padding: clamp(18px, 2.2vw, 26px);
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: var(--jpk-warm);
}
.jpk-factory-showcase-inner { width: 100%; margin-inline: auto; }
.jpk-factory-showcase-header {
	display: block;
	text-align: center;
	margin-bottom: 16px;
	padding-bottom: 0;
	border-bottom: 0;
}
.jpk-factory-showcase-header h2 {
	margin: 0;
	color: var(--jpk-ink);
	font-family: inherit;
	font-size: clamp(22px, 2.4vw, 29px);
	font-weight: 500;
	line-height: 1.4;
}
.jpk-factory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jpk-factory-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--jpk-line);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(49, 43, 32, .045);
}
.jpk-factory-card {
	display: block;
	color: inherit;
	text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
	.jpk-factory-card:hover {
		border-color: var(--jpk-gold);
		box-shadow: 0 5px 18px rgba(49, 43, 32, .1);
	}
}
.jpk-factory-card:focus-visible {
	outline: 2px solid var(--jpk-gold);
	outline-offset: 3px;
}
.jpk-factory-card-image {
	position: relative;
	display: grid;
	min-height: 0;
	aspect-ratio: 3 / 2;
	place-items: center;
	overflow: hidden;
	background: var(--jpk-image-wash);
	color: #7b7b70;
}
.jpk-factory-card-image--2, .jpk-factory-card-image--3, .jpk-factory-card-image--4, .jpk-factory-card-image--5, .jpk-factory-card-image--6 { background: var(--jpk-image-wash); }
.jpk-factory-card-image svg { width: 66px; height: 54px; fill: #f8f7f3; stroke: #817b70; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jpk-factory-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jpk-factory-card-content { padding: 17px 15px; }
.jpk-factory-card h3 { margin: 0; color: var(--jpk-ink); font-size: 17px; font-weight: 650; line-height: 1.45; }
@media (max-width: 900px) {
	.jpk-factory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 520px) {
	.jpk-factory-showcase { margin: 16px 0 22px; padding: 15px 12px; }
	.jpk-factory-showcase-header { margin-bottom: 13px; padding-bottom: 0; }
	.jpk-factory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.jpk-factory-card { display: flex; flex-direction: column; }
	.jpk-factory-card-image { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
	.jpk-factory-card-image svg { width: 48px; height: 42px; }
	.jpk-factory-card-image img { object-fit: cover; }
	.jpk-factory-card-content { display: flex; min-height: 44px; flex: 1 0 auto; align-items: center; justify-content: center; padding: 9px 5px; }
	.jpk-factory-card h3 { font-size: 14px; line-height: 1.35; text-align: center; }
}

/* Minimal footer: the brand mark, site name, and contact email only. */
.site-footer {
	padding: 26px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	background: #202a35;
	color: #f5f7fa;
}
.site-footer .footer-minimal {
	width: min(calc(100% - 32px), 1240px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0;
	text-align: center;
}
.site-footer .footer-minimal-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}
.site-footer .footer-minimal-logo img {
	display: block;
	width: 138px;
	height: auto;
	max-height: 45px;
	filter: brightness(0) invert(1);
	object-fit: contain;
}
.site-footer .footer-site-name {
	max-width: 100%;
	margin: 2px 0 0;
	color: #f5f7fa;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1.5;
}
.site-footer .footer-email {
	color: #c1ccd6;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}
.site-footer .footer-email:hover {
	color: var(--jpk-gold-soft);
}
.site-footer .footer-copyright {
	margin-top: 3px;
	color: rgba(247, 244, 237, .58);
	font-size: 10px;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.site-footer { padding: 22px 0; }
	.site-footer .footer-minimal-logo img { width: 124px; max-height: 40px; }
	.site-footer .footer-site-name { font-size: 12px; }
	.site-footer .footer-email { font-size: 11px; }
}

/* Mobile-only navigation: keep the page content clear and put category browsing in a drawer. */
.mobile-menu-toggle,
.mobile-site-menu-toggle,
.mobile-drawer-backdrop,
.mobile-sidebar-header,
.mobile-drawer-nav,
.mobile-utility-nav { display: none; }

@media (max-width: 767px) {
	.topline,
	.nav-wrap { display: none; }
	.header-main.container {
		position: relative;
		width: min(calc(100% - 28px), var(--jpk-container));
		grid-template-columns: 42px minmax(0, 1fr) max-content;
		grid-template-rows: auto;
		column-gap: 10px;
		row-gap: 0;
		min-height: 0;
		padding-block: 10px;
	}
	.site-header {
		border-bottom: 2px solid var(--jpk-gold-soft);
		background: linear-gradient(180deg, #fff 0%, #f5f2eb 100%);
		box-shadow: 0 4px 12px rgba(37, 39, 34, .07);
	}
	.mobile-site-menu-toggle {
		position: relative;
		z-index: 2;
		display: grid;
		grid-column: 1;
		grid-row: 1;
		width: 40px;
		height: 40px;
		place-items: center;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #555a56;
		box-shadow: none;
		cursor: pointer;
	}
	.mobile-site-menu-toggle:active { background: rgba(37, 39, 34, .08); }
	.mobile-site-menu-toggle svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
	.mobile-menu-icon,
	.mobile-menu-icon::before,
	.mobile-menu-icon::after {
		position: relative;
		display: block;
		width: 17px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		content: "";
	}
	.mobile-menu-icon::before { position: absolute; top: -5px; left: 0; }
	.mobile-menu-icon::after { position: absolute; top: 5px; left: 0; }
	.site-branding {
		position: absolute;
		z-index: 1;
		top: 50%;
		left: 50%;
		width: max-content;
		max-width: calc(100% - 112px);
		transform: translate(-50%, -50%);
	}
	.site-logo img { width: auto; max-width: 150px; max-height: 43px; }
	.site-title { font-size: 20px; letter-spacing: .1em; }
	.header-tools {
		position: relative;
		z-index: 2;
		grid-column: 3;
		grid-row: 1;
		gap: 10px;
		align-self: center;
		font-size: 11px;
	}
	.header-tools a.header-account-link {
		width: 40px;
		min-width: 40px;
		min-height: 40px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 1px solid var(--jpk-gold-soft);
		border-radius: 7px;
		background: rgba(255, 255, 255, .86);
		color: var(--jpk-ink);
		font-weight: 600;
	}
	.header-tools a.header-account-link span { display: none; }
	.header-account-icon {
		display: block;
		width: 18px;
		height: 18px;
		fill: none;
		stroke: var(--jpk-gold);
		stroke-width: 1.7;
		stroke-linecap: round;
		stroke-linejoin: round;
	}
	.header-tools a.header-account-link:active {
		background: rgba(41, 74, 99, .12);
	}
	.header-tools .header-cart-link { display: none; }
	.header-search { display: none; }

	.mobile-drawer-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1099;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(25, 27, 25, .48);
		cursor: pointer;
	}
	.mobile-drawer-backdrop[hidden] { display: none !important; }
	.sidebar {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 1100;
		width: min(88vw, 360px);
		max-height: 100vh;
		max-height: 100dvh;
		margin: 0;
		padding: 0 16px max(18px, env(safe-area-inset-bottom));
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 0;
		border-right: 1px solid var(--jpk-line);
		border-radius: 0;
		background: var(--jpk-panel);
		box-shadow: 12px 0 32px rgba(22, 24, 22, .16);
		transform: translateX(-103%);
		visibility: hidden;
		transition: transform .24s ease, visibility 0s linear .24s;
	}
	body.mobile-drawer-open { overflow: hidden; }
	body.mobile-drawer-open .sidebar {
		transform: translateX(0);
		visibility: visible;
		transition-delay: 0s;
	}
	.mobile-sidebar-header {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		margin: 0 -16px 14px;
		padding: max(10px, env(safe-area-inset-top)) 16px 8px;
		border-bottom: 1px solid var(--jpk-line);
		background: var(--jpk-panel);
		color: var(--jpk-ink);
	}
	.mobile-sidebar-header strong { font-size: 15px; font-weight: 650; }
	.mobile-sidebar-close {
		display: grid;
		width: 36px;
		height: 36px;
		place-items: center;
		padding: 0;
		border: 1px solid var(--jpk-line);
		border-radius: 50%;
		background: #fff;
		color: var(--jpk-ink);
		font-size: 22px;
		line-height: 1;
		cursor: pointer;
	}
	.mobile-drawer-nav { display: block; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--jpk-line); }
	.mobile-drawer-nav .mobile-primary-menu,
	.mobile-drawer-nav .menu {
		display: grid;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.mobile-drawer-nav .mobile-primary-menu a,
	.mobile-drawer-nav .menu a {
		display: flex;
		min-height: 42px;
		align-items: center;
		padding: 9px 4px;
		border-bottom: 1px solid #eeece6;
		color: var(--jpk-ink);
		font-size: 13px;
		line-height: 1.5;
	}
	.mobile-utility-nav { display: block; margin: -2px 0 16px; }
	.mobile-utility-nav .menu {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 16px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.mobile-utility-nav a { color: var(--jpk-muted); font-size: 12px; }
	.sidebar .side-label { margin-bottom: 10px; font-size: 13px; }
	.sidebar .side-tabs { margin-bottom: 12px; }
	.sidebar .category-list { grid-template-columns: 1fr; gap: 2px; }
	.sidebar .category-row { min-height: 44px; }
	.sidebar .category-row > a { min-height: 44px; padding-block: 10px; font-size: 14px; }
	.sidebar .category-row > a.category-bilingual { min-height: 56px; }
	.sidebar .category-children { grid-column: auto; }
	.sidebar .category-toggle { width: 40px; min-width: 40px; height: 40px; }
	.sidebar .sidebar-news { margin-top: 18px; }
	.layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0 28px; }
}

@media (max-width: 420px) {
	.header-main.container { column-gap: 8px; }
	.site-logo img { max-width: 132px; max-height: 40px; }
	.header-tools { gap: 7px; }
	.header-tools a { font-size: 10px; }
}

/* Floating contact actions. If the legacy plugin is active, style its existing buttons. */
.jpk-floating-contact {
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 1094;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jpk-floating-contact-button {
	display: flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: #fff;
	box-shadow: 0 2px 10px rgba(24, 30, 26, .14);
	transition: transform .2s ease;
}

.jpk-floating-contact-button:hover { color: #fff; transform: translateY(-3px); }
.jpk-floating-contact-button:focus-visible { outline: 2px solid var(--jpk-ink); outline-offset: 3px; }
.jpk-floating-contact-line { background: #06c755; }
.jpk-floating-contact-button.jpk-floating-contact-line { width: 62px; height: 62px; box-shadow: 0 5px 16px rgba(6, 199, 85, .25); }
.jpk-floating-contact-email { background: #ea4335; }
.jpk-floating-contact-button svg { display: block; width: 27px; height: 27px; }
.jpk-floating-contact-button.jpk-floating-contact-line svg { width: 30px; height: 30px; }
body .fcb-container .fcb-line { width: 62px !important; height: 62px !important; font-size: 26px !important; box-shadow: 0 5px 16px rgba(6, 199, 85, .25) !important; }

/* Keep contact shortcuts floating on desktop; mobile uses the bottom-bar contact sheet. */
@media (max-width: 767px) {
	body .fcb-container,
	body .jpk-floating-contact { display: none !important; }
}

/* Mobile category browser based on the full-screen, two-pane reference. */
.mobile-bottom-nav,
.mobile-search-sheet,
.mobile-search-backdrop,
.mobile-site-menu-sheet,
.mobile-site-menu-backdrop,
.mobile-contact-sheet,
.mobile-contact-backdrop,
.mobile-category-browser { display: none; }

@media (max-width: 767px) {
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	.mobile-bottom-nav {
		position: fixed;
		inset: auto 0 0;
		z-index: 1098;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		min-height: 58px;
		padding: 5px 8px max(5px, env(safe-area-inset-bottom));
		border-top: 1px solid #dce3ea;
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 -4px 18px rgba(29, 31, 28, .06);
		backdrop-filter: blur(12px);
	}
	.mobile-bottom-nav > a,
	.mobile-bottom-nav > button {
		display: flex;
		min-width: 0;
		min-height: 48px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		padding: 2px 4px;
		border: 0;
		background: transparent;
		color: #555a56;
		font: inherit;
		font-size: 10px;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
		cursor: pointer;
	}
	.mobile-bottom-nav > [aria-expanded="true"] { color: var(--jpk-gold); }
	.mobile-bottom-nav > button[data-mobile-drawer-open] {
		margin: 0 3px;
		border-radius: 9px;
		background: var(--jpk-ink);
		color: #fff;
		font-weight: 650;
		box-shadow: 0 2px 7px rgba(37, 39, 34, .16);
	}
	.mobile-bottom-nav > button[data-mobile-drawer-open][aria-expanded="true"] {
		background: var(--jpk-gold);
		color: #fff;
	}
	.mobile-bottom-icon { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
	.mobile-bottom-nav > * + * { border-left: 1px solid #efede8; }
	.mobile-search-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1096;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(25, 27, 25, .42);
	}
	.mobile-search-backdrop[hidden],
	.mobile-search-sheet[hidden] { display: none !important; }
	.mobile-search-sheet {
		position: fixed;
		inset: auto 0 calc(58px + env(safe-area-inset-bottom));
		z-index: 1097;
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 12px 16px max(16px, env(safe-area-inset-bottom));
		border: 1px solid #e8e5dd;
		border-bottom: 0;
		border-radius: 16px 16px 0 0;
		background: #fff;
		box-shadow: 0 -12px 36px rgba(29, 31, 28, .12);
	}
	.mobile-search-sheet-header { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 10px; }
	.mobile-search-sheet-header h2 { margin: 0; color: var(--jpk-ink); font-size: 14px; font-weight: 650; }
	.mobile-search-sheet-header button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--jpk-warm); color: var(--jpk-ink); font-size: 21px; line-height: 1; }
	.mobile-search-form { display: flex; min-height: 46px; border: 1px solid var(--jpk-line); border-radius: 4px; background: var(--jpk-panel); }
	.mobile-search-form:focus-within { border-color: var(--jpk-gold); box-shadow: 0 0 0 2px rgba(41, 74, 99, .1); }
	.mobile-search-form input[type="search"] { flex: 1; min-width: 0; padding: 0 13px; border: 0; background: transparent; color: var(--jpk-ink); font: inherit; font-size: 14px; outline: 0; }
	.mobile-search-form button { display: grid; width: 48px; flex: 0 0 48px; place-items: center; padding: 0; border: 0; border-left: 1px solid var(--jpk-line); background: transparent; color: var(--jpk-muted); }
	.mobile-search-form button svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
	body.mobile-search-open { overflow: hidden; }
	.mobile-contact-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1096;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(25, 27, 25, .42);
	}
	.mobile-contact-backdrop[hidden],
	.mobile-contact-sheet[hidden] { display: none !important; }
	.mobile-contact-sheet {
		position: fixed;
		inset: auto 0 calc(58px + env(safe-area-inset-bottom));
		z-index: 1097;
		display: flex;
		max-height: 84vh;
		max-height: 84dvh;
		flex-direction: column;
		gap: 9px;
		overflow-y: auto;
		padding: 8px 16px max(16px, env(safe-area-inset-bottom));
		border: 1px solid #e8e5dd;
		border-bottom: 0;
		border-radius: 16px 16px 0 0;
		background: #fff;
		box-shadow: 0 -12px 36px rgba(29, 31, 28, .12);
	}
	.mobile-contact-grabber { width: 34px; height: 4px; flex: 0 0 4px; align-self: center; border-radius: 4px; background: #d8d6d0; }
	.mobile-contact-sheet-header { display: flex; min-height: 34px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e8e5dd; }
	.mobile-contact-sheet-header h2 { margin: 0; color: var(--jpk-ink); font-size: 15px; font-weight: 650; }
	.mobile-contact-sheet-header button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--jpk-warm); color: var(--jpk-ink); font-size: 21px; line-height: 1; }
	.mobile-contact-quick-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.mobile-contact-quick-link { display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid #e9e6df; border-radius: 9px; background: #fff; color: #292d2a; text-decoration: none; }
	.mobile-contact-quick-link > svg { display: block; width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
	.mobile-contact-quick-line { min-height: 56px; border-color: #06c755; background: #06c755; color: #fff; box-shadow: 0 4px 12px rgba(6, 199, 85, .2); }
	.mobile-contact-quick-line > svg { color: #fff; fill: currentColor; stroke: none; }
	.mobile-contact-quick-email { min-height: 56px; padding: 7px 12px; border-color: #e9e6df; background: #fff; color: #292d2a; }
	.mobile-contact-quick-email > svg { color: #ea4335; }
	.mobile-contact-quick-link > span { display: grid; min-width: 0; gap: 1px; }
	.mobile-contact-quick-link strong { font-size: 12px; font-weight: 650; line-height: 1.2; }
	.mobile-contact-quick-link small { color: #777970; font-size: 9px; line-height: 1.2; white-space: nowrap; }
	.mobile-contact-quick-line strong { font-size: 14px; }
	.mobile-contact-quick-line small { color: rgba(255, 255, 255, .9); font-size: 10px; }
	.mobile-contact-quick-email strong { font-size: 14px; }
	.mobile-contact-quick-email small { color: #777970; font-size: 10px; }
	.mobile-contact-form { display: grid; gap: 8px; }
	.mobile-contact-fields { display: grid; gap: 7px; }
	.mobile-contact-field { display: grid; gap: 4px; }
	.mobile-contact-field label { color: #353832; font-size: 12px; font-weight: 600; line-height: 1.35; }
	.mobile-contact-field label span { margin-left: 4px; color: #8a8b85; font-size: 10px; font-weight: 400; }
	.mobile-contact-field input,
	.mobile-contact-field textarea { width: 100%; min-height: 40px; margin: 0; padding: 9px 11px; border: 1px solid #dfddd6; border-radius: 7px; background: #fff; color: #292d2a; font: inherit; font-size: 14px; line-height: 1.4; }
	.mobile-contact-field textarea { min-height: 82px; resize: vertical; }
	.mobile-contact-field input:focus,
	.mobile-contact-field textarea:focus { border-color: var(--jpk-gold); outline: 2px solid rgba(41, 74, 99, .15); }
	.mobile-contact-submit { min-height: 42px; padding: 9px 14px; border: 0; border-radius: 7px; background: var(--jpk-gold); color: #fff; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
	.mobile-contact-submit:hover { background: var(--jpk-gold-hover); }
	.mobile-contact-note { margin: -3px 0 0; color: #777970; font-size: 10px; line-height: 1.45; text-align: center; }
	body.mobile-contact-open { overflow: hidden; }
	.mobile-site-menu-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1096;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(25, 27, 25, .42);
	}
	.mobile-site-menu-backdrop[hidden],
	.mobile-site-menu-sheet[hidden] { display: none !important; }
	.mobile-site-menu-sheet {
		position: fixed;
		inset: auto 0 calc(58px + env(safe-area-inset-bottom));
		z-index: 1097;
		display: flex;
		max-height: 70vh;
		max-height: 70dvh;
		flex-direction: column;
		padding: 8px 12px max(12px, env(safe-area-inset-bottom));
		border: 1px solid #e8e5dd;
		border-bottom: 0;
		border-radius: 16px 16px 0 0;
		background: #fff;
		box-shadow: 0 -12px 36px rgba(29, 31, 28, .12);
	}
	.mobile-site-menu-grabber { width: 34px; height: 4px; flex: 0 0 4px; align-self: center; margin: 0 0 8px; border-radius: 4px; background: #d8d6d0; }
	.mobile-site-menu-sheet-header { display: flex; min-height: 38px; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px 7px; border-bottom: 1px solid #e8e5dd; }
	.mobile-site-menu-sheet-header h2 { margin: 0; color: var(--jpk-ink); font-size: 14px; font-weight: 650; }
	.mobile-site-menu-sheet-header button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--jpk-warm); color: var(--jpk-ink); font-size: 21px; line-height: 1; }
	body.mobile-site-menu-open { overflow: hidden; }

	.sidebar {
		position: fixed;
		inset: 0;
		z-index: 1100;
		display: flex;
		width: 100%;
		max-width: none;
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		flex-direction: column;
		margin: 0;
		padding: 0 0 env(safe-area-inset-bottom);
		overflow: hidden;
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .24s ease, visibility 0s linear .24s;
	}
	body.mobile-drawer-open { overflow: hidden; padding-bottom: 0; }
	body.mobile-drawer-open .sidebar {
		transform: translateX(0);
		visibility: visible;
		transition-delay: 0s;
	}
	.mobile-drawer-backdrop { background: rgba(20, 23, 22, .48); }
	.mobile-sidebar-header {
		position: relative;
		z-index: 3;
		display: flex;
		flex: 0 0 auto;
		min-height: calc(54px + env(safe-area-inset-top));
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: max(8px, env(safe-area-inset-top)) 14px 8px;
		border-bottom: 0;
		background: #fff;
		box-shadow: 0 1px 0 #eeece7;
	}
	.mobile-sidebar-header strong { font-size: 17px; font-weight: 600; letter-spacing: .02em; }
	.mobile-sidebar-close {
		position: absolute;
		right: 13px;
		bottom: 8px;
		width: 34px;
		height: 34px;
		border: 0;
		background: var(--jpk-warm);
		font-size: 24px;
	}
	.mobile-site-menu-content { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 10px 0 2px; background: #fff; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.mobile-nav-section-label { display: block; margin: 0 0 5px; color: #88857e; font-size: 9px; font-weight: 600; letter-spacing: .08em; line-height: 1.3; }
	.mobile-drawer-nav { display: block; margin: 0; padding: 0; border: 0; }
	.mobile-drawer-nav .mobile-primary-menu,
	.mobile-drawer-nav .menu {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 5px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.mobile-drawer-nav .mobile-primary-menu > li,
	.mobile-drawer-nav .menu > li,
	.mobile-utility-nav .menu > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
	.mobile-drawer-nav .mobile-primary-menu a,
	.mobile-drawer-nav .menu a {
		display: flex;
		width: 100%;
		min-height: 36px;
		align-items: center;
		padding: 5px 7px;
		border: 1px solid #e9e6de;
		border-radius: 5px;
		background: #fff;
		color: #303632;
		font-size: 11px;
		line-height: 1.35;
		text-decoration: none;
	}
	.mobile-utility-nav { display: block; margin: 9px 0 0; padding-top: 8px; border-top: 1px solid #e8e5dd; }
	.mobile-utility-nav .menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
	.mobile-utility-nav a { display: flex; min-height: 30px; align-items: center; color: #686d69; font-size: 10px; line-height: 1.35; text-decoration: none; }
	.mobile-category-browser {
		display: flex;
		min-height: 0;
		flex: 1 1 auto;
		flex-direction: column;
		background: #fff;
	}
	.mobile-browser-tabs {
		display: grid;
		flex: 0 0 48px;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		padding: 0 12px;
		border-bottom: 1px solid #e8e6e0;
		background: #fff;
	}
	.mobile-browser-tabs button {
		position: relative;
		min-height: 48px;
		padding: 0 12px;
		border: 0;
		background: transparent;
		color: #747873;
		font: inherit;
		font-size: 13px;
		cursor: pointer;
	}
	.mobile-browser-tabs button[aria-selected="true"] { color: #151916; font-weight: 650; }
	.mobile-browser-tabs button[aria-selected="true"]::after {
		position: absolute;
		right: 16px;
		bottom: -1px;
		left: 16px;
		height: 2px;
		background: var(--jpk-gold);
		content: "";
	}
	.mobile-browser-split {
		display: grid;
		min-height: 0;
		flex: 1 1 auto;
		grid-template-columns: minmax(132px, 36%) minmax(0, 1fr);
	}
	.mobile-browser-left {
		min-width: 0;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		border-right: 1px solid #e8e6e0;
		background: var(--jpk-warm);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.mobile-browser-left::-webkit-scrollbar,
	.mobile-browser-right::-webkit-scrollbar { display: none; }
	.mobile-browser-options { display: grid; align-content: start; }
	.mobile-browser-options[hidden],
	.mobile-browser-view[hidden] { display: none !important; }
	.mobile-category-option {
		position: relative;
		display: flex;
		width: 100%;
		min-height: 55px;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		padding: 8px 21px 8px 11px;
		border: 0;
		border-bottom: 1px solid #e8e6e0;
		background: transparent;
		color: #343936;
		font: inherit;
		font-size: 11px;
		line-height: 1.28;
		text-align: left;
		text-decoration: none;
		word-break: normal;
		overflow-wrap: break-word;
		cursor: pointer;
	}
	.mobile-category-option[aria-selected="true"],
	.mobile-category-option[aria-current="page"] { background: #fff; color: var(--jpk-gold); font-weight: 600; }
	.mobile-category-option[aria-selected="true"]::before,
	.mobile-category-option[aria-current="page"]::before {
		position: absolute;
		inset: 0 auto 0 0;
		width: 3px;
		background: var(--jpk-gold);
		content: "";
	}
	.mobile-category-label-en { font-size: 10px; font-weight: 650; letter-spacing: .025em; word-break: normal; overflow-wrap: normal; }
	.mobile-category-label-ja { font-size: 11px; word-break: normal; overflow-wrap: break-word; }
	.mobile-category-option-arrow { position: absolute; top: 50%; right: 8px; color: #8b8e89; font-size: 17px; transform: translateY(-50%); }
	.mobile-browser-right { min-width: 0; min-height: 0; overflow-y: auto; padding: 12px 9px 20px; overscroll-behavior: contain; background: #fff; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.mobile-browser-view { min-width: 0; }
	.mobile-browser-view-heading {
		display: flex;
		min-height: 33px;
		align-items: flex-start;
		justify-content: space-between;
		gap: 6px;
		margin: 0 0 10px;
		color: #242925;
		font-size: 12px;
		line-height: 1.35;
	}
	.mobile-browser-view-heading strong { min-width: 0; font-weight: 650; overflow-wrap: anywhere; }
	.mobile-browser-view-heading a { flex: 0 0 auto; color: var(--jpk-gold); font-size: 10px; text-decoration: none; }
	.mobile-category-link-list,
	.mobile-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
	.mobile-category-link,
	.mobile-product-link {
		display: flex;
		min-width: 0;
		min-height: 42px;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 2px;
		border-bottom: 1px solid #eeece7;
		color: #3e433f;
		font-size: 11px;
		line-height: 1.4;
		text-align: left;
		text-decoration: none;
	}
	.mobile-category-link-title,
	.mobile-product-link-title { display: -webkit-box; min-width: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
	.mobile-category-link-arrow { flex: 0 0 auto; color: var(--jpk-gold); font-size: 17px; line-height: 1; }
	.mobile-products-hint,
	.mobile-browser-empty { grid-column: 1 / -1; margin: 12px 2px; color: #777c77; font-size: 11px; line-height: 1.55; }
	.legacy-sidebar-content { display: none; }
	.layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0 28px; }
}

@media (max-width: 767px) {
	.jpk-home-product-section ul.products {
		display: grid !important;
		width: calc(100% + 48px) !important;
		max-width: none !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 8px !important;
		margin: 8px -24px 0 !important;
		padding: 0 !important;
	}
	.jpk-home-product-section ul.products li.product { padding-bottom: 8px; }
	.jpk-home-product-section ul.products li.product > a:first-of-type {
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		align-items: start;
		gap: 4px 12px;
		padding: 8px;
		text-align: left;
	}
	.jpk-home-product-section ul.products li.product > a:first-of-type > img {
		grid-column: 1;
		grid-row: 1 / 4;
		width: 88px !important;
		height: 88px !important;
		margin: 0 !important;
		aspect-ratio: 1 / 1;
		object-fit: contain;
	}
	.jpk-home-product-section ul.products li.product .woocommerce-loop-product__title {
		grid-column: 2;
		grid-row: 1;
		align-self: start;
		margin: 0;
		padding: 0;
		font-size: 12px;
		line-height: 1.45;
		text-align: left;
		display: block;
		overflow: visible;
		word-break: normal;
		overflow-wrap: anywhere;
	}
	.jpk-home-product-section ul.products li.product .star-rating { grid-column: 2; grid-row: 2; margin: 0; }
	.jpk-home-product-section ul.products li.product .price { grid-column: 2; grid-row: 3; align-self: end; margin: 0; padding: 0; font-size: 12px; text-align: left; }
	.jpk-home-product-section ul.products li.product .button {
		display: flex;
		width: 100% !important;
		min-width: 0;
		min-height: 32px;
		margin: 5px 0 0 !important;
		padding: 5px 2px;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		writing-mode: horizontal-tb !important;
		text-align: center;
		white-space: nowrap !important;
		word-break: keep-all;
		overflow-wrap: normal;
		font-size: 10px !important;
		line-height: 1.1;
	}

	.woocommerce.archive ul.products {
		display: grid !important;
		width: 100% !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		clear: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.woocommerce.archive ul.products li.product { display: flex !important; width: auto !important; margin: 0 !important; flex-direction: column; }
}

@media (max-width: 767px) {
	.woocommerce ul.products li.product .jpk-product-summary-wrap,
	.jpk-home-product-section ul.products li.product .jpk-product-summary-wrap {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 8px 8px !important;
		box-sizing: border-box;
		text-align: left !important;
	}
	.woocommerce ul.products li.product .jpk-product-summary-wrap > .jpk-product-card-link,
	.jpk-home-product-section ul.products li.product .jpk-product-summary-wrap > .jpk-product-card-link {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.woocommerce ul.products li.product .jpk-product-summary-wrap .woocommerce-loop-product__title,
	.jpk-home-product-section ul.products li.product .jpk-product-summary-wrap .woocommerce-loop-product__title {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		font-size: 12px;
		line-height: 1.45;
		text-align: left !important;
		-webkit-box-orient: initial;
		-webkit-line-clamp: unset;
		overflow: visible;
		box-sizing: border-box;
	}
	.woocommerce ul.products li.product .jpk-product-summary-wrap .price,
	.jpk-home-product-section ul.products li.product .jpk-product-summary-wrap .price {
		width: 100% !important;
		margin: 5px 0 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.woocommerce.archive ul.products li.product .jpk-product-summary-wrap {
		display: flex !important;
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
	}
	.woocommerce.archive ul.products li.product .jpk-product-summary-wrap .price {
		margin: auto 0 0 !important;
		padding-top: 8px !important;
		text-align: center !important;
	}
}

@media (max-width: 380px) {
	.mobile-site-menu-sheet { max-height: 76vh; max-height: 76dvh; }
	.mobile-drawer-nav .mobile-primary-menu,
	.mobile-drawer-nav .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-utility-nav .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-browser-split { grid-template-columns: minmax(124px, 38%) minmax(0, 1fr); }
	.mobile-browser-right { padding-inline: 7px; }
	.mobile-category-link,
	.mobile-product-link { min-height: 40px; font-size: 10px; }
	.mobile-category-option { padding-left: 9px; font-size: 10px; }
}

/* Native category navigation used for leaf categories and after the old plugin is removed. */
.jpk-category-navigation {
	margin: 0 0 25px;
	padding: 15px;
	border-radius: 10px;
	background: var(--jpk-warm);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.jpk-category-navigation-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jpk-category-navigation-item { min-width: 0; margin: 0; padding: 0; }
.jpk-category-navigation-item a {
	display: block;
	padding: 10px 15px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
	color: var(--jpk-ink);
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.jpk-category-navigation-item a:hover { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(0, 0, 0, .1); }
.jpk-category-navigation-item.is-current a {
	border-color: var(--jpk-gold);
	background: var(--jpk-warm);
	color: var(--jpk-ink);
	font-weight: 600;
}
@media (min-width: 768px) {
	.jpk-category-navigation { padding: 20px; margin-bottom: 30px; }
	.jpk-category-navigation-list { justify-content: flex-start; gap: 15px; }
	.jpk-category-navigation-item a { padding: 12px 18px; font-size: 15px; }
}

@media (max-width: 767px) {
	.jpk-category-navigation,
	.custom-subcategories-container {
		margin-bottom: 16px !important;
		padding: 10px !important;
	}
	.jpk-category-navigation-list,
	.custom-subcategories {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: stretch;
		justify-content: flex-start !important;
		gap: 7px !important;
	}
	.jpk-category-navigation-item,
	.custom-subcat-item {
		min-width: 0;
		width: auto !important;
		max-width: 100%;
		flex: 1 1 auto;
		margin: 0 !important;
		padding: 0 !important;
		white-space: normal !important;
	}
	.jpk-category-navigation-item a,
	.custom-subcat-item a {
		display: flex !important;
		min-height: 38px;
		align-items: center;
		justify-content: center;
		padding: 7px 10px !important;
		max-width: 100%;
		font-size: 12px !important;
		line-height: 1.3;
		white-space: normal !important;
		overflow-wrap: anywhere;
		box-sizing: border-box;
	}
}

@media (max-width: 380px) {
	.jpk-category-navigation,
	.custom-subcategories-container { padding: 8px !important; }
	.jpk-category-navigation-list,
	.custom-subcategories {
		gap: 6px !important;
	}
	.jpk-category-navigation-item a,
	.custom-subcat-item a { padding-inline: 8px !important; font-size: 11px !important; }
}

@media (max-width: 767px) {
	.jpk-category-navigation-item a:hover,
	.custom-subcat-item:hover {
		transform: none !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, .05) !important;
	}
	.jpk-category-navigation-item a,
	.custom-subcat-item {
		transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease, border-color .12s ease !important;
	}
	.jpk-category-navigation-item a:active,
	.custom-subcat-item:active {
		transform: scale(.98) !important;
		background: var(--jpk-warm) !important;
		border-color: var(--jpk-gold) !important;
		box-shadow: 0 0 0 1px var(--jpk-gold) inset !important;
	}
}

@media (max-width: 767px) {
	.woocommerce.archive ul.products li.product,
	.woocommerce.archive ul.products li.product-category {
		transition: none !important;
	}
	.woocommerce.archive ul.products li.product:hover,
	.woocommerce.archive ul.products li.product-category:hover {
		transform: none !important;
		border-color: var(--jpk-line) !important;
		box-shadow: none !important;
	}
	.woocommerce.archive ul.products li.product img,
	.woocommerce.archive ul.products li.product-category img {
		transform: none !important;
		transition: none !important;
	}
}

/* Use one restrained radius across storefront panels, cards, and controls. */
@media (min-width: 768px) {
	.layout > .sidebar { border-radius: var(--jpk-radius) !important; }
}

.header-search form,
.side-tabs button,
.category-row > a,
.category-toggle,
.sidebar-news,
.sidebar-contact,
.home-hero,
.home-button,
.home-trust-strip,
.home-product-card,
.home-product-image,
.home-info-section,
.home-info-links a,
.section-title,
.quick-cats a,
.product-card,
.product-art,
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category,
.woocommerce ul.products li.product a img,
.woocommerce div[id^="product-"] div.images img,
.woocommerce ul.products li.product .button,
.woocommerce div[id^="product-"] form.cart .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce div[id^="product-"] .woocommerce-tabs ul.tabs li,
.woocommerce table.shop_table,
.woocommerce.archive .woocommerce-products-header,
.woocommerce.archive .woocommerce-ordering select,
.jpk-factory-showcase,
.jpk-factory-card,
.jpk-floating-contact-button,
.mobile-search-sheet,
.mobile-search-form,
.mobile-contact-sheet,
.mobile-contact-quick-link,
.mobile-contact-field input,
.mobile-contact-field textarea,
.mobile-contact-submit,
.mobile-site-menu-sheet,
.mobile-drawer-nav .mobile-primary-menu a,
.mobile-drawer-nav .menu a,
.mobile-category-option,
.mobile-category-link,
.mobile-product-link,
.jpk-category-navigation,
.jpk-category-navigation-item a,
.custom-subcat-item,
.custom-subcat-item a,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea,
.content img:not(.custom-logo) {
	border-radius: var(--jpk-radius) !important;
}

/* Intentional round icon controls stay circular. */
.jpk-products-toggle,
.mobile-sidebar-close,
.mobile-search-sheet-header button,
.mobile-contact-sheet-header button,
.mobile-site-menu-sheet-header button {
	border-radius: 50% !important;
}

@media (min-width: 768px) {
	.header-account-icon { display: none; }
}

/* Use the supplied original logo image and scale it within each header layout. */
.site-branding .site-logo {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	line-height: 0;
}
.site-branding .site-logo img.site-logo-image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 58px;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

@media (max-width: 900px) and (min-width: 768px) {
	.site-branding .site-logo img.site-logo-image { max-height: 52px; }
}

@media (max-width: 767px) {
	.site-branding .site-logo img.site-logo-image { max-height: 46px; }
}

@media (max-width: 420px) {
	.site-branding .site-logo img.site-logo-image { max-height: 43px; }
}

/* Product details: gallery-first, clear buying hierarchy, and mobile-friendly content. */
body.single-product .jpk-single-product-shell div.images {
	margin-bottom: 24px;
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery__image {
	display: grid;
	aspect-ratio: 1 / 1;
	place-items: center;
	overflow: hidden;
	border: 1px solid var(--jpk-line);
	border-radius: var(--jpk-radius);
	background: #fff;
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery__image > a {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery__image img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	background: #fff;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 10px 0 0;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs li {
	width: auto;
	margin: 0;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs img {
	border: 1px solid var(--jpk-line);
	border-radius: 5px;
	background: #fff;
	opacity: .76;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs img.flex-active {
	border-color: var(--jpk-gold);
	opacity: 1;
}
body.single-product .jpk-single-product-shell div.summary {
	padding: clamp(18px, 2.2vw, 28px);
	border: 1px solid var(--jpk-line);
	border-radius: var(--jpk-radius);
	background: var(--jpk-panel);
}
body.single-product .jpk-single-product-shell .product_title {
	margin: 0 0 12px;
	color: var(--jpk-ink);
	font-family: inherit;
	font-size: clamp(20px, 1.7vw, 25px);
	font-weight: 650;
	line-height: 1.5;
}
body.single-product .jpk-single-product-shell p.price,
body.single-product .jpk-single-product-shell span.price {
	margin: 0 0 16px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--jpk-line);
	font-size: clamp(21px, 1.8vw, 26px);
	font-weight: 700;
	line-height: 1.35;
}
body.single-product .jpk-single-product-shell .price del {
	color: var(--jpk-muted);
	font-size: .72em;
	font-weight: 400;
}
body.single-product .jpk-single-product-shell .price ins {
	color: var(--jpk-ink);
	text-decoration: none;
}
body.single-product .jpk-single-product-shell .woocommerce-product-details__short-description {
	color: #4f514c;
	font-size: 14px;
	line-height: 1.8;
}
body.single-product .jpk-single-product-shell .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0;
}
body.single-product .jpk-single-product-shell form.cart {
	margin: 20px 0 16px;
	padding-top: 18px;
	border-top: 1px solid var(--jpk-line);
}
body.single-product .jpk-single-product-shell form.cart .variations {
	margin-bottom: 14px;
}
body.single-product .jpk-single-product-shell form.cart .variations th,
body.single-product .jpk-single-product-shell form.cart .variations td {
	padding: 8px 5px;
	vertical-align: middle;
}
body.single-product .jpk-single-product-shell form.cart .variations label {
	color: var(--jpk-ink);
	font-weight: 600;
}
body.single-product .jpk-single-product-shell form.cart .variations select {
	min-height: 44px;
	background-color: #fff;
}
body.single-product .jpk-single-product-shell form.cart .quantity input {
	min-height: 46px;
	border: 1px solid var(--jpk-line);
	border-radius: var(--jpk-radius);
	background: #fff;
}
body.single-product .jpk-single-product-shell form.cart .single_add_to_cart_button {
	min-height: 48px;
	padding: 11px 22px;
	border-radius: var(--jpk-radius);
	font-size: 15px;
	font-weight: 650;
}
body.single-product .jpk-single-product-shell .product_meta {
	padding-top: 14px;
	border-top: 1px solid var(--jpk-line);
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.8;
}
body.single-product .jpk-single-product-shell .product_meta a {
	color: var(--jpk-gold-hover);
}
body.single-product .jpk-single-product-shell .woocommerce-tabs {
	clear: both;
	margin-top: 28px;
	padding: clamp(16px, 2vw, 26px);
	border: 1px solid var(--jpk-line);
	border-radius: var(--jpk-radius);
	background: var(--jpk-panel);
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--jpk-line);
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs::before,
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs::after {
	display: none;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs li {
	position: relative;
	margin: 0;
	padding: 0 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs li.active::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: var(--jpk-gold);
	content: "";
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs li a {
	padding: 0;
	color: var(--jpk-muted);
	font-size: 14px;
	font-weight: 550;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs li.active a {
	color: var(--jpk-ink);
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel {
	margin: 0;
	color: #454842;
	font-size: 14px;
	line-height: 1.85;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel h2 {
	margin: 0 0 12px;
	color: var(--jpk-ink);
	font-size: 18px;
	font-weight: 650;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel th {
	width: 30%;
	background: var(--jpk-warm);
	font-weight: 600;
	text-align: left;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel th,
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel td {
	overflow-wrap: anywhere;
}
body.single-product .jpk-single-product-shell .jpk-product-accordion-toggle {
	display: none;
}
body.single-product .jpk-single-product-shell .related,
body.single-product .jpk-single-product-shell .upsells {
	margin-top: 28px;
	padding: clamp(16px, 2vw, 26px);
	border: 1px solid var(--jpk-line);
	border-radius: var(--jpk-radius);
	background: var(--jpk-warm);
}
body.single-product .jpk-single-product-shell .related > h2,
body.single-product .jpk-single-product-shell .upsells > h2 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 650;
}
@media (min-width: 901px) {
	body.single-product .jpk-single-product-shell div.summary {
		position: sticky;
		top: 18px;
	}
}
@media (max-width: 900px) {
	body.single-product .jpk-single-product-shell div.images,
	body.single-product .jpk-single-product-shell div.summary {
		float: none;
		width: 100%;
	}
	body.single-product .jpk-single-product-shell div.images {
		margin-bottom: 16px;
	}
}
@media (max-width: 767px) {
	body.single-product .jpk-single-product-shell .flex-control-thumbs {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 6px;
	}
	body.single-product .jpk-single-product-shell div.summary {
		padding: 17px 15px;
	}
	body.single-product .jpk-single-product-shell .product_title {
		font-size: 20px;
	}
	body.single-product .jpk-single-product-shell p.price,
	body.single-product .jpk-single-product-shell span.price {
		font-size: 23px;
	}
	body.single-product .jpk-single-product-shell form.cart .single_add_to_cart_button {
		min-height: 46px;
		width: 100%;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs {
		margin-top: 18px;
		padding: 14px 12px;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion ul.tabs {
		display: none !important;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion .jpk-product-accordion-toggle:not([hidden]) {
		display: flex;
		width: 100%;
		min-height: 50px;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 4px;
		border: 0;
		border-top: 1px solid var(--jpk-line);
		border-radius: 0;
		background: transparent;
		color: var(--jpk-ink);
		font-size: 14px;
		font-weight: 650;
		text-align: left;
		cursor: pointer;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion .jpk-product-accordion-toggle::after {
		flex: 0 0 auto;
		color: var(--jpk-gold);
		font-size: 20px;
		font-weight: 400;
		line-height: 1;
		content: "+";
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion .jpk-product-accordion-toggle[aria-expanded="true"]::after {
		content: "−";
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion .panel {
		display: block !important;
		margin: 0;
		padding: 0 4px 16px;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs.jpk-mobile-accordion .panel[hidden] {
		display: none !important;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs .panel h2 {
		font-size: 16px;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs .panel {
		font-size: 13px;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs .panel th,
	body.single-product .jpk-single-product-shell .woocommerce-tabs .panel td {
		padding: 8px 7px;
	}
	body.single-product .jpk-single-product-shell .related,
	body.single-product .jpk-single-product-shell .upsells {
		margin-top: 18px;
		padding: 14px 12px;
	}
	body.single-product .jpk-single-product-shell .related > h2,
	body.single-product .jpk-single-product-shell .upsells > h2 {
		font-size: 18px;
	}
}

/* Product page reference pass: wider gallery, clearer buy panel, and a real WooCommerce mobile buy shortcut. */
body.single-product .jpk-single-product-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
	align-items: start;
	column-gap: clamp(18px, 2.5vw, 36px);
	row-gap: 24px;
}
body.single-product .jpk-single-product-shell::before,
body.single-product .jpk-single-product-shell::after {
	display: none;
}
body.single-product .jpk-single-product-shell div.images,
body.single-product .jpk-single-product-shell div.summary {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}
body.single-product .jpk-single-product-shell div.images {
	grid-column: 1;
	grid-row: 1;
}
body.single-product .jpk-single-product-shell div.summary {
	grid-column: 2;
	grid-row: 1;
	position: sticky;
	top: 18px;
	padding: clamp(20px, 2.4vw, 32px);
	border-color: #e8e3d9;
	border-radius: 12px;
	box-shadow: 0 8px 26px rgba(37, 39, 34, .045);
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery {
	width: 100%;
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery__image {
	border-radius: 12px;
	background: #fff;
}
body.single-product .jpk-single-product-shell .woocommerce-product-gallery__image img {
	transition: none;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}
body.single-product .jpk-single-product-shell .flex-control-thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 3px;
	border-radius: 8px;
	background: #fff;
}
body.single-product .jpk-single-product-shell .product_title {
	margin-bottom: 14px;
	font-size: clamp(22px, 2vw, 29px);
	font-weight: 600;
	line-height: 1.4;
}
body.single-product .jpk-single-product-shell p.price,
body.single-product .jpk-single-product-shell span.price {
	margin-bottom: 18px;
	padding-bottom: 17px;
	border-bottom-color: #e8e3d9;
	font-size: clamp(24px, 2.2vw, 31px);
	letter-spacing: -.02em;
}
body.single-product .jpk-single-product-shell .stock {
	margin: 12px 0;
	color: #55705c;
	font-size: 13px;
}
body.single-product .jpk-single-product-shell .woocommerce-product-details__short-description {
	font-size: 14px;
	line-height: 1.85;
}
body.single-product .jpk-single-product-shell form.cart {
	margin-top: 22px;
	padding-top: 20px;
}
body.single-product .jpk-single-product-shell form.cart .single_add_to_cart_button {
	min-height: 52px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(41, 74, 99, .16);
	font-size: 15px;
}
body.single-product .jpk-single-product-shell .product_meta {
	line-height: 1.9;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs,
body.single-product .jpk-single-product-shell .related,
body.single-product .jpk-single-product-shell .upsells {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0;
	border-radius: 12px;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs {
	margin-top: 2px;
}
body.single-product .jpk-single-product-shell .related,
body.single-product .jpk-single-product-shell .upsells {
	background: #f5f3ee;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs ul.tabs {
	gap: clamp(16px, 3vw, 34px);
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .panel img {
	border-radius: 8px;
}
.jpk-product-breadcrumb {
	margin: 0 0 15px;
	padding: 9px 12px;
	border: 1px solid var(--jpk-line);
	border-radius: 9px;
	background: var(--jpk-warm);
}
.jpk-product-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.55;
}
body.single-product .jpk-single-product-shell .product_title {
	display: block !important;
	margin: 0 0 12px;
	font-size: clamp(24px, 2.2vw, 31px);
	font-weight: 650;
	line-height: 1.4;
}
.jpk-product-eyebrow {
	margin: 0 0 5px;
	color: var(--jpk-gold-hover);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	line-height: 1.4;
}
.jpk-product-spec-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 15px 0 4px;
}
.jpk-product-spec-pill {
	display: inline-flex;
	min-width: 0;
	flex-direction: column;
	gap: 1px;
	padding: 7px 11px;
	border: 1px solid #e4e8e3;
	border-radius: 8px;
	background: var(--jpk-sage);
	line-height: 1.35;
}
.jpk-product-spec-pill small {
	color: var(--jpk-muted);
	font-size: 10px;
}
.jpk-product-spec-pill strong {
	max-width: 210px;
	overflow: hidden;
	color: var(--jpk-ink);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.jpk-product-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin-top: 16px;
}
.jpk-product-benefit {
	display: flex;
	min-width: 0;
	min-height: 92px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 6px;
	border: 1px solid var(--jpk-line);
	border-radius: 9px;
	background: #fff;
	color: var(--jpk-ink);
	text-align: center;
}
.jpk-product-benefit:hover { border-color: var(--jpk-gold-soft); color: var(--jpk-ink); }
.jpk-product-benefit > span:last-child { display: grid; gap: 2px; }
.jpk-product-benefit strong { font-size: 10px; font-weight: 650; line-height: 1.35; }
.jpk-product-benefit small { color: var(--jpk-muted); font-size: 9px; line-height: 1.4; }
.jpk-product-benefit-mark {
	display: grid;
	width: 27px;
	height: 27px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: var(--jpk-sage);
	color: var(--jpk-gold-hover);
}
.jpk-product-benefit-mark svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}
body.single-product .jpk-single-product-shell .woocommerce-tabs .wp-video,
body.single-product .jpk-single-product-shell .woocommerce-tabs video,
body.single-product .jpk-single-product-shell .woocommerce-tabs iframe {
	width: 100% !important;
	max-width: 100% !important;
}
.jpk-mobile-buybar { display: none; }

@media (max-width: 900px) {
	body.single-product .jpk-single-product-shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 16px;
	}
	body.single-product .jpk-single-product-shell div.images,
	body.single-product .jpk-single-product-shell div.summary,
	body.single-product .jpk-single-product-shell .woocommerce-tabs,
	body.single-product .jpk-single-product-shell .related,
	body.single-product .jpk-single-product-shell .upsells {
		grid-column: 1;
		grid-row: auto;
	}
	body.single-product .jpk-single-product-shell div.summary {
		position: static;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs,
	body.single-product .jpk-single-product-shell .related,
	body.single-product .jpk-single-product-shell .upsells {
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.jpk-product-breadcrumb { margin-bottom: 10px; padding: 8px 10px; }
	.jpk-product-breadcrumb .woocommerce-breadcrumb { font-size: 11px; }
	body.single-product .jpk-single-product-shell {
		row-gap: 13px;
	}
	body.single-product .jpk-single-product-shell div.images {
		margin-bottom: 0;
	}
	body.single-product .jpk-single-product-shell div.summary {
		padding: 18px 15px;
		border-radius: 12px;
	}
	body.single-product .jpk-single-product-shell .product_title {
		font-size: 21px;
	}
	.jpk-product-spec-pills { gap: 6px; margin-top: 12px; }
	.jpk-product-spec-pill { padding: 6px 9px; }
	.jpk-product-spec-pill strong { max-width: 150px; font-size: 11px; }
	.jpk-product-benefits { gap: 6px; margin-top: 13px; }
	.jpk-product-benefit { min-height: 48px; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 8px; text-align: left; }
	.jpk-product-benefit:last-child { grid-column: 1 / -1; }
	.jpk-product-benefit strong { font-size: 11px; }
	.jpk-product-benefit small { font-size: 10px; }
	body.single-product .jpk-single-product-shell p.price,
	body.single-product .jpk-single-product-shell span.price {
		font-size: 25px;
	}
	body.single-product .jpk-single-product-shell .flex-control-thumbs {
		gap: 7px;
		margin-top: 9px;
	}
	body.single-product .jpk-single-product-shell .woocommerce-tabs,
	body.single-product .jpk-single-product-shell .related,
	body.single-product .jpk-single-product-shell .upsells {
		padding: 15px 13px;
		border-radius: 12px;
	}
	body.single-product.jpk-mobile-buybar-visible {
		padding-bottom: calc(130px + env(safe-area-inset-bottom));
	}
	.jpk-mobile-buybar:not([hidden]) {
		position: fixed;
		inset: auto 0 calc(62px + env(safe-area-inset-bottom));
		z-index: 1097;
		display: flex;
		min-height: 66px;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 9px 14px;
		border-top: 1px solid #e8e3d9;
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 -5px 18px rgba(37, 39, 34, .08);
		backdrop-filter: blur(12px);
	}
	.jpk-mobile-buybar-price {
		min-width: 0;
		color: var(--jpk-ink);
		font-size: 16px;
		font-weight: 700;
		line-height: 1.25;
	}
	.jpk-mobile-buybar-price del { color: var(--jpk-muted); font-size: .75em; font-weight: 400; }
	.jpk-mobile-buybar-price ins { text-decoration: none; }
	.jpk-mobile-buybar-button {
		flex: 0 0 auto;
		min-height: 44px;
		padding: 9px 18px;
		border: 0;
		border-radius: 8px;
		background: var(--jpk-gold);
		color: #fff;
		font-size: 13px;
		font-weight: 650;
		cursor: pointer;
	}
	.jpk-mobile-buybar-button:active { background: var(--jpk-gold-hover); }
	.jpk-mobile-buybar-button:focus-visible { outline: 2px solid var(--jpk-ink); outline-offset: 2px; }
	.jpk-mobile-buybar-button:disabled { opacity: .55; cursor: not-allowed; }
}

/* Product reference layout: real WooCommerce gallery and purchase data in a
   purpose-built two-column composition, with the content modules below it. */
body.single-product .jpk-single-product-shell {
	display: block !important;
	width: 100%;
	margin: 0 !important;
}
.jpk-product-main-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	align-items: start;
	gap: clamp(24px, 3.2vw, 44px);
}
.jpk-product-gallery,
.jpk-product-purchase-panel {
	min-width: 0;
}
body.single-product .jpk-product-gallery div.images {
	float: none;
	width: 100%;
	margin: 0;
}
body.single-product .jpk-product-gallery .woocommerce-product-gallery {
	width: 100%;
	margin: 0;
}
body.single-product .jpk-product-gallery .woocommerce-product-gallery__image {
	border: 1px solid var(--jpk-line);
	border-radius: 13px;
	background: #fff;
}
body.single-product .jpk-product-gallery .flex-control-thumbs {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin-top: 11px;
}
body.single-product .jpk-product-gallery .flex-control-thumbs li {
	min-width: 0;
}
body.single-product .jpk-product-gallery .flex-control-thumbs img {
	width: 100%;
	 aspect-ratio: 1;
	 object-fit: contain;
	 padding: 3px;
	 border: 1px solid var(--jpk-line);
	 border-radius: 8px;
	 background: #fff;
}
body.single-product .jpk-product-purchase-panel {
	float: none;
	width: auto;
	margin: 0;
	padding: clamp(20px, 2.5vw, 32px);
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: var(--jpk-panel);
	box-shadow: 0 8px 24px rgba(37, 39, 34, .045);
}
body.single-product .jpk-product-purchase-panel .product_title {
	display: block !important;
	margin: 0 0 10px;
	color: var(--jpk-ink);
	font-family: inherit;
	font-size: clamp(23px, 2vw, 30px);
	font-weight: 650;
	line-height: 1.42;
}
body.single-product .jpk-product-purchase-panel .woocommerce-product-rating {
	margin: 0 0 12px;
	font-size: 12px;
}
body.single-product .jpk-product-purchase-panel .star-rating {
	color: var(--jpk-gold);
}
body.single-product .jpk-product-purchase-panel p.price,
body.single-product .jpk-product-purchase-panel span.price {
	margin: 0 0 15px;
	padding: 0 0 15px;
	border-bottom: 1px solid var(--jpk-line);
	color: var(--jpk-ink);
	font-size: clamp(25px, 2.4vw, 33px);
	font-weight: 700;
	line-height: 1.3;
}
body.single-product .jpk-product-purchase-panel .woocommerce-product-details__short-description {
	margin: 0;
	color: #4f514c;
	font-size: 14px;
	line-height: 1.85;
}
body.single-product .jpk-product-purchase-panel .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0;
}
body.single-product .jpk-product-purchase-panel .jpk-product-spec-pills {
	margin: 15px 0 4px;
}
body.single-product .jpk-product-purchase-panel form.cart {
	margin: 19px 0 13px;
	padding-top: 18px;
	border-top: 1px solid var(--jpk-line);
}
body.single-product .jpk-product-purchase-panel form.cart .single_add_to_cart_button {
	min-height: 52px;
	border-radius: 9px;
	font-size: 15px;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefits {
	margin-top: 15px;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefit-contact {
	border-color: #d6e8dc;
	background: #f1f8f3;
	color: #145b35;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefit-contact .jpk-product-benefit-mark {
	background: #e0f3e6;
	color: #08783b;
}
body.single-product .jpk-product-purchase-panel .product_meta {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--jpk-line);
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.8;
}
body.single-product .jpk-product-purchase-panel .product_meta a {
	color: var(--jpk-gold-hover);
}
.jpk-product-below-content {
	margin-top: clamp(28px, 3.5vw, 46px);
}
body.single-product .jpk-product-below-content .woocommerce-tabs,
body.single-product .jpk-product-below-content .related,
body.single-product .jpk-product-below-content .upsells {
	width: 100%;
	margin: 0 0 16px;
	padding: clamp(18px, 2.5vw, 30px);
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: var(--jpk-panel);
}
body.single-product .jpk-product-below-content .related,
body.single-product .jpk-product-below-content .upsells {
	background: var(--jpk-warm);
}
body.single-product .jpk-product-below-content .woocommerce-tabs .panel {
	color: #4f514c;
	font-size: 14px;
	line-height: 1.85;
}
body.single-product .jpk-product-below-content .woocommerce-tabs .panel video,
body.single-product .jpk-product-below-content .woocommerce-tabs .panel iframe,
body.single-product .jpk-product-below-content .woocommerce-tabs .panel .wp-video {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 10px;
}

@media (max-width: 900px) {
	.jpk-product-main-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	body.single-product .jpk-product-purchase-panel {
		position: static;
	}
	.jpk-product-below-content {
		margin-top: 22px;
	}
}
@media (max-width: 767px) {
	body.single-product .jpk-product-gallery .flex-control-thumbs {
		gap: 7px;
		margin-top: 9px;
	}
	body.single-product .jpk-product-purchase-panel {
		padding: 18px 15px;
		border-radius: 12px;
	}
	body.single-product .jpk-product-purchase-panel .product_title {
		font-size: 22px;
	}
	body.single-product .jpk-product-purchase-panel p.price,
	body.single-product .jpk-product-purchase-panel span.price {
		font-size: 25px;
	}
	body.single-product .jpk-product-purchase-panel form.cart .single_add_to_cart_button {
		width: 100%;
	}
	body.single-product .jpk-product-below-content .woocommerce-tabs,
	body.single-product .jpk-product-below-content .related,
	body.single-product .jpk-product-below-content .upsells {
		margin-bottom: 12px;
		padding: 15px 13px;
		border-radius: 12px;
	}
}

/* Fullscreen product image viewer, adapted from the supplied reference. */
body.jpk-image-lightbox-open {
	overscroll-behavior: none;
}
.jpk-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
	background: #0b0e12;
	color: #f6f6f4;
	font-family: inherit;
	overscroll-behavior: contain;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease, visibility .18s ease;
}
.jpk-image-lightbox.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}
.jpk-image-lightbox,
.jpk-image-lightbox * {
	box-sizing: border-box;
}
.jpk-image-lightbox button {
	min-width: 40px;
	min-height: 40px;
	display: inline-grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 10px;
	background: rgba(255, 255, 255, .07);
	color: inherit;
	font: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
}
.jpk-image-lightbox button:hover {
	background: rgba(255, 255, 255, .16);
}
.jpk-image-lightbox button:focus-visible {
	outline: 2px solid #d2b47a;
	outline-offset: 2px;
}
.jpk-image-lightbox__top {
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px clamp(14px, 2.5vw, 28px);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.jpk-image-lightbox__heading {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-width: 0;
}
.jpk-image-lightbox__heading strong {
	font-size: 14px;
	letter-spacing: .04em;
}
.jpk-image-lightbox__count,
.jpk-image-lightbox__zoom {
	color: #b4bdc2;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}
.jpk-image-lightbox__controls {
	display: flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
}
.jpk-image-lightbox__zoom {
	min-width: 44px;
	text-align: center;
}
.jpk-image-lightbox__close {
	margin-left: 4px;
	font-size: 25px !important;
}
.jpk-image-lightbox__stage {
	position: relative;
	min-width: 0;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: radial-gradient(ellipse at center, #20272d 0%, #0b0e12 70%);
	touch-action: none;
	cursor: grab;
}
.jpk-image-lightbox.is-zoomed .jpk-image-lightbox__stage {
	cursor: grab;
}
.jpk-image-lightbox__image {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	flex: 0 1 auto;
	object-fit: contain;
	transform-origin: center;
	will-change: transform;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}
.jpk-image-lightbox__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 46px;
	height: 54px;
	transform: translateY(-50%);
	border-radius: 8px !important;
	background: rgba(15, 20, 24, .78) !important;
	font-size: 30px !important;
}
.jpk-image-lightbox__arrow.is-previous {
	left: clamp(10px, 2vw, 24px);
}
.jpk-image-lightbox__arrow.is-next {
	right: clamp(10px, 2vw, 24px);
}
.jpk-image-lightbox__hint {
	position: absolute;
	bottom: 12px;
	left: 50%;
	max-width: calc(100% - 24px);
	padding: 7px 13px;
	transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 20px;
	background: rgba(11, 14, 18, .78);
	color: #b4bdc2;
	font-size: 11px;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}
.jpk-image-lightbox__bottom {
	min-height: 104px;
	display: grid;
	grid-template-columns: minmax(140px, .8fr) auto minmax(140px, .8fr);
	align-items: center;
	gap: 18px;
	padding: 12px clamp(14px, 2.5vw, 28px);
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.jpk-image-lightbox__meta {
	min-width: 0;
	display: grid;
	gap: 5px;
}
.jpk-image-lightbox__product {
	display: -webkit-box;
	overflow: hidden;
	color: #f2f1ed;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.jpk-image-lightbox__position,
.jpk-image-lightbox__help {
	color: #aab3b9;
	font-size: 11px;
	line-height: 1.6;
}
.jpk-image-lightbox__thumbs {
	max-width: 55vw;
	display: flex;
	justify-content: center;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
}
.jpk-image-lightbox__thumb {
	width: 62px;
	height: 62px;
	min-width: 62px !important;
	min-height: 62px !important;
	padding: 2px !important;
	border-radius: 7px !important;
	background: #20272d !important;
	overflow: hidden;
}
.jpk-image-lightbox__thumb img {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	object-fit: contain;
}
.jpk-image-lightbox__thumb.is-selected {
	border: 2px solid #d2b47a !important;
}
.jpk-image-lightbox__help {
	text-align: right;
}
@media (max-width: 700px) {
	.jpk-image-lightbox__top {
		min-height: 60px;
		gap: 8px;
		padding: 8px 10px;
	}
	.jpk-image-lightbox__heading {
		gap: 7px;
		flex-direction: column;
		align-items: flex-start;
	}
	.jpk-image-lightbox__heading strong {
		font-size: 12px;
	}
	.jpk-image-lightbox__controls {
		gap: 4px;
	}
	.jpk-image-lightbox button {
		min-width: 34px;
		min-height: 34px;
		border-radius: 8px;
		font-size: 18px;
	}
	.jpk-image-lightbox__zoom {
		min-width: 38px;
		font-size: 11px;
	}
	.jpk-image-lightbox__close {
		font-size: 23px !important;
	}
	.jpk-image-lightbox__arrow {
		width: 38px;
		height: 46px;
		font-size: 27px !important;
	}
	.jpk-image-lightbox__hint {
		bottom: 8px;
		font-size: 10px;
		white-space: normal;
	}
	.jpk-image-lightbox__bottom {
		min-height: 92px;
		grid-template-columns: minmax(0, 1fr);
		gap: 7px;
		padding: 8px 12px max(8px, env(safe-area-inset-bottom));
	}
	.jpk-image-lightbox__meta {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
		text-align: center;
	}
	.jpk-image-lightbox__product,
	.jpk-image-lightbox__help {
		display: none;
	}
	.jpk-image-lightbox__thumbs {
		width: 100%;
		max-width: 100%;
		justify-content: flex-start;
		gap: 7px;
	}
	.jpk-image-lightbox__thumb {
		width: 52px;
		height: 52px;
		min-width: 52px !important;
		min-height: 52px !important;
	}
	.jpk-image-lightbox__fullscreen {
		display: none !important;
	}
}
@media (max-width: 370px) {
	.jpk-image-lightbox__heading {
		max-width: 58px;
	}
	.jpk-image-lightbox__controls {
		gap: 3px;
	}
	.jpk-image-lightbox button {
		min-width: 31px;
		min-height: 32px;
	}
	.jpk-image-lightbox__zoom {
		min-width: 34px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.jpk-image-lightbox {
		transition: none;
	}
}

/* Product detail refinement: clearer media labels, purchase controls, and compact guidance. */
.jpk-product-gallery-heading {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 2px 9px;
}
.jpk-product-gallery-heading-copy {
	display: flex;
	align-items: baseline;
	gap: 9px;
}
.jpk-product-gallery-kicker {
	color: var(--jpk-gold-hover);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
}
.jpk-product-gallery-heading-copy strong {
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 600;
}
.jpk-product-gallery-count {
	padding: 4px 9px;
	border: 1px solid var(--jpk-line);
	border-radius: 999px;
	background: var(--jpk-panel);
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.4;
}
body.single-product .jpk-product-purchase-panel {
	position: sticky;
	top: 18px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(37, 39, 34, .065);
}
body.single-product .jpk-product-purchase-panel .jpk-product-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	margin-bottom: 9px;
	padding: 4px 9px;
	border: 1px solid #e9e0d0;
	border-radius: 999px;
	background: #f8f5ee;
	font-size: 10px;
}
body.single-product .jpk-product-purchase-panel p.price,
body.single-product .jpk-product-purchase-panel span.price {
	margin: 0 0 15px;
	padding: 12px 14px;
	border: 1px solid #e7ece8;
	border-radius: 10px;
	background: #f4f7f4;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) {
	display: flex;
	align-items: center;
	gap: 10px;
}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity {
	flex: 0 0 82px;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity input {
	width: 100%;
	min-height: 52px;
	border-radius: 9px;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button {
	flex: 1 1 auto;
	width: auto;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 10px;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .quantity {
	flex: 0 0 82px;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	width: auto;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
	padding-top: 14px;
}
body.single-product .jpk-product-purchase-panel .product_meta > span {
	max-width: 100%;
	padding: 4px 8px;
	border: 1px solid var(--jpk-line);
	border-radius: 7px;
	background: #fff;
	font-size: 11px;
	line-height: 1.55;
}
.jpk-product-benefit:focus-visible {
	outline: 2px solid var(--jpk-gold);
	outline-offset: 2px;
}
.jpk-product-guide-tab {
	padding: 18px;
	border: 1px solid #e7ece8;
	border-radius: 10px;
	background: #f5f8f5;
}
.jpk-product-guide-tab p {
	margin: 0 0 12px;
	color: #4f514c;
}
.jpk-product-guide-link {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	gap: 12px;
	padding: 9px 14px;
	border: 1px solid var(--jpk-gold);
	border-radius: 8px;
	background: #fff;
	color: var(--jpk-gold-hover);
	font-size: 13px;
	font-weight: 600;
}
.jpk-product-guide-link:hover {
	background: var(--jpk-gold);
	color: #fff;
}

@media (max-width: 900px) {
	body.single-product .jpk-product-purchase-panel {
		position: static;
	}
}
@media (max-width: 767px) {
	.jpk-product-gallery-heading {
		min-height: 32px;
		margin-bottom: 7px;
	}
	.jpk-product-gallery-kicker { font-size: 9px; }
	.jpk-product-gallery-heading-copy strong { font-size: 12px; }
	.jpk-product-gallery-count { padding: 3px 8px; font-size: 10px; }
	body.single-product .jpk-product-purchase-panel p.price,
	body.single-product .jpk-product-purchase-panel span.price {
		padding: 10px 12px;
	}
	.jpk-product-benefits {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.jpk-product-benefit,
	.jpk-product-benefit:last-child {
		min-height: 77px;
		grid-column: auto;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		padding: 7px 4px;
		text-align: center;
	}
	.jpk-product-benefit > span:last-child { gap: 1px; }
	.jpk-product-benefit strong { font-size: 10px; }
	.jpk-product-benefit small { font-size: 9px; }
	.jpk-product-benefit-mark { width: 24px; height: 24px; }
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity {
		flex-basis: 72px;
	}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) {
		gap: 8px;
	}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity input {
		min-height: 48px;
	}
	body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart {
		gap: 8px;
	}
	body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .quantity {
		flex-basis: 72px;
	}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button,
	body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
		width: auto;
	}
	.jpk-product-guide-tab { padding: 14px; }
}

/* Final product template alignment: target the template directly, regardless of WooCommerce wrappers. */
body.single-product .jpk-product-main-layout {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
	column-gap: clamp(20px, 2vw, 30px);
}
body.single-product .jpk-product-gallery {
	width: 100%;
	min-width: 0;
}
body.single-product .jpk-product-gallery > .images {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
body.single-product .jpk-product-gallery .woocommerce-product-gallery {
	width: 100% !important;
}
/* FlexSlider owns the track and slide widths; don't override them here. */
body.single-product .jpk-product-gallery .woocommerce-product-gallery__image {
	min-width: 0;
	border-radius: 12px;
	background: #fff;
}
body.single-product .jpk-product-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	max-width: 100%;
	object-fit: contain;
}
body.single-product .jpk-product-purchase-panel {
	position: sticky;
	top: 18px;
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: clamp(20px, 2.3vw, 30px);
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(37, 39, 34, .06);
}
body.single-product .jpk-product-purchase-panel .product_title {
	font-size: clamp(22px, 1.9vw, 28px);
	line-height: 1.45;
	letter-spacing: 0;
}
body.single-product .jpk-product-purchase-panel p.price,
body.single-product .jpk-product-purchase-panel span.price {
	padding: 12px 14px;
	border: 1px solid #e7ece8;
	border-radius: 10px;
	background: #f4f7f4;
}
body.single-product .jpk-product-purchase-panel form.cart {
	margin: 15px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--jpk-line);
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 10px;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity {
	flex: 0 0 82px;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity input {
	width: 100%;
	min-height: 52px;
}
body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 10px;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .quantity {
	flex: 0 0 82px;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}
body.single-product .jpk-product-purchase-panel .product_meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
	margin-top: 16px;
	padding-top: 14px;
}
body.single-product .jpk-product-purchase-panel .product_meta > span {
	max-width: 100%;
	padding: 6px 9px;
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
	line-height: 1.55;
	white-space: normal;
}
body.single-product .jpk-product-purchase-panel .product_meta a {
	overflow-wrap: anywhere;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefit {
	min-width: 0;
	min-height: 84px;
	padding: 10px 7px;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefit strong {
	font-size: 11px;
}
body.single-product .jpk-product-purchase-panel .jpk-product-benefit small {
	font-size: 10px;
}
.jpk-product-spec-table {
	width: 100%;
	border-collapse: collapse;
}
.jpk-product-spec-table th,
.jpk-product-spec-table td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--jpk-line);
	text-align: left;
	vertical-align: top;
}
.jpk-product-spec-table th {
	width: 28%;
	background: #f5f3ee;
	color: var(--jpk-muted);
	font-weight: 600;
}
.jpk-product-spec-table td {
	color: var(--jpk-ink);
	overflow-wrap: anywhere;
}

@media (max-width: 900px) {
	body.single-product .jpk-product-main-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 16px;
	}
	body.single-product .jpk-product-purchase-panel {
		position: static;
	}
}
@media (max-width: 767px) {
	body.single-product .jpk-product-gallery .flex-control-thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 7px;
	}
	body.single-product .jpk-product-purchase-panel {
		padding: 18px 15px;
		border-radius: 12px;
	}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form),
	body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart {
		gap: 8px;
	}
	body.single-product .jpk-product-purchase-panel form.cart:not(.variations_form):not(.grouped_form) .quantity,
	body.single-product .jpk-product-purchase-panel form.cart.variations_form .woocommerce-variation-add-to-cart .quantity {
		flex-basis: 72px;
	}
	body.single-product .jpk-product-purchase-panel .product_meta > span {
		font-size: 11px;
	}
	.jpk-product-spec-table th,
	.jpk-product-spec-table td {
		padding: 9px 8px;
	}
	.jpk-product-spec-table th { width: 34%; }
}

/* Product breadcrumb uses the same content-top position and text treatment as other page templates. */
body.single-product .jpk-product-breadcrumb {
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb a {
	color: var(--jpk-muted);
	text-decoration: none;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb a:hover {
	color: var(--jpk-gold-hover);
}
@media (max-width: 767px) {
	body.single-product .jpk-product-breadcrumb {
		margin-bottom: 10px;
	}
	body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
		font-size: 10px;
	}
}

/* Match the generous, border-free breadcrumb spacing used by the reference layout. */
.breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 29px 0 23px !important;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.6;
}
.woocommerce.archive .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 29px 0 23px !important;
}
body.single-product .jpk-product-breadcrumb {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 29px 0 23px !important;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.6;
}
@media (max-width: 767px) {
	.breadcrumb,
	.woocommerce .woocommerce-breadcrumb,
	.woocommerce.archive .woocommerce-breadcrumb,
	body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
		padding: 16px 0 14px !important;
		font-size: 10px;
	}
}

/* Product movie section: title and player only. */
.jpk-product-video-showcase {
	margin: 16px 0 16px;
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid #e9e8e4;
	border-radius: 12px;
	background: #f7f7f5;
}
.jpk-product-video-showcase-empty {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: var(--jpk-panel);
}
.jpk-product-video-empty-mark {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: var(--jpk-sage);
	color: var(--jpk-gold-hover);
	font-size: 12px;
}
.jpk-product-video-empty-copy { min-width: 0; }
.jpk-product-video-empty-copy h2 {
	margin: 1px 0 2px;
	color: var(--jpk-ink);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.35;
}
.jpk-product-video-empty-copy p {
	margin: 0;
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.45;
}
.jpk-product-video-showcase-empty .jpk-product-video-play {
	min-height: 38px;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border-radius: 7px;
	font-size: 12px;
}
.jpk-product-video-heading-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	max-width: 920px;
	margin: 0 auto 14px;
}
.jpk-product-video-heading {
	min-width: 0;
}
.jpk-product-video-kicker {
	color: var(--jpk-gold-hover);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
}
.jpk-product-video-heading h2 {
	margin: 5px 0 0;
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.jpk-product-video-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 920px;
	margin: 0 auto;
}
.jpk-product-video-player-column {
	min-width: 0;
}
.jpk-product-video-stage {
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 1px solid #171918;
	border-radius: 4px;
	background: radial-gradient(ellipse at center, #303332 0%, #1d201f 50%, #141716 100%);
}
.jpk-product-video-stage video {
	display: block;
	width: 100%;
	height: 100%;
	background: #1a1d1c;
	object-fit: contain;
}
.jpk-product-video-stage iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #1a1d1c;
}
.jpk-product-video-selectors {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 9px;
}
.jpk-product-video-select {
	min-height: 32px;
	padding: 5px 11px;
	border: 1px solid #dedbd3;
	border-radius: 999px;
	background: #fff;
	color: var(--jpk-ink);
	font-size: 11px;
	cursor: pointer;
}
.jpk-product-video-select:hover,
.jpk-product-video-select.is-active {
	border-color: var(--jpk-gold-hover);
	background: #f2eee5;
}

.jpk-product-video-play {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 4px 0 8px;
	padding: 10px 16px;
	border: 1px solid #171918;
	border-radius: 3px;
	background: #242725;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.jpk-product-video-play:hover {
	background: #111312;
	color: #fff;
}
@media (max-width: 767px) {
	.jpk-product-video-showcase {
		margin: 14px 0 12px;
		padding: 16px 13px;
		border-radius: 12px;
	}
	.jpk-product-video-showcase-empty {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 10px;
		padding: 13px;
	}
	.jpk-product-video-empty-mark { width: 32px; height: 32px; }
	.jpk-product-video-showcase-empty .jpk-product-video-play {
		grid-column: 1 / -1;
		justify-content: center;
	}
	.jpk-product-video-heading-row { margin-bottom: 11px; }
	.jpk-product-video-heading h2 { font-size: 12px; }
	.jpk-product-video-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Keep the native WooCommerce thumbnail list intact and swipeable. */
body.single-product .jpk-product-gallery .flex-control-thumbs {
	display: flex !important;
	min-width: 0 !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 9px 0 10px !important;
	padding: 0 0 4px !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
body.single-product .jpk-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
body.single-product .jpk-product-gallery .flex-control-thumbs li {
	flex: 0 0 76px !important;
	width: 76px !important;
	min-width: 76px;
	float: none !important;
	margin: 0 !important;
	scroll-snap-align: start;
}
body.single-product .jpk-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}
/* Overlay navigation on the main image without moving the FlexSlider track. */
body.single-product .jpk-product-gallery .flex-viewport {
	position: relative;
}
body.single-product .jpk-product-gallery .jpk-product-gallery-arrow {
	display: grid;
	position: absolute;
	top: 50%;
	z-index: 20;
	width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--jpk-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--jpk-ink);
	font-size: 27px;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(31, 35, 32, .12);
	transform: translateY(-50%);
	touch-action: manipulation;
	cursor: pointer;
}
body.single-product .jpk-product-gallery .jpk-product-gallery-arrow-previous {
	left: 10px;
}
body.single-product .jpk-product-gallery .jpk-product-gallery-arrow-next {
	right: 10px;
}
@media (max-width: 767px) {
	body.single-product .jpk-product-gallery .flex-control-thumbs {
		gap: 6px !important;
	}
	body.single-product .jpk-product-gallery .flex-control-thumbs li {
		flex-basis: 68px !important;
		width: 68px !important;
		min-width: 68px;
	}
	body.single-product .jpk-product-gallery .jpk-product-gallery-arrow {
		width: 36px;
		height: 36px;
		font-size: 24px;
	}
	body.single-product .jpk-product-gallery .jpk-product-gallery-arrow-previous {
		left: 8px;
	}
	body.single-product .jpk-product-gallery .jpk-product-gallery-arrow-next {
		right: 8px;
	}
}

/* Product markup is wrapped by the theme's own layout, not a .woocommerce element. */
body.single-product .jpk-single-product-shell .jpk-product-purchase-panel .product_title {
	font-size: 20px !important;
	line-height: 1.45;
}
@media (max-width: 767px) {
	body.single-product .jpk-single-product-shell .jpk-product-purchase-panel .product_title {
		font-size: 17px !important;
	}
}

/* Product page surfaces: give every major section the same quiet card boundary. */
body.single-product .jpk-product-breadcrumb,
body.single-product .jpk-product-gallery,
body.single-product .jpk-product-purchase-panel,
body.single-product .jpk-product-video-showcase,
body.single-product .jpk-product-below-content .woocommerce-tabs,
body.single-product .jpk-product-below-content .related,
body.single-product .jpk-product-below-content .upsells {
	border: 1px solid var(--jpk-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 4px 16px rgba(37, 39, 34, .035);
}

body.single-product .jpk-product-breadcrumb {
	margin: 0 0 14px !important;
	padding: 10px 14px !important;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
	padding: 0 !important;
}

body.single-product .jpk-product-main-layout {
	align-items: start;
	column-gap: 16px;
	row-gap: 14px;
}
body.single-product .jpk-product-gallery {
	min-width: 0;
	padding: 14px 14px 10px;
}
body.single-product .jpk-product-gallery > .images {
	margin: 0 !important;
	padding: 0 !important;
}
body.single-product .jpk-product-gallery .woocommerce-product-gallery__image {
	border: 0 !important;
	border-radius: 10px !important;
	background: #fff;
}
body.single-product .jpk-product-gallery .flex-control-thumbs {
	margin-bottom: 0 !important;
}
body.single-product .jpk-product-purchase-panel {
	box-shadow: 0 4px 16px rgba(37, 39, 34, .035) !important;
}

body.single-product .jpk-product-video-showcase {
	margin: 14px 0 0 !important;
	padding: clamp(16px, 2vw, 24px);
	background: #fff !important;
}
body.single-product .jpk-product-video-showcase .jpk-product-video-stage {
	border-radius: 10px;
}

body.single-product .jpk-product-below-content {
	display: grid;
	gap: 14px;
	margin-top: 14px !important;
}
body.single-product .jpk-product-below-content .woocommerce-tabs,
body.single-product .jpk-product-below-content .related,
body.single-product .jpk-product-below-content .upsells {
	width: 100%;
	margin: 0 !important;
	padding: clamp(16px, 2vw, 24px);
}
body.single-product .jpk-product-below-content .woocommerce-tabs ul.tabs {
	margin-top: 0;
}

@media (max-width: 900px) {
	body.single-product .jpk-product-main-layout {
		row-gap: 12px;
	}
	body.single-product .jpk-product-below-content {
		gap: 12px;
		margin-top: 12px !important;
	}
}
@media (max-width: 767px) {
	body.single-product .jpk-product-breadcrumb {
		margin-bottom: 12px !important;
		padding: 9px 11px !important;
		border-radius: 12px !important;
	}
	body.single-product .jpk-product-gallery {
		padding: 10px 10px 8px;
		border-radius: 12px !important;
	}
	body.single-product .jpk-product-purchase-panel,
	body.single-product .jpk-product-video-showcase,
	body.single-product .jpk-product-below-content .woocommerce-tabs,
	body.single-product .jpk-product-below-content .related,
	body.single-product .jpk-product-below-content .upsells {
		border-radius: 12px !important;
	}
	body.single-product .jpk-product-video-showcase {
		margin-top: 12px !important;
		padding: 13px 11px;
	}
	body.single-product .jpk-product-below-content .woocommerce-tabs,
	body.single-product .jpk-product-below-content .related,
	body.single-product .jpk-product-below-content .upsells {
		padding: 14px 12px;
	}
}

/* The video is part of the gallery card, separated only by a light divider. */
body.single-product .jpk-product-gallery .jpk-product-video-showcase {
	margin: 14px 0 0 !important;
	padding: 14px 0 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--jpk-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.single-product .jpk-product-gallery .jpk-product-video-showcase .jpk-product-video-stage {
	border-radius: 10px;
}
@media (max-width: 767px) {
	body.single-product .jpk-product-gallery .jpk-product-video-showcase {
		margin-top: 11px !important;
		padding-top: 12px !important;
	}
}

/* Keep product breadcrumbs identical to the shop and category breadcrumbs. */
body.single-product .jpk-product-breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 29px 0 23px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.6;
}
@media (max-width: 767px) {
	body.single-product .jpk-product-breadcrumb .woocommerce-breadcrumb {
		padding: 16px 0 14px !important;
		font-size: 10px;
	}
}

/* Shared home and category product-card alignment: title stays left; price and cart action share a centered baseline. */
.woocommerce ul.products li.product.jpk-product-card {
	display: flex;
	flex-direction: column;
}
.woocommerce ul.products li.product.jpk-product-card .jpk-product-summary-wrap {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.woocommerce ul.products li.product.jpk-product-card .jpk-product-summary-wrap > .price {
	display: block !important;
	width: 100% !important;
	margin: auto 0 0 !important;
	padding: 8px 0 0 !important;
	box-sizing: border-box;
	text-align: center !important;
}
.woocommerce ul.products li.product.jpk-product-card .jpk-product-card-actions {
	display: flex !important;
	flex: 0 0 auto;
	width: 100%;
	align-items: center;
	justify-content: center !important;
	gap: 8px;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}
.woocommerce ul.products li.product.jpk-product-card .jpk-product-card-actions .button {
	display: inline-flex !important;
	width: auto !important;
	max-width: 100%;
	min-width: 0;
	margin: 0 !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center !important;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.woocommerce ul.products li.product.jpk-product-card .jpk-product-card-actions .button {
		min-height: 32px;
		padding: 6px 9px !important;
		font-size: 10px !important;
		line-height: 1.2;
	}
}


/* Mobile search must sit above the sticky purchase bar on iOS. */
@media (max-width: 767px) {
	body.mobile-search-open .jpk-mobile-buybar {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
	body.mobile-search-open .mobile-search-sheet {
		z-index: 1100;
	}
	.mobile-search-form input[type="search"] {
		min-height: 44px;
		font-size: 16px; /* prevent iOS focus zoom */
	}
}


/* Keep mobile navigation sheets inside the visible phone viewport. */
@media (max-width: 767px) {
	.mobile-bottom-nav {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
		overflow: hidden;
	}
	body.mobile-drawer-open .mobile-bottom-nav,
	body.mobile-search-open .mobile-bottom-nav {
		display: none !important;
	}
	body.mobile-drawer-open .sidebar {
		height: var(--jpk-visual-viewport-height, 100dvh);
		max-height: var(--jpk-visual-viewport-height, 100dvh);
		min-height: 0;
		box-sizing: border-box;
	}
	body.mobile-search-open .mobile-search-sheet {
		inset: auto 0 var(--jpk-keyboard-bottom-gap, 0px);
		width: 100%;
		max-width: 100vw;
		max-height: calc(var(--jpk-visual-viewport-height, 100dvh) - 12px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
}


/* Keep every mobile overlay within the visible viewport, including contact. */
@media (max-width: 767px) {
	.mobile-bottom-nav {
		width: auto;
		max-width: none;
	}
	body.mobile-drawer-open .sidebar {
		width: auto;
	}
	body.mobile-search-open .mobile-search-sheet {
		width: auto;
		max-width: none;
	}
	body.mobile-contact-open .mobile-bottom-nav {
		display: none !important;
	}
	body.mobile-contact-open .mobile-contact-sheet {
		inset: auto 0 var(--jpk-keyboard-bottom-gap, 0px);
		width: auto;
		max-width: none;
		max-height: min(84dvh, calc(var(--jpk-visual-viewport-height, 100dvh) - 12px));
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	body.mobile-contact-open .jpk-mobile-buybar {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
	.mobile-contact-field input,
	.mobile-contact-field textarea {
		font-size: 16px;
	}
}


/* Desktop category flyout: distinct factory groups and a predictable model grid. */
@media (hover: hover) and (min-width: 768px) {
	.category-depth-0 > .category-children {
		width: min(1120px, max(380px, calc(100vw - 300px)));
		box-sizing: border-box;
		padding: 16px;
		border-radius: 10px;
		background: #fff;
	}
	.category-depth-0:hover > .category-children,
	.category-depth-0:focus-within > .category-children,
	.category-depth-0.is-mega-open > .category-children {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
		align-content: start;
		gap: 12px;
	}
	.category-depth-0 > .category-children > .category-item {
		min-width: 0;
		padding: 11px;
		border: 1px solid var(--jpk-line);
		border-radius: 8px;
		background: var(--jpk-warm);
	}
	.category-depth-0 > .category-children > .category-item > .category-row {
		min-height: 34px;
		margin-bottom: 7px;
		border-bottom: 1px solid var(--jpk-line);
	}
	.category-depth-0 > .category-children > .category-item > .category-row > a {
		min-height: 0;
		padding: 0 0 8px;
		color: var(--jpk-ink);
		font-size: 13px;
		font-weight: 650;
		line-height: 1.4;
	}
	.category-depth-0 > .category-children > .category-item > .category-children {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 5px 7px;
		margin: 0;
		padding: 0;
		border: 0;
		columns: auto;
		column-count: auto;
		column-gap: normal;
		background: transparent;
	}
	.category-depth-0 > .category-children > .category-item > .category-children > .category-item {
		display: block;
		width: auto;
		min-width: 0;
		break-inside: auto;
	}
	.category-depth-0 > .category-children .category-row {
		min-height: 0;
	}
	.category-depth-0 > .category-children .category-row > a {
		display: flex;
		min-height: 38px;
		align-items: center;
		padding: 6px 8px;
		border: 1px solid #dfe7ef;
		border-radius: 6px;
		background: #fff;
		color: #4e534f;
		font-size: 12px;
		line-height: 1.4;
		overflow-wrap: anywhere;
		transition: border-color .15s ease, background-color .15s ease, color .15s ease;
	}
	.category-depth-0 > .category-children > .category-item > .category-row > a {
		display: block;
		min-height: 0;
		padding: 0 0 8px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}
	.category-depth-0 > .category-children .category-row > a:hover {
		border-color: var(--jpk-gold-soft);
		background: #f3f7fb;
		color: var(--jpk-gold);
	}
	.category-depth-0 > .category-children .category-depth-3 > .category-row > a,
	.category-depth-0 > .category-children .category-depth-4 > .category-row > a {
		min-height: 34px;
		padding: 5px 7px;
		font-size: 11px;
	}
	.category-depth-0.mega-dense > .category-children {
		gap: 8px;
		padding: 12px;
	}
	.category-depth-0.mega-dense > .category-children > .category-item {
		padding: 8px;
	}
	.category-depth-0.mega-dense > .category-children .category-row > a {
		min-height: 32px;
		padding: 5px 6px;
		font-size: 11px;
	}
}


/* Refine desktop mega menu: no stretched empty factory cards or noisy chips. */
@media (hover: hover) and (min-width: 768px) {
	.category-depth-0:hover > .category-children,
	.category-depth-0:focus-within > .category-children,
	.category-depth-0.is-mega-open > .category-children,
	.category-depth-0.mega-dense > .category-children {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
		align-items: start;
		grid-auto-rows: min-content;
		gap: 10px;
	}
	.category-depth-0 > .category-children > .category-item {
		height: fit-content;
		align-self: start;
		padding: 10px;
	}
	.category-depth-0 > .category-children > .category-item > .category-row {
		margin-bottom: 5px;
	}
	.category-depth-0 > .category-children > .category-item > .category-children {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 0 12px;
	}
	.category-depth-0 > .category-children .category-depth-2 > .category-row > a {
		display: block;
		min-height: 34px;
		padding: 7px 3px;
		border: 0;
		border-bottom: 1px solid #dce3ea;
		border-radius: 0;
		background: transparent;
		color: #4e534f;
		font-size: 12px;
		line-height: 1.4;
		word-break: normal;
		overflow-wrap: break-word;
	}
	.category-depth-0 > .category-children .category-depth-2 > .category-row > a:hover {
		border-bottom-color: var(--jpk-gold-soft);
		background: #f3f7fb;
		color: var(--jpk-gold);
	}
	.category-depth-0.mega-dense > .category-children {
		gap: 7px;
		padding: 10px;
	}
	.category-depth-0.mega-dense > .category-children > .category-item {
		padding: 8px;
	}
	.category-depth-0.mega-dense > .category-children .category-depth-2 > .category-row > a {
		min-height: 30px;
		padding-block: 5px;
		font-size: 11px;
	}
}


/* Flow factory groups down balanced columns to remove grid-row dead space. */
@media (hover: hover) and (min-width: 768px) {
	.category-depth-0:hover > .category-children,
	.category-depth-0:focus-within > .category-children,
	.category-depth-0.is-mega-open > .category-children,
	.category-depth-0.mega-dense > .category-children {
		display: block !important;
		column-width: 320px;
		column-count: auto;
		column-gap: 10px;
		column-fill: balance;
	}
	.category-depth-0 > .category-children > .category-item {
		display: inline-block;
		width: 100%;
		margin: 0 0 10px;
		vertical-align: top;
		break-inside: avoid-column;
		page-break-inside: avoid;
	}
}


/* JP-KOPI cart and checkout: focused purchase flow using native WooCommerce forms. */
body.woocommerce-cart .layout.container,
body.woocommerce-checkout .layout.container {
	display: block;
	width: min(calc(100% - 48px), 1240px);
	max-width: 1240px;
	padding-block: 24px 54px;
}
body.woocommerce-cart .layout.container > .sidebar,
body.woocommerce-checkout .layout.container > .sidebar { display: none !important; }
body.woocommerce-cart .layout.container > #primary.content,
body.woocommerce-checkout .layout.container > #primary.content {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto !important;
}
body.woocommerce-cart .breadcrumb,
body.woocommerce-checkout .breadcrumb {
	margin: 0 0 6px;
	color: var(--jpk-muted);
	font-size: 12px;
}
body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title {
	margin: 0 0 20px;
	color: var(--jpk-ink);
	font: 500 clamp(25px, 3vw, 32px)/1.35 Georgia, "Times New Roman", serif;
}
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content { line-height: 1.6; }
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce { min-width: 0; }
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
	margin: 0 0 14px;
}
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
	padding: 14px 18px 14px 46px;
	border: 1px solid var(--jpk-line);
	border-top: 2px solid var(--jpk-gold);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(37, 39, 34, .035);
}
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error { border-top-color: #b95348; }
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before { top: 14px; left: 18px; }

/* Cart table and summary */
body.woocommerce-cart .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 18px;
}
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content > .woocommerce > .wc-empty-cart-message,
body.woocommerce-cart .entry-content > .woocommerce > .return-to-shop { grid-column: 1 / -1; }
body.woocommerce-cart .woocommerce-cart-form { min-width: 0; }
body.woocommerce-cart .woocommerce-cart-form .shop_table.cart {
	width: 100%;
	margin: 0;
	border: 1px solid var(--jpk-line);
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table.cart thead th {
	padding: 13px 12px;
	border: 0;
	border-bottom: 1px solid var(--jpk-line);
	background: #f7f6f2;
	color: #67675f;
	font-size: 12px;
	font-weight: 600;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody td {
	padding: 15px 12px;
	border: 0;
	border-bottom: 1px solid #eeece6;
	vertical-align: middle;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr:last-child td { border-bottom: 0; }
body.woocommerce-cart .woocommerce-cart-form .product-remove a.remove {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f0f4f8;
	color: #77766f !important;
	font-size: 20px;
	line-height: 28px;
}
body.woocommerce-cart .woocommerce-cart-form .product-remove a.remove:hover { background: #f8e9e6; color: #a33d34 !important; }
body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
	width: 76px;
	height: 76px;
	margin: 0;
	border: 1px solid #efede8;
	border-radius: 9px;
	background: #f8f7f3;
	object-fit: contain;
}
body.woocommerce-cart .woocommerce-cart-form .product-name a {
	color: var(--jpk-ink);
	font-size: 14px;
	font-weight: 550;
	line-height: 1.55;
}
body.woocommerce-cart .woocommerce-cart-form .product-name a:hover { color: var(--jpk-gold); }
body.woocommerce-cart .woocommerce-cart-form .product-price,
body.woocommerce-cart .woocommerce-cart-form .product-subtotal { color: var(--jpk-ink); font-size: 14px; white-space: nowrap; }
body.woocommerce-cart .woocommerce-cart-form .product-subtotal { font-weight: 650; }
body.woocommerce-cart .woocommerce-cart-form .quantity .qty {
	width: 66px;
	min-height: 40px;
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: #fff;
	text-align: center;
}
body.woocommerce-cart .woocommerce-cart-form .actions {
	padding: 14px !important;
	background: #faf9f6;
}
body.woocommerce-cart .woocommerce-cart-form .coupon { display: flex; max-width: 420px; gap: 8px; }
body.woocommerce-cart .woocommerce-cart-form .coupon .input-text {
	width: min(210px, 55%);
	min-height: 42px;
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: #fff;
}
body.woocommerce-cart .woocommerce-cart-form button.button,
body.woocommerce-cart .return-to-shop .button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce input.button {
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid var(--jpk-gold);
	border-radius: 8px;
	background: var(--jpk-gold);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	transition: background-color .15s ease, border-color .15s ease;
}
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover {
	border-color: var(--jpk-gold-hover);
	background: var(--jpk-gold-hover);
	color: #fff;
}
body.woocommerce-cart .woocommerce-cart-form .actions button[name="update_cart"] { margin-left: 6px; }
body.woocommerce-cart .cart-collaterals {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 18px;
}
body.woocommerce-cart .cart-collaterals .cross-sells { grid-column: 1; }
body.woocommerce-cart .cart-collaterals .cart_totals {
	grid-column: 1;
	justify-self: end;
	float: none;
	width: min(100%, 410px);
	padding: 20px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(37, 39, 34, .045);
}
body.woocommerce-cart .cart_totals > h2 { margin: 0 0 13px; font-size: 18px; font-weight: 650; }
body.woocommerce-cart .cart_totals table.shop_table {
	margin: 0 0 14px;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td { padding: 11px 3px; border: 0; border-bottom: 1px solid #eeece6; }
body.woocommerce-cart .cart_totals table.shop_table th { color: var(--jpk-muted); font-weight: 500; }
body.woocommerce-cart .cart_totals table.shop_table .order-total th,
body.woocommerce-cart .cart_totals table.shop_table .order-total td { color: var(--jpk-ink); font-size: 17px; font-weight: 700; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-radius: 9px;
	background: var(--jpk-ink);
	font-size: 15px;
	font-weight: 650;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--jpk-gold); }
body.woocommerce-cart .shipping-calculator-form { padding-top: 10px; }
body.woocommerce-cart .cart-empty {
	margin: 0;
	padding: 28px 20px 22px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	color: var(--jpk-ink);
	font-size: 16px;
	text-align: center;
}
body.woocommerce-cart .return-to-shop { margin: 12px 0 0; text-align: center; }

/* Checkout: customer details beside a clear order/payment panel on desktop. */
body.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
	align-items: start;
	column-gap: 22px;
	row-gap: 0;
}
body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; }
body.woocommerce-checkout #customer_details {
	grid-column: 1;
	grid-row: 1 / span 2;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
}
body.woocommerce-checkout #customer_details .col2-set,
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
	float: none;
	width: 100%;
}
body.woocommerce-checkout #customer_details .col2-set { display: grid; gap: 18px; }
body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
	margin: 0 0 16px;
	color: var(--jpk-ink);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.4;
}
body.woocommerce-checkout #ship-to-different-address { margin: 12px 0; font-size: 15px; }
body.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 8px; }
body.woocommerce-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	padding: 19px 20px 0;
	border: 1px solid var(--jpk-line);
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	background: #fff;
}
body.woocommerce-checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	min-width: 0;
	padding: 0 20px 20px;
	border: 1px solid var(--jpk-line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(37, 39, 34, .045);
}
body.woocommerce-checkout #order_review table.shop_table {
	margin: 0 0 16px;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}
body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td { padding: 11px 3px; border: 0; border-bottom: 1px solid #eeece6; }
body.woocommerce-checkout #order_review table.shop_table th { color: var(--jpk-muted); font-weight: 500; }
body.woocommerce-checkout #order_review table.shop_table .order-total th,
body.woocommerce-checkout #order_review table.shop_table .order-total td { color: var(--jpk-ink); font-size: 17px; font-weight: 700; }
body.woocommerce-checkout #payment {
	border: 1px solid var(--jpk-line);
	border-radius: 10px;
	background: #faf9f6;
}
body.woocommerce-checkout #payment ul.payment_methods { padding: 14px; border-bottom: 1px solid var(--jpk-line); }
body.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 11px; border: 1px solid #e9e5dc; border-radius: 8px; background: #fff; }
body.woocommerce-checkout #payment ul.payment_methods li + li { margin-top: 8px; }
body.woocommerce-checkout #payment ul.payment_methods li input { accent-color: var(--jpk-gold); }
body.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; border-radius: 7px; background: #f5f3ee; color: #555750; font-size: 12px; }
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #f5f3ee; }
body.woocommerce-checkout #payment .place-order { padding: 14px; }
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text { margin: 0 0 12px; color: var(--jpk-muted); font-size: 11px; line-height: 1.55; }
body.woocommerce-checkout #payment .place-order .button#place_order {
	display: flex;
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	border-color: var(--jpk-gold);
	border-radius: 9px;
	background: var(--jpk-gold);
	font-size: 15px;
	font-weight: 700;
}
body.woocommerce-checkout #payment .place-order .button#place_order:hover { background: var(--jpk-gold-hover); }
body.woocommerce-cart .woocommerce input.input-text,
body.woocommerce-cart .woocommerce textarea,
body.woocommerce-cart .woocommerce select,
body.woocommerce-checkout .woocommerce input.input-text,
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select {
	min-height: 44px;
	border: 1px solid #dcd9d0;
	border-radius: 8px;
	background: #fff;
	color: var(--jpk-ink);
	box-shadow: none;
}
body.woocommerce-checkout .woocommerce form .form-row { margin: 0 0 13px; padding: 0; }
body.woocommerce-checkout .woocommerce form .form-row label { margin-bottom: 5px; color: #555750; font-size: 12px; font-weight: 600; }
body.woocommerce-checkout .woocommerce form .form-row .required { color: #a96d3c; }
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select { padding: 10px 12px; font-size: 14px; }
body.woocommerce-checkout .woocommerce form .form-row textarea { min-height: 96px; }
body.woocommerce-checkout .select2-container .select2-selection--single {
	height: 44px;
	border: 1px solid #dcd9d0;
	border-radius: 8px;
	background: #fff;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] { accent-color: var(--jpk-gold); }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { color: var(--jpk-muted); font-size: 12px; }
body.woocommerce-checkout .woocommerce-terms-and-conditions { border: 1px solid var(--jpk-line); border-radius: 8px; background: #fff; }

@media (max-width: 960px) {
	body.woocommerce-cart .layout.container,
	body.woocommerce-checkout .layout.container { width: min(calc(100% - 32px), 1240px); }
	body.woocommerce-cart .cart-collaterals { grid-template-columns: minmax(0, 1fr); }
	body.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review_heading,
	body.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	body.woocommerce-checkout #order_review_heading { padding-top: 18px; border-bottom: 0; border-radius: 14px 14px 0 0; }
	body.woocommerce-checkout #order_review { border-radius: 0 0 14px 14px; }
}
@media (max-width: 767px) {
	body.woocommerce-cart .layout.container,
	body.woocommerce-checkout .layout.container { width: calc(100% - 24px); padding-block: 16px 36px; }
	body.woocommerce-cart .page-title,
	body.woocommerce-checkout .page-title { margin-bottom: 14px; font-size: 26px; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart { display: block; overflow: visible; border: 0; background: transparent; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart thead { display: none; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody { display: grid; gap: 10px; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr);
		grid-template-areas: "thumb name" "thumb price" "thumb quantity" "thumb subtotal";
		align-items: center;
		gap: 4px 12px;
		min-width: 0;
		padding: 13px 42px 13px 13px;
		border: 1px solid var(--jpk-line);
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 3px 11px rgba(37, 39, 34, .035);
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td {
		display: block;
		width: auto;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-remove { position: absolute; top: 8px; right: 8px; z-index: 1; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-thumbnail { grid-area: thumb; align-self: start; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-name { grid-area: name; padding: 0 18px 2px 0 !important; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-price { grid-area: price; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-quantity { grid-area: quantity; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr.cart_item td.product-subtotal { grid-area: subtotal; font-size: 14px; }
	body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width: 76px; height: 76px; border-radius: 8px; }
	body.woocommerce-cart .woocommerce-cart-form .product-name a { font-size: 13px; line-height: 1.45; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-price::before,
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-quantity::before,
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-subtotal::before {
		display: inline-block;
		min-width: 62px;
		margin-right: 4px;
		color: var(--jpk-muted);
		font-size: 11px;
		font-weight: 500;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-price::before,
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-quantity::before,
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-subtotal::before { content: attr(data-title); }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr:not(.cart_item) { display: block; padding: 10px; border: 1px solid var(--jpk-line); border-radius: 12px; background: #fff; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody tr:not(.cart_item) td.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 !important; border: 0 !important; background: transparent; }
	body.woocommerce-cart .woocommerce-cart-form .coupon { width: 100%; max-width: none; }
	body.woocommerce-cart .woocommerce-cart-form .coupon .input-text { flex: 1; width: auto; min-width: 0; }
	body.woocommerce-cart .woocommerce-cart-form .actions button[name="update_cart"] { margin-left: auto; }
	body.woocommerce-cart .woocommerce-cart-form button.button,
	body.woocommerce-cart .return-to-shop .button { min-height: 40px; padding: 9px 12px; font-size: 12px; }
	body.woocommerce-cart .cart-collaterals { display: block; }
	body.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; margin: 0; padding: 17px; }
	body.woocommerce-cart .cart-collaterals .cross-sells { margin: 0 0 14px; }
	body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { min-height: 48px; }
	body.woocommerce-checkout form.checkout { display: block; }
	body.woocommerce-checkout #customer_details { margin-bottom: 12px; padding: 16px; border-radius: 12px; }
	body.woocommerce-checkout #customer_details .col2-set { gap: 12px; }
	body.woocommerce-checkout #customer_details h3,
	body.woocommerce-checkout #order_review_heading { font-size: 17px; }
	body.woocommerce-checkout #order_review_heading { padding: 16px 16px 0; }
	body.woocommerce-checkout #order_review { padding: 0 16px 16px; }
	body.woocommerce-checkout .woocommerce form .form-row { margin-bottom: 11px; }
	body.woocommerce-checkout .woocommerce form .form-row input.input-text,
	body.woocommerce-checkout .woocommerce form .form-row textarea,
	body.woocommerce-checkout .woocommerce form .form-row select { min-height: 46px; font-size: 16px; }
	body.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; }
	body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
	body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
	body.woocommerce-checkout #payment .place-order .button#place_order { min-height: 50px; }
	body.woocommerce-checkout .mobile-bottom-nav { display: none !important; }
	body.woocommerce-checkout { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Order-received page: keep the confirmation, summary, details, and next actions in one visual system. */
body.woocommerce-order-received .layout.container {
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	padding-block: 26px 60px;
}
body.woocommerce-order-received .layout.container > .sidebar { display: none !important; }
body.woocommerce-order-received .layout.container > #primary.content { width: 100%; max-width: 1040px; margin-inline: auto !important; }
body.woocommerce-order-received .breadcrumb { margin: 0 0 6px; color: var(--jpk-muted); font-size: 12px; }
body.woocommerce-order-received .page-title {
	margin: 0 0 20px;
	color: var(--jpk-ink);
	font: 500 clamp(26px, 3vw, 34px)/1.35 Georgia, "Times New Roman", serif;
}
body.woocommerce-order-received .entry-content { line-height: 1.65; }
body.woocommerce-order-received .woocommerce-order { display: grid; gap: 14px; }
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	position: relative;
	max-width: none;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	color: var(--jpk-ink);
	font-size: 14px;
	font-weight: 450;
	line-height: 1.8;
	box-shadow: 0 4px 14px rgba(37, 39, 34, .035);
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	display: block;
	margin-bottom: 6px;
	color: var(--jpk-gold);
	content: "ご注文後の流れ";
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}
body.woocommerce-order-received .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after { display: none; }
body.woocommerce-order-received .woocommerce-order-overview li {
	min-width: 0;
	margin: 0;
	padding: 12px 13px;
	border: 1px solid var(--jpk-line);
	border-radius: 10px;
	background: #fff;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.45;
	text-align: left;
}
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	color: var(--jpk-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
	margin: 0;
	padding: 13px 16px;
	border: 1px solid var(--jpk-line);
	border-radius: 10px;
	background: #f7f6f2;
	color: #555750;
	font-size: 13px;
	line-height: 1.65;
}
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(37, 39, 34, .035);
}
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
	margin: 0 0 13px;
	color: var(--jpk-ink);
	font-size: 19px;
	font-weight: 650;
	line-height: 1.4;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table {
	width: 100%;
	margin: 0;
	border: 1px solid var(--jpk-line);
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #eeece6;
	color: var(--jpk-ink);
	font-size: 13px;
	line-height: 1.6;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th {
	background: #f7f6f2;
	color: #67675f;
	font-size: 12px;
	font-weight: 650;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th { color: var(--jpk-muted); font-weight: 550; }
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child td {
	border-bottom: 0;
	color: var(--jpk-ink);
	font-size: 15px;
	font-weight: 700;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.woocommerce-order-received .woocommerce-customer-details address {
	padding: 14px;
	border: 1px solid #eeece6;
	border-radius: 9px;
	background: #faf9f6;
	color: #555750;
	font-size: 13px;
	line-height: 1.7;
}
body.woocommerce-order-received .jpk-order-received-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 2px 0 0;
	padding: 16px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #f7f6f2;
}
body.woocommerce-order-received .jpk-order-received-actions .button {
	display: inline-flex;
	min-width: 190px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid var(--jpk-line);
	border-radius: 9px;
	background: #fff;
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
body.woocommerce-order-received .jpk-order-received-actions .button:hover { border-color: var(--jpk-gold); color: var(--jpk-gold); }
body.woocommerce-order-received .jpk-order-received-actions .jpk-order-product {
	border-color: var(--jpk-gold);
	background: var(--jpk-gold);
	color: #fff;
}
body.woocommerce-order-received .jpk-order-received-actions .jpk-order-product:hover { border-color: var(--jpk-gold-hover); background: var(--jpk-gold-hover); color: #fff; }
@media (max-width: 900px) {
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.woocommerce-order-received .layout.container { width: calc(100% - 24px); padding-block: 16px 36px; }
	body.woocommerce-order-received .page-title { margin-bottom: 14px; font-size: 26px; }
	body.woocommerce-order-received .woocommerce-order { gap: 10px; }
	body.woocommerce-order-received .woocommerce-thankyou-order-received { padding: 15px; font-size: 13px; }
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
	body.woocommerce-order-received .woocommerce-order-overview li { padding: 10px; }
	body.woocommerce-order-received .woocommerce-order-overview li strong { font-size: 13px; }
	body.woocommerce-order-received .woocommerce-order-details,
	body.woocommerce-order-received .woocommerce-customer-details { padding: 15px; }
	body.woocommerce-order-received .woocommerce-order-details__title,
	body.woocommerce-order-received .woocommerce-column__title { font-size: 17px; }
	body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
	body.woocommerce-order-received .woocommerce-order-details table.shop_table td { padding: 10px 8px; font-size: 12px; }
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns { grid-template-columns: minmax(0, 1fr); }
	body.woocommerce-order-received .jpk-order-received-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 11px; }
	body.woocommerce-order-received .jpk-order-received-actions .button { min-width: 0; min-height: 44px; padding: 9px 8px; font-size: 12px; }
}
@media (max-width: 360px) {
	body.woocommerce-order-received .jpk-order-received-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Align WooCommerce billing and shipping address cards; neutralize inherited floats. */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	justify-content: stretch;
	gap: 14px;
	width: 100%;
	margin: 0;
	clear: both;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title { margin: 0 0 10px; text-align: left; }
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email {
	margin: 9px 0 0 !important;
	font-size: 12px;
	line-height: 1.5;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone::before {
	content: "電話：" !important;
	margin-right: 4px !important;
	font-family: inherit !important;
	font-size: inherit !important;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email::before {
	content: "メール：" !important;
	margin-right: 4px !important;
	font-family: inherit !important;
	font-size: inherit !important;
}
@media (max-width: 767px) {
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Consolidate order metadata and payment instructions into one information panel. */
body.woocommerce-order-received .woocommerce-order-overview {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 15px 13px 12px;
	border: 1px solid var(--jpk-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(37, 39, 34, .035);
}
body.woocommerce-order-received .woocommerce-order-overview::before {
	display: block;
	grid-column: 1 / -1;
	margin: 0 4px 8px;
	color: var(--jpk-gold);
	content: "ご注文情報";
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}
body.woocommerce-order-received .woocommerce-order-overview li {
	padding: 8px 11px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-order-overview li + li { border-left: 1px solid #eeece6; }
body.woocommerce-order-received .woocommerce-order-overview:has(+ p:not(.woocommerce-thankyou-order-received)) {
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
	margin: -14px 0 0;
	padding: 10px 24px 15px;
	border: 1px solid var(--jpk-line);
	border-top: 1px solid #eeece6;
	border-radius: 0 0 14px 14px;
	background: #fff;
	color: #555750;
	font-size: 12px;
	line-height: 1.6;
	box-shadow: 0 4px 14px rgba(37, 39, 34, .035);
}
@media (max-width: 900px) {
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.woocommerce-order-received .woocommerce-order-overview li + li { border-left: 0; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n + 2),
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n) { border-left: 1px solid #eeece6; }
}
@media (max-width: 767px) {
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px 10px 9px; }
	body.woocommerce-order-received .woocommerce-order-overview li { padding: 8px; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n + 2),
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n) { border-left: 0; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(even) { border-left: 1px solid #eeece6; }
	body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) { padding: 8px 18px 13px; }
}

/* Thank-you page composition follows the supplied JP-KOPI order-complete reference. */
body.woocommerce-order-received .layout.container {
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	padding-block: 26px 54px;
}
body.woocommerce-order-received .layout.container > .sidebar { display: none !important; }
body.woocommerce-order-received .layout.container > #primary.content { width: 100%; max-width: 1040px; margin-inline: auto !important; }
body.woocommerce-order-received .breadcrumb { margin: 0 0 14px; color: var(--jpk-muted); font-size: 12px; }
body.woocommerce-order-received .page-title {
	max-width: 1040px;
	margin: 0 auto !important;
	padding: 27px 28px 0;
	border: 1px solid var(--jpk-line);
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	background: #fff;
	color: var(--jpk-ink);
	font: 500 clamp(25px, 3vw, 32px)/1.35 Georgia, "Times New Roman", serif;
	text-align: center;
}
body.woocommerce-order-received .page-title::before {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #e7eef5;
	color: #628a72;
	content: "✓";
	font: 32px/1 system-ui, sans-serif;
}
body.woocommerce-order-received .entry-content {
	max-width: 1040px;
	margin: 0 auto !important;
	padding: 0 28px 28px !important;
	border: 1px solid var(--jpk-line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: 0 7px 22px rgba(37, 39, 34, .04);
}
body.woocommerce-order-received .entry-content > .woocommerce { margin: 0; }
body.woocommerce-order-received .woocommerce-order {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
	grid-template-areas: "message message" "summary summary" "details address" "payment address" "actions actions";
	align-items: start;
	column-gap: 18px;
	row-gap: 14px;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	grid-area: message;
	max-width: 760px;
	margin: 0 auto 4px;
	padding: 9px 18px 24px;
	border: 1px solid var(--jpk-line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	color: #66675f;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
	text-align: center;
	box-shadow: 0 7px 22px rgba(37, 39, 34, .04);
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	margin-bottom: 5px;
	color: var(--jpk-gold);
	content: "ORDER RECEIVED";
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
}
body.woocommerce-order-received .woocommerce-order-overview {
	grid-area: summary;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 18px 14px;
	border: 1px solid var(--jpk-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-order-overview::before {
	display: block;
	grid-column: 1 / -1;
	margin: 0 4px 8px;
	color: var(--jpk-gold);
	content: "ご注文情報";
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}
body.woocommerce-order-received .woocommerce-order-overview li {
	margin: 0;
	padding: 8px 11px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--jpk-muted);
	font-size: 11px;
	line-height: 1.45;
	text-align: left;
}
body.woocommerce-order-received .woocommerce-order-overview li + li { border-left: 1px solid #eeece6; }
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	color: var(--jpk-ink);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-order-overview li.total strong { font-size: 18px; }
body.woocommerce-order-received .woocommerce-order-details {
	grid-area: details;
	min-width: 0;
	margin: 0;
	padding: 20px 20px 0;
	border: 1px solid var(--jpk-line);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-order-details__title {
	margin: 0 0 12px;
	color: var(--jpk-ink);
	font-size: 18px;
	font-weight: 650;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-spacing: 0;
	border-collapse: collapse;
	border-radius: 0;
	overflow: visible;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td {
	padding: 12px 4px;
	border: 0;
	border-bottom: 1px solid #eeece6;
	color: var(--jpk-ink);
	font-size: 13px;
	line-height: 1.65;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table thead th {
	border-top: 1px solid #eeece6;
	background: #faf9f6;
	color: var(--jpk-muted);
	font-size: 11px;
	font-weight: 600;
}
body.woocommerce-order-received .woocommerce-order-details table.shop_table th:last-child,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td:last-child { padding-left: 12px; white-space: nowrap; text-align: right; }
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot th { color: #62635d; font-weight: 500; }
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table.shop_table tfoot tr:last-child td {
	border-bottom: 0;
	color: var(--jpk-ink);
	font-size: 17px;
	font-weight: 700;
}
body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
	grid-area: payment;
	margin: -14px 0 0;
	padding: 12px 20px 17px;
	border: 1px solid var(--jpk-line);
	border-top: 1px solid #eeece6;
	border-radius: 0 0 12px 12px;
	background: #fff;
	color: #555750;
	font-size: 12px;
	line-height: 1.65;
}
body.woocommerce-order-received .woocommerce-customer-details {
	grid-area: address;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	width: 100%;
	margin: 0;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 15px;
	border: 1px solid var(--jpk-line);
	border-radius: 11px;
	background: #fff;
}
body.woocommerce-order-received .woocommerce-column__title {
	margin: 0 0 9px;
	color: var(--jpk-ink);
	font-size: 15px;
	font-weight: 650;
}
body.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #555750;
	font-size: 12px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email {
	margin: 8px 0 0 !important;
	font-size: 12px;
	line-height: 1.5;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone::before { content: "電話：" !important; margin-right: 4px !important; font-family: inherit !important; font-size: inherit !important; }
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email::before { content: "メール：" !important; margin-right: 4px !important; font-family: inherit !important; font-size: inherit !important; }
body.woocommerce-order-received .jpk-order-received-actions {
	grid-area: actions;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}
body.woocommerce-order-received .jpk-order-received-actions .button {
	display: inline-flex;
	min-width: 190px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid var(--jpk-line);
	border-radius: 7px;
	background: #fff;
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
}
body.woocommerce-order-received .jpk-order-received-actions .button:hover { border-color: var(--jpk-gold); color: var(--jpk-gold); }
body.woocommerce-order-received .jpk-order-received-actions .jpk-order-product { border-color: var(--jpk-ink); background: var(--jpk-ink); color: #fff; }
body.woocommerce-order-received .jpk-order-received-actions .jpk-order-product:hover { border-color: var(--jpk-gold); background: var(--jpk-gold); color: #fff; }
@media (max-width: 900px) {
	body.woocommerce-order-received .woocommerce-order { grid-template-columns: minmax(0, 1fr); grid-template-areas: "message" "summary" "details" "payment" "address" "actions"; row-gap: 12px; }
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.woocommerce-order-received .woocommerce-order-overview li + li { border-left: 0; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n + 2),
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n) { border-left: 1px solid #eeece6; }
}
@media (max-width: 767px) {
	body.woocommerce-order-received .layout.container { width: calc(100% - 24px); padding-block: 16px 32px; }
	body.woocommerce-order-received .breadcrumb { margin-bottom: 10px; }
	body.woocommerce-order-received .page-title { padding: 22px 16px 0; font-size: 24px; }
	body.woocommerce-order-received .page-title::before { width: 52px; height: 52px; margin-bottom: 10px; font-size: 28px; }
	body.woocommerce-order-received .entry-content { padding: 0 14px 20px !important; }
	body.woocommerce-order-received .woocommerce-thankyou-order-received { padding: 8px 5px 19px; font-size: 13px; line-height: 1.8; }
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 8px; }
	body.woocommerce-order-received .woocommerce-order-overview li { padding: 8px; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n + 2),
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3n) { border-left: 0; }
	body.woocommerce-order-received .woocommerce-order-overview li:nth-child(even) { border-left: 1px solid #eeece6; }
	body.woocommerce-order-received .woocommerce-order-overview li strong { font-size: 13px; }
	body.woocommerce-order-received .woocommerce-order-details { padding: 16px 13px 0; }
	body.woocommerce-order-received .woocommerce-order-details__title { font-size: 17px; }
	body.woocommerce-order-received .woocommerce-order-details table.shop_table th,
	body.woocommerce-order-received .woocommerce-order-details table.shop_table td { padding: 10px 3px; font-size: 12px; }
	body.woocommerce-order-received .woocommerce-order-details table.shop_table th:last-child,
	body.woocommerce-order-received .woocommerce-order-details table.shop_table td:last-child { padding-left: 7px; }
	body.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-thankyou-order-received) { padding: 10px 13px 14px; }
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address { padding: 13px; }
	body.woocommerce-order-received .jpk-order-received-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 2px; }
	body.woocommerce-order-received .jpk-order-received-actions .button { width: 100%; min-height: 46px; }
}

/* Join the page heading and confirmation copy into the same hero card. */
body.woocommerce-order-received .page-title {
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	box-shadow: none;
}
body.woocommerce-order-received .entry-content {
	margin-top: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	max-width: none;
	margin: 0 0 4px;
	padding: 8px 28px 22px;
	border: 1px solid var(--jpk-line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(37, 39, 34, .035);
}
@media (max-width: 767px) {
	body.woocommerce-order-received .woocommerce-thankyou-order-received { padding: 7px 15px 18px; }
}

/* Keep customer address text and contact labels on clearly separated lines. */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
	padding: 17px !important;
}
body.woocommerce-order-received .woocommerce-column__title { margin-bottom: 12px; }
body.woocommerce-order-received .woocommerce-customer-details address {
	line-height: 1.9;
	word-break: normal;
	overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email {
	display: grid !important;
	grid-template-columns: 60px minmax(0, 1fr);
	align-items: start;
	column-gap: 8px;
	margin: 12px 0 0 !important;
	line-height: 1.7;
	word-break: break-word;
	overflow-wrap: anywhere;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email::before {
	display: block;
	margin: 0 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	line-height: 1.7;
	white-space: nowrap;
}

/* Fix address contact rows: use normal text flow instead of the too-narrow grid columns. */
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email {
	display: block !important;
	position: static !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 11px 0 0 !important;
	padding: 0 !important;
	grid-template-columns: none !important;
	column-gap: 0 !important;
	white-space: normal !important;
	overflow: visible !important;
	font-size: 12px !important;
	line-height: 1.85 !important;
	word-break: normal !important;
	overflow-wrap: anywhere !important;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email::before {
	position: static !important;
	display: inline !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 7px 0 0 !important;
	padding: 0 !important;
	transform: none !important;
	font-family: inherit !important;
	font-size: 12px !important;
	line-height: inherit !important;
	letter-spacing: normal !important;
	white-space: nowrap !important;
}

/* Order-complete page: group the two addresses into one calm, readable panel. */
body.woocommerce-order-received .woocommerce-customer-details {
	margin: 0 !important;
	padding: 17px !important;
	border: 1px solid var(--jpk-line) !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: none !important;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0 !important;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
	margin-top: 14px !important;
	padding-top: 14px !important;
	border-top: 1px solid #eeece6 !important;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
	margin: 0 0 8px !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}
body.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.8 !important;
}
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address p.woocommerce-customer-details--email {
	width: 100% !important;
	margin-top: 8px !important;
	font-size: 12px !important;
	line-height: 1.7 !important;
}
@media (max-width: 767px) {
	body.woocommerce-order-received .woocommerce-customer-details { padding: 14px !important; }
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address {
		margin-top: 12px !important;
		padding-top: 12px !important;
	}
}


/* JP-KOPI unified product description style */
.single-product .jpk-product-description-unified { color: var(--jpk-ink, #202a35); font-family: inherit; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.single-product .jpk-product-description-unified .product-description { padding: 0 !important; font-family: inherit !important; line-height: inherit !important; color: inherit; }
.single-product .jpk-product-description-unified .jpk-product-summary { margin: 0 0 22px; max-width: 78ch; color: #4d4b46; }
.single-product .jpk-product-description-unified .jpk-product-summary p { margin: 0; }
.single-product .jpk-product-description-unified p { margin: 0 0 12px; }
.single-product .jpk-product-description-unified h2,
.single-product .jpk-product-description-unified h3 { margin: 22px 0 10px; color: var(--jpk-ink, #202a35); font-size: 1.08em; line-height: 1.55; }
.single-product .jpk-product-description-unified a { color: var(--jpk-gold-hover, #203b51); text-decoration: none; text-underline-offset: 3px; }
.single-product .jpk-product-description-unified a:hover { text-decoration: underline; }
.single-product .jpk-product-description-unified img.emoji { width: 1em !important; height: 1em !important; margin: 0 .22em !important; vertical-align: -0.16em !important; }
.single-product .jpk-product-description-unified table { width: 100%; margin: 18px 0 22px; border-collapse: collapse; color: inherit; font-size: .94em; line-height: 1.65; }
.single-product .jpk-product-description-unified th,
.single-product .jpk-product-description-unified td { padding: 10px 12px !important; border: 1px solid var(--jpk-line, #dce3ea) !important; text-align: left; vertical-align: top; }
.single-product .jpk-product-description-unified th { background: var(--jpk-warm, #eaf0f5) !important; font-weight: 600; }
@media (max-width: 767px) { .single-product .jpk-product-description-unified { font-size: 14px; line-height: 1.8; } .single-product .jpk-product-description-unified th, .single-product .jpk-product-description-unified td { padding: 8px 9px !important; } }


/* JP-KOPI product description mobile table refinements */
.single-product .jpk-product-description-unified .jpk-product-table-wrap { width: 100%; max-width: 100%; margin: 18px 0 22px; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap > table { width: 100% !important; margin: 0 !important; border-collapse: separate !important; border-spacing: 0 !important; border: 1px solid var(--jpk-line, #dce3ea) !important; border-radius: 12px; overflow: hidden; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap th,
.single-product .jpk-product-description-unified .jpk-product-table-wrap td { padding: 10px 12px !important; border: 0 !important; border-right: 1px solid var(--jpk-line, #dce3ea) !important; border-bottom: 1px solid var(--jpk-line, #dce3ea) !important; text-align: left; vertical-align: top; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap tr > :last-child { border-right: 0 !important; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap tbody tr:last-child > * { border-bottom: 0 !important; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap th { background: var(--jpk-warm, #eaf0f5) !important; font-weight: 600; }
.single-product .jpk-product-description-unified .jpk-product-table-wrap--scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows > table,
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows > table tbody { display: block; width: 100% !important; max-width: 100%; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows > table { border: 0 !important; border-radius: 0; overflow: visible; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows tr { display: grid; grid-template-columns: minmax(84px, 34%) minmax(0, 1fr); width: 100%; margin: 0 0 8px; border: 1px solid var(--jpk-line, #dce3ea); border-radius: 10px; overflow: hidden; background: #fff; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows tr:last-child { margin-bottom: 0; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows th,
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows td { display: block; width: auto !important; min-width: 0; max-width: 100%; padding: 10px 11px !important; border: 0 !important; overflow-wrap: anywhere; white-space: normal; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows th { border-right: 1px solid var(--jpk-line, #dce3ea) !important; background: var(--jpk-warm, #eaf0f5) !important; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--rows td { background: #fff; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--scroll { margin-right: -2px; padding-bottom: 4px; }
  .single-product .jpk-product-description-unified .jpk-product-table-wrap--scroll > table { min-width: 560px !important; width: max-content !important; }
}

/* Product pagination: separate controls and generous touch targets. */
.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}
.woocommerce-pagination ul.page-numbers li {
	display: block !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.pagination a,
.pagination span,
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	margin: 0 !important;
	padding: 0 11px;
	border: 1px solid var(--jpk-line) !important;
	border-radius: 7px;
	background: var(--jpk-paper) !important;
}
.pagination .current,
.woocommerce-pagination .page-numbers .current {
	border-color: var(--jpk-gold-soft) !important;
	background: var(--jpk-warm) !important;
	color: var(--jpk-ink) !important;
	font-weight: 600;
}
@media (max-width: 600px) {
	.pagination .nav-links,
	.woocommerce-pagination ul.page-numbers {
		gap: 6px !important;
	}
	.pagination a,
	.pagination span,
	.woocommerce-pagination .page-numbers li a,
	.woocommerce-pagination .page-numbers li span {
		min-width: 36px;
		min-height: 42px;
		padding: 0 8px;
	}
}

/* Clear product-category pagination: numbered controls on desktop, three controls on mobile. */
.jpk-pagination {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 26px 0 !important;
}
.jpk-pagination-links {
	display: flex;
	align-items: center;
	gap: 8px;
}
.jpk-pagination .page-numbers {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	min-height: 42px;
	margin: 0 !important;
	padding: 0 12px;
	border: 1px solid var(--jpk-line) !important;
	border-radius: 8px;
	background: #fff !important;
	color: var(--jpk-ink) !important;
	font-size: 14px;
	line-height: 1;
	text-decoration: none !important;
	transition: background-color .15s ease, border-color .15s ease;
}
.jpk-pagination a.page-numbers:hover {
	border-color: var(--jpk-gold) !important;
	background: var(--jpk-warm) !important;
}
.jpk-pagination .page-numbers.current {
	border-color: var(--jpk-ink) !important;
	background: var(--jpk-ink) !important;
	color: #fff !important;
	font-weight: 600;
}
.jpk-pagination .page-numbers.dots {
	min-width: 24px;
	padding: 0;
	border-color: transparent !important;
	background: transparent !important;
}
.jpk-pagination .page-numbers.prev,
.jpk-pagination .page-numbers.next {
	padding: 0 14px;
}
.jpk-pagination-arrow {
	font-size: 20px;
	line-height: 1;
}
.jpk-pagination-label {
	font-size: 12px;
	white-space: nowrap;
}
.jpk-pagination-status {
	color: var(--jpk-muted);
	font-size: 12px;
	white-space: nowrap;
}
@media (max-width: 600px) {
	.jpk-pagination {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 8px;
		width: 100%;
		margin: 22px 0 !important;
	}
	.jpk-pagination-links {
		display: contents;
	}
	.jpk-pagination-links .page-numbers:not(.prev):not(.next) {
		display: none !important;
	}
	.jpk-pagination-links .page-numbers.prev {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}
	.jpk-pagination-status {
		grid-column: 2;
		grid-row: 1;
		text-align: center;
	}
	.jpk-pagination-links .page-numbers.next {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
	.jpk-pagination .page-numbers.prev,
	.jpk-pagination .page-numbers.next {
		min-width: 82px;
		min-height: 44px;
		padding: 0 10px;
	}
}

/* Brand archives: readable category navigation and a consistent product grid. */
body.tax-product_brand .jpk-store-layout {
	width: min(calc(100% - 48px), var(--jpk-container));
	gap: clamp(20px, 2vw, 30px);
	padding-block-start: 16px;
}

body.tax-product_brand.woocommerce.archive .woocommerce-breadcrumb {
	margin: 0 0 14px !important;
	padding: 0 !important;
	color: var(--jpk-muted);
	font-size: 12px;
	line-height: 1.5;
}

body.tax-product_brand.woocommerce.archive .woocommerce-products-header {
	margin: 0 0 18px;
	padding: clamp(18px, 2.1vw, 28px);
	border: 1px solid var(--jpk-line);
	border-inline-start: 3px solid var(--jpk-gold);
	border-radius: 10px !important;
	background: linear-gradient(115deg, #e7eef5, #f5f7fa 74%);
}

body.tax-product_brand.woocommerce.archive .woocommerce-products-header__title {
	margin: 0;
	color: var(--jpk-ink);
	font-family: inherit;
	font-size: clamp(25px, 2.6vw, 36px);
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

body.tax-product_brand.woocommerce.archive .woocommerce-products-header .term-description {
	max-width: 78ch;
	margin: 10px 0 0;
	color: #4b6073;
	font-size: 14px;
	line-height: 1.75;
}

body.tax-product_brand.woocommerce.archive .term-description > p {
	margin: 0;
}

body.tax-product_brand.woocommerce.archive .term-description > p + p {
	margin-block-start: .6em;
}

/* The brand taxonomy hook supplies inline flex styles for these links. */
body.tax-product_brand .woocommerce-products-header .gzkopi-brand-types {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 172px), 1fr));
	gap: 8px !important;
	margin: 16px 0 0 !important;
}

body.tax-product_brand .gzkopi-brand-types a {
	display: flex;
	min-height: 46px;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	padding: 9px 13px;
	border: 1px solid #d2dee9;
	border-radius: 7px;
	background: var(--jpk-panel);
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.tax-product_brand .gzkopi-brand-types a::after {
	content: "";
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	margin-inline-end: 2px;
	border: solid var(--jpk-gold-hover);
	border-width: 1.5px 1.5px 0 0;
	transform: rotate(45deg);
}

body.tax-product_brand .gzkopi-brand-types a:hover {
	border-color: var(--jpk-gold);
	background: #eef4f8;
	color: var(--jpk-gold-hover);
}

body.tax-product_brand .gzkopi-brand-types a:focus-visible {
	outline: 2px solid var(--jpk-gold-hover);
	outline-offset: 2px;
}

body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar {
	gap: 8px 12px !important;
	margin: 0 0 12px !important;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--jpk-line);
}

body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar .woocommerce-result-count {
	margin: 0 !important;
	font-variant-numeric: tabular-nums;
}

body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar .woocommerce-ordering {
	min-width: 0;
	margin: 0 !important;
}

body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar .woocommerce-ordering select {
	max-width: 100%;
	min-height: 38px;
	font-size: 12px;
}

body.tax-product_brand.woocommerce.archive ul.products {
	gap: 16px !important;
	margin-block-start: 0 !important;
}

body.tax-product_brand.woocommerce.archive ul.products li.jpk-product-card {
	min-width: 0;
	padding: 0;
	border-radius: 10px !important;
	box-shadow: 0 2px 5px #202a3508;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-image-wrap {
	border-bottom: 1px solid #e9eff4;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-image-link img {
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
	background: var(--jpk-panel);
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-summary-wrap {
	padding: 12px !important;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .woocommerce-loop-product__title {
	padding: 0 !important;
	color: var(--jpk-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-summary-wrap > .price {
	padding: 9px 0 0 !important;
	font-weight: 650;
	text-align: start !important;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-card-actions {
	margin: auto 0 0 !important;
	padding-block-start: 10px !important;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .price + .jpk-product-card-actions {
	margin-block-start: 0 !important;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-card-actions .button {
	width: 100% !important;
	min-height: 39px;
	padding: 7px 9px !important;
	border: 1px solid #cddbe7;
	background: #f0f5f9;
	color: #294a63;
	font-size: 12px !important;
	font-weight: 600;
	white-space: normal;
}

body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-card-actions .button:is(:hover, :focus-visible) {
	border-color: var(--jpk-gold);
	background: #e3edf4;
	color: var(--jpk-ink);
}

@media (max-width: 900px) {
	body.tax-product_brand .jpk-store-layout {
		width: calc(100% - 32px);
	}
}

@media (max-width: 767px) {
	body.tax-product_brand .jpk-store-layout {
		width: calc(100% - 24px);
		padding-block-start: 14px;
	}

	body.tax-product_brand.woocommerce.archive .woocommerce-breadcrumb {
		margin-bottom: 10px !important;
		font-size: 11px;
	}

	body.tax-product_brand.woocommerce.archive .woocommerce-products-header {
		margin-bottom: 12px;
		padding: 14px 12px;
	}

	body.tax-product_brand.woocommerce.archive .woocommerce-products-header .term-description {
		margin-block-start: 8px;
		font-size: 13px;
		line-height: 1.6;
	}

	body.tax-product_brand .woocommerce-products-header .gzkopi-brand-types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px !important;
		margin-block-start: 12px !important;
	}

	body.tax-product_brand .gzkopi-brand-types a {
		min-height: 44px;
		padding: 7px 8px;
		font-size: 12px;
	}

	body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar .woocommerce-result-count {
		font-size: 11px;
	}

	body.tax-product_brand.woocommerce.archive .jpk-shop-toolbar .woocommerce-ordering select {
		min-height: 40px;
		padding-inline: 7px 24px;
	}

	body.tax-product_brand.woocommerce.archive ul.products {
		gap: 9px !important;
	}

	body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-summary-wrap {
		padding: 9px !important;
	}

	body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .woocommerce-loop-product__title {
		font-size: 12px;
	}

	body.tax-product_brand.woocommerce.archive .jpk-store-content .jpk-product-card .jpk-product-card-actions .button {
		min-height: 44px;
	}
}

/* Storefront typography and homepage introduction. */
body.home #primary .gzkopi-home-hero {
	--gzkopi-hero-photo-height: clamp(175px, 59vw, 300px);
	min-height: clamp(390px, 40vw, 560px);
	justify-content: center;
	padding: clamp(24px, 4vw, 56px) !important;
	border: 1px solid var(--jpk-line);
	border-radius: 12px;
	background-color: var(--jpk-warm);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

body.home #primary .gzkopi-home-hero > .e-con-inner {
	width: 100%;
	max-width: none;
	align-items: center;
	justify-content: flex-start;
	padding: 0 !important;
}

body.home #primary .gzkopi-home-hero-copy {
	--gap: 0px;
	width: min(100%, 415px) !important;
	max-width: 100%;
	align-items: flex-start;
	gap: 0 !important;
	padding: clamp(22px, 3vw, 35px) !important;
	border: 1px solid var(--jpk-line);
	border-radius: 10px;
	background: var(--jpk-paper);
	color: var(--jpk-ink);
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget {
	margin: 0 !important;
	text-align: start;
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget-heading :is(p, h1) {
	margin: 0;
	color: var(--jpk-ink);
	font-family: inherit;
	text-align: start;
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget-heading p {
	margin-bottom: 8px;
	color: #294a63;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.5;
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget-heading h1 {
	font-size: clamp(27px, 2.7vw, 36px);
	font-weight: 700;
	letter-spacing: .015em;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget-text-editor p {
	margin: 10px 0 0;
	color: #4b6073;
	font-size: 15px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

body.home #primary .gzkopi-home-hero-copy .elementor-widget-button {
	margin-top: 17px !important;
}

body.home #primary .home-content .elementor-widget-button .elementor-button,
:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .jpk-product-card-actions > .button {
	min-height: 44px;
	padding: 8px 13px !important;
	border: 1px solid var(--jpk-gold);
	border-radius: 7px !important;
	background: var(--jpk-gold) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 650;
	line-height: 1.35;
	text-align: center;
	white-space: normal;
}

body.home #primary .gzkopi-home-hero-copy .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.home #primary .home-content .elementor-widget-button .elementor-button:is(:hover, :focus-visible),
:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .jpk-product-card-actions > .button:is(:hover, :focus-visible) {
	border-color: #203b51;
	background: #203b51 !important;
}

body.home #primary .home-content .elementor-widget-button .elementor-button:focus-visible,
:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .jpk-product-card-actions > .button:focus-visible {
	outline: 2px solid var(--jpk-ink);
	outline-offset: 2px;
}

:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .woocommerce-loop-product__title {
	color: var(--jpk-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .jpk-product-summary-wrap > .price {
	color: var(--jpk-ink);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .price .amount {
	font-size: inherit;
	font-weight: inherit;
}

body.home #primary .jpk-product-card .jpk-product-card-actions {
	margin: auto 0 0 !important;
	padding-top: 9px !important;
}

body.home #primary .jpk-product-card .price + .jpk-product-card-actions {
	margin-top: 0 !important;
}

:is(body.home, body.woocommerce.archive) .jpk-floating-contact-button:not(.jpk-floating-contact-line) {
	background: var(--jpk-ink);
	box-shadow: 0 5px 16px #202a352b;
}

@media (max-width: 767px) {
	body.home #primary .gzkopi-home-hero {
		min-height: 0 !important;
		padding: var(--gzkopi-hero-photo-height) 0 0 !important;
		background-position: right top !important;
		background-size: max(100%, calc(var(--gzkopi-hero-photo-height) * 1.77778)) auto !important;
	}

	body.home #primary .gzkopi-home-hero-copy {
		width: 100% !important;
		padding: 16px 17px 18px !important;
		border: 0;
		border-top: 1px solid var(--jpk-line);
		border-radius: 0;
	}

	body.home #primary .gzkopi-home-hero-copy .elementor-widget-heading h1 {
		font-size: clamp(24px, 6.5vw, 28px);
	}

	body.home #primary .gzkopi-home-hero-copy .elementor-widget-text-editor p {
		margin-top: 7px;
		font-size: 14px;
	}

	body.home #primary .gzkopi-home-hero-copy .elementor-widget-button {
		margin-top: 13px !important;
	}

	:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .woocommerce-loop-product__title {
		font-size: 13px;
	}

	:is(body.home, body.woocommerce.archive) #primary .jpk-product-card .jpk-product-card-actions > .button {
		max-width: 100%;
		padding-inline: 8px !important;
		font-size: 13px !important;
	}
}


/* Homepage sections. */
body.home .home-layout {
	width: min(calc(100% - 48px), var(--jpk-container));
	gap: clamp(20px, 2.1vw, 30px);
	padding-block: 18px 48px;
}

body.home #primary .gzkopi-home-hero {
	min-height: clamp(360px, 38vw, 500px);
}

body.home #primary .gzkopi-home-section {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	width: 100%;
	margin: clamp(26px, 3.3vw, 46px) 0 0;
	padding: 0;
}

body.home #primary .gzkopi-home-section .elementor-widget {
	margin: 0;
}

body.home #primary .gzkopi-home-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 5px 16px;
	margin: 0 0 12px;
}

body.home #primary .gzkopi-home-heading h2 {
	margin: 0;
	color: var(--jpk-ink);
	font-size: clamp(20px, 2.35vw, 27px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .01em;
}

body.home #primary .gzkopi-home-heading a {
	color: #294a63;
	font-size: 13px;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.home #primary :is(.gzkopi-home-brand-grid, .gzkopi-home-collection-grid, .gzkopi-home-help-grid) {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home #primary .gzkopi-home-brand-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
}

body.home #primary .gzkopi-home-brand-grid a {
	display: grid;
	height: 100%;
	min-height: 70px;
	place-content: center;
	gap: 3px;
	padding: 9px 6px;
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: #fff;
	text-align: center;
}

body.home #primary .gzkopi-home-brand-grid a [lang="en"] {
	color: var(--jpk-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(15px, 1.3vw, 18px);
	font-weight: 700;
	letter-spacing: .015em;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

body.home #primary .gzkopi-home-brand-grid a [lang="ja"] {
	color: var(--jpk-muted);
	font-size: 11px;
	font-weight: 550;
	line-height: 1.35;
}

body.home #primary .gzkopi-home-collection-grid,
body.home #primary .gzkopi-home-help-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home #primary .gzkopi-home-collection-grid li {
	display: flex;
	min-width: 0;
}

body.home #primary .gzkopi-home-collection-grid a {
	display: flex;
	width: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jpk-line);
	border-radius: 10px;
	background: #fff;
}

body.home #primary .gzkopi-home-collection-grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 0 !important;
	background: var(--jpk-warm);
	object-fit: cover;
	object-position: center;
}

body.home #primary .gzkopi-home-collection-copy {
	display: grid;
	flex: 1 1 auto;
	gap: 4px;
	padding: 12px 14px 14px;
}

body.home #primary .gzkopi-home-collection-copy strong,
body.home #primary .gzkopi-home-help-grid strong {
	color: var(--jpk-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

body.home #primary .gzkopi-home-collection-copy span,
body.home #primary .gzkopi-home-help-grid span {
	color: #4b6073;
	font-size: 13px;
	line-height: 1.55;
}

body.home #primary .gzkopi-home-shelf ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 13px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home #primary .gzkopi-home-shelf li.jpk-product-card {
	padding: 0;
	overflow: hidden;
	border-radius: 9px !important;
}

body.home #primary .gzkopi-home-shelf .jpk-product-image-link img {
	display: block;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	border-bottom: 1px solid #e9eff4;
	border-radius: 0 !important;
	background: #fff;
	object-fit: contain;
}

body.home #primary .gzkopi-home-shelf .jpk-product-summary-wrap {
	display: flex !important;
	gap: 0;
	padding: 11px !important;
}

body.home #primary .gzkopi-home-shelf .woocommerce-loop-product__title {
	margin: 0;
	padding: 0 !important;
}

body.home #primary .gzkopi-home-shelf .jpk-product-card .jpk-product-summary-wrap > .price {
	text-align: start !important;
}

body.home #primary .gzkopi-home-shelf .jpk-product-card-actions .button {
	width: 100% !important;
}

body.home #primary .gzkopi-home-help-grid a {
	display: grid;
	height: 100%;
	min-height: 75px;
	align-content: start;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid var(--jpk-line);
	border-radius: 8px;
	background: var(--jpk-warm);
}

body.home #primary :is(.gzkopi-home-brand-grid, .gzkopi-home-collection-grid, .gzkopi-home-help-grid) a:hover {
	border-color: var(--jpk-gold);
}

body.home #primary :is(.gzkopi-home-brand-grid, .gzkopi-home-collection-grid, .gzkopi-home-help-grid, .gzkopi-home-heading) a:focus-visible {
	outline: 2px solid var(--jpk-gold-hover);
	outline-offset: 2px;
}

@media (min-width: 1200px) {
	body.home #primary .gzkopi-home-brand-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	body.home #primary .gzkopi-home-shelf ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	body.home .home-layout {
		width: calc(100% - 32px);
	}
}

@media (max-width: 767px) {
	body.home .home-layout {
		width: calc(100% - 24px);
		padding-block: 10px 28px;
	}

	body.home #primary .gzkopi-home-heading {
		margin-bottom: 9px;
	}

	body.home #primary .gzkopi-home-heading a {
		font-size: 12px;
	}

	body.home #primary :is(.gzkopi-home-brand-grid, .gzkopi-home-collection-grid, .gzkopi-home-help-grid) {
		gap: 7px;
	}

	body.home #primary .gzkopi-home-brand-grid a {
		min-height: 64px;
	}

	body.home #primary .gzkopi-home-brand-grid a [lang="en"] {
		font-size: 14px;
	}

	body.home #primary .gzkopi-home-brand-grid a [lang="ja"] {
		font-size: 10px;
	}

	body.home #primary .gzkopi-home-collection-grid,
	body.home #primary .gzkopi-home-shelf ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 9px !important;
	}

	body.home #primary .gzkopi-home-collection-grid li:first-child {
		grid-column: 1 / -1;
	}

	body.home #primary .gzkopi-home-collection-grid li:first-child img {
		aspect-ratio: 16 / 9;
	}

	body.home #primary .gzkopi-home-collection-copy,
	body.home #primary .gzkopi-home-shelf .jpk-product-summary-wrap {
		padding: 9px !important;
	}

	body.home #primary .gzkopi-home-collection-copy strong,
	body.home #primary .gzkopi-home-help-grid strong {
		font-size: 14px;
	}

	body.home #primary .gzkopi-home-collection-copy span,
	body.home #primary .gzkopi-home-help-grid span {
		font-size: 12px;
	}

	body.home #primary .gzkopi-home-help-grid {
		grid-template-columns: 1fr;
	}

	body.home #primary .gzkopi-home-help-grid a {
		min-height: 0;
	}
}


/* Desktop brand mega menu. All links still come from the WordPress brand menu. */
#site-sidebar .brand-sidebar-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 1px 0 11px;
	border-bottom: 1px solid var(--jpk-line);
}

#site-sidebar .brand-sidebar-heading h2 {
	margin: 0;
	color: var(--jpk-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

#site-sidebar .brand-sidebar-heading a {
	color: var(--jpk-gold);
	font-size: 11px;
	white-space: nowrap;
}

#site-sidebar .brand-sidebar-heading + [data-sidebar-panel="brand"] {
	margin-top: 7px;
}

#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .category-row > .category-bilingual {
	min-height: 38px;
	padding: 6px 8px;
}

#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .category-row > .category-toggle {
	width: 32px;
	min-width: 32px;
	height: 34px;
}

#site-sidebar .brand-mega-heading,
#site-sidebar .brand-mega-feature {
	display: none;
}

#site-sidebar .brand-mega-groups {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (hover: hover) and (min-width: 768px) {
	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 {
		margin-block: 2px;
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .category-row {
		min-height: 38px;
		border-radius: 7px;
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0:is(.is-current, .is-ancestor, .is-mega-open) > .category-row {
		background: var(--jpk-sage);
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0:is(.is-current, .is-ancestor, .is-mega-open) > .category-row .category-bilingual-japanese {
		color: var(--jpk-gold);
		font-weight: 650;
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .brand-mega-menu {
		--brand-menu-room: calc(100vw - 290px);
		display: none !important;
		left: 100%;
		width: min(292px, var(--brand-menu-room));
		max-height: calc(100dvh - 24px);
		padding: 0;
		overflow: auto;
		overscroll-behavior: contain;
		border: 1px solid var(--jpk-line);
		border-radius: 12px;
		background: var(--jpk-panel);
		box-shadow: 0 14px 32px #203b5126;
		column-count: auto;
		column-width: auto;
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0.is-mega-open > .brand-mega-menu {
		display: block !important;
	}

	#site-sidebar .brand-mega-menu:has(.brand-mega-groups > .menu-item-has-children) {
		width: min(425px, var(--brand-menu-room));
	}

	#site-sidebar .brand-mega-heading {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 15px;
		border-bottom: 1px solid var(--jpk-line);
		background: var(--jpk-paper);
	}

	#site-sidebar .brand-mega-heading strong {
		color: var(--jpk-ink);
		font-size: 19px;
		line-height: 1.3;
	}

	#site-sidebar .brand-mega-heading > a {
		flex: 0 0 auto;
		color: var(--jpk-gold);
		font-size: 12px;
		font-weight: 650;
	}

	#site-sidebar .brand-mega-body {
		display: grid;
		gap: 14px;
		padding: 11px 13px 13px;
	}

	#site-sidebar .brand-mega-groups {
		display: grid;
		align-items: start;
		gap: 5px 14px;
		min-width: 0;
	}

	#site-sidebar .brand-mega-groups > .category-item {
		min-width: 0;
		padding: 0;
	}

	#site-sidebar .brand-mega-menu .category-row {
		min-height: 0;
	}

	#site-sidebar .brand-mega-menu .category-row > a {
		display: flex;
		min-width: 0;
		min-height: 31px;
		align-items: center;
		padding: 5px 6px;
		border: 0;
		border-radius: 5px;
		background: transparent;
		color: var(--jpk-ink);
		font-size: 13px;
		line-height: 1.45;
		overflow-wrap: anywhere;
	}

	#site-sidebar .brand-mega-groups > .menu-item-has-children > .category-row {
		margin-bottom: 3px;
		border-bottom: 1px solid var(--jpk-line);
	}

	#site-sidebar .brand-mega-groups > .category-item > .category-row > a {
		font-weight: 650;
	}

	#site-sidebar .brand-mega-groups > .category-item:not(.menu-item-has-children) > .category-row > a {
		background: var(--jpk-paper);
	}

	#site-sidebar .brand-mega-groups > .category-item > .category-children {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px 4px;
		margin: 0;
		padding: 0;
		border: 0;
	}

	#site-sidebar .brand-mega-menu .category-row > a:hover,
	#site-sidebar .brand-mega-menu .category-row > a[aria-current="page"] {
		background: var(--jpk-sage);
		color: var(--jpk-gold);
	}

	#site-sidebar .brand-mega-menu .category-row > a:focus-visible,
	#site-sidebar .brand-mega-feature:focus-visible {
		outline-offset: -2px;
	}
}

@media (hover: hover) and (min-width: 920px) {
	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .brand-mega-menu {
		--brand-menu-room: calc(100vw - 320px);
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .brand-mega-menu:has(.brand-mega-groups > .menu-item-has-children) {
		width: min(710px, var(--brand-menu-room));
	}

	#site-sidebar .brand-mega-groups:has(> .menu-item-has-children) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (hover: hover) and (min-width: 1120px) {
	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .brand-mega-menu.has-brand-feature {
		width: min(435px, var(--brand-menu-room));
	}

	#site-sidebar [data-sidebar-panel="brand"] .category-depth-0 > .brand-mega-menu.has-brand-feature:has(.brand-mega-groups > .menu-item-has-children) {
		width: min(885px, var(--brand-menu-room));
	}

	#site-sidebar .has-brand-feature > .brand-mega-body {
		grid-template-columns: minmax(0, 1fr) 168px;
		align-items: start;
	}

	#site-sidebar .brand-mega-feature {
		display: block;
		overflow: hidden;
		border: 1px solid var(--jpk-line);
		border-radius: 8px;
		background: var(--jpk-paper);
		color: var(--jpk-ink);
	}

	#site-sidebar .brand-mega-feature img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	#site-sidebar .brand-mega-feature > span {
		display: flex;
		justify-content: space-between;
		gap: 5px;
		padding: 7px 9px;
		font-size: 12px;
		font-weight: 650;
	}

	#site-sidebar .brand-mega-feature:hover {
		border-color: var(--jpk-gold);
		color: var(--jpk-gold);
	}
}

