/* ==========================================================================
   WXQCC — WordPress / WooCommerce / Wishlist glue styles
   Maps default WP + WC markup onto the approved mockup design language.
   All colors come from theme.css CSS variables. Loaded last.
   ========================================================================== */

/* ---------- A11y helpers ---------- */
.screen-reader-text {
	position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px;
	overflow: hidden; white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; padding: 10px 16px; background: var(--ink-2); color: #fff; border-radius: var(--radius); }

/* ---------- Nav menus: WP emits bare <li> (items_wrap '%3$s'), so strip the
   default list markers and keep the mockup's link layout intact. ---------- */
.main-nav ul, .m-nav ul, .f-col ul,
.main-nav li, .m-nav li, .f-col li { list-style: none; margin: 0; padding: 0; }
.main-nav li { display: flex; }
.main-nav li .nav-link { display: flex; align-items: center; }
/* Each <a> is now the last child of its <li>, so re-assert the mobile dividers
   that .m-nav a:last-child would otherwise remove from every item. */
.m-nav li:not(:last-child) a { border-bottom: 1px solid var(--line); }
.m-nav li:last-child a { border-bottom: 0; }
.f-col li a { display: block; }

/* ---------- Product card: media link wrapper ---------- */
.p-media { position: relative; }
.p-media-link { display: block; }
.p-media .p-img { width: 100%; }
.p-heart, .wxqcc-heart { z-index: 3; }
.wxqcc-heart { position: absolute; top: 12px; right: 12px; display: flex; }
.wxqcc-heart .p-heart { position: static; box-shadow: var(--shadow); }

/* ---------- Shop toolbar (WC result count + ordering) ---------- */
.toolbar .woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--muted); float: none; }
.toolbar .woocommerce-ordering { margin: 0; float: none; }
.toolbar .woocommerce-ordering select {
	padding: 9px 14px; border-radius: var(--radius); border: 1.5px solid var(--line-2);
	background: var(--surface); outline: none; cursor: pointer; font-size: 13.5px; color: var(--ink);
}
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

/* ---------- Sidebar filter list ---------- */
.filter-list { display: flex; flex-direction: column; }
.filter-list .f-check a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.filter-list .f-check a span:last-child { color: var(--muted); font-size: 12.5px; }
.filter-list .f-check.active > a, .filter-list .f-check.active a span:first-child { color: var(--accent-2); font-weight: 600; }

/* ---------- WooCommerce buttons → theme buttons ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button,
.wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
	font-family: var(--body-font); font-size: 11.5px; font-weight: 500; letter-spacing: .18em;
	text-transform: uppercase; background: var(--btn-bg); color: var(--btn-ink); cursor: pointer;
	transition: transform .25s ease, background .25s ease, color .25s ease; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--ink-2); color: #fff; transform: translateY(-2px);
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background: var(--btn-bg); color: var(--btn-ink); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--ink-2); color: #fff; }

/* ---------- Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.woocommerce-no-products-found {
	background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
	border-radius: var(--radius); padding: 16px 22px; color: var(--ink); margin: 0 0 26px;
	list-style: none; font-size: 14px;
}
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-message a.button, .woocommerce-info a.button { margin-left: auto; }
.woocommerce-notices-wrapper:empty { display: none; }

/* ==========================================================================
   Single product (PDP)
   ========================================================================== */
.pdp .gallery { position: sticky; top: 96px; }
.pdp .woocommerce-product-gallery { position: relative; }
.pdp .woocommerce-product-gallery__wrapper { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp .woocommerce-product-gallery__image, .pdp .woocommerce-product-gallery__image > a { display: block; }
.pdp .woocommerce-product-gallery__image img {
	width: 100%; aspect-ratio: 1/1.05; object-fit: cover; border-radius: var(--radius-lg);
	border: 1px solid var(--line); background: var(--bg-2);
}
.pdp .flex-control-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 12px 0 0; padding: 0; }
.pdp .flex-control-thumbs li { list-style: none; }
.pdp .flex-control-thumbs img {
	width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius);
	border: 2px solid var(--line); opacity: .75; cursor: pointer; transition: opacity .2s, border-color .2s;
}
.pdp .flex-control-thumbs img:hover, .pdp .flex-control-thumbs img.flex-active { border-color: var(--accent-2); opacity: 1; }
.pdp .woocommerce-product-gallery__trigger { display: none; }

/* Summary */
.pdp .info .product_title { font-family: var(--head-font); font-size: clamp(34px,4.4vw,50px); font-weight: 600; line-height: 1.08; margin: 12px 0 16px; color: var(--ink-2); }
.pdp .info .woocommerce-product-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.pdp .info .star-rating { color: var(--star); font-size: 14px; }
.pdp .info .woocommerce-review-link { color: var(--accent-2); font-weight: 600; }
.pdp .info .price { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; color: var(--ink-2); }
.pdp .info .price .woocommerce-Price-amount { font-family: var(--head-font); font-size: 32px; font-weight: 600; color: var(--ink-2); }
.pdp .info .price del .woocommerce-Price-amount { font-family: var(--body-font); font-size: 17px; color: var(--muted); }
.pdp .info .price ins { text-decoration: none; }
.pdp .info .woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 26px; }
.pdp .info .woocommerce-product-details__short-description p { margin: 0 0 1em; }
.pdp .info .stock { font-weight: 600; }
.pdp .info .stock.in-stock { color: #3c9a5a; }

/* Cart form / qty / add-to-cart */
.pdp form.cart { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.pdp form.cart.variations_form { display: block; }
.pdp form.cart .quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pdp form.cart .quantity .qty { width: 52px; height: 48px; border: 0; text-align: center; font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.pdp form.cart .quantity .qty::-webkit-outer-spin-button, .pdp form.cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp form.cart .single_add_to_cart_button { flex: 1; min-width: 180px; padding: 16px 28px; }
/* Variable products put qty / add-to-cart / wishlist inside .variations_button,
   which is a plain block — the block-level .heart-big then wraps to its own line.
   Make it a flex row so the wishlist button stays inline with Add to cart. */
.pdp .woocommerce-variation-add-to-cart.variations_button { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pdp .variations_button .single_add_to_cart_button { flex: 1; min-width: 180px; }

/* Variation table */
.pdp table.variations { width: 100%; border: 0; margin: 0 0 18px; border-collapse: collapse; }
.pdp table.variations td, .pdp table.variations th { padding: 8px 0; border: 0; vertical-align: middle; }
.pdp table.variations label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pdp table.variations select { padding: 9px 14px; border-radius: var(--radius); border: 1.5px solid var(--line-2); background: var(--surface); }
.pdp .woocommerce-variation-price { margin-bottom: 16px; }
.pdp .woocommerce-variation-availability { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pdp .reset_variations { font-size: 12px; color: var(--accent-2); margin-left: 8px; }

/* Product meta */
.pdp .product_meta { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 8px; font-size: 13.5px; color: var(--muted); }
.pdp .product_meta > span { display: block; padding: 4px 0; }
.pdp .product_meta a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.pdp .product_meta a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* WCBoost variation swatches */
.pdp .wcboost-variation-swatches, .wcboost-variation-swatches { margin-bottom: 18px; }
.wcboost-variation-swatches .wcboost-variation-swatches__item, .wcboost-variation-swatches__wrapper label {
	border-radius: var(--radius); border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.wcboost-variation-swatches__item.is-selected, .wcboost-variation-swatches__item.selected,
.wcboost-variation-swatches__item:hover { border-color: var(--accent-2) !important; box-shadow: 0 0 0 2px var(--ring); }

/* pd-extra (wishlist button placement) */
.pd-extra:empty { display: none; }
.pd-extra { margin-bottom: 20px; }

/* Tabs */
.pdp-tabs { padding: 20px 24px 60px; }
.woocommerce-tabs.wc-tabs-wrapper { border-top: 1px solid var(--line); padding-top: 8px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
	display: block; padding: 16px 6px; margin-right: 22px; font-family: var(--head-font); font-size: 17px;
	font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.woocommerce-tabs ul.tabs li a:hover { color: var(--accent-2); }
.woocommerce-tabs ul.tabs li.active a { color: var(--accent-2); border-bottom-color: var(--accent); }
.woocommerce-tabs .panel { margin: 0; color: var(--muted); font-size: 14.5px; }
.woocommerce-tabs .panel h2 { font-family: var(--head-font); color: var(--ink-2); font-size: 22px; }

/* Reviews inside tabs */
.woocommerce-tabs #reviews .woocommerce-Reviews-title { font-size: 20px; }
.woocommerce-tabs #reviews ol.commentlist { padding: 0; }
.woocommerce-tabs #reviews ol.commentlist li { margin-bottom: 22px; }
.woocommerce-tabs #reviews .comment-text { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.woocommerce-tabs #review_form_wrapper { margin-top: 30px; }
.woocommerce-tabs .comment-form input[type=text], .woocommerce-tabs .comment-form input[type=email],
.woocommerce-tabs .comment-form textarea, .comment-form input[type=text], .comment-form input[type=email],
.comment-form input[type=url], .comment-form textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid var(--line-2);
	background: var(--surface); font-family: var(--body-font); font-size: 14px; color: var(--ink); outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.woocommerce-tabs .comment-form input:focus, .comment-form textarea:focus, .comment-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }

/* ==========================================================================
   Cart page
   ========================================================================== */
.page-body.wc-page { padding: 48px 24px 80px; }
.woocommerce-cart .cart-empty, .woocommerce .cart-empty { font-size: 16px; color: var(--muted); text-align: center; padding: 40px 0; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce table.shop_table th { font-family: var(--head-font); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.woocommerce table.shop_table img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); }
.woocommerce table.shop_table .product-name a { font-family: var(--head-font); font-size: 16px; color: var(--ink-2); }
.woocommerce table.shop_table .product-remove a.remove { color: var(--sale) !important; font-size: 20px; line-height: 1; }
.woocommerce table.shop_table .quantity .qty { width: 56px; height: 42px; text-align: center; border: 1.5px solid var(--line-2); border-radius: var(--radius); }
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals { width: 100%; margin-top: 34px; }
.woocommerce .cart-collaterals .cart_totals { width: 100%; max-width: 420px; float: right; }
.cart_totals h2 { font-family: var(--head-font); font-size: 22px; color: var(--ink-2); }
.cart_totals table.shop_table td, .cart_totals table.shop_table th { border: 0; padding: 10px 0; }
.cart_totals .order-total .woocommerce-Price-amount { font-size: 22px; font-weight: 700; color: var(--ink-2); }
.wc-proceed-to-checkout { padding-top: 18px; }
.wc-proceed-to-checkout a.checkout-button { width: 100%; }
.woocommerce .cart .coupon { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.woocommerce .cart .coupon input#coupon_code { padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); min-width: 200px; }
.actions .button { margin-left: 6px; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout h3#order_review_heading { font-family: var(--head-font); font-size: 24px; color: var(--ink-2); margin-bottom: 18px; }
.woocommerce form .form-row { padding: 0 0 16px; margin: 0; }
.woocommerce form .form-row label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 6px; }
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row .select2-container .select2-selection--single {
	width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink); outline: none; height: auto;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.select2-container--default .select2-selection--single { height: 46px; border-radius: var(--radius); border-color: var(--line-2); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
#order_review { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
#order_review table.shop_table { border: 0; background: none; }
#order_review table.shop_table th, #order_review table.shop_table td { background: none; border-color: var(--line); }
.woocommerce-checkout-payment ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 18px; }
.woocommerce-checkout-payment .place-order .button { width: 100%; }

/* ==========================================================================
   My Account
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 12px 18px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { color: var(--accent-2); background: var(--soft); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { color: var(--accent-2); background: var(--soft); border-bottom: 2px solid var(--accent); }
.woocommerce-account .woocommerce-MyAccount-content { padding-top: 10px; color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-content h2, .woocommerce-account .woocommerce-MyAccount-content h3 { font-family: var(--head-font); color: var(--ink-2); }
.woocommerce-account .woocommerce table.my_account_orders td, .woocommerce-account .woocommerce table.my_account_orders th { padding: 12px; }
@media (min-width: 992px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { width: 240px; float: left; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); gap: 2px; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul li a { border-radius: var(--radius) 0 0 var(--radius); }
	.woocommerce-account .woocommerce-MyAccount-content { width: calc(100% - 280px); float: right; }
	.woocommerce-account .woocommerce::after { content: ""; display: block; clear: both; }
}

/* ==========================================================================
   Wishlist (WCBoost / YITH fallback styling)
   ========================================================================== */
.wishlist-table .product-thumbnail img, table.wishlist_table img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius); }
/* WCBoost renders the button as an <a>; strip any residual plugin/WC button
   chrome so the mockup's .p-heart / .heart-big geometry from style.css wins. */
a.p-heart, a.heart-big,
.p-heart.wcboost-wishlist-button, .heart-big.wcboost-wishlist-button,
.p-heart.button, .heart-big.button, .p-heart.wp-element-button, .heart-big.wp-element-button {
	background: transparent; box-shadow: none; text-decoration: none; padding-inline: 0;
	font-weight: inherit; letter-spacing: normal; text-transform: none; min-width: 0;
	color: var(--ink-2);
}
.wxqcc-heart .wcboost-wishlist-button, .wxqcc-heart a.wcboost-wishlist-btn { display: flex; }
.wxqcc-heart .p-heart { position: static; width: 36px; height: 36px; }
.heart-big { width: 54px; height: 54px; flex: 0 0 auto; }
.p-heart svg, .heart-big svg { pointer-events: none; }
/* "added to wishlist" state — WCBoost toggles the .added class via AJAX. */
.p-heart.added svg, .heart-big.added svg,
.p-heart.active svg, .heart-big.active svg { fill: #e2543e; color: #e2543e; }
.p-heart.added, .heart-big.added { color: #e2543e; border-color: #e2543e; }

/* ==========================================================================
   Blog / archive / single post
   ========================================================================== */
.blog-layout, .search-layout { padding: 48px 24px 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 46px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-media { display: block; overflow: hidden; }
.blog-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-body { padding: 22px 24px 26px; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.blog-meta a:hover { color: var(--accent-2); }
.blog-meta .sep { opacity: .6; }
.blog-title { font-family: var(--head-font); font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0 0 10px; }
.blog-title a { color: var(--ink-2); transition: color .2s; }
.blog-title a:hover { color: var(--accent-2); }
.blog-excerpt { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.blog-more { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.no-results { color: var(--muted); text-align: center; padding: 60px 0; font-size: 16px; }

.container.narrow { max-width: 820px; padding: 48px 24px 80px; }
.single-post .post-head { margin-bottom: 26px; }
.single-post .post-title { font-family: var(--head-font); font-size: clamp(32px,4.6vw,50px); font-weight: 600; line-height: 1.1; color: var(--ink-2); margin: 12px 0 0; }
.single-post .post-thumb { margin: 0 0 34px; border-radius: var(--radius-lg); overflow: hidden; }
.single-post .post-thumb img { width: 100%; }
.post-tags { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 34px; font-size: 13.5px; color: var(--muted); }
.post-tags a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.post-nav a { color: var(--accent-2); font-weight: 600; }

/* Prose content */
.prose { color: var(--ink); font-size: 15.5px; line-height: 1.85; }
.prose h2, .prose h3, .prose h4 { font-family: var(--head-font); color: var(--ink-2); margin: 1.4em 0 .5em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose a { color: var(--accent-2); border-bottom: 1px solid var(--ring); }
.prose img { border-radius: var(--radius); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 1.4em 0; color: var(--muted); font-style: italic; }
.page-body { padding: 48px 24px 80px; }
.page-hero-img { margin-bottom: 30px; border-radius: var(--radius-lg); overflow: hidden; }
.page-hero-img img { width: 100%; }

/* Comments */
.comments-area { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-family: var(--head-font); font-size: 24px; color: var(--ink-2); }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author img.avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-metadata { font-size: 12px; color: var(--muted); }
.comment-metadata a { color: var(--muted); }
.comment-form .form-submit { margin-top: 16px; }

/* ==========================================================================
   404 / search empty
   ========================================================================== */
.error-sec { padding-top: 40px; }
.error-box { text-align: center; max-width: 640px; margin: 0 auto; }
.error-code { font-family: var(--head-font); font-size: clamp(80px,16vw,150px); font-weight: 700; line-height: 1; color: var(--accent); }
.error-msg { color: var(--muted); font-size: 16px; margin: 10px 0 26px; }
.error-box .search-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.error-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.search-empty { text-align: center; }
.search-empty .search-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.search-form .search-field { flex: 1; min-width: 240px; padding: 14px 18px; border-radius: var(--radius); border: 1.5px solid var(--line-2); background: var(--surface); outline: none; }
.search-form .search-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }

/* ==========================================================================
   Search overlay + toast
   ========================================================================== */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(26,26,26,.72); display: flex; align-items: flex-start; justify-content: center; padding: 18vh 24px 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay-in { position: relative; width: 100%; max-width: 680px; background: var(--surface); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); transform: translateY(-16px); transition: transform .3s; }
.search-overlay.open .search-overlay-in { transform: none; }
.search-close { position: absolute; top: 10px; right: 16px; font-size: 30px; line-height: 1; color: var(--muted); }
.search-close:hover { color: var(--ink-2); }
.search-overlay-form { display: flex; gap: 10px; }
.search-overlay-form input { flex: 1; padding: 15px 18px; border-radius: var(--radius); border: 1.5px solid var(--line-2); outline: none; font-size: 15px; }
.search-overlay-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.wxqcc-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%,20px); z-index: 300; background: var(--ink-2); color: #fff; padding: 13px 24px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.wxqcc-toast.show { opacity: 1; transform: translate(-50%,0); }

/* ==========================================================================
   About / Contact static pages
   ========================================================================== */
.prose .lead { font-size: 19px; line-height: 1.7; color: var(--muted); font-family: var(--font-serif, 'Cormorant Garamond', serif); }
.prose h2 { margin: 34px 0 12px; }
.ab-hero { margin: 0 0 26px; border-radius: var(--radius-lg); overflow: hidden; }
.ab-hero img { width: 100%; height: 380px; object-fit: cover; display: block; }
.ab-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 18px 0 8px; }
.ab-grid figure { margin: 0; }
.ab-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); display: block; }
.ab-grid figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ct-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 22px 0; }
.ct-card { border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.ct-card h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ct-card p { margin: 0; font-size: 17px; }
.ct-form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-top: 14px; }
.ct-form .ct-row { display: flex; gap: 14px; }
.ct-form input, .ct-form textarea { flex: 1; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--line-2); background: var(--surface); outline: none; font: inherit; }
.ct-form input:focus, .ct-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.ct-form .btn { align-self: flex-start; cursor: pointer; }
.ct-form .ct-submit { box-shadow: var(--shadow); }
.ct-form .ct-submit svg { transition: transform .25s ease; }
.ct-form .ct-submit:hover { box-shadow: var(--shadow-lg); }
.ct-form .ct-submit:hover svg { transform: translateX(4px); }
.ct-form .ct-submit:active { transform: translateY(0) scale(.98); box-shadow: var(--shadow); }
.ct-form .ct-submit:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.ct-notice { padding: 14px 18px; border-radius: var(--radius); margin: 6px 0 18px; font-size: 15px; border: 1.5px solid var(--line-2); }
.ct-notice.ok { border-color: #2f9e6b; background: rgba(47,158,107,.08); color: #1c6b48; }
.ct-notice.err { border-color: #e2543e; background: rgba(226,84,62,.08); color: #a3331f; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
	.blog-grid { grid-template-columns: repeat(2,1fr); }
	.pdp .gallery { position: static; }
	.ab-grid { grid-template-columns: repeat(2,1fr); }
	.ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.blog-grid { grid-template-columns: 1fr; gap: 22px; }
	.pdp form.cart .single_add_to_cart_button { min-width: 100%; }
	.woocommerce .cart-collaterals .cart_totals { max-width: 100%; float: none; }
	.page-body, .blog-layout, .search-layout { padding: 34px 18px 60px; }
	.container.narrow { padding: 34px 18px 60px; }
	.search-overlay-in { padding: 24px; }
	.toolbar .woocommerce-ordering { width: 100%; }
	.ab-grid { grid-template-columns: 1fr; }
	.ab-hero img { height: 240px; }
	.ct-form .ct-row { flex-direction: column; }
}

/* ---------- Newsletter subscribe ---------- */
.news-form { position: relative; }
/* Honeypot: off-screen (not display:none) so bots still fill it, humans never see it. */
.news-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.news-msg { flex: 1 0 100%; margin: 6px 0 0; font-size: 14px; color: #2e7d5b; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .25s ease, max-height .25s ease; }
.news-msg.show { opacity: 1; max-height: 48px; }
.news-msg.error { color: #b3261e; }
.news-form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- Footer polish ---------- */
/* Non-link footer info (e.g. opening hours) mirrors .f-col a spacing/colour. */
.f-col .f-plain { display: block; color: var(--footer-muted); font-size: 13.5px; font-weight: 300; padding: 5px 0; }
