/*!
Theme Name:   Hooflakids Child
Theme URI:    https://hooflakids.com
Template:     storefront
Author:       BYTES
Author URI:   https://bytes.co.id
Description:  Child theme of Storefront for Hooflakids WooCommerce store. Playful, kids-forward visual identity built on top of Storefront.
Version:      0.4.9
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  hooflakids-child

Copyright (c) 2026 Hooflakids. All rights reserved.
Developed by BYTES.
*/

/* ============================================================
   Brand tokens — sourced from Claude Design handoff
   ============================================================ */
:root {
	--hk-container-w: 100%;
	--hk-container-pad: 150px;
}

@media (max-width: 1024px) {
	:root { --hk-container-pad: 48px; }
}

@media (max-width: 640px) {
	:root { --hk-container-pad: 16px; }
}

:root {
	--accent: #00ac8a;
	--accent-deep: #007a62;
	--accent-soft: #d4f0e8;
	--accent-tint: #ecf8f4;
	--sun: #ffd166;
	--coral: #ff8a65;
	--berry: #c45a8e;
	--sky: #6ec1e4;
	--ink: #1a2a2a;
	--ink-soft: #4a5a58;
	--ink-mute: #8a9a98;
	--cream: #fbf7f0;
	--cream-deep: #f3ebd9;
	--bg: #fbf7f0;
	--paper: #ffffff;
	--line: #ebe5d6;

	--radius-card: 22px;
	--radius-btn: 999px;
	--radius-chip: 999px;
	--radius-input: 14px;

	--shadow-sm: 0 1px 2px rgba(20, 30, 30, .04), 0 2px 6px rgba(20, 30, 30, .04);
	--shadow-md: 0 4px 14px rgba(20, 30, 30, .08), 0 1px 3px rgba(20, 30, 30, .04);
	--shadow-lg: 0 18px 40px rgba(20, 30, 30, .10), 0 4px 12px rgba(20, 30, 30, .05);

	--font-display: "Quicksand", system-ui, sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

body,
body.woocommerce,
body.woocommerce-page {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	letter-spacing: -.01em;
}

a {
	color: var(--accent-deep);
}

a:hover {
	color: var(--accent);
}

button.button,
.button,
.woocommerce a.button,
.woocommerce-page a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--accent);
	color: #fff;
	border-radius: var(--radius-btn);
	font-weight: 600;
	letter-spacing: 0;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--accent-deep);
	color: #fff;
}

/* ----- Promo bar above the header ----- */
.hk-promo-bar {
	background: var(--ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 8px 24px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
.hk-promo-bar .dot { opacity: .4; }
.hk-promo-bar__sun { color: var(--sun); }
.hk-promo-bar strong { font-weight: 800; }

/* ----- Fixed header (more reliable than sticky across themes) ----- */
:root { --hk-header-h: 68px; }

body { padding-top: var(--hk-header-h); }

/* Ancestors must not clip overflow for descendant sticky elements (e.g. shop sidebar). */
html, body, #page, #content, .site-content, .col-full { overflow: visible !important; }

/* Storefront's .col-full caps page content at ~1200px. Remove that cap globally;
   individual templates (.hk-shop, .hooflakids-home, etc.) manage their own width. */
#content > .col-full,
.site-content > .col-full,
.col-full {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Bare-page mode: hide WP page title + sidebar widgets, content full-width. */
body.hk-bare-page .entry-header,
body.hk-bare-page .page-title,
body.hk-bare-page #secondary,
body.hk-bare-page .widget-area,
body.hk-bare-page .sidebar,
body.hk-bare-page .storefront-breadcrumb {
	display: none !important;
}

body.hk-bare-page #content,
body.hk-bare-page .site-content,
body.hk-bare-page #primary,
body.hk-bare-page .content-area,
body.hk-bare-page .site-main,
body.hk-bare-page .col-full {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.hk-bare-page .entry-content,
body.hk-bare-page article.page,
body.hk-bare-page article.post {
	margin: 0 !important;
	padding: 0 !important;
}

/* ============================================================
   Breadcrumb (shared)
   ============================================================ */
.hk-breadcrumb {
	font-size: 14px;
	color: var(--ink-mute);
	margin-bottom: 16px;
	font-family: var(--font-body);
}

.hk-breadcrumb a,
.entry-content .hk-breadcrumb a {
	color: var(--ink-mute);
	text-decoration: none !important;
	font-weight: 500;
	box-shadow: none !important;
}

.hk-breadcrumb a:hover { color: var(--ink); text-decoration: none !important; }

.hk-breadcrumb .sep { margin: 0 10px; color: var(--ink-mute); opacity: .55; }

.hk-breadcrumb > span:not(.sep) {
	color: var(--ink);
	font-weight: 700;
}

.site-header.hk-site-header {
	position: fixed !important;
	top: 0 !important;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100;
	background: var(--cream);
	border-bottom: 1px solid var(--line);
	padding: 0;
	box-shadow: none;
	min-height: 0;
	transform: none !important;
}

/* Drop-shadow when scrolled past initial position (added by JS). */
.hk-site-header.is-stuck { box-shadow: 0 4px 14px rgba(20, 30, 30, .08); }

/* Push fixed header below WP admin bar when logged-in admin is viewing the site.
   WP adds `admin-bar` class to <body> and html { margin-top: 32px/46px }, but
   our fixed header sits at top:0 ignoring that — so offset it explicitly. */
body.admin-bar .site-header.hk-site-header { top: 32px !important; }
@media (max-width: 782px) {
	body.admin-bar .site-header.hk-site-header { top: 46px !important; }
}

@media (max-width: 768px) {
	:root { --hk-header-h: 60px; }
}

.hk-site-header * {
	box-sizing: border-box;
}

.hk-site-header__inner {
	max-width: var(--hk-container-w);
	margin: 0 auto;
	padding: 12px var(--hk-container-pad);
	display: flex;
	align-items: center;
	gap: 24px;
}

.hk-logo {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	line-height: 0;
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}

.hk-logo img {
	height: 44px;
	width: auto;
	display: block;
}

/* When header sits on a dark area in the future, swap to white via this class. */
.hk-site-header.is-dark .hk-logo img { filter: brightness(0) invert(1); }

.hk-nav {
	flex: 1;
	min-width: 0;
}

.hk-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.hk-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-weight: 600;
	font-size: 14px;
	border-radius: var(--radius-btn);
	color: var(--ink);
	text-decoration: none;
}

.hk-nav__item.is-active > a,
.hk-nav__list a:hover {
	background: var(--accent-soft);
	color: #00604c;
}

.hk-nav__item.is-highlight > a {
	color: var(--accent-deep);
}

.hk-nav__badge {
	color: var(--coral);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
}

.hk-track-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--radius-btn);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	background: transparent;
	border: 0;
	margin-right: 4px;
}

.hk-track-btn:hover {
	background: var(--accent-soft);
	color: var(--accent-deep);
}

.hk-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.hk-icon-btn-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	background: transparent;
	border: 0;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 0;
	transition: background .15s, color .15s;
}

.hk-icon-btn-circle:hover {
	background: var(--accent-soft);
	color: var(--accent-deep);
}

.hk-icon-btn-circle svg { display: block; }

.hk-pip {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--cream);
	line-height: 1;
}

@media (max-width: 1024px) {
	.hk-track-btn { display: none; }
}

/* ----- Mobile hamburger button (base; visibility toggled in @media below) ----- */
.hk-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	color: var(--ink);
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.hk-promo-bar { font-size: 11.5px; gap: 10px; padding: 6px 16px; }
	.hk-promo-bar .dot { display: none; }
	.hk-site-header__inner { padding: 10px 16px; gap: 12px; }
	.hk-logo img { height: 36px; }
	.hk-nav { display: none; }
	.hk-menu-toggle { display: inline-flex; }

	/* Push actions cluster to the right edge */
	.hk-actions { margin-left: auto; gap: 4px; }

	/* Reorder icons: Search → Wishlist → Cart → Account */
	.hk-actions [data-hk-search-open] { order: 1; }
	.hk-actions .hk-wishlist-link  { order: 2; }
	.hk-actions .hk-cart-link      { order: 3; }
	.hk-actions .hk-account-link   { order: 4; }
}

.hk-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}

.hk-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hk-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hk-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Mobile menu drawer ----- */
.hk-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(82vw, 340px);
	background: var(--bg, var(--cream));
	z-index: 1100;
	transform: translateX(-100%);
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: 8px 0 32px rgba(0, 0, 0, .12);
}

.hk-mobile-menu.is-open {
	transform: translateX(0);
}

.hk-mobile-menu__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .4);
	z-index: 1090;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}

.hk-mobile-menu__backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

body.hk-menu-locked { overflow: hidden; }

.hk-mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.hk-mobile-menu__title {
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
}

.hk-mobile-menu__close {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	border: 1px solid var(--line) !important;
	background: #fff !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ink) !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	flex-shrink: 0;
	padding: 0 !important;
	box-sizing: border-box;
}

.hk-mobile-menu__close svg {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px;
	flex-shrink: 0;
	stroke: currentColor !important;
	display: block;
}

.hk-mobile-menu__close svg line {
	stroke: currentColor !important;
	stroke-width: 2 !important;
}

.hk-mobile-menu__close:hover {
	background: var(--accent-soft, rgba(0, 172, 138, 0.1)) !important;
	border-color: var(--accent) !important;
	color: var(--accent-deep) !important;
}

.hk-mobile-menu__nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 0;
}

.hk-mobile-menu__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hk-mobile-menu__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1px solid var(--line);
	transition: background .15s ease, color .15s ease;
}

.hk-mobile-menu__nav a:hover,
.hk-mobile-menu__nav li.is-active a {
	background: var(--accent-tint);
	color: var(--accent-deep);
}

.hk-mobile-menu__badge {
	background: var(--coral);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 2px 8px;
	border-radius: 999px;
	text-transform: uppercase;
}

/* ----- Mobile-menu shortcut row (Lacak / Akun / Wishlist) ----- */
.hk-mobile-menu__shortcuts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding: 12px 20px 16px;
	border-top: 1px solid var(--line);
	background: var(--cream, #faf6ec);
}

.hk-mobile-menu__shortcut {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	color: var(--ink) !important;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease;
}

.hk-mobile-menu__shortcut:hover,
.hk-mobile-menu__shortcut:active {
	border-color: var(--accent);
	color: var(--accent-deep) !important;
}

.hk-mobile-menu__shortcut svg {
	color: var(--accent-deep);
}

.hk-mobile-menu__shortcut span {
	line-height: 1.2;
}

/* ----- Mobile-menu footer (WhatsApp CS pill) ----- */
.hk-mobile-menu__foot {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--line);
	background: #fff;
}

.hk-mobile-menu__cs,
.hk-mobile-menu__track {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366;
	color: #fff !important;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
	transition: background .15s ease, transform .15s ease;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
}

.hk-mobile-menu__cs:hover,
.hk-mobile-menu__cs:active {
	background: #1ebe5b;
	transform: translateY(-1px);
}

/* Legacy fallback if a page still renders old .hk-mobile-menu__track standalone */
.hk-mobile-menu__track {
	background: var(--ink);
	box-shadow: none;
}

/* ----- Hide Storefront's default header artifacts that may still register ----- */
.storefront-handheld-footer-bar,
.site-header .col-full { display: none !important; }

/* ----- Break out of Storefront's .col-full constraint on the homepage ----- */
body.home .site-content,
body.home #content,
body.home #content > .col-full,
body.home.page-template-default #content,
body.home.page-template-default #content > .col-full {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	background: none !important;
}

body.home #content { padding: 0 !important; }

body.home #content { background: var(--cream); }

/* Kill any breadcrumb / empty woocommerce wrapper / page header / hero spacing on home */
body.home .storefront-breadcrumb,
body.home .woocommerce-breadcrumb,
body.home .entry-header,
body.home .page-header,
body.home #content > .col-full > .woocommerce:empty,
body.home #content > .col-full > .woocommerce-notices-wrapper:empty {
	display: none !important;
}

body.home .hooflakids-home,
body.home .hooflakids-home > *:first-child,
body.home .hk-hero { margin-top: 0 !important; }

.site-header.hk-site-header {
	margin-bottom: 0 !important;
	box-shadow: none !important;
}

/* ============================================================
   Footer (loaded on all pages)
   ============================================================ */
.site-footer.hk-footer {
	background: var(--ink) !important;
	color: #fff !important;
	padding: 80px var(--hk-container-pad, 150px) 40px !important;
	border-top: none !important;
	margin-top: 0 !important;
}

.site-footer .col-full,
.site-footer .storefront-credit { display: none !important; }

.hk-footer__inner {
	max-width: var(--hk-container-w);
	margin: 0 auto;
	padding: 0;
}

.hk-footer__cols {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 56px;
	align-items: start;
}

.hk-footer__brand img {
	height: 64px;
	width: auto;
	max-width: 100%;
	display: block;
	filter: brightness(0) invert(1);
}

.hk-footer__tagline {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82) !important;
	max-width: 280px;
}

.hk-footer__social {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

.site-footer.hk-footer .hk-footer__social a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1) !important;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, color .15s ease;
	text-decoration: none;
}

.site-footer.hk-footer .hk-footer__social a svg {
	stroke: currentColor !important;
}

.site-footer.hk-footer .hk-footer__social a:hover {
	background: var(--accent) !important;
	color: #fff !important;
}

.site-footer.hk-footer .hk-footer__social a svg[fill="currentColor"] {
	stroke: none !important;
}

/* WhatsApp CS button */
.site-footer.hk-footer .hk-footer__cs {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 11px 20px;
	background: #0e7368 !important;
	color: #fff !important;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(14, 115, 104, .35);
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.site-footer.hk-footer .hk-footer__cs svg {
	color: #fff;
	flex-shrink: 0;
}

.site-footer.hk-footer .hk-footer__cs:hover {
	background: #095a52 !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(9, 90, 82, .45);
}

.hk-footer h4 {
	font-size: 12.5px !important;
	font-weight: 700 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	margin: 0 0 16px !important;
	color: #fff !important;
	font-family: var(--font-body) !important;
	opacity: 1 !important;
}

.hk-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hk-footer ul li { margin: 0; }

.site-footer.hk-footer ul a,
.site-footer.hk-footer ul a:link,
.site-footer.hk-footer ul a:visited {
	font-size: 14px !important;
	color: rgba(255, 255, 255, .85) !important;
	text-decoration: none !important;
	transition: color .15s ease;
}

.site-footer.hk-footer ul a:hover {
	color: #fff !important;
	text-decoration: none !important;
}

.site-footer.hk-footer .hk-footer__newsletter p {
	font-size: 13px;
	color: rgba(255, 255, 255, .8) !important;
	margin: 0 0 12px !important;
	line-height: 1.5;
}

.hk-footer__newsletter form {
	display: flex;
	gap: 6px;
}

.hk-footer__newsletter input {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--radius-input);
	padding: 10px 12px;
	font-size: 13px;
	outline: none;
}

.hk-footer__newsletter input::placeholder { color: rgba(255, 255, 255, .45); }

.hk-footer__newsletter input:focus {
	border-color: var(--accent);
	background: rgba(255, 255, 255, .12);
}

.hk-footer__newsletter button {
	background: var(--accent);
	color: #fff;
	border-radius: var(--radius-input);
	border: 0;
	padding: 0 18px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	transition: background .15s ease;
	white-space: nowrap;
}

.hk-footer__newsletter button:hover { background: var(--accent-deep); }

.site-footer.hk-footer .hk-footer__bar,
.site-footer.hk-footer .hk-footer__bar > div {
	color: rgba(255, 255, 255, .7) !important;
}

.hk-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-top: 28px;
	margin-top: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12.5px;
}

@media (max-width: 1280px) {
	.site-footer.hk-footer { padding: 80px 64px 40px !important; }
}

@media (max-width: 1024px) {
	.site-footer.hk-footer { padding: 64px 40px 32px !important; }
	.hk-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
	.hk-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.site-footer.hk-footer {
		padding: 40px 20px 24px !important;
		background: linear-gradient(180deg, var(--ink) 0%, #0f1f1f 100%) !important;
	}

	.hk-footer__cols {
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 32px;
	}

	/* Brand block centered, more vibe */
	.hk-footer__brand {
		text-align: center;
		padding-bottom: 28px;
		margin-bottom: 8px;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}
	.hk-footer__brand img { height: 48px; margin: 0 auto; }
	.hk-footer__tagline {
		margin: 14px auto 0;
		max-width: none;
		font-size: 13.5px;
		font-style: italic;
		color: rgba(255, 255, 255, .65) !important;
	}
	.hk-footer__social {
		justify-content: center;
		margin-top: 20px;
		gap: 10px;
	}
	.site-footer.hk-footer .hk-footer__social a {
		width: 42px;
		height: 42px;
		background: rgba(255, 255, 255, .08) !important;
		border: 1px solid rgba(255, 255, 255, .1);
	}

	/* Link groups → accordion */
	.hk-footer__group {
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	.hk-footer__h4 {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		cursor: pointer;
		padding: 18px 4px !important;
		margin: 0 !important;
		user-select: none;
	}

	.hk-footer__chevron {
		width: 12px;
		height: 12px;
		position: relative;
		transition: transform .25s ease;
		opacity: .6;
	}

	.hk-footer__chevron::before,
	.hk-footer__chevron::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 9px;
		height: 1.5px;
		background: #fff;
		transform-origin: center;
		transition: transform .25s ease;
	}

	.hk-footer__chevron::before { transform: translate(-50%, -50%) rotate(0deg); }
	.hk-footer__chevron::after  { transform: translate(-50%, -50%) rotate(90deg); }

	.hk-footer__group.is-open .hk-footer__chevron::after {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	.hk-footer__group ul {
		max-height: 0;
		overflow: hidden;
		gap: 0 !important;
		transition: max-height .3s ease, padding .25s ease;
		padding: 0 4px;
	}

	.hk-footer__group.is-open ul {
		max-height: 400px;
		padding: 4px 4px 18px;
		gap: 12px !important;
	}

	.site-footer.hk-footer .hk-footer__group ul a {
		font-size: 14.5px !important;
		display: block;
		padding: 4px 0;
	}

	/* Footer bottom bar */
	.hk-footer__bar {
		flex-direction: column;
		align-items: center !important;
		text-align: center;
		gap: 6px;
		padding-top: 24px;
	}
}

@keyframes hk-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

@keyframes hk-blob {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50%      { transform: translate(20px, -10px) scale(1.05); }
}

/* ============================================================
   Toast notifications (replace WC's default banner notices)
   ============================================================ */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	display: none !important;
}

/* Re-show WC notices on cart/checkout/account pages where they're functional */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error,
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message {
	display: block !important;
}

/* ---- Branded WC notice styling (fix Storefront ::before icon overlap) ----
   Storefront's default puts an icon via ::before but its absolute positioning
   eats the first letter of text ("Eror" → "[E]or"). Replace with a left
   accent bar + clean padding so text never overlaps. */
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message {
	background: #faf6ec !important;
	border: 1px solid var(--line) !important;
	border-left: 4px solid var(--accent) !important;
	border-radius: 12px !important;
	padding: 14px 18px 14px 18px !important;
	margin: 0 0 16px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: var(--ink) !important;
	list-style: none !important;
	position: relative !important;
}

/* Kill Storefront's overlapping icon */
.woocommerce-cart .woocommerce-error::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-message::before,
.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-message::before {
	content: none !important;
	display: none !important;
}

/* Type-specific accent bar color */
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error,
.woocommerce-account .woocommerce-error {
	border-left-color: var(--coral, #ff7e5f) !important;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-message,
.woocommerce-account .woocommerce-message {
	border-left-color: var(--accent) !important;
}

/* "Return to shop" / "View cart" button inside a notice */
.woocommerce-cart .woocommerce-error .button,
.woocommerce-cart .woocommerce-info .button,
.woocommerce-cart .woocommerce-message .button,
.woocommerce-checkout .woocommerce-error .button,
.woocommerce-checkout .woocommerce-info .button,
.woocommerce-checkout .woocommerce-message .button,
.woocommerce-account .woocommerce-error .button,
.woocommerce-account .woocommerce-info .button,
.woocommerce-account .woocommerce-message .button {
	float: none !important;
	margin-left: 8px !important;
	background: transparent !important;
	color: var(--accent-deep) !important;
	font-weight: 600 !important;
	padding: 0 !important;
	box-shadow: none !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

/* Generic notice links (e.g. "Lupa kata sandi?" in login error) — accent green,
   subtle underline, hover gets full underline. */
.woocommerce-info a,
.woocommerce-message a {
	color: var(--accent-deep) !important;
	font-weight: 600 !important;
}

/* ---- Multi-error list notice (.woocommerce-error as <ul> with <li><a>) ----
   WC renders "field required" validation as anchor links that jump to the
   broken input. Style as a clean coral-tinted checklist, NOT green underlined
   links (was confusing — looked like CTAs). Heading via ::before. */
.woocommerce-cart ul.woocommerce-error,
.woocommerce-checkout ul.woocommerce-error,
.woocommerce-account ul.woocommerce-error {
	background: linear-gradient(180deg, rgba(255, 126, 95, 0.06) 0%, transparent 60%) !important;
	padding: 18px 22px 18px 22px !important;
	border-left-width: 4px !important;
}

.woocommerce-cart ul.woocommerce-error::before,
.woocommerce-checkout ul.woocommerce-error::before,
.woocommerce-account ul.woocommerce-error::before {
	content: "Mohon lengkapi data berikut:";
	display: block;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--ink);
	margin: 0 0 10px;
}

.woocommerce-cart ul.woocommerce-error li,
.woocommerce-checkout ul.woocommerce-error li,
.woocommerce-account ul.woocommerce-error li {
	position: relative;
	padding: 4px 0 4px 20px;
	margin: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--ink);
	line-height: 1.5;
}

.woocommerce-cart ul.woocommerce-error li::before,
.woocommerce-checkout ul.woocommerce-error li::before,
.woocommerce-account ul.woocommerce-error li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--coral, #ff7e5f);
}

/* The validation error anchor — kill underline + flat color, full row clickable
   to jump to the broken field. Hover hint via subtle color shift. */
.woocommerce-cart ul.woocommerce-error li a,
.woocommerce-checkout ul.woocommerce-error li a,
.woocommerce-account ul.woocommerce-error li a {
	color: var(--ink) !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	display: inline;
}

.woocommerce-cart ul.woocommerce-error li a strong,
.woocommerce-checkout ul.woocommerce-error li a strong,
.woocommerce-account ul.woocommerce-error li a strong {
	color: var(--ink) !important;
	font-weight: 600;
}

.woocommerce-cart ul.woocommerce-error li a:hover,
.woocommerce-checkout ul.woocommerce-error li a:hover,
.woocommerce-account ul.woocommerce-error li a:hover {
	color: var(--coral, #ff7e5f) !important;
}

/* Trailing free-text message (e.g. "Tidak ada metode pengiriman...") that comes
   after the <li> errors — render with separator and muted tone. */
.woocommerce-cart ul.woocommerce-error,
.woocommerce-checkout ul.woocommerce-error,
.woocommerce-account ul.woocommerce-error {
	font-size: 13.5px;
}

/* Single-error notice (not a <ul>) — for login form & similar where the
   error wraps "Lost password?" link. Keep accent-deep so the link stands. */
:not(ul).woocommerce-error a,
.woocommerce-error:not(ul) a {
	color: var(--accent-deep) !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.hk-toast-stack {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
	max-width: calc(100vw - 48px);
}

.hk-toast {
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 320px;
	max-width: 400px;
	transform: translateX(140%);
	opacity: 0;
	transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
	pointer-events: auto;
	border-left: 4px solid var(--accent);
}

.hk-toast.is-show {
	transform: translateX(0);
	opacity: 1;
}

.hk-toast--error  { border-left-color: var(--coral); }
.hk-toast--info   { border-left-color: var(--sky); }

.hk-toast__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.hk-toast--error .hk-toast__icon { background: rgba(255,138,101,.18); color: var(--coral); }
.hk-toast--info  .hk-toast__icon { background: rgba(110,193,228,.2); color: #2c80a3; }

.hk-toast__body { flex: 1; min-width: 0; }
.hk-toast__msg {
	font-size: 14px;
	color: var(--ink);
	line-height: 1.4;
	margin: 0;
}
.hk-toast__msg strong { font-weight: 700; }
.hk-toast__cta {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent-deep);
	text-decoration: none;
}
.hk-toast__cta:hover { color: var(--accent); text-decoration: underline; }

.hk-toast__close {
	background: transparent;
	border: 0;
	color: var(--ink-mute);
	cursor: pointer;
	font-size: 18px;
	padding: 4px;
	line-height: 1;
	flex-shrink: 0;
}
.hk-toast__close:hover { color: var(--ink); }

@media (max-width: 640px) {
	.hk-toast-stack { left: 16px; right: 16px; bottom: 16px; }
	.hk-toast { min-width: 0; max-width: none; width: 100%; }
}

/* ============================================================
   Search modal
   ============================================================ */
.hk-search-modal[hidden] { display: none !important; }

.hk-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 80px 24px 24px;
	overflow-y: auto;
}

.hk-search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 30, 30, .5);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.hk-search-modal__panel {
	position: relative;
	width: 100%;
	max-width: 720px;
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--shadow-lg);
	padding: 12px;
	animation: hk-modal-in .18s ease-out;
}

@keyframes hk-modal-in {
	from { opacity: 0; transform: translateY(-12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hk-search-modal__form {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--cream);
	transition: background .15s;
}

.hk-search-modal__form:focus-within {
	background: var(--cream-deep);
}

.hk-search-modal__icon { color: var(--ink-mute); flex-shrink: 0; }

.hk-search-modal__input {
	flex: 1;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 17px;
	font-family: var(--font-body);
	color: var(--ink);
	outline: none !important;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
	-webkit-appearance: none;
	appearance: none;
}

.hk-search-modal__input:focus {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

.hk-search-modal__input::placeholder { color: var(--ink-mute); }

.hk-search-modal__esc {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--ink-mute);
	background: transparent;
	border: 0;
	padding: 4px 8px;
	border-radius: 6px;
	cursor: pointer;
}

.hk-search-modal__esc:hover { background: var(--cream); color: var(--ink); }

.hk-search-modal__body {
	padding: 20px 8px 8px;
	max-height: 60vh;
	overflow-y: auto;
}

.hk-search-modal__live { padding: 0 12px; }
.hk-search-modal__live[data-state="idle"] { display: none; }
.hk-search-modal__live[data-state="loading"],
.hk-search-modal__live[data-state="empty"],
.hk-search-modal__live[data-state="results"] { display: block; }

.hk-search-modal__msg {
	color: var(--ink-mute);
	font-size: 14px;
	margin: 4px 0 12px;
}

.hk-search-modal__msg strong { color: var(--ink); }

.hk-search-modal__section + .hk-search-modal__section { margin-top: 24px; }

.hk-search-modal__label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin: 0 0 12px;
	padding: 0 12px;
}

.hk-search-modal__label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	margin-bottom: 12px;
}

.hk-search-modal__label-row .hk-search-modal__label {
	margin: 0;
	padding: 0;
}

.hk-search-modal__clear {
	background: transparent;
	border: 0;
	color: var(--ink-mute);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	font-family: inherit;
}

.hk-search-modal__clear:hover { color: var(--coral); background: rgba(0,0,0,.03); }

.hk-search-modal__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 0 12px;
}

.hk-chip-suggest {
	background: var(--cream);
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s, color .15s;
	font-family: inherit;
}

.hk-chip-suggest:hover {
	background: var(--accent-soft);
	color: var(--accent-deep);
}

.hk-search-modal__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hk-search-modal__list li { margin: 0; }

.hk-search-modal__list a {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 10px 12px;
	border-radius: 14px;
	color: var(--ink);
	text-decoration: none;
	transition: background .15s;
}

.hk-search-modal__list a:hover { background: var(--cream); color: var(--ink); }

.hk-search-modal__thumb {
	width: 56px !important;
	height: 56px !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	display: block !important;
	margin: 0 !important;
	background: var(--accent-tint);
}

.hk-search-modal__thumb--placeholder {
	background: repeating-linear-gradient(135deg, var(--accent-soft) 0 8px, var(--accent-tint) 8px 16px);
}

.hk-search-modal__name {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
}

.hk-search-modal__cat {
	font-size: 12.5px;
	color: var(--ink-mute);
	margin-top: 2px;
}

.hk-search-modal__price {
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
	white-space: nowrap;
}

.hk-search-modal__price del { color: var(--ink-mute); font-weight: 400; font-size: 12.5px; margin-right: 4px; }
.hk-search-modal__price ins { background: none; text-decoration: none; }

body.hk-search-open { overflow: hidden !important; }

@media (max-width: 640px) {
	.hk-search-modal { padding: 24px 16px; }
	.hk-search-modal__panel { border-radius: 16px; }
	.hk-search-modal__input { font-size: 15px; }
	.hk-search-modal__list a { grid-template-columns: 48px 1fr auto; }
	.hk-search-modal__thumb { width: 48px !important; height: 48px !important; }
}

/* ---- Branded focus-visible ring (overrides Storefront purple) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--accent) !important;
	outline-offset: 2px !important;
	border-radius: inherit;
}
/* Hide default focus when not keyboard-driven */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
	outline: none !important;
}
