/* Gallery Home 7.62: cached presentation, original rule order retained. */
/* Mobile-only repair. Desktop styling and catalogue identity are unchanged. */
@media (max-width:921px) {
  body, body #page, body #content, body .entry-content>.elementor {background:#faf8f1!important;}
  body #secondary {display:none!important;}
  body #colophon {display:none!important;}
  body .gh-site-footer {margin:0!important;padding:24px 16px!important;}
  body .gh-site-footer__credit {font-size:12px!important;line-height:1.8!important;overflow-wrap:anywhere;}
  body #ast-mobile-header .ast-below-header-bar,
  body #ast-mobile-header .ast-below-header,
  body #ast-mobile-header .mobile-langs {background:#faf8f1!important;}
  body #ast-mobile-header .mobile-langs {gap:16px;min-height:44px;align-items:center;}
  body #ast-mobile-header .menu-toggle {border:0!important;box-shadow:none!important;border-radius:8px!important;}
  body #ast-mobile-header .dgwt-wcas-sf-wrapp,
  body #ast-mobile-header .dgwt-wcas-search-input {border:0!important;outline:0!important;box-shadow:none!important;}
  body #ast-mobile-header .dgwt-wcas-search-input {border-radius:22px!important;background:#fffef9!important;}
  body #ast-mobile-header .dgwt-wcas-sf-wrapp {padding:0!important;background:transparent!important;}
  body #ast-mobile-header .ast-mobile-header-content,
  body #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,
  body #ast-mobile-header .ast-mobile-header-content .main-header-menu,
  body #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile,
  body #ast-mobile-header .ast-mobile-header-content .sub-menu {background:#faf8f1!important;color:#24231f!important;}
  body #ast-mobile-header .ast-mobile-header-content .menu-link {color:#24231f!important;}
  body #ast-mobile-header .gh-mobile-category-row {display:flex;align-items:center;width:100%;}
  body #ast-mobile-header .gh-mobile-category-row>.menu-link {flex:1;min-width:0;}
  body #ast-mobile-header .gh-mobile-submenu-toggle {flex:0 0 44px;min-height:44px;padding:0;border:0;background:transparent!important;color:#a98222!important;}
  body #ast-mobile-header .gh-mobile-submenu[hidden] {display:none!important;}
  body.gh-mobile-nav-open {overflow:hidden!important;}
  body.gh-mobile-nav-open #masthead {z-index:100001!important;}
  body.gh-mobile-nav-open #ast-mobile-header .ast-mobile-header-content {
    display:block!important;position:fixed!important;inset:var(--gh-mobile-header-bottom,140px) 0 0!important;
    width:100%!important;max-width:none!important;height:auto!important;margin:0!important;
    overflow-y:auto!important;overscroll-behavior:contain;z-index:100002!important;
    padding-bottom:max(24px,env(safe-area-inset-bottom));box-shadow:0 4px 16px #24231f20;
  }
  body.home ul.products:has(>li.product:not(.product-category)) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important;}
  body.home ul.products:has(>li.product:not(.product-category)):before,
  body.home ul.products:has(>li.product:not(.product-category)):after {display:none!important;}
  body.home ul.products>li.product:not(.product-category) {float:none!important;width:100%!important;min-width:0!important;margin:0!important;}
  body.home ul.products>li.product:not(.product-category) .button {display:flex!important;justify-content:center;align-items:center;width:100%;box-sizing:border-box;min-height:42px;border-radius:10px!important;padding:10px 8px!important;line-height:1.5!important;font-size:13px!important;white-space:normal!important;}
  body:is(.woocommerce-checkout,.woocommerce-order-received) .entry-content>.elementor>.elementor-element,
  body:is(.woocommerce-checkout,.woocommerce-order-received) .entry-content>.elementor>.elementor-element>.e-con-inner {
    --margin-left:0px;--margin-right:0px;--padding-left:0px;--padding-right:0px;
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-inline:auto!important;padding-inline:0!important;align-self:center;
  }
  body.woocommerce-order-received .woocommerce-order {box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-inline:auto!important;}
}

/* 7.41 — presentation contract, 2026-09-27. Loaded after theme/mobile styles.
 * No product, order, translation or stock behaviour is changed here. */
body{--gh-store-beige:#faf8f1;--gh-store-gold:#a98222;--gh-store-line:#d7c69b}
/* Observed home-only Elementor navigation, separate from Astra's footer.
 * Hide the container as well as the widget so its padding cannot survive. */
body.home .entry-content .elementor-element-8ca8e7d,
body.home .entry-content>.elementor>.e-con:has(>.e-con-inner>.elementor-widget-navigation-menu):not(:has(.elementor-widget:not(.elementor-widget-navigation-menu))){display:none!important}
body #colophon{display:none!important}

/* One palette for commerce and account actions, on both screen sizes. */
body #page :is(a.button,button.button,input.button,.single_add_to_cart_button,.gh-loop-button,.elementor-button,.ast-custom-button,.wp-element-button,.wc-block-components-button,.gh-cart-toast a,.gh-cart-toast button,.gh-phone-auth .button),
body .gh-cart-toast :is(a,button){
 background:var(--gh-store-beige)!important;background-image:none!important;
 color:var(--gh-store-gold)!important;border:1px solid var(--gh-store-line)!important;
 box-shadow:none!important;border-radius:14px!important;
 transition:color .16s ease,border-color .16s ease,transform .16s ease!important;
}
body #page :is(a.button,button.button,input.button,.single_add_to_cart_button,.gh-loop-button,.elementor-button,.wp-element-button,.wc-block-components-button):hover{
 background:var(--gh-store-beige)!important;color:#806217!important;border-color:var(--gh-store-gold)!important;
}
body #page :is(a.button,button.button,.elementor-button):active{transform:scale(.98)}
body #page :is(button,input.button,.button):disabled{opacity:.5;cursor:not-allowed}

/* Quick-cart glyph: no disc. Header glyph remains light on the dark header
 * for contrast; on the beige mobile language bar it is black. */
body #page ul.products li.product a.ast-on-card-button,
body #page ul.products li.product a.ast-on-card-button :is(.ast-icon,.ahfb-svg-iconset){
 background:transparent!important;border:0!important;box-shadow:none!important;color:#24231f!important;
}
body #page ul.products li.product a.ast-on-card-button svg{fill:var(--gh-store-gold)!important}
body #page .gh-header-cart,body #page .gh-header-cart-inner{background:transparent!important;box-shadow:none!important;border:0!important}
body #page .gh-header-cart-count{background:var(--gh-store-beige)!important;color:var(--gh-store-gold)!important;border:1px solid var(--gh-store-line)!important}
body #ast-mobile-header .mobile-langs .gh-header-cart{color:#24231f!important}
body #page ul.products li.product .ast-card-action-tooltip{background:var(--gh-store-beige)!important;color:var(--gh-store-gold)!important;border:1px solid var(--gh-store-line)!important}

/* Search: remove input AND surrounding theme frame, without removing the field. */
body #page .dgwt-wcas-search-wrapp,
body #page .dgwt-wcas-sf-wrapp,
body #page input.dgwt-wcas-search-input{
 border:0!important;box-shadow:none!important;outline:0!important;
}
body #page .dgwt-wcas-sf-wrapp{background:transparent!important;padding:0!important}
body #page input.dgwt-wcas-search-input{background:var(--gh-store-beige)!important;border-radius:24px!important}
body #page input.dgwt-wcas-search-input:focus-visible{outline:2px solid var(--gh-store-gold)!important;outline-offset:3px}

/* Mouse focus has no painted rectangle; keep visible keyboard navigation. */
body #page :is(.main-header-menu,.mobile-langs) a,
body #page ul.products li.product :is(.woocommerce-LoopProduct-link,.ast-loop-product__link){transition:transform .16s ease,color .16s ease!important}
body #page :is(.main-header-menu,.mobile-langs) a:is(:hover,:focus,:active),
body #page ul.products li.product :is(.woocommerce-LoopProduct-link,.ast-loop-product__link):is(:focus,:active){background:transparent!important;box-shadow:none!important}
body #page .main-header-menu .menu-item:is(:hover,:focus-within,.current-menu-item){background:transparent!important;box-shadow:none!important}
body #page :is(.main-header-menu,.mobile-langs) a:focus:not(:focus-visible),
body #page ul.products li.product a:focus:not(:focus-visible){outline:0!important}
body #page :is(.main-header-menu,.mobile-langs) a:focus-visible,
body #page ul.products li.product a:focus-visible{outline:2px solid var(--gh-store-gold)!important;outline-offset:3px}

body.woocommerce-page #page .woocommerce-breadcrumb,
body.gh-product-search #page .woocommerce-breadcrumb{font-size:16px!important;line-height:1.8!important;margin:24px 0 20px!important;padding-top:0!important;position:static!important}
body.woocommerce-page #page :is(h1.woocommerce-products-header__title,h1.page-title),
body.gh-product-search #page .gh-search-heading h1{font-size:clamp(28px,3vw,40px)!important;line-height:1.35!important;margin:0 0 24px!important}
body #page .gh-search-heading{border:0!important;box-shadow:none!important;background:transparent!important}
@media(max-width:921px){body.woocommerce-page #page .woocommerce-breadcrumb{font-size:14px!important;margin:18px 0 16px!important}}
@media(prefers-reduced-motion:reduce){body #page :is(a,button){transition:none!important;transform:none!important}}

/* Catalogue corrections matched to September 27 screenshots and live DOM. */
body #page #secondary .wpb_category_n_menu_accordion li,
body #page #secondary .wpb_category_n_menu_accordion li>a{background:transparent!important;box-shadow:none!important}
body #page #secondary .wpb_category_n_menu_accordion li>a{transition:color .15s ease!important}
@media(hover:hover) and (pointer:fine){
 body #page #secondary .wpb_category_n_menu_accordion li>a:hover{background:transparent!important;color:var(--gh-store-gold)!important;transform:none!important}
}
body #page ul.products li.product :is(.woocommerce-loop-product__title,.woocommerce-loop-product__title a,.price,.price ins,.price del,.price .amount,.ast-on-card-button,.ast-on-card-button .ast-icon){color:var(--gh-store-gold)!important}
body #page ul.products li.product :is(.onsale,.ast-onsale-card),
body #page .woocommerce span.onsale{background:var(--gh-store-beige)!important;color:var(--gh-store-gold)!important;border:1px solid var(--gh-store-line)!important;box-shadow:none!important}
body #page .gh-shop-category-route{border:0!important;box-shadow:none!important;background:transparent!important;max-width:none;margin:8px 0 24px;padding:0;justify-content:flex-start;flex-wrap:wrap;gap:16px}
body #page .gh-shop-category-route a{background:var(--gh-store-beige)!important;color:var(--gh-store-gold)!important;border:1px solid var(--gh-store-line)!important;border-radius:12px;padding:8px 18px}
body #page .gh-result-count{float:none!important;display:inline-block!important;margin:8px 0 24px!important;padding:0!important;font-size:15px!important;line-height:44px!important;color:var(--gh-store-gold)!important}
body #page .woocommerce-ordering{margin:8px 0 24px!important;max-width:100%}
body #page .woocommerce-ordering select{min-height:44px!important;color:var(--gh-store-gold)!important;background-color:var(--gh-store-beige)!important;border:1px solid var(--gh-store-line)!important;border-radius:12px!important;padding-block:8px!important}
body.single-product #page .sku_wrapper,
body.single-product #page .ast-single-product-payments{display:none!important}
body.single-product #page .woocommerce-product-gallery__trigger{background:var(--gh-store-beige)!important;border:1px solid var(--gh-store-gold)!important;color:var(--gh-store-gold)!important;box-shadow:none!important}
body.single-product #page .woocommerce-product-gallery__trigger::before{border-color:var(--gh-store-gold)!important}
body.single-product #page .woocommerce-product-gallery__trigger::after{background:var(--gh-store-gold)!important}
body.single-product #page .woocommerce-product-gallery__trigger span{visibility:hidden}
/* Pin the submit glyph to the middle; reserve its space in both directions. */
body #page .dgwt-wcas-sf-wrapp{position:relative!important}
body #page input.dgwt-wcas-search-input{box-sizing:border-box!important;height:46px!important;min-height:46px!important;line-height:24px!important;font-size:16px!important;padding:11px 54px 11px 16px!important;text-indent:0!important;margin:0!important}
body.rtl #page input.dgwt-wcas-search-input{padding:11px 16px 11px 54px!important}
body #page button.dgwt-wcas-search-submit{position:absolute!important;top:50%!important;bottom:auto!important;right:6px!important;left:auto!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;line-height:1!important}
body.rtl #page button.dgwt-wcas-search-submit{left:6px!important;right:auto!important}
body #page button.dgwt-wcas-search-submit svg{position:static!important;display:block!important;transform:none!important;margin:0!important;width:20px!important;height:20px!important;max-width:none!important}
body #page button.dgwt-wcas-search-submit::before{display:none!important}
@media(prefers-reduced-motion:reduce){body #page #secondary .wpb_category_n_menu_accordion li>a:hover{transform:none!important}}

body.post-type-archive-product:not(.search) #page .woocommerce-products-header__title{display:none!important}
body #page input.dgwt-wcas-search-input::placeholder{line-height:24px!important}

/* 7.42: desktop-only catalogue spacing, navigation and motion. */
@media(min-width:922px){
 body.gh-product-catalog #content>.ast-container{padding-inline:15px!important;box-sizing:border-box!important;max-width:100%!important}
 body.gh-product-catalog #page .gh-result-count{display:none!important}
 body.gh-product-catalog #page .gh-shop-category-route{display:flex;align-items:center;margin:8px 0 20px!important}
 body.gh-catalog-sidebar #content>.ast-container{display:flex!important;flex-direction:row!important;gap:24px!important;align-items:flex-start!important}
 body.gh-catalog-sidebar #page #secondary{display:block!important;box-sizing:border-box!important;flex:0 0 240px!important;width:240px!important;max-width:28%!important;order:0!important;margin:24px 0!important;padding:0!important;border:0!important;float:none!important;position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto}
 body.gh-catalog-sidebar #page #primary{flex:1 1 0!important;order:1!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;border:0!important}
 body.gh-catalog-sidebar #page ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
 body.gh-catalog-sidebar #page ul.products::before,body.gh-catalog-sidebar #page ul.products::after{display:none!important}
 body.gh-catalog-sidebar #page ul.products>li.product{width:100%!important;min-width:0!important;margin:0!important}
 body #page .gh-catalog-fallback{margin:0;padding:0;list-style:none}
 body #page .gh-catalog-fallback ul{margin:0;padding-inline-start:16px;list-style:none}
 body #page .gh-catalog-fallback a{display:block;padding:10px 4px;color:var(--gh-store-gold);border-bottom:1px solid var(--gh-store-line)}
}
@media(min-width:922px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body #page ul.products>li.product{transition:transform .2s ease,border-color .2s ease!important;will-change:auto}
 body #page ul.products>li.product:hover{transform:translateY(-4px)!important;border-color:var(--gh-store-gold)!important}
 body #page ul.products>li.product:active{transform:translateY(-2px)!important}
}
@media(max-width:921px){body.gh-catalog-sidebar #page #secondary{display:none!important}body.gh-catalog-sidebar #page #primary{width:100%!important;border:0!important}}

/* 2026-09-30: two category actions, stable sidebar scrollbar geometry. */
body #page .gh-shop-category-route{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body #page .gh-shop-category-route a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid var(--gh-store-line);border-radius:12px;background:var(--gh-store-beige);color:var(--gh-store-gold);text-decoration:none;line-height:1.5;transition:color .15s ease,border-color .15s ease}
body #page .gh-shop-category-route a:hover{color:#80621c;border-color:var(--gh-store-gold);transform:none}
body #page .gh-shop-category-route a:focus-visible{outline:2px solid var(--gh-store-gold);outline-offset:3px}
body #page .gh-category-route-arrow{color:var(--gh-store-gold);font-size:22px;flex:none}
@media(min-width:922px){
 body.gh-catalog-sidebar #page #secondary{overflow-y:scroll!important;overflow-x:hidden!important;scrollbar-gutter:stable;scroll-behavior:auto}
 body.gh-catalog-sidebar #page #secondary .wpb_category_n_menu_accordion{max-width:100%;min-width:0;box-sizing:border-box}
 body.gh-catalog-sidebar #page #secondary .wpb_category_n_menu_accordion li>a{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;transform:none!important}
}
/* Subcategory cards: match the inset homepage grid without widening products. */
@media(min-width:922px){
 body.tax-product_cat.gh-catalog-sidebar #content>.ast-container{max-width:1240px!important;margin-inline:auto!important;padding-inline:24px!important}
 body.tax-product_cat.gh-catalog-sidebar #page ul.products:has(>li.product-category){max-width:840px!important;margin-inline:auto!important;gap:18px!important;padding-inline:12px!important;box-sizing:border-box}
 body.tax-product_cat #page li.product-category img{width:100%!important;aspect-ratio:1/1;object-fit:contain;height:auto!important}
}
