/* Shturko shop slider — Labs circular arc (translate + rotate on large R) */

.shturko-shop-has-slider ul.products,
.shturko-shop-has-slider .woocommerce-result-count,
.shturko-shop-has-slider .woocommerce-ordering,
.shturko-shop-has-slider .woocommerce-pagination,
.shturko-shop-has-slider .woocommerce-notices-wrapper:empty {
  display: none !important;
}

html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop #wrapper,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop #wrapper.site,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .site,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .content-bg,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .content-area,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .entry-content-wrap,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop #inner-wrap,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .site-content,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .content-container,
html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop .wp-site-blocks {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body.shturko-shop-has-slider.woocommerce.woocommerce-page.woocommerce-shop {
  background: #cfe8f8 url("shop-scene/forest-bg.jpg") center / cover fixed no-repeat !important;
  overflow-x: hidden;
}

body.shturko-shop-has-slider .content-bg {
  padding-top: var(--header-h, 82px) !important;
}

body.shturko-shop-has-slider #primary,
body.shturko-shop-has-slider .content-area,
body.shturko-shop-has-slider .site-main,
body.shturko-shop-has-slider .woocommerce,
body.shturko-shop-has-slider .entry-content-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.shturko-shop-has-slider #inner-wrap,
body.shturko-shop-has-slider #primary,
body.shturko-shop-has-slider main.site-main,
body.shturko-shop-has-slider .woocommerce {
  min-height: calc(100svh - var(--header-h, 82px));
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@supports (height: 100dvh) {
  body.shturko-shop-has-slider #inner-wrap,
  body.shturko-shop-has-slider #primary,
  body.shturko-shop-has-slider main.site-main,
  body.shturko-shop-has-slider .woocommerce {
    min-height: calc(100dvh - var(--header-h, 82px));
  }
}

/* Keep the footer identical to the homepage instead of letting the shop
   scene show through its normally transparent Kadence wrappers. */
body.shturko-shop-has-slider .site-footer,
body.shturko-shop-has-slider .site-footer-wrap,
body.shturko-shop-has-slider .site-bottom-footer-wrap,
body.shturko-shop-has-slider .site-footer-row-container,
body.shturko-shop-has-slider .site-footer-row-container-inner,
body.shturko-shop-has-slider .site-bottom-footer-inner-wrap,
body.shturko-shop-has-slider .site-footer-section,
body.shturko-shop-has-slider .footer-widget-area,
body.shturko-shop-has-slider .footer-widget-area-inner {
  background: var(--global-palette8, #f7fafc) !important;
  background-image: none !important;
}

body.shturko-shop-has-slider .woocommerce-products-header {
  display: none;
}

/* Kadence/WooCommerce's legacy archive grid/list switcher. The Shturko toolbar
   above the cards is the single source of truth for view selection. */
body.shturko-shop-has-slider .kadence-shop-top-row,
body.shturko-shop-has-slider .kadence-product-toggle-container,
body.shturko-shop-has-slider .kadence-toggle-shop-layout,
body.shturko-shop-has-slider .kadence-toggle-grid,
body.shturko-shop-has-slider .kadence-toggle-list,
body.shturko-shop-has-slider .gridlist-toggle,
body.shturko-shop-has-slider .grid-list-toggle,
body.shturko-shop-has-slider .woocommerce-grid-list-toggle {
  display: none !important;
}

body.shturko-shop-has-slider main.site-main > .kadence-shop-top-row,
body.shturko-shop-has-slider .woocommerce > .kadence-shop-top-row {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Break out of theme content column so the fan can span the viewport */
body.shturko-shop-has-slider .content-area,
body.shturko-shop-has-slider .entry-content-wrap,
body.shturko-shop-has-slider .entry-content,
body.shturko-shop-has-slider .site-container,
body.shturko-shop-has-slider .site-main,
body.shturko-shop-has-slider .content-wrap,
body.shturko-shop-has-slider .wp-block-group,
body.shturko-shop-has-slider .woocommerce {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

.shturko-fan {
  --fan-ink: #1a1a1a;
  --fan-muted: #5f6368;
  --fan-navy: #123b64;
  --fan-orange: #f04d23;
  --fan-paper: #ffffff;
  --fan-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fan-dur: 0.6s;
  --fan-card-w: 280px;
  --fan-card-h: 420px;
  --fan-radius: 32px;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px 0 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  overflow: clip;
  background: transparent;
  min-height: 0;
  height: auto;
  max-height: none;
}

.shturko-fan:not(.is-list-view) {
  min-height: calc(100svh - var(--header-h, 82px));
}

@supports (height: 100dvh) {
  .shturko-fan:not(.is-list-view) {
    min-height: calc(100dvh - var(--header-h, 82px));
  }
}

.shturko-fan::before {
  content: none;
}

/* Fairytale forest scene — behind cards, never interactive */
.shturko-fan__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.shturko-fan__scene-bg {
  display: none !important;
}
.shturko-fan__scene-veil {
  display: none;
}
.shturko-fan__birds {
  position: absolute;
  inset: 0;
}
.shturko-fan__bird {
  position: absolute;
  width: clamp(72px, 11vw, 140px);
  height: auto;
  display: block;
  filter: drop-shadow(0 9px 13px rgba(18, 59, 100, 0.16));
  opacity: 0.96;
  will-change: transform;
  transform-origin: 50% 55%;
}
.shturko-fan__bird--yellow {
  left: 3%;
  top: 18%;
  width: clamp(78px, 12vw, 150px);
  animation: shturko-bird-flight-left 10.8s cubic-bezier(.45, 0, .55, 1) -2.3s infinite;
}
.shturko-fan__bird--brown {
  right: 5%;
  top: 17%;
  width: clamp(70px, 10vw, 128px);
  animation: shturko-bird-flight-right 13.2s cubic-bezier(.45, 0, .55, 1) -6.1s infinite;
}
.shturko-fan__bird--blue {
  left: 8%;
  bottom: 12%;
  width: clamp(64px, 9vw, 118px);
  animation: shturko-bird-flight-near 11.6s cubic-bezier(.45, 0, .55, 1) -7.7s infinite;
}
.shturko-fan__bird--orange {
  right: 4%;
  bottom: 14%;
  width: clamp(68px, 10vw, 130px);
  animation: shturko-bird-flight-right 14.4s cubic-bezier(.45, 0, .55, 1) -3.4s infinite reverse;
}
.shturko-fan__bird--purple {
  left: 47%;
  top: 13%;
  width: clamp(56px, 8vw, 100px);
  animation: shturko-bird-flight-high 12.7s cubic-bezier(.45, 0, .55, 1) -9.2s infinite;
}

.shturko-fan__toolbar {
  position: relative;
  z-index: 8;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto .15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.shturko-fan__views {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(18, 59, 100, .12);
  box-shadow: 0 8px 24px rgba(18, 59, 100, .12);
  backdrop-filter: blur(12px);
}

.shturko-fan__view,
.shturko-fan button.shturko-fan__view {
  min-height: 42px;
  padding: .55rem 1rem;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--fan-navy) !important;
  font-weight:400;font-size:15px;line-height:1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  box-shadow: none !important;
}

.shturko-fan__view.is-active,
.shturko-fan button.shturko-fan__view.is-active {
  background: var(--fan-navy) !important;
  color: #fff !important;
}

@keyframes shturko-bird-flight-left {
  0%, 100% { transform: translate3d(-5px, 3px, 0) rotate(-2.5deg) scale(1); }
  24% { transform: translate3d(5px, -7px, 0) rotate(.5deg) scale(1.012); }
  57% { transform: translate3d(17px, -13px, 0) rotate(3deg) scale(1.02); }
  78% { transform: translate3d(7px, 0, 0) rotate(.5deg) scale(1.008); }
}
@keyframes shturko-bird-flight-right {
  0%, 100% { transform: translate3d(8px, 2px, 0) rotate(2deg) scale(1); }
  31% { transform: translate3d(-4px, -12px, 0) rotate(-1deg) scale(1.018); }
  64% { transform: translate3d(-19px, -5px, 0) rotate(-3deg) scale(1.01); }
  84% { transform: translate3d(-5px, 5px, 0) rotate(0deg) scale(1.004); }
}
@keyframes shturko-bird-flight-near {
  0%, 100% { transform: translate3d(-6px, 6px, 0) rotate(-1deg) scale(.98); }
  38% { transform: translate3d(8px, -15px, 0) rotate(2deg) scale(1.035); }
  70% { transform: translate3d(15px, -8px, 0) rotate(1deg) scale(1.018); }
}
@keyframes shturko-bird-flight-high {
  0%, 100% { transform: translate3d(4px, 2px, 0) rotate(1.5deg) scale(.98); }
  28% { transform: translate3d(-8px, -6px, 0) rotate(-2deg) scale(1); }
  61% { transform: translate3d(10px, -11px, 0) rotate(2.5deg) scale(1.015); }
  82% { transform: translate3d(14px, -3px, 0) rotate(1deg) scale(1.005); }
}

/* Legacy glow kept inert if markup ever reappears */
.shturko-fan__glow { display: none; }

/* Stage fills the full-bleed fan (already 100vw) */
.shturko-fan__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 600px;
  min-height: 600px;
  overflow: hidden;
  overflow: clip;
  overflow-clip-margin: 42px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.shturko-fan.is-dragging .shturko-fan__stage {
  cursor: grabbing;
}

/* = .home-carousel__circle — origin at stage center; cards orbit via JS */
.shturko-fan__track {
  position: absolute;
  inset: 0;
}

.shturko-fan__card {
  position: absolute;
  left: 50%;
  top: calc((var(--fan-card-h) / 2) + 54px);
  width: var(--fan-card-w);
  height: var(--fan-card-h);
  max-width: var(--fan-card-w);
  margin: 0;
  padding: 1.15rem 1.15rem 1.05rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: var(--fan-radius);
  background: var(--fan-paper);
  border: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 16px 36px rgba(0, 0, 0, 0.09);
  color: inherit;
  text-decoration: none;
  transform-origin: center center;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  /* Only transform — opacity tweens caused background flash on wrap */
  transition: transform var(--fan-dur) var(--fan-ease);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  isolation: isolate;
  backface-visibility: hidden;
}

.shturko-fan.is-instant .shturko-fan__card,
.shturko-fan.is-dragging .shturko-fan__card,
.shturko-fan__card.is-no-tween {
  transition: none !important;
}

.shturko-fan__card.is-center {
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.06),
    0 26px 52px rgba(0, 0, 0, 0.12);
}

.shturko-fan__card.is-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.shturko-fan__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #eef2f5;
}

.shturko-fan__img,
.shturko-fan__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shturko-fan__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(145deg, var(--ph-a, #d7ecf8) 0%, var(--ph-b, #e8f6e8) 55%, var(--ph-c, #fff0e4) 100%);
}

.shturko-fan__ph[data-deck="machines"] {
  --ph-a: #d5e8fb;
  --ph-b: #cfe0f5;
  --ph-c: #e8f0fa;
}
.shturko-fan__ph[data-deck="kitchen"] {
  --ph-a: #ffe3d4;
  --ph-b: #ffd8c2;
  --ph-c: #fff1e6;
}
.shturko-fan__ph[data-deck="fruits_vegetables"] {
  --ph-a: #dff5d8;
  --ph-b: #cfeed0;
  --ph-c: #eef9ea;
}
.shturko-fan__ph[data-deck="plants"] {
  --ph-a: #d6f0df;
  --ph-b: #c5e8d2;
  --ph-c: #eaf7ef;
}
.shturko-fan__ph[data-deck="clothes"] {
  --ph-a: #e4ddfb;
  --ph-b: #d8d0f5;
  --ph-c: #f1edfc;
}

.shturko-fan__ph-card {
  width: 78%;
  max-width: 180px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(18, 59, 100, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shturko-fan__ph-top {
  flex: 1 1 auto;
  margin: 10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(135deg, rgba(18, 59, 100, 0.08), rgba(240, 77, 35, 0.12));
  position: relative;
}

.shturko-fan__ph-top::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18%;
  height: 38%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.shturko-fan__ph-lines {
  padding: 0 14px 14px;
  display: grid;
  gap: 7px;
}

.shturko-fan__ph-lines span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(18, 59, 100, 0.12);
}

.shturko-fan__ph-lines span:nth-child(1) { width: 72%; }
.shturko-fan__ph-lines span:nth-child(2) { width: 90%; }
.shturko-fan__ph-lines span:nth-child(3) { width: 58%; }

.shturko-fan__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.05rem 0.2rem 0;
}

.shturko-fan__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 59, 100, 0.08);
  color: var(--fan-ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.shturko-fan__card--online .shturko-fan__badge {
  background: rgba(46, 139, 109, 0.12);
  color: #1f6b52;
}

.shturko-fan__badge--pass,
.shturko-fan__card--pass .shturko-fan__badge {
  background: rgba(240, 77, 35, 0.12);
  color: #c43a16;
}

.shturko-fan__title {
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--fan-ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.shturko-fan__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fan-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shturko-fan__desc--lead {
  color: var(--fan-ink);
  font-weight: 400;
}

/* Deck cards: what comes free with the cards. The slider card has a fixed
   height, so it gets one short line; list view has room for one gift per line. */
.shturko-fan__gifts {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fan-muted);
}

.shturko-fan__gifts-short {
  font-size: 13px;
  line-height: 1.45;
  color: var(--fan-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shturko-fan.is-list-view .shturko-fan__gifts {
  display: flex;
}

.shturko-fan.is-list-view .shturko-fan__gifts-short,
.shturko-fan.is-mobile:not(.is-list-view) .shturko-fan__gifts-short {
  display: none;
}

.shturko-fan__gift b,
.shturko-fan__gifts-short b {
  color: var(--fan-orange);
  font-weight: 400;
}

.shturko-fan__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding-top: 0.25rem;
  margin-top: auto;
}

.shturko-fan__price {
  font-weight: 400;
  color: var(--fan-orange);
  font-size: 0.95rem;
  white-space: nowrap;
}

.shturko-fan__price:empty {
  display: none;
}

/* «Научете повече»: white full-width pill (the secondary button) on its own row under the prices, never clipped. */
.shturko-fan__more {
  flex: 1 0 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #123b64;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(31, 51, 67, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shturko-fan__more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.shturko-fan__card:hover .shturko-fan__more,
.shturko-fan__card:focus-visible .shturko-fan__more {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 51, 67, 0.16);
}

.shturko-fan__card:hover .shturko-fan__more svg,
.shturko-fan__card:focus-visible .shturko-fan__more svg {
  transform: translateX(3px);
}

.shturko-fan__nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  pointer-events: auto;
}

.shturko-fan__nav .shturko-fan__btn {
  pointer-events: auto;
}

.shturko-fan__btn,
.shturko-fan button.shturko-fan__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  background-image: none !important;
  color: #222 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(18, 59, 100, .16) !important;
  filter: none !important;
  transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* Only the navigation in the new top toolbar is valid. This also suppresses
   stale bottom controls if an older cached PHP template is ever rendered. */
.shturko-fan > .shturko-fan__nav {
  display: none !important;
}

.shturko-fan > [data-shturko-fan-prev],
.shturko-fan > [data-shturko-fan-next],
.shturko-fan__stage > .shturko-fan__nav,
.shturko-fan__stage > [data-shturko-fan-prev],
.shturko-fan__stage > [data-shturko-fan-next] {
  display: none !important;
}

.shturko-fan__toolbar .shturko-fan__nav {
  display: flex;
}

.shturko-fan__btn[hidden] { display: none !important; }

.shturko-fan.is-list-view .shturko-fan__stage {
  height: auto !important;
  min-height: 0;
  overflow: visible;
  cursor: default;
  padding: 1.25rem max(1rem, calc((100vw - 1180px) / 2)) 3rem;
  box-sizing: border-box;
}

.shturko-fan.is-list-view .shturko-fan__track {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.shturko-fan.is-list-view .shturko-fan__card {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 390px;
  max-width: none;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.shturko-fan.is-list-view .shturko-fan__media { min-height: 240px; }

.shturko-fan__btn:hover,
.shturko-fan__btn:focus,
.shturko-fan__btn:focus-visible,
.shturko-fan__btn:active,
.shturko-fan button.shturko-fan__btn:hover,
.shturko-fan button.shturko-fan__btn:focus,
.shturko-fan button.shturko-fan__btn:focus-visible,
.shturko-fan button.shturko-fan__btn:active {
  background: #fff !important;
  background-image: none !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  color: #111 !important;
  outline: none;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.shturko-fan__btn:disabled,
.shturko-fan button.shturko-fan__btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Mobile — Labs inspector: ~235×350, one full + peeks */
.shturko-fan.is-mobile {
  min-height: auto;
  padding: 1rem 0 2rem;
}

.shturko-fan.is-mobile .shturko-fan__stage {
  min-height: 360px;
}

.shturko-fan.is-mobile .shturko-fan__card {
  border-radius: 28px;
  padding: 0.95rem;
  top: calc((var(--fan-card-h) / 2) + 20px);
}

.shturko-fan.is-mobile .shturko-fan__desc {
  -webkit-line-clamp: 2;
}

/* List view lays cards out in normal flow (top: auto) — without this, the
   slider's `top` offset above ties in specificity with is-list-view's own
   card rule and wins by source order, shifting list cards down and leaving
   a large gap under the toolbar. Scope the tightened gap to list view only. */
.shturko-fan.is-mobile.is-list-view .shturko-fan__card {
  top: auto;
}

.shturko-fan.is-mobile.is-list-view .shturko-fan__stage {
  padding-top: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .shturko-fan__card {
    transition-duration: 0.01ms !important;
  }
  .shturko-fan__bird {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .shturko-fan__bird--purple,
  .shturko-fan__bird--blue {
    display: none;
  }
  .shturko-fan__bird {
    width: clamp(56px, 16vw, 88px);
    opacity: 0.85;
  }
  .shturko-fan__toolbar {
    width: calc(100% - 1rem);
    gap: .5rem;
    margin-bottom: 0;
  }
  .shturko-fan__view,
  .shturko-fan button.shturko-fan__view {
    padding: .5rem .75rem;
    font-size: .84rem;
  }
  .shturko-fan__btn,
  .shturko-fan button.shturko-fan__btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .shturko-fan.is-list-view .shturko-fan__track {
    grid-template-columns: 1fr;
  }
}

/* Mobile toolbar: three view buttons + arrows must fit one row at 360px. */
@media (max-width: 420px) {
  .shturko-fan__view,
  .shturko-fan button.shturko-fan__view {
    padding: .5rem .6rem;
    gap: .3rem;
  }
  .shturko-fan__view span[aria-hidden] {
    display: none;
  }
}

/* Gallery view: picture tiles side by side. A tap opens the tile into the
   same card box as the slider (picture on top, info below); the next tap
   follows the link. Builds on the list-view reset (is-list-view is also set). */
.shturko-fan.is-gallery-view .shturko-fan__track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

/* Birds fly only over the slider; gallery and list stay clean. */
.shturko-fan.is-list-view .shturko-fan__birds {
  display: none;
}

.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-soon-ribbon {
  top: 6px;
  left: 6px;
  font-size: 10.5px;
  padding: 2px 7px;
}

.shturko-fan.is-gallery-view .shturko-fan__card {
  min-height: 0;
  padding: .6rem .6rem .75rem;
  gap: .55rem;
  border-radius: 22px;
}

.shturko-fan.is-gallery-view .shturko-fan__media {
  flex: 0 0 auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__badge,
.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__desc,
.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__gifts,
.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__gifts-short,
.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__meta {
  display: none;
}

.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open) .shturko-fan__title {
  font-size: 15px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shturko-fan.is-gallery-view .shturko-fan__card:not(.is-open):hover {
  transform: translateY(-3px) !important;
  transition: transform .18s ease;
}

.shturko-fan.is-gallery-view .shturko-fan__card.is-open {
  grid-column: span 2;
  grid-row: span 2;
  padding: 1.15rem 1.15rem 1.05rem;
  gap: .75rem;
  border-radius: var(--fan-radius);
  box-shadow: 0 0 0 3px var(--fan-navy), 0 26px 52px rgba(0, 0, 0, .14);
}

.shturko-fan.is-gallery-view .shturko-fan__card.is-open .shturko-fan__media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 260px;
  border-radius: 20px;
}

.shturko-fan.is-gallery-view .shturko-fan__card.is-open .shturko-fan__gifts-short {
  display: none;
}

@media (max-width: 900px) {
  .shturko-fan.is-gallery-view .shturko-fan__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shturko-fan.is-gallery-view .shturko-fan__stage {
    padding-left: .75rem;
    padding-right: .75rem;
  }
  .shturko-fan.is-gallery-view .shturko-fan__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
  .shturko-fan.is-gallery-view .shturko-fan__card.is-open {
    grid-column: 1 / -1;
    grid-row: auto;
    border-radius: 26px;
    padding: .95rem;
  }
  .shturko-fan.is-gallery-view .shturko-fan__card.is-open .shturko-fan__media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

/* «−20% отстъпка — вижте тук»: top of the shop, scrolls to the waitlist form. */
.shturko-fan__promo {
  position: relative;
  z-index: 8;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto .75rem;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem .45rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(18, 59, 100, .14);
  color: var(--fan-navy);
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
}
.shturko-fan__promo[hidden] { display: none; }
.shturko-fan__promo:hover,
.shturko-fan__promo:focus-visible {
  background: #fff;
  color: var(--fan-navy);
}
.shturko-fan__promo-badge {
  padding: .3rem .6rem;
  border-radius: 999px;
  background: var(--fan-orange);
  color: #fff;
}
