/* Shop before launch: card-fan pictures + «Очаквайте скоро» (Shturko_Shop_Prelaunch). */

.shturko-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 1em;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5a00;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.shturko-soon-pill::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

/* Product page while the shop is closed: one slim strip above the title, inside the
 * empty space under the header (desktop), and a short note under the price. */
.shturko-soon-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.4rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: #fffaf0;
  border: 1px solid #f6e3b4;
  width: fit-content;
  max-width: 100%;
}
.shturko-soon-strip .shturko-soon-pill { padding: 0.35em 0.85em; font-size: 0.82rem; font-weight: 400; }
.shturko-soon-strip__text { color: #34506a; font-size: 0.92rem; }
.shturko-soon-strip__btn,
.shturko-soon-strip__btn:visited {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #e4572e;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 5px 12px rgba(177, 53, 24, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.shturko-soon-strip__btn:is(:hover, :focus-visible) {
  background: #d93f1b;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(177, 53, 24, 0.26);
}
@media (min-width: 1025px) {
  .single-product .summary .shturko-soon-strip { margin-top: -64px; margin-bottom: 20px; }
}
.shturko-soon-price-note { margin: -0.4rem 0 1rem; color: #5a7088; font-size: 0.88rem; }

/* Shop slider: card fan on a deck-tinted backdrop */
.shturko-fan__media:has(.shturko-fan__img--cards) {
  background:
    radial-gradient(110% 80% at 50% 30%, rgba(255, 255, 255, 0.85), transparent 65%),
    var(--soon-tint, #f3f0e8);
}
.shturko-fan__media .shturko-fan__img--cards {
  object-fit: contain;
  padding: 14% 0 2%;
  box-sizing: border-box;
  transform: scale(1.18);
  transform-origin: 50% 60%;
}
.shturko-fan__card[data-deck="machines"] { --soon-tint: #d6e8f5; }
.shturko-fan__card[data-deck="kitchen"] { --soon-tint: #f8e1d3; }
.shturko-fan__card[data-deck="fruits_vegetables"] { --soon-tint: #eaefc2; }
.shturko-fan__card[data-deck="plants"] { --soon-tint: #dce8d2; }
.shturko-fan__card[data-deck="clothes"] { --soon-tint: #e7e0ed; }
.shturko-fan__card[data-deck="animals"] { --soon-tint: #f7dfc4; }
.shturko-fan__card[data-deck="body"] { --soon-tint: #dfe5f3; }
.shturko-fan__card--pass { --soon-tint: #fbe9b7; }

.shturko-soon-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8a5a00;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shturko-fan__price:has(.shturko-fan__price-row) {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.shturko-fan__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  white-space: nowrap;
}
.shturko-fan__price-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* WooCommerce product page / loops: fan pictures are wide, never crop them */
.woocommerce img.woocommerce-placeholder[src*="/shop-products/"],
.woocommerce-product-gallery img[src*="/shop-products/"] {
  object-fit: contain;
  background: #f6f2ea;
  border-radius: 18px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 6%;
  box-sizing: border-box;
}

/* Homepage «Нашите карти»: real cards instead of the box mock-up */
.homepage__cards-visual[data-has-photo] .homepage__cards-box,
.homepage__cards-visual[data-has-photo] .homepage__cards-ph {
  display: none !important;
}
.homepage__cards-visual[data-has-photo] .homepage__cards-photo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 104%;
  max-width: 600px;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 14px 22px rgba(40, 50, 70, 0.14));
}
@media (min-width: 1280px) {
  .homepage__cards-visual[data-has-photo] .homepage__cards-photo {
    width: 122%;
  }
}

/* Product grids: «Очаквайте скоро» once, just above the price; the whole card lifts on hover so it reads as a link. */
/* The header offset (body:not(.home) .content-bg) also matched the cards and left a gap above the title. */
body:not(.home) ul.products li.product.content-bg,
body:not(.home) ul.products li.product .content-bg { padding-top: 0 !important; }
body:not(.home) ul.products li.product .product-details.content-bg { padding-top: 0.9rem !important; }
.woocommerce ul.products li.product {
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31, 58, 82, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product { transition: none; }
  .woocommerce ul.products li.product:hover, .woocommerce ul.products li.product:focus-within { transform: none; }
}
.shturko-soon-loop {
  display: table;
  margin: 0.15rem 0 0.45rem;
  padding: 0.45em 1em;
  border: 1px solid #ecdcc9;
  border-radius: 999px;
  background: #fdf8f2;
  color: #8a6a4a;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.2;
}
/* Kadence slides the details up on hover to reveal a buy button; there is none yet, so the details stay put. */
.woocommerce ul.products li.product:has(.shturko-soon-loop) .product-details { transform: none !important; }
.woocommerce ul.products li.product:has(.shturko-soon-loop) .product-action-wrap:empty { display: none; }

/* Single product: the header offset rule also padded the product box, leaving a big gap under the breadcrumb. */
body.single-product div.product.content-bg { padding-top: 1.25rem !important; }
/* Room between the product grid and the footer (the theme zeroes the bottom padding of every content box). */
.woocommerce ul.products { margin-bottom: clamp(2.5rem, 6vw, 4.5rem) !important; }
