/* =========================
   PDP (single product) — clean final
========================= */

/* Layout */
.st-pdp-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  overflow:hidden;
}

.st-pdp-main{
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
}

.st-pdp-media{
  background:#fafafa;
  border-right:1px solid rgba(0,0,0,.06);
  padding:18px;
  position:relative;
  min-width:0;
}

.st-pdp-summary{
  padding:22px;
  min-width:0;
  float:none !important;
  width:100% !important;
  margin:0 !important;
}

/* Woo floats inside media */
.st-pdp-media .woocommerce-product-gallery,
.st-pdp-media .images{
  float:none !important;
  width:100% !important;
  margin:0 !important;
}

/* Sale badge */
.st-pdp-media .onsale{
  position:absolute;
  top:16px;
  left:16px;
  z-index:3;
  border-radius:999px;
  padding:8px 12px;
}

/* Sticky summary (optional) */
/* @media (min-width: 992px){
  .st-pdp-summary{ position: sticky; top: 92px; align-self: start; }
} */

@media (max-width: 991.98px){
  .st-pdp-main{ grid-template-columns: 1fr; }
  .st-pdp-media{
    border-right:0;
    border-bottom:1px solid rgba(0,0,0,.06);
  }
}

/* Gallery wrapper polish */
.st-pdp .woocommerce-product-gallery__wrapper{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  overflow:hidden;
}

/* Typography */
.st-pdp .product_title{
  margin:0 0 .4rem !important;
  font-weight:600;
  letter-spacing:.15px;
   color: #696b6e;
  font-size: 18px!important;
  text-transform: uppercase;
  line-height:1.5;
  font-size: 18px;
}

/* Short description: no scroll / wraps long words */
.st-pdp .woocommerce-product-details__short-description,
.st-pdp .woocommerce-product-details__short-description *{
  overflow:visible !important;
  white-space:normal !important;
  word-break:break-word;
  overflow-wrap:anywhere;
  color:rgba(0,0,0,.72);
  font-size:15px;
  line-height:1.7;
}

/* Price under divider */
.st-pdp .summary .price{
  display:block;
  margin:14px 0 12px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.10);
  font-weight:950;
  font-size:28px;
}
.st-pdp .price del{ opacity:.45; font-weight:800; margin-right:10px; color:#8b8b8b; }
.st-pdp .price ins{ text-decoration:none; }

/* Cart row: qty + button inline */
.st-pdp form.cart{
  display:flex !important;
  align-items:stretch;
  gap:12px;
  margin-top:12px;
  padding-top:0;
  border-top:0;
}

.st-pdp form.cart .quantity{ flex:0 0 auto; }
.st-pdp form.cart .quantity .qty{
  width:110px;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.14);
  padding:10px 12px;
}

.st-pdp form.cart .single_add_to_cart_button{
  flex:1 1 auto;
  height:48px;
  border-radius:14px;
  border:0;
  font-weight:900;
  padding:0 16px;

  background: rgb(208, 132, 112);
  color:#fff;

  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow:0 14px 28px rgba(208, 132, 112, .28);
}
.st-pdp form.cart .single_add_to_cart_button:hover{
  background:#d08470;
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(47, 143, 91, .28);
}
.st-pdp form.cart .single_add_to_cart_button:active{
  transform:translateY(0);
  box-shadow:0 10px 20px rgba(47, 143, 91, .22);
}
.st-pdp form.cart .single_add_to_cart_button:disabled,
.st-pdp form.cart .single_add_to_cart_button.disabled{
  opacity:.6; box-shadow:none; transform:none;
}

@media (max-width: 575.98px){
  .st-pdp form.cart{ flex-wrap:wrap; }
  .st-pdp form.cart .quantity .qty{ width:100%; }
  .st-pdp form.cart .single_add_to_cart_button{ width:100%; }
}

/* Variations */
.st-pdp table.variations select{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  padding:11px 12px;
}
.st-pdp table.variations td,
.st-pdp table.variations th{ padding:8px 0; }

/* Meta links */
.product_meta a{
  text-decoration:none;
  color:#958e09;
}
.product_meta a:hover{ color:#d08470; }

/* Perks */
.st-pdp-perks{
  margin-top:16px;
  display:grid;
  gap:10px;
}
.st-pdp-perk{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.02);
  border:1px solid rgba(0,0,0,.08);
  color:rgba(0,0,0,.72);
  font-size:14px;
}
.st-pdp-perk span{
  width:26px; height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  /* background:rgb(208 132 112 / 17%); */

  font-weight:900;
  color: #8a6f3d;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
}
.st-pdp-help{
  margin:12px 0 0;
  font-size:13px;
  color:rgba(0,0,0,.58);
}

/* =========================
   4 blocks (2x2)
========================= */
.st-pdp-blocks{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  align-items:start;
}

.st-pdp-block{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 26px rgba(0,0,0,.04);
}


.st-pdp-block__content{
  color:rgba(0,0,0,.74);
  line-height:1.7;
}

/* Additional info: pill rows like other cards */
.st-pdp-block__content--additional table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px; /* spacing between rows */
}

.st-pdp-block__content--additional tbody tr{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:10px;
  align-items:center;
  background:rgba(0,0,0,.02);
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
}

.st-pdp-block__content--additional th,
.st-pdp-block__content--additional td{
  padding:12px 14px;
  vertical-align:top;
  border:0 !important;
  background:transparent !important;
}

.st-pdp-block__content--additional th{
  font-weight:800;
  color:rgba(0,0,0,.78);
}
.st-pdp-block__content--additional td{
  color:rgba(0,0,0,.72);
}

@media (max-width: 575.98px){
  .st-pdp-block__content--additional tbody tr{
    grid-template-columns: 1fr;
  }
  .st-pdp-block__content--additional th{
    padding-bottom:0;
  }
  .st-pdp-block__content--additional td{
    padding-top:0;
  }
}

/* Instruction video */
.st-pdp-block__content--video video{
  width:100%;
  max-width:100%;
  border-radius:14px;
  overflow:hidden;
  display:block;
}

@media (max-width: 991.98px){
  .st-pdp-blocks{ grid-template-columns:1fr; gap:14px; }
  .st-pdp-block{ padding:16px; }
}


.st-pdp-block__content--additional{ margin-top: 6px; }
.woocommerce table.shop_attributes th {
  width: auto;
}

/* 1) Контейнер блоків */
.st-pdp-after,
.st-pdp-blocks{
  max-width: 100%;
}

/* 2) Сітка: 2 колонки на десктопі, 1 колонка на мобілці */
.st-pdp-blocks{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 991.98px){
  .st-pdp-blocks{ grid-template-columns: 1fr; }
}

/* 3) Ключ: дозволити grid-item стискатися */
.st-pdp-block,
.st-pdp-block__content{
  min-width: 0;
}

/* 4) Переноси для довгого тексту */
.st-pdp-block__content{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 5) Таблиця Additional information не розпирає екран */
.st-pdp-block__content table,
.woocommerce-product-attributes{
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td{
  word-break: break-word;
}

/* 6) Відео / wp-video не ширше контейнера */
.wp-video, .wp-video video, video{
  width: 100%!important;
  max-width: 100%;
  height: auto;
}

/* Контейнер с картинками должен быть relative, чтобы бейдж позиционировался правильно */
.st-pdp-media,
.woocommerce-product-gallery {
  position: relative;
}

/* Красивый badge */
.woocommerce span.onsale{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;

  display: inline-flex;
  align-items: center;
  gap: .45em;

  padding: .45em .8em;
  border-radius: 999px;

  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;

  color: #fff;
  background: linear-gradient(135deg, #d14b3a, #f0a36b);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);

  /* главное, чтобы не распирало мобилку */
  min-width: 0;
  min-height: 0;
  max-width: calc(100% - 28px);
  white-space: nowrap;
}
.woocommerce li.product span.onsale{
   z-index: 0;
}
/* маленькая “иконка” слева */
.woocommerce span.onsale::before{
  content: "🔥";
  font-size: 1em;
  line-height: 1;
  opacity: .95;
}

/* На карточках каталога тоже красиво */
.woocommerce ul.products li.product span.onsale{
  top: 10px;
  left: 10px;
  font-size: 11px;
  max-width: calc(100% - 20px);
}


.st-pdp-block__content.st-pdp-block__content--video {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.st-pdp-block__content.st-pdp-block__content--video .st-pdp-instruction-text {
  margin-bottom: 20px;
}
/* Archive: кнопка как PDP */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable,
.woocommerce ul.products li.product a.product_type_grouped,
.woocommerce ul.products li.product a.product_type_external{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  padding:14px 18px;
  border-radius:14px;

  background:#d08470;
  color:#fff !important;

  font-weight:500;
  text-decoration:none !important;
  border:0;
  line-height:1.2;

  box-shadow:0 14px 28px rgba(208,132,112,.28);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, filter .15s ease;
  margin-top:5px;
  text-transform: uppercase;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover{
  background:#d08470;
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(47,143,91,.28);
}

.woocommerce ul.products li.product a.button:active,
.woocommerce ul.products li.product a.add_to_cart_button:active{
  transform:translateY(0);
  box-shadow:0 10px 20px rgba(47,143,91,.22);
}

/* Woo sorting (catalog ordering) — same style as PDP button */
.woocommerce .woocommerce-ordering{
  margin: 0 0 16px;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.woocommerce .woocommerce-ordering select.orderby{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;

  min-width: 280px;
  max-width: 100%;
  height: 48px;

  padding: 0 46px 0 16px;
  border-radius: 14px;

  border: 1px solid rgba(0,0,0,.12);
  background: rgba(208,132,112,.08);

  font: inherit;
  font-weight: 700;
  line-height: 48px;

  cursor: pointer;

  box-shadow: 0 10px 22px rgba(208,132,112,.12);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}

/* arrow */
.woocommerce .woocommerce-ordering::after{
  content:"";
  position:absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  pointer-events:none;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid rgba(208,132,112,.95);
  border-bottom: 2px solid rgba(208,132,112,.95);
}

.woocommerce .woocommerce-ordering select.orderby:hover{
  border-color: rgba(47,143,91,.55);
  background: rgba(208,132,112,.10);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(208,132,112,.18);
}

.woocommerce .woocommerce-ordering select.orderby:focus{
  outline: none;
  border-color: rgba(208,132,112,.75);
  box-shadow: 0 0 0 0.25rem rgba(208,132,112,.22);
}

/* mobile */
@media (max-width: 575.98px){
  .woocommerce .woocommerce-ordering{ justify-content:flex-start; }
  .woocommerce .woocommerce-ordering select.orderby{
    width: 100%;
    min-width: 0;
  }
}

/* ===== Custom orderby (Choices.js) ===== */

/* убираем нашу псевдо-стрелку, когда селект заменён */
.woocommerce .woocommerce-ordering.st-orderby--enhanced::after{
  display:none !important;
}

/* контейнер */
.woocommerce .woocommerce-ordering .choices{
  min-width: 280px;
  max-width: 100%;
}

/* "поле" */
.woocommerce .woocommerce-ordering .choices__inner{
  min-height: 48px;
  padding: 8px 44px 8px 16px;
  border-radius: 14px;

  border: 1px solid rgba(0,0,0,.12);
  background: rgba(208,132,112,.08);

  font: inherit;
  font-weight: 700;

  box-shadow: 0 10px 22px rgba(208,132,112,.12);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}

/* текст выбранного */
.woocommerce .woocommerce-ordering .choices__item--selectable{
  padding-right: 0;
}

/* hover/focus */
.woocommerce .woocommerce-ordering .choices:hover .choices__inner{
  border-color: rgba(47,143,91,.55);
  background: rgba(208,132,112,.10);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(208,132,112,.18);
}

.woocommerce .woocommerce-ordering .choices.is-focused .choices__inner,
.woocommerce .woocommerce-ordering .choices.is-open .choices__inner{
  outline: none;
  border-color: rgba(208,132,112,.75);
  box-shadow: 0 0 0 0.25rem rgba(208,132,112,.22);
  transform: none;
}

/* стрелка Choices */
.woocommerce .woocommerce-ordering .choices[data-type*="select-one"]::after{
  border-color: #d08470 transparent transparent transparent;
  right: 18px;
  margin-top: -3px;
}
.woocommerce .woocommerce-ordering .choices.is-open[data-type*="select-one"]::after{
  border-color: transparent transparent #d08470 transparent;
  margin-top: -8px;
}

/* dropdown */
.woocommerce .woocommerce-ordering .choices__list--dropdown,
.woocommerce .woocommerce-ordering .choices__list[aria-expanded]{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  overflow: hidden;
  margin-top: 8px;
}

/* пункты */
.woocommerce .woocommerce-ordering .choices__list--dropdown .choices__item{
  padding: 10px 14px;
  font-weight: 600;
}

/* ВОТ ЭТО — замена "синего": подсветка hover/active */
.woocommerce .woocommerce-ordering .choices__list--dropdown .choices__item--selectable.is-highlighted{
  background: rgba(208,132,112,.18);
  color: #000;
}

/* выбранный пункт */
.woocommerce .woocommerce-ordering .choices__item.is-selected{
  background: rgba(47,143,91,.12);
}

/* mobile */
@media (max-width: 575.98px){
  .woocommerce .woocommerce-ordering{ justify-content:flex-start; }
  .woocommerce .woocommerce-ordering .choices{ width:100%; min-width:0; }
}



/* Archive: out of stock label вместо кнопки */
.woocommerce ul.products li.product .st-outofstock{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  padding:14px 18px;
  border-radius:14px;

  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.65);

  font-weight: 900;
  line-height: 1.2;
  margin-top: 12px;
  user-select: none;
  cursor: no-drop;
}

.st-archive-block-title{
  font-weight:900;
  font-size:18px;
  margin:0 0 12px;
}

.st-archive-sep{
  border:0;
  height:1px;
  background:rgba(0,0,0,.08);
}

.st-archive-cats{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.st-archive-cats li.product-category{
  list-style:none !important;
}


.st-pdp-perks h2 {
  /* font-size: 1.5rem; */
  font-size: 13px;
}

.st-pdp-blocks{
  border-top:1px solid rgba(0,0,0,.08);
}

.st-pdp-block{
  border-bottom:1px solid rgba(0,0,0,.08);
}

.st-pdp-block__title{
  margin:0;
}

.st-pdp-block__toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 0;
  background:transparent;
  border:0;
  cursor:pointer;
  text-align:left;
  font-weight:900;
  font-size:16px;
}

.st-pdp-block__toggle:focus{
  outline:2px solid rgba(47,143,91,.35);
  outline-offset:3px;
  border-radius:10px;
}

/* стрелочка */
.st-pdp-block__chev{
  width:10px;
  height:10px;
  flex:0 0 auto;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg); /* ">" вниз/вправо */
  transition:transform .2s ease;
  opacity:.7;
}

/* в открытом состоянии поворачиваем */
.st-pdp-block.is-open .st-pdp-block__chev{
  transform:rotate(-135deg);
  opacity:1;
}

.st-pdp-block__content{
  padding:0 0 18px;
}


.st-pdp-block__title, .st-pdp-block__title button {
  margin:0 0 14px;
  font-size:16px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:rgba(208, 132, 112);
}

/* ===== PDP image modal ===== */
body.st-modal-open { overflow: hidden; }

.st-img-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.st-img-modal.is-open{ display: flex; }

.st-img-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.75);
}

.st-img-modal__dialog{
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.st-img-modal__img{
  display:block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 92vh;
}

.st-img-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.flex-control-thumbs img.is-active-thumb{
  outline: 2px solid rgba(47,143,91,.55);
  outline-offset: 2px;
  border-radius: 6px;
}
/* ===== PDP image modal (with navigation) ===== */
body.st-modal-open { overflow: hidden; }

.st-img-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.st-img-modal.is-open{ display: flex; }

.st-img-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.75);
}

.st-img-modal__dialog{
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.st-img-modal__stage{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.st-img-modal__img{
  display:block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 92vh;
  user-select:none;
  -webkit-user-drag:none;
}

.st-img-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.st-img-modal__nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.st-img-modal__nav:hover{ background:#fff; }

.st-img-modal__nav--prev{ left: 10px; }
.st-img-modal__nav--next{ right: 10px; }

.st-img-modal__nav::before{
  content:"";
  width:10px;
  height:10px;
  border-right:2px solid rgba(0,0,0,.75);
  border-bottom:2px solid rgba(0,0,0,.75);
  display:block;
}
.st-img-modal__nav--prev::before{ transform: rotate(135deg); }
.st-img-modal__nav--next::before{ transform: rotate(-45deg); }

.st-img-modal__counter{
  position:absolute;
  left: 10px;
  bottom: 10px;
  z-index:3;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.12);
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,.7);
}
/* Desktop: left narrower, right wider */
@media (min-width: 992px){
  body.woocommerce-checkout form.checkout{
    grid-template-columns: 420px minmax(0, 1fr) !important; /* поменяли местами */
  }

  body.woocommerce-checkout #customer_details{ grid-column: 1; }
  body.woocommerce-checkout #order_review{ grid-column: 2; }
}
/* ===== Payment block in brand colors ===== */
body.woocommerce-checkout #order_review #payment{
  background: rgba(208,132,112,.08);
  border: 1px solid rgba(208,132,112,.22);
  border-radius: 14px;
  padding: 14px;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods{
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods li{
  margin: 0 !important;
  padding: 10px 10px !important;
  border-radius: 12px;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods li + li{
  margin-top: 10px !important;
}

/* Active method highlight */
body.woocommerce-checkout #order_review #payment ul.payment_methods li.wc_payment_method input:checked + label{
  color: #2b2b2b;
  font-weight: 800;
}

body.woocommerce-checkout #order_review #payment .payment_box{
  margin: 10px 0 0 !important;
  padding: 12px !important;
  border-radius: 12px;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
}

/* The little triangle */
body.woocommerce-checkout #order_review #payment .payment_box:before{
  border-bottom-color: #fff !important;
}

/* Privacy text + link */
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text{
  margin: 10px 0 12px !important;
  color: rgba(0,0,0,.68);
  line-height: 1.6;
}
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text a{
  color: #d08470;
  font-weight: 700;
  text-decoration: none;
}
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text a:hover{
  text-decoration: underline;
}

/* Place order button (brand) */
body.woocommerce-checkout #order_review #place_order{
  background: #d08470 !important;
  border: 1px solid #d08470 !important;
  color: #fff !important;
  border-radius: 14px;
  font-weight: 900;
  height: 48px;
  padding: 0 18px;
  box-shadow: 0 14px 28px rgba(208,132,112,.28);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
body.woocommerce-checkout #order_review #place_order:hover{
  background: #d08470 !important;
  border-color: #d08470 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47,143,91,.28);
}

body.woocommerce-checkout #order_review .st-os-coupon__form {
 
  align-items: center;
}
/* ===== Coupon form (Add coupons) brand style ===== */
body.woocommerce-checkout #order_review .st-os-coupon__form .input-text{
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 10px 26px rgba(0,0,0,.03);
}

body.woocommerce-checkout #order_review .st-os-coupon__form .button{
  height: 46px;
  border-radius: 12px;
  font-weight: 900;
  background: #d08470 !important;
  border: 1px solid #d08470 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(208,132,112,.28);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

body.woocommerce-checkout #order_review .st-os-coupon__form .button:hover{
  background: #d08470 !important;
  border-color: #d08470 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47,143,91,.28);
}

/* если вдруг Woo добавляет disabled */
body.woocommerce-checkout #order_review .st-os-coupon__form .button:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


.woocommerce-info.wctld-inline-notice {
  border: 1px solid rgba(208,132,112,.25) !important;
  border-left: 6px solid #d08470 !important; /* вместо синей линии */
  background: rgba(208,132,112,.08) !important;
  color: rgba(0,0,0,.78) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
}
.woocommerce-info.wctld-inline-notice:before{
  color: #d08470 !important;
  display: none;
}


.ingredients-badges{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.ingredient-badge{
  width:var(--badge-size);
}

.ingredient-badge__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.ingredient-badge__svg{
  width:var(--badge-size);
  height:var(--badge-size);
  display:block;
}

.ingredient-badge__ring{
  fill:none;
  stroke:#d28a6a;   /* цвет как в референсе */
  stroke-width:2.2;
}

.ingredient-badge__text{
  fill:#d28a6a;
  font-size:14px;
  letter-spacing:2px;
}

.ingredient-badge__text--top{
  dominant-baseline: middle;
}

.ingredient-badge__text--bot{
  dominant-baseline: middle;
}
.ingredient-badge__svg{
  overflow: visible; /* чтобы верхний текст не обрезался */
}

.ingredient-badge__text{
  fill:#d28a6a;
  font-size:18px;          /* больше */
  letter-spacing:3px;
  paint-order: stroke fill; /* сначала рисуем "подложку" */
  stroke:#fff;             /* белый фон под буквами */
  stroke-width:7px;        /* толщина подложки */
  stroke-linejoin:round;
}

.ingredient-badge__text--bot{
  font-size:16px;          /* можно чуть меньше низа */
}

.shop-by-ingredients{
  padding: 40px 0;
}

.shop-by-ingredients .sbi-kicker{
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d28a6a;
  margin-bottom: 6px;
}

.shop-by-ingredients .sbi-title{
  font-size: 32px;
  margin: 0 0 18px;
  font-weight: 400;
}

.shop-by-ingredients .sbi-slider{
  position: relative;
}

/* делаем из badges “одну линию” */
.shop-by-ingredients .ingredients-badges{
  display: flex;
  flex-wrap: nowrap;          /* важно: НЕ переносить */
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 56px;        /* место под стрелки снизу */
  scrollbar-width: none;      /* Firefox */
}

.shop-by-ingredients .ingredients-badges::-webkit-scrollbar{
  display: none;              /* Chrome/Safari */
}

.shop-by-ingredients .ingredient-badge{
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* стрелки как в референсе */
.shop-by-ingredients .sbi-navs{
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.shop-by-ingredients .sbi-nav{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: #c49a8b;
  color: #fff;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  font-size: 16px;
}

.shop-by-ingredients .sbi-nav:disabled{
  opacity: .45;
  cursor: default;
}
/* БАЗА (для продукта и любых статичных списков) */
.ingredients-badges{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  align-items:flex-start;
}

/* СЛАЙДЕР (как референс) */
.shop-by-ingredients .ingredients-badges{
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 8px 0 56px; /* место под стрелки */
  scrollbar-width: none;
}
.shop-by-ingredients .ingredients-badges::-webkit-scrollbar{ display:none; }

.shop-by-ingredients .ingredient-badge{ flex:0 0 auto; scroll-snap-align: start; }

.shop-by-ingredients .sbi-navs{
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}
.shop-by-ingredients .sbi-nav{
  width:38px;height:38px;border-radius:999px;border:0;
  background:#c49a8b;color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}

.ingredient-badge{ width:var(--badge-size); }
.ingredient-badge__link{ display:block; text-decoration:none; color:inherit; }
.ingredient-badge__svg{ width:var(--badge-size); height:var(--badge-size); display:block; overflow:visible; }

.ingredient-badge__ring{ fill:none; stroke:#d28a6a; stroke-width:2.2; }

.ingredient-badge__text{
  fill:#d28a6a;
  font-size:18px;
  letter-spacing:3px;
  paint-order: stroke fill;
  stroke:#fff;          /* белый “фон” */
  stroke-width:7px;
  stroke-linejoin:round;
}
.ingredient-badge__text--bot{ font-size:16px; }


.woocommerce-ordering  {
  display:none!important;
}

.badge-text--stroke{
  fill: none;
  stroke: #fff;
  stroke-width: 7px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.badge-text--fill{
  fill: #d28a6a;
  stroke: none;
}


.ingredient-badge__svg .badge-text{
  font-size: 18px;
  letter-spacing: 3px;
  fill: #d28a6a;
  text-rendering: geometricPrecision;
}

.ingredient-badge__svg .badge-text--stroke{
  fill: none;
  stroke: #fff;
  stroke-width: 20px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 1;
}

.ingredient-badge__svg .badge-text--fill{
  stroke: none;
}

@media (max-width: 768px) {
  .ingredients-badges--product .ingredient-badge {
    --badge-size: 80px !important;
  }
}
/* === Выравнивание карточек товара === */ 
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
	display:flex;
	flex-direction:column;
	height:100%;
} 

/* ссылка-контейнер товара */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link{
	display:flex;
	flex-direction:column;
	flex:1 1 auto;
	height:100%;
}

/* картинка */
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img{
	height:180px;
	object-fit:contain;
	margin-bottom:12px;
}

/* название: одинаковая высота у всех */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
	line-height:1.25;
	 /* min-height:3em;             
	max-height:3em; */
	overflow:hidden;
	/* display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:4; */
	margin:0 0 0 0;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 10px;
}

@media (max-width: 400px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  min-height: 6em;
}
}
/* цена всегда в одной линии */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
	margin-top:auto;
	min-height:2.5em;
	display:block;
	/* margin-bottom:14px; */
}

/* кнопки */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .added_to_cart{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	min-height:54px;
	text-align:center;
	box-sizing:border-box;
}

/* если есть вторая кнопка типа "Швидке замовлення" */
.woocommerce ul.products li.product .button + .button,
.woocommerce-page ul.products li.product .button + .button{
	margin-top:10px;
}

/* если quick order идёт отдельным классом */
.woocommerce ul.products li.product .alg-wc-qb-btn,
.woocommerce ul.products li.product .quick-order,
.woocommerce-page ul.products li.product .alg-wc-qb-btn,
.woocommerce-page ul.products li.product .quick-order{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	min-height:54px;
	text-align:center;
	box-sizing:border-box;
	margin-top:10px;
}
.price bdi {
  color:#958e09;
}
mark.count {
 background: #fff;
}
.woocommerce-result-count {
  display: none!important;
}

.st-cat-card__meta {
  display: none!important;
}
.woocommerce-loop-category__title mark.count {
  display: none!important;
}

.st-archive-block-title, .st-cat-card__title {
  color: #7a4938!important;
}