:root{
  --bg:#fff;
  --text:#111;
  --muted:#666;
  --border:#e5e5e5;
  --accent:#111;
  --accent-2:#000;
  --container:1920px;
  --gap:16px;
}

body{
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

h1,h2,h3,h4,h5,h6{
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

button,.button,input[type=submit]{
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

html, body {
  height: 100%;
}

html, body { height:100%; margin:0; }

#page{ min-height:100vh; display:flex; flex-direction:column; }
main[role="main"], main.site-main { flex:1; }
.site-footer{ margin:0; }
.entry-content > :last-child{ margin-bottom:0; }

/* скрыть live-region Woo */
.screen-reader-text{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}

a:link,
a:visited { color: inherit; }

.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product .woocommerce-loop-product__link:link,
.woocommerce ul.products li.product .woocommerce-loop-product__link:visited {
  color: var(--text);
}

/* ===== Reset-lite */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #000;outline-offset:2px}
ul,ol{margin:0;padding:0;list-style:none}

/* ===== Layout */
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.main{padding:32px 0}

/* ===== Header */
.site-header{
  position:sticky;
  top:0;
  /* background:var(--bg); */
  z-index:50;
  padding-top: env(safe-area-inset-top);
}

.header-left{display:flex;align-items:center;gap:12px}
.site-title{font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.custom-logo-link{display:inline-flex;align-items:center}
.site-description{display:none}

/* ===== Nav */
.burger{display:inline-flex;flex-direction:column;gap:4px;width:36px;height:32px;background:transparent;border:0;padding:4px;cursor:pointer}
.burger span{display:block;height:2px;background:#000;width:100%;transition:transform .2s ease,opacity .2s ease}
.burger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ===== Cart icon */
.cart-link{display:inline-flex;align-items:center;gap:8px}
.cart-icon{width:28px;height:28px;display:block}

/* ===== Buttons + inputs */
button,.button,input[type=submit]{
  background:#000;color:#fff;border:1px solid #000;
  padding:10px 16px;border-radius:10px;cursor:pointer
}
button:hover,.button:hover,input[type=submit]:hover{opacity:.9}
input,select,textarea{
  border:1px solid var(--border);border-radius:8px;padding:10px 12px;
}

.hide{display:none!important}
.mt-32{margin-top:32px}
.mb-32{margin-bottom:32px}

/* header базовый */
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:80px;
  position:relative;
}

.header-left,
.header-right{flex:1 1 0%}
.header-left{display:flex;align-items:center;gap:12px}
.header-right{display:flex;justify-content:flex-end;align-items:center;gap:16px}

.header-center{flex:0 0 auto;display:flex;justify-content:center}
.site-logo img{height:72px;width:auto;display:block}

/* меню десктоп */
@media (min-width:992px){
  .desktop-only{display:inline-block}
  .mobile-only{display:none}
}

.search-form{
  display:flex;
  align-items:center;
  max-width:280px;
  min-width:180px;
  border-bottom:1px solid #000;
}

.search-form .search-field{
  all: unset;
  font:10px "Inter",sans-serif;
  background:transparent;
  box-sizing:border-box;
}

.search-form .search-field::-webkit-search-cancel-button,
.search-form .search-field::-webkit-search-decoration{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-label{flex:1}

.search-field{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
}

.search-submit{
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.search-submit img{
  width:18px;
  height:18px;
  display:block;
}

.search-underline .search-field {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  box-shadow: none;
}

.search-underline .search-field::-webkit-search-decoration,
.search-underline .search-field::-webkit-search-cancel-button,
.search-underline .search-field::-webkit-search-results-button,
.search-underline .search-field::-webkit-search-results-decoration {
  display: none;
}

.search-underline .search-field[type="search"]::-moz-search-clear {
  display: none;
}

.nav-close{
  position:absolute;
  top:24px;
  right:28px;
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nav-close img{
  width:100%;
  height:100%;
  display:block;
}

.nav-open{overflow:hidden}

/* Кнопка MENU как на скрине */
.menu-toggle{
  background:none;
  border:0;
  padding:0;
  margin:0;
  cursor:pointer;
  font-family:"Inter",sans-serif;
  font-size:16px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#000;
}

.menu-toggle:hover{
  opacity:.7;
}

@media (min-width:992px){
  .desktop-only{display:inline-block}
  .mobile-only{display:none}

  .header-left{position:relative}
  .main-nav{
    position:absolute;
    top:100%; left:0;
    min-width:220px;
    opacity:0; transform:translateY(-10px);
    pointer-events:none;
    z-index:150;
    max-width: 310px;
  }
  .main-nav.is-open{
    opacity:1; transform:translateY(0);
    pointer-events:auto;
  }

  .main-nav .menu{
    display:flex; flex-direction:column;
  }

  .main-nav .menu > li > a{
    padding:12px 16px;
    display:block;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.2em;
    font-weight:500;
  }

  .main-nav .menu > li > a:hover{
    background:#f6f6f6;
  }


  .nav-close{
    position:absolute; top:0; right:10px;
    width:28px; height:28px; border:0; background:none; padding:0; cursor:pointer;
    display:flex; align-items:center; justify-content:center; z-index: 999;
}

  .nav-close img{width:100%; height:100%; display:block}
}

.main-nav .container{
  margin:0;
  padding:0;
}

.main-nav .js-submenu-link{
  display:block;
  padding:4px 20px;
  font-family:"Inter",sans-serif;
  font-size:14px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#000;
  transition:background .2s ease, color .2s ease;
}

.main-nav .js-submenu-link:hover {
  opacity: .6;
}

.main-nav.minimal .js-submenu-link:hover{
  background:none;
  color:#888;
}

@media (max-width: 991.98px){
  .mobile-only{display:inline-flex}
  .desktop-only{display:none}

  .header-left{position:static}

  .main-nav{
    position:fixed; left:0; right:0; top:0; height:100vh;
    background:#fff;
    padding:64px 0 24px;
    transform:translateY(-100%);
    transition:transform .25s ease;
    pointer-events:none;
    z-index:3001;
  }

  .main-nav.is-open{
    transform:translateY(0);
    pointer-events:auto;
  }

  .nav-close{top:20px; right:20px}

  .main-nav .menu{
    display:flex; flex-direction:column; gap:22px;
  }
  .main-nav .menu > li > a{
    display:block;
    padding:0;
    font-size:18px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.25em;
  }

  .main-nav .container{
    margin:0;
    padding:5px 0;
    text-align: center;
  }

  html.nav-open::before{
    content:""; position:fixed; inset:0; background:rgba(0,0,0,.06);
  }
  html.nav-open{overflow:hidden}
}

@media (max-width: 991.98px){
  .header-row{position:relative; min-height:64px; padding:0 16px}

  .burger{display:inline-flex}
  .desktop-only{display:none}

  .mobile-center{
    position:absolute; left:50%; top:50%;
    transform:translate(-50%,-50%);
  }
  .mobile-center img{height:28px; width:auto; display:block}

  .icons-right{margin-left:auto; display:flex; align-items:center; gap:18px}
  .icons-right .icon{width:24px; height:24px; display:block}

  .burger, .icons-right a{
    height:44px; width:44px; display:inline-flex; align-items:center; justify-content:center;
  }

  .search-form{display:none}
}

@media (max-width:991.98px){
  .header-right .icon{width:24px;height:24px;display:block}
  .desktop-only{display:none}
  .mobile-only{display:inline-flex}
}

.search-panel{
  position:fixed; inset:0; z-index:250; background:rgba(0,0,0,.6);
  opacity:0; transform:translateY(-8px); pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.search-panel.is-open{opacity:1; transform:none; pointer-events:auto}
.search-panel__form{background:#fff; padding:14px 16px}
.search-panel__input{
  width:100%; border:0; border-bottom:2px solid #000; background:transparent;
  padding:10px 40px 8px 0; font:16px "Inter",sans-serif; outline:0;
  -webkit-appearance:none; appearance:none;
}
.search-panel__submit{position:absolute; right:24px; top:18px; border:0; background:none; padding:0; cursor:pointer}
.search-panel__submit img{width:22px;height:22px;display:block}
html.search-open{overflow:hidden}

:root{ --header-h:64px }

@media (max-width: 991.98px){
  .site-header{
    position:fixed; top:0; left:0; right:0;
  }

  #page{ padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

  .header-row{
    min-height:var(--header-h);
    padding:0 5px;
    align-items:center;
    gap:12px;
  }

  .burger{
    -webkit-appearance:none; appearance:none;
    border:0; background:transparent; padding:0; margin:0;
    width:44px; height:44px; justify-content:center; align-items:center;
  }
  .burger span{height:2px; width:22px; background:#111; border-radius:1px}
  .burger span:not(:first-child){margin-top:4px}

  .header-center{position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); pointer-events:auto}
  .site-logo img{height:48px; width:auto; display:block}

  .header-right{margin-left:auto; gap:0}
  .header-right a,
  .header-right .search-toggle{
    -webkit-appearance:none; appearance:none;
    border:0; background:transparent; padding:0; margin:0;
    width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  }
  .header-right .icon,
  .cart-icon{width:26px; height:26px}

  .search-form.desktop-only{display:none}

  .search-panel__form{
    position:relative;
    background:#fff;
    padding:20px 24px;
  }

  .search-panel__input{
    width:100%;
    border:0;
    border-bottom:1px solid #111;
    outline:none;
    font:16px/1.4 "Inter", sans-serif;
    padding:8px 32px 8px 0;
    background:transparent;
    color:#111;
    -webkit-appearance:none;
    appearance:none;
  }

  .search-panel__submit{
    position:absolute;
    right:28px; top:50%;
    transform:translateY(-50%);
    border:0;
    background:none;
    padding:0;
    cursor:pointer;
  }
  .search-panel__submit img{
    width:20px; height:20px; display:block;
  }
  .burger img {
    width: 30px;
    height: 30px;
    display: block;
  }
}

.wp-block-search, .widget_search{display:none}

.header-search{
  position:fixed; 
  left:0; 
  right:0; 
  top:0; 
  height:55px; 
  background:#fff;
  z-index:2100;
  padding:16px calc(16px + env(safe-area-inset-right)) 10px
           calc(16px + env(safe-area-inset-left));
  transform:translateY(-90px);
  transition:transform .45s ease;
}
html.open-search .header-search{transform:translateY(0)}

.header-search .js-search-input{
  all:unset; display:block; width:100%; box-sizing:border-box;
  font:16px "Inter",sans-serif; color:#111; caret-color:#111;
  border-bottom:1px solid #111; padding:8px 40px 0 0;
}

.header-search__submit{
  position:absolute; right:calc(16px + env(safe-area-inset-right));
  top:16px; width:22px; height:22px; border:0; background:none; padding:0; cursor:pointer;
}
.header-search__submit img{width:100%;height:100%;display:block}

html.open-search{overflow:hidden}

html.open-search::before{
  content:""; 
  position:fixed; 
  inset:0; 
  z-index:2000;
  background:rgba(0,0,0,.6); 
}

html.open-search .site-header{z-index:3000}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
input[type="search"]::-moz-search-clear {
  display: none;
}

.site-footer {
  background: var(--bg);
  padding: 32px 0 28px;
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  text-align: right;
}

.footer-line {
  margin: 0;
  font: 500 12px/1.4 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text);
}

.footer-line a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.footer-line a:hover { opacity:.6; }

@media (max-width: 767.98px) {
  .footer-line {
    font-size: 10px;
    letter-spacing: .14em;
    line-height: 1.8;
    white-space: normal;
    word-break: break-word;
  }

  .site-footer {
    padding: 20px 0;
  }

  .footer-container {
    padding: 0 10px;
    text-align: center;
  }
}

#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  transform: translateY(100%);
  opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
  z-index: 9999;
}

#cookie-banner.active {
  transform: translateY(0);
  opacity: 1; visibility: visible;
  transition: transform .3s ease, opacity .3s ease;
}

.cookie-container {
  background: var(--bg);
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

#cookie-banner p {
  margin: 0;
  font: 12px/1.5 "Inter", sans-serif;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  flex: 1;
}

#accept-cookies {
  all: unset;
  cursor: pointer;
  font: 600 12px/1.4 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--text);
  transition: opacity .2s ease;
}

#accept-cookies:hover {
  opacity: .6;
}

#accept-cookies:hover { opacity: .9; }
#accept-cookies:active { transform: scale(.97); }

@media (max-width: 640px) {
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }
  #cookie-banner p {
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
  }
  #accept-cookies {
    width: 100%;
    text-align: center;
  }
}

#to-top {
  position: fixed;
  right: 20px;
  bottom: 50px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, transform .2s ease;
  z-index: 999;
}

#to-top img {
  width: 100%;
  height: 100%;
  display: block;
}

#to-top.show {
  opacity: 1;
  visibility: visible;
}

#to-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 991.98px) {
  #to-top {
    display: none !important;
  }
}

.oh-global-notices{
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font: 600 12px Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.oh-global-notices a{color:#fff;text-decoration:underline}

.oh-global-notices ul{margin:0;padding:0;list-style:none}
.oh-global-notices li{display:inline}
.oh-global-notices li+li::before{content:" — ";padding:0 .4em}

.oh-global-notices .woocommerce-message,
.oh-global-notices .woocommerce-error,
.oh-global-notices .woocommerce-info{background:none!important;border:0!important;color:#fff!important;margin:0;padding:0}

.oh-global-notices:focus{outline:0}
.oh-global-notices [tabindex="-1"]:focus{outline:0!important}
.oh-global-notices :focus:not(:focus-visible){outline:0!important}

.oh-global-notices{transition:opacity .3s, visibility 0s linear .3s}
.oh-global-notices.is-hidden{opacity:0;visibility:hidden}

.woocommerce-no-products-found{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:60vh;
  padding:24px 16px;
}

.woocommerce-no-products-found .woocommerce-info{
  background:#fff;
  padding:12px 16px;
  margin:0;
  color:#000;
  font:500 12px Inter, sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.6;
  text-align: center;
}
.woocommerce-no-products-found .woocommerce-info:before{display:none!important}
.woocommerce-no-products-found .woocommerce-info a{
  color:#000;
  text-decoration:none;
  opacity:1;
  transition:opacity .15s;
}
@media (hover:hover){
  .woocommerce-no-products-found .woocommerce-info a:hover{opacity:.9}
}

.woocommerce-pagination{display:none}

.main-nav .submenu {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  list-style: none;
  transition: max-height .3s ease, opacity .25s ease;
}

.main-nav section.has-sub.is-active > .submenu {
  max-height: 1000px;
  opacity: 1;
}

.main-nav a:focus {
  outline: none;
}

.main-nav a:focus {
  outline: none;
}

@media (max-width: 991.98px) {
  .main-nav .js-submenu-link:focus {
    outline: none;
    opacity: 1 !important;
  }
}

.woocommerce-variation-availability,
.single-product p.stock { display:none !important; }

.tg-contact{
  position:fixed;
  left:calc(20px + env(safe-area-inset-left, 0px));
  bottom:calc(20px + env(safe-area-inset-bottom, 0px));
  display:inline-flex;
  align-items:center;
  gap:0;
  height:56px;
  width:56px;
  padding:0;
  background:#fff;
  color:#111;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:
      0 1px 3px rgba(0, 0, 0, .04),
      0 3px 10px rgba(0, 0, 0, .06);
  -webkit-backdrop-filter:saturate(180%) blur(16px);
  backdrop-filter:saturate(180%) blur(16px);
  text-transform:uppercase;
  letter-spacing:.24em;
  font:600 12px/1 "Inter", sans-serif;
  transition:transform .2s ease, box-shadow .2s ease, opacity .25s ease;
  z-index:1200;
  overflow:hidden;
  justify-content:center;
}

.tg-contact__icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px}
.tg-contact__icon img{width:100%;height:100%;display:block}

.tg-contact__label{opacity:0; transform:translateX(8px); white-space:nowrap; will-change:opacity, transform; max-width:0; overflow:hidden}

@media (hover:hover){ .tg-contact:hover{box-shadow:0 4px 14px rgba(0,0,0,.12), 0 14px 36px rgba(0,0,0,.18); transform:translateY(-2px)} }

.tg-contact.is-open{box-shadow:0 4px 14px rgba(0,0,0,.10), 0 16px 38px rgba(0,0,0,.18); border-color:rgba(0,0,0,.1); justify-content:flex-start; gap:10px; padding:10px 12px 10px 10px}
.tg-contact.is-visible{opacity:1; transform:none}
.tg-contact.is-hidden{opacity:0; transform:translateY(8px); pointer-events:none}
.tg-contact.is-open .tg-contact__label{opacity:1; transform:none; max-width:220px}
.tg-contact:focus-visible{outline:2px solid rgba(17,17,17,.8); outline-offset:2px}

@media (prefers-reduced-motion: reduce){
  .tg-contact, .tg-contact__label{transition:none}
}

@media (max-width: 991.98px){
  .tg-contact{left:auto; right:calc(10px + env(safe-area-inset-right, 0px)); bottom:calc(12px + env(safe-area-inset-bottom, 0px))}
  .tg-contact__label{display:none}
}

@keyframes tgNudge {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-1px) scale(1.06); }
  100% { transform: translateY(0) scale(1); }
}
.is-nudge .tg-contact__icon{ animation: tgNudge 900ms ease both }

.single_add_to_cart_button {
  position: relative;
  overflow: visible !important;
}

.xt_atc-button-spinner-wrap {
  position: absolute !important;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
