/* ==========================================================================
   Golden Horse – layout v2 (Nov 2026). Loaded after brand.css.
   Direction: clean white header + slim utility bar, curved hero edge, equal shadow cards,
   solid rounded buttons, full-width "any questions?" band above a calmer footer.
   ========================================================================== */

:root {
	--gh-radius: 6px;
	--gh-card-radius: 10px;
	--gh-card-shadow: 0 2px 8px rgba(3, 9, 14, .07);
	--gh-card-shadow-hover: 0 14px 30px rgba(3, 9, 14, .14);
	--gh-head-h: 84px;
	--gh-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M0 6h23M18 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--gh-swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V52C260 88 520 92 780 70S1210 4 1440 22V90Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- buttons */
.wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.ast-custom-button, .ast-button, button.button, input[type="submit"],
.fluentform .ff-btn-submit, .fluentform .ff-el-form-control,
.woocommerce .woocommerce-ordering select, .woocommerce div.product form.cart div.quantity .qty,
.woocommerce div.product form.cart .variations select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea {
	border-radius: var(--gh-radius) !important;
}
.wp-block-button__link:hover, .wp-block-button__link:focus { transform: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }

/* Product-card + single-product buttons: one solid style for "add to cart", "choose options" and "request a quote". */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product .button.gh-quote-btn,
.woocommerce a.button.gh-quote-btn, a.button.gh-quote-btn {
	background: var(--gh-teal-dark); color: #fff; border: 1px solid var(--gh-teal-dark);
	font-size: 14px; font-weight: 700; min-height: 44px; padding: 8px 16px; gap: 10px;
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.woocommerce ul.products li.product .button::after,
.woocommerce a.button.gh-quote-btn::after, a.button.gh-quote-btn::after {
	content: ""; width: 22px; height: 10px; flex: none; background: currentColor;
	-webkit-mask: var(--gh-arrow) center / contain no-repeat; mask: var(--gh-arrow) center / contain no-repeat;
	transition: transform .2s;
}
.rtl .woocommerce ul.products li.product .button::after,
.rtl .woocommerce a.button.gh-quote-btn::after, .rtl a.button.gh-quote-btn::after { transform: scaleX(-1); }
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible,
.woocommerce a.button.gh-quote-btn:hover, a.button.gh-quote-btn:hover {
	background: var(--gh-black); border-color: var(--gh-black); color: #fff;
}
.woocommerce ul.products li.product .button:hover::after { transform: translateX(4px); }
.rtl .woocommerce ul.products li.product .button:hover::after { transform: scaleX(-1) translateX(4px); }
.woocommerce ul.products li.product .button.loading::after { display: none; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; font-weight: 700; margin-top: 8px; color: var(--gh-teal-dark); }

/* Large quote button on product pages: gold, same shape. */
.gh-btn-quote-lg.button, .woocommerce a.gh-btn-quote-lg.button {
	background: var(--gh-gold); color: #171717; border-color: var(--gh-gold);
}
.gh-btn-quote-lg.button:hover, .woocommerce a.gh-btn-quote-lg.button:hover { background: var(--gh-gold-dark); color: #171717; border-color: var(--gh-gold-dark); }

/* =============================================================== HEADER */
/* utility bar */
#ast-desktop-header .ast-above-header-bar,
#ast-desktop-header .ast-above-header.ast-above-header-bar {
	background: var(--gh-teal-dark) !important; border: 0 !important; min-height: 40px; color: #e6f5f9; font-size: 13px;
}
#ast-desktop-header .ast-above-header-bar .site-above-header-wrap { min-height: 40px; }
#ast-desktop-header .ast-above-header-bar a { color: #fff; text-decoration: none; }
#ast-desktop-header .ast-above-header-bar a:hover { color: var(--gh-gold); }
.gh-topbar { display: flex; align-items: center; flex-wrap: nowrap; gap: 22px; line-height: 1; white-space: nowrap; }
.gh-topbar .gh-contact-item, .gh-topbar-note { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-size: 13px; }
.gh-topbar svg { width: 15px; height: 15px; flex: none; }
.gh-topbar-note svg { color: var(--gh-gold); }
/* language + currency in the utility bar */
#ast-desktop-header .ast-above-header-bar .ast-header-html .ast-builder-html-element { display: flex; align-items: center; gap: 14px; }
#ast-desktop-header .ast-above-header-bar .gh-switch-item { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; min-height: 26px; padding: 2px 10px; font-size: 12.5px; }
#ast-desktop-header .ast-above-header-bar .gh-switch-item.is-active { background: #fff; color: var(--gh-teal-dark); border-color: #fff; }
#ast-desktop-header .ast-above-header-bar .gh-lang-link { border-color: transparent; font-weight: 700; padding-inline: 4px; }
#ast-desktop-header .ast-above-header-bar .gh-lang-link:hover { color: var(--gh-gold); }

/* main bar */
.ast-primary-header-bar, .ast-primary-header-bar.main-header-bar {
	background: #fff !important; border-bottom: 1px solid var(--gh-line) !important; box-shadow: 0 1px 0 rgba(3, 9, 14, .02);
}
#ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap { min-height: var(--gh-head-h); }
.site-header .custom-logo { max-height: 60px; width: auto; }
.main-header-menu > .menu-item > .menu-link { font-size: 15px; font-weight: 700; color: var(--gh-ink); padding-inline: 14px; position: relative; }
.main-header-menu > .menu-item > .menu-link::after {
	content: ""; position: absolute; inset-inline: 14px; bottom: 22px; height: 2px; background: var(--gh-gold);
	transform: scaleX(0); transition: transform .2s; transform-origin: center;
}
#ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link::after,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link::after,
#ast-desktop-header .main-header-menu > .current-menu-ancestor > .menu-link::after { transform: scaleX(1); }
.main-header-menu > .menu-item:hover > .menu-link,
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current-menu-ancestor > .menu-link { color: var(--gh-teal-dark); }
.main-header-menu .menu-item .ast-icon.icon-arrow svg { fill: var(--gh-teal); }
.main-header-menu .sub-menu { border: 0; border-top: 3px solid var(--gh-gold); border-radius: 0 0 var(--gh-radius) var(--gh-radius); box-shadow: 0 14px 30px rgba(3, 9, 14, .12); padding: 6px 0; min-width: 230px; }
.main-header-menu .sub-menu .menu-link { font-size: 14px; font-weight: 400; color: var(--gh-ink); padding: 9px 18px; }
.main-header-menu .sub-menu .menu-item:hover > .menu-link { color: var(--gh-teal-dark); background: var(--gh-soft); }

/* icons: search + cart */
.site-header .ast-header-search .astra-search-icon,
.site-header .ast-header-search .ast-icon svg { color: var(--gh-ink); fill: var(--gh-ink); }
.site-header .ast-header-search .ast-search-menu-icon .search-field { border: 1px solid var(--gh-line); border-radius: var(--gh-radius); min-height: 42px; font-family: var(--gh-font); }
.site-header .ast-header-search .ast-search-menu-icon.ast-dropdown-active .search-field { width: 260px; }
.ast-site-header-cart .ast-cart-menu-wrap, .ast-site-header-cart .ast-addon-cart-wrap { border: 0 !important; background: transparent !important; }
.ast-site-header-cart .ast-icon svg, .ast-site-header-cart .ast-cart-menu-wrap .ast-icon { fill: var(--gh-ink); color: var(--gh-ink); }
.ast-site-header-cart .ast-cart-menu-wrap .count,
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-cart::after,
.ast-site-header-cart .astra-icon::after, .ast-site-header-cart i.astra-icon.ast-icon-shopping-bag::after {
	background: var(--gh-gold) !important; color: #171717 !important; border: 0 !important; font-weight: 800;
}
.ast-site-header-cart .cart-container { display: flex; align-items: center; line-height: 1; min-height: 44px; }
.ast-site-header-cart i.astra-icon { display: inline-flex; align-items: center; line-height: 1; padding: 0 4px; }
.ast-site-header-cart i.astra-icon .ast-icon { display: inline-flex; line-height: 1; }
.ast-site-header-cart i.astra-icon svg { width: 24px; height: 24px; }
.ast-site-header-cart i.astra-icon::after {
	min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; border-radius: 999px; font-size: 11px; box-sizing: border-box;
	top: -8px; inset-inline-end: -8px; inset-inline-start: auto;
}
.ast-header-woo-cart .ast-site-header-cart:hover .ast-icon svg { fill: var(--gh-teal-dark); }

/* quote button */
.ast-builder-button-wrap .ast-custom-button {
	background: var(--gh-gold); color: #171717; border: 0; font-weight: 800; font-size: 14.5px;
	min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; white-space: nowrap;
	border-radius: var(--gh-radius) !important; box-shadow: 0 6px 14px rgba(217, 165, 0, .28);
}
.ast-builder-button-wrap .ast-custom-button:hover { background: var(--gh-gold-dark); color: #171717; }
#ast-desktop-header .site-header-primary-section-right { gap: 6px; }
#ast-desktop-header .site-header-primary-section-right > .ast-builder-layout-element { margin-inline-start: 6px; }

/* mobile header */
#ast-mobile-header .ast-primary-header-bar .site-primary-header-wrap { min-height: 68px; }
#ast-mobile-header .custom-logo { max-height: 48px; }
.ast-mobile-header-wrap .menu-toggle.main-header-menu-toggle { color: var(--gh-teal-dark); border: 0; background: transparent; }
.ast-mobile-header-wrap .menu-toggle .ast-mobile-svg { fill: var(--gh-teal-dark); }
.ast-mobile-header-content, .ast-mobile-popup-drawer .ast-mobile-popup-inner { background: #fff; }
.ast-mobile-header-content .main-header-menu .menu-link { font-size: 16px; font-weight: 700; border-color: var(--gh-line) !important; }
.ast-mobile-header-content .ast-builder-button-wrap { padding: 4px 20px 20px; }
.ast-mobile-header-content .ast-builder-button-wrap .ast-custom-button { width: 100%; justify-content: center; }

/* Front-end admin bar: never more than one line (extra items are removed in PHP). */
@media (min-width: 783px) {
	#wpadminbar .quicklinks > ul > li > .ab-item { padding-inline: 8px; }
}

/* ================================================================ HERO */
.gh-home .gh-hero { padding-bottom: 70px; background: var(--gh-swoosh) bottom center / 100% 72px no-repeat, linear-gradient(120deg, #0f7490 0%, #1890b0 58%, #0f748e 100%); }
.gh-hero-cols { min-height: 520px; padding-top: 34px; }
.gh-hero::before { bottom: -120px; }
.gh-hero .wp-block-buttons .wp-block-button__link { min-height: 50px; padding-inline: 28px; font-size: 16px; }
.gh-page-hero { position: relative; padding-bottom: 96px; background: var(--gh-swoosh) bottom center / 100% 60px no-repeat, linear-gradient(120deg, #0f7490 0%, #1890b0 70%); }
.gh-market-strip { border-bottom: 0; padding: 18px 0 30px; }

/* ====================================================== SECTION HEADS */
.gh-section-head h2 { font-weight: 700; }
.gh-section-head::after { width: 44px; height: 3px; background: var(--gh-gold); border-radius: 3px; }

/* ====================================================== PRODUCT CARDS */
.woocommerce ul.products, .woocommerce-page ul.products { row-gap: 24px; column-gap: 24px; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	display: flex !important; flex-direction: column; height: auto; margin: 0 !important; padding: 0 !important;
	background: #fff; border: 1px solid #e7ecef; border-radius: var(--gh-card-radius); overflow: hidden;
	box-shadow: var(--gh-card-shadow); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--gh-card-shadow-hover); transform: translateY(-3px); border-color: #dce4e8; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative; border: 0; border-bottom: 1px solid #eef1f3; background: #fff; aspect-ratio: 1 / 1; padding: 12px; margin: 0;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a { display: block; width: 100%; height: 100%; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img { width: 100%; height: 100%; object-fit: contain; }
.woocommerce ul.products li.product .astra-shop-summary-wrap {
	flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; padding: 16px 18px 18px; text-align: start;
}
.woocommerce ul.products li.product .ast-woo-product-category {
	display: block; font-size: 12.5px; font-weight: 700; color: var(--gh-teal); margin: 0 0 4px; line-height: 1.5;
}
.woocommerce ul.products li.product .ast-loop-product__link { text-decoration: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--gh-black); margin: 0 0 6px; padding: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2);
}
.woocommerce ul.products li.product .gh-card-sku { font-size: 12.5px; color: var(--gh-muted); margin: -2px 0 6px; }
.woocommerce ul.products li.product .price { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--gh-black); }
.woocommerce ul.products li.product .price .gh-price-request { color: var(--gh-teal-dark); font-size: 15px; }
.woocommerce ul.products li.product .gh-card-carton { font-size: 13px; color: var(--gh-muted); margin: 0 0 8px; }
.woocommerce ul.products li.product .gh-swatches { margin: 0 0 4px; }
/* Bottom group (code, price, carton, colours, button) sits on the card bottom, so rows line up whatever the title length. */
.woocommerce ul.products li.product .astra-shop-summary-wrap > .gh-card-sku,
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price { margin-top: auto; }
.woocommerce ul.products li.product .astra-shop-summary-wrap > .gh-card-sku + .price { margin-top: 0; }
.woocommerce ul.products li.product .button { margin-top: 14px !important; margin-bottom: 0 !important; width: 100%; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { top: 12px; inset-inline-start: 12px; inset-inline-end: auto; }

/* ============================================== SHOP / CATEGORY HEADER */
.gh-shop-head { background: var(--gh-soft); border-bottom: 1px solid var(--gh-line); padding: 26px 0 22px; }
.gh-shop-head .woocommerce-breadcrumb {
	display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 5px 14px; background: #fff;
	border-radius: 999px; font-size: 13px; color: var(--gh-muted); box-shadow: 0 1px 3px rgba(3, 9, 14, .06);
}
.gh-shop-head .woocommerce-breadcrumb a { color: var(--gh-teal-dark); text-decoration: none; }
.gh-shop-title { font-size: clamp(28px, 3vw, 36px); margin: 0 0 16px; font-weight: 800; }
.gh-cat-pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gh-cat-pills li { margin: 0; }
.gh-cat-pills a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 16px; border-radius: 999px;
	background: #fff; border: 1px solid #dbe3e7; color: var(--gh-ink); font-size: 14px; font-weight: 700; text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
.gh-cat-pills a:hover { border-color: var(--gh-teal); color: var(--gh-teal-dark); }
.gh-cat-pills a.is-active { background: var(--gh-teal-dark); border-color: var(--gh-teal-dark); color: #fff; }
.gh-pill-count { font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gh-soft); color: var(--gh-muted); display: inline-grid; place-items: center; }
.gh-cat-pills a.is-active .gh-pill-count { background: rgba(255, 255, 255, .2); color: #fff; }
.woocommerce-shop .site-content > .ast-container, .tax-product_cat .site-content > .ast-container { padding-top: 0; }
.woocommerce-shop #primary, .tax-product_cat #primary, .tax-product_tag #primary { margin-top: 28px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 22px; }
.ast-woocommerce-container .term-description { max-width: 760px; margin-bottom: 18px; }

/* ===================================================== BAND ABOVE FOOTER */
.gh-cta-band { background: var(--gh-teal-dark); color: #fff; position: relative; overflow: hidden; }
.gh-cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); inset-inline-end: -120px; top: -230px; }
.gh-cta-inner {
	position: relative; max-width: calc(var(--gh-max) + 2 * var(--gh-gutter)); margin-inline: auto; padding: 38px var(--gh-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; box-sizing: border-box;
}
.gh-cta-title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin: 0; line-height: 1.4; }
.gh-cta-text { color: #d6eef4; margin: 4px 0 0; font-size: 16px; }
.gh-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gh-cta-btn {
	display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px; border-radius: var(--gh-radius);
	font-size: 16px; font-weight: 800; text-decoration: none !important; transition: background .2s, color .2s, border-color .2s;
}
.gh-cta-btn.is-primary { background: #fff; color: var(--gh-teal-dark); }
.gh-cta-btn.is-primary:hover, .gh-cta-btn.is-primary:focus-visible { background: var(--gh-gold); color: #171717; }
.gh-cta-btn.is-ghost { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.gh-cta-btn.is-ghost:hover, .gh-cta-btn.is-ghost:focus-visible { background: #fff; color: var(--gh-teal-dark); }
.gh-cta-btn .gh-arrow { transition: transform .2s; }
.rtl .gh-cta-btn .gh-arrow { transform: scaleX(-1); }
.gh-cta-btn:hover .gh-arrow { transform: translateX(4px); }
.rtl .gh-cta-btn:hover .gh-arrow { transform: scaleX(-1) translateX(4px); }

/* =============================================================== FOOTER */
.site-footer { background: #1d282e; color: #b9c5c9; }
.site-primary-footer-wrap { padding-block: 60px 36px; }
.site-footer .widget-title, .site-footer h2.widget-title, .site-footer .widget h2, .site-footer .widget h3 { font-size: 16px; font-weight: 700; color: #fff; position: relative; padding-bottom: 10px; }
.site-footer .widget-title::after, .site-footer .widget h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--gh-gold); }
.site-footer a { color: #c9d4d7; }
.site-below-footer-wrap { border-top-color: #2f3c43 !important; }

/* =========================================================== RESPONSIVE */
@media (max-width: 1400px) and (min-width: 1201px) {
	.main-header-menu > .menu-item > .menu-link { padding-inline: 10px; font-size: 14.5px; }
	.main-header-menu > .menu-item > .menu-link::after { inset-inline: 10px; }
	.ast-builder-button-wrap .ast-custom-button { padding: 0 16px; font-size: 14px; }
	.gh-topbar { gap: 16px; }
}
@media (max-width: 1200px) {
	.woocommerce ul.products, .woocommerce-page ul.products { column-gap: 18px; row-gap: 18px; }
}
@media (max-width: 921px) {
	.gh-hero-cols { padding-top: 34px; }
	.gh-home .gh-hero { padding-bottom: 54px; background-size: 100% 48px, auto; }
	.gh-cta-inner { justify-content: center; text-align: center; padding-block: 32px; }
	.gh-cta-actions { justify-content: center; }
}
@media (max-width: 544px) {
	.woocommerce ul.products, .woocommerce-page ul.products { column-gap: 12px; row-gap: 12px; }
	.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { padding: 6px; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 12px 12px 14px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; }
	.woocommerce ul.products li.product .ast-woo-product-category { font-size: 12px; }
	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product .button.gh-quote-btn { font-size: 13px; min-height: 42px; padding: 6px 8px; gap: 6px; white-space: nowrap; }
	.woocommerce ul.products li.product .button::after { display: none; }
	.gh-shop-head { padding: 18px 0 16px; }
	.gh-cat-pills ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.gh-cat-pills a { white-space: nowrap; min-height: 36px; font-size: 13.5px; }
	.gh-cta-btn { width: 100%; justify-content: center; }
	.gh-cta-actions { width: 100%; }
}

/* ==========================================================================
   1.2.0 – fixes from the UI/UX test (22 Nov 2026)
   ========================================================================== */

/* --- Catalog-only mode (no product has a price yet; class added by Golden Horse Core 1.4.0):
       hide the cart icon and the cart link in the footer, they lead nowhere useful. */
.gh-catalog-only .ast-header-woo-cart,
.gh-catalog-only .ast-site-header-cart,
.gh-catalog-only [data-section="section-header-woo-cart"],
.gh-catalog-only .site-footer li:has(> a[href*="/cart/"]) { display: none !important; }

/* --- Contrast (WCAG AA 4.5:1 for normal text) */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce-page ul.products li.product .ast-woo-product-category { color: var(--gh-teal-dark); }
.gh-promo::before { background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, .58)); }
.gh-promo h3, .gh-promo p { text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.gh-breadcrumb-bar, .gh-breadcrumb-bar .woocommerce-breadcrumb { color: #5f6c73; }
.gh-breadcrumb-bar a, .woocommerce-breadcrumb a, .gh-shop-head .woocommerce-breadcrumb a { color: #0b6680; }
.gh-shop-head .woocommerce-breadcrumb { color: #5f6c73; }
.gh-why p:not(.gh-why-num) { color: #56636a; }
.gh-cta-text { color: #eef8fb; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { color: var(--gh-teal-dark); }
/* Current menu item: dark teal instead of the light pink link colour (4.46:1). */
#ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
.ast-mobile-header-content .main-header-menu .current-menu-item > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link { color: var(--gh-teal-dark) !important; }

/* --- Product page: smaller empty gap between the breadcrumb bar and the product */
.single-product #primary { margin-top: 0; }
.single-product div.product { margin-top: 32px; }

/* --- Header search: while the field is open, hide what it would cover (menu on desktop, logo on mobile). */
#ast-desktop-header:has(.ast-search-menu-icon.ast-dropdown-active) .main-header-menu { visibility: hidden; }
#ast-mobile-header:has(.ast-search-menu-icon.ast-dropdown-active) .site-branding { visibility: hidden; }

/* --- Mobile menu: sub-menu arrow without the boxed border */
.ast-mobile-header-content .ast-menu-toggle,
.ast-mobile-popup-drawer .ast-menu-toggle { border: 0 !important; background: transparent !important; }

/* --- Empty cart "new in store" block: brand-size text, no underlines */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-title { font-size: 15px; font-weight: 700; color: var(--gh-black); text-decoration: none; }
.wc-block-grid__product a { text-decoration: none; }
.wc-block-grid__product .wc-block-grid__product-price,
.wc-block-grid__product .gh-price-request { font-size: 14px; font-weight: 700; color: var(--gh-teal-dark); }
.wc-block-grid__product .wp-block-button__link { font-size: 14px; min-height: 42px; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots { display: none; }

/* --- Laptops 1201–1280px: a little tighter so the desktop header always fits on one line */
@media (max-width: 1280px) and (min-width: 1101px) {
	.main-header-menu > .menu-item > .menu-link { padding-inline: 7px; font-size: 13.5px; }
	.ast-builder-button-wrap .ast-custom-button { padding: 0 12px; font-size: 13px; min-height: 42px; }
	.site-header .custom-logo { max-height: 52px; }
}

/* --- Mobile home: shorter page – promo and category tiles scroll sideways instead of stacking */
@media (max-width: 781px) {
	.gh-promo-grid, .gh-tiles {
		flex-wrap: nowrap !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
		gap: 12px !important; padding-bottom: 12px; scrollbar-width: thin;
	}
	.gh-promo-grid > .wp-block-column, .gh-tiles > .wp-block-column { flex: 0 0 82% !important; scroll-snap-align: start; min-width: 0; }
	.gh-promo { min-height: 300px; }
	.gh-tile { min-height: 220px; }
	.gh-cats.gh-cats-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
	.gh-cats-dark a { padding: 12px 4px; }
	.gh-cats-dark .gh-cat-name { font-size: 15px; }
}

/* 1.2.1: stronger selectors (WooCommerce / Astra rules were winning) */
body.woocommerce-js .woocommerce-breadcrumb a,
body.woocommerce-js .gh-breadcrumb-bar .woocommerce-breadcrumb a,
body .gh-shop-head .woocommerce-breadcrumb a { color: #0b6680; }
body.woocommerce-js .woocommerce-breadcrumb { color: #5f6c73; }
body.single-product.single #primary { margin-top: 0; }

/* 1.2.2: WordPress core stacks columns at 100% on mobile with a stronger selector – show 82% so the next card peeks in. */
@media (max-width: 781px) {
	.wp-block-columns.gh-promo-grid:not(.is-not-stacked-on-mobile) > .wp-block-column,
	.wp-block-columns.gh-tiles:not(.is-not-stacked-on-mobile) > .wp-block-column { flex: 0 0 82% !important; flex-basis: 82% !important; }
}
