/* Main Styles for Rumo Theme */

.info {
  padding-top: 18px;
}

.info__btns {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 67px;
}

.info .btn {
  width: 100%;
}

.info .btn:nth-child(1),
.info .btn:nth-child(2) {
  font-size: 28px;
}

.info__location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 94px;
  gap: 46px;
}

.info__address-wrapper {
  position: relative;
  min-height: 0;
  align-self: center;
}

.info__address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.info__address-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info__address-item:first-child {
  margin-top: 25px;
}

.info__address-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 120%;
  color: var(--text-main);
  text-transform: uppercase;
}

.info__map {
  border-radius: 48px;
  width: 100%;
  border: 1px solid #743e2a;
}

@media (max-width: 768px) {
  .info__btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .info .btn {
    font-size: 14px;
    padding: 12px 18px;
  }

  .info .btn:nth-child(1),
  .info .btn:nth-child(2) {
    font-size: 14px;
  }

  .info__location {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 54px;
    gap: 25px;
  }

  .info__address-item img {
    width: 22px;
    aspect-ratio: 1;
  }

  .info__address-text {
    font-size: 15px;
  }

  .info__map {
    border-radius: 24px;
    width: 100%;
    max-height: 320px;
  }
}

/* WordPress Admin Bar - ensure it's visible and positioned correctly */
#wpadminbar {
  position: fixed !important;
  top: 0 !important;
  z-index: 99999 !important;
}

/* Adjust header position when admin bar is present */
.admin-bar .header-bar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header-bar {
    top: 46px;
  }
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-main);
}

body {
  background-color: var(--bg-main);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

header {
  flex-shrink: 0;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

footer {
  flex-shrink: 0;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1315px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
input,
textarea {
  font-family: var(--font);
}

.section-title {
  --speed: 90ms;
  --delay: 200ms;
  font-size: 60px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  text-transform: uppercase;
  text-align: center;
  position: relative;
  white-space: wrap;
  padding: 8px;
}

.section-title .char {
  opacity: 0;
  transform: translateY(0.04em);
  transition: opacity 0s linear var(--d, 0ms), transform 0s linear var(--d, 0ms);
  will-change: opacity, transform;
}

.section-title.is-typing .char {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-title .char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent-red);
  cursor: pointer;
  z-index: 200;
}

.slider-btn:disabled {
  opacity: 0.5;
}

.slider-btn--prev {
  left: 8px;
}

.slider-btn--next {
  right: 8px;
}

.btn {
  --blob: #9eb3cf; /* base */
  --blob-hover: var(--blob);
  font-size: 33px;
  font-weight: 700;
  line-height: 100%;
  position: relative;
  display: inline-grid;
  place-items: center;
  aspect-ratio: 482/92;
  text-decoration: none;
  color: #f8f6e3;
  isolation: isolate;
  padding: 16px 28px;
  max-height: 88px;
  border: none;
  background: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.22s;
  transform: scale(var(--sx, 1), var(--sy, 1));
  transform-origin: center;
  /* width: 100%; */
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blob);
  -webkit-mask: url("../images/common/blue-vector.svg") no-repeat center / contain;
  mask: url("../images/common/blue-vector.svg") no-repeat center / contain;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.22s;
  z-index: 1;
}

.btn:hover,
.btn:focus-visible,
.btn.is-active {
  --blob: var(--blob-hover);
}

.btn--red {
  --blob: #ea002a;
  --blob-hover: #ea002a;
}

.btn--yellow {
  --blob: #f0cb81;
  --blob-hover: #ffbd59;
}

.btn--blue {
  --blob: #9eb3cf;
  --blob-hover: #1d6fbf;
}

.btn--blue-light {
  --blob: #1d6fbf;
  --blob-hover: #9eb3cf;
}

.btn--violet {
  --blob: #d7a0be;
  --blob-hover: #d2479d;
}

.btn--violet-light {
  --blob: #d2479d;
  --blob-hover: #d7a0be;
}

.btn--green {
  --blob: #aac584;
  --blob-hover: #5aa639;
}

.btn--green-light {
  --blob: #5aa639;
  --blob-hover: #aac584;
}

.btn--pink {
  --blob: #f59094;
  --blob-hover: #f1515b;
}

.btn--pink-light {
  --blob: #f1515b;
  --blob-hover: #f59094;
}

.btn--long {
  font-size: 27px;
  font-weight: 700;
  line-height: 100%;
}

.btn:hover::before,
.btn.is-active::before {
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.22s;
  transform: scale(var(--sx, 1.05), var(--sy, 1.02));
  transform-origin: center;
}

.btn-label {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .btn-label {
    font-size: 12px;
  }
}

.page__header {
  background: none;
  width: 100%;
  position: relative;
}

/* Ensure header-bar stays fixed even when inside page__header */
.page__header .header-bar {
  position: fixed !important;
}

.page__header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-main); /* default color */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100%;
  mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100%;
}

.page__header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* above the video, below the header content */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0) 320px
  );
}

/* Remove white gradient on homepage with hero section */
.home__header.page__header--bg-transparent::after {
  display: none;
}

.page__header > * {
  position: relative;
  z-index: 2;
}

.page__header--bg-pink::before {
  background-color: var(--bg-pink);
}

/* Contacts Page Header - must come after .page__header--bg-pink::before to override */
.page__header.contacts-header::before,
.contacts-header.page__header::before,
.page__header.contacts-header.page__header--bg-pink::before,
.contacts-header.page__header.page__header--bg-pink::before {
  background-image: url("../images/contacts/contacts.svg") !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: contain !important;
  top: -70px !important;
  background-color: var(--bg-pink) !important;
  -webkit-mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100% !important;
  mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100% !important;
}

.page__header--bg-dark-pink::before {
  background-color: var(--accent-pink);
}

.page__header--bg-blue::before {
  background-color: var(--bg-light-blue);
}

.page__header--video::before {
  display: none;
}

/* Custom background image from meta box - override all default backgrounds */

.page__header--video .page__header-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* above the video, below the header content */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0) 320px
  );
}

.page__header--video .page__header-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* just in case */
  -webkit-mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100%;
  mask: url("../images/common/vectorheader_mask.svg") no-repeat center / 100% 100%;
}

.page__header--video .page__header-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* mobile autoplay vibes */
  filter: none; /* tweak if you need a tone */
}

.download-catalog {
  width: 100%;
}

.download-catalog__btns {
  padding-top: 289px;
  padding-bottom: 129px;
  margin-right: 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .download-catalog__btns .btn span {
    font-size: 10px;
  }
}

.download-catalog__btns .btn {
  border: none;
  background: none;
  font-size: 26px;
  width: auto;
  max-width: none;
}

.instagram {
  background-image: url("../images/common/instagram.svg");
}

.facebook {
  background-image: url("../images/common/facebook.svg");
}

.linkedin {
  background-image: url("../images/common/linkedin.svg");
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-controls__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  cursor: pointer;
  color: #fff;
}

.pagination-controls__btn:hover {
  background: var(--accent-red);
  transition: background 0.15s;
}

.pagination-controls__btn.active {
  background: var(--accent-red);
}

.pagination-controls__page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-controls__btn:disabled {
  opacity: 0.3;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .btn {
    font-size: 12px;
    font-weight: 700;
    line-height: 100%;
  }

  .section-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
  }

  .slider-btn {
    width: 16px;
    height: 16px;
  }

  .instagram,
  .facebook,
  .linkedin {
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
  }

  .page__header--video .page__header-video::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0) 98px
    );
  }

  .page__header::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0) 98px
    );
  }

  .download-catalog__btns {
    gap: 8px;
    padding-top: 128px;
    padding-bottom: 42px;
    margin-right: 24px;
  }

  .download-catalog__btns .btn {
    font-size: 10px;
    font-weight: 700;
    line-height: 100%;
    padding: 12px 18px;
  }
}

/* Hero Section Styles */
.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  background-color: var(--bg-main);
  padding-bottom: 140px;
  padding-top: 160px;
  position: relative;
  z-index: 1;
}

.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(80vh, 640px);
  overflow: hidden;
}

.hero__card {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transform: translateX(-40%);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__card img {
  width: min(80%, 720px);
  height: auto;
  max-height: min(80%, 720px);
  object-fit: contain;
  transform: translateZ(0);
}

.hero__card--active {
  opacity: 1;
  transform: translateX(0);
  z-index: 0;
  pointer-events: auto;
}

.hero__card--hidden {
  opacity: 0;
  z-index: 0;
}

.hero__card--enter-left {
  transform: translateX(-40%);
}

.hero__card--enter-right {
  transform: translateX(40%);
}

.hero__card--leave-left {
  transform: translateX(-40%);
  opacity: 0;
}

.hero__card--leave-right {
  transform: translateX(40%);
  opacity: 0;
}

.hero__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
}

.hero__btn {
  --blob: #9eb3cf; /* fallback color */
  --blob-active: var(--blob);

  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 114px;
  text-decoration: none;
  color: var(--text-accent);
  isolation: isolate;
  padding: 16px 28px;
  width: 75%;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.22s;
  transform: scale(var(--sx, 1), var(--sy, 1));
  transform-origin: center;
}

.hero__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blob);
  -webkit-mask: url("../images/common/blue-vector.svg") center / contain no-repeat;
  mask: url("../images/common/blue-vector.svg") center / contain no-repeat;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.22s;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__btn {
    min-height: unset !important;
    height: auto;
  }
}

.hero__btn--yellow {
  --blob: #f0cb81;
  --blob-active: #ffbd59;
}

.hero__btn--blue {
  --blob: #9eb3cf;
  --blob-active: #1d6fbf;
}

.hero__btn--violet {
  --blob: #d7a0be;
  --blob-active: #bf66a5;
}

.hero__btn--green {
  --blob: #aac584;
  --blob-active: #7fb152;
}

.hero__btn.is-active {
  --blob: var(--blob-active);
  transform: scale(var(--sx, 1.1), var(--sy, 1.1));
}

.hero__btn-label {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  pointer-events: none;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .hero__btns {
    gap: 24px;
  }

  .hero__btn {
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding-top: 0;
    padding-bottom: 12px;
  }

  .hero__btns {
    gap: 16px;
  }

  .hero__card {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: min(100vh, 640px);
    overflow-x: hidden;
    margin-top: 60px;
  }

  .hero__btn {
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
  }
}

/* Slogan Section Styles */
.slogan {
  width: 100%;
  height: 739px;
  background-color: var(--accent-pink);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-mask: url("../images/common/section-wave-pink.svg") no-repeat center / 100% 100%;
  mask: url("../images/common/section-wave-pink.svg") no-repeat center / 100% 100%;
  --blob: transparent;
  position: relative;
}

.slogan__logo {
  max-width: 298px;
  overflow: hidden;
}

.slogan::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-image: url("../images/home/slogan/slogan-img.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: revert;
}

.slogan__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.slogan__content img {
  max-height: 500px;
  object-fit: contain;
}

.slogan__desc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 72px;
}

.slogan__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 136%;
  color: var(--text-secondary);
  white-space: wrap;
  max-width: 400px;
}

@media (max-width: 768px) {
  .slogan {
    height: 364px;
    padding-top: 39px;
    padding-bottom: 44px;
  }

  .slogan::before {
    top: 72px;
    left: -40px;
  }

  .slogan__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 136%;
  }

  .slogan__logo {
    max-width: 87px;
  }

  .slogan__desc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .slogan__content {
    background-position: initial;
  }
}

/* About Section Styles */
.about {
  background-color: var(--bg-main);
  padding-bottom: 140px;
  padding-top: 50px;
}

.about__secondary-img {
  display: none;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about__content img {
  justify-self: end;
}

.about__desc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.about__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 140%;
  text-transform: uppercase;
  color: var(--text-main);
  text-align: center;
}

.about__text {
  text-transform: lowercase;
}

.about__btn {
  font-size: 38px;
  font-weight: 700;
  line-height: 100%;
}

.about__title,
.about__text {
  opacity: 0;
  transform: translateX(-120px);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1s ease;
  will-change: transform, opacity;
}

.about__main-img {
  opacity: 0;
  transform: translateX(120px);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1s ease;
  will-change: transform, opacity;
}

/* Fallback: show image if JavaScript is disabled or not loaded */
.no-js .about__main-img,
.about:not(.js-reveal) .about__main-img {
  opacity: 1;
  transform: none;
}

.about.is-inview .about__title,
.about.is-inview .about__text,
.about.is-inview .about__main-img {
  opacity: 1;
  transform: none;
}

/* Nice staggering */
.about.is-inview .about__title {
  transition-delay: 0.05s;
}

.about.is-inview .about__text {
  transition-delay: 0.15s;
}

.about.is-inview .about__main-img {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .about__title,
  .about__text,
  .about__main-img {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .about {
    padding-bottom: 14px;
    padding-top: 12px;
  }
  .about__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 140%;
    text-transform: uppercase;
    color: #5a3d32;
    text-align: center;
  }

  .about__btn {
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    padding: 16px 28px;
    max-height: 60px;
    max-width: 280px;
    width: auto;
    margin: 0 auto;
  }

  .about__content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }

  .about__content img {
    justify-self: center;
    order: -1;
    max-width: 191px;
  }

  .about__desc {
    gap: 12px;
  }
}

/* Video Section Styles */
.video {
  height: 80vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.video__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 768px) {
  .video {
    height: 40vh;
  }
}

/* New Products Section Styles */
.np__slider {
  position: relative;
  z-index: 0;
  overflow: visible;
  padding-bottom: 24px;
}

.np__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-beige);
  -webkit-mask-image: url("../images/common/section-wave-beige.svg");
  mask-image: url("../images/common/section-wave-beige.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

.np__slider-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.np__btn {
  position: relative;
  z-index: 1;
  top: 16px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: auto !important;
  min-height: 70px !important; /* Increased min-height */
  height: auto !important;
  max-height: none !important;
  max-width: 90% !important; /* Increased max-width */
  width: auto !important;
  min-width: 300px !important; /* Increased min-width */
  padding: 20px 60px !important; /* Increased side padding significantly */
  box-sizing: border-box !important;
  overflow: visible !important;
  text-align: center;
  margin: 0 auto;
}

.np__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100% 100% !important; /* Stretch background */
  z-index: -1;
  /* Override mask size to stretch to full button size */
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  /* Ensure mask image covers the whole area */
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}

.np__btn-label,
.np__btn .btn-label {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  text-align: center !important;
  line-height: 1.2 !important;
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  word-break: normal !important; /* Don't break words arbitrarily */
  hyphens: auto;
  box-sizing: border-box;
  font-size: clamp(16px, 4vw, 24px); /* Responsive font size */
}

.np .section-title {
  margin-bottom: 68px;
}

/* Swiper base styles */
.new-products-swiper {
  width: 100%;
  position: relative;
  overflow: hidden !important;
  max-width: 100%;
}

/* Navigation buttons for new products swiper */
.new-products-swiper .slider-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 300 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  border: none !important;
  background: var(--accent-red) !important;
  cursor: pointer !important;
}

.new-products-swiper .slider-btn--prev {
  left: 8px !important;
  right: auto !important;
}

.new-products-swiper .slider-btn--next {
  right: 8px !important;
  left: auto !important;
}

.new-products-swiper .slider-btn:disabled {
  opacity: 0.5 !important;
}

.new-products-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin-left 0.3s ease;
  will-change: transform;
}

/* Swap effect - shift wrapper to the left by one slide */
.np.is-swapped .new-products-swiper .swiper-wrapper {
  margin-left: var(--slide-shift, -400px); /* Dynamic shift calculated in JS, fallback to -400px */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin-left 0.3s ease 0.2s; /* 0.2s delay */
}

.new-products-swiper .swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .new-products-swiper {
    padding-left: 0;
    padding-right: 0;
  }
  
  .new-products-swiper .swiper-slide {
    width: 100% !important;
  }
  
  .slider-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slider-slide img {
    display: block;
    margin: 0 auto;
  }
}


/* Ensure slides are visible before Swiper initializes */
.new-products-swiper:not(.swiper-initialized) .swiper-slide {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.slider-slides {
  display: flex;
  align-items: center;
  will-change: transform;
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slider-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.slider-slide img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
}

.swiper-slide-active img {
  max-width: 100%;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .np {
    margin-top: 12px;
  }
  
  .np .section-title {
    margin-bottom: 12px;
  }
  
  .np__slider-content {
    padding-bottom: 20px;
  }
  
  .slider-slide img {
    max-width: 70%;
  }
  
  /* Swap effect on mobile - shift wrapper to the left by one slide */
  .np.is-swapped .new-products-swiper .swiper-wrapper {
    margin-left: var(--slide-shift, -100vw); /* Dynamic shift calculated in JS, fallback to full width on mobile */
    transition: margin-left 0.3s ease 0.2s; /* 0.2s delay */
  }
  
  .np__btn {
    font-size: 12px;
    top: 0px;
  }
}

/* Products Section Styles */
.products {
  padding-top: 116px;
}

.products__list {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Categories Section Styles */
.categories {
  padding-top: 44px;
  padding-bottom: 167px;
}

.categories__btns {
  padding-top: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 8px;
  max-width: 1410px;
  margin: 0 auto;
}

.categories__filter {
  width: 225px;
  font-size: 18px;
}

.categories__filter:nth-child(4) {
  font-size: 17px;
  padding-left: 8px;
}

.categories__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 36px;
  padding-top: 28px;
}

.categories__btn {
  font-size: 30px;
  width: 90%;
}

.categories__btn--long {
  font-size: 27px;
}

.catalog-header::before {
  background-image: url("../images/category/Butter-bg.png");
  background-position: top;
}

.news__header::before {
  background-image: url("../images/news/news-bg.png");
  background-position: top;
  background-size: cover;
}

.partners__header::before {
  background-image: url("../images/partners/hero-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.partners {
  padding-top: 20px;
  padding-bottom: 24px;
}

.partners__wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 120px;
  gap: 58px;
}

.partners__wrapper img {
  transform: scale(1.1);
}

.partners__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 28px;
}

.partners .btn {
  font-size: 40px;
  width: 100%;
  padding: 16px 40px;
}

@media (max-width: 768px) {
  .partners__wrapper {
    margin-top: 24px;
  }

  .partners__wrapper img {
    display: none;
  }

  .partners__links {
    gap: 8px;
  }

.partners .btn {
  font-size: 22px;
  width: 100%;
  padding: 12px 28px;
  }
}

.distributors__header::before {
  background-image: url("../images/partners/distributors-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.distributors {
  padding-top: 20px;
  padding-bottom: 24px;
}

.distributors__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  color: var(--text-main);
}

.distributors__content-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  place-items: center;
}

.distributors__content-item img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-radius: 48px;
}

.distributors__content-item-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.distributors__content-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
  color: var(--text-main);
}

.distributors__content-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  color: var(--text-main);
}

.distributors__content-subtitle span {
  font-weight: 500;
}

.distributors__content-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.distributors__content-list-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.distributors__content-list-item span {
  font-weight: 500;
}

.distributors__content-list-item img {
  object-fit: contain;
  max-width: 42px;
  max-height: 42px;
  border-radius: 0;
}

@media (max-width: 768px) {
  .distributors__content-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .distributors__content-item img {
    max-height: 320px;
  }

  .distributors__content-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
  }

  .distributors__content-subtitle {
    font-size: 15px;
  }
}

/* WordPress editor content styles for distributors section */
.distributors__content h1,
.distributors__content h2,
.distributors__content h3,
.distributors__content h4,
.distributors__content h5,
.distributors__content h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-top: 24px;
  /* margin-bottom: 12px; */
}

.distributors__content h1:first-child,
.distributors__content h2:first-child,
.distributors__content h3:first-child,
.distributors__content h4:first-child,
.distributors__content h5:first-child,
.distributors__content h6:first-child {
  margin-top: 0;
}

.distributors__content h1 {
  font-size: 48px;
}

.distributors__content h2 {
  font-size: 40px;
}

.distributors__content h3 {
  font-size: 32px;
}

.distributors__content h4 {
  font-size: 24px;
}

.distributors__content h5 {
  font-size: 18px;
}

.distributors__content h6 {
  font-size: 16px;
}

.distributors__content p {
  /* margin-top: 16px; */
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 400;
}

.distributors__content p:first-child {
  margin-top: 0;
}

.distributors__content strong,
.distributors__content b {
  font-weight: 700;
}

.distributors__content em,
.distributors__content i {
  font-style: italic;
}

.distributors__content ul,
.distributors__content ol {
  list-style-position: outside;
  margin-left: 24px;
  margin-top: 16px;
  margin-bottom: 0;
  padding-left: 0;
  line-height: 1.5;
}

.distributors__content ul {
  list-style-type: disc;
}

.distributors__content ol {
  list-style-type: decimal;
}

.distributors__content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.distributors__content li:last-child {
  margin-bottom: 0;
}

.distributors__content a {
  color: var(--text-main);
  text-decoration: underline;
}

.distributors__content a:hover {
  color: var(--hover-text-main);
}

/* Text alignment support */
.distributors__content [style*="text-align: left"],
.distributors__content .has-text-align-left {
  text-align: left;
}

.distributors__content [style*="text-align: center"],
.distributors__content .has-text-align-center {
  text-align: center;
}

.distributors__content [style*="text-align: right"],
.distributors__content .has-text-align-right {
  text-align: right;
}

.distributors__content [style*="text-align: justify"],
.distributors__content .has-text-align-justify {
  text-align: justify;
}

/* Gutenberg blocks support */
.distributors__content .wp-block-heading {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  /* margin-top: 24px; */
  /* margin-bottom: 12px; */
}

.distributors__content .wp-block-heading:first-child {
  margin-top: 0;
}

.distributors__content .wp-block-paragraph {
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 400;
}

.distributors__content .wp-block-paragraph:first-child {
  margin-top: 0;
}

.distributors__content .wp-block-image {
  margin: 24px 0;
}

.distributors__content .wp-block-image img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-radius: 48px;
}

.distributors__content .wp-block-columns {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  margin: 48px 0;
}

.distributors__content .wp-block-column {
  flex: 1;
  min-width: 0;
}

.distributors__content .wp-block-columns .wp-block-image {
  margin: 0;
}

.distributors__content .wp-block-columns .wp-block-image img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-radius: 48px;
}

@media (max-width: 768px) {
  .distributors__content h1 {
    font-size: 32px;
  }

  .distributors__content h2 {
    font-size: 28px;
  }

  .distributors__content h3 {
    font-size: 24px;
  }

  .distributors__content h4 {
    font-size: 20px;
  }

  .distributors__content h5 {
    font-size: 18px;
  }

  .distributors__content h6 {
    font-size: 16px;
  }

  .distributors__content p {
    font-size: 15px;
  }

  .distributors__content .wp-block-columns {
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
  }

  .distributors__content .wp-block-image img,
  .distributors__content .wp-block-columns .wp-block-image img {
    border-radius: 24px;
  }
}

.career__header::before {
  background-image: url("../images/career/career-header-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.career__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.career__list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 26px;
  row-gap: 34px;
  margin-top: 34px;
}

.career__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 60px;
}

.career__item img {
  width: 100%;
  object-fit: cover;
  max-height: 600px;
  border-radius: 48px;
}

@media (max-width: 768px) {
  .career__container {
    gap: 24px;
  }

  .career__list {
    grid-template-columns: 1fr;
  }

  .career__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }

  .career__item .btn {
    font-size: 15px;
    width: 100%;
  }

  .career__item img {
    max-height: 354px;
  }
}

.vacancy__header::before {
  background-image: url("../images/career/career-header-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.vacancy {
  color: var(--text-main);
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
}

.vacancy__title {
  text-align: left;
  text-transform: none;
}

.vacancy__subtitle {
  line-height: 120%;
  margin-top: 24px;
}

.vacancy__subtitle a {
  color: var(--text-main);
  text-decoration: underline;
}

.vacancy__chapters {
  margin-top: 24px;
}

.vacancy__chapters,
.vacancy__chapter {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

.vacancy__chapter-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
}

.vacancy__chapter-list {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 24px;
  line-height: 140%;
  padding-left: 0;
}

.vacancy__chapter-list-item {
  margin-bottom: 8px;
}

.vacancy__content {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .vacancy__content {
    font-size: 15px;
  }
}

.vacancy__content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h5 {
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h6 {
  font-size: 16px;
  font-weight: 700;
  line-height: 130%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

.vacancy__content h1:first-child,
.vacancy__content h2:first-child,
.vacancy__content h3:first-child,
.vacancy__content h4:first-child,
.vacancy__content h5:first-child,
.vacancy__content h6:first-child {
  margin-top: 0;
}

.vacancy__content .wp-block-heading {
  font-weight: 700;
  line-height: 100%;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 0;
}

/* Specific styles for h3.wp-block-heading (main title) */
.vacancy__content h3.wp-block-heading {
  font-size: 60px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 8px;
}

/* Styles for other heading levels with wp-block-heading */
.vacancy__content h1.wp-block-heading {
  font-size: 48px;
}

.vacancy__content h2.wp-block-heading {
  font-size: 40px;
}

.vacancy__content h4.wp-block-heading {
  font-size: 24px;
}

.vacancy__content h5.wp-block-heading {
  font-size: 18px;
  line-height: 130%;
}

.vacancy__content h6.wp-block-heading {
  font-size: 16px;
  line-height: 130%;
}

.vacancy__content .wp-block-heading:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .vacancy__content .wp-block-heading:first-child {
    font-size: 20px;
  }
}

.vacancy__content ul {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 24px;
  line-height: 140%;
  margin-top: 24px;
  padding-left: 0;
}

.vacancy__content li {
  margin-bottom: 8px;
}

.vacancy__content p {
  line-height: 120%;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .vacancy {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .vacancy__subtitle {
    font-size: 15px;
  }

  .vacancy__chapter {
    gap: 16px;
  }

  .vacancy__chapter-title {
    font-size: 18px;
  }

  .vacancy__content h1 {
    font-size: 28px;
  }

  .vacancy__content h2 {
    font-size: 24px;
  }

  .vacancy__content h3 {
    font-size: 20px;
  }

  .vacancy__content h4 {
    font-size: 18px;
  }

  .vacancy__content h5 {
    font-size: 16px;
  }

  .vacancy__content h6 {
    font-size: 14px;
  }

  .vacancy__content h3.wp-block-heading {
    font-size: 32px;
  }

  .vacancy__content h1.wp-block-heading {
    font-size: 28px;
  }

  .vacancy__content h2.wp-block-heading {
    font-size: 24px;
  }

  .vacancy__content h4.wp-block-heading {
    font-size: 18px;
  }

  .vacancy__content h5.wp-block-heading {
    font-size: 16px;
  }

  .vacancy__content h6.wp-block-heading {
    font-size: 14px;
  }

  .vacancy__chapter-list {
    font-size: 15px;
  }

  .vacancy__content ul {
    font-size: 15px;
  }
}

.job-apply {
  padding-top: 24px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.job-apply__desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.job-apply__title {
  text-align: left;
  font-size: 48px;
}

.job-apply__form {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Contact Form 7 styles for job-apply form */
.job-apply__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.job-apply__form .wpcf7-form-control-wrap {
  width: 100%;
  position: relative;
}

.job-apply__form .wpcf7-form-control {
  width: 100%;
}

/* Contact Form 7 styles for job-apply form - matching feedback__form styles */
.job-apply__form .wpcf7 {
  width: 100%;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.job-apply__form .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hide only text content of labels, but keep inputs visible - same as feedback__form */
.job-apply__form .wpcf7-form label {
  display: block !important;
  position: relative !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.job-apply__form .wpcf7-form label .wpcf7-form-control-wrap {
  font-size: initial !important;
  line-height: initial !important;
  color: initial !important;
}

/* Hide CF7 shortcode text that hasn't been converted yet */
.job-apply__form .wpcf7-form label br {
  display: none !important;
}

/* Hide shortcode text patterns in labels */
.job-apply__form .wpcf7-form label {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.job-apply__form .wpcf7-form label .wpcf7-form-control-wrap {
  font-size: initial !important;
  line-height: initial !important;
  color: initial !important;
}

.job-apply__form .wpcf7-form label input,
.job-apply__form .wpcf7-form label textarea {
  font-size: initial !important;
  line-height: initial !important;
  color: initial !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.job-apply__form .wpcf7-form .wpcf7-form-control-wrap {
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

/* Ensure phone field wrap is visible */
.job-apply__form .wpcf7-form .wpcf7-form-control-wrap:has(input[type="tel"]),
.job-apply__form .wpcf7-form .wpcf7-form-control-wrap:has(input[type="phone"]),
.job-apply__form .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-phone),
.job-apply__form .wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-tel) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

/* Ensure phone input itself is visible */
.job-apply__form input[type="tel"],
.job-apply__form input[type="phone"],
.job-apply__form .wpcf7-phone,
.job-apply__form .wpcf7-tel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  position: relative !important;
}

/* Ensure submit button paragraph centers button */
.job-apply__form .wpcf7-form p:has(button[type="submit"]),
.job-apply__form .wpcf7-form p:has(input[type="submit"]),
.job-apply__form .wpcf7-form p:has(.wpcf7-submit) {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  background: none !important;
  box-shadow: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

.job-apply__form .wpcf7-form p:has(button[type="submit"])::before,
.job-apply__form .wpcf7-form p:has(button[type="submit"])::after {
  display: none !important;
}

/* Apply feedback__input styles to job-apply form inputs - matching feedback__form */
.job-apply__form input[type="text"],
.job-apply__form input[type="email"],
.job-apply__form input[type="tel"],
.job-apply__form input[type="phone"],
.job-apply__form input[type="url"],
.job-apply__form input[type="number"],
.job-apply__form textarea,
.job-apply__form .wpcf7-form-control:not(button):not([type="submit"]),
.job-apply__form .wpcf7-text,
.job-apply__form .wpcf7-email,
.job-apply__form .wpcf7-tel,
.job-apply__form .wpcf7-phone,
.job-apply__form .wpcf7-textarea {
  width: 100% !important;
  padding: 6px 12px !important;
  outline: none !important;
  background-color: var(--accent-beige, #e8ddc5) !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 110% !important;
  color: var(--text-main, #5a3d32) !important;
  position: relative !important;
  resize: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.job-apply__form textarea {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.job-apply__form textarea::placeholder {
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 110%;
}

.job-apply__form input[type="text"]::placeholder,
.job-apply__form input[type="email"]::placeholder,
.job-apply__form input[type="tel"]::placeholder,
.job-apply__form input[type="phone"]::placeholder,
.job-apply__form input[type="url"]::placeholder,
.job-apply__form input[type="number"]::placeholder,
.job-apply__form textarea::placeholder,
.job-apply__form .wpcf7-form-control::placeholder {
  color: var(--text-main, #5a3d32) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 110% !important;
  text-transform: uppercase !important;
  transition: 0.3s;
  font-family: inherit;
  opacity: 1 !important;
}

.job-apply__form input[type="text"]:hover,
.job-apply__form input[type="email"]:hover,
.job-apply__form input[type="tel"]:hover,
.job-apply__form input[type="phone"]:hover,
.job-apply__form input[type="url"]:hover,
.job-apply__form input[type="number"]:hover,
.job-apply__form textarea:hover,
.job-apply__form .wpcf7-form-control:hover {
  background-color: var(--accent-pink, #f59094) !important;
  transition: 0.3s;
}

.job-apply__form input[type="text"]:hover::placeholder,
.job-apply__form input[type="email"]:hover::placeholder,
.job-apply__form input[type="tel"]:hover::placeholder,
.job-apply__form input[type="phone"]:hover::placeholder,
.job-apply__form input[type="url"]:hover::placeholder,
.job-apply__form input[type="number"]:hover::placeholder,
.job-apply__form textarea:hover::placeholder,
.job-apply__form .wpcf7-form-control:hover::placeholder {
  color: var(--text-main, #5a3d32) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 110% !important;
  text-transform: uppercase !important;
  transition: 0.3s;
}

.job-apply__form input[type="text"][aria-invalid="true"],
.job-apply__form input[type="email"][aria-invalid="true"],
.job-apply__form input[type="tel"][aria-invalid="true"],
.job-apply__form input[type="phone"][aria-invalid="true"],
.job-apply__form textarea[aria-invalid="true"],
.job-apply__form .wpcf7-form-control[aria-invalid="true"] {
  outline: 2px solid var(--accent-red, #d32f2f) !important;
}

.job-apply__form input[type="submit"],
.job-apply__form button[type="submit"],
.job-apply__form .wpcf7-submit {
  margin-top: 24px !important;
}

/* Job-apply form button - matching feedback__form button styles */
.job-apply__form .btn.btn--red,
.job-apply__form .btn.btn--red.wpcf7-submit,
.job-apply__form .btn.btn--red.wpcf7-form-control {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-grid !important;
  contain: layout style paint !important;
  isolation: isolate !important;
  cursor: pointer !important;
}

.job-apply__form .btn.btn--red .btn-label {
  color: var(--text-accent, #fff) !important;
}

.job-apply__form .btn.btn--red::before,
.job-apply__form .btn.btn--red.wpcf7-submit::before,
.job-apply__form .btn.btn--red.wpcf7-form-control::before {
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  filter: none !important;
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 340px !important;
  height: calc(340px * 92 / 482) !important;
  background-image: url("data:image/svg+xml,%3Csvg width='482' height='92' viewBox='0 0 482 92' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H482V92H0V0Z' fill='%23EA002A'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  z-index: -1 !important;
  transform: translateX(0) !important;
  pointer-events: none !important;
  max-width: 340px !important;
  max-height: calc(340px * 92 / 482) !important;
}

.job-apply__form .btn.btn--red:hover {
  filter: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.job-apply__form .btn.btn--red:hover::before {
  filter: none !important;
  box-shadow: none !important;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  transform: translateX(4px) translateY(4px) !important;
}

.job-apply__form .wpcf7-response-output {
  margin: 0 !important;
  padding: 0 !important;
}

.job-apply__form .wpcf7-not-valid-tip {
  display: none;
}

/* Ensure button doesn't stretch to full width */
.job-apply__form .wpcf7-form p:has(button[type="submit"]) .btn,
.job-apply__form .wpcf7-form p:has(input[type="submit"]) .btn,
.job-apply__form .wpcf7-form p:has(.wpcf7-submit) .btn {
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .job-apply__form .wpcf7-form p:has(button[type="submit"]) .btn,
  .job-apply__form .wpcf7-form p:has(input[type="submit"]) .btn,
  .job-apply__form .wpcf7-form p:has(.wpcf7-submit) .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
  }

  .job-apply__form .btn.btn--red,
  .job-apply__form .btn.btn--red.wpcf7-submit,
  .job-apply__form .btn.btn--red.wpcf7-form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
  }

  .job-apply__form .btn.btn--red::before,
  .job-apply__form .btn.btn--red.wpcf7-submit::before,
  .job-apply__form .btn.btn--red.wpcf7-form-control::before {
    width: 100% !important;
    max-width: 100% !important;
  }

  .job-apply__form .btn.btn--red:hover::before {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.job-apply__btn {
  font-size: 15px;
  padding: 12px 16px;
  width: 80%;
}

.field {
  position: relative;
  width: 100%;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.file-input-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.file-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.2s ease;
}

.file-trigger:hover {
  color: var(--accent-red, #ea002a);
  transition: color 0.2s ease;
}

.file-trigger svg {
  stroke: var(--text-main);
}

.file-trigger:hover svg {
  stroke: var(--accent-red, #ea002a);
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  color: var(--text-main);
}

.field__error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  color: var(--accent-red, #ea002a);
}

.feedback__input[aria-invalid="true"] {
  outline: 2px solid var(--accent-red, #ea002a);
}

.field--show-error .field__error {
  opacity: 1;
}

@media (max-width: 768px) {
  .job-apply {
    grid-template-columns: 1fr;
  }

  .job-apply__title {
    text-align: center;
    font-size: 21px;
    margin-bottom: 20px;
  }

  .job-apply__logo {
    display: none;
  }

  .job-apply__form {
    gap: 6px;
  }

  .file-trigger {
    margin-top: 12px;
    margin-bottom: 12px;
    align-self: center;
  }
}

.categories__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  a.categories__item span.btn span.btn-label {
    font-size: 12px;
  }
}

.categories__item:nth-child(1) .categories__image,
.categories__item:nth-child(3) .categories__image,
.categories__item:nth-child(5) .categories__image,
.categories__item:nth-child(7) .categories__image,
.categories__item:nth-child(8) .categories__image,
.categories__item:nth-child(10) .categories__image {
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.categories__item:nth-child(2) .categories__image,
.categories__item:nth-child(4) .categories__image,
.categories__item:nth-child(6) .categories__image,
.categories__item:nth-child(9) .categories__image,
.categories__item:nth-child(11) .categories__image,
.categories__item:nth-child(12) .categories__image {
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

.categories__image {
  background-color: var(--accent-beige);
  width: 100%;
  aspect-ratio: 1;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.categories__image-main {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
  opacity: 1;
}

.categories__image-hover {
  position: absolute;
  right: 380px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
  opacity: 0;
}

.categories__image img {
  max-height: 320px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.categories__image-logo {
  max-height: 160px !important;
}

.categories__image::before,
.categories__image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: clamp(100px, 25%, 180px);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

.categories__image::before {
  background-position: 0 100%, 0 100%;
}

.categories__image::after {
  background-position: 100% 0, 100% 0;
}

.categories__image:hover .categories__image-hover {
  right: 0;
  opacity: 1;
}

.categories__image:hover .categories__image-main {
  right: -380px;
  opacity: 0;
}

.categories__image.is-active .categories__image-hover {
  right: 0;
  opacity: 1;
  transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
  will-change: right, opacity;
}

.categories__image.is-active .categories__image-main {
  right: -380px;
  opacity: 0;
  transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
  will-change: right, opacity;
}

.categories__image.is-active:hover .categories__image-hover {
  right: -380px;
  opacity: 0;
}

.categories__image.is-active:hover .categories__image-main {
  right: 0;
  opacity: 1;
}

.products .btn {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .categories__image,
  .categories__image * {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .products {
    padding-top: 36px;
  }

  .products__list {
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products .btn {
    font-size: 12px;
  }

  .categories {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .categories__filter {
    width: 185px;
  }

  .categories__filter:nth-child(4) {
    font-size: 10px;
  }

  .categories__btns {
    padding-top: 12px;
    gap: 2px;
  }

  .categories__btns .btn {
    font-size: 10px;
    min-width: 118px;
    padding: 12px 10px;
    width: fit-content;
  }

  .categories__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .categories__btn {
    font-size: 12px;
  }

  .categories__item {
    gap: 6px;
  }

  .categories__item .categories__image::before {
    height: clamp(50px, 16%, 100px) !important;
  }

  .categories__image::after {
    height: clamp(50px, 16%, 100px) !important;
  }

  .categories__image img {
    max-height: 150px;
  }

  .categories__image-logo {
    max-height: 74px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) { 
  .categories__btn {
    font-size: 16px;
  }
}

/* Category Section Styles */
.category__hero {
  padding-top: 42px;
  padding-bottom: 107px;
}

.category__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 27px;
  gap: 18px;
}

.category__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.category__item:nth-child(1) .category__image,
.category__item:nth-child(3) .category__image,
.category__item:nth-child(4) .category__image,
.category__item:nth-child(6) .category__image,
.category__item:nth-child(7) .category__image,
.category__item:nth-child(9) .category__image {
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.category__item:nth-child(2) .category__image,
.category__item:nth-child(5) .category__image,
.category__item:nth-child(8) .category__image {
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

.category__item:nth-child(1) .category__image::before,
.category__item:nth-child(4) .category__image::before,
.category__item:nth-child(7) .category__image::before {
  left: 0;
  bottom: 0;
  background-image: url("../images/home/products-vectors/first-bl-on.svg"),
    url("../images/home/products-vectors/first-bl-under.svg");
}

.category__item:nth-child(1) .category__image::after,
.category__item:nth-child(4) .category__image::after,
.category__item:nth-child(7) .category__image::after {
  right: 0;
  top: 0;
  background-image: url("../images/home/products-vectors/first-tr-on.svg"),
    url("../images/home/products-vectors/first-tr-under.svg");
}

.category__item:nth-child(2) .category__image::before,
.category__item:nth-child(5) .category__image::before,
.category__item:nth-child(8) .category__image::before {
  left: 0;
  top: 0;
  background-image: url("../images/home/products-vectors/second-tl-on.svg"),
    url("../images/home/products-vectors/second-tl-under.svg");
  background-position: 0% 100%, 0% 100%;
  height: clamp(120px, 26%, 180px);
}

.category__item:nth-child(2) .category__image::after,
.category__item:nth-child(5) .category__image::after,
.category__item:nth-child(8) .category__image::after {
  right: 0;
  bottom: 0;
  background-image: url("../images/home/products-vectors/second-br.svg");
}

.category__item:nth-child(3) .category__image::before,
.category__item:nth-child(6) .category__image::before,
.category__item:nth-child(9) .category__image::before {
  left: 0;
  bottom: 0;
  background-image: url("../images/home/products-vectors/third-bl-on.svg"),
    url("../images/home/products-vectors/third-bl-under.svg");
  background-position: -24px calc(100% + 24px), 0 100%;
  height: clamp(120px, 26%, 180px);
}

.category__item:nth-child(3) .category__image::after,
.category__item:nth-child(6) .category__image::after,
.category__item:nth-child(9) .category__image::after {
  right: 0;
  top: 0;
  background-image: url("../images/home/products-vectors/third-tr-on.svg"),
    url("../images/home/products-vectors/third-tr-under.svg");
}

.category__image {
  background-color: var(--accent-beige);
  width: 100%;
  aspect-ratio: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.category__image:hover img {
  transform: scale(1.15);
  transition: all 0.3s;
}

.category__image::before,
.category__image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: clamp(100px, 25%, 130px);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

.category__image::before {
  background-position: 0 100%, 0 100%;
}

.category__image::after {
  background-position: 100% 0, 100% 0;
}

.category__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 320px;
}

.category__btn {
  width: 100%;
}

.category__btn--long {
  font-size: 30px;
}

.page__header-video::before {
  position: absolute;
  top: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0) 280px
  );
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% cover;
  z-index: 2;
}

/* Tablet styles - уменьшаем количество колонок для планшета */
@media (max-width: 1024px) and (min-width: 769px) {
  .category__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .category__hero {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .category__list {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 27px;
    gap: 12px;
  }

  .category__item {
    gap: 6px;
    display: flex;
    flex-direction: column;
  }

  .category__item .category__image::before {
    height: clamp(50px, 16%, 100px) !important;
  }

  .category__image::after {
    height: clamp(50px, 16%, 100px) !important;
  }

  .category__image img {
    max-height: 220px;
  }

  .category__btn {
    width: 90%;
    padding: 12px 20px;
  }

  .category__btn--long {
    font-size: 11px;
  }
}

/* Product Section Styles */
.product {
  margin-top: 84px;
  padding-bottom: 63px;
}

.product__card {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px;
}

.product__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow-y: hidden;
}

.product__image-block {
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  background-color: var(--accent-beige);
  width: 100%;
  aspect-ratio: 1;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-y: hidden;
}

/* Product Swiper Styles - ensure slides don't overlap */
.product-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.product-swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.product__image-block::before {
  content: "";
  position: absolute;
  width: 100%;
  height: clamp(120px, 35%, 180px);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  left: 0;
  bottom: 0;
  background-image: url("../images/home/products-vectors/first-bl-on.svg"),
    url("../images/home/products-vectors/first-bl-under.svg");
}

.product__image-block::after {
  right: 0;
  top: 0;
  background-image: url("../images/home/products-vectors/first-tr-on.svg"),
    url("../images/home/products-vectors/first-tr-under.svg");
  content: "";
  position: absolute;
  width: 100%;
  height: clamp(120px, 35%, 180px);
  pointer-events: none;
  z-index: 0;
  background-position: right top;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

.product__content .btn {
  width: 100%;
  margin-bottom: 24px;
}

.product__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product__composition {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: flex-start;
  color: var(--text-main);
  padding-left: 20px;
}

.product__composition-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 100%;
}

.product__composition-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-main);
}

/* WordPress editor content styles */
.product__composition-desc h1,
.product__composition-desc h2,
.product__composition-desc h3,
.product__composition-desc h4,
.product__composition-desc h5,
.product__composition-desc h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-top: 16px;
  margin-bottom: 8px;
}

.product__composition-desc h1:first-child,
.product__composition-desc h2:first-child,
.product__composition-desc h3:first-child,
.product__composition-desc h4:first-child,
.product__composition-desc h5:first-child,
.product__composition-desc h6:first-child {
  margin-top: 0;
}

.product__composition-desc h1 {
  font-size: 24px;
}

.product__composition-desc h2 {
  font-size: 20px;
}

.product__composition-desc h3 {
  font-size: 18px;
}

.product__composition-desc h4 {
  font-size: 16px;
}

.product__composition-desc h5 {
  font-size: 14px;
}

.product__composition-desc h6 {
  font-size: 13px;
}

.product__composition-desc p {
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.5;
}

.product__composition-desc p:first-child {
  margin-top: 0;
}

.product__composition-desc strong,
.product__composition-desc b {
  font-weight: 700;
}

.product__composition-desc em,
.product__composition-desc i {
  font-style: italic;
}

.product__composition-desc ul,
.product__composition-desc ol {
  list-style-position: outside;
  margin-left: 20px;
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 0;
}

.product__composition-desc ul {
  list-style-type: disc;
}

.product__composition-desc ol {
  list-style-type: decimal;
}

.product__composition-desc li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.product__composition-desc li:last-child {
  margin-bottom: 0;
}

.product__composition-desc a {
  color: var(--text-main);
  text-decoration: underline;
}

.product__composition-desc a:hover {
  color: var(--hover-text-main);
}

.product__composition-desc blockquote {
  margin: 16px 0;
  padding-left: 20px;
  border-left: 3px solid var(--text-main);
  font-style: italic;
}

.product__composition-desc code {
  background-color: rgba(90, 61, 50, 0.1);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 12px;
}

.product__composition-desc pre {
  background-color: rgba(90, 61, 50, 0.1);
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 12px 0;
}

.product__composition-desc pre code {
  background: none;
  padding: 0;
}

.product__composition-desc img {
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: 8px;
}

.product__composition-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.product__composition-desc table th,
.product__composition-desc table td {
  padding: 8px;
  border: 1px solid rgba(90, 61, 50, 0.2);
  text-align: left;
}

.product__composition-desc table th {
  font-weight: 700;
  background-color: rgba(90, 61, 50, 0.05);
}

.product__table {
  color: var(--text-main);
}

.product__table-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 100%;
}

.product__table-title:first-child {
  text-align: start;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table td {
  padding: 20px;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 400;
  line-height: 100%;
}

table th {
  padding: 12px 16px;
  vertical-align: middle;
}

.pkg {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
}
.pkg img {
  width: 79px;
}

.weight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 86px;
}

.product-pagination {
  align-self: center;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #cdb9a6 !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background-color: #5a3d32 !important;
}

.product__single-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product__single-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .product {
    margin-top: 12px;
    padding-bottom: 12px;
  }

  .product__card {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product__image-block::before,
  .product__image-block::after {
    height: clamp(50px, 16%, 80px);
  }

  .product__content {
    gap: 12px;
  }

  .product__content .btn {
    font-size: 15px;
  }

  .product__table-title {
    font-size: 15px;
    font-weight: 800;
  }

  .product__composition-title {
    font-size: 15px;
    font-weight: 800;
  }

  .product__composition-desc {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
  }

  .product__composition-desc h1 {
    font-size: 20px;
  }

  .product__composition-desc h2 {
    font-size: 18px;
  }

  .product__composition-desc h3 {
    font-size: 16px;
  }

  .product__composition-desc h4 {
    font-size: 14px;
  }

  .product__composition-desc h5 {
    font-size: 12px;
  }

  .product__composition-desc h6 {
    font-size: 11px;
  }

  .product__composition-desc p,
  .product__composition-desc li {
    margin-top: 8px;
  }

  .product__composition-desc ul,
  .product__composition-desc ol {
    margin-left: 16px;
    margin-top: 8px;
  }

  table td {
    padding: 6px;
    font-size: 13px;
    font-weight: 400;
  }

  table th {
    padding: 6px 8px;
    vertical-align: middle;
  }

  .pkg {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
  }

  .weight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 86px;
  }
}

/* News Section Styles */
.news {
  padding-top: 122px;
}

.news__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.news__list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 26px;
  row-gap: 40px;
  margin-top: 34px;
}

.news__wrapper {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  overflow: hidden;
}

.news__wrapper .news__item .btn {
  width: calc(100% + 10px);
  max-width: calc(100% + 10px);
}

.news__wrapper .news__item .btn:hover {
  width: calc(100% + 10px);
  max-width: calc(100% + 10px);
}

.news__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transform: none;
  overflow: visible;
}

.news__item-image-main,
.news__item-img-main {
  position: relative;
  width: 100%;
  opacity: 1;
  transition: opacity 1s ease;
  will-change: opacity;
  z-index: 1;
  transform: none;
  display: block;
  flex-shrink: 0;
}

.news__list .news__item {
  gap: 20px;
}

.news__item-image-main,
.news__item-img-main {
  position: relative;
  width: 100%;
  opacity: 1;
  transition: opacity 1s ease;
  will-change: opacity;
  z-index: 1;
  transform: none;
  display: block;
}

.news__item-image-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  transform: none;
  transition: opacity 1s ease;
  opacity: 0;
  will-change: opacity;
  z-index: 2;
  pointer-events: none;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  max-height: 644px;
  max-width: 100%;
  @media (hover: hover) {
    .news__item-img-main:hover & {
      opacity: 1;
    }
  }
}

.news__item-img-main:hover .news__item-image-main,
.news__item-img-main:hover .news__item-img-main {
  opacity: 0;
}

.news__item-image-main,
.news__item-img-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
  max-height: 644px;
  display: block;
}

.news__list .news__item-image-main {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  max-height: 600px;
  border-radius: 48px;
}

.news__list .news__item-image-hover {
  border-radius: 48px;
  max-height: 600px;
}

.news__item:hover .news__item-image-hover {
  opacity: 1;
  transition: opacity 1s ease;
  transform: none;
}

.news__item:hover .news__item-image-main,
.news__item:hover .news__item-img-main {
  opacity: 0;
  transition: opacity 1s ease;
  transform: none;
}

.news__item.is-active {
  transform: none;
}

.news__item.is-active .news__item-image-hover {
  opacity: 1;
  transition: opacity 1s ease;
  transform: none;
  width: 100%;
  max-width: 100%;
  max-height: 644px;
}

.news__item.is-active .news__item-image-main,
.news__item.is-active .news__item-img-main {
  opacity: 0;
  transition: opacity 1s ease;
  transform: none;
}

.news__list .news__item.is-active .news__item-image-hover {
  max-height: 600px;
}

.news__item.is-active:hover .news__item-image-hover {
  opacity: 0;
  transition: opacity 1s ease;
  transform: none;
}

.news__item.is-active:hover .news__item-image-main,
.news__item.is-active:hover .news__item-img-main {
  opacity: 1;
  transition: opacity 1s ease;
  transform: none;
}

@media (max-width: 768px) {
  .news {
    padding-top: 22px;
  }

  .news__container {
    gap: 24px;
  }

  .news__list {
    grid-template-columns: 1fr;
  }

  .news__wrapper {
    margin-top: 34px;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .news__item {
    gap: 8px;
  }

  .news .btn {
    font-size: 18px;
    padding: 10px;
    width: 90%;
  }
}

/* Banner Section Styles */
.banner {
  position: relative;
  padding-top: 58px;
  padding-bottom: 485px;
  margin-top: 102px;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-pink, #fce3db);
  -webkit-mask-image: url("../images/common/section-wave-pink.svg");
  mask-image: url("../images/common/section-wave-pink.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

.banner__img {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/category/Butter-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}

.banner__logo {
  max-width: 298px;
  overflow: hidden;
  z-index: 0;
}

.banner__content {
  display: flex;
  justify-content: flex-end;
  padding-right: 180px;
  z-index: 0;
}

@media (max-width: 768px) {
  .banner {
    display: none;
  }
}

/* Feedback Section Styles */
.feedback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 75px;
  padding-top: 128px;
  padding-bottom: 149px;
}

.feedback__desc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.feedback__logo {
  width: 229px;
}

.feedback__title {
  white-space: wrap;
}

.feedback__form {
  width: 100%;
}

.feedback__form form {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.feedback__input {
  width: 100%;
  padding: 6px 12px;
  outline: none;
  background-color: var(--accent-beige, #e8ddc5);
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 110%;
  color: var(--text-main, #5a3d32);
  position: relative;
  resize: none;
  margin: 0;
  box-sizing: border-box;
}

.feedback textarea.feedback__input {
  margin: 0;
  margin-left: 0;
  margin-right: 0;
}

.feedback textarea::placeholder {
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 110%;
}

.feedback__input::placeholder {
  color: var(--text-main, #5a3d32);
  font-size: 18px;
  font-weight: 500;
  line-height: 110%;
  text-transform: uppercase;
  transition: 0.3s;
  font-family: inherit;
}

.feedback__input:hover {
  background-color: var(--accent-pink, #f59094);
  transition: 0.3s;
}

.feedback__input:hover::placeholder {
  color: var(--text-main, #5a3d32);
  font-size: 12px;
  font-weight: 500;
  line-height: 110%;
  text-transform: uppercase;
  transition: 0.3s;
  position: absolute;
  top: 8px;
  left: 24px;
}

.feedback__input[aria-invalid="true"] {
  outline: 2px solid var(--accent-red, #d32f2f);
}

/* .feedback__btn removed - using base .btn styles like news section */

/* Contact Form 7 styles integration - apply feedback__input styles */
.feedback__form .wpcf7 {
  width: 100%;
}

.feedback__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.feedback__form .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Hide only text content of labels, but keep inputs visible */
.feedback__form .wpcf7-form label {
  display: block !important;
  position: relative !important;
}

/* Hide text nodes inside labels */
.feedback__form .wpcf7-form label > *:not(.wpcf7-form-control-wrap):not(input):not(textarea) {
  display: none !important;
}

/* Alternative: hide text content directly */
.feedback__form .wpcf7-form label {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.feedback__form .wpcf7-form label .wpcf7-form-control-wrap {
  font-size: initial !important;
  line-height: initial !important;
  color: initial !important;
}

.feedback__form .wpcf7-form .wpcf7-form-control-wrap {
  width: 100%;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.feedback__form .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure submit button paragraph doesn't stretch but centers button */
.feedback__form .wpcf7-form p:has(button[type="submit"]),
.feedback__form .wpcf7-form p:has(input[type="submit"]),
.feedback__form .wpcf7-form p:has(.wpcf7-submit) {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  background: none !important;
  box-shadow: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}

/* Remove any background from paragraph that might show behind button */
.feedback__form .wpcf7-form p:has(button[type="submit"])::before,
.feedback__form .wpcf7-form p:has(button[type="submit"])::after {
  display: none !important;
}

/* Ensure button doesn't stretch to full width */
.feedback__form .wpcf7-form p:has(button[type="submit"]) .btn,
.feedback__form .wpcf7-form p:has(input[type="submit"]) .btn,
.feedback__form .wpcf7-form p:has(.wpcf7-submit) .btn {
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
  flex-shrink: 0 !important;
}


@media (max-width: 768px) {
  .feedback__form .wpcf7-form p:has(button[type="submit"]) .btn,
  .feedback__form .wpcf7-form p:has(input[type="submit"]) .btn,
  .feedback__form .wpcf7-form p:has(.wpcf7-submit) .btn {
    width: 246px !important;
    max-width: 100% !important;
    min-width: auto !important;
  }
  .wpcf7-spinner {
    display: none !important;
  }
}

/* Apply feedback__input class styles to all Contact Form 7 inputs */
/* .feedback__form input[type="text"],
.feedback__form input[type="email"],
.feedback__form input[type="tel"],
.feedback__form input[type="url"],
.feedback__form input[type="number"],
.feedback__form textarea,
.feedback__form .wpcf7-form-control:not(button):not([type="submit"]),
.feedback__form .wpcf7-text,
.feedback__form .wpcf7-email,
.feedback__form .wpcf7-tel,
.feedback__form .wpcf7-textarea {
  width: 100% !important;
  padding: 6px 12px !important;
  outline: none !important;
  background-color: var(--accent-beige, #e8ddc5) !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 110% !important;
  color: var(--text-main, #5a3d32) !important;
  position: relative !important;
  resize: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  -webkit-appearance: none !important;
  appearance: none !important;
} */

.feedback__form textarea {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.feedback__form textarea::placeholder {
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 110%;
}

.feedback__form input[type="text"]::placeholder,
.feedback__form input[type="email"]::placeholder,
.feedback__form input[type="tel"]::placeholder,
.feedback__form input[type="url"]::placeholder,
.feedback__form input[type="number"]::placeholder,
.feedback__form textarea::placeholder,
.feedback__form .wpcf7-form-control::placeholder {
  color: var(--text-main, #5a3d32) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 110% !important;
  text-transform: uppercase !important;
  transition: 0.3s;
  font-family: inherit;
  opacity: 1 !important;
}

.feedback__form input[type="text"]:hover,
.feedback__form input[type="email"]:hover,
.feedback__form input[type="tel"]:hover,
.feedback__form input[type="url"]:hover,
.feedback__form input[type="number"]:hover,
.feedback__form textarea:hover,
.feedback__form .wpcf7-form-control:hover {
  background-color: var(--accent-pink, #f59094) !important;
  transition: 0.3s;
}

.feedback__form input[type="text"]:hover::placeholder,
.feedback__form input[type="email"]:hover::placeholder,
.feedback__form input[type="tel"]:hover::placeholder,
.feedback__form input[type="url"]:hover::placeholder,
.feedback__form input[type="number"]:hover::placeholder,
.feedback__form textarea:hover::placeholder,
.feedback__form .wpcf7-form-control:hover::placeholder {
  color: var(--text-main, #5a3d32) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 110% !important;
  text-transform: uppercase !important;
  transition: 0.3s;
}

.feedback__form input[type="text"][aria-invalid="true"],
.feedback__form input[type="email"][aria-invalid="true"],
.feedback__form input[type="tel"][aria-invalid="true"],
.feedback__form textarea[aria-invalid="true"],
.feedback__form .wpcf7-form-control[aria-invalid="true"],
.feedback__input[aria-invalid="true"] {
  outline: 2px solid var(--accent-red, #d32f2f) !important;
}

.feedback__form input[type="submit"],
.feedback__form button[type="submit"],
.feedback__form .wpcf7-submit {
  margin-top: 24px !important;
}

/* Feedback form button - fix shadow, text color and size */
.feedback__form .btn.btn--red,
.feedback__form .btn.btn--red.wpcf7-submit,
.feedback__form .btn.btn--red.wpcf7-form-control {
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  /* Remove filter from transition to prevent shadow effects */
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  width: 340px !important;
  max-width: 340px !important;
  min-width: 340px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-grid !important;
  contain: layout style paint !important;
  isolation: isolate !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {
  .feedback__form .btn.btn--red,
  .feedback__form .btn.btn--red.wpcf7-submit,
  .feedback__form .btn.btn--red.wpcf7-form-control {
    width: 246px !important;
  }
}

.feedback__form .btn.btn--red .btn-label {
  color: var(--text-accent, #fff) !important;
}

.feedback__form .btn.btn--red::before,
.feedback__form .btn.btn--red.wpcf7-submit::before,
.feedback__form .btn.btn--red.wpcf7-form-control::before {
  /* Remove filter from transition to prevent shadow effects */
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  filter: none !important;
  /* Ensure ::before matches button dimensions exactly */
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Ensure mask fits properly */
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

@media (min-width: 769px) {
  .feedback__form .btn.btn--red::before,
  .feedback__form .btn.btn--red.wpcf7-submit::before,
  .feedback__form .btn.btn--red.wpcf7-form-control::before {
    width: 340px !important;
    height: calc(340px * 92 / 482) !important;
    max-width: 340px !important;
    max-height: calc(340px * 92 / 482) !important;
  }
}

.feedback__form .btn.btn--red:hover {
  filter: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.feedback__form .btn.btn--red:hover::before {
  filter: none !important;
  box-shadow: none !important;
  /* Remove filter from transition */
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
  /* Ensure ::before stays within button bounds on hover */
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 769px) {
  .feedback__form .btn.btn--red:hover::before {
    width: 340px !important;
    height: calc(340px * 92 / 482) !important;
    max-width: 340px !important;
    max-height: calc(340px * 92 / 482) !important;
  }
}

.feedback__form .wpcf7-response-output {
  margin: 0 !important;
  padding: 0 !important;
}

.feedback__form .wpcf7-not-valid-tip {
  display: none;
}

/* Ensure form wrapper is visible */
.feedback__form .wpcf7 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

.feedback__form .wpcf7-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure all form elements are visible */
.feedback__form * {
  box-sizing: border-box;
}

.feedback__form .wpcf7-form-control-wrap input,
.feedback__form .wpcf7-form-control-wrap textarea {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .feedback {
    grid-template-columns: 1fr;
    padding-top: 46px;
    padding-bottom: 46px;
    gap: 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .feedback__logo {
    display: none;
  }

  .feedback__form {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .feedback__form form,
  .feedback__form .wpcf7-form {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    gap: 6px !important;
  }

  .feedback__form .wpcf7 {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .feedback__input {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
  }

  .feedback__input::placeholder {
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 100% !important;
  }

  span.wpcf7-form-control-wrap input {
    max-height: 25px !important;
  }

  .feedback textarea::placeholder {
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 100% !important;
  }

  /* .feedback__btn removed - using base .btn styles like news section */

  /* .feedback__form .wpcf7-form input[type="text"],
  .feedback__form .wpcf7-form input[type="email"],
  .feedback__form .wpcf7-form input[type="tel"],
  .feedback__form .wpcf7-form textarea,
  .feedback__form .wpcf7-form-control-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  } */

  /* .feedback__form .wpcf7-form input[type="text"],
  .feedback__form .wpcf7-form input[type="email"],
  .feedback__form .wpcf7-form input[type="tel"],
  .feedback__form .wpcf7-form textarea {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 110% !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
  } */

  .feedback__form .wpcf7-form p {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .feedback__form .btn.btn--red,
  .feedback__form .btn.btn--red.wpcf7-submit,
  .feedback__form .btn.btn--red.wpcf7-form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
  }

  .feedback__form .wpcf7-form p:has(button[type="submit"]) .btn,
  .feedback__form .wpcf7-form p:has(input[type="submit"]) .btn,
  .feedback__form .wpcf7-form p:has(.wpcf7-submit) .btn {
    width: 246px !important;
    max-width: 100% !important;
    min-width: auto !important;
  }

  .feedback__form .btn.btn--red::before,
  .feedback__form .btn.btn--red:hover::before,
  .feedback__form .btn.btn--red.wpcf7-submit::before,
  .feedback__form .btn.btn--red.wpcf7-submit:hover::before {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .feedback__form .wpcf7-form input[type="text"]::placeholder,
  .feedback__form .wpcf7-form input[type="email"]::placeholder,
  .feedback__form .wpcf7-form input[type="tel"]::placeholder,
  .feedback__form .wpcf7-form textarea::placeholder {
    font-size: 12px;
    font-weight: 500;
    line-height: 110%;
  }
}

/* About Page Sections Styles */

/* History Section */
.history__content {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.history__content h5 {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  color: #5a3d32;
}

@media (max-width: 768px) {
  .history__content {
    margin-top: 12px;
  }
  .history__content h5 {
    font-size: 13px;
  }
}

/* Production Section */
.production {
  padding-top: 44px;
}

.production__desc {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.production__desc h5 {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  color: #5a3d32;
}

.production__bg {
  margin-top: 44px;
  background: none;
  width: 100%;
  height: 739px;
  background-color: #f59094;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-mask: url("../images/common/section-wave-pink.svg") no-repeat center/100% 100%;
  mask: url("../images/common/section-wave-pink.svg") no-repeat center/100% 100%;
  position: relative;
  z-index: 0;
}

.production__bg::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-image: url("../images/about/production-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

@media (max-width: 768px) {
  .production {
    padding-top: 24px;
  }
  .production__desc {
    margin-top: 12px;
  }
  .production__desc h5 {
    font-size: 13px;
  }
  .production__bg {
    margin-top: 24px;
    height: 369px;
  }
}

/* QA Section */
.qa {
  padding-top: 48px;
  padding-bottom: 62px;
}

.qa__content {
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}

.qa__content-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
}

.qa__content-item .btn {
  width: 100%;
}

.qa__content-item-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  color: #5a3d32;
}

@media (max-width: 768px) {
  .qa {
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .qa__content {
    padding-top: 12px;
  }
  .qa__content-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qa__content-item-desc {
    padding-left: 12px;
    font-size: 15px;
  }
  .qa__content-item .btn {
    font-size: 18px;
  }
}

/* Values Section */
.values {
  padding-top: 48px;
}

.values__content {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.values__description {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  color: #5a3d32;
}

.values__labels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.values .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .values {
    padding-top: 24px;
  }
  .values__content {
    padding-top: 24px;
    gap: 24px;
  }
  .values__description {
    font-size: 13px;
  }
  .values__labels {
    gap: 12px;
    flex-direction: column;
  }
  .values .btn {
    font-size: 18px;
  }
}

/* Certificates Section */
.certificates {
  padding-bottom: 48px;
}

.certificates .section-title {
  margin-bottom: 0;
}

/* .certificates-swiper {
  padding-top: 48px !important;
} */

/* .certificates-wrapper {
  margin-left: 80px;
} */

/* Certificates Swiper Styles - плавная анимация */
.certificates-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.certificates-swiper .swiper-wrapper {
  display: flex !important;
  align-items: center;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.certificates-swiper .swiper-slide {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease !important;
  will-change: transform, opacity;
}

.certificates__slide {
  background-color: #e8ddc5;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px;
  border-radius: 48px;
  gap: 12px;
  color: #5a3d32;
}

.certificates__slide-label {
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
}

.certificates__slide-number {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  margin-top: 6px;
}

.certificates__slide-date {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
}

.certificates__slide-view-btn {
  /* width: 100%; */
  margin-top: 12px;
}

/* Swap effect - shift wrapper to the left */
.certificates.is-swapped .certificates-wrapper {
  /* margin-left: -160px; */
  transition: margin-left 0.3s ease 0.2s; /* 0.2s delay */
}

@media (max-width: 768px) {
  .certificates {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .certificates-swiper {
    padding-top: 12px;
    /* padding-left: 20px;
    padding-right: 20px; */
  }
  .certificates-wrapper {
    /* margin-left: 0px; */
    width: 100%;
    transition: margin-left 0.3s ease;
  }
  .certificates-swiper .swiper-slide {
    /* width: 85% !important;
    max-width: 85%; */
  }
  
  /* Swap effect on mobile - shift wrapper to the left */
  .certificates.is-swapped .certificates-wrapper {
    /* margin-left: -40px; */
    transition: margin-left 0.3s ease 0.2s; /* 0.2s delay */
  }
  .certificates__slide {
    padding: 20px;
    gap: 18px;
    border-radius: 24px;
  }
  .certificates__slide-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
  }
  .certificates__slide-number {
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
  }
  .certificates__slide-date {
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
  }
  .certificates__slide-view-btn {
    font-size: 18px;
    margin-top: 18px;
  }
}

/* About Banner Section */
.about-banner {
  margin-top: 44px;
  background: none;
  width: 100%;
  background-color: #f59094;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-mask: url("../images/common/section-wave-pink.svg") no-repeat center/100% 100%;
  mask: url("../images/common/section-wave-pink.svg") no-repeat center/100% 100%;
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-banner img {
  max-height: 500px;
  object-fit: contain;
}

.about-banner::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-image: url("../images/about/about-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

@media (max-width: 768px) {
  .about-banner {
    height: 369px;
  }
  .about-banner img {
    max-height: 240px;
  }
}

/* News Article Section Styles */
.news-article {
  padding-top: 110px;
}

.news-article__header::before {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0) 280px
    ),
    url("../images/news/a36e3fc7e44b76f0aee8b51fda2bfa4ce631f570.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: top center, center;
  background-size: 100% 100%, cover;
}

.news-article__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  color: var(--text-main, #5a3d32);
}

.news-article__content-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  place-items: center;
}

/* Support for Gutenberg columns blocks - use inline layout */
.news-article__content .wp-block-columns {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  margin: 48px 0;
}

.news-article__content .wp-block-column {
  flex: 1;
  min-width: 0;
}

/* If columns block has image and text, they should be inline */
.news-article__content .wp-block-columns .wp-block-image {
  margin: 0;
}

.news-article__content .wp-block-columns .wp-block-image img {
  max-height: 600px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 48px;
}

/* Standalone image blocks (not in columns) */
.news-article__content .wp-block-image:not(.wp-block-columns .wp-block-image) {
  margin: 48px 0;
}

.news-article__content .wp-block-image:not(.wp-block-columns .wp-block-image) img {
  max-height: 600px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 48px;
}

/* Paragraphs and other blocks */
.news-article__content > p:not(.news-article__content-description),
.news-article__content > h1,
.news-article__content > h2,
.news-article__content > h3,
.news-article__content > h4,
.news-article__content > h5,
.news-article__content > h6,
.news-article__content > ul,
.news-article__content > ol {
  margin: 24px 0;
}

/* Remove margin from description paragraphs */
.news-article__content .news-article__content-description {
  margin: 0;
}

.news-article__content-item img {
  max-height: 600px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 48px;
}

.news-article__content-item-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateX(80px);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Odd blocks (1, 3, 5...): image left, text right, animation from right */
.news-article__content-item:not(.news-article__content-item--reversed) .news-article__content-item-container {
  transform: translateX(80px);
}

/* Even blocks (2, 4, 6...): image right, text left, animation from left */
.news-article__content-item--reversed img {
  order: 2;
}

.news-article__content-item--reversed .news-article__content-item-container {
  order: 1;
  transform: translateX(-80px);
}

.news-article__content-item.is-inview .news-article__content-item-container {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.news-article__content-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
}

.news-article__content-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
}

.news-article__content-subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
}

.news-article__content-subtitle span {
  font-weight: 500;
}

.news-article__content-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
  list-style-type: disc;
  list-style-position: inside;
  margin-left: 0;
  padding-left: 24px;
}

.news-article__content-list-item {
  margin: 0;
}

.news-article__content-bold {
  font-weight: 700;
}

/* Support for all heading levels */
.news-article__content-title {
  margin: 0;
}

@media (max-width: 768px) {
  .news-article {
    padding-top: 24px;
  }

  .news-article__content {
    gap: 24px;
    margin-top: 24px;
  }

  .news-article__content-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-article__content-item img {
    max-height: 600px;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
  }

.news-article__content-item-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateX(80px);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Odd blocks (1, 3, 5...): image left, text right, animation from right */
.news-article__content-item:not(.news-article__content-item--reversed) .news-article__content-item-container {
  transform: translateX(80px);
}

/* Even blocks (2, 4, 6...): image right, text left, animation from left */
.news-article__content-item--reversed img {
  order: 2;
}

.news-article__content-item--reversed .news-article__content-item-container {
  order: 1;
  transform: translateX(-80px);
}

.news-article__content-item.is-inview .news-article__content-item-container {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

  .news-article__content-item:last-child img {
    order: -1;
  }

  /* Gutenberg columns blocks on mobile - stack vertically */
  .news-article__content .wp-block-columns {
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
  }

  .news-article__content .wp-block-columns .wp-block-image img {
    border-radius: 24px;
  }

  .news-article__content .wp-block-image:not(.wp-block-columns .wp-block-image) {
    margin: 24px 0;
  }

  .news-article__content .wp-block-image:not(.wp-block-columns .wp-block-image) img {
    border-radius: 24px;
  }

  .news-article__content-description {
    font-size: 15px;
    font-weight: 500;
    line-height: 120%;
  }

  .news-article__content-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
  }

  .news-article__content-subtitle {
    font-size: 15px;
    font-weight: 700;
    line-height: 100%;
  }

  .news-article__content-list {
    gap: 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 120%;
  }
}

/* Custom background image from meta box - override all default backgrounds */
/* These rules must come last to ensure they override all page-specific styles */
.page__header--custom-bg::before {
  background-image: var(--custom-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* Remove mask for custom images to show full image */
  /* -webkit-mask: none !important;
  mask: none !important; */
}

/* Override specific page header backgrounds when custom bg is set */
.page__header--custom-bg.about__header::before,
.page__header--custom-bg.catalog-header::before,
.page__header--custom-bg.category-header::before,
.page__header--custom-bg.product__header::before,
.page__header--custom-bg.news__header::before,
.page__header--custom-bg.news-article__header::before,
.page__header--custom-bg.partners__header::before,
.page__header--custom-bg.distributors__header::before,
.page__header--custom-bg.career__header::before,
.page__header--custom-bg.vacancy__header::before,
.page__header--custom-bg.contacts-header::before {
  background-image: var(--custom-bg-image) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* -webkit-mask: none !important;
  mask: none !important; */
}

