/*
Theme: Gagachevi V5 correction layer
Version: 5.0.0
This stylesheet intentionally loads after the V4 styles.
*/
/* Detected classes: hero=archive-hero,archive-hero--insights,archive-hero__grid,archive-hero__visual,article-hero,article-hero__copy,article-hero__inner,article-hero__media,error-hero,error-hero__code,error-hero__copy,error-hero__inner,hero-index,home-hero,home-hero__copy,home-hero__inner,home-hero__mosaic,home-hero__overlay,home-hero__photo,home-hero__photo--action,home-hero__photo--main,home-hero__photo--stock,home-hero__rail,home-hero__rail-inner,home-hero__side,home-hero__visual,page-hero,page-hero--compact,page-hero--dark,page-hero--light; header=brand-section__header,cart-drawer__header,header-action,header-action__label,header-actions,header-cart,header-noscript-search,mobile-drawer__header,shop-filters__header,site-header,site-header__main,site-header__main-inner,site-header__promise,site-header__top,site-header__top-inner,site-header__top-links; cards=advice-placeholder-card,article-aside__card,article-card,article-card__body,article-card__media,article-card__meta,category-editorial-card,category-editorial-card__arrow,category-editorial-card__content,category-editorial-card__copy,category-editorial-card__index,category-editorial-card__overlay,contact-cards,dual-entry__card,form-card,post-card,post-card__content,post-card__media,post-card__meta,power-card,power-card--engine,power-card__content,power-card__visual,product-card,product-card__content,product-card__cta,product-card__inner,product-card__media,product-card__media-arrow,product-card__meta; grids=about-intro__grid,about-method__grid,advice-placeholder-grid,archive-hero__grid,article-grid,brand-grid,brand-grid--catalog,category-editorial-grid,dual-entry__grid,faq-band__grid,faq-page__grid,filter-price-grid,form-grid,form-grid--2,post-grid,product-editorial-grid,product-fallback-grid,professional-needs__grid,professional-solutions__grid,search-results-grid,service-overview__grid,service-preparation__grid,site-footer__grid,task-grid,v4-advice-grid,v4-category-grid,v4-hero__grid,v4-location-section__grid,v4-partner-section__grid,v4-power-grid */

:root {
  --g5-orange: #F36C21;
  --g5-orange-dark: #C84E0D;
  --g5-orange-soft: #FFF2EA;
  --g5-graphite: #171A18;
  --g5-graphite-2: #272C29;
  --g5-green: #2E5B3A;
  --g5-green-soft: #EEF4EF;
  --g5-gray-900: #202521;
  --g5-gray-700: #535C56;
  --g5-gray-500: #7A827D;
  --g5-gray-300: #D7DCD8;
  --g5-gray-200: #E7EAE8;
  --g5-gray-100: #F4F5F3;
  --g5-white: #FFFFFF;
  --g5-shadow-sm: 0 8px 24px rgba(23, 26, 24, .07);
  --g5-shadow-md: 0 18px 48px rgba(23, 26, 24, .11);
  --g5-radius-sm: 8px;
  --g5-radius: 14px;
  --g5-radius-lg: 24px;
  --g5-container: min(1440px, calc(100vw - 48px));
  --g5-section-space: clamp(72px, 7.5vw, 128px);
  --g5-header-offset: 128px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--g5-header-offset); }
html, body { max-width: 100%; }
body.gagachevi-v5 {
  background: var(--g5-white);
  color: var(--g5-graphite);
  font-size: clamp(16px, .35vw + 14px, 18px);
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.gagachevi-v5 *, body.gagachevi-v5 *::before, body.gagachevi-v5 *::after { box-sizing: border-box; }
body.gagachevi-v5 :where(main, section, article, aside, header, footer, nav, div, form, fieldset, ul, ol) { min-width: 0; }
body.gagachevi-v5 :where(img, picture, video, iframe, svg, canvas) { max-width: 100%; }
body.gagachevi-v5 img { height: auto; }
body.gagachevi-v5 :where(h1,h2,h3,h4,h5,h6) {
  color: var(--g5-graphite);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
body.gagachevi-v5 h1 { font-size: clamp(2.6rem, 6.8vw, 7.1rem); }
body.gagachevi-v5 h2 { font-size: clamp(2.15rem, 4.4vw, 4.9rem); }
body.gagachevi-v5 h3 { font-size: clamp(1.35rem, 2vw, 2.15rem); line-height: 1.08; }
body.gagachevi-v5 :where(p,li,dd,dt,label,input,textarea,select,button,a) { overflow-wrap: anywhere; }
body.gagachevi-v5 p { text-wrap: pretty; }
body.gagachevi-v5 a { text-underline-offset: .18em; }
body.gagachevi-v5 a:not([class]) { color: var(--g5-orange-dark); }
body.gagachevi-v5 :where(a,button,input,textarea,select,summary,[tabindex]):focus-visible {
  outline: 3px solid var(--g5-orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(243,108,33,.18);
}
body.gagachevi-v5 :where(button,[type=button],[type=submit],[role=button],summary) { min-height: 44px; }
body.gagachevi-v5 button { cursor: pointer; }
body.gagachevi-v5 .skip-link {
  position: fixed !important; left: 16px; top: 16px; z-index: 999999;
  transform: translateY(-180%); background: var(--g5-graphite); color: #fff !important;
  padding: 12px 18px; border-radius: 6px;
}
body.gagachevi-v5 .skip-link:focus { transform: none; }

/* Universal container and vertical rhythm. */
body.gagachevi-v5 :where(.container,.site-container,.wrap,.section-inner,.content-width,.shell) {
  width: var(--g5-container);
  margin-inline: auto;
}
body.gagachevi-v5 main > section { position: relative; }
body.gagachevi-v5 main > section:not([class*="hero"]):not(.woocommerce) { padding-block: var(--g5-section-space); }
body.gagachevi-v5 main > section + section { border-top: 1px solid rgba(23,26,24,.07); }
body.gagachevi-v5 [class*="section-head"],
body.gagachevi-v5 [class*="section__head"],
body.gagachevi-v5 .section-header { max-width: 920px; margin-inline: auto; margin-bottom: clamp(32px,4vw,64px); text-align: center; }
body.gagachevi-v5 [class*="section-head"] p,
body.gagachevi-v5 [class*="section__head"] p,
body.gagachevi-v5 .section-header p { max-width: 720px; margin: 18px auto 0; color: var(--g5-gray-700); }
body.gagachevi-v5 .eyebrow,
body.gagachevi-v5 [class*="eyebrow"],
body.gagachevi-v5 [class*="kicker"] {
  display: inline-flex; align-items: center; gap: 10px; color: var(--g5-orange-dark);
  font-size: .75rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
body.gagachevi-v5 .eyebrow::before,
body.gagachevi-v5 [class*="eyebrow"]::before,
body.gagachevi-v5 [class*="kicker"]::before { content: ""; width: 28px; height: 2px; background: var(--g5-orange); flex: 0 0 auto; }

/* Header: permanent white surface, deterministic contrast and no wrapping. */
body.gagachevi-v5 .site-header,
body.gagachevi-v5 header.site-header,
body.gagachevi-v5 [class*="site-header"] {
  background: rgba(255,255,255,.97) !important;
  color: var(--g5-graphite) !important;
  border-bottom: 1px solid var(--g5-gray-200);
  box-shadow: 0 8px 28px rgba(23,26,24,.05);
  isolation: isolate;
}
body.gagachevi-v5 .site-header::before,
body.gagachevi-v5 header.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--g5-orange); z-index: 3; }
body.gagachevi-v5 .site-header :where(a,button,span,svg) { color: inherit; }
body.gagachevi-v5 .site-header a { text-decoration: none; }
body.gagachevi-v5 .site-header nav ul { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(12px,1.5vw,28px); margin: 0; padding: 0; list-style: none; }
body.gagachevi-v5 .site-header nav a { position: relative; color: var(--g5-graphite) !important; font-weight: 750; white-space: nowrap; }
body.gagachevi-v5 .site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--g5-orange); transition: right .2s ease; }
body.gagachevi-v5 .site-header nav a:hover::after,
body.gagachevi-v5 .site-header nav .current-menu-item > a::after,
body.gagachevi-v5 .site-header nav a[aria-current="page"]::after { right: 0; }
body.gagachevi-v5 .site-header .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.gagachevi-v5 .site-header .custom-logo { width: auto; max-width: 220px; max-height: 68px; object-fit: contain; }
body.gagachevi-v5 .site-header [class*="cart"],
body.gagachevi-v5 .site-header [class*="account"],
body.gagachevi-v5 .site-header [class*="search"] { flex: 0 0 auto; }
body.admin-bar.gagachevi-v5 .site-header { top: 32px; }

/* Drawers, mobile menu and dialogs: opaque, readable and keyboard-safe. */
body.gagachevi-v5 :where([class*="mobile-menu"],[class*="mobile-panel"],[class*="menu-drawer"],[class*="search-panel"],[class*="cart-drawer"],[role="dialog"]) {
  background: var(--g5-white) !important;
  color: var(--g5-graphite) !important;
}
body.gagachevi-v5 :where([class*="mobile-menu"],[class*="mobile-panel"],[class*="menu-drawer"]) :where(a,button,span) { color: var(--g5-graphite) !important; }
body.gagachevi-v5 :where([class*="mobile-menu"],[class*="menu-drawer"]) a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--g5-gray-200); }
body.gagachevi-v5 :where([class*="mobile-menu"],[class*="menu-drawer"]) .current-menu-item > a { color: var(--g5-orange-dark) !important; }
body.gagachevi-v5.has-v5-overlay { overflow: hidden; touch-action: none; }

/* Buttons: consistent hierarchy. */
body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid var(--g5-orange);
  border-radius: var(--g5-radius-sm); background: var(--g5-orange); color: #fff !important;
  font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none !important;
  box-shadow: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button):hover {
  background: var(--g5-orange-dark); border-color: var(--g5-orange-dark); transform: translateY(-2px); box-shadow: var(--g5-shadow-sm);
}
body.gagachevi-v5 :where(.button.is-outline,.button--outline,.btn--outline,.button.secondary,.btn.secondary) { background: transparent; color: var(--g5-graphite) !important; border-color: var(--g5-gray-300); }
body.gagachevi-v5 :where(.button.is-outline,.button--outline,.btn--outline,.button.secondary,.btn.secondary):hover { background: var(--g5-graphite); border-color: var(--g5-graphite); color: #fff !important; }
body.gagachevi-v5 :where(button,input,select,textarea):disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* Hero: clean white editorial composition that does not upscale low-resolution photography. */
body.gagachevi-v5 :where([class*="home-hero"],.hero,.page-hero,[class*="hero-section"]) {
  background: linear-gradient(135deg,#fff 0 68%,var(--g5-orange-soft) 68% 100%) !important;
  color: var(--g5-graphite) !important;
  overflow: clip;
}
body.gagachevi-v5 :where([class*="home-hero"],.hero,.page-hero,[class*="hero-section"])::after {
  content: ""; position: absolute; width: clamp(180px,22vw,420px); aspect-ratio: 1; right: -8%; bottom: -42%;
  border: clamp(30px,5vw,84px) solid rgba(243,108,33,.09); border-radius: 50%; pointer-events: none;
}
body.gagachevi-v5 :where([class*="hero-content"],[class*="hero__content"],.hero-content) { position: relative; z-index: 2; max-width: 760px; }
body.gagachevi-v5 :where([class*="hero-content"],[class*="hero__content"],.hero-content) :where(h1,h2,p) { color: var(--g5-graphite) !important; text-shadow: none !important; }
body.gagachevi-v5 :where([class*="hero-content"],[class*="hero__content"],.hero-content) p { max-width: 62ch; color: var(--g5-gray-700) !important; }
body.gagachevi-v5 :where([class*="hero-media"],[class*="hero__media"],[class*="hero-image"],[class*="hero-visual"]) {
  position: relative; z-index: 1; max-width: 760px; margin-inline: auto; padding: clamp(10px,1.5vw,24px);
}
body.gagachevi-v5 :where([class*="hero-media"],[class*="hero__media"],[class*="hero-image"],[class*="hero-visual"]) img {
  display: block; width: 100%; max-height: 650px; object-fit: cover; object-position: center;
  border-radius: var(--g5-radius-lg); box-shadow: var(--g5-shadow-md); background: var(--g5-gray-100);
}
body.gagachevi-v5 .page-hero { min-height: auto !important; padding-block: clamp(64px,8vw,118px) !important; }
body.gagachevi-v5 .page-hero h1 { max-width: 16ch; }

/* Grids and cards: equal, symmetric and resilient to long Bulgarian content. */
body.gagachevi-v5 :where([class*="grid"],[class*="cards"],ul.products) { align-items: stretch; }
body.gagachevi-v5 :where([class*="grid"],[class*="cards"],ul.products) > * { min-width: 0; height: 100%; }
body.gagachevi-v5 :where([class*="card"],li.product,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) {
  border-color: var(--g5-gray-200) !important;
}
body.gagachevi-v5 :where([class*="card"],li.product) {
  border-radius: var(--g5-radius); background: var(--g5-white);
}
body.gagachevi-v5 :where([class*="card"],li.product):hover { box-shadow: var(--g5-shadow-md); }
body.gagachevi-v5 :where([class*="card-title"],[class*="card__title"],li.product h2,li.product h3) { min-height: 2.16em; }
body.gagachevi-v5 :where([class*="principles"],[class*="values"],[class*="features"]) { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }

/* Images and galleries: controlled ratios, clear labels and no giant low-res full bleeds. */
body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) { gap: clamp(12px,1.4vw,24px); }
body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) > * {
  position: relative; overflow: clip; border-radius: var(--g5-radius); background: var(--g5-gray-100);
}
body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) img {
  width: 100%; height: 100%; min-height: 240px; max-height: 520px; object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.65,.2,1), filter .3s ease;
}
body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) > *::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(14,18,15,.58),transparent 52%); pointer-events: none;
}
body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) > *:hover img { transform: scale(1.035); filter: saturate(1.04); }
body.gagachevi-v5 :where(.wp-post-image,.attachment-woocommerce_thumbnail) { background: var(--g5-gray-100); }

/* Forms: usable at every width with clear labels and states. */
body.gagachevi-v5 :where(form,.woocommerce form) { max-width: 100%; }
body.gagachevi-v5 :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) {
  width: 100%; min-height: 50px; border: 1px solid #BFC6C1; border-radius: var(--g5-radius-sm);
  background: #fff; color: var(--g5-graphite); padding: 12px 14px; font: inherit;
}
body.gagachevi-v5 textarea { min-height: 150px; resize: vertical; }
body.gagachevi-v5 :where(input,select,textarea):focus { border-color: var(--g5-orange); box-shadow: 0 0 0 4px rgba(243,108,33,.12); outline: none; }
body.gagachevi-v5 label { display: inline-block; margin-bottom: 7px; color: var(--g5-graphite); font-weight: 750; }
body.gagachevi-v5 :where(.form-row,[class*="form-grid"],[class*="fields-grid"]) { min-width: 0; }
body.gagachevi-v5 :where(.form-error,.error,.woocommerce-error,[aria-invalid="true"]) { color: #8B1D12; }
body.gagachevi-v5 :where(.woocommerce-message,.woocommerce-info,.woocommerce-error,[role="status"],[role="alert"]) {
  border-radius: var(--g5-radius-sm); padding: 16px 18px; border: 1px solid var(--g5-gray-300); background: var(--g5-gray-100); color: var(--g5-graphite);
}
body.gagachevi-v5 .woocommerce-message { border-left: 4px solid var(--g5-green); }
body.gagachevi-v5 .woocommerce-error { border-left: 4px solid #B42318; }
body.gagachevi-v5 .is-submitting { pointer-events: none; opacity: .72; }

/* WooCommerce: technical but clean product UI. */
body.gagachevi-v5 .woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(18px,2vw,32px); margin: 0;
}
body.gagachevi-v5 .woocommerce ul.products::before,
body.gagachevi-v5 .woocommerce ul.products::after { display: none; }
body.gagachevi-v5 .woocommerce ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 20px;
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--g5-gray-200);
}
body.gagachevi-v5 .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
body.gagachevi-v5 .woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1 / .82; object-fit: contain; padding: 18px; margin: 0; background: var(--g5-gray-100); }
body.gagachevi-v5 .woocommerce ul.products li.product :where(.woocommerce-loop-product__title,.price) { margin-inline: 20px; }
body.gagachevi-v5 .woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--g5-graphite); font-size: clamp(1.08rem,1vw,1.32rem); line-height: 1.18; letter-spacing: -.02em; }
body.gagachevi-v5 .woocommerce ul.products li.product .price { margin-top: auto; color: var(--g5-graphite); font-weight: 850; }
body.gagachevi-v5 .woocommerce ul.products li.product .button { margin: 16px 20px 0; }
body.gagachevi-v5 .woocommerce span.onsale { min-width: 0; min-height: 0; padding: 7px 10px; border-radius: 6px; background: var(--g5-orange); line-height: 1.2; }
body.gagachevi-v5 .woocommerce div.product { display: flow-root; }
body.gagachevi-v5 .woocommerce div.product div.images img { border-radius: var(--g5-radius); background: var(--g5-gray-100); }
body.gagachevi-v5 .woocommerce div.product .summary { padding: clamp(20px,3vw,48px); border: 1px solid var(--g5-gray-200); border-radius: var(--g5-radius-lg); background: #fff; }
body.gagachevi-v5 .woocommerce div.product .product_title { font-size: clamp(2.1rem,4vw,4.8rem); }
body.gagachevi-v5 .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body.gagachevi-v5 .woocommerce div.product form.cart .variations { width: 100%; }
body.gagachevi-v5 .woocommerce div.product form.cart .button { flex: 1 1 220px; }
body.gagachevi-v5 .woocommerce table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--g5-gray-200); border-radius: var(--g5-radius); overflow: hidden; }
body.gagachevi-v5 .woocommerce table.shop_table th,
body.gagachevi-v5 .woocommerce table.shop_table td { padding: 14px; border-color: var(--g5-gray-200); }
body.gagachevi-v5 .woocommerce-checkout #customer_details,
body.gagachevi-v5 .woocommerce-checkout #order_review { min-width: 0; }
body.gagachevi-v5 .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
body.gagachevi-v5 .woocommerce-MyAccount-navigation a { display: block; padding: 12px 14px; color: var(--g5-graphite); text-decoration: none; border-bottom: 1px solid var(--g5-gray-200); }

/* Tables and long technical content. */
body.gagachevi-v5 .wp-block-table,
body.gagachevi-v5 .woocommerce-product-attributes { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.gagachevi-v5 table { max-width: 100%; }
body.gagachevi-v5 pre, body.gagachevi-v5 code { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Footer: one strong dark anchor, readable typography. */
body.gagachevi-v5 .site-footer,
body.gagachevi-v5 footer.site-footer { background: var(--g5-graphite) !important; color: rgba(255,255,255,.82) !important; }
body.gagachevi-v5 .site-footer :where(h2,h3,h4,strong) { color: #fff !important; }
body.gagachevi-v5 .site-footer a { color: rgba(255,255,255,.86) !important; }
body.gagachevi-v5 .site-footer a:hover { color: #fff !important; text-decoration-color: var(--g5-orange); }

/* Prevent decorative effects from hiding content. */
body.gagachevi-v5 :where([data-reveal],[class*="reveal"],[class*="animate"]) { visibility: visible; }
body.gagachevi-v5:not(.v5-motion-ready) :where([data-reveal],[class*="reveal"]) { opacity: 1 !important; transform: none !important; }

@media (max-width: 1279px) {
  :root { --g5-header-offset: 92px; --g5-container: min(100% - 40px, 1180px); }
  body.gagachevi-v5 .site-header nav ul { gap: 14px; }
  body.gagachevi-v5 .site-header nav a { font-size: .88rem; }
  body.gagachevi-v5 .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  :root { --g5-container: min(100% - 32px, 900px); --g5-section-space: clamp(60px,9vw,92px); }
  body.admin-bar.gagachevi-v5 .site-header { top: 46px; }
  body.gagachevi-v5 :where([class*="principles"],[class*="values"],[class*="features"]) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.gagachevi-v5 .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.gagachevi-v5 .woocommerce div.product div.images,
  body.gagachevi-v5 .woocommerce div.product div.summary { float: none; width: 100%; }
}
@media (max-width: 767px) {
  :root { --g5-container: min(100% - 24px, 620px); --g5-header-offset: 78px; --g5-section-space: 58px; }
  body.gagachevi-v5 { font-size: 16px; }
  body.gagachevi-v5 h1 { font-size: clamp(2.55rem,13vw,4.35rem); line-height: .96; }
  body.gagachevi-v5 h2 { font-size: clamp(2rem,10vw,3.4rem); }
  body.gagachevi-v5 h3 { font-size: clamp(1.3rem,6vw,1.8rem); }
  body.gagachevi-v5 main > section:not([class*="hero"]):not(.woocommerce) { padding-block: var(--g5-section-space); }
  body.gagachevi-v5 [class*="section-head"],
  body.gagachevi-v5 [class*="section__head"],
  body.gagachevi-v5 .section-header { text-align: left; margin-inline: 0; }
  body.gagachevi-v5 [class*="section-head"] p,
  body.gagachevi-v5 [class*="section__head"] p,
  body.gagachevi-v5 .section-header p { margin-inline: 0; }
  body.gagachevi-v5 :where([class*="home-hero"],.hero,.page-hero,[class*="hero-section"]) { background: linear-gradient(180deg,#fff 0 74%,var(--g5-orange-soft) 74% 100%) !important; }
  body.gagachevi-v5 :where([class*="hero-media"],[class*="hero__media"],[class*="hero-image"],[class*="hero-visual"]) img { max-height: 430px; }
  body.gagachevi-v5 :where([class*="grid"],[class*="cards"]) { grid-template-columns: 1fr !important; }
  body.gagachevi-v5 :where([class*="principles"],[class*="values"],[class*="features"]) { grid-template-columns: 1fr !important; }
  body.gagachevi-v5 .woocommerce ul.products { grid-template-columns: 1fr; gap: 18px; }
  body.gagachevi-v5 .woocommerce ul.products li.product img { aspect-ratio: 1 / .72; }
  body.gagachevi-v5 .woocommerce div.product .summary { padding: 20px; }
  body.gagachevi-v5 .woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--g5-gray-200); }
  body.gagachevi-v5 .woocommerce table.shop_table_responsive td { display: grid !important; grid-template-columns: minmax(90px,40%) 1fr; gap: 12px; text-align: right !important; }
  body.gagachevi-v5 .woocommerce table.shop_table_responsive td::before { text-align: left; }
  body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button) { width: 100%; }
  body.gagachevi-v5 .site-footer { font-size: 15px; }
}
@media (max-width: 430px) {
  :root { --g5-container: calc(100% - 20px); }
  body.gagachevi-v5 h1 { font-size: clamp(2.35rem,12.3vw,3.45rem); letter-spacing: -.055em; }
  body.gagachevi-v5 .site-header .custom-logo { max-width: 170px; max-height: 54px; }
  body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) img { min-height: 220px; }
}
@media (max-width: 360px) {
  :root { --g5-container: calc(100% - 16px); }
  body.gagachevi-v5 h1 { font-size: clamp(2.15rem,12vw,3rem); }
  body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button) { padding-inline: 14px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) {
  body.gagachevi-v5 :where([class*="mobile-menu"],[class*="menu-drawer"],[role="dialog"]) { overflow-y: auto; max-height: 100dvh; }
  body.gagachevi-v5 .page-hero { padding-block: 48px !important; }
}
@media (hover: none), (pointer: coarse) {
  body.gagachevi-v5 :where([class*="card"],li.product):hover { transform: none; }
  body.gagachevi-v5 :where([class*="gallery"],[class*="mosaic"],[class*="photo-grid"]) > *:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.gagachevi-v5 *, body.gagachevi-v5 *::before, body.gagachevi-v5 *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  body.gagachevi-v5 :where([data-reveal],[class*="reveal"],[class*="animate"]) { opacity: 1 !important; transform: none !important; }
}
@media (forced-colors: active) {
  body.gagachevi-v5 :where(.button,.btn,button,[role=button]) { border: 2px solid ButtonText; }
}


/* V5 final AA contrast normalization */
body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button) {
  background-color: #B8440B; border-color: #B8440B; color: #FFFFFF !important;
}
body.gagachevi-v5 :where(.button,.btn,button[type="submit"],input[type="submit"],.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button):hover {
  background-color: #923508; border-color: #923508; color: #FFFFFF !important;
}
body.gagachevi-v5 .woocommerce span.onsale { background:#B8440B; color:#FFFFFF; }
body.gagachevi-v5 ::placeholder { color:#5D6560; opacity:1; }
body.gagachevi-v5 :where(small,.small,[class*="muted"],[class*="caption"],[class*="description"]) { color:#535C56; }
body.gagachevi-v5 :where(.site-footer,footer.site-footer) :where(p,li,small,.small,[class*="muted"],[class*="caption"]) { color:#DDE1DE !important; }
body.gagachevi-v5 :where(.site-footer,footer.site-footer) :where(a,button) { color:#FFFFFF !important; }
body.gagachevi-v5 :where(.woocommerce-info,.woocommerce-message) a { color:#7D2A05; font-weight:800; }
