/* ==========================================================================
   Hipex theme
   ========================================================================== */

:root {
	--hx-ink: #111111;
	--hx-text: #2b2b2b;
	--hx-muted: #777777;
	--hx-logo-grey: #383838;
	--hx-accent: #f57c00;
	--hx-accent-dark: #d96b00;
	--hx-tile: #f3f3f1;
	--hx-line: #e7e7e5;
	--hx-bg: #ffffff;
	--hx-good: #1a7f37;
	--hx-radius: 6px;
	--hx-head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--hx-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--hx-bg);
	color: var(--hx-text);
	font-family: var(--hx-body);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.hx-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hx-accent); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--hx-ink); line-height: 1.15; margin: 0 0 .5em; }
.hx-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; background: #fff; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 2px; }

/* Buttons --------------------------------------------------------------- */
.hx-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--hx-ink); color: #fff; border: 1px solid var(--hx-ink);
	border-radius: var(--hx-radius); padding: 12px 26px;
	font-family: var(--hx-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	line-height: 1.2; transition: background .15s, color .15s, border-color .15s;
}
.hx-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--hx-accent); border-color: var(--hx-accent); color: #fff;
}
.woocommerce button.button:disabled, .woocommerce button.button.disabled { background: #999; border-color: #999; }
.hx-btn-light { background: #fff; color: var(--hx-ink); border-color: #fff; }
.hx-btn-outline { background: transparent; color: var(--hx-ink); }
.hx-btn-outline:hover { color: #fff; }

/* Announcement + header ------------------------------------------------- */
.hx-announce {
	background: var(--hx-ink); color: #fff; text-align: center;
	font-size: 12px; font-weight: 500; letter-spacing: .12em; padding: 9px 16px;
}
.hx-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--hx-line); transition: box-shadow .2s; }
.admin-bar .hx-header { top: 32px; }
.hx-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.hx-header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.hx-brand { flex-shrink: 0; }
.hx-logo img, .custom-logo { height: 42px; width: auto; }
.hx-nav { flex: 1; }
.hx-nav-head { display: none; }
.hx-nav { min-width: 0; }
.hx-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; }
.hx-menu a {
	display: block; padding: 8px 0; font-size: 12px; font-weight: 600; letter-spacing: .07em; white-space: nowrap;
	text-transform: uppercase; color: var(--hx-ink); position: relative;
}
.hx-menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--hx-accent); transform: scaleX(0); transition: transform .2s;
}
.hx-menu > li > a:hover::after, .hx-menu > .current-menu-item > a::after { transform: scaleX(1); }
.hx-menu li { position: relative; }
.hx-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 220px;
	background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 12px 30px rgba(0,0,0,.08);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.hx-menu li:hover > .sub-menu, .hx-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hx-menu .sub-menu a { padding: 8px 18px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; }

.hx-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hx-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
	background: none; border: 0; border-radius: 50%; color: var(--hx-ink);
}
.hx-icon-btn:hover { background: var(--hx-tile); color: var(--hx-ink); }
.hx-menu-toggle { display: none; }
.hx-cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: var(--hx-accent); color: #fff; font-size: 10.5px; font-weight: 700;
	display: grid; place-items: center;
}
.hx-cart-count.is-empty { display: none; }

.hx-search { border-top: 1px solid var(--hx-line); padding: 16px 0; background: #fff; }
.hx-search form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.hx-search input[type="search"], .woocommerce-product-search input[type="search"], .search-form input[type="search"] {
	flex: 1; height: 46px; padding: 0 16px; border: 1px solid #cfcfcf; border-radius: var(--hx-radius); font: inherit;
}
.hx-search button, .woocommerce-product-search button {
	background: var(--hx-ink); color: #fff; border: 0; border-radius: var(--hx-radius); padding: 0 22px;
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hx-nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 49; }

/* Hero slider ----------------------------------------------------------- */
.hx-hero { position: relative; overflow: hidden; background: var(--hx-tile); }
.hx-hero-track { position: relative; min-height: clamp(380px, 42vw, 580px); }
.hx-slide {
	position: absolute; inset: 0; background: var(--slide-bg); opacity: 0; visibility: hidden;
	transition: opacity .7s ease, visibility .7s; display: flex; align-items: center;
}
.hx-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hx-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-slide.has-image:not(.is-full)::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,0) 60%);
}
.hx-slide.has-image.is-dark:not(.is-full)::before { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.hx-slide-link { position: absolute; inset: 0; z-index: 2; }
.hx-slide-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hx-slide-copy { max-width: 540px; padding: 40px 0; }
.hx-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hx-accent); margin-bottom: 14px; }
.hx-slide h1, .hx-slide h2 {
	font-family: var(--hx-head); font-weight: 700; text-transform: uppercase;
	font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: .01em; margin-bottom: 16px;
}
.hx-slide p { font-size: 17px; margin: 0 0 28px; color: #444; }
.hx-slide.is-dark h1, .hx-slide.is-dark h2, .hx-slide.is-dark p { color: #fff; }
.hx-slide.is-dark .hx-eyebrow { color: #ffad5c; }
/* Background repeated here so mix-blend-mode can knock out the product photo's white background
   (.hx-slide-inner is its own stacking context). */
.hx-slide-product { height: clamp(300px, 36vw, 500px); background: var(--slide-bg); overflow: hidden; }
.hx-slide-product img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(.96); transition: transform 6s ease; }
.hx-slide.is-active .hx-slide-product img { transform: scale(1.04); }
.hx-slide.is-dark .hx-slide-product img { mix-blend-mode: normal; border-radius: 12px; max-height: 88%; }
/* 2 or 3 product photos side by side (e.g. the cigarette case slide): an upright line-up on a soft
   "shelf" shadow. Each photo is scaled to fit its column whatever its shape. */
.hx-slide-product.is-group {
	position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 3%;
	padding: 6% 4% 10%;
}
.hx-slide-product.is-group::after {
	content: ""; position: absolute; left: 10%; right: 10%; bottom: 7%; height: 6%;
	background: radial-gradient(closest-side, rgba(60, 40, 20, .22), transparent); pointer-events: none;
}
.hx-slide-product.is-group img {
	flex: 1 1 0; min-width: 0; width: auto; height: 82%; object-fit: contain; object-position: center bottom;
	transform: none; transition: transform .6s ease;
}
.hx-slide-product.is-group-3 .hx-pimg-2 { height: 100%; flex-grow: 1.3; }
.hx-slide.is-active .hx-slide-product.is-group img { transform: none; }
.hx-slide.is-active .hx-slide-product.is-group img:hover { transform: translateY(-3%); }

.hx-hero-nav {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85);
	display: grid; place-items: center; color: var(--hx-ink); box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.hx-hero-nav:hover { background: #fff; }
.hx-hero-nav.prev { left: 20px; }
.hx-hero-nav.next { right: 20px; }
.hx-dots { position: absolute; z-index: 3; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hx-dots button { width: 26px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(0,0,0,.2); transition: width .3s, background .3s; }
.hx-dots button.is-active { width: 44px; background: var(--hx-ink); }

/* Sections -------------------------------------------------------------- */
.hx-section { margin-top: 64px; }
.hx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hx-section-head h2 {
	font-family: var(--hx-head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
	font-size: clamp(26px, 3vw, 34px); margin: 0;
}
.hx-view-all { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* Category tiles */
.hx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hx-cat { display: flex; flex-direction: column; gap: 4px; }
.hx-cat-media {
	position: relative; display: block; aspect-ratio: 1; background: var(--hx-tile); border-radius: var(--hx-radius);
	overflow: hidden; margin-bottom: 8px;
}
.hx-cat-media img {
	position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; max-width: none;
	object-fit: contain; mix-blend-mode: multiply; transition: transform .4s;
}
.hx-cat:hover .hx-cat-media img { transform: scale(1.06); }
.hx-cat-name { font-size: 14px; font-weight: 600; color: var(--hx-ink); }
.hx-cat-count { font-size: 12px; color: var(--hx-muted); }

/* Collections */
.hx-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-collection { position: relative; display: block; aspect-ratio: 4/5; background: var(--hx-tile); border-radius: 10px; overflow: hidden; }
.hx-collection img {
	position: absolute; top: 8%; left: 10%; width: 80%; height: 62%; max-width: none;
	object-fit: contain; mix-blend-mode: multiply; transition: transform .5s;
}
.hx-collection:hover img { transform: scale(1.05); }
.hx-collection-copy {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff;
	background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.35) 70%, transparent);
	display: grid; gap: 2px;
}
.hx-collection-copy strong { font-family: var(--hx-head); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.hx-collection-copy small { font-size: 13px; opacity: .85; }
.hx-collection-copy em { font-style: normal; font-size: 13px; font-weight: 600; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.hx-collection-copy .hx-icon { width: 16px; height: 16px; }
.hx-collection:hover { color: #fff; }

/* Amazon strip */
.hx-amazon-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	border: 1px solid var(--hx-line); border-radius: 10px; padding: 28px 32px; background: #fffaf4;
}
.hx-amazon-strip h2 { font-family: var(--hx-head); text-transform: uppercase; font-size: 26px; margin: 0 0 4px; }
.hx-amazon-strip p { margin: 0; color: var(--hx-muted); }

/* Product grid + cards (WooCommerce markup) ----------------------------- */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; text-align: left;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
/* Photos are absolutely positioned inside fixed square boxes so any aspect ratio
   (tall, wide, small) is scaled down to fit and never spills out. */
.hx-card-media {
	position: relative; aspect-ratio: 1; background: var(--hx-tile); border-radius: var(--hx-radius);
	overflow: hidden; display: block; margin-bottom: 14px;
}
.woocommerce ul.products li.product .hx-card-media img {
	position: absolute; top: 8%; left: 8%; width: 84%; height: 84%; max-width: none;
	object-fit: contain; margin: 0; mix-blend-mode: multiply; transition: transform .4s;
}
.woocommerce ul.products li.product:hover .hx-card-media img { transform: scale(1.05); }
.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
	position: absolute; top: 10px; left: 10px; right: auto; margin: 0; min-width: 0; min-height: 0;
	padding: 4px 8px; border-radius: 4px; background: var(--hx-good); color: #fff;
	font-size: 11.5px; font-weight: 700; line-height: 1.3; z-index: 2;
}
.hx-tag {
	position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--hx-ink); color: #fff;
	font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
}
.hx-card-cat { display: block; font-size: 11.5px; color: var(--hx-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--hx-body); font-size: 14px; font-weight: 500; color: var(--hx-ink); line-height: 1.4;
	padding: 0; margin: 0 0 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .star-rating { font-size: 11px; margin: 0 0 6px; color: #f5a623; }
.woocommerce ul.products li.product .price {
	color: var(--hx-ink); font-size: 15px; font-weight: 700; margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
}
.woocommerce ul.products li.product .price del { color: var(--hx-muted); font-weight: 400; font-size: 13px; opacity: 1; order: 2; }
.woocommerce ul.products li.product .price ins { text-decoration: none; order: 1; }
.woocommerce ul.products li.product .button {
	margin-top: 12px; width: 100%; padding: 10px 14px; font-size: 12px;
	background: #fff; color: var(--hx-ink); border-color: var(--hx-ink);
}
.woocommerce ul.products li.product .button:hover { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }
.woocommerce ul.products li.product .button.loading { opacity: .6; }
.woocommerce ul.products li.product .button.added::after { margin-left: 6px; }
.woocommerce ul.products li.product .added_to_cart { font-size: 12px; font-weight: 600; text-align: center; padding-top: 8px; text-decoration: underline; }

/* Horizontal scrolling rows */
.hx-row { position: relative; }
.hx-row .woocommerce ul.products {
	display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 60px) / 4);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.hx-row .woocommerce ul.products::-webkit-scrollbar { display: none; }
.hx-row ul.products li.product { scroll-snap-align: start; }
.hx-row-nav {
	position: absolute; top: 34%; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--hx-line); background: #fff; color: var(--hx-ink); display: grid; place-items: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: opacity .2s;
}
.hx-row-nav.prev { left: -18px; }
.hx-row-nav.next { right: -18px; }
.hx-row.at-start .hx-row-nav.prev, .hx-row.at-end .hx-row-nav.next { opacity: 0; pointer-events: none; }

/* Shop / category archive ---------------------------------------------- */
.hx-archive-head { background: var(--hx-tile); padding: 28px 0 22px; margin-bottom: 28px; }
.hx-archive-head h1 { font-family: var(--hx-head); text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); margin: 6px 0 8px; }
.hx-archive-desc { max-width: 760px; color: #555; }
.hx-archive-desc p { margin: 0 0 8px; }
.woocommerce .woocommerce-breadcrumb { font-size: 12.5px; color: var(--hx-muted); margin: 0; }
.woocommerce .woocommerce-breadcrumb a { color: var(--hx-muted); }
.woocommerce .woocommerce-breadcrumb .sep { margin: 0 8px; }
.hx-pills { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; scrollbar-width: none; }
.hx-pills::-webkit-scrollbar { display: none; }
.hx-pills a {
	flex-shrink: 0; border: 1px solid #cfcfcf; background: #fff; border-radius: 4px; padding: 7px 14px;
	font-size: 13px; font-weight: 500; color: var(--hx-ink);
}
.hx-pills a:hover, .hx-pills a.is-active { background: var(--hx-ink); border-color: var(--hx-ink); color: #fff; }
.hx-archive .woocommerce-result-count { float: left; margin: 8px 0 24px; color: var(--hx-muted); font-size: 13px; }
.hx-archive .woocommerce-ordering { float: right; margin: 0 0 24px; }
.hx-archive .woocommerce-ordering select { border: 1px solid #cfcfcf; border-radius: var(--hx-radius); padding: 8px 12px; font: inherit; font-size: 13px; background: #fff; }
.hx-archive ul.products { clear: both; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--hx-line); border-radius: var(--hx-radius);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }

/* Single product -------------------------------------------------------- */
.hx-product-page { padding-top: 20px; }
.hx-product-page > .woocommerce-breadcrumb { margin-bottom: 20px !important; }
.woocommerce div.product {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 56px; position: relative;
}
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 0 40px; }
.woocommerce div.product div.images { grid-column: 1; }
/* Not sticky: a sticky summary inside the product grid floats over the tabs and related products. */
.woocommerce div.product div.summary { grid-column: 2; align-self: start; }
.woocommerce div.product > span.onsale { position: absolute; top: 14px; left: 14px; grid-column: 1; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport { background: var(--hx-tile); border-radius: 10px; overflow: hidden; }
/* Square, padded image box so photos are never cropped at the edges. */
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: var(--hx-tile); padding: 7%; }
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: block; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
	width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply;
}
.woocommerce div.product div.images .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 76px !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img {
	aspect-ratio: 1 / 1; object-fit: contain; padding: 4px; cursor: pointer;
	border-radius: var(--hx-radius); background: var(--hx-tile); opacity: .55; border: 1px solid var(--hx-line);
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--hx-ink); }
.woocommerce div.product .woocommerce-product-gallery__trigger { top: 14px; right: 14px; }

.woocommerce div.product .product_title {
	font-family: var(--hx-body); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.3; margin-bottom: 12px;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 12px; font-size: 13px; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: #f5a623; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--hx-ink); font-size: 28px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 4px;
}
.woocommerce div.product p.price del { font-size: 17px; font-weight: 400; color: var(--hx-muted); opacity: 1; order: 2; }
.woocommerce div.product p.price ins { text-decoration: none; order: 1; }
.hx-save { margin: 0 0 18px; font-size: 14px; color: var(--hx-good); }
.hx-save span { display: block; color: var(--hx-muted); font-size: 12px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #444; border-top: 1px solid var(--hx-line); padding-top: 16px; margin-bottom: 16px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 18px; margin: 0; }
.woocommerce div.product .woocommerce-product-details__short-description li { margin-bottom: 6px; }
.hx-fits { display: flex; flex-direction: column; gap: 2px; background: #fff5ea; border-left: 3px solid var(--hx-accent); padding: 10px 14px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.hx-fits span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--hx-accent-dark); font-weight: 600; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 0 0 22px; flex-wrap: wrap; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 72px; height: 50px; border: 1px solid #cfcfcf; border-radius: var(--hx-radius); font: inherit; font-weight: 600; text-align: center; }
.woocommerce div.product form.cart .button { float: none; flex: 1; min-height: 50px; font-size: 14px; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .variations select { border: 1px solid #cfcfcf; border-radius: var(--hx-radius); padding: 10px; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.hx-trust { list-style: none; margin: 0 0 18px; padding: 16px; border: 1px solid var(--hx-line); border-radius: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hx-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hx-trust .hx-icon { color: var(--hx-accent); flex-shrink: 0; }
.hx-amazon { font-size: 13px; color: var(--hx-muted); }
.hx-amazon a { color: var(--hx-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product .product_meta { font-size: 12.5px; color: var(--hx-muted); border-top: 1px solid var(--hx-line); padding-top: 14px; display: grid; gap: 4px; }

.woocommerce div.product .woocommerce-tabs { margin-top: 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--hx-line); display: flex; gap: 28px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted); white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hx-ink); box-shadow: inset 0 -2px 0 var(--hx-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; margin-bottom: 40px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 20px; }
.woocommerce table.shop_attributes { border-top: 1px solid var(--hx-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--hx-line); padding: 12px; font-style: normal; }
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th { background: var(--hx-tile); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2, .woocommerce .cross-sells > h2 {
	font-family: var(--hx-head); text-transform: uppercase; font-size: 30px; margin: 10px 0 22px;
}
.woocommerce div.product section.related, .woocommerce div.product section.upsells { margin-bottom: 20px; }

/* Notices, forms, cart & checkout -------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0; border-left: 3px solid var(--hx-accent); background: #fff7ef; border-radius: 4px; font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--hx-accent); }
.woocommerce-message .button { padding: 8px 14px !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	border: 1px solid #cfcfcf; border-radius: var(--hx-radius); padding: 10px 12px; min-height: 46px; font: inherit;
}
.hx-ship-meter { background: var(--hx-tile); border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; font-size: 14px; }
.hx-ship-meter p { margin: 0 0 8px; }
.hx-bar { display: block; height: 6px; background: #ddd; border-radius: 99px; overflow: hidden; }
.hx-bar i { display: block; height: 100%; background: var(--hx-good); border-radius: 99px; }
.woocommerce table.shop_table { border-radius: 8px; border-color: var(--hx-line); }
.woocommerce-cart table.cart img { width: 72px; background: var(--hx-tile); border-radius: var(--hx-radius); }
.wc-block-components-product-name { color: var(--hx-ink); font-weight: 600; }

/* Pages ---------------------------------------------------------------- */
.hx-page { padding-top: 40px; padding-bottom: 20px; }
.hx-narrow { max-width: 820px; }
.hx-page-title { font-family: var(--hx-head); text-transform: uppercase; font-size: clamp(32px, 4vw, 46px); margin-bottom: 24px; }
.hx-content { line-height: 1.7; }
.hx-content a { color: var(--hx-accent-dark); text-decoration: underline; }
.hx-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.hx-post-card h2 { font-size: 20px; margin-top: 12px; }
.hx-post-thumb img { border-radius: 8px; }
.hx-meta { color: var(--hx-muted); font-size: 13px; }
.hx-404 { text-align: center; max-width: 640px; padding-top: 80px; }
.hx-404 form { display: flex; gap: 10px; margin: 24px 0; }

/* Info / policy pages (page-info.php) ----------------------------------- */
.hx-info { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 24px; max-width: 1120px; }
.hx-info-side { position: sticky; top: 110px; align-self: start; }
.hx-info-side .hx-page-title { margin-bottom: 10px; }
.hx-info-side .hx-meta { line-height: 1.6; margin: 0 0 28px; }
.hx-info-nav { display: grid; border-top: 1px solid var(--hx-line); }
.hx-info-nav a { padding: 12px 0; border-bottom: 1px solid var(--hx-line); font-size: 14px; font-weight: 500; color: var(--hx-muted); }
.hx-info-nav a:hover, .hx-info-nav a.is-active { color: var(--hx-ink); }
.hx-info-nav a.is-active { font-weight: 600; box-shadow: inset 3px 0 0 var(--hx-accent); padding-left: 12px; }
.hx-info-body { font-size: 15.5px; line-height: 1.8; color: #333; }
.hx-info-body h2 { font-family: var(--hx-body); font-size: 18px; font-weight: 700; margin: 36px 0 10px; }
.hx-info-body h3 { font-size: 16px; margin: 0 0 6px; }
.hx-info-body p { margin: 0 0 16px; }
.hx-info-body ul { padding-left: 20px; margin: 0 0 18px; }
.hx-info-body li { margin-bottom: 8px; }
.hx-info-body a { color: var(--hx-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hx-accent); }
.hx-info-body a:hover { color: var(--hx-accent-dark); }
.hx-lead { font-size: 18px; color: var(--hx-ink); }
.hx-points { list-style: none; padding: 0 !important; display: grid; gap: 4px; }
.hx-points li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--hx-line); margin: 0 !important; }
.hx-points li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--hx-accent); }
.hx-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.hx-contact-card { background: var(--hx-tile); border-radius: 10px; padding: 22px; }
.hx-contact-card p { font-size: 14.5px; line-height: 1.6; }
.hx-content a.hx-btn, .hx-info-body a.hx-btn { color: #fff; text-decoration: none; }
.hx-btn-wa { background: #25d366; border-color: #25d366; }
.hx-btn-wa:hover { background: #1da851; border-color: #1da851; }
.hx-btn-wa .hx-icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
	.hx-info { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 32px; }
	.hx-info-side { position: static; min-width: 0; }
	.hx-info-nav { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; margin-bottom: 20px; }
	.hx-info-nav a, .hx-info-nav a.is-active { flex-shrink: 0; border: 1px solid #cfcfcf; border-radius: 4px; padding: 7px 12px; font-size: 13px; box-shadow: none; }
	.hx-info-nav a.is-active { background: var(--hx-ink); color: #fff; border-color: var(--hx-ink); }
	.hx-contact-cards { grid-template-columns: 1fr; }
}

/* USP strip + footer -------------------------------------------------- */
.hx-usp { margin-top: 72px; border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); }
.hx-usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hx-usp-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 26px 20px; }
.hx-usp-grid > div + div { border-left: 1px solid var(--hx-line); }
.hx-usp .hx-icon { grid-row: span 2; width: 30px; height: 30px; color: var(--hx-accent); }
.hx-usp strong { font-size: 14px; color: var(--hx-ink); }
.hx-usp span { font-size: 12.5px; color: var(--hx-muted); }

.hx-footer { background: var(--hx-ink); color: #b9b9b9; padding: 56px 0 0; font-size: 14px; }
.hx-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.hx-footer .hx-logo img, .hx-footer .custom-logo { filter: brightness(0) invert(1); height: 38px; margin-bottom: 16px; }
.hx-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.hx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-footer a:hover { color: #fff; }
.hx-footer-about p { max-width: 380px; }
.hx-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hx-social a { border: 1px solid #444; border-radius: 4px; padding: 6px 12px; font-size: 12.5px; }
.hx-social a:hover { border-color: var(--hx-accent); color: var(--hx-accent); }
.hx-footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 48px; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8a8a8a; }
.hx-whatsapp {
	position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.hx-whatsapp:hover { color: #fff; transform: scale(1.06); }
.hx-whatsapp .hx-icon { width: 28px; height: 28px; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
	.hx-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 961px) {
	/* room for the slider arrows */
	.hx-slide-inner { padding-left: 72px; padding-right: 72px; }
}
/* Drawer menu below 1260px */
@media (max-width: 1260px) {
	.hx-header-inner { height: 62px; gap: 8px; }
	.hx-menu-toggle { display: inline-grid; margin-left: -8px; }
	.hx-brand { flex: 1; }
	.hx-logo img, .custom-logo { height: 34px; }
	.hx-nav {
		position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); z-index: 50; background: #fff;
		transform: translateX(-100%); transition: transform .28s ease; overflow-y: auto; padding: 0 20px 30px;
	}
	.hx-nav.is-open { transform: none; }
	.hx-nav-head { display: flex; align-items: center; justify-content: space-between; height: 62px; border-bottom: 1px solid var(--hx-line); margin-bottom: 8px; }
	.hx-menu { flex-direction: column; gap: 0; }
	.hx-menu a { padding: 14px 0; border-bottom: 1px solid var(--hx-line); font-size: 13.5px; }
	.hx-menu > li > a::after { display: none; }
	.hx-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
	.hx-menu li.is-open > .sub-menu { display: block; }
}
@media (max-width: 960px) {
	.hx-slide-inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
	.hx-slide-copy { margin: 0 auto; padding: 36px 0 0; order: 1; }
	.hx-slide-product { order: 2; height: 230px; }
	.hx-hero-track { min-height: 560px; }
	.hx-slide.has-image:not(.is-full) .hx-slide-copy { padding-bottom: 60px; }
	.hx-slide.has-image:not(.is-full)::before { background: rgba(255,255,255,.55); }
	.hx-slide.has-image.is-dark:not(.is-full)::before { background: rgba(0,0,0,.45); }
	.hx-hero-nav { display: none; }
	.woocommerce ul.products, .woocommerce-page ul.products,
	.woocommerce ul.products.columns-3, .woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hx-row .woocommerce ul.products { grid-template-columns: none; grid-auto-columns: calc((100% - 40px) / 3); }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { grid-column: 1; position: static; }
	.woocommerce div.product div.images { margin-bottom: 24px; }
	.hx-collections { grid-template-columns: repeat(3, 80%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.hx-collection { scroll-snap-align: start; }
	.hx-usp-grid { grid-template-columns: 1fr 1fr; }
	.hx-usp-grid > div:nth-child(3) { border-left: 0; }
	.hx-usp-grid > div:nth-child(n+3) { border-top: 1px solid var(--hx-line); }
	.hx-footer-grid { grid-template-columns: 1fr 1fr; }
	.hx-footer-about { grid-column: 1 / -1; }
	.hx-row-nav { display: none; }
}
@media (max-width: 782px) {
	.admin-bar .hx-header { top: 46px; }
}
@media (max-width: 600px) {
	body { font-size: 14px; }
	.hx-wrap { padding: 0 16px; }
	.hx-announce { font-size: 10.5px; letter-spacing: .08em; }
	.hx-section { margin-top: 44px; }
	.hx-cats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.hx-cat-name { font-size: 12.5px; }
	.hx-cat-count { display: none; }
	.woocommerce ul.products, .woocommerce-page ul.products,
	.woocommerce ul.products.columns-3, .woocommerce ul.products.columns-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.hx-row .woocommerce ul.products { grid-template-columns: none; grid-auto-columns: 46%; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	.woocommerce ul.products li.product .button { font-size: 11px; padding: 9px 8px; letter-spacing: .04em; }
	.hx-trust { grid-template-columns: 1fr; }
	.hx-archive .woocommerce-result-count, .hx-archive .woocommerce-ordering { float: none; margin-bottom: 14px; }
	.hx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.hx-usp-grid { grid-template-columns: 1fr; }
	.hx-usp-grid > div + div { border-left: 0; border-top: 1px solid var(--hx-line); }
	.hx-amazon-strip { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
