/*
Theme Name: Blocksy Child
Template: blocksy
Description: Hijima Herbal brand overrides — survives theme updates.
Author: iyke
Version: 1.7.4
*/

/* Typography — happyherb-style: Spectral serif headings, Roboto body */
body {
	font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Spectral', Georgia, 'Times New Roman', serif;
	font-weight: 500;
}

h1, h2 {
	font-weight: 400;
}

:root:root {
	--theme-font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Header: logo image speaks for itself — hide the site-title text next to it */
.ct-header [data-id="logo"] .site-title {
	display: none;
}

/* Header logo sizing — the mark carries small text, needs more height than default */
.ct-header [data-id="logo"] img {
	max-height: 64px;
	width: auto;
}

/* Home page: hide the default page-title hero above the cover
   (GUI equivalent lives in the editor's Blocksy page settings) */
.page-id-3517 .hero-section,
.page-id-3517 .page-title,
.page-id-3517 .entry-header {
	display: none;
}

/* Announcement bar (header top row) */
.ct-header [data-row="top"] {
	background: #111111;
}
.ct-header [data-row="top"] .ct-text {
	color: #F4F3EF;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-align: center;
	width: 100%;
}

/* Announcement bar legacy (unused) */
.hijima-announce {
	background: #111111;
	color: #F4F3EF;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 10px 16px;
}

/* Divider strip with side rules */
.hijima-divider {
	display: flex;
	align-items: center;
	gap: 24px;
	color: #111111;
	font-family: 'Spectral', Georgia, serif;
	font-size: 15px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}
.hijima-divider::before,
.hijima-divider::after {
	content: "";
	height: 1px;
	background: #000000;
	flex: 1 1 0%;
}

/* Effect circle badges */
.hijima-effect {
	width: 160px;
	height: 160px;
	border: 1.5px solid #000000;
	border-radius: 50%;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	overflow: hidden;
	margin: 0 auto !important;
}
.hijima-effect .hijima-effect-icon,
.hijima-effect .hijima-effect-name {
	margin: 0 !important;
	width: auto !important;
	max-width: none !important;
}
.hijima-effect .hijima-effect-icon {
	display: flex;
	justify-content: center;
}
.hijima-effect .hijima-effect-icon svg {
	width: 42px;
	height: 42px;
	display: block;
	color: #111111;
}
.hijima-effect .hijima-effect-name {
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	color: #111111;
}

/* Serif section links ("Shop … →") */
.hijima-serif-link {
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	color: #111111;
	text-decoration: none;
}
.hijima-serif-link:hover {
	color: #000000;
}

/* Story band card */
.hijima-story-card {
	background: #FDFCFA;
	border-radius: 12px;
	padding: clamp(24px, 4vw, 56px);
}

/* Footer columns */
.hijima-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.hijima-footer-brand img {
	width: auto;
	height: clamp(22px, 6vw, 28px);
	border-radius: 0;
	border: none;
	display: block;
}
.hijima-footer-brand span {
	font-family: 'Spectral', Georgia, serif;
	font-size: 20px;
}
.hijima-footer-h {
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	margin: 0 0 12px;
}
.widget_custom_html ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget_custom_html li {
	margin: 0 0 8px;
}
.widget_custom_html a {
	color: #111111;
	text-decoration: none;
}
.widget_custom_html a:hover {
	color: #000000;
}

/* Product cards: quiet and centered (happyherb-style) */
.woocommerce ul.products li.product {
	text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	font-weight: 500;
	padding-bottom: 4px;
	line-height: 1.3;
	min-height: calc(2 * 1.3em);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
	content: "HIJIMA HERBAL";
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.16em;
	color: #67707a;
	margin-top: 6px;
}
.woocommerce ul.products li.product img {
	background: #fff;
}
.woocommerce ul.products li.product .price {
	color: #111111;
	font-size: 15px;
}
.woocommerce ul.products li.product .onsale {
	font-size: 11px;
	letter-spacing: 0.08em;
	padding: 5px 10px;
	min-height: auto;
	min-width: auto;
	line-height: 1.2;
}

/* Category split hero */
.hijima-cat-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
	padding: 48px 0 36px;
}
.hijima-cat-hero__title {
	font-size: clamp(30px, 4vw, 46px);
	margin: 0 0 18px;
}
.hijima-cat-hero__desc {
	max-width: 48ch;
	line-height: 1.7;
	color: #111111;
}
.hijima-cat-hero__media img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}
@media (max-width: 768px) {
	.hijima-cat-hero {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 4px 0 8px;
	}
	.tax-product_cat .site-main > .ct-container {
		padding-top: 12px;
	}
}

/* Single product page (happyherb-style summary) */
.woocommerce div.product .product_title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 10px;
}
.woocommerce div.product .product_title::before {
	content: "HIJIMA HERBAL";
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	letter-spacing: 0.18em;
	color: #000000;
	margin-bottom: 10px;
}
.woocommerce div.product .summary > .price {
	font-size: 22px;
	color: #111111;
}

/* Effects row (happyherb-style: line icon over label, hairline dividers) */
.hijima-effect-row {
	display: flex;
	align-items: stretch;
	margin-top: 22px;
	padding: 14px 0;
	border-top: 1px solid #e7eae5;
	border-bottom: 1px solid #e7eae5;
}
.hijima-effect-row__label {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #111111;
	align-self: center;
	margin-right: 26px;
}
.hijima-effect-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 2px 26px;
	color: #111111;
	text-decoration: none;
}
.hijima-effect-item + .hijima-effect-item {
	border-left: 1px solid #e7eae5;
}
.hijima-effect-item__icon svg {
	width: 34px;
	height: 34px;
	display: block;
}
.hijima-effect-item__label {
	font-size: 14px;
}
.hijima-effect-item:hover {
	color: #000000;
}

/* Dark pill add-to-cart on single product */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .button:disabled {
	background: #111111;
	color: #F4F3EF;
	border-radius: 50px;
	padding: 14px 40px;
	font-size: 15px;
}

/* No breadcrumbs on single product (happyherb doesn't show them) */
.single-product .ct-breadcrumbs {
	display: none;
}

/* ---- v1.2.0 mobile-first structural pass ---- */

/* Hero: rounded media + overlapping centred card */
.hijima-hero-media img {
	border-radius: 18px;
}
.hijima-hero-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
	max-width: 720px;
	margin: -84px auto 0;
	position: relative;
	z-index: 2;
	padding: 32px 30px 36px;
	text-align: center;
}
.hijima-hero-card h1 {
	font-size: clamp(30px, 4.6vw, 46px);
	margin: 0 0 12px;
}
.hijima-hero-card p {
	font-size: 17px;
	color: #4a5450;
	margin: 0 0 20px;
}

/* Effects: horizontal carousel with dots */
.hijima-effect-track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 6px 4px 18px;
	scrollbar-width: none;
}
.hijima-effect-track::-webkit-scrollbar {
	display: none;
}
.hijima-effect-slide {
	flex: 0 0 auto;
	scroll-snap-align: center;
	text-decoration: none;
}
.hijima-effect-slide .hijima-effect {
	width: 150px;
	height: 150px;
	margin: 0;
}
.hijima-effect-slide .hijima-effect-icon svg {
	width: 38px;
	height: 38px;
}
.hijima-effect-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 2px;
}
.hijima-effect-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d8ded6;
	transition: background 0.2s, transform 0.2s;
}
.hijima-effect-dots span.is-active {
	background: #000000;
	transform: scale(1.15);
}

/* Range: rounded tiles, 2-col on mobile */
.hijima-range .wp-block-cover,
.hijima-range .wp-block-cover__image-background {
	border-radius: 14px;
}
@media (max-width: 781px) {
	.wp-block-columns.hijima-range {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 14px;
	}
	.wp-block-columns.hijima-range > .wp-block-column {
		width: auto !important;
	}
}

/* Story: rounded media + overlapping card */
.hijima-story-media img {
	border-radius: 18px;
}
/* The dark band's group renders children as a 2-col grid — force stack */
.wp-block-group:has(> .hijima-story-card) {
	display: block !important;
}
.hijima-story-card {
	position: relative;
	z-index: 2;
	width: calc(100% - 40px);
	max-width: 660px;
	margin: -90px auto 0 !important;
	background: #fdfcfa;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
	padding: 30px 28px 34px;
	text-align: center;
}

/* Divider: fits small screens */
@media (max-width: 768px) {
	.hijima-divider {
		font-size: 12px;
		letter-spacing: 0.12em;
		gap: 10px;
	}
}

/* Footer: centred brand + newsletter + 2-col links on mobile */
.hijima-footer-brand--centered {
	justify-content: center;
}
.hijima-footer-tagline {
	text-align: center;
	max-width: 46ch;
	margin-left: auto;
	margin-right: auto;
}
.hijima-footer-join {
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	margin: 16px 0 10px;
}
/* Table layout: flex-grow never settles on the CF7 wrapper span in WebKit
   (field stays ~45% wide, form reads left-tilted); table-cell fills reliably. */
.hijima-newsletter-row {
	display: table;
	table-layout: auto;
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 8px 0;
}
.hijima-newsletter-row .wpcf7-form-control-wrap {
	display: table-cell;
	vertical-align: top;
}
.hijima-newsletter-row input[type="email"] {
	width: 100%;
	border: 1px solid #d8ded6;
	border-radius: 50px;
	padding: 11px 18px;
	font-size: 14px;
	min-width: 0;
	background: #fff;
}
.hijima-newsletter-row input[type="submit"] {
	background: #000000;
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 11px 20px;
	font-size: 12px;
	letter-spacing: 0.1em;
	cursor: pointer;
}
.hijima-newsletter-row input[type="submit"]:hover {
	background: #000000;
}
.hijima-newsletter-row .wpcf7-spinner {
	display: none;
}
.wpcf7-form.is-active .hijima-newsletter-submit {
	opacity: 0.6;
	pointer-events: none;
}
@media (max-width: 781px) {
	.ct-footer [data-row="middle"] .ct-container {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 30px 20px;
	}
	.ct-footer [data-row="middle"] .ct-container > div:first-child {
		grid-column: 1 / -1;
	}
	.ct-footer [data-row="middle"] {
		text-align: center;
	}
	.ct-footer [data-row="middle"] .hijima-footer-brand {
		justify-content: center;
	}
	.ct-footer [data-row="middle"] ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.ct-footer [data-row="middle"] .hijima-newsletter-row {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Footer: drop Blocksy's ghost column; centre brand + newsletter across the page on desktop too */
.ct-footer [data-column="ghost"] {
	display: none !important;
}
@media (min-width: 782px) {
	.ct-footer [data-row="middle"] .ct-container {
		display: flex !important;
		gap: 40px;
	}
	.ct-footer [data-row="middle"] [data-column] {
		flex: 1 1 0 !important;
		text-align: center;
	}
	.ct-footer [data-row="middle"] {
		text-align: center;
	}
	.ct-footer [data-row="middle"] .hijima-footer-brand {
		justify-content: center;
	}
	.ct-footer [data-row="middle"] ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.ct-footer [data-row="middle"] .hijima-newsletter-row {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Footer copyright: centred */
.ct-footer [data-row="bottom"] .ct-container {
	justify-content: center;
	text-align: center;
}

/* Mobile header: toggle left, logo centre, icons right */
@media (max-width: 781px) {
	.site-header [data-row="middle"] .ct-container [data-column="middle"] {
		flex: 1 1 0%;
	}
	.site-header [data-row="middle"] .site-branding {
		justify-content: center;
	}
}

/* ---- v1.3.0 shop landing: hero category carousel + filter drawer ---- */

/* Hero category carousel */
.hijima-hero-carousel {
	margin-bottom: 6px;
}
.hijima-hero-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 2px 16px;
	scrollbar-width: none;
}
.hijima-hero-track::-webkit-scrollbar {
	display: none;
}
.hijima-hero-slide {
	flex: 0 0 auto;
	width: min(80vw, 520px);
	scroll-snap-align: center;
	position: relative;
	display: block;
	text-decoration: none;
}
@media (min-width: 782px) {
	.hijima-hero-slide {
		width: min(44vw, 560px);
	}
}
.hijima-hero-slide-media {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
}
.hijima-hero-slide-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #FDFCFA 0%, rgba(253, 252, 250, .92) 10%, rgba(253, 252, 250, 0) 40%);
	pointer-events: none;
}
.hijima-hero-slide--fade-baked .hijima-hero-slide-media::after {
	display: none;
}
.hijima-hero-slide-media img {
	width: 100%;
	height: clamp(230px, 40vw, 430px);
	object-fit: cover;
	border-radius: 18px;
	display: block;
}
.hijima-hero-slide-name {
	position: absolute;
	left: 16px;
	bottom: 14px;
	background: rgba(253, 252, 250, 0.94);
	border-radius: 10px;
	padding: 8px 16px;
	font-family: 'Spectral', Georgia, serif;
	font-size: 20px;
	color: #111111;
}
.hijima-hero-slide-cta {
	display: block;
	margin-top: 2px;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #000000;
}
.hijima-hero-slide:hover .hijima-hero-slide-name {
	color: #000000;
}
.hijima-hero-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 2px;
}
.hijima-hero-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d8ded6;
	transition: background 0.2s, transform 0.2s;
}
.hijima-hero-dots span.is-active {
	background: #000000;
	transform: scale(1.15);
}

/* Filter and sort toggle + right drawer */
.hijima-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	border: 1px solid #d8ded6;
	border-radius: 50px;
	padding: 9px 18px;
	font-size: 14px;
	color: #111111;
	cursor: pointer;
}
/* Hide Blocksy's up/down sort arrows (select stays functional) */
form.woocommerce-ordering .ct-sort-icon {
	display: none !important;
}
/* Active filter pills above the product grid */
.hijima-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}
.hijima-active-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #000000;
	color: #fff;
	border-radius: 50px;
	padding: 7px 8px 7px 14px;
	font-size: 13px;
	text-decoration: none;
	line-height: 1;
}
.hijima-active-pill:hover {
	background: #000000;
	color: #fff;
}
.hijima-active-pill__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 13px;
	line-height: 1;
}
.hijima-filter-toggle:hover {
	border-color: #000000;
	color: #000000;
}
.hijima-filter-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(20, 24, 20, 0.45);
	z-index: 999990;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}
.hijima-filter-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(380px, 92vw);
	background: #fdfcfa;
	z-index: 999995;
	box-shadow: -18px 0 40px rgba(0, 0, 0, 0.14);
	display: flex;
	flex-direction: column;
	padding: 0;
	transform: translateX(105%);
	visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0.34, 1), visibility 0s 0.3s;
}
body.hijima-drawer-open {
	overflow: hidden;
}
body.hijima-drawer-open .hijima-filter-drawer-backdrop {
	opacity: 1;
	pointer-events: auto;
}
body.hijima-drawer-open .hijima-filter-drawer {
	transform: none;
	visibility: visible;
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0.34, 1);
}
.hijima-filter-drawer__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid #e7eae5;
}
.hijima-filter-drawer__head strong {
	font-family: 'Spectral', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
}
.hijima-filter-drawer__close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #111111;
	padding: 0 2px;
}
.hijima-filter-drawer__body {
	flex: 1 1 0%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 4px 22px 18px;
}
.hijima-drawer__section {
	padding: 18px 0;
	border-bottom: 1px solid #eef0eb;
}
.hijima-drawer__section:last-child {
	border-bottom: 0;
}
.hijima-drawer__label {
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #7a857a;
	margin: 0 0 12px;
}
.hijima-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hijima-drawer__list li {
	margin: 0;
}
.hijima-drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	margin: 0 -10px;
	border-radius: 8px;
	font-size: 15px;
	color: #111111;
	text-decoration: none;
}
.hijima-drawer__list a:hover {
	background: #f2f2f2;
	color: #000000;
}
.hijima-drawer__list a.is-current {
	background: #f0f0f0;
	color: #000000;
	font-weight: 600;
}
.hijima-drawer-check em {
	font-style: normal;
	font-size: 13px;
	color: #8a948a;
}
.hijima-drawer-check.is-on {
	background: #f0f0f0;
	color: #000000;
	font-weight: 600;
}
.hijima-drawer-check.is-on::before {
	content: "✓";
	margin-right: 8px;
	color: #000000;
	font-weight: 700;
}
.hijima-drawer__list--radio a {
	justify-content: flex-start;
	gap: 12px;
}
.hijima-drawer__list--radio em {
	margin-left: auto;
}
.hijima-drawer-radio {
	flex: 0 0 auto;
	position: relative;
	width: 18px;
	height: 18px;
	border: 1.5px solid #c6cec6;
	border-radius: 50%;
	background: #fff;
}
.hijima-drawer__list a.hijima-drawer-radio-row.is-current {
	background: transparent;
	color: #000000;
	font-weight: 600;
}
.hijima-drawer-radio-row.is-current .hijima-drawer-radio {
	border-color: #000000;
}
.hijima-drawer-radio-row.is-current .hijima-drawer-radio::after {
	content: "";
	position: absolute;
	inset: 3.5px;
	border-radius: 50%;
	background: #000000;
}
.hijima-drawer-radio-row.is-current em {
	color: #000000;
}
.hijima-drawer-price__fields {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hijima-drawer-price__fields label {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #d8ded6;
	border-radius: 10px;
	padding: 0 12px;
	height: 44px;
	color: #7a857a;
	background: #fff;
}
.hijima-drawer-price__fields label:focus-within {
	border-color: #000000;
}
.hijima-drawer-price__fields input {
	border: none;
	outline: none;
	width: 100%;
	font-size: 15px;
	color: #111111;
	background: transparent;
	-moz-appearance: textfield;
}
.hijima-drawer-price__fields input::-webkit-outer-spin-button,
.hijima-drawer-price__fields input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.hijima-drawer-price__sep {
	color: #7a857a;
}
.hijima-drawer-apply {
	width: 100%;
	margin-top: 12px;
	background: #111111;
	color: #fdfcfa;
	border: none;
	border-radius: 50px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.hijima-drawer-apply:hover {
	background: #000000;
}
.hijima-filter-drawer__foot {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e7eae5;
	background: #fdfcfa;
}
.hijima-drawer-clear {
	font-size: 14px;
	color: #67707a;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hijima-drawer-clear:hover {
	color: #000000;
}
.hijima-drawer-done {
	background: #111111;
	color: #fdfcfa;
	border: none;
	border-radius: 50px;
	padding: 11px 28px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.hijima-drawer-done:hover {
	background: #000000;
}

/* Single product: "N × unit price" caption under the price when quantity > 1 */
.hijima-line-total {
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: #67707a;
	margin-top: 4px;
}

/* "How Rituals work" — three numbered steps under the Rituals page intro */
.hijima-ritual-steps {
	counter-reset: ritual;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
	max-width: none;
}
.hijima-ritual-steps li {
	counter-increment: ritual;
	position: relative;
	padding-left: 38px;
	font-size: 15px;
	line-height: 1.45;
}
.hijima-ritual-steps li::before {
	content: counter(ritual);
	position: absolute;
	left: 0;
	top: -1px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #111111;
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Products: 2 columns on mobile everywhere */
@media (max-width: 781px) {
	[data-products] {
		--shop-columns: 2 !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.hijima-filter-toggle {
		display: inline-flex;
	}
}

/* ---- v1.4.2: search popup · dark-panel contrast · checkout field outlines ---- */

/* Search: a compact popup card instead of a full-screen dark sheet.
   Blocksy's free header search only offers the full-width modal, so this reshapes
   that panel rather than changing its behaviour. `!important` is required because the
   panel's background comes from Blocksy's own inline stylesheet at higher specificity
   ([data-header*="type-1"] #search-modal), and .ct-panel-content has flex: 1 1 0%,
   which stretches the card to full height. */
#search-modal {
	background: rgba(17, 17, 17, 0.55) !important;
	/* the panel is a COLUMN flex, so justify-content places the card vertically
	   and align-items places it horizontally */
	justify-content: center !important;
	align-items: center !important;
	padding: 16px !important;
}
#search-modal .ct-panel-actions {
	position: absolute;
	top: 16px;
	right: 12px;
}
#search-modal .ct-toggle-close {
	color: #fff;
}
#search-modal .ct-panel-content {
	flex: 0 0 auto !important;
	height: auto !important;
	width: min(560px, 100%);
	background: #fff;
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
#search-modal .ct-search-form,
#search-modal .ct-search-form-inner {
	width: 100% !important;
}
/* The theme already draws the border on .ct-search-form-inner (the visual box that
   wraps the field), so only colour the field itself — adding a border here as well
   produced a doubled outline. */
#search-modal .ct-search-form-inner {
	border-color: #d6d6d6;
	border-radius: 10px;
	padding: 0 6px;
}
#search-modal input.modal-field {
	flex: 1 1 auto;
	color: #111;
	background: transparent;
	border: 0;
	padding: 12px 8px;
	width: 100% !important;
}
#search-modal input.modal-field::placeholder {
	color: #6b7280;
}
#search-modal .ct-search-form [type="submit"] {
	color: #111;
}
/* The live-results dropdown is white (Blocksy: var(--search-dropdown-background,
   palette colour 8) = #fff), but the panel sets white text for its own dark
   background — so result titles were white-on-white and only appeared on hover,
   when the item picked up the darker hover colour. Make the card's text dark. */
#search-modal .ct-panel-content,
#search-modal .ct-search-results,
#search-modal .ct-search-results a,
#search-modal .ct-search-results a span,
#search-modal .ct-search-results a .product-search-meta small {
	color: #111;
}
#search-modal .ct-search-results a:hover,
#search-modal .ct-search-results a.is-current {
	background: #f2f2f2;
	color: #111;
}

/* The offcanvas menu is a dark panel. Site typography is black, so the active
   menu item (painted with the accent colour) and the close/expand controls were
   disappearing into it. Force light text there and mark the current item with an
   underline instead of a colour. */
#offcanvas,
#offcanvas .ct-menu-link,
#offcanvas a,
#offcanvas .ct-toggle-dropdown-mobile,
#offcanvas .ct-toggle-close {
	color: #fff;
}
#offcanvas .ct-menu-link:hover,
#offcanvas a:hover {
	color: #fff;
	opacity: 0.75;
}
#offcanvas li.current-menu-item .ct-menu-link,
#offcanvas li.current-menu-item > .ct-sub-menu-parent > .ct-menu-link,
#offcanvas .ct-current-menu-item .ct-menu-link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Checkout: WooCommerce Blocks renders white fields with no border on a white
   page, so the fields were invisible. WooCommerce's own checkout stylesheet draws
   those borders with `!important` through theme variables, and
   --theme-form-field-border-initial-color is UNSET here — which makes that `border`
   declaration invalid, so the dropdowns got no border at all. Defining the
   variables fixes the source rule rather than fighting its specificity. */
/* Set on body (and on the field wrappers) rather than :root — Blocksy's dynamic
   CSS declares these variables empty at :root and loads after this stylesheet, so
   a :root declaration loses. A value set closer to the element is inherited
   regardless of order. */
body,
.wc-block-checkout,
.wc-blocks-components-select,
.wc-blocks-components-select__select,
.wc-block-components-text-input {
	--theme-form-field-border-width: 1px;
	--theme-form-field-border-style: solid;
	--theme-form-field-border-initial-color: #d6d6d6;
}
.wc-block-components-text-input input:not([type="checkbox"]):not([type="radio"]),
.wc-block-components-textarea,
.wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border: 1px solid #d6d6d6 !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-blocks-components-select__select:focus {
	border-color: #111 !important;
	outline: none !important;
}
.wc-block-components-text-input input::placeholder,
.wc-block-components-textarea::placeholder {
	color: #8a8a8a;
}

/* -------------------------------------------------------------------------
 * Product page copy — Happy Herb format
 * Tagline → intro → meta → five <details> accordions under Add to cart.
 * ---------------------------------------------------------------------- */
.hijima-pdp {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #e6e3dc;
}
.hijima-pdp__tagline {
	margin: 0 0 12px;
	font-family: 'Spectral', Georgia, serif;
	font-size: 19px;
	line-height: 1.45;
	font-style: italic;
	color: #111;
}
.hijima-pdp__intro {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}
.hijima-pdp__intro p {
	margin: 0 0 10px;
}
.hijima-pdp__intro p:last-child {
	margin-bottom: 0;
}
.hijima-pdp__meta {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}
.hijima-pdp__meta ul {
	margin: 0;
	padding-left: 18px;
}
.hijima-pdp__meta li {
	margin: 0 0 4px;
}
.hijima-pdp__brew {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}
.hijima-pdp__brew span {
	flex: none;
	padding: 2px 8px;
	border: 1px solid #111;
	border-radius: 999px;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #111;
}
.hijima-acc {
	border-top: 1px solid #e6e3dc;
}
.hijima-acc:last-of-type {
	border-bottom: 1px solid #e6e3dc;
}
.hijima-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
}
.hijima-acc summary::-webkit-details-marker {
	display: none;
}
.hijima-acc__title {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #111;
}
.hijima-acc__icon {
	position: relative;
	width: 12px;
	height: 12px;
	flex: none;
}
.hijima-acc__icon::before,
.hijima-acc__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: #111;
}
.hijima-acc__icon::before {
	width: 12px;
	height: 1px;
	transform: translate(-50%, -50%);
}
.hijima-acc__icon::after {
	width: 1px;
	height: 12px;
	transform: translate(-50%, -50%);
	transition: opacity .15s ease;
}
.hijima-acc[open] .hijima-acc__icon::after {
	opacity: 0;
}
.hijima-acc__body {
	padding: 0 0 18px;
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}
.hijima-acc__body p {
	margin: 0 0 10px;
}
.hijima-acc__body p:last-child {
	margin-bottom: 0;
}
.hijima-pdp__price {
	font-weight: 500;
	color: #111;
}
/* Blocksy prints its own short-description block after the summary; the same
   intro is already printed inside .hijima-pdp, so hide the duplicate. */
.hijima-pdp ~ .woocommerce-product-details__short-description {
	display: none;
}

/* -------------------------------------------------------------------------
 * §3 site features
 * ---------------------------------------------------------------------- */
.hijima-announce {
	background: #111111;
	color: #F4F3EF;
	text-align: center;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.hijima-announce a {
	display: block;
	padding: 9px 16px;
	color: inherit;
	text-decoration: none;
}
.hijima-announce a:hover {
	color: #ffffff;
}
.hijima-announce__arrow {
	margin-left: 6px;
}

.hijima-footer-contact {
	margin-top: 24px;
	text-align: center;
	line-height: 1.6;
}
.hijima-footer-contact p {
	margin: 0 0 6px;
}
.hijima-footer-contact__label {
	margin: 0 0 10px;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6c8181;
}
.hijima-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 14px;
}
.hijima-social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #e3ded2;
	border-radius: 50%;
	background: #ffffff;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hijima-social img {
	display: block;
	width: 19px;
	height: 19px;
	object-fit: contain;
}
a.hijima-social:hover {
	transform: translateY(-2px);
	border-color: #111111;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}
.hijima-social--pending {
	opacity: .5;
	cursor: default;
}

.hijima-wa {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	transition: transform .18s ease, box-shadow .18s ease;
}
.hijima-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.hijima-wa img {
	display: block;
	width: 30px;
	height: 30px;
}
/* Never let the floating button sit over the place-order button. */
.woocommerce-checkout .hijima-wa {
	display: none;
}

@media (max-width: 600px) {
	.hijima-announce {
		font-size: 10px;
		letter-spacing: 0.1em;
	}
	.hijima-announce a {
		padding: 8px 12px;
	}
	.hijima-wa {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
	}
	.hijima-wa img {
		width: 28px;
		height: 28px;
	}
}

/* -------------------------------------------------------------------------
 * Discover promo band (mid-grid on the front-page shop)
 * ---------------------------------------------------------------------- */
.hijima-promo-row {
	grid-column: 1 / -1;
	list-style: none;
	margin: 2px 0 30px;
	padding: 0;
	width: 100%;
}
.hijima-promo {
	padding: 26px 0;
	border-top: 1px solid #e6e3dc;
	border-bottom: 1px solid #e6e3dc;
}
.hijima-promo__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.hijima-promo__card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	background: #111111;
	text-decoration: none;
}
.hijima-promo__media {
	position: absolute;
	inset: 0;
}
.hijima-promo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hijima-promo__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .66) 40%, rgba(0, 0, 0, .2) 72%, transparent 100%);
}
.hijima-promo__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 18px;
	color: #ffffff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.hijima-promo__body strong {
	font-family: 'Spectral', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
}
.hijima-promo__body span {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .86);
}
.hijima-promo__body em {
	margin-top: 4px;
	font-size: 10px;
	font-style: normal;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ffffff;
}
@media (max-width: 900px) {
	.hijima-promo {
		padding: 18px 0;
	}
	.hijima-promo__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.hijima-promo__card {
		aspect-ratio: 16 / 9;
	}
}

/* -------------------------------------------------------------------------
 * Discover article pages (Tobacco / Alcohol Alternatives)
 * ---------------------------------------------------------------------- */
.hijima-article h2 {
	margin-top: 42px;
}
.hijima-article h3 {
	margin: 30px 0 8px;
	font-size: 22px;
}
.hijima-article h3 a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, .18);
}
.hijima-article h3 a:hover {
	border-bottom-color: #111111;
}
.hijima-effects-line {
	margin: 0 0 18px !important;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #6c8181;
}
.hijima-callout {
	margin: 34px 0;
	padding: 22px 24px;
	border: 1px solid #e3ded2;
	border-radius: 14px;
	background: #F4F2EC;
}
.hijima-callout h3 {
	margin-top: 0;
}
.hijima-callout p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Discover index cards
 * ---------------------------------------------------------------------- */
.hijima-index {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin: 10px 0 20px;
}
.hijima-index__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 24px;
	border: 1px solid #e3ded2;
	border-radius: 14px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.hijima-index__card:hover {
	transform: translateY(-2px);
	border-color: #111111;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}
.hijima-index__kicker {
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #6c8181;
}
.hijima-index__card strong {
	font-family: 'Spectral', Georgia, serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}
.hijima-index__desc {
	font-size: 14px;
	line-height: 1.55;
	color: #333333;
}
.hijima-index__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #111111;
	transition: gap .15s ease;
}
.hijima-index__card:hover .hijima-index__cta {
	gap: 10px;
}
@media (max-width: 700px) {
	.hijima-index {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
 * Checkout delivery notice
 * ---------------------------------------------------------------------- */
.hijima-checkout-note {
	margin: 0 0 26px;
	padding: 14px 16px;
	border: 1px solid #e6e0d3;
	border-radius: 10px;
	background: #F8F6F0;
	font-size: 13px;
	line-height: 1.55;
	color: #3a3a3a;
}
.hijima-checkout-note p {
	margin: 0;
}
.hijima-checkout-note strong {
	color: #111111;
}

/* The arranged-delivery method has no online cost; hide Woo's "Free" label so
   it does not read as free delivery (the driver fee is confirmed on contact). */
.wc-block-checkout__shipping-option--free,
.wc-block-components-totals-shipping .wc-block-components-totals-item__value {
	display: none;
}

/* -------------------------------------------------------------------------
 * Home page H1 (above the hero carousel)
 * ---------------------------------------------------------------------- */
.hijima-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Legal links in the footer copyright bar */
.hijima-legal-links {
	display: inline-flex;
	gap: 16px;
	margin-left: 18px;
}
.hijima-legal-links a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, .2);
}
.hijima-legal-links a:hover {
	border-bottom-color: #111111;
}
@media (max-width: 700px) {
	.hijima-legal-links {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		margin: 10px 0 0;
	}
}

/* Keep the floating WhatsApp button clear of the copyright on mobile */
@media (max-width: 700px) {
	.ct-footer-copyright {
		padding-bottom: 58px;
	}
}
