/*!
Theme Name: truhanov_theme
Version: 1.0.0
*/

@font-face {
  font-family: 'Open_Sans';
  src: url('/wp-content/themes/truhanov_theme/assets/fonts/opensans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open_Sans';
  src: url('/wp-content/themes/truhanov_theme/assets/fonts/opensans-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('/wp-content/themes/truhanov_theme/assets/fonts/literata-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*
  Нормализация блочной модели
 */

*,
::before,
::after {
  box-sizing: border-box;
}

:where(ul, ol):where([class]) {
  padding-left: 0;
}

body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

:where(
  h1, h2, h3, h4, h5, h6,
  p, ul, ol, dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) { margin-left: 0; }
:where(fieldset[class]) { margin-left: 0; padding: 0; border: none; }
:where(ul[class]) { list-style: none; }
:where(address[class]) { font-style: normal; }

p {
  margin-block: 0;
}

p:where(:not([class]):not(:last-child)) {
  margin-bottom: 25px; /* Значение переменной по умолчанию */
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, textarea, select, button {
  font: inherit;
}

button {
  margin: 0; padding: 0;
  border: none; outline: none;
  background: none; color: inherit;
  font: inherit; text-align: inherit;
  text-decoration: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

html { height: 100%; }
html, :has(:target) { scroll-behavior: smooth; }
body { min-height: 100%; }

a:where([class]) { display: inline-flex; }
label { cursor: pointer; }

:where(table) { border-collapse: collapse; border-color: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.entry-content p:not([class]) {
    margin-bottom: 1.5em;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.entry-content ul:not([class]),
.entry-content ol:not([class]) {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    list-style: disc;
}

.entry-content a:not([class]) {
    display: inline;
}
.entry-content img {
    width: auto;
    margin: auto;
}

.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute !important;
    width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1; border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important; clip-path: none;
    color: #21759b; display: block; font-size: 0.875rem;
    font-weight: 700; height: auto; left: 5px;
    line-height: normal; padding: 15px 23px 14px;
    text-decoration: none; top: 5px; width: auto;
    z-index: 100000;
}
/*------------------------------------*/


:root {
  --shrift: #331e18;
  --seryy: #9da2ad;
  --akcent: #c72700;
  --akcentcard: #f8f8f8;
  --font-family: "Open_Sans", sans-serif;
  --second-family: "Literata", sans-serif;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fffdfa;
	font-family: var(--font-family);
	color: var(--shrift);
	font-size: 16px;
	line-height: 150%;
}

main {
	display: block;
}

/* h1 {
	font-size: 2em;
	margin: 0.67em 0;
} */

a{
	text-decoration: none;
  color: var(--shrift);
}
img{
	width: 100%;
	height: auto;
}
.container{
	max-width: 1360px;
	margin: 0 auto;
	padding: clamp(3.125rem, -3.533rem + 21.74vw, 6.25rem) clamp(1rem, -1rem + 6.67vw, 5rem);
  position: relative;
}
.container-nm{
 	max-width: 1360px;
	margin: 0 auto;
	padding: 144px clamp(1rem, -1rem + 6.67vw, 5rem) clamp(3.125rem, -3.533rem + 21.74vw, 6.25rem);
  position: relative;
}
.title{
	font-family: var(--second-family);
	font-weight: 600;
	line-height: 120%;
}

.v1{
  font-size: clamp(1.5rem, 0.875rem + 2.5vw, 2.5rem);
	/* font-size: 40px; */
}
.v2{
	font-size: 24px;
  /* font-size: clamp(1.375rem, 0.92rem + 1.82vw, 1.625rem); */
}
.v3{
  font-size: 20px;
}
.white{
  color: #fff;
}
.m-button{
	border-radius: 12px;
	padding: 23px 32px;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	text-align: center;
	color: var(--shrift);
	width: fit-content;
	background: #fff;
	transition: 0.5s ease;
	align-items: center;
  cursor: pointer;
  justify-content: center;
  gap: 12px;
  display: flex;
}
.m-button:hover{
	background: var(--akcent);
  color: #fff;
}
.b-light{
	background: #fff;
	padding: 20px;
	font-weight: 500;
	font-size: 16px;
}
.b-akcent{
  background: var(--akcent);
  color: #fff;
}
.b-akcent:hover{
  opacity: 0.8;
}
.mtop5{
  margin-top: clamp(1.875rem, -0.493rem + 5.26vw, 3.125rem);
	/* margin-top: 50px; */
}




/* =========== Хедер =========== */

.site-header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: transform 0.3s ease;
  background: #fff;
  padding: 12px 0;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: var(--shrift);
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.site-header.header-visible {
  transform: translateY(0);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0px 20px;
  gap: 30px;
  height: 100%;
}
nav#site-navigation {
  width: 100%;
  max-width: 760px;
}
#primary-menu {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}
#primary-menu li a {
  transition: color 0.2s;
}
#primary-menu li a:hover {
  color: var(--akcent);
}
.header-container .logo-footer {
  margin: 0;
}
.custom-logo {
  width: 103px;
}

/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ СТРЕЛКИ ПОДМЕНЮ
   (Работают и на десктопе, и на мобильном)
   ========================================= */
.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Отступ между текстом и стрелкой */
    position: relative;
}

.menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    color: currentColor; /* Наследует цвет текста ссылки */
    transition: transform 0.3s ease;
    margin-top: 2px; /* Небольшая визуальная коррекция по вертикали */
}

/* Поворот стрелки при наведении (десктоп) или при открытии (мобильный) */
.menu-item-has-children:hover > a::after,
.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
}

/* Стандартное выпадающее меню для десктопа (при наведении) */
@media (min-width: 981px) {
    .menu-item-has-children {
        position: relative;
    }
    
    .menu-item-has-children .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        min-width: 200px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 10px 0;
        z-index: 100;
        list-style: none;
    }
    
    .menu-item-has-children:hover .sub-menu {
        display: block;
    }
    
    .menu-item-has-children .sub-menu li a {
        display: block;
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .menu-item-has-children .sub-menu li a:hover {
        background: #f5f5f5;
    }
}

/* Бургер-кнопка */
.burger-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: relative;
}

.burger-menu-toggle:focus {
    outline: none;
}

.burger-icon {
    display: block;
    width: 28px;
    height: 4px;
    background-color: var(--akcent);
    position: relative;
    transition: all 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 4px;
    background-color: var(--akcent);
    transition: all 0.3s ease;
}

.burger-icon::before {
    transform: translateY(-8px);
}

.burger-icon::after {
    transform: translateY(8px);
}

.menu-open .burger-icon {
    background-color: transparent;
}

.menu-open .burger-icon::before {
    transform: rotate(45deg) translate(7px, 5px);
}

.menu-open .burger-icon::after {
    transform: rotate(-45deg) translate(7px, -5px);
}

/* =========================================
   МОБИЛЬНОЕ МЕНЮ (адаптация глобальных стилей)
   ========================================= */
@media (max-width: 980px) {
    .burger-menu-toggle {
        display: block;
        order: -1;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        transition: right 0.3s ease;
        z-index: 999;
        padding: 90px 20px 20px;
        overflow-y: auto;
    }

    .menu-open .main-navigation {
        right: 0;
    }

    .main-navigation #primary-menu {
        display: block;
        width: auto;
    }

    .main-navigation .menu-item {
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation .menu-item a {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        color: var(--shrift);
    }

    .main-navigation .menu-item a:hover {
        color: var(--akcent);
    }

    /* Адаптация стрелки для мобильного меню */
    .main-navigation .menu-item-has-children > a {
        justify-content: space-between;
        text-align: left;
        width: fit-content;
        margin: auto;
    }
      #primary-menu li a {
      text-decoration: none;
      color: var(--shrift);
    }
    .main-navigation .menu-item-has-children > a::after {
        font-size: 12px; /* Чуть крупнее для мобильного */
        color: rgba(255, 255, 255, 0.7);
        flex-shrink: 0; /* Запрещаем стрелке сжиматься */
    }

    /* Скрываем подменю по умолчанию на мобильном */
    .main-navigation .menu-item-has-children > .sub-menu, .footer .menu-item-has-children > .sub-menu {
        display: none;
        list-style: none;
        padding-left: 0;
        margin-top: 15px;
        text-align: center;
    }

    .main-navigation .menu-item-has-children > .sub-menu .menu-item {
        padding: 10px 0;
        border-bottom: none;
    }

    .main-navigation .menu-item-has-children > .sub-menu .menu-item a {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        justify-content: center;
    }

    /* Показываем подменю при наличии класса .active (управляется JS) */
    .main-navigation .menu-item-has-children.active > .sub-menu, .footer .menu-item-has-children.active > .sub-menu {
        display: block;
    }

    .site-branding {
        margin-left: auto;
    }
}

.site-header.transparent {
    background-color: transparent;
    box-shadow: none;
}

/* Блок корзины в хедере */
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.header-cart__icon {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  background: var(--akcentcard);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.header-cart:hover .header-cart__icon { background: #e9e6e6; }

.header-cart__badge {
  position: absolute;
  top: -4px;
  right: -7px;
  border-radius: 4px;
  padding: 4px;
  min-width: 20px;
  background: var(--akcent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 10px;
  line-height: 100%;
  text-align: center;
}

.header-cart__total {
  white-space: nowrap;
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: var(--shrift);
  display: flex;
  align-items: baseline;
}

/* Мобильная версия: оставляем только иконку с бейджем */
@media (max-width: 600px) {
   
    .header-cart__badge { top: -10px; right: -10px; min-width: 26px; height: 26px; font-size: 13px; }
}














/* =========== Главная =========== */
.sect-one
{
  background: url(assets/images/bg1.webp) no-repeat top;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 114px;
  height: 930px;
  margin-bottom: -100px;
}
.sect-one .title{
  font-size: clamp(2.375rem, 0.551rem + 5.31vw, 4rem);
  line-height: 110%;
  text-align: center;
}
.sect-one .container {
  justify-items: center;
}



.fs-buttons {
  display: flex;
  gap: 12px;
}

.fs-cards {
  display: flex;
  margin-top: 80px;
  gap: 20px;
}
.fs-c-i {
  display: grid;
  padding: 20px;
  border-radius: 12px;
  gap: 12px;
  justify-items: center;
  text-align: center;
  max-width: 180px;
  background: var(--akcentcard);
  font-weight: 600;
  font-size: 14px;
  line-height: 120%;
  flex: 1;
}






.sect-two, .sect-four {
  background: #fffdfa;
  position: relative;
  z-index: 1;
  border-radius: 40px;
}
section .title.v1 {
  justify-self: center;
  text-align: center;
  max-width: 623px;
}



.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.category-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.category-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.category-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(179.86deg, rgba(51, 30, 24, 0) 50%, #331e18 99.79%);
  pointer-events: none;
  z-index: 1;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.02);
}

.category-name {
  padding: 30px;
  width: 100%;
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 26px;
  line-height: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  color: #fff;
  z-index: 2;
}

.home-products-list img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}
.mtop5.home-products-list{
  margin-top: clamp(1.875rem, -0.493rem + 5.26vw, 3.125rem);
}
.st-in .title.v1{
  margin-top: clamp(3.125rem, -3.533rem + 21.74vw, 6.25rem);
}















.sect-three {
  background: #0e0f12;
  position: relative;
  z-index: -1;
}

.sth-cont{
  color: #fff;
  position: relative;
  padding: 100px 0;
  margin: -100px 0;
  width: 100%;
}

.sth-cont::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url(assets/images/bg2.webp) no-repeat center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  transform: scaleX(-1);
  z-index: -1;
}

.sth-cont > * {
  position: relative;
  z-index: 2;
}

.sect-three .title {
  font-size: clamp(2.375rem, 0.551rem + 5.31vw, 4rem);
  max-width: 590px;
}

.sect-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.sect-three p {
  max-width: 590px;
}

.st-in-r {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(3.125rem, -2.344rem + 12.5vw, 12.5rem);
}

.st-in-card {
  border-radius: 20px;
  padding: 30px;
  background: var(--akcentcard);
  display: grid;
  gap: 20px;
  font-weight: 600;
  flex: 1;
  min-width: 260px;
  color: var(--shrift);
}

.st-in-card .title{
  color: var(--akcent);
  font-size: 40px;
}

.st-in-card span {
  font-weight: 600;
  font-size: 14px;
  line-height: 150%;
}
span.lit-blue {
  width: 150px;
  height: 150px;
  border-radius: 100px;
  align-content: center;
  text-align: center;
  background: var(--akcent);
  font-weight: 600;
}







.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.faq-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.faq-item__question {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 110%;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--akcent);
  display: flex;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.faq-item__icon-plus {
  position: relative;
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.faq-item__icon-plus::before,
.faq-item__icon-plus::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}

.faq-item__icon-plus::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item__icon-plus::after {
  width: 2px;
  height: 12px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-item__icon-plus {
  transform: rotate(45deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__answer {
  padding: 0 30px 30px;
}










/* =========== Где купить =========== */

.yoast-breadcrumbs{
	margin-bottom: 50px;
}
.yoast-breadcrumbs a{
  color: var(--shrift);
}

.shops-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-card {
  display: flex;
  background: var(--akcentcard);
  border-radius: 20px;
  overflow: hidden;
  max-height: 293px;
}

.shop-card__image {
  flex: 0 0 50%;
  max-width: 590px;
  border-radius: 20px;
  overflow: hidden;
}

.shop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-card__content {
  flex: 1;
  padding: 40px 40px 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-card__address {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 110%;
  margin-bottom: 4px;
}

.shop-card__org {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 120%;
}

.shop-card__phone {
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
}

.shop-card__hours {
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 120%;
}
.shop-card__content .m-button{
  padding: 17px 32px;
}
.map-cont {
  max-width: 1880px;
  height: 846px;
  margin: 0 auto;
  border-radius: 40px 40px 0;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
}















/* =========== woocommerce =========== */
.custom-s-p {
  display: flex;
  gap: 50px;
}
.pswp__bg{
  background: #fffdfaf2 !important;
}
.product-gallery-col {
  width: 50%;
  max-width: 575px;
  position: relative;
}
.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    width: 100%;
}
.woocommerce div.product div.images.woocommerce-product-gallery {
  position: sticky;
  top: 10%;
}
img.wp-post-image {
  max-height: 100%;
  object-fit: cover;
}
.woocommerce-product-gallery__wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  aspect-ratio: 1/1;
  /* max-width: 100%; */
  /* max-height: 100%; */
  max-height: 575px;
}
.woocommerce div.product div.images .flex-control-thumbs li img
{
  max-height: 150px;
}
.woocommerce-product-gallery__image {
  height: 100%;
}
.woocommerce-product-gallery__image a {
  height: 100%;
}
.woocommerce div.product div.images img {
  width: 100%;
  height: 100%;
  max-height: 575px;
}
.woocommerce div.product div.images .flex-control-thumbs li{
  overflow: hidden;
}
.flex-viewport {
    border-radius: 12px;
}
.product-info-col {
  display: flex;
  flex-direction: column;
  width: 50%;
  max-width: 575px;
}
.container-nm .product-info-col .seo-text {
  margin-top: 0;
}
.product-description {
  display: grid;
  gap: 30px;
}
.variation-buttons-group {
  display: flex;
  gap: 11px;
}
button.variation-btn {
  border: 2px solid #e0e6ef;
  border-radius: 100px;
  padding: 16px 20px;
  cursor: pointer;
  transition: 0.5s ease;
}
button.variation-btn:hover{
  border: 2px solid var(--akcent);
}
button.variation-btn.active {
  animation: slowPulse 1.5s ease-in-out;
}
/* Медленная пульсация для кнопки */
@keyframes slowPulse {
    0% {
        background-color: var(--akcent);
        box-shadow: 0 0 0 0 rgba(34,102,90,0.4);
    }
    50% {
        background-color: #60a5ff;
        box-shadow: 0 0 0 8px rgba(34,102,90,0);
    }
    100% {
        background-color: #f6f6f6;
        box-shadow: 0 0 0 0 rgba(34,102,90,0);
    }
}
.variations-wrapper {
  display: grid;
  gap: 30px;
}
.woocommerce-variation.single_variation {
  display: none !important;
}
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.action-buttons .b-light{
  color: var(--shrift);
  border: 2px solid var(--shrift);
}
.woocommerce div.product form.cart .variations, .woocommerce div.product form.cart{
  margin-bottom: 0;
}
/* .specs-wrapper {
  display: grid;
  gap: 30px;
  margin: 30px 0;
} */
.variation-specs-container{
  overflow-x: auto;
}
.variation-specs-container table{
  width: 100%;
}
.variation-specs-container table th {
  background: #e5e5ed;
  font-weight: 600;
  line-height: 100%;
}
.variation-specs-container table th{
  padding: 16px 16px;
  width: 50%;
}
.variation-specs-container table td:nth-child(1){
  color: #9da2ad;
}
.variation-specs-container table tbody td{
  font-weight: 600;
  line-height: 120%;
  padding: 6px 0;
}

.custom-s-p form.cart {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
}
.custom-s-p .action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.custom-s-p form.cart .single_add_to_cart_button {
    margin: 0 !important;
}
.woocommerce div.product form.cart .button, a.btn-order-date{
  border-radius: 12px;
	padding: 23px 32px;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	text-align: center;
	width: fit-content;
	transition: 0.5s ease;
	align-items: center;
  cursor: pointer;
  justify-content: center;
  background: var(--akcent);
  color: #fff;
}
a.btn-order-date{
  border: 2px solid #f1f3f5;
  background: transparent;
  color: var(--shrift);
}
a.btn-order-date:hover{
  background: #e4baaf;
}



ul.product-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-category-item a {
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: var(--shrift);
  display: block;
  transition: 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
}
/* .product-category-item:nth-child(1) a{
  background: var(--akcent);
  color: #fff;
} */
.product-category-item a:hover{
  opacity: 0.8;
  background: var(--akcent);
  color: #fff;
}
.product-category-item.active a{
  background: var(--akcent);
  color: #fff;
}




.woocommerce ul.products, 
.home-products-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin: 0;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  margin: 0;
  padding: 0;
  width: 100% !important;
}
.woocommerce nav.woocommerce-pagination {
  text-align: left;
  margin-top: 50px;
  transition: color 0.5s ease;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 12px;
  border: none;
  margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li {
    border-right: none
  }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  margin: 0;
  border-radius: 8px;
  padding: 14px 20px;
  background: #f1f3f5;
  color: var(--shrift);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: color 0.5s ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover, 
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--akcent);
  color: #fff;
}
.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers {
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  line-height: 100%;
  color: #fff;
  background: var(--akcent);
}
.woocommerce nav.woocommerce-pagination ul li a.next.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a.prev.page-numbers:hover{
  opacity: 0.8;
}
.woocommerce ul.products::before {
  content: unset;
}
.woocommerce-page .woocommerce-pagination ul.page-numbers::before {
 content: unset;
}
.woocommerce-order {
    max-width: 1240px;
    margin: auto;
}
ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: none;
}

.sect-one-nm{
  background: url(assets/images/bg-sh.webp) no-repeat center;
  background-size: cover;
  /* background-position: center 80%; */
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  padding-top: 46px;
}
.container-nm.arch-cont{
  padding-top: 50px;
}
.container.s-o-arch{
  padding-bottom: 50px;
}
.sect-one-nm .title{
  font-size: 52px;
}

.product-card__content {
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.p-c-cont {
  padding: 20px;
  display: flex;
  gap: 12px;
  flex-direction: column;
  flex: 1;
}
.product-card__description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: #9da2ad;
}
a.product-card__link{
  height: 100%;
}
.product-card__category {
  margin-top: auto;
  display: flex;
  font-weight: 700;
  font-size: 10px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--shrift);
  border-radius: 8px;
  padding: 8px 12px;
  background: #e6e3d6;
  width: fit-content;
}
.product-card__title, .product-card__price {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  color: var(--shrift);
}
.product-card__image {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  justify-content: center;
}
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
}
.woocommerce ul.products::after {
  display: none;
}
.product-card__price {
  margin-top: auto;
}
.custom-related-products-block {
  margin-top: 100px;
}
.custom-related-products-block .title.v1{
  text-align: center;
  margin-bottom: clamp(1.875rem, -0.493rem + 5.26vw, 3.125rem);
}
/* Стилизованный символ белорусского рубля — кириллическая Б с чертой */
.byn-symbol {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  color: var(--shrift);
  font-family: var(--second-family); 
}
.byn-symbol::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: 70%;
  height: 3px;
  width: 16px;
  background-color: currentColor;
  transform: translateY(-50%);
}

.price-unit-display {
  margin-left: -10px;
}
.product-card__price .byn-symbol{
  font-size: 18px;
}
.product-card__price .byn-symbol::after {
  left: 0.5px;
  right: -1px;
  height: 1px;
  width: 7px;
}
.product-card__price .price-unit-display {
    margin-left: -4px;
}
/* =========== Корзина и оформление заказа =========== */

/* ============================================
   СТРАНИЦА КОРЗИНЫ + ОФОРМЛЕНИЕ
   ============================================ */
/* .cart-checkout-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
} */

.delivery-info-banner {
  background: #f8f8f8;
  padding: 16px;
  border-radius: 24px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--second-family);
  gap: 16px;
}

.info-icon {
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--akcent);
}
.empty-cart-message {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-message .button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* ===== КОРЗИНА ===== */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.cart-item-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 20px;
}
.cart-item-info {
  display: grid;
  gap: 12px;
}
.cart-item-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-name a {
  font-size: 18px;
}

.cart-item-shelf-life {
  font-size: 14px;
  line-height: 100%;
}

.cart-item-quantity .quantity-label,
.cart-item-price .price-label,
.cart-item-subtotal .price-label {
  font-size: 14px;
  line-height: 100%;
  color: var(--seryy);
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 15%;
    border: 1px solid rgba(51, 30, 24, 0.2);
    border-radius: 12px;
    padding: 16px;
    width: 153px;
    height: 50px;
    gap: 5px;
    justify-content: space-between;
    font-size: 18px;
    line-height: 100%;
    transition: all 0.2s;
}

.qty-btn {
  cursor: pointer;
  font-size: 21px;
  transition: all 0.2s;
}

.qty-btn:hover {
    background: #f0f0f0;
}

.qty-input {
  width: 50px;
  font-size: 18px;
  border: none;
  text-align: center;
  background: transparent;
}

.cart-item-price .price-value,
.cart-item-subtotal .price-value {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  align-self: center;
}
.cart-item-price, .cart-item-quantity, .cart-item-subtotal {
  display: grid;
  justify-content: space-between;
}

.cart-item-remove {
  align-content: center;
}
.cart-item-remove .remove-btn {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  transition: color 0.2s;
  width: 48px;
  justify-content: center;
  height: 48px;
}
.cart-i-l {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cart-item-remove .remove-btn:hover {
  background: var(--akcent);
}

.cart-totals-block {
  text-align: right;
}

.cart-total-sum {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  color: var(--seryy);
}
.cart-total-sum .byn-symbol{
  font-size: inherit;
}
.cart-total-sum .byn-symbol::after{
  left: 0px;
  right: -1px;
  top: 70%;
  height: 3px;
  width: 12px;
}

.cart-total-sum strong {
  color: var(--shrift);
}

/* ===== ФОРМА ОФОРМЛЕНИЯ ===== */
.checkout-form-section .title.v2{
  margin: 40px 0 20px;
}
.checkout-form-section .title.v2.mtop5{
  margin-top: 50px;
}
.checkout-fields-wrapper {
  background: var(--akcentcard);
  border-radius: 20px;
  padding: 50px;
  margin-top: clamp(3.125rem, -3.533rem + 21.74vw, 6.25rem);
}
.form-row-th-lit {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.checkout-field-group {
  margin-bottom: 40px;
}

.checkout-field-group h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}
.woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last{
  width: 100%;
}

.woocommerce-page form .form-row label {
  display: none;
}

.form-row label .required {
    color: var(--akcent);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row textarea {
  padding: 30px;
  border: 2px solid #f0f0f0;
  background: #fff;
  border-radius: 12px;
  transition: border-color 0.2s;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: var(--seryy);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--akcent);
}

.form-row-wide {
    clear: both;
}

/* Радио-кнопки оплаты */
.payment-method-options, .pickup-address-options{
  display: flex;
  gap: 12px;
}

.shipping-method-group + .shipping-method-group {
  margin-top: 24px;
}

.checkout-form-section .shipping-method-group > .title.v2 {
  margin: 0;
}

.shipping-method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.shipping-method-row--pickup {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
}

.shipping-method-choice {
  display: flex;
  flex-direction: column;
  flex: 1 0 210px;
  min-width: 0;
}

.shipping-method-choice > .address-option {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  padding: 20px;
  line-height: 1.35;
}

.shipping-method-choice input[type="radio"] {
  flex-shrink: 0;
}

.cart-checkout-page-wrapper .address-option:has([data-method-id="yandex-go-delivery"]) .byn-symbol {
  font-size: 17px;
}

.cart-checkout-page-wrapper .address-option:has([data-method-id="yandex-go-delivery"]) .byn-symbol::after {
  content: none;
}

.truhanov-delivery-address {
  margin-top: 16px;
}

.truhanov-delivery-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.woocommerce-page form .truhanov-delivery-fields-row .form-row {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.woocommerce-page form .truhanov-delivery-address .form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--shrift);
}

.woocommerce-page form .truhanov-delivery-address .form-row input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.truhanov-delivery-map {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
}

.shipping-refresh-status:empty,
.truhanov-delivery-address-status:empty {
  display: none;
}

.payment-option:has(input:checked), 
.address-option:has(input:checked) {
  border-color: var(--akcent);
}

.address-option, 
.payment-option {
  display: flex;
  width: 32.5%;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 26px 30px;
  border: 2px solid #f0f0f0;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  line-height: 100%;
  transition: all 0.2s;
}

.address-option:hover, 
.payment-option:hover {
  border-color: var(--akcent);
}

.address-option input[type="radio"], 
.payment-option input[type="radio"] {
  width: 24px;
  height: 24px;
  accent-color: var(--akcent);
  margin: 0;
}

.checkout-submit {
  margin-top: 50px;
}

#place_order {
  background: var(--akcent);
  border-radius: 12px;
  padding: 30px 32px;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  cursor: pointer;
  transition: background 0.2s;
  width: 359px;
  text-align: center;
}

#place_order:hover {
    background: #c0392b;
}

.checkout-privacy {
  margin-top: 20px;
  font-size: 14px;
  line-height: 120%;
}

.checkout-privacy input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--akcent);
}










/* ===========  =========== */

.seo-text{
  margin-top: 60px;
}
.seo-text .title{
  font-size: 52px;
}

.read-more-content {
  overflow: hidden;
  line-height: 160%;
  transition: max-height 0.35s ease-out;
  margin-top: 30px;
}

.read-more-btn {
  color: var(--akcent);
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  margin-top: 20px;
}















/* ===========  =========== */

/* ===========  =========== */
.type-page {
    padding-top: 50px;
}

/* =========== Футер =========== */
footer {
  background: #f0f4f7;
}
.footer {
  max-width: 1240px;
  padding: 70px 20px 40px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer.ft-bottom {
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: end;
  font-size: 14px;
  line-height: 120%;
}
.footer .footer-in-i .logo-footer{
  max-width: 150px;
  margin-top: -20px;
}
.footer .custom-logo{
  width: 150px;
}
.footer .title{
	margin-bottom: 20px;
  font-size: 24px;
}
.con-i-i {
  display: flex;
  gap: 50px;
}
.footer-in{
	display: flex;
	flex-direction: column;
	height: auto;
}
.footer-in-i{
	display: grid;
  align-content: space-between;
  height: 100%;
	gap: 30px;
	font-family: var(--font-family);
	font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}
.footer-in-i div{
	gap: 20px;
	display: grid;
}

.footer-in-i a{
	text-decoration-skip-ink: none;
}

.footer a,
.footer p,
.footer span
{
	color: var(--shrift);
	margin: 0;
	transition: color 0.3s ease;
}
.footer a:hover{
	color: #4da6ff !important;
}
.footer #primary-menu .sub-menu a{
  color: var(--shrift);
}
.footer-in-i #primary-menu, .footer-cats{
	display: grid;
	gap: 20px;
	width: fit-content;
	margin: 0;
}
.footer-in-i #primary-menu a{
	text-decoration: none;
  color: var(--shrift);
}
.logo-footer{
	max-width: 100px;
}

.privacy{
	padding: 0 20px 20px;
  text-align: center;
  font-family: var(--font-family);
}
.privacy a{
	text-decoration: underline;
	color: var(--akcent);
}
.footer .con-inf {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer .con-inf a{
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}
.footer .ci-in {
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: var(--seryy);
  display: grid;
  gap: 8px;
}
.ci-in a.phoneLink {
  font-weight: 600;
  font-size: 20px;
}


.ft-bot-img img {
  max-height: 60px;
  width: auto;
  justify-self: center;
  margin-bottom: 8px;
}

/*-----------Модальное окно-----------*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* контейнер */
.cont-form.modal-content {
  position: relative;
  top: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

/* Кнопка закрытия */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.close-btn:hover {
  color: #000;
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


/* ========================================
   ФОРМА ЗАЯВКИ (Contact Form 7)
   ======================================== */
.cont-form {
  max-width: 520px;
  border-radius: 20px;
  padding: 48px;
  height: fit-content;
  background: #9c9c9ccf;
  overflow: hidden;
  color: #fff;
}
.cont-form p{
  margin: 0;
}
form.wpcf7-form.init p:first-of-type{
  display: grid;
  gap:12px;
  margin-bottom: 12px;
}
.cf-mt{
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  margin-top: 12px;
  margin-bottom: 30px;
}
input.wpcf7-form-control, .wpcf7-textarea {
  padding: 32px;
  width: 100%;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  color: #8993aa;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  height: 86px;
}
input.wpcf7-form-control.wpcf7-submit {
  color: #fff !important;
  background: var(--akcent);
  margin-bottom: 20px;
}
span.wpcf7-spinner {
  display: none;
}
.wpcf7-acceptance label {
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  display: flex;
  gap: 12px;
}
.wpcf7-acceptance label a{
  color: var(--akcent);
}
.my-checkbox-class {
 display: none;
}
.wpcf7-list-item {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  margin: 0;
}
.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--akcent);
  border-radius: 4px;
  background-color: #fff; 
  transition: all 0.2s ease;
}
.my-checkbox-class:checked + .wpcf7-list-item-label::before {
  background-color: var(--akcent);
}
.my-checkbox-class:checked + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 15%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-tel:focus {
  border: 2px solid var(--akcent) !important;
  outline: none !important;
  background-color: #dfedff;
}










@media screen and (max-width: 1200px) { 
  
}

@media screen and (max-width: 1200px) { 
  
}


@media screen and (max-width: 920px) { 
  .woocommerce ul.products, .home-products-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 880px) { 
  span.lit-blue {
    align-self: end;
  }
  .sect-header {
    flex-direction: column-reverse;
  }
  .logo-footer {
    max-width: 80px;
  }
  .custom-s-p {
    flex-direction: column;
    align-items: center;
  } 
  .product-gallery-col {
    width: 100%;
  }
  .product-info-col {
    width: 100%;
  }
}
@media screen and (max-width: 720px) { 
      .woocommerce ul.products, .home-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 550px) { 
  .fs-cards {
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 455px) { 
  .sect-one .container {
    padding-top: 0;
  }
  .fs-c-i {
    max-width: 100%;
    width: 100%;
    padding: 12px;
  }
  .fs-buttons {
    flex-direction: column;
    width: 100%;
  }
  .fs-buttons .m-button {
    width: 100%;
  }
  .woocommerce ul.products, .home-products-list {
      grid-template-columns: repeat(1, 1fr);
  }
  .faq-item__question {
    font-size: 18px;
    padding-right: 10px;
  }
  .con-i-i {
    flex-direction: column;
    gap: 10px;
  }
  .footer .con-inf {
    gap: 30px;
  }
  .footer {
    flex-direction: column;
  }
  .footer.ft-bottom {
    align-items: center;
  }
}

@media screen and (max-width: 1200px) { 
  
}

@media screen and (max-width: 1200px) { 
  
}

@media screen and (max-width: 1200px) { 
  
}













