/* ============================================================================
   AYESH v1.0.194 — official brand identity unification
   Source: owner-provided complete brand kit (2026-11-04)
   Canonical crimson #C91524, Carbon #141414, white #FFFFFF.
   Champagne Gold #C6A15B is reserved for premium gifts/packaging.
   Preserve third-party product/payment branding, status colors, and WooCommerce.
   ============================================================================ */
:root {
  --ayesh-color-primary: #C91524;
  --ayesh-color-primary-hover: #A4101E;
  --ayesh-color-primary-active: #850D18;
  --ayesh-color-secondary: #141414;
  --ayesh-color-premium: #C6A15B;
  --ayesh-color-white: #FFFFFF;
  --ayesh-color-text: #232323;
  --ayesh-color-text-strong: #141414;
  --ayesh-color-text-muted: #646464;
  --ayesh-color-border: #E9E9E9;
  --ayesh-color-border-strong: #D8D8D8;
  --ayesh-color-surface: #FFFFFF;
  --ayesh-color-surface-soft: #FAF9F7;
  --ayesh-color-focus-ring: #C91524;
  --ayesh-color-selection: #F9DEE1;
  --ayesh-crimson: #C91524;
  --ayesh-crimson-hover: #A4101E;
  --ayesh-carbon-black: #141414;
  --ayesh-champagne-gold: #C6A15B;
  --hb-green: #C91524;
  --hb-green-dark: #A4101E;
  --hb-orange: #C91524;
  --hb-orange-dark: #A4101E;
  --hb-price: #C91524;
  --hb-ink: #141414;
  --hb-white: #FFFFFF;
  --ayesh-page-background: #F7F7F8;
  --ayesh-background-white: #FFFFFF;
  --ayesh-background-divider: #E9E9E9;
}
/* Logo: approved pixels only; responsive sizing without stretching or shadow. */
html body:not(.wp-admin) :is(.hb-header,.ayesh-p2-header,.hb-mobile-menu-brand) img.ayesh-brand-wordmark {
  display:block!important;
  width:auto!important;
  max-width:min(190px,100%)!important;
  max-height:52px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  opacity:1!important;
  filter:none!important;
  box-shadow:none!important;
  transform:none!important;
}
html body:not(.wp-admin) .hb-header-main > a.hb-logo,
html body:not(.wp-admin) .hb-mobile-menu-brand {padding-block:4px!important;}
html body.woocommerce-checkout:not(.woocommerce-order-received) .ayesh-checkout-minimal__logo-image {
  width:142px!important;
  max-width:142px!important;
  max-height:42px!important;
  height:auto!important;
  object-fit:contain!important;
  box-shadow:none!important;
  filter:none!important;
}
@media(max-width:1040px){
  html body:not(.wp-admin) .hb-header-main > a.hb-logo img.ayesh-brand-wordmark {max-width:155px!important;max-height:42px!important;}
}
@media(max-width:760px){
  html body:not(.wp-admin) .hb-header-main > a.hb-logo img.ayesh-brand-wordmark {max-width:140px!important;max-height:40px!important;}
  html body:not(.wp-admin) .hb-mobile-menu-brand img.ayesh-brand-wordmark {max-width:132px!important;max-height:38px!important;}
  html body.woocommerce-checkout:not(.woocommerce-order-received) .ayesh-checkout-minimal__logo-image {width:100px!important;max-width:100px!important;max-height:31px!important;}
}
@media(max-width:390px){
  html body:not(.wp-admin) .hb-header-main > a.hb-logo img.ayesh-brand-wordmark {max-width:124px!important;max-height:36px!important;}
}
/* Header, global navigation and search: use ink/white/Crimson, never gold. */
html body:not(.wp-admin) :is(.hb-header,.ayesh-p2-header,.ayesh-p2-category-nav) {background-color:#fff!important;}
html body:not(.wp-admin) :is(.hb-announcement,.ayesh-p2-utility) {background-color:#141414!important;}
html body:not(.wp-admin) :is(.hb-header,.ayesh-p2-header,.ayesh-p2-category-nav) a:is(:hover,:focus-visible) {color:#C91524!important;}
html body:not(.wp-admin) .hb-header :is(.hb-desktop-search-submit,.hb-search-submit) {
  background-color:#141414!important;
  border-color:#141414!important;
  color:#fff!important;
}
html body:not(.wp-admin) .hb-header :is(.hb-desktop-search-submit,.hb-search-submit):is(:hover,:focus-visible) {
  background-color:#C91524!important;
  border-color:#C91524!important;
}
/* Search input focus remains neutral, avoiding the formerly reported red box outline. */
html body:not(.wp-admin) .hb-header :is(.hb-search input[type=search],.hb-mobile-header-search input[type=search],.ayesh-p2-search-form input[type=search]):focus {
  outline:none!important;
  border-color:#d8d8d8!important;
  box-shadow:none!important;
}
/* Common headings, product lists, category directories and active states. */
html body:not(.wp-admin) :is(.ayesh-featured-categories__title,.ayesh-p3-section__head h2,.ayesh-shop-category-title,.ayesh-p3-reviews h2) > span {
  color:#C91524!important;
}
html body:not(.wp-admin) :is(.ayesh-p3-see-all,.ayesh-featured-categories__view-all,.ayesh-p3-rail-actions a):is(:hover,:focus-visible) {color:#C91524!important;}
html body:not(.wp-admin) :is(.ayesh-featured-categories__card,.ayesh-p3-product-carousel .product,.woocommerce ul.products li.product) {
  border-color:#E9E9E9!important;
}
html body:not(.wp-admin) :is(.woocommerce ul.products li.product,.woocommerce div.product) :is(.price,ins .amount,.woocommerce-Price-amount):not(del .woocommerce-Price-amount) {
  color:#C91524;
}
html body:not(.wp-admin) :is(.woocommerce ul.products li.product,.woocommerce div.product) del .amount {
  color:#757575!important;
}
html body:not(.wp-admin) :is(.woocommerce ul.products li.product,.woocommerce div.product) .onsale {
  background:#C91524!important;color:#fff!important;
}
/* Branded CTAs: do not modify payment/checkout state or fake gateways. */
html body:not(.wp-admin) :is(.ayesh-p3-promo__cta,.hb-button--primary,.ayesh-p3-rail-action-primary,.ayesh-v181-mobile-bar__action) {
  background-color:#C91524!important;
  border-color:#C91524!important;
  color:#fff!important;
}
html body:not(.wp-admin) :is(.ayesh-p3-promo__cta,.hb-button--primary,.ayesh-p3-rail-action-primary,.ayesh-v181-mobile-bar__action):is(:hover,:focus-visible) {
  background-color:#A4101E!important;
  border-color:#A4101E!important;
  color:#fff!important;
}
html body:not(.wp-admin) :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button):focus-visible {
  outline:2px solid #C91524!important;outline-offset:2px;
}
/* Shared form controls: consistent readable borders, labels and keyboard focus. */
html body:not(.wp-admin) :is(.woocommerce,.hbma-shell,.hb-policy-page,.hb-content) :is(input[type=checkbox],input[type=radio]) {accent-color:#C91524;}
html body:not(.wp-admin) :is(.woocommerce,.hbma-shell,.hb-policy-page,.hb-content) :is(input,select,textarea):not([type=hidden]):not([type=checkbox]):not([type=radio]):focus-visible {
  outline:2px solid #C91524!important;
  outline-offset:2px!important;
}
html body:not(.wp-admin) :is(.woocommerce-message,.woocommerce-info) {border-top-color:#C91524!important;}
html body:not(.wp-admin) :is(.woocommerce-message,.woocommerce-info)::before {color:#C91524!important;}
/* Semantic notices keep success green and errors red, independent of AYESH brand accent. */
html body:not(.wp-admin) .woocommerce-error {border-top-color:#B42318!important;}
html body:not(.wp-admin) .woocommerce-error::before {color:#B42318!important;}
/* Footer signature is white even where legacy footer is navy/dark. */
html body:not(.wp-admin) footer.ayesh-p11-footer .ayesh-v194-footer-identity {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  flex-wrap:wrap;
  margin:0!important;
  padding:16px 20px!important;
  border-top:1px solid #E9E9E9!important;
  background:#fff!important;
  color:#141414!important;
}
html body:not(.wp-admin) footer.ayesh-p11-footer .ayesh-v194-footer-tagline {
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.45!important;
  color:#646464!important;
}
@media(max-width:760px) {
  html body:not(.wp-admin) footer.ayesh-p11-footer .ayesh-v194-footer-identity {
    flex-direction:column!important;
    gap:3px!important;
    padding:14px 14px 16px!important;
  }
  html body:not(.wp-admin) footer.ayesh-p11-footer .ayesh-v194-footer-tagline {font-size:11px!important;text-align:center!important;}
}
/* White logos permitted on dark surfaces only. Future components can opt in. */
html body:not(.wp-admin) .ayesh-brand--on-dark img.ayesh-brand-wordmark {filter:brightness(0) invert(1)!important;}
/* Accessible focus without interfering with checkout field validation or button sizing. */
html body:not(.wp-admin) a:focus-visible,
html body:not(.wp-admin) button:focus-visible,
html body:not(.wp-admin) summary:focus-visible {outline:2px solid #C91524!important;outline-offset:3px!important;}
@media(prefers-reduced-motion:reduce){
  html body:not(.wp-admin) :is(a,button) {scroll-behavior:auto!important;transition-duration:0s!important;}
}
