/** БЕКАП 2 ДЛЯ MAIN.CSS **/

@charset "UTF-8";
@font-face {
  font-family: "Presicav";
  src: url("../fonts/PresicavLt-Regular.eot");
  src: url("../fonts/PresicavLt-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PresicavLt-Regular.woff") format("woff"), url("../fonts/PresicavLt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pangram";
  src: url("../fonts/PPPangramSans-Medium.eot");
  src: url("../fonts/PPPangramSans-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/PPPangramSans-Medium.woff") format("woff"), url("../fonts/PPPangramSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cabin";
  src: url("../fonts/Cabin-Medium.eot");
  src: url("../fonts/Cabin-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Cabin-Medium.woff") format("woff"), url("../fonts/Cabin-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* variables */
:root {
  --main-color: #F5F4EB;
  --neutral-color: #CDCDC3;
  --sub_main-color: #201E1E;
  --site_bg-color: #F5F4EB;
  --text-color: #201E1E;
  --text-color-contrast: #F5F4EB;
  --btn-border: #201E1E;
  --btn-bg: #F5F4EB;
  --btn-text: #201E1E;
  --btn-hover-border: #201E1E;
  --btn-hover-bg: #CDCDC3;
  --btn-hover-text: #201E1E;
  --btn-contrast-border: #201E1E;
  --btn-contrast-bg: #201E1E;
  --btn-contrast-text: #F5F4EB;
  --btn-contrast-hover-border: #201E1E;
  --btn-contrast-hover-bg: #CDCDC3;
  --btn-contrast-hover-text: #201E1E;
  --link-color: #201E1E;
  --input-border: #201E1E;
  --input-bg: #F5F4EB;
  --input-text: #201E1E;
  --icon-color: #201E1E;
  --border-color: #201E1E;
  --error-color: #F18968;
  --red-smooth: #e11c1c;
  --border-r-size: 10px;
}

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

body,
h1,
h2,
h3,
h4,
p,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

menu,
ul,
ol {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

img {
  display: block;
}

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

/* Popup */

.popup_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  z-index: 12;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
}

.popup {
  padding: 20px;
  width: calc(100% - 40px);
  max-width: 480px;
  margin: auto;
  background-color: var(--site_bg-color);
  position: relative;
}

.article_popup.popup {
  max-width: 920px;
  width: 100%;
}

.close_popup {
  font-size: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  height: 32px;
}

.close_popup::before,
.close_popup::after {
  content: "";
  width: 22px;
  height: 1px;
  background-color: var(--link-color);
  position: absolute;
  top: 50%;
  left: 50%;
}

.close_popup::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close_popup::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup.article_popup .popup-inner {
  display: flex;
  flex-direction: column;
}

.popup.article_popup .popup-inner > .col-1 {
  margin-bottom: 30px;
}

.popup.article_popup .popup-inner > .col-1 img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

.popup.article_popup .popup-inner > .col-2 {
  display: flex;
  flex-direction: column;
}

.popup.article_popup .popup-inner .sub_title {
  margin-bottom: 24px;
}

.article_popup-text {
  word-break: break-word;
  margin-bottom: 20px;
}

.article_popup-btns {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.article_popup-btns .btn {
  margin: 10px 0 0 0;
  padding: 12px 16px;
}


/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track::before, .slick-track::after {
  content: "";
  display: table;
}
.slick-track::after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  /*display: none;*/
}
[dir=rtl] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/*
------ ЗАГАЛЬНІ СТИЛІ ------
*/
BODY, HTML {
  font-family: "Pangram", sans-serif;
  font-style: normal;
  font-size: 11px;
  line-height: 1.4;
  width: 100%;
  min-width: 375px;
  height: 100%;
  color: var(--text-color);
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--site_bg-color);
  overflow-y: auto;
  overflow-x: hidden;
}
body.body_overflow {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

main {
  padding-top: 82px;
  flex: 1 0 auto;
  position: relative;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

main.admin_panel {
  padding-top: 0 !important;
}

.hidden {
  display: none !important;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
}

/* заголовки */
h1,
.main_title {
  text-decoration: none;
  color: var(--text-color);
  font-family: "Presicav", sans-serif;
  font-weight: 400;
  font-size: 8vw;
  line-height: 1.2;
  letter-spacing: 0.2vw;
  text-transform: uppercase;
}

h2,
.sub_title {
  text-decoration: none;
  color: var(--text-color);
  font-family: "Presicav", sans-serif;
  font-weight: 400;
  font-size: 6.4vw;
  line-height: 1.2;
  letter-spacing: 0.2vw;
  text-transform: uppercase;
}

h3,
.section_title {
  text-decoration: none;
  color: var(--text-color);
  font-family: "Presicav", sans-serif;
  font-weight: 400;
  font-size: 4.8vw;
  letter-spacing: 0.1vh;
  text-transform: uppercase;
}

h4,
.item_title {
  text-decoration: none;
  color: var(--text-color);
  font-family: "Presicav", sans-serif;
  font-weight: 400;
  font-size: 4vw;
  line-height: 1.4;
  text-transform: uppercase;
}

h5 {
  text-decoration: none;
  color: var(--text-color);
  font-family: "Presicav", sans-serif;
  font-weight: 400;
  font-size: 2.667vw;
  line-height: 1.4;
  text-transform: uppercase;
}

a.main_title, a.sub_title, a.section_title, a.item_title {
  transition: 0.3s;
}

.icon {
  width: 16px;
  height: 16px;
  fill: var(--icon-color);
  transition: 0.3s;
}

a:not([class]), a.visit-wtb {
  font-family: "Pangram", sans-serif;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  color: var(--link-color);
  display: inline-block;
}
a.arrow_link {
  text-transform: uppercase;
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 1px;
  color: var(--link-color);
  display: flex;
  align-items: center;
}
a.arrow_link:hover .icon {
  transform: translateX(5px);
}
a.arrow_link.inactive {
  opacity: 0.4;
}
a.arrow_link.inactive .icon {
  transform: none;
}
a.arrow_link .icon {
  fill: var(--link-color);
  margin-left: 5px;
  width: 9px;
  height: 9px;
  transition: 0.3s;
}
a.arrow_link.arrow_dark {
  color: var(--text-color-contrast);
}
a.arrow_link.arrow_dark .icon {
  fill: var(--text-color-contrast);
}
a:active {
  color: inherit;
  /* НЕ УДАЛЯТИ */
}

article {
  font-family: "Pangram", sans-serif;
  font-size: 14px;
}
article a:not([class]) {
  transition: 0.3s;
  text-decoration: underline;
}
article a:not([class]):hover {
  opacity: 0.4;
}
article ul {
  padding-left: 25px;
  list-style: disc;
}
article > * {
  margin-bottom: 15px;
}

article a:not([class]), 
article a.visit-wtb {
  text-decoration: underline;
  font-size: inherit;
  display: inline;
}

@media (hover: hover) {
  article a:not([class]):hover, 
  article a.visit-wtb:hover {
    text-decoration: none;
  }
}

/* кнопка */
.btn {
  font-family: "Pangram", sans-serif;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 30px;
  background-color: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--border-r-size);
  transition: 0.3s;
}
.btn:hover {
  color: var(--btn-hover-text);
  border-color: var(--btn-hover-border);
  background-color: var(--btn-hover-bg);
}
.btn:hover .icon {
  transform: translateX(5px);
}
.btn.active {
  color: var(--btn-hover-text);
  border-color: var(--btn-hover-border);
  background-color: var(--btn-hover-bg);
}
.btn.inactive {
  opacity: 0.4;
  cursor: unset;
}
.btn.inactive:hover {
  color: var(--btn-text);
  border-color: var(--btn-border);
  background-color: var(--btn-bg);
}
.btn.inactive:hover .icon {
  transform: none;
}
.btn.dark_btn {
  color: var(--btn-contrast-text);
  border-color: var(--btn-contrast-border);
  background-color: var(--btn-contrast-bg);
}
.btn.dark_btn.active {
  color: var(--btn-contrast-hover-text);
  border-color: var(--btn-contrast-hover-border);
  background-color: var(--btn-contrast-hover-bg);
}
.btn.dark_btn.active .icon {
  fill: var(--btn-contrast-hover-text);
}
.btn.dark_btn:hover {
  color: var(--btn-contrast-hover-text);
  border-color: var(--btn-contrast-hover-border);
  background-color: var(--btn-contrast-hover-bg);
}
.btn.dark_btn:hover .icon {
  fill: var(--btn-contrast-hover-text);
}
.btn.dark_btn.inactive:hover {
  color: var(--btn-contrast-text);
  border-color: var(--btn-contrast-border);
  background-color: var(--btn-contrast-bg);
}
.btn.dark_btn.inactive:hover .icon {
  fill: var(--btn-contrast-text);
}
.btn.dark_btn .icon {
  fill: var(--btn-contrast-text);
}
.btn .icon {
  margin-left: 5px;
  width: 10px;
  height: 10px;
  fill: var(--btn-text);
}
.files {
  padding: 10px;
  font-size: 15px;
}
.input_wrap {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 10px;
}

.custom_file input[type=file] {
  display: none;
}
.custom_file .btn {
  cursor: pointer;
}
.custom_file .btn::before {
  content: "+";
  position: relative;
  margin-right: 5px;
  transition: 0.3s;
}
.custom_file .btn:hover::before {
  transform: translateX(-5px);
}

body:not(.admin_panel) input[type=email],
body:not(.admin_panel) input[type=text],
body:not(.admin_panel) textarea {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  padding: 0 15px 0 20px;
  height: 60px;
  min-height: 60px;
  background-color: var(--main-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-r-size);
  transition: 0.3s;
  position: relative;
  outline: none;
}
body:not(.admin_panel) input[type=email]::placeholder,
body:not(.admin_panel) input[type=text]::placeholder,
body:not(.admin_panel) textarea::placeholder {
  opacity: 0.4;
}
body:not(.admin_panel) input[type=email].error,
body:not(.admin_panel) input[type=text].error,
body:not(.admin_panel) textarea.error {
  border-color: var(--error-color);
}

body:not(.admin_panel) textarea {
  resize: none;
  padding-top: 21px;
  padding-bottom: 13px;
}

.error_text {
  font-family: "Cabin";
  font-size: 11px;
  line-height: 1.4;
  color: var(--error-color);
  display: inline-block;
  margin-top: 3px;
}

/* ДРОПДАУН */
.dropdown {
  position: relative;
  margin-bottom: 10px;
  height: 60px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-r-size);
  transition: 0.3s;
}

.dropdown.error {
  border-color: var(--error-color);
}

.dropdown_short {
  width: 68px;
  height: 30px;
  margin: 0 20px;
  color: #1d1d1d;
}

.dropdown_short:hover .drop_arrow {
  background-color: #5ead5a;
}

.dropdown.dropdown-open {
  z-index: 2;
}

.dropdown.dropdown_short.dropdown-open {
  width: 68px;
}

.dropdown .overflow {
  width: 100%;
  height: 100%;
  padding: 0 90px 0 0;
  background-color: var(--main-color);
  position: relative;
  border-radius: var(--border-r-size);
  float: left;
}

.dropdown.short .overflow {
  width: 138px;
}

.dropdown.dropdown-open .overflow {
  z-index: 10;
  border-bottom: 1px solid var(--border-color);
}

.dropdown Span {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  height: 100%;
  padding: 0 0 0 20px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  white-space: nowrap;
  z-index: 2;
}

.dropdown_short Span {
  padding: 0 10px;
}

.dropdown UL {
  position: absolute;
  top: 50px;
  right: -1px;
  left: -1px;
  background: var(--main-color);
  border: 1px solid var(--border-color);
  border-bottom-right-radius: var(--border-r-size);
  border-bottom-left-radius: var(--border-r-size);
  z-index: 9;
  padding-top: 10px;
  margin: 0;
  overflow: auto;
  border-top: none;
  display: none;
}

.dropdown_short ul {
  border-radius: 3px;
  top: 28px;
  overflow: auto;
}

.dropdown UL LI {
  position: relative;
  float: left;
  background: none;
  width: 100%;
  font-size: 15px;
  line-height: 1.2;
}

.dropdown_short UL LI {
  border: none;
}

.dropdown UL LI A {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  width: 100%;
  float: left;
  padding: 12px 20px;
  transition: 0.3s;
}

.dropdown_short ul li a {
  color: #1d1d1d;
  text-align: center;
  padding: 6px 0;
}

.dropdown UL LI A:hover {
  opacity: 0.5;
}

.dropdown_short ul li a:hover {
  background-color: #e6e6e6;
  color: initial;
}

.dropdown UL LI A.selected {
  display: none;
}

.drop_arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  border-radius: var(--border-r-size);
  border: 1px solid var(--border-color);
  transition: background-color 0.3s;
  cursor: pointer;
}

.dropdown.dropdown-open .drop_arrow,
.drop_arrow:hover {
  background-color: var(--neutral-color);
}

.drop_arrow .icon {
  width: 10px;
  height: 10px;
  transition: 0.3s;
}

.dropdown.dropdown-open .drop_arrow .icon {
  transform: rotate(180deg);
}

.dropdown_short .drop_arrow {
  right: -1px;
  top: -1px;
  background-color: #70c46a;
  border-radius: 0 3px 3px 0;
  width: 31px;
  height: 30px;
}

.dropdown_short .drop_arrow:after {
  border-width: 6px 3.5px 0 3.5px;
  border-color: #ffffff transparent transparent transparent;
  margin-left: -3.5px;
}

.dropdown_sm {
  background-color: #fff;
  height: 45px;
}

.dropdown_sm .drop_arrow {
  width: 45px;
  height: 45px;
}

.dropdown_sm .drop_arrow:after {
  border-width: 8px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
  margin: -4px 0 0 -6px;
}

.options_dropdown_list UL LI {
  position: relative;
  padding: 0 0 0 10px;
}

.options_dropdown_list UL LI:before {
  content: "";
  width: 4px;
  height: 4px;
  background-color: #000;
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 11px;
}

.options_dropdown_list UL LI A {
  text-decoration: none;
  color: #117f8a;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.options_dropdown_list UL LI A:hover {
  color: #000;
}

.options_dropdown_tile UL {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 10px 0 0 0;
}

.options_dropdown_tile UL LI {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  margin: 0 3px 3px 0;
}

.options_dropdown_tile UL LI A {
  text-decoration: none;
  background-color: #f3f3f3;
  color: #000;
  padding: 5px 10px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.options_dropdown_tile UL LI A:hover {
  background-color: #117f8a;
  color: #fff;
}

.options_dropdown_tile UL LI.disabled {
  opacity: 0.5;
}

.options_dropdown_tile UL LI.disabled a {
  cursor: default;
}

.options_dropdown_tile UL LI.disabled a:hover {
  background-color: #f3f3f3;
  color: #000;
}

.zoom_photo {
  overflow: hidden;
  display: block;
}
.zoom_photo:hover img {
  transform: scale(130%);
}
.zoom_photo img {
  transition: 0.5s;
}

.toggle_list {
  display: flex;
  flex-wrap: wrap;
  padding-right: 60px;
}

.toggle_wrap {
  position: relative;
}

.toggle_wrap + .toggle_wrap {
  margin-left: 10px;
}

.toggle_btn {
  font-family: "Pangram";
  text-decoration: none;
  text-transform: uppercase;
  color: var(--btn-text);
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  padding: 0 30px;
  width: max-content;
  height: 40px;
  border: 1px solid var(--btn-border);
  border-radius: var(--border-r-size);
  transition: 0.3s;
}
.toggle_btn span {
  margin-top: 3px;
}
.toggle_btn .icon {
  width: 9px;
  height: 9px;
  margin-left: 5px;
}

.toggle_wrap.active .toggle_btn,
.toggle_btn:hover {
  background-color: var(--btn-hover-bg);
}

.toggle_inner {
  flex-direction: column;
  max-width: 220px;
  width: max-content;
  padding: 15px 30px 12px 30px;
  border: 1px solid var(--btn-border);
  border-radius: var(--border-r-size);
  background-color: var(--btn-bg);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 3;
  display: none;
}
.toggle_inner label {
  margin-bottom: 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}
.toggle_inner label:hover {
  opacity: 0.7;
}
.toggle_inner input {
  display: none;
}
.toggle_inner input + span {
  padding-left: 20px;
  position: relative;
}
.toggle_inner input + span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.3s;
}
.toggle_inner input[type=checkbox] + span::before {
  border-radius: 0;
}
.toggle_inner input:checked + span::before {
  opacity: 1;
  background-color: var(--btn-hover-bg);
}

.toggle_wrap.active .toggle_inner {
  display: flex;
}

.submit_filter {
  font-family: "Pangram", sans-serif;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-contrast-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background-color: var(--btn-contrast-bg);
  border: 1px solid var(--btn-contrast-border);
  border-radius: var(--border-r-size);
  transition: 0.3s;
  pointer-events: none;
  opacity: 0.75;
}

.submit_filter.active {
  opacity: 1;
  pointer-events: unset;
}

.submit_filter:hover {
  color: var(--btn-contrast-hover-text);
  border-color: var(--btn-contrast-hover-border);
  background-color: var(--btn-contrast-hover-bg);
}

.photo_anim {
  transition: 0.5s;
  transform: scale(1.3);
}

.show_top {
  overflow: hidden;
}

.show_top span,
.show_top .icon {
  transform: translateY(20px);
  transition: 1s !important;
}

.show_top.anim_finish span,
.show_top.anim_finish .icon {
  transform: none;
}
.show_top.anim_finish:hover .icon {
  transition: 0.3s !important;
}
.breadcrumbs {
  position: absolute;
  top: 100px;
  left: 20px;
  z-index: 1;
}
body.details_page .breadcrumbs {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  height: 34px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--site_bg-color);
  border-bottom: 1px solid var(--border-color);
}
body.details_page .breadcrumbs ul {
  justify-content: center;
}
.breadcrumbs.breadcrumbs_details {
  top: 85px;
}

body.details_page .details_info .breadcrumbs {
  display: none;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
}
.breadcrumbs ul li {
  font-family: "Pangram";
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  color: var(--text-color);
}
.breadcrumbs ul li + li::before {
  content: ">";
  margin: 0 5px;
  opacity: 0.5;
}
.breadcrumbs ul a {
  font-family: "Pangram";
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.breadcrumbs ul a:not(.current):hover {
  opacity: 1;
}
.breadcrumbs ul a.current {
  cursor: unset;
  pointer-events: none;
}

body.details_page .breadcrumbs ul li {
  display: flex;
  align-items: center;
}

.shadow {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  opacity: 0.7;
  z-index: 11;
}

/*
----- ХЕДЕР -----
*/

.pre_header {
  background-color: #201E1E;
  height: 34px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  overflow: hidden;
  transition: height .15s linear;
}
ul.pre_nav {
  margin-left: auto;
  display: flex;
}
.pre_nav li.curr_link_wrap{
  background-color: var(--site_bg-color);
}

.pre_nav li {
  text-align: center;
  position: relative;
  padding: 0 13px;
}
.pre_nav li.curr_link_wrap a {
  color: #000000;
  cursor: default;
}

.pre_nav a {
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 34px;
  padding: 0 13px;
  letter-spacing: 0.1px;
  color: #FFFFFF;
  transition: all .3s ease;
}
.pre_nav a:not(.curr_link):hover {
  color: #787581;
}

.site_header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 34px 15px 0 20px;
  width: 100%;
  height: 82px;
  border: 1px solid var(--border-color);
  background-color: var(--site_bg-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  transition: 0.5s;
}
.site_header.site_header-anim .open_menu::before, .site_header.site_header-anim .open_menu::after {
  animation: show_menu-btn 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .open_menu span {
  animation: show_menu-text 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .header_search span {
  animation: show_menu-text 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .header_logo img {
  animation: show_menu-logo 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .open_lang span {
  animation: show_menu-text 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .wishlist_btn span {
  animation: show_menu-text 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.site_header-anim .wishlist_btn .icon {
  animation: show_menu-text 1.2s cubic-bezier(0.5, 0, 0.75, 0);
}
.site_header.opened .header_menu {
  top: calc(100% + 1px);
}

.site_header.header_hidden {
  top: -100px;
  pointer-events: none;
}

.open_menu {
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Pangram";
  font-size: 12px;
  line-height: 1.4;
  color: var(--link-color);
  padding: 6px 5px 6px 42px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  overflow: hidden;
}
.open_menu::before, .open_menu::after {
  content: "";
  width: 27px;
  height: 1px;
  background-color: var(--link-color);
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.open_menu::before {
  top: calc(50% + 2px);
}
.open_menu::after {
  bottom: calc(50% + 2px);
}
.open_menu span {
  display: block;
  position: relative;
}

.site_header.opened .open_menu::before {
  transform: rotate(-10deg);
  transform-origin: left;
}
.site_header.opened .open_menu::after {
  transform: rotate(10deg);
  transform-origin: left;
}

.header_logo {
  display: block;
  width: 104px;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
.header_logo img {
  display: block;
  width: 100%;
  height: auto;
}

.toggle_lang {
  display: none;
}

.wishlist_btn {
  font-family: "Pangram";
  text-transform: uppercase;
  text-decoration: none;
  color: var(--link-color);
  font-size: 12px;
  line-height: 1.4;
  padding: 6px;
  transition: 0.3s;
  overflow: hidden;
}
.wishlist_btn:hover {
  opacity: 0.5;
}
.wishlist_btn span {
  display: block;
}

.header_search {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px 0 auto;
  padding: 5px 6px;
}

.header_search span {
  display: none;
}

.header_menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(var(--vh, 1vh) * -100);
  left: -1px;
  right: -1px;
  padding: 20px;
  height: calc(var(--vh, 1vh) * 100 - 82px);
  z-index: 12;
  background-color: var(--site_bg-color);
  border: 1px solid var(--border-color);
  border-top: none;
  z-index: -2;
}

.main_menu {
  display: flex;
  flex-direction: column;
  padding-right: 72px;
  overflow-y: auto;
  margin-bottom: 50px;
}
.main_menu img {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  height: 98px;
  object-fit: cover;
}
.main_menu li {
  max-width: max-content;
}
.main_menu li + li {
  margin-top: 15px;
}
.main_menu a {
  font-family: "Presicav";
  color: var(--link-color);
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 24px;
  line-height: 1.2;
}

.sub-main_menu {
  margin-top: auto;
}
.sub-main_menu li + li {
  margin-top: 10px;
}
.sub-main_menu a {
  font-family: "Presicav";
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.2;
  transition: 0.3s;
}
.main_menu a.active {
  border-bottom: 2px solid var(--border-color);
}
.sub-main_menu a:hover {
  opacity: 0.7;
}
.sub-main_menu a.active {
  color: inherit;
  text-decoration: underline;
}
@keyframes show_menu-btn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes show_menu-text {
  0% {
    transform: translateY(-150%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes show_menu-logo {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
/*
----- ФУТЕР (FIXED v2) -----
Виправлено: Вирівнювання, Кольори (Темні -> Світлішають), Без підкреслення
*/
.site_footer {
  font-family: "Presicav";
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: -1px;
  width: 100%;
  min-height: 100vh;
  background-color: var(--neutral-color);
  border: 1px solid var(--border-color);
}
.site_footer nav {
  display: block;
  height: max-content;
  padding: 40px 0 0 0;
}
.our_awards {
  display:flex;
  padding:0 16px 16px 16px;
}
.or_box {
  max-width:92px;
  margin:0 16px 0 0;
}
.or_box:last-child {
  margin:0;
}
.or_box Img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- СІТКА МЕНЮ --- */
.footer_menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 рівні колонки */
  grid-column-gap: 30px;
  padding: 0 20px;
  list-style: none;
  margin: 0;
}

.footer_menu > li {
  margin-bottom: 40px;
}

/* --- ЗАГОЛОВКИ КОЛОНОК --- */
.footer_menu > li > a {
  font-family: "Presicav";
  font-size: 24px;
  line-height: 1.2;
  display: block;
  max-width: max-content;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: inherit; /* Чорний */
  text-decoration: none;
  pointer-events: none;
  padding: 0 !important;
}

/* --- ВКЛАДЕНІ СПИСКИ (Підпункти) --- */
.footer_menu ul {
  display: flex;
  flex-direction: column;
  padding-left: 0 !important; /* Прибираємо відступ зліва */
  margin: 0;
  list-style: none;
}

.footer_menu ul li {
  margin-bottom: 12px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Стиль посилань у підпунктах */
.footer_menu ul a {
  font-family: "Pangram";
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none !important; /* НІЯКОГО ПІДКРЕСЛЕННЯ */
  color: var(--text-color); /* Чорний */
  opacity: 1; /* Повна видимість за замовчуванням */
  transition: opacity 0.3s ease;
  display: block;
  padding: 0 !important;
}

/* ЕФЕКТ ПРИ НАВЕДЕННІ */
.footer_menu ul a:hover {
  opacity: 0.6; /* Стає світлішим (прозорішим) */
  text-decoration: none !important;
}

/* --- БЛОК ПІДПИСКИ --- */
.footer_subscribe {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.footer_subscribe form {
  position: relative;
  width: 100%;
}
.footer_subscribe input {
  width: calc(100% - 3px);
  padding-right: 65px;
}
.footer_subscribe button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
}

.subscribe_title {
  font-family: "Presicav";
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  width: 100%;
}

.copyright {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  width: 100%;
  height: 78px;
}

/* --- АДАПТИВ --- */
@media (max-width: 768px) {
  .footer_menu {
    grid-template-columns: 1fr; 
  }
  .footer_menu > li > a {
     font-size: 18px;
  }
}

/*
----- БАННЕР -----
*/
.main_banner {
  width: 100%;
  /* Повертаємо оригінальну calc, але додаємо агресивний negative margin */
  min-height: calc(var(--vh, 1vh) * 100 - 82px)  !important;
  /* ФІКС: Насильницьке затягування наступного блоку вгору */
  margin-bottom: -18px !important; 
  position: relative;
}

.big_slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--border-color);
}
.big_slider .big_slider-img {
  display: block;
  width: 100%;
  height: 100%;
}
.big_slider picture {
  display: block;
  width: 100%;
  height: 100%;
}
.big_slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.big_slider img.slider_anim {
  animation: show_banner-photo 1s ease-in;
}
.big_slider .slick-list {
  height: 100%;
}
.big_slider .slick-track {
  height: 100%;
}
.big_slider.slick-initialized div:not([class]) {
  height: 100%;
}
.big_slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}
.big_slider:not(.slick-initialized) .big_slider-img {
  flex: 0 0 100%;
  width: 100%;
}
.big_slider:not(.slick-initialized) .big_slider-img:not(:first-child) {
  display: none;
}

.mini_slider-wrap {
  position: absolute;
  bottom: 1px;
  left: 0;
}
.mini_slider-wrap.mini_slider-anim .mini_slider {
  animation: show_mini-slider 1.2s ease-in-out forwards;
}
.mini_slider-wrap.mini_slider-anim .mini_slider-arrows {
  animation: arrows-anim 1.2s ease-in-out 0.6s forwards;
}

.mini_slider {
  display: flex;
  width: 74.4vw;
  min-height: 32vh;
  max-width: 360px;
  background-color: var(--site_bg-color);
  border-top: 1px solid var(--border-color);
  transform: translateX(-100%);
  z-index: 1;
  overflow: hidden;
}

.mini_slider .slide {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 10px 20px;
  width: 100%;
  min-height: 32vh;
  height: auto;
  border-right: 1px solid var(--border-color);
  background-color: var(--site_bg-color);
}
.mini_slider a.arrow_link {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini_slider a.arrow_link::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.mini_slider .slick-list {
  width: 100%;
  height: 100%;
}
.mini_slider .slick-track {
  display: flex;
  align-items: flex-end;
  height: 100%;
}
.mini_slider .section_title {
  padding-bottom: 10px;
  overflow: hidden;
}
.mini_slider:not(.slick-initialized) .slide {
  display: none;
}
.mini_slider:not(.slick-initialized) .slide:first-child {
  display: flex;
}
.mini_slider:not(.slick-initialized)::before {
  display: none;
}
.mini_slider-arrows {
  display: none;
}
.mini_slider.slick-initialized + .mini_slider-arrows {
  position: absolute;
  left: -150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 75px);
  width: 93px;
  bottom: 0;
  transition: 0.3s;
  background-color: var(--neutral-color);
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}
.mini_slider.slick-initialized + .mini_slider-arrows a {
  font-size: 10px;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 20px;
}
.mini_slider.slick-initialized + .mini_slider-arrows a span {
  margin-top: 2px;
}
.mini_slider.slick-initialized + .mini_slider-arrows .icon {
  display: block;
  width: 8px;
  transition: 0.3s;
}
.mini_slider.slick-initialized + .mini_slider-arrows .arrow_left .icon {
  transform: rotate(90deg);
}
.mini_slider.slick-initialized + .mini_slider-arrows .arrow_left:hover .icon {
  transform: translateX(-3px) rotate(90deg);
}
.mini_slider.slick-initialized + .mini_slider-arrows .arrow_right .icon {
  transform: rotate(-90deg);
}
.mini_slider.slick-initialized + .mini_slider-arrows .arrow_right:hover .icon {
  transform: translateX(3px) rotate(-90deg);
}

.slide_text {
  text-align: justify;
  text-indent: 100px;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 100%;
  overflow: hidden;
}

.slide_text > * {
  margin-bottom: 5px;
}

@keyframes show_banner-photo {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes show_mini-slider {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes arrows-anim {
  0% {
    left: -150px;
  }
  100% {
    left: 100%;
  }
}
/*
----- БАННЕР ДВА -----
*/
.banner_two {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
}

.banner_text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(var(--vh, 1vh) * 50);
  padding: 20px;
  position: relative;
}
.banner_text .sub_title {
  padding-bottom: 10px;
}
.banner_text .arrow_link {
  width: 100%;
  justify-content: center;
  position: unset;
}
.banner_text .arrow_link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.banner_text .slide_text {
  height: auto;
  text-align: right;
}
.banner_text.dark {
  background-color: var(--sub_main-color);
  color: var(--text-color-contrast);
}
.banner_text.dark .sub_title {
  color: var(--text-color-contrast);
}
.banner_text.dark .arrow_link {
  color: var(--text-color-contrast);
}
.banner_text.dark .arrow_link .icon {
  fill: var(--text-color-contrast);
}

.banner_photo {
  overflow: hidden;
}
.banner_photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 100%;
}

/*
----- ІНФО -----
*/
.three_photo {
  display: flex;
  flex-direction: column;
  padding: 60px 20px 60px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  transform: translateY(400px);
  transition: 1s;
}
.three_photo .three_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.three_photo .three_list a {
  font: inherit;
}
.three_photo.three_photo-anim {
  transform: translateY(0);
}

.first_img,
.second_img,
.third_img {
  display: block;
  width: 130px;
  height: 176px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.first_img img,
.second_img img,
.third_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.three_photo.different_photos .first_img {
  width: 144px;
  height: 194px;
  margin-bottom: 125px;
}
.three_photo.different_photos .second_img {
  margin: 61px auto 0 0;
  width: 94px;
  height: 125px;
}
.three_photo.different_photos .third_img {
  margin: -95px 0 24px auto;
  width: 112px;
  height: 150px;
}
.three_photo.different_photos .btn {
  margin-top: 30px;
  width: 100%;
  max-width: 335px;
}

.first_img {
  margin: 0 auto 50px auto;
}

.second_img {
  margin: 60px auto 0 0;
}

.third_img {
  margin: -200px 0 24px auto;
}

/*
----- БЛОГ-СЛАЙДЕР -----
*/
.blog_slider {
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  position: relative;
}

.text_blog-wrap {
  border-bottom: 1px solid var(--border-color);
  z-index: 5;
}
.text_blog-wrap:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}
.text_blog-wrap:not(.slick-initialized) .text_blog {
  flex: 0 0 100%;
}
.text_blog-wrap.slick-initialized + .blog_slider-arrows {
  display: flex;
}
.text_blog-wrap .slick-list {
  z-index: 3;
}

.text_blog {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 45px 20px;
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 50);
  background-color: var(--neutral-color);
  position: relative;
  z-index: 3;
}
.text_blog .arrow_link {
  justify-content: center;
  margin: 15px 0;
}
.text_blog .arrow_link::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.text_blog time {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.blog_slider.blog_slider-anim .blog_slider-arrows {
  left: 0;
}

.blog_slider-arrows {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--main-color);
  width: 93px;
  height: calc(var(--vh, 1vh) * 35);
  min-height: 150px;
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  position: absolute;
  bottom: 0;
  left: -150px;
  transition: 0.3s;
  z-index: 1;
}
.blog_slider-arrows a {
  color: inherit;
  font-size: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 20px;
}
.blog_slider-arrows a span {
  margin-top: 2px;
}
.blog_slider-arrows .icon {
  display: block;
  width: 8px;
  transition: 0.3s;
}
.blog_slider-arrows .arrow_left .icon {
  transform: rotate(90deg);
}
.blog_slider-arrows .arrow_left:hover .icon {
  transform: translateX(-3px) rotate(90deg);
}
.blog_slider-arrows .arrow_right .icon {
  transform: rotate(-90deg);
}
.blog_slider-arrows .arrow_right:hover .icon {
  transform: translateX(3px) rotate(-90deg);
}

.photo_blog-wrap {
  display: flex;
  height: auto;
}

.photo_blog {
  display: flex;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.photo_blog img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*
----- ПЛИТКА -----
*/
.tiles_list {
  display: flex;
  flex-direction: column;
}

.tile_one {
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  border-top: none;
}

.tile_photo {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
}
.tile_photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tile_bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 110px;
  padding: 0 20px;
}
.tile_bottom .sub_title {
  font-size: 20px;
}
.tile_bottom .arrow_link {
  order: 1;
}
.tile_bottom .section_title {
  margin-bottom: 10px;
}

.show_all {
  width: 100%;
  height: calc(var(--vh, 1vh) * 80);
  position: relative;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.show_all img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.show_all .btn {
  position: absolute;
  width: 335px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*
----- ПЛИТКА ДВА -----
*/
.tiles_element {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px 20px 30px;
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 50);
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  position: relative;
}
.tiles_element a.arrow_link {
  justify-content: center;
  margin: 15px 0;
}
.tiles_element a.arrow_link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.tiles_element:nth-child(odd) {
  background-color: var(--neutral-color);
  color: var(--text-color);
}
.tiles_element:nth-child(even) {
  background-color: var(--sub_main-color);
  color: var(--text-color-contrast);
}
.tiles_element:nth-child(even) .main_title {
  color: var(--text-color-contrast);
}
.tiles_element:nth-child(even) a.arrow_link {
  color: var(--text-color-contrast);
}
.tiles_element:nth-child(even) a.arrow_link .icon {
  fill: var(--text-color-contrast);
}

.tiles_element a.arrow_link.link-with_photo {
  color: var(--link-color);
}

.tiles_element a.arrow_link.link-with_photo .icon {
  fill: var(--link-color);
}

.tiles_text {
  text-align: end;
  margin-left: auto;
  width: 165px;
}

/*
------ СТОРІСИ - ГРІД ПЛИТКА -----
*/
.stories-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 124px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.items_grid-list {
  display: flex;
  flex-direction: column;
}

.item_grid-one {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
}

.item_grid-image {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 240px;
  border-bottom: 1px solid var(--border-color);
}
.item_grid-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  object-fit: cover;
}

.item_grid-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: auto;
  padding: 20px;
}
.item_grid-info .item_title {
  margin-bottom: 55px;
  overflow: hidden;
}

.item_grid-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item_grid-bottom .arrow_link {
  padding: 10px 0 10px 10px;
}

.btn.show_blog {
  border-radius: 0;
  margin: -1px -1px 0 -1px;
  padding: 30px;
}
.btn.show_blog:hover .icon {
  transform: none;
}

/*
----- ОПИС -----
*/
.description figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  border-bottom: 1px solid var(--border-color);
}
.description figure .sub_title {
  display: block;
  text-align: center;
  max-width: 1145px;
  margin: 0 auto;
}
.description figure.temp_two {
  padding: 50px 0 0 0;
  border-bottom: none;
  border-left: none;
  border-right: none;
}
.description figure.temp_two .sub_title {
  text-align: start;
  margin-bottom: 130px;
}
.description figure.temp_two figcaption {
  order: -1;
  padding: 0 20px;
}
.description figure.temp_two .desc_images {
  width: 100%;
  margin: 0;
}

.desc_images {
  display: block;
  border: 1px solid var(--border-color);
  margin-bottom: 50px;
}
.desc_images img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  height: auto;
}

.description_text {
  font-size: 11px;
  display: block;
  margin-bottom: 20px;
  max-width: 445px;
  margin-left: auto;
}

.description_list li {
  font-family: "Presicav";
  font-size: 15px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 30px 20px;
  border-bottom: 1px solid var(--border-color);
}
.description_list li b {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 400;
}

/*
----- БАННEР З ТЕКСТОМ -----
*/
.text_banner {
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 20px 30px 20px;
  min-height: 70vh;
}
.text_banner .main_title {
  width: 100%;
  max-width: 915px;
  margin-bottom: 50px;
}
.text_banner .dropdown {
  margin-bottom: 0;
  order: 1;
}
.text_banner .dropdown .overflow span {
  justify-content: flex-end;
}
.banner_inner {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  direction: rtl;
  align-items: flex-end;
}
.banner_inner-text {
  font-size: 14px;
  line-height: 1.4;
}
.banner_inner-text > * {
  margin-bottom: 25px;
}
.banner_inner * ,
.banner_inner-text {
  direction: ltr;
}

.banner_inner-text p {
  text-indent: 100px;
}
  /*
  ----- СЛАЙДЕР З ТОВАРОМ -----
  */
.goods_slider {
  border-bottom: 1px solid var(--border-color);
}

.goods_inner {
  border-bottom: 1px solid var(--border-color);
}
.goods_inner .slick-slide {
  border-right: 1px solid var(--border-color);
  position: relative;
}
.goods_inner .slick-track {
  display: flex;

}
.goods_inner .zoom_photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
}
.goods_inner .zoom_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.goods_inner figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  width: 100%;
  height: 80px;
  background-color: var(--main-color);
  border-top: 1px solid var(--border-color);
}

.goods_control {
  height: 160px;
}

.goods_more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border-bottom: 1px solid var(--border-color);
}

.goods_control-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 10px;
}
.goods_control-inner .arrow_left,
.goods_control-inner .arrow_right {
  text-decoration: none;
  font-family: "Pangram";
  font-weight: 500;
  font-size: 12px;
  color: var(--link-color);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 75px;
}
.goods_control-inner .arrow_left span,
.goods_control-inner .arrow_right span {
  transform: translateY(2px);
}
.goods_control-inner .arrow_left svg,
.goods_control-inner .arrow_right svg {
  width: 9px;
  height: 9px;
  transition: 0.3s;
}
.goods_control-inner .arrow_left svg {
  transform: rotate(90deg);
}
.goods_control-inner .arrow_left:hover svg {
  transform: translateX(-3px) rotate(90deg);
}
.goods_control-inner .arrow_right svg {
  transform: rotate(-90deg);
}
.goods_control-inner .arrow_right:hover svg {
  transform: translateX(3px) rotate(-90deg);
}
.goods_control-inner .arrow_link {
  padding: 10px;
}

/*
----- КАТАЛОГ -----
*/
.filters_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 30px;
  width: 100%;
}

.catalog_filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 48px 0 30px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.catalog_filters .section_title {
  margin-right: 40px;
}
.catalog_filters .filters_list {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
  padding: 10px 0;
}
.filter_item {
  margin: 5px 0 5px 10px;
  position: relative;
}
.catalog_filters .toggle_btn + .toggle_btn {
  margin-left: 10px;
}
.catalog_filters .toggle_btn.active {
  background-color: var(--btn-hover-bg);
}
.catalog_filters .toggle_btn.active .icon {
  transform: rotate(-180deg);
}
.deactivate-filter {
  transition: 0.3s;
  margin:0 0 0 8px;
  position:relative;
}
.clear_filters .deactivate-filter {margin:0;}
.clear_filters .deactivate-filter::before, .clear_filters .deactivate-filter::after {left:auto; right:0;}
.deactivate-filter::before, .deactivate-filter::after {position:absolute; content:''; height:1px; width:12px; background:var(--text-color); transform:rotate(45deg); top:9px; left:0; transition:.3s;}
.deactivate-filter::after {transform:rotate(-45deg);}
.deactivate-filter:hover::before, .deactivate-filter:hover::after {background:var(--error-color); transform:rotate(0deg);}
.deactivate-filter:hover {
  color: var(--error-color)
}
.fillters_hidden {
  bottom: 0;
  right: 0;
}
.fillters_hidden .toggle_inner {
  top: 70px;
  right: 30px;
  left: auto;
}
.filter_item.active .toggle_inner {
  display: flex;
}
#selected_filters {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 30px 0 30px;
}
#selected_filters .fs_title {
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
}
.selected_filters_list {
  display: flex;
  flex-wrap: wrap;
}
.one_ch_fil {
  font-size: 14px;
  margin: 0 16px 4px 0;
  display:flex;
}
.one_ch_fil I {display:flex; width:12px; cursor:pointer;}
.one_ch_fil Span {display:flex; margin:0 0 0 6px;}
.one_ch_fil b {
  font-weight: normal;
}
.clear_filters {
  width: 100%;
}
.clear_filters .ct_delete {
  font-size: 14px;
  text-decoration: underline;
  padding:0 20px 0 0;
}
.clear_filters .ct_delete:hover {
  color: #d31a1a;
}
.catalog_list {
  display: flex;
  flex-direction: column;
}
.catalog_list .row_wrap {
  display: grid;
  grid-template-columns: 1fr;
}

.catalog_list figure {
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.catalog_list figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
  height: 80px;
  background-color: var(--main-color);
  border-top: 1px solid var(--border-color);
}
.catalog_list figcaption .item_title {
  padding: 10px;
}
.catalog_list figcaption .arrow_link {
  padding: 10px;
}

/**

ПУСТО

.catalog_list figcaption .arrow_link.in_wish_list {
}
**/

.catalog_list figcaption .arrow_link.in_wish_list .icon {
  margin: 0;
  width: 16px;
  height: 16px;
}
.catalog_list figcaption .arrow_link.in_wish_list:hover .icon {
  transform: scale(1.2);
}
.catalog_list figcaption .btn {
  padding: 10px 15px;
}

.wish_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.wish_btn .icon {
  width: 24px;
  height: 24px;
  fill: transparent;
  stroke: var(--sub_main-color);
}

.wish_btn:hover .icon {
  stroke: var(--red-smooth);
}

.wish_btn.in_wish_list .icon {
  fill: var(--red-smooth);
  stroke: var(--red-smooth);
}

.catalog_image {
  display: block;
  width: 100%;
}
.catalog_image img,
.catalog_image video {
  display: block;
  width: 100%;
  height: auto;
}

.catalog_image img.second_media,
.catalog_image video.second_media {
  display: none;
}

.arrow_link.catalog_link {
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  min-height: 60px;
}

/*
----- СПИСОК СТАТТЕЙ -----
*/
.blog_element {
  border-bottom: 1px solid var(--border-color);
  border-top: none;
}

/** ПУСТО
.blog_element figcaption {
  
}
**/

.blog_element .section_title {
  font-size: 18px;
  display: flex;
  margin: 30px 0;
  padding: 0 20px;
  width: 100%;
  height: 51px;
  overflow: hidden;
}

.blog_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 30px 10px 30px 20px;
  border-top: 1px solid var(--border-color);
}

.blog_info .arrow_link {
  padding: 10px;
}

.blog_photo {
  display: block;
  height: calc(100% - 209px);
  border-bottom: 1px solid var(--border-color);
}

.blog_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
----- ЛОКАЦІЇ МАГАЗИНІВ -----
*/
.logations_select {
  padding: 30px 20px;
  background-color: var(--neutral-color);
  border-bottom: 1px solid var(--border-color);
}
.logations_select .section_title {
  margin-bottom: 37px;
}
.logations_select .dropdown:last-child {
  margin-bottom: 0;
}

.country_name {
  display: block;
  width: 100%;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.shop_list {
  display: flex;
  flex-direction: column;
}
.shop_list li {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border-color);
}

.shop_list .city {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-transform: uppercase;
  font-family: "Presicav";
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 23px;
}
.shop_list .city i {
  font-style: normal;
  text-transform: none;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
  width: max-content;
  padding: 2px 10px;
  color: var(--text-color-contrast);
  background-color: var(--sub_main-color);
}

.shop_list .shop_info {
  font-family: "Presicav";
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  padding-right: 5px;
  width: 50%;
}
.shop_list .shop_info span + span {
  margin-top: 20px;
}
.shop_list .contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 5px;
  width: 50%;
}
.shop_list .contacts a {
  font-family: "Pangram";
  font-size: 12px;
  line-height: 1.4;
}
.shop_list .contacts a + a {
  margin-top: 10px;
}

/*
----- ФОРМА -----
*/
.big_form {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 20px 20px 20px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--neutral-color);
}
.big_form .main_title {
  width: 100%;
  margin-bottom: 80px;
}
.big_form form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
body:not(.admin_panel) .big_form textarea {
  height: 130px;
}

.form_text {
  display: block;
  width: 100%;
  width: 213px;
  margin-left: auto;
  margin-bottom: 30px;
}

/*
----- СТАТТЯ -----
*/
.article_details {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}
.article_details time {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
  display: block;
  margin: 0 auto 100px auto;
  max-width: max-content;
}
.article_details picture {
  display: block;
  margin-bottom: 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}
.article_details picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.article_details picture + * {
  margin-top: 40px;
}

.article_title {
  width: 100%;
  padding: 0 30px;
  text-align: center;
  margin: 0 auto 20px auto;
  max-width: 1100px;
}

.share_article {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  margin-bottom: 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.share_article span {
  margin-right: auto;
}
.share_article .arrow_link {
  font-size: 12px;
}
.share_article .arrow_link + .arrow_link {
  margin-left: 20px;
}

.left_title {
  margin-bottom: 80px;
  padding: 0 20px;
}

.article_text {
  padding: 0 20px;
  width: 100%;
  max-width: 478px;
  margin-left: auto;
}

.article_details.stories_details .article_text {
  max-width: unset;
}

.catalog_details + .description .article_text {
  max-width: unset;
}
.article_text > * {
  margin-bottom: 20px;
}

.article_bottom {
  font-family: "Presicav";
  padding: 0 20px;
  width: 100%;
  max-width: 478px;
  margin-left: auto;
}

.article_slider {
  display: flex;
  overflow: hidden;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
}

.article_image {
  flex: 0 0 80%;
}
.article_image:not(:last-child) {
  border-right: 1px solid var(--border-color);
}
.article_image img {
  display: flex;
  width: 100%;
  height: auto;
}

/*
----- КОНТАКТИ СІТКА -----
*/
.contacts_grid {
  display: flex;
  flex-direction: column;
}

.cantacts_item {
  border-bottom: 1px solid var(--border-color);
  padding: 30px 20px 20px 20px;
}
.cantacts_item .sub_title {
  margin-bottom: 10px;
}

.contacts_header {
  display: flex;
  flex-direction: column;
  margin-bottom: 75px;
}

.contacts_text {
  font-size: 11px;
}

.contacts_bottom {
  display: flex;
  flex-direction: column;
}

.become_retailer {
  text-decoration: underline;
}

.become_retailer:hover {
  text-decoration: none;
}

.contacts_bottom a:not(.btn) {
  font-family: "Presicav";
  font-size: 18px;
  transition: 0.3s;
}
.contacts_bottom a:not(.btn):hover {
  opacity: 0.5;
}
.contacts_bottom a + a {
  margin-top: 10px;
}

/*
----- ПРО НАС -----
*/
.about {
  border-bottom: 1px solid var(--border-color);
  border-top: none;
}

.about_photo {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
}
.about_photo picture {
  display: block;
  width: 100%;
  height: auto;
}
.about_photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about_grid {
  display: flex;
  flex-direction: column;
}

.about_item {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border-color);
}
.about_item .sub_title {
  width: 100%;
  margin-bottom: 80px;
}
.about_item .photo_item {
  width: 212px;
  height: auto;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}
.about_item .photo_item img {
  display: block;
  width: 100%;
  height: auto;
}
.about_item:nth-child(even) .photo_item {
  margin-left: auto;
}

.about_botom {
  position: relative;
}
.about_botom > img {
  display: block;
  width: 100%;
  height: auto;
}
.about_botom > img + .about_info {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.about_grid .about_botom > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.about_grid .about_botom > img + .about_info {
  z-index: 1;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin: 100px auto;
}

.about_info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 50px auto;
  width: calc(100% - 100px);
  min-height: 290px;
  max-width: 360px;
  border: 1px solid var(--border-color);
  padding: 30px 20px;
  background-color: var(--main-color);
}
.about_info .section_title {
  margin-bottom: 60px;
}

.about_info-text {
  margin-left: auto;
  max-width: 195px;
}

/*
----- СТАТТЯ ПРО НАС -----
*/
.production {
  display: flex;
  flex-direction: column;
}

.banner_production {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}
.banner_production picture {
  display: block;
  width: 100%;
  height: auto;
}
.banner_production img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.production_grid {
  display: flex;
  flex-direction: column;
}
.production_grid figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding: 30px 20px 20px 20px;
  width: 100%;
  min-height: 90vh;
}
.production_grid figcaption {
  margin-bottom: 50px;
}

.production_photo {
  width: 100%;
  height: 360px;
  border: 1px solid var(--border-color);
}
.production_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
----- СПИСОК ПРАЦІВНИКІВ -----
*/
.workers > .sub_title {
  display: block;
  width: 100%;
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.workers_list {
  display: flex;
  flex-direction: column;
}
.workers_list > li {
  border-bottom: 1px solid var(--border-color);
}
.workers_list figcaption {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
}
.workers_list .item_title {
  margin-bottom: 80px;
}
.workers_list .profession {
  font-family: "Pangram";
  font-size: 11px;
  line-height: 1.4;
}

.worker_photo {
  display: block;
  height: 390px;
  border-bottom: 1px solid var(--border-color);
}
.worker_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join_us {
  font-family: "Presicav";
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  height: 100%;
  padding: 30px;
}

/*
----- ПОЛІТИКА КОНФІДЕНЦІЙНОСТ -----
*/
.privacy_policy > .main_title {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.privacy_list {
  display: flex;
  flex-direction: column;
}

.privacy_item {
  border-bottom: 1px solid var(--border-color);
}

.privacy_header {
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.privacy_header .sub_title {
  margin-right: 15px;
}

.faq_title {
  font-family: "Presicav";
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
}

.open_info.btn {
  display: flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  font-size: 0;
  padding: 0;
  height: 37px;
  width: 50px;
}
.open_info.btn:hover .icon {
  transform: none;
}
.open_info.btn .icon {
  margin: 0;
  transition: 0.3s;
}

.privacy_item.active .open_info.btn .icon {
  transform: rotate(180deg)
}

.privacy_body {
  padding: 30px 20px;
  display: none;
}
.privacy_body article {
  width: 100%;
  max-width: 562px;
  margin-left: auto;
}

.privacy_item.active .privacy_body {
  display: block;
}

/*
----- ПОШУК -----
*/
.search {
  display: none;
  flex-direction: column;
  padding: 40px 20px;
  border-left: 1px solid var(--border-color);
}
.search.search_big {
  padding-top: 50px;
  height: calc(var(--vh, 1vh) * 100 - 82px);
  overflow-y: auto;
}

.search.search_big.active {
  display: flex;
  position: fixed;
  z-index: 12;
  width: 100%;
  background: var(--site_bg-color);
}

.search_variants {
  padding-top: 34px;
  display: none;
}

.search_variants.active {
  display: flex !important;
  flex-wrap: wrap;
  height: 308px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--border-color);
  margin-top: 26px;
  border-radius: var(--border-r-size);
}

.search_variants li {
  display: flex;
  padding: 4px;
  flex: 0 1 50%;
}

.search_variants li a {
  display: flex;
  align-items: center;
}

.search_variants li a:hover {
  text-decoration: underline;
}

.search_variants li a.all_results {
  color: var(--text-color);
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 100%;
}

.search_variants li a.all_results:hover {
  text-decoration: none;
}

.search_variants li img {
  display: block;
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-right: 12px;
}

.search_top {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
}

.search_title {
  margin: 0 30px 0 0;
}

.close_search {
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Pangram";
  font-size: 12px;
  line-height: 1.4;
  color: var(--link-color);
  padding: 9px 5px 5px 42px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  overflow: hidden;
}

.close_search::before,
.close_search::after {
  content: "";
  width: 27px;
  height: 1px;
  background-color: var(--link-color);
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.close_search::before {
  top: calc(50% + 2px);
  transform: rotate(-10deg);
  transform-origin: left;
}
.close_search::after {
  bottom: calc(50% + 2px);
  transform: rotate(10deg);
  transform-origin: left;
}
.close_search span {
  display: block;
  position: relative;
}

.search_inner {
  width: 100%;
  margin-bottom: auto;
}
.search_inner input {
  display: block;
  width: 100%;
}

.search_btn {
  font-size: 0;
  position: absolute;
  top: 11px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 70px;
  height: 40px;
}
.search_btn:hover .icon {
  transform: rotate(-90deg);
}
.search_btn .icon {
  margin: 0;
  transform: rotate(-90deg);
}

.search_text {
  display: block;
  margin-left: auto;
  margin-top: 30px;
  width: 100%;
  max-width: 345px;
}

.search_banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 20px 30px 20px;
  min-height: calc(var(--vh, 1vh) * 60);
  border-bottom: 1px solid var(--border-color);
}
.search_banner .main_title {
  margin-bottom: 30px;
}

.search_banner-text {
  font-family: "Presicav";
  text-transform: uppercase;
  font-size: 12px;
}

.search_cat-header {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
  padding: 30px 20px;
}
.search_cat-header .sub_title {
  margin-bottom: 15px;
}

.counter_result {
  font-family: "Presicav";
  text-transform: uppercase;
  font-size: 10px;
}

/*
----- ДЕТАЛЬНЕ ТОВАРУ -----
*/
.catalog_details {
  position: relative;
}

.details_control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0; /* <--- ОНОВЛЕНО: Тільки вертикальний padding */
  background-color: var(--neutral-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.details_control > a {
  font-family: "Pangram";
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  color: var(--link-color);
  display: flex;
  align-items: center;
  padding: 10px;
}

.details_prev .icon {
  margin-right: 33px;
  width: 10px;
  height: 10px;
  transform: rotate(90deg);
  transition: 0.3s;
}
.details_prev:hover .icon {
  transform: translateX(-3px) rotate(90deg);
}

.details_next .icon {
  margin-left: 33px;
  width: 10px;
  height: 10px;
  transform: rotate(-90deg);
  transition: 0.3s;
}
.details_next:hover .icon {
  transform: translateX(3px) rotate(-90deg);
}

.details_slider {
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.pinterest_details {
  display: block;
  width: 28px;
  height: 28px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  filter: contrast(0);
  transition: 0.3s;
}
.pinterest_details:hover {
  opacity: 0.7;
}
.details_slider .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.details_slider .slick-dots button {
  display: block;
  font-size: 0;
  border: 1px solid var(--neutral-color);
  background-color: var(--main-color);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: 0.3s;
}
.details_slider .slick-dots li {
  margin: 0 10px;
}
.details_slider .slick-dots li.slick-active button {
  border: 1px solid #000;
}

.details_slider-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.details_slider-wrap img,
.details_slider-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.details_info .details_control {
  display: none;
}

.details_header {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.details_title {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}
.details_title .main_title {
  margin-bottom: 10px;
}

.details_description {
  max-width: 350px;
}
.brides_wrap {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
}
.brides_wrap .item_title {
  flex: 1 1 auto;
  display: block;
  padding-right: 10px;
}
.brides_wrap .size_inner  {
  width: 100%;
}
.brides_wrap .slick-list {
  width: 100%;
}
.brides_wrap .slick-track {
  margin: 0;
}
.size_slider {
  display: flex;
  width: 100%;
  margin-bottom: -1px;
}

.size_slider-item {
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.size_slider figure {
  position: relative;
}

.size_slider figcaption span {
  display: block;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.size_slider img {
  display: block;
  width: 100%;
  height: auto;
}

.brides_wrap a.arrow_link {
  justify-content: end;
  padding: 16px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  margin-top: -1px;
}
.brides_bottom {
  display: flex;
  align-items: center;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}
.brides_arrows {
  display: flex;
  align-items: center;
}

.brides_arrows button {
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: 0.3s;
}

.brides_arrows button.brides_arrow-prev {
  margin-right: 12px;
}

.brides_arrows button.brides_arrow-prev:hover {
  transform: translateX(-5px);
}

.brides_arrows button.brides_arrow-next:hover {
  transform: translateX(5px);
}

.brides_arrows button.slick-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.brides_arrows button .icon {
  width: 12px;
  height: 12px;
}

.brides_arrows button.brides_arrow-prev .icon {
  transform: rotate(90deg);
}

.brides_arrows button.brides_arrow-next .icon {
  transform: rotate(-90deg);
}

.details_description A {text-decoration:underline;}
.sizes_wrap,
.details_wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.sizes_wrap .item_title,
.details_wrap .item_title {
  margin-right: 22px;
  flex: 0 1 auto;
}
.size_inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: end;
}
.sizes_wrap ul,
.details_wrap ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5px 0 5px auto;
}
.sizes_wrap li,
.details_wrap li {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0 30px 0 0;
}
.sizes_wrap li:last-child,
.details_wrap li:last-child {
  margin: 0;
}
.sizes_wrap li a,
.details_wrap li a {
  font-family: "Presicav";
  text-transform: uppercase;
  display: flex;
  align-items: center;
  font-size: 12px;
  transition: 0.3s;
}
.sizes_wrap li a:hover,
.details_wrap li a:hover {
  opacity: 0.6;
}
.sizes_wrap .arrow_link,
.details_wrap .arrow_link {
  font-weight: 500;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-left: 30px;
}

.details_btns {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.details_btns .btn {
  max-width: 325px;
  width: 100%;
}
.details_btns .btn + .btn {
  margin-top: 20px;
}

.details_share {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border-color);
}
.details_share .section_title {
  margin-right: auto;
}
.details_share .arrow_link {
  margin-left: 20px;
}
.cookie {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  min-height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  background-color: #000;
  z-index: 11;
}
.cookie_text {
  margin: 0 20px 0 0;
}
.cookie_text a {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: underline;
}
.cookie_text a:hover {
  text-decoration: none;
}
.cookie_btn {
  display: block;
  text-transform: uppercase;
  font-size: inherit;
  white-space: nowrap;
  transition: .3s;
}
.cookie_btn + .cookie_btn {
  margin: 0 0 0 20px;
}
.cookie_agree {
  color: var(--text-color);
  background-color: var(--neutral-color);
  border: 1px solid var(--neutral-color);
  padding: 5px 15px;
}
.cookie_agree:hover {
  background-color: transparent;
  color: var(--neutral-color);
}
.cookie_close {
  border: none;
  background-color: transparent;
  color: #fff;
  position: relative;
  padding: 5px 15px 5px 26px;
  border: 1px solid transparent;
}
.cookie_close:hover {
  color: var(--neutral-color);
}
.cookie_close:before, .cookie_close:after {
  content: '';
  position: absolute;
  top: 46%;
  left: 6px;
  width: 14px;
  height: 1px;
  background-color: #fff;
  transition: inherit;
}
.cookie_close:before {
  transform: rotate(45deg);
}
.cookie_close:after {
  transform: rotate(-45deg);
}
.cookie_close:hover:before, .cookie_close:hover:after {
  background-color: var(--neutral-color);
}

.consent_popup.popup .consent-text {
  margin-bottom: 12px;
}

.consent_popup.popup .consent-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent_popup.popup .cookie_agree:hover {
  border-color: var(--sub_main-color);
  background-color: transparent;
  color: var(--sub_main-color);
}

.consent_popup.popup .cookie_close {
  color: var(--sub_main-color);
  border-color: var(--sub_main-color);
  margin-left: 12px;
  padding: 5px 15px;;
}

.consent_popup.popup .cookie_close:hover {
  background-color: var(--neutral-color);
  border: 1px solid var(--neutral-color);
}

.consent_popup.popup .cookie_close::before, 
.consent_popup.popup .cookie_close::after {
  display: none;
}

.link_item .hidden_text {
  display: none;
}

.anti_dress a.arrow_link.to_wish_list {display:none;}
.anti_dress .details_control Span.common, .details_control Span.bride {display:none;}
.anti_dress .details_control Span.bride {display:inline-flex;}

/* ==========================================================================
   1. ГЛОБАЛЬНІ ВИПРАВЛЕННЯ ТЕМИ (LAYOUT & RESETS)
   ========================================================================== */

/* Приховуємо стандартні стрілки Slick Slider, щоб використовувати свої */
.slick-prev,
.slick-next {
    display: none !important;
}

/* Фікс відступів для сторінок деталей (header overlap fix) */
body.details_page main {
    padding-top: 82px !important;
}

/* Фікс внутрішніх відступів контенту */
body.details_page .details_info .details_header {
    margin-top: 45px !important;
    padding-top: 0 !important;
}

/* Колір відвіданих посилань (щоб не ставали фіолетовими) */
a, a:visited {
    color: var(--text-color, #000);
}

/* --- АДАПТИВНІСТЬ ГЛОБАЛЬНИХ ЕЛЕМЕНТІВ --- */
@media (max-width: 799px) {
    /* Збільшений відступ хедера для мобільних */
    body.details_page main {
        padding-top: 85px !important;
    }

    /* Центрування хлібних крихт на мобільному */
    nav.breadcrumbs.is_details.mobile {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================================================
   2. НАВІГАЦІЯ (PREV / NEXT CONTROLS)
   ========================================================================== */

.details_control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: var(--neutral-color, #fff);
    border-bottom: 1px solid var(--border-color, #eee);
    position: relative;
}

/* Вирівнювання лівого та правого блоків */
.details_control .details_prev { margin-right: auto; }
.details_control .details_next { margin-left: auto; }

/* Стилізація посилань */
.details_control .details_prev a,
.details_control .details_next a {
    font-family: "Pangram", sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    font-size: 12px;
    color: var(--link-color, #000);
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

/* Контейнер для іконки-стрілки */
.prev-icon-wrap,
.next-icon-wrap {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    transition: 0.3s !important;
}

.details_control .details_prev a .prev-icon-wrap { margin-right: 33px !important; }
.details_control .details_next a .next-icon-wrap { margin-left: 33px !important; }

/* SVG Стрілки */
.prev-icon-wrap svg.icon,
.next-icon-wrap svg.icon {
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    transition: 0.3s !important;
}

/* Поворот стрілок */
.details_control .details_prev a .prev-icon-wrap svg.icon { transform: rotate(90deg) !important; }
.details_control .details_next a .next-icon-wrap svg.icon { transform: rotate(-90deg) !important; }

/* Hover ефекти для навігації */
.details_control .details_prev a:hover .prev-icon-wrap svg.icon { transform: translateX(-3px) rotate(90deg) !important; }
.details_control .details_next a:hover .next-icon-wrap svg.icon { transform: translateX(3px) rotate(-90deg) !important; }


/* ==========================================================================
   3. КНОПКА WISHLIST (СЕРДЕЧКО) - ГЛОБАЛЬНИЙ СТИЛЬ
   ========================================================================== */

/* Контейнер заголовка на детатальній сторінці */
.details_title {
    position: relative;
    display: block;
    text-align: left;
}
.details_title .main_title { text-align: left; }

/* Сама кнопка (плагін) */
.woosw-btn.wish_btn {
    display: block;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    cursor: pointer;
}

/* Фікс іконки шрифту */
.woosw-btn.wish_btn .woosw-btn-icon {
    font-size: 20px !important;
    line-height: 1 !important;
    color: #000 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

/* Десктоп: кнопка праворуч від заголовка */
@media (min-width: 768px) {
    .details_title {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .woosw-btn.wish_btn {
        margin-top: 0;
        margin-left: 20px;
    }
}


/* ==========================================================================
   4. АРХІВ ТОВАРІВ (CATALOG GRID) - archive-product.php
   * Сітка 3 колонки, суворий бордер, адаптивність + ZOOM ЕФЕКТ
   ========================================================================== */

/* Сітка */
.catalog_list.product_grid_view {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    border-bottom: none;
}

/* Картка товару */
.catalog_list.product_grid_view figure {
    width: 100% !important;
    margin: 0 !important;
    border-right: 1px solid var(--border-color, #eee) !important;
    border-bottom: 1px solid var(--border-color, #eee) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Обрізаємо все, що вилазить при зумі */
    overflow: hidden !important; 
}

/* Прибираємо правий бордер у останнього елемента в рядку */
.catalog_list.product_grid_view figure:nth-child(3n) {
    border-right: none !important;
}

/* Зображення (Контейнер) */
.catalog_list.product_grid_view .catalog_image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 371 / 470;
    display: block !important;
    overflow: hidden !important; /* Додаткова гарантія обрізки */
}

/* Зображення (Сама картинка) */
.catalog_list.product_grid_view .catalog_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Додаємо плавність для ефекту зуму */
    transition: transform 0.6s ease !important;
    transform: scale(1);
}

/* 🔥 ЕФЕКТ: Збільшення при наведенні на картку */
.catalog_list.product_grid_view figure:hover .catalog_image img {
    transform: scale(1.05) !important;
}

/* Нижня панель (Назва + Wishlist) - ВИЇЖДЖАЄ ПРИ ХОВЕРІ */
.catalog_list.product_grid_view figcaption {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    padding: 0 20px !important;
    background-color: var(--main-color, #F5F4EB) !important;
    border-top: 1px solid var(--border-color, #eee) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 10;
    
    /* Анімація панелі */
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

/* Hover ефект для панелі (десктоп) */
.catalog_list.product_grid_view figure:hover figcaption {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Типографіка назви в каталозі */
.catalog_list.product_grid_view .item_title {
    font-family: "Presicav", sans-serif;
    font-size: 16px !important;
    text-transform: uppercase;
    color: var(--text-color, #000) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Стилізація кнопки Wishlist у каталозі */
.catalog_list.product_grid_view .wishlist-btn-wrapper .woosw-btn {
    font-family: "Pangram", sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--link-color, #000);
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* --- АДАПТИВНІСТЬ КАТАЛОГУ --- */

/* Планшет (2 колонки) */
@media (max-width: 1024px) {
    .catalog_list.product_grid_view {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Переналаштування бордерів для 2 колонок */
    .catalog_list.product_grid_view figure:nth-child(3n) { border-right: 1px solid var(--border-color, #eee) !important; }
    .catalog_list.product_grid_view figure:nth-child(2n) { border-right: none !important; }
}

/* Мобільний (1 колонка) */
@media (max-width: 600px) {
    .catalog_list.product_grid_view {
        grid-template-columns: 1fr !important;
    }
    .catalog_list.product_grid_view figure {
        border-right: none !important;
    }
    /* На мобільному панель видима завжди і статична */
    .catalog_list.product_grid_view figcaption {
        opacity: 1 !important;
        transform: translateY(0) !important;
        position: relative !important; 
    }
    /* На мобільному вимикаємо зум, щоб не заважав скролу */
    .catalog_list.product_grid_view figure:hover .catalog_image img {
        transform: scale(1) !important;
    }
}


/* ==========================================================================
   5. СЛАЙДЕР КОЛЕКЦІЙ (PAGE-COLLECTIONS)
   ========================================================================== */

.goods_inner .collection-product-item {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

.goods_inner .collection-product-item .zoom_photo {
    display: block;
    height: 100%;
}
.goods_inner .collection-product-item .zoom_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Стрічка слайдера */
.goods_inner .collection-product-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 20px;
    background-color: var(--main-color, #F5F4EB);
    border-top: 1px solid var(--border-color, #201E1E);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
    
    /* Анімація */
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

.goods_inner .collection-product-item figcaption .item_title {
    font-family: "Presicav", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--text-color, #201E1E);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
    flex: 1;
}

/* Адаптивність слайдера */
@media (min-width: 1025px) {
    /* Hover тільки на десктопі */
    .goods_inner .collection-product-item:hover figcaption {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .goods_inner .collection-product-item:hover .zoom_photo img {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    /* На тач-скрінах показуємо завжди */
    .goods_inner .collection-product-item figcaption {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .goods_inner .collection-product-item .zoom_photo img {
        transform: scale(1);
    }
}


/* ==========================================================================
   6. СТОРІНКА WISHLIST (GRID VIEW)
   ========================================================================== */

.catalog_list.wishlist_grid_view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 0;
    border-bottom: none;
    width: 100%;
}

.catalog_list.wishlist_grid_view figure {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    height: auto;
    overflow: hidden;
    border-right: 1px solid var(--border-color, #eee);
    border-bottom: 1px solid var(--border-color, #eee);
}

.catalog_list.wishlist_grid_view figure:nth-child(3n) {
    border-right: none;
}

.catalog_list.wishlist_grid_view .catalog_image {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f5f4eb;
}
.catalog_list.wishlist_grid_view .catalog_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Кнопка видалення з Wishlist */
.catalog_list.wishlist_grid_view .eva-delegated-remove-item {
    font-family: "Pangram", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-color, #000);
    cursor: pointer;
    border: 1px solid var(--text-color, #000);
    border-radius: 20px;
    padding: 8px 20px;
    transition: 0.3s;
    text-decoration: none;
}

.catalog_list.wishlist_grid_view .eva-delegated-remove-item:hover {
    background-color: var(--text-color, #000);
    color: #fff;
}

/* Адаптивність Wishlist */
@media (max-width: 1024px) {
    .catalog_list.wishlist_grid_view { grid-template-columns: repeat(2, 1fr); }
    .catalog_list.wishlist_grid_view figure:nth-child(3n) { border-right: 1px solid var(--border-color, #eee); }
    .catalog_list.wishlist_grid_view figure:nth-child(2n) { border-right: none; }
}

@media (max-width: 600px) {
    .catalog_list.wishlist_grid_view { grid-template-columns: 1fr; }
    .catalog_list.wishlist_grid_view figure { border-right: none; }
}

/* --- PREMIUM BADGE (Чорна плашка) --- */
.eva-premium-badge {
    background-color: #000000; 
    color: #ffffff;
    font-family: 'Presicav', sans-serif; 
    font-size: 12px;
    padding: 6px 16px; 
    display: inline-block;
    margin-bottom: 15px; /* Трохи збільшив відступ знизу */
    text-transform: lowercase;
    line-height: 1;
    font-weight: 400; 
}

/* --- КОЛІР ТА ВІДСТУПИ PREMIUM МАГАЗИНУ --- */
.shop_list li.premium_store {
    /* 1. Правильний колір (світло-сірий) */
    background-color: #CDCDC4;
    
    /* 2. Колір тексту (чорний для контрасту) */
    color: #000000;
    
    /* 3. ВІДНОВЛЕННЯ ВІДСТУПІВ (щоб не прилипало до країв) */
    padding: 30px !important; 
    box-sizing: border-box;
}

/* Гарантуємо, що текст всередині теж чорний */
.shop_list li.premium_store .shop_info span,
.shop_list li.premium_store .city {
    color: #000000;
}

/* --- ВИПРАВЛЕННЯ ДЛЯ ТЕСТОВОЇ СТОРІНКИ (Dots & Edit Button) --- */

/* [UPDATED] ID змінено на CLASS для підтримки multiple instances */

/* 1. Прибираємо точки (маркери) у списку локатора */
.eva-store-locator-app ul,
.eva-store-locator-app li {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
}

/* 2. Прибираємо відступ зліва у контейнера, але не у карток */
.eva-store-locator-app ul.shop_list {
    padding-left: 0 !important;
}

/* 3. Прибираємо пустий простір від кнопки Edit */
.post-edit-link {
    display: none !important;
}
/* Приховуємо параграф, якщо в ньому лежить прихована кнопка */
p:has(.post-edit-link) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- ТВОЇ ОРИГІНАЛЬНІ СТИЛІ (Залишаємо для сумісності з іншими елементами) --- */
.premium {
  font-size: 14px;
  background-color: var(--neutral-color);
  color: var(--text-color-contrast);
  padding: 5px;
  display: block;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

body.details_page .premium {
  top: 112px;
}

/* --- FIX ДЛЯ ТЕСТОВОЇ СТОРІНКИ --- */

/* Якщо це стандартний шаблон сторінки, він може мати 
   стандартні відступи (margin/padding) знизу. Обнуляємо їх.
*/
.page-template-default main,
.page-template-default .entry-content,
.page-template-default article {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Якщо шорткод обгорнутий в div, прибираємо його відступи */
.page-template-default .entry-content > div {
    margin-bottom: 0 !important;
}

/* На всяк випадок перевіряємо, чи немає &nbsp; у параграфах */
p:empty {
    display: none !important;
}

/* =========================================
   1. GLOBAL MENU CONFIG (DESKTOP & ALL)
   Верхнє - Зліва. Нижнє - Справа (текст рівний).
   + Регулювання відступів підменю.
   ========================================= */

/* Приховуємо картинки */
.main_menu .menu_visual_img {
    display: none !important;
}

/* Контейнер на весь екран */
.header_menu {
    height: calc(100vh - 82px) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    padding: 0 !important; 
}

/* Внутрішній контейнер */
.header_menu .menu_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important; 
    
    height: 100%;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    
    /* ГЛОБАЛЬНІ ВІДСТУПИ ВІД КРАЇВ ЕКРАНУ: Верх - Право - Низ - Ліво */
    padding: 30px 50px 40px 30px !important; 
}

/* Скидання */
.main_menu, 
.sub-main_menu {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none;
}

/* --- ГОЛОВНЕ МЕНЮ (ВГОРІ ЗЛІВА) --- */
.main_menu {
    width: 100%;
    text-align: left;
    margin-top: 0 !important;
    margin-bottom: auto !important; /* Відштовхує нижнє меню */
}

/* --- ДОДАТКОВЕ МЕНЮ (ВНИЗУ ПРАВОРУЧ, ТЕКСТ ЗЛІВА) --- */
.sub-main_menu {
    /* 1. Логіка позиціювання (НЕ ЧІПАТИ) */
    margin-top: auto !important;       /* Притискаємо до низу */
    align-self: flex-end !important;   /* Сам блок притискаємо ПРАВОРУЧ */
    width: auto !important;            /* Ширина по контенту */
    min-width: 200px;                  /* Мінімальна ширина блоку */
    text-align: left !important;       /* Текст вирівнюємо ЛІВОРУЧ */

    /* 2. РЕГУЛЮВАННЯ ВІДСТУПІВ САМЕ ЦЬОГО МЕНЮ (ЗМІНЮЙ ТУТ) */
    
    /* Відступ від правого краю (щоб посунути вліво) */
    margin-right: 50px !important; 
    
    /* Відступ від низу (щоб підняти вгору) */
    margin-bottom: 0px !important; 
    
    /* Відступ зліва (якщо хочеш посунути блок вправо) */
    margin-left: 0px !important;   
    
    /* Відступ зверху (проміжок над цим меню) */
    padding-top: 0px !important;   
}

/* Адаптив для мобільного */
@media (max-width: 768px) {
    .header_menu .menu_container {
        padding: 30px !important;
    }
    .sub-main_menu {
        align-self: flex-start !important; /* На мобільному блок зліва */
        text-align: left !important;
        width: 100% !important;
        margin-top: 40px !important;
        
        /* Скидаємо десктопні відступи для мобільного */
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* =========================================
   MAIN MENU HOVER EFFECTS (Smart Hover)
   Ефект: Затемнення тільки при наведенні НА ТЕКСТ
   ========================================= */

/* 1. МАГІЯ: Робимо контейнер "прозорим" для мишки */
/* Це вирішує проблему, коли курсор справа активує меню */
.header_menu .main_menu,
.header_menu .main_menu li {
    pointer-events: none; 
}

/* 2. Повертаємо чутливість тільки самому ТЕКСТУ */
.header_menu .main_menu a {
    pointer-events: auto; /* Тільки текст реагує на курсор */
    display: inline-block; /* Обмежуємо зону реакції розміром тексту */
    
    opacity: 1;
    transition: opacity 0.3s ease;
    color: var(--link-color, #000); 
    text-decoration: none;
}

/* 3. Логіка затемнення (Dimming) */
/* Спрацює тільки коли курсор торкнеться a (pointer-events: auto) */
.header_menu .main_menu:hover li a {
    opacity: 0.3; /* Всі стають блідими */
}

/* 4. Активний пункт */
/* Той, на якому зараз мишка, залишається яскравим */
.header_menu .main_menu li:hover a {
    opacity: 1; 
}

/* =========================================
   MOBILE SEARCH ICON FIX
   ========================================= */

/* За замовчуванням (Десктоп) */
.mobile_search_icon_btn {
    display: none !important; /* Ховаємо лупу */
}

.desktop_search_btn {
    display: flex !important; /* Показуємо текст "Search" */
}

/* Прибираємо старий margin-left: auto у текстового пошуку, 
   бо тепер ми використовуємо обгортку header_actions_right */
.header_search {
    margin-left: 0 !important;
}

/* Стилі для правої групи кнопок */
.header_actions_right {
    display: flex;
    align-items: center;
    margin-left: auto; /* Притискає групу праворуч */
    gap: 15px; /* Відступ між лупою і Wishlist */
}

/* АДАПТИВ (Мобільний < 768px) */
@media (max-width: 768px) {
    
    /* Ховаємо текстову кнопку "Search" */
    .desktop_search_btn {
        display: none !important;
    }

    /* Показуємо іконку лупи */
    .mobile_search_icon_btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
    }
    
    /* Трішки посуваємо групу, якщо треба */
    .header_actions_right {
        gap: 10px;
        margin-right: -5px; /* Компенсація відступів */
    }
}

/* --- FIX ДЛЯ ДРОПДАУНА --- */

/* 1. Робимо контейнер відносним, щоб ловити позицію */
.dropdown {
    position: relative !important;
}

/* 2. Накладаємо системний селект поверх всього і робимо прозорим */
.eva-hidden-select {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0 !important; /* Робимо невидимим */
    z-index: 10; /* Піднімаємо нагору, щоб клік спрацьовував по ньому */
    cursor: pointer;
    appearance: none; /* Прибираємо стандартний вигляд браузера */
    -webkit-appearance: none;
    border: none;
}

/* 3. Гарантуємо, що текст всередині .overflow не перекривається */
.dropdown .overflow {
    position: relative;
    z-index: 1; /* Нижче ніж селект */
}

/* --- EVA FORMS FIX (STYLE RESET) --- */

/* 1. Примусова стилізація всіх інпутів, ВКЛЮЧНО з телефоном */
form.eva-ajax-form input[type="text"],
form.eva-ajax-form input[type="email"],
form.eva-ajax-form input[type="tel"], /* <--- Додано сюди */
form.eva-ajax-form textarea {
    border-radius: 10px !important;
    background-color: #F5F4EB !important;
    border: 1px solid #201E1E !important;
    height: 60px !important;
    font-family: "Pangram", sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase;
    padding: 0 20px !important;
    width: 100%;
    
    /* Прибираємо синю обводку браузера */
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}

/* При фокусі - можемо зробити рамку трохи темнішою, але не синьою */
form.eva-ajax-form input:focus,
form.eva-ajax-form textarea:focus {
    border-color: #000 !important;
}

form.eva-ajax-form textarea {
    height: 130px !important;
    padding-top: 20px !important;
    resize: none;
}

/* --- FIX PLACEHOLDER COLOR (Uniform Style) --- */

/* Застосовуємо стиль до всіх інпутів у нашій формі */
form.eva-ajax-form input::placeholder,
form.eva-ajax-form textarea::placeholder {
    color: #201E1E !important; /* Твій основний темний колір */
    opacity: 0.4 !important;    /* Прозорість робить його світло-сірим, як Email */
    text-transform: uppercase;
    font-family: "Pangram", sans-serif;
    font-size: 11px;
}

/* Специфічний фікс для Webkit (Chrome/Safari), щоб напевно */
form.eva-ajax-form input::-webkit-input-placeholder,
form.eva-ajax-form textarea::-webkit-input-placeholder {
    color: #201E1E !important;
    opacity: 0.4 !important;
}

/* --- FOOTER FIX (FINAL) --- */

/* 1. Ховаємо помилки від старого скрипта теми */
.footer_subscribe .email_error_text,
.footer_subscribe span[class*="error"],
.footer_subscribe label.error {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute;
}

/* 2. Стиль контейнера форми */
.footer_subscribe .eva-ajax-form {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* 3. Інпут на всю ширину з місцем для кнопки */
.footer_subscribe input[type="email"] {
    width: 100% !important;
    height: 60px !important;
    background-color: var(--main-color) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 0 110px 0 20px !important; /* 110px справа, щоб текст не заліз під кнопку */
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* 4. Кнопка SUBMIT (Прозора, абсолютна) */
.footer_subscribe button[type="submit"] {
    position: absolute !important;
    top: 0;
    right: 0;
    height: 60px !important;
    width: auto !important;
    min-width: 100px;
    
    background: transparent !important; /* Прозорий фон */
    border: none !important; /* Без рамок */
    border-left: 1px solid transparent !important; /* На всяк випадок */
    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    
    font-family: "Pangram", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-color) !important;
    padding: 0 20px !important;
}

/* Прибираємо можливі фони при ховері */
.footer_subscribe button[type="submit"]:hover {
    background-color: transparent !important;
    opacity: 0.7;
}

/* 5. Наше повідомлення про успіх (зелене/червоне) */
.footer_subscribe .form-response {
    position: absolute;
    bottom: -25px;
    left: 0;
    font-size: 11px;
    margin: 0 !important;
}

/* --- TRUNK SHOWS: Breadcrumbs Fix --- */
@media (min-width: 992px) {
    /* Робимо їх частиною потоку (не absolute), щоб було видно */
    body.single-eva_event .breadcrumbs,
    body.page-template-tpl-trunk-shows .breadcrumbs {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        justify-content: flex-start !important; /* Зліва */
        padding: 10px 20px 0 20px !important;   /* Відступи */
        background-color: transparent !important; /* Без білого фону */
        border: none !important; /* Без рамок */
    }

    /* Відштовхуємо контент від фіксованої шапки */
    body.single-eva_event main,
    body.page-template-tpl-trunk-shows main {
        padding-top: 100px !important; /* Висота шапки + повітря */
    }
}

/* ==========================================================================
   ГЛОБАЛЬНИЙ ФІКС ХЛІБНИХ КРИХТ (DESKTOP)
   Застосовується до всіх сторінок, окрім Товару та Головної
   ========================================================================== */
@media (min-width: 992px) {
    
    /* 1. Робимо хлібні крихти видимими (були absolute/hidden) */
    body:not(.single-product):not(.home) .breadcrumbs {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 5 !important;
        
        /* Вигляд: зліва, без рамок (як на скріншоті 2) */
        display: flex !important;
        justify-content: flex-start !important;
        padding: 15px 20px 0 20px !important;
        background-color: transparent !important;
        border: none !important;
        width: 100% !important;
    }

    /* 2. Відштовхуємо контент вниз, щоб не ховався під шапкою */
    body:not(.single-product):not(.home) main {
        padding-top: 82px !important; /* Висота шапки (82px) + відступ */
    }
    
    /* Додатково: якщо на сторінці є банер, прибираємо у нього зайві відступи, 
       бо ми вже дали відступ через main */
    body:not(.single-product):not(.home) .text_banner {
        border-top: none !important;
    }
}

/* ==========================================================================
   PAGE BUILDER LAYOUT: FLEX FIX
   ========================================================================== */

body.page-template-page-builder main {
    /* 1. Робимо main флекс-контейнером. 
       Це автоматично знищує будь-які текстові пробіли (whitespace nodes) між блоками. */
    display: flex !important;
    flex-direction: column !important;
    
    /* 2. Задаємо фіксований відступ для шапки */
    padding-top: 82px !important; 
    margin: 0 !important;
    border: none !important;
    
    /* 3. Гарантуємо, що висота рядка не створює зайвого простору */
    line-height: 0 !important; 
    font-size: 0 !important;
}

/* 4. Повертаємо нормальний шрифт для внутрішніх блоків */
body.page-template-page-builder main > * {
    line-height: 1.4; /* Або твоє стандартне значення */
    font-size: 11px;  /* Або твоє стандартне значення */
    width: 100%;      /* Розтягуємо блоки на всю ширину */
}

/* 5. Жорстко прибираємо відступ у першого блоку (банера) */
body.page-template-page-builder main > section:first-child {
    margin-top: 0 !important;
}

/* Виправлення позиції випадайки */
.catalog_filters .toggle_wrap {
    position: relative; /* Щоб абсолютний контент позиціонувався відносно кнопки */
}

.catalog_filters .toggle_inner {
    left: 0;       /* Притискаємо до лівого краю кнопки */
    right: auto;   /* Скасовуємо старий right: 0 */
    top: 100%;     /* Рівно під кнопкою */
    margin-top: 10px; /* Невеликий відступ */
    z-index: 100;  /* Щоб було поверх товарів */
    background: #F5F4EB; /* Колір фону (змінна --site_bg-color) */
    min-width: 200px; /* Мінімальна ширина, щоб текст вліз */
}

/* Стилі для кнопки Submit у фільтрах */
.toggle_inner .submit_current_filter {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
    padding: 12px 0;
    
    background-color: #4A4A4A; /* Темно-сірий як на скріншоті */
    color: #fff;
    border: none;
    border-radius: 30px; /* Сильне заокруглення */
    
    font-family: "Pangram", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.toggle_inner .submit_current_filter:hover {
    background-color: #000;
    color: #fff;
}

/* Переконаємося, що чекбокси квадратні (твій CSS це вже робить, але про всяк випадок) */
.toggle_inner input[type="checkbox"] + span::before {
    border-radius: 0; /* Квадратні галочки */
}

/* Робимо кнопку Submit "головною" в плані шарів */
.submit_current_filter {
    position: relative;
    z-index: 50; /* Вище ніж лейбли */
    cursor: pointer !important;
    clear: both; /* Щоб не обтікалась */
    margin-top: 20px !important; /* Відступ, щоб не злипалась */
}

/* Обмежуємо висоту лейблів, щоб вони не перекривали кнопку */
.toggle_inner label.filter-radio-wrap {
    margin-bottom: 5px;
    z-index: 1;
}

/* --- ФІКС СМУЖКИ: ABSOLUTE POSITIONING METHOD --- */

/* 1. Налаштовуємо контейнер посилання */
.catalog_list.product_grid_view .catalog_image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    
    /* 🔥 Створюємо висоту через відступ (Aspect Ratio 2:3 = 1500/1000 = 150%) */
    /* Це гарантує правильні пропорції незалежно від контенту */
    padding-bottom: 150% !important; 
    height: 0 !important; 
    
    overflow: hidden !important;
    background-color: var(--border-color, #201E1E) !important; /* Темна підкладка */
    margin: 0 !important;
    border: none !important;
}

/* 2. Абсолютно позиціонуємо картинку всередині */
.catalog_list.product_grid_view .catalog_image img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    
    /* Мінімальне збільшення, щоб перекрити границі (страховка) */
    transform: scale(1.005); 
    transform-origin: center center;
}

/* ==========================================================================
   FIX: SUB-PIXEL GAP (Фінальне рішення)
   1. Фон картки = колір рамки (маскує щілини).
   2. Картинка трохи більша за контейнер.
   ========================================================================== */

/* 1. Фарбуємо контейнер у темний колір (під колір рамки) */
.catalog_list.product_grid_view figure {
    background-color: var(--border-color, #201E1E) !important;
    border-color: var(--border-color, #201E1E) !important;
    /* Гарантуємо, що контент розтягується на всю висоту */
    display: flex !important;
    flex-direction: column !important;
}

/* 2. Змушуємо обгортку посилання займати весь вільний простір */
.catalog_list.product_grid_view .catalog_image {
    flex: 1 0 auto !important; /* Розтягуємось на всю висоту figure */
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important; /* Дозволяємо флексу керувати висотою */
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: var(--border-color, #201E1E) !important;
}

/* 3. Агресивно розтягуємо картинку */
.catalog_list.product_grid_view .catalog_image img {
    display: block !important;
    width: 100% !important;
    
    /* Робимо картинку на 1 піксель вищою, щоб закрити будь-яку дірку */
    height: calc(100% + 1px) !important; 
    min-height: 100% !important;
    
    object-fit: cover !important;
    
    /* Компенсуємо це збільшення, щоб центр не з'їхав */
    margin-top: -0.5px !important; 
}

/* =========================================
   CUSTOM SIZES: Single Blog Post
   Header: 1700px | Image: 1200px | Text: 2000px
   ========================================= */

@media (min-width: 1000px) {
    
    /* 1. БАТЬКІВСЬКИЙ КОНТЕЙНЕР */
    /* Він має бути на всю ширину, щоб вмістити найширший елемент (2000px) */
    body.single-post .article_details {
        width: 100%;
        max-width: 100%; 
        padding: 0 20px; /* Відступи по краях екрану */
    }

    /* 2. ЗАГОЛОВОК І МЕТА-ДАНІ (1700px) */
    body.single-post .article_details .article_title,
    body.single-post .article_details time,
    body.single-post .article_details .share_article,
    body.single-post .article_details .article_bottom {
        max-width: 1700px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* Центруємо текст всередині блоку */
    }

    /* 3. ОСНОВНИЙ ТЕКСТ (2000px) */
    body.single-post .article_details .article_text {
        max-width: 2000px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        /* Текст всередині зазвичай вирівнюють по лівому краю для читання */
        text-align: left; 
    }

    /* 4. ЗОБРАЖЕННЯ (1200px) */
    
    /* Головне фото (Featured Image) - воно у вас в тегу <picture> */
    body.single-post .article_details > picture,
    body.single-post .article_details > img {
        display: block; /* Щоб спрацювало центрування */
        max-width: 1200px;
        width: 100%;
        margin: 0 auto 40px auto; /* 40px відступ знизу */
    }

    /* Картинки, вставлені всередині тексту */
    body.single-post .article_details .article_text img {
        display: block;
        max-width: 1200px;
        width: 100%;
        height: auto;
        margin: 30px auto; /* Відступи зверху і знизу */
    }
    
    /* Додатково: Центруємо підписи до картинок, якщо є */
    body.single-post .article_details .article_text figure {
        margin: 30px auto;
        text-align: center;
    }
}

/* =========================================
   FIX: Main Banner + Banner Two Overlap
   ========================================= */

/* 1. Прибираємо від'ємний відступ у банера */
.main_banner {
    margin-bottom: 0 !important;
}

/* 2. Налаштування для блоку Banner Two (Image + Text) */
.banner_two {
    /* Гарантуємо, що у блока є фон, щоб крізь нього не просвічувався слайдер */
    background-color: var(--site_bg-color); 
    
    /* Піднімаємо шар вище, щоб він перекривав слайдер коректно, якщо будуть відступи */
    position: relative;
    z-index: 2;
    
    /* Якщо треба склеїти границі (щоб лінія була спільна), 
       використовуйте -1px замість -18px */
    margin-top: -1px; 
}

/* =========================================
   TILES GRID: CENTERED BUTTON & BLACK COLOR
   ========================================= */

.tiles_element {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Шар із фоновим зображенням */
.tile_bg_layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

/* Шар із контентом */
.tile_content_layer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    
    /* Flexbox налаштування */
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; <-- ПРИБИРАЄМО ЦЕ */
    
    /* Важливо для розтягування */
    flex: 1 0 auto; 
    min-height: inherit; 
}

/* МАГІЯ ЦЕНТРУВАННЯ КНОПКИ:
   Використовуємо margin: auto для кнопки. 
   У Flexbox це автоматично штовхає елемент у центр вільного простору.
*/
.tile_content_layer .arrow_link {
    margin-top: auto !important;
    margin-bottom: auto !important;
    
    /* Якщо треба вирівняти і по горизонталі: */
    align-self: center; 
}

/* Якщо є заголовок, він має бути зверху */
.tile_content_layer .main_title {
    margin-bottom: 20px;
    /* margin-top: 0; вже є за замовчуванням */
}

/* Якщо є текст опису, він має бути знизу */
.tile_content_layer .tiles_text {
    margin-top: 20px;
    /* margin-bottom: 0; вже є за замовчуванням */
}


/* --- КОЛЬОРИ --- */

/* Робимо текст (заголовок і опис) білим, якщо є фон */
.tiles_element.has_bg .main_title,
.tiles_element.has_bg .tiles_text {
    color: #FFFFFF !important;
    text-shadow: 0 1px 3px rgba(0,0,0, 0.3);
}

/* КНОПКА ЗАВЖДИ ЧОРНА 
   (Навіть якщо є фон)
*/
.tiles_element.has_bg .arrow_link,
.tiles_element.has_bg .arrow_link .icon {
    color: #000000 !important;
    fill: #000000 !important;
}

/* =========================================
   FIX: STORE LOCATOR DROPDOWN INTERACTION
   ========================================= */

/* 1. Вимикаємо системний селект, який перекривав кнопку */
.eva-hidden-select {
    display: none !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    visibility: hidden !important;
}

/* 2. Робимо стрілку "прозорою" для кліків, щоб клік проходив до кнопки */
.dropdown .drop_arrow, 
.dropdown .drop_arrow .icon,
.dropdown .drop_arrow svg {
    pointer-events: none !important;
}

/* 3. Анімація повороту */
.dropdown .drop_arrow .icon,
.dropdown .drop_arrow svg {
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* 4. Стан "Відкрито" (Повертаємо стрілку) */
.dropdown.open .drop_arrow .icon,
.dropdown.open .drop_arrow svg,
.dropdown.dropdown-open .drop_arrow .icon,
.dropdown.dropdown-open .drop_arrow svg {
    transform: rotate(180deg);
}

/* 5. Фон стрілки при відкритті */
.dropdown.open .drop_arrow,
.dropdown.dropdown-open .drop_arrow {
    background-color: var(--neutral-color);
}

/* ==========================================================================
   3. HOVER IMAGE EFFECT (OPTIMIZED & SMOOTH)
   ========================================================================== */

/* 1. Налаштування контейнера */
.collection-product-item .zoom_photo,
.catalog_list figure .catalog_image {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    /* Легкий хак для апаратного прискорення без will-change */
    transform: translate3d(0,0,0); 
}

/* 2. Анімація фотографій (Основне + Ховер) */
.collection-product-item .zoom_photo img,
.catalog_list figure .catalog_image img,
.hover-img {
    /* ВАЖЛИВО: Ми прибрали 'will-change', щоб врятувати пам'ять.
       Плавність досягається довгим часом transition (0.8s та 1.2s)
       та кривою cubic-bezier.
    */
    transition: opacity 0.8s ease-in-out, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    
    /* Допомагає уникнути мерехтіння без навантаження на RAM */
    backface-visibility: hidden; 
    -webkit-backface-visibility: hidden;
}

/* 3. Друге фото (Ховер) */
.hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    
    opacity: 0 !important;      /* Приховано за замовчуванням */
    z-index: 2 !important;      /* Поверх основного */
    pointer-events: none;       /* Щоб не перехоплювало кліки */
}

/* 4. Ефекти при наведенні (Трансформація) */

/* Показуємо друге фото */
.collection-product-item:hover .hover-img,
.catalog_list figure:hover .hover-img {
    opacity: 1 !important;
}

/* Робимо Zoom для ОБОХ фото одночасно */
.collection-product-item:hover .zoom_photo img,
.collection-product-item:hover .hover-img,
.catalog_list figure:hover .catalog_image img,
.catalog_list figure:hover .hover-img {
    transform: scale(1.05) !important;
}

/* 5. Плашка BESTSELLER (Фінальний стиль) */
.label-bestseller {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    
    background-color: #000000 !important;
    color: #FFFFFF !important;
    
    font-family: 'Presicav', sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 6px 10px !important;
    
    pointer-events: none;
}

/* ==========================================================================
   PERFORMANCE & CLS FIXES
   ========================================================================== */

/* Резервуємо місце під картинки товарів (Aspect Ratio 2:3) 
   Це прибирає "стрибки" верстки при завантаженні.
*/
.collection-product-item .zoom_photo,
.catalog_list figure .catalog_image {
    aspect-ratio: 2 / 3;
    width: 100%;
    background-color: #f5f4eb; /* Колір заглушки поки вантажиться фото */
}

/* Гарантуємо, що картинка заповнює цей простір */
.collection-product-item .zoom_photo img,
.catalog_list figure .catalog_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   MOBILE FIX v3.1: STORE LOCATOR (Final Fonts & Grid)
   Phone: Presicav 13px. Links: 13px. Grid Layout.
   ========================================================================== */

@media (max-width: 768px) {
    
    /* 1. Створюємо сітку для картки магазину */
    .shop_list li {
        display: grid !important;
        grid-template-columns: 1fr auto !important; /* Ліва розтягується, права по контенту */
        grid-template-rows: auto auto !important;
        column-gap: 20px !important;
        row-gap: 25px !important;
        padding: 30px 25px !important;
        align-items: start !important;
    }

    /* --- ЛІВА ЧАСТИНА --- */
    .shop_list .city-column {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .eva-premium-badge {
        position: static !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
    }

    .shop_list .city {
        margin-bottom: 0 !important;
    }

    /* Назва магазину та адреса */
    .shop_list .shop_info {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Збільшення назви магазину (опціонально, щоб було читабельно) */
    .shop_list .shop_info span:first-child {
        font-size: 20px !important; 
        font-weight: 500 !important;
        margin-bottom: 5px !important;
    }

    /* --- ПРАВА ЧАСТИНА (Контакти) --- */
    .shop_list .contacts {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        align-self: start !important;
        margin-top: -3px !important; /* Візуальне вирівнювання з заголовком */
    }

    /* ЗАГАЛЬНИЙ СТИЛЬ ДЛЯ ВСІХ ПОСИЛАНЬ (Кнопки + Телефон) */
    .shop_list .contacts a {
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding: 6px 0 !important;
        border: none !important;
        
        /* Ваша вимога: всі посилання 13px */
        font-size: 13px !important; 
        line-height: 1.2 !important;
        letter-spacing: 0.5px !important;
    }

    .shop_list .contacts a .icon {
        order: 2 !important;
        margin-left: 10px !important;
        margin-right: 0 !important;
    }
    
    /* СПЕЦИФІЧНИЙ СТИЛЬ ДЛЯ ТЕЛЕФОНУ (Перший елемент) */
    .shop_list .contacts a[href^="https://wa.me"],
    .shop_list .contacts a:first-child { 
        /* Ваша вимога: шрифт Presicav */
        font-family: 'Presicav', sans-serif !important; 
        font-weight: 400 !important; /* Presicav зазвичай не потребує жирності */
        
        margin-bottom: 15px !important; /* Відступ від телефону до кнопок */
        padding-top: 0 !important;
    }
}

/* ==========================================================================
   BLOG PAGE FIXES (Grid & Card Spacing)
   1. Сітка 3 колонки без проміжків.
   2. Зменшення відступів всередині картки.
   ========================================================================== */

/* --- 1. НАЛАШТУВАННЯ СІТКИ (GRID) --- */
.items_grid-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 колонки */
    gap: 0 !important; /* Прибираємо білі смуги між картками */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--border-color) !important; /* Фінальна лінія знизу */
}

/* Скидаємо стилі списку */
.items_grid-list > li {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important; /* Однакової висоти в рядку */
    margin: 0 !important;
    padding: 0 !important;
    
    /* Рамки: тільки справа і знизу */
    border-right: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-top: none !important;
    border-left: none !important;
    background-color: var(--site_bg-color); /* Фон картки */
}

/* Прибираємо правий бордер у кожного 3-го елемента (кінець рядка) */
.items_grid-list > li:nth-child(3n) {
    border-right: none !important;
}

/* --- 2. ВИПРАВЛЕННЯ ВІДСТУПІВ ВСЕРЕДИНІ КАРТКИ --- */

/* Контейнер тексту (Інфо) */
.item_grid-info {
    /* ЗАМІНА space-between на flex-start, щоб не розкидало контент */
    justify-content: flex-start !important; 
    
    /* Додаємо акуратний фіксований відступ між заголовком і низом */
    gap: 30px !important; 
    
    padding: 30px 20px !important; /* Трохи більше повітря навколо */
    flex-grow: 1; /* Розтягуємо блок на всю доступну висоту */
}

/* Заголовок статті */
.item_grid-info .item_title {
    margin-bottom: 0 !important; /* Прибираємо старі 55px */
}

/* Блок дати та посилання (Низ картки) */
.item_grid-bottom {
    margin-top: auto !important; /* Притискає дату до низу, АЛЕ без гігантських дірок */
    width: 100%;
}

/* Фікс висоти картинки (щоб не було "сходинок") */
.item_grid-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2; /* Фіксована пропорція фото */
    border-bottom: 1px solid var(--border-color) !important;
    flex-shrink: 0;
}

.item_grid-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    min-height: 0 !important;
}

/* --- АДАПТИВНІСТЬ --- */

/* Планшет (2 колонки) */
@media (max-width: 1024px) {
    .items_grid-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Переналаштування рамок для 2 колонок */
    .items_grid-list > li:nth-child(3n) { 
        border-right: 1px solid var(--border-color) !important; 
    }
    .items_grid-list > li:nth-child(2n) { 
        border-right: none !important; 
    }
}

/* Мобільний (1 колонка) */
@media (max-width: 600px) {
    .items_grid-list {
        grid-template-columns: 1fr !important;
    }
    
    .items_grid-list > li {
        border-right: none !important;
    }
}

/* ==========================================================================
   FOOTER FORM FIX (FINAL MERGED VERSION)
   Виправляє стилі, розтягує форму та гарантує клікабельність кнопки (Z-Index Fix)
   ========================================================================== */

/* 1. Скидаємо стилі обгортки "Великої форми", щоб прибрати сірий фон та відступи */
.footer_subscribe .big_form {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* 2. Налаштування контейнера форми */
.footer_subscribe .big_form form.eva-ajax-form {
    width: 100% !important;
    display: block !important;
    position: relative !important;
    margin: 0 !important;
}

/* 3. Внутрішній контейнер (База для позиціонування) */
.footer_subscribe .footer-form-inner {
    width: 100% !important;
    position: relative !important;
    display: block !important;
    z-index: 10;
}

/* 4. Поле Email (Нижній шар) */
.footer_subscribe input[type="email"] {
    position: relative !important;
    z-index: 1 !important; /* Шар нижче кнопки */
    width: 100% !important;
    height: 60px !important;
    
    /* Відступ справа, щоб текст email не залазив під кнопку */
    padding: 0 130px 0 0 !important; 
    
    background-color: transparent !important;
    border: none !important; /* Стиль "Clean" */
    border-radius: 0 !important;
    margin: 0 !important;
    color: var(--text-color) !important;
    box-shadow: none !important;
}

/* Колір плейсхолдера */
.footer_subscribe input[type="email"]::placeholder {
    color: var(--text-color) !important;
    opacity: 0.5;
    text-transform: uppercase;
}

/* 5. Кнопка Submit (Верхній шар - Клікабельна) */
.footer_subscribe button[type="submit"] {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    height: 60px !important;
    min-width: 100px;
    
    /* КРИТИЧНО: Найвищий пріоритет, щоб перекрити input */
    z-index: 9999 !important; 
    
    cursor: pointer !important;
    pointer-events: auto !important; /* Вмикаємо кліки */
    
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 20px !important;
    
    font-family: "Pangram", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-color) !important;
}

/* 6. Іконка та текст всередині кнопки (Пропускають клік крізь себе на кнопку) */
.footer_subscribe button[type="submit"] * {
    pointer-events: none !important;
}

.footer_subscribe button[type="submit"] svg {
    margin-left: 10px;
    width: 18px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.3s;
}

/* Ефект наведення */
.footer_subscribe button[type="submit"]:hover svg {
    transform: translateX(5px);
}

/* 7. Повідомлення про успіх/помилку */
.footer_subscribe .form-response {
    position: absolute;
    bottom: -25px;
    left: 0;
    font-size: 11px;
    width: 100%;
    pointer-events: none;
}

/* 8. Ховаємо заголовок форми, бо він вже є у верстці футера */
.footer_subscribe .big_form .main_title {
    display: none !important;
}

/* ==========================================================================
   PRODUCT VIDEO SLIDE (YouTube Shorts 9:16 filling 2:3 Container)
   ========================================================================== */

/* 1. Блок слайдера (загальний) */
.details_slider-wrap.video_slide {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden; /* Це важливо: обрізає краї, що вилазять при зумі */
}

/* 2. Обгортка, яка задає розмір блоку ідентичним до ФОТО (2:3) */
.video-ratio-wrapper {
    position: relative;
    width: 100%;
    /* Ваші фото: 2500x3750. 
       Розрахунок: (3750 / 2500) * 100% = 150%.
       Це створює блок з пропорцією 2:3.
    */
    padding-bottom: 150%; 
    background: #000;
}

/* 3. Саме відео (iframe) - Масштабування */
.video-ratio-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* Блокуємо кліки по відео */
    
    /* МАТЕМАТИКА FILL:
       Пропорція контейнера (2:3) ≈ 0.666
       Пропорція відео (9:16) = 0.5625
       
       Щоб відео заповнило ширину контейнера, треба збільшити його:
       0.666 / 0.5625 = 1.185
       
       Ми ставимо scale(1.2) (120%), щоб гарантовано прибрати чорні смуги
       навіть якщо YouTube додасть мікро-відступи.
    */
    transform: translate(-50%, -50%) scale(1.2);
}

/* Корекція для мобільних: там пропорції можуть трохи гуляти, тому 1.2 залишаємо як надійний варіант */
@media (max-width: 768px) {
    .video-ratio-wrapper iframe {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ==========================================================================
   PAGINATION (DESIGN SYSTEM STYLE)
   ========================================================================== */

/* 1. КОНТЕЙНЕР (Опускаємо вниз) */
.eva-pagination-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    
    /* Відступ зверху, щоб "опустити" блок */
    padding-top: 100px !important; 
    padding-bottom: 60px !important;
    
    clear: both !important;
}

/* 2. СКИДАННЯ СПИСКУ */
.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important; /* Відстань між цифрами */
    
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 3. СТИЛЬ КНОПОК (Цифри) */
.woocommerce-pagination .page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    width: 40px !important;
    height: 40px !important;
    
    /* Шрифт з твоїх змінних */
    font-family: "Pangram", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    
    /* КОЛЬОРИ (Беремо з твоїх змінних) */
    color: var(--text-color, #201E1E) !important;
    background-color: transparent !important; /* Прозорий фон (прибирає квадрат) */
    
    /* Тонка рамка (або border: none, якщо хочеш просто цифри) */
    border: 1px solid var(--border-color, #201E1E) !important; 
    
    /* РОБИМО КРУГЛИМ (Вбиваємо квадрат) */
    border-radius: 50% !important; 
    
    transition: all 0.3s ease !important;
}

/* 4. АКТИВНА СТОРІНКА */
.woocommerce-pagination .page-numbers.current {
    /* Інверсія кольорів: Темний фон, світлий текст */
    background-color: var(--text-color, #201E1E) !important;
    color: var(--site_bg-color, #F5F4EB) !important;
    border-color: var(--text-color, #201E1E) !important;
    cursor: default !important;
}

/* 5. ХОВЕР (Наведення) */
.woocommerce-pagination a.page-numbers:hover {
    background-color: var(--neutral-color, #CDCDC3) !important;
    color: var(--text-color, #201E1E) !important;
    border-color: var(--text-color, #201E1E) !important;
}

/* 6. ПРИХОВУЄМО СТРІЛКИ */
.woocommerce-pagination .next,
.woocommerce-pagination .prev,
.woocommerce-pagination .woocommerce-pagination-next,
.woocommerce-pagination .woocommerce-pagination-prev {
    display: none !important;
}

/* =========================================
   FIX: WORKERS LIST (Heads & Wide Photo)
   ========================================= */

/* 1. ВИПРАВЛЕННЯ ОБРІЗАНИХ ГОЛІВ */
.worker_photo img {
    /* Змушуємо браузер фокусуватися на верхній частині фото */
    object-position: top center !important; 
}

/* 2. СТИЛІ ДЛЯ НОВОГО ВЕЛИКОГО ФОТО (Яке ми додали в PHP) */
.workers_wide_photo {
    display: block;
    width: 100%;
    height: auto;
    /* Додаємо лінію знизу, щоб зберегти стиль теми */
    border-bottom: 1px solid var(--border-color); 
}

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

/* 3. АДАПТИВНІСТЬ ДЛЯ КАРТОК ПРАЦІВНИКІВ */
/* На мобільних фіксована висота 390px може бути завеликою, 
   робимо її пропорційною або меншою */
@media (max-width: 768px) {
    .worker_photo {
        height: 320px; /* Трохи зменшуємо висоту на мобільному */
    }
}

