/**
 * Root catalog hub /shop/ — layout rail + hub sections.
 * Cards: reuse festival-blocks listing template (qty + cart + 1-click).
 * Isolated: body.fst-shop-hub / .fst-shop-*
 */

body.fst-shop-hub {
  --fst-shop-pink: #d81b60;
  --fst-shop-pink-deep: #b0144e;
  --fst-shop-ink: #1a1a1a;
  --fst-shop-muted: #5c5c5c;
  --fst-shop-line: #ebe7ea;
  --fst-shop-surface: #faf7f8;
  --fst-shop-white: #fff;
  --fst-shop-radius: 14px;
  --fst-shop-gap: 20px;
  --fst-shop-gap-x: 16px;
}

/* Collapse theme sidebar — content on header rail */
body.fst-shop-hub.sidebar-none #secondary,
body.fst-shop-hub .widget-area:not(.fst-shop-drawer) {
  display: none !important;
}

/* Match .fs-hdr__inner / festival-cat: 1300px + 20px padding */
body.fst-shop-hub .site-content.fixed,
body.fst-shop-hub .site-content {
  max-width: 1300px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.fst-shop-hub .site-content-inner,
body.fst-shop-hub .content-area,
body.fst-shop-hub #primary,
body.fst-shop-hub .site-main {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  flex: 1 1 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

body.fst-shop-hub h1.page-title {
  display: none !important;
}
body.fst-shop-hub .woocommerce-ordering,
body.fst-shop-hub .shop-sorting {
  display: none !important;
}

body.fst-shop-hub .woocommerce-breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.4;
  background: none;
  border: 0;
}

/* —— Product grid (same rhythm as category) —— */
body.fst-shop-hub .site-main > .shop-grid,
body.fst-shop-hub .site-main > .woocommerce > .shop-grid,
body.fst-shop-hub ul.products.shop-grid,
body.fst-shop-hub .shop-grid.shop-grid--columns-4:not(.fst-shop-express__track) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--fst-shop-gap) var(--fst-shop-gap-x);
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  list-style: none;
}

body.fst-shop-hub .shop-grid:not(.fst-shop-express__track) > .shop-item {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0;
}

@media (max-width: 1199px) {
  body.fst-shop-hub .shop-grid.shop-grid--columns-4:not(.fst-shop-express__track),
  body.fst-shop-hub .site-main > .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.fst-shop-hub .shop-grid.shop-grid--columns-4:not(.fst-shop-express__track),
  body.fst-shop-hub .site-main > .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

body.fst-shop-hub .shop-grid.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Optional 2nd image on hover — does not change card chrome */
body.fst-shop-hub .shop-item__image-inner {
  position: relative;
}
body.fst-shop-hub .fst-shop-card__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  body.fst-shop-hub .shop-item:hover .fst-shop-card__hover {
    opacity: 1;
  }
}

/* —— Hero USP —— */
.fst-shop-hero {
  margin: 4px 0 24px;
  padding: 32px 32px 28px;
  border-radius: var(--fst-shop-radius);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(216, 27, 96, 0.09), transparent 52%),
    linear-gradient(168deg, #fff 0%, #fcf8fa 100%);
  border: 1px solid var(--fst-shop-line);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.fst-shop-hero__title {
  margin: 0 0 22px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.22;
  font-weight: 750;
  color: var(--fst-shop-ink);
  letter-spacing: -0.025em;
  max-width: 30ch;
}

.fst-shop-usp {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fst-shop-usp__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 16px 16px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 27, 96, 0.1);
  box-shadow: 0 1px 0 rgba(216, 27, 96, 0.04);
  min-width: 0;
}

.fst-shop-usp__ico {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fst-shop-pink);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 55%),
    rgba(216, 27, 96, 0.1);
  box-shadow: inset 0 0 0 1px rgba(216, 27, 96, 0.12);
}

.fst-shop-usp__ico .fst-shop-ico,
.fst-shop-usp__ico svg {
  width: 24px;
  height: 24px;
  display: block;
}

.fst-shop-usp__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.fst-shop-usp__title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fst-shop-ink);
  letter-spacing: -0.01em;
}

.fst-shop-usp__text {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  color: #5a5560;
}

@media (max-width: 900px) {
  .fst-shop-usp {
    gap: 10px;
  }
  .fst-shop-usp__item {
    padding: 14px 12px;
    gap: 12px;
  }
  .fst-shop-usp__ico {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 720px) {
  .fst-shop-hero {
    padding: 22px 16px 18px;
  }
  .fst-shop-hero__title {
    max-width: none;
    margin-bottom: 16px;
  }
  .fst-shop-usp {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
  }
  .fst-shop-usp::-webkit-scrollbar {
    display: none;
  }
  .fst-shop-usp__item {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}

.fst-shop-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fst-shop-pink);
}

/* —— Stories —— */
.fst-shop-stories {
  margin: 0 0 22px;
  width: 100%;
  overflow: hidden;
}

.fst-shop-stories__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  margin: 0;
  scrollbar-width: none;
}

.fst-shop-stories__track::-webkit-scrollbar {
  display: none;
}

.fst-shop-story {
  flex: 0 0 auto;
  width: 148px;
  max-width: 38vw;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}

.fst-shop-story__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--fst-shop-surface);
  box-shadow: 0 0 0 1px var(--fst-shop-line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fst-shop-story:hover .fst-shop-story__media,
.fst-shop-story:focus-visible .fst-shop-story__media {
  box-shadow: 0 0 0 2px var(--fst-shop-pink);
  transform: translateY(-2px);
}

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

.fst-shop-story__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #f3e6ec, #e8d5de);
}

.fst-shop-story__label {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fst-shop-ink);
}

@media (min-width: 900px) {
  .fst-shop-story {
    width: 160px;
    max-width: none;
  }
}

/* —— Chips —— */
.fst-shop-chips {
  margin: 0 0 18px;
  width: 100%;
  overflow: hidden;
}

.fst-shop-chips__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: auto;
  scrollbar-color: #d81b60 #fce4ec; /* thumb / track — Firefox + Chromium */
}

/* Brand pink horizontal scrollbar (chips + express rail) */
.fst-shop-chips__track::-webkit-scrollbar,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar {
  height: 10px;
  background: #fce4ec;
}
.fst-shop-chips__track::-webkit-scrollbar-track,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-track {
  background: #fce4ec;
  border-radius: 999px;
}
.fst-shop-chips__track::-webkit-scrollbar-thumb,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-thumb {
  background: #d81b60;
  background: var(--fst-shop-pink, #d81b60);
  border-radius: 999px;
  border: 2px solid #fce4ec;
}
.fst-shop-chips__track::-webkit-scrollbar-thumb:hover,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-thumb:hover {
  background: #b0144e;
  background: var(--fst-shop-pink-deep, #b0144e);
}
.fst-shop-chips__track::-webkit-scrollbar-button,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-button {
  width: 12px;
  height: 10px;
  background-color: #fce4ec;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 7px;
}
.fst-shop-chips__track::-webkit-scrollbar-button:single-button:horizontal:decrement,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-button:single-button:horizontal:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23d81b60' d='M5.5 1.2L2.2 4l3.3 2.8z'/%3E%3C/svg%3E");
}
.fst-shop-chips__track::-webkit-scrollbar-button:single-button:horizontal:increment,
body.fst-shop-hub .fst-shop-express__track.shop-grid::-webkit-scrollbar-button:single-button:horizontal:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23d81b60' d='M2.5 1.2L5.8 4 2.5 6.8z'/%3E%3C/svg%3E");
}

.fst-shop-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--fst-shop-line);
  background: var(--fst-shop-white);
  color: var(--fst-shop-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fst-shop-chip:hover,
.fst-shop-chip:focus-visible {
  border-color: var(--fst-shop-pink);
  color: var(--fst-shop-pink);
}

.fst-shop-chip.is-active {
  background: var(--fst-shop-pink);
  border-color: var(--fst-shop-pink);
  color: #fff;
}

/* —— Express (same card template, horizontal rail) —— */
.fst-shop-express {
  margin: 0 0 28px;
  padding: 4px 0 0;
  width: 100%;
  overflow: hidden;
}

.fst-shop-express__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fst-shop-express__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fst-shop-ink);
}

.fst-shop-express__all {
  color: var(--fst-shop-pink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.fst-shop-hub .fst-shop-express__track.shop-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px !important;
  margin: 0 !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scrollbar-color: #d81b60 #fce4ec;
  width: 100% !important;
}

body.fst-shop-hub .fst-shop-express__track > .shop-item {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  scroll-snap-align: start;
  margin: 0 !important;
  float: none !important;
}

@media (max-width: 767px) {
  body.fst-shop-hub .fst-shop-express__track > .shop-item {
    flex-basis: 72vw !important;
    width: 72vw !important;
    max-width: 72vw !important;
  }
}

/* —— Grid head —— */
.fst-shop-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
  width: 100%;
}

.fst-shop-grid-head__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 0;
}

.fst-shop-grid-head__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.fst-shop-filter-open,
.fst-shop-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 27, 96, 0.14);
  background: var(--fst-shop-white);
  color: var(--fst-shop-ink);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}

.fst-shop-filter-open svg {
  color: var(--fst-shop-pink);
  flex: 0 0 auto;
}

.fst-shop-filter-open:hover,
.fst-shop-sort__btn:hover,
.fst-shop-sort.is-open .fst-shop-sort__btn {
  border-color: rgba(216, 27, 96, 0.35);
  color: var(--fst-shop-pink);
  background: #fff8fb;
  box-shadow: 0 4px 16px rgba(216, 27, 96, 0.1);
}

.fst-shop-filter-open:active,
.fst-shop-sort__btn:active {
  transform: scale(0.98);
}

.fst-shop-filter-open:focus-visible,
.fst-shop-sort__btn:focus-visible {
  outline: none;
  border-color: var(--fst-shop-pink);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.18);
}

.fst-shop-sort {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.fst-shop-sort__btn {
  max-width: min(220px, 56vw);
  white-space: nowrap;
}

.fst-shop-sort__btn [data-fst-shop-sort-label] {
  overflow: hidden;
  text-overflow: ellipsis;
}

.fst-shop-sort__chev {
  flex: 0 0 auto;
  opacity: 0.7;
  color: var(--fst-shop-pink);
  transition: transform 0.18s ease;
}

.fst-shop-sort.is-open .fst-shop-sort__chev {
  transform: rotate(180deg);
}

.fst-shop-sort__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  list-style: none;
  margin: 0;
  min-width: 100%;
  width: max-content;
  padding: 8px;
  border: 1px solid rgba(216, 27, 96, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1);
}

.fst-shop-sort__opt {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--fst-shop-ink);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.fst-shop-sort__opt:hover {
  background: #fff8fb;
  color: var(--fst-shop-pink);
}

.fst-shop-sort__opt.is-active {
  background: rgba(216, 27, 96, 0.1);
  color: var(--fst-shop-pink);
  font-weight: 700;
}

@media (max-width: 720px) {
  .fst-shop-filter-open {
    display: none;
  }

  .fst-shop-grid-head__title {
    font-size: 1.05rem;
  }

  .fst-shop-sort__btn {
    height: 40px;
    padding: 0 14px;
    font-size: 0.85rem;
  }
}

/* —— Interleave breakers (2-col of 4-col grid) —— */
body.fst-shop-hub .shop-grid > .fst-shop-breaker {
  grid-column: span 2;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  min-width: 0;
}

.fst-shop-breaker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  min-height: 100%;
  border-radius: var(--fst-shop-radius);
  overflow: hidden;
  background: var(--fst-shop-ink);
  color: #fff;
  align-items: stretch;
  box-sizing: border-box;
}

.fst-shop-breaker--florist {
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(216, 27, 96, 0.55), transparent 55%),
    linear-gradient(135deg, #1a1a1a, #2a1520);
  grid-template-columns: 1fr;
}

.fst-shop-breaker__media {
  min-height: 180px;
  background: #2a2a2a;
}

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

.fst-shop-breaker__media--ph {
  background:
    linear-gradient(135deg, rgba(216, 27, 96, 0.35), transparent 60%),
    repeating-linear-gradient(
      -12deg,
      #2a2a2a,
      #2a2a2a 8px,
      #323232 8px,
      #323232 16px
    );
}

.fst-shop-breaker__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.fst-shop-breaker--florist .fst-shop-breaker__body {
  padding: 24px;
}

.fst-shop-breaker .fst-shop-kicker {
  color: #f7a0c0;
}

.fst-shop-breaker__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.fst-shop-breaker__text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
}

.fst-shop-breaker__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--fst-shop-pink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.fst-shop-breaker__cta--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.fst-shop-breaker__cta:hover {
  background: var(--fst-shop-pink-deep);
  color: #fff;
}

@media (max-width: 1199px) {
  body.fst-shop-hub .shop-grid > .fst-shop-breaker {
    grid-column: span 3;
  }
  .fst-shop-breaker:not(.fst-shop-breaker--florist) {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 767px) {
  body.fst-shop-hub .shop-grid > .fst-shop-breaker {
    grid-column: span 2;
  }
  .fst-shop-breaker:not(.fst-shop-breaker--florist) {
    grid-template-columns: 1fr;
  }
}

/* —— Load more —— */
.fst-shop-more {
  display: flex;
  justify-content: center;
  margin: 24px 0 10px;
  width: 100%;
}

.fst-shop-more__btn {
  min-width: min(360px, 100%);
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1.5px solid var(--fst-shop-pink);
  background: #fff;
  color: var(--fst-shop-pink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.fst-shop-more__btn:hover,
.fst-shop-more__btn:focus-visible {
  background: var(--fst-shop-pink);
  color: #fff;
}

.fst-shop-more__btn.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

body.fst-shop-hub .woocommerce-pagination {
  margin-top: 12px;
  opacity: 0.72;
  font-size: 0.9rem;
  clear: both;
}

/* —— Themes / GEO / FAQ —— */
.fst-shop-themes,
.fst-shop-geo,
.fst-shop-faq {
  margin: 40px 0 28px;
  width: 100%;
  clear: both;
}

.fst-shop-themes__title,
.fst-shop-geo__title,
.fst-shop-faq__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--fst-shop-ink);
}

.fst-shop-geo__lead {
  margin: 0 0 18px;
  max-width: 52ch;
  color: var(--fst-shop-muted);
}

.fst-shop-themes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.fst-shop-theme {
  display: grid;
  grid-template-rows: 160px auto;
  border-radius: var(--fst-shop-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--fst-shop-white);
  border: 1px solid var(--fst-shop-line);
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.fst-shop-theme:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 27, 96, 0.35);
}

.fst-shop-theme__media {
  background: var(--fst-shop-surface);
  overflow: hidden;
}

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

.fst-shop-theme__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fst-shop-theme__label {
  font-weight: 700;
  font-size: 1.05rem;
}

.fst-shop-theme__desc {
  color: var(--fst-shop-muted);
  font-size: 0.88rem;
}

.fst-shop-geo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fst-shop-geo__card {
  padding: 18px 18px 16px;
  border-radius: var(--fst-shop-radius);
  background: var(--fst-shop-surface);
  border: 1px solid var(--fst-shop-line);
  min-width: 0;
}

.fst-shop-geo__card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.fst-shop-geo__card p {
  margin: 0;
  color: var(--fst-shop-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fst-shop-geo__card a {
  color: var(--fst-shop-pink);
}

.fst-shop-geo__salons {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--fst-shop-muted);
  font-size: 0.9rem;
}

.fst-shop-faq__head {
  margin-bottom: 14px;
}

@media (max-width: 800px) {
  .fst-shop-themes__grid,
  .fst-shop-geo__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Drawer + sticky thumb zone —— */
.fst-shop-drawer[hidden] {
  display: none !important;
}

.fst-shop-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.fst-shop-drawer.is-open {
  pointer-events: auto;
}

.fst-shop-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 22, 0.28);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.fst-shop-drawer.is-open .fst-shop-drawer__backdrop {
  opacity: 1;
}

.fst-shop-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid rgba(216, 27, 96, 0.08);
  box-shadow: -18px 0 48px rgba(28, 18, 22, 0.1);
  transform: translateX(18px);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
  will-change: transform, opacity;
}

.fst-shop-drawer.is-open .fst-shop-drawer__panel {
  transform: translateX(0);
  opacity: 1;
}

.fst-shop-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
  background: #fffafb;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.fst-shop-drawer__titles {
  min-width: 0;
}

.fst-shop-drawer__head h2 {
  margin: 0;
  color: var(--fst-shop-ink);
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.fst-shop-drawer__sub {
  margin: 6px 0 0;
  color: var(--fst-shop-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 500;
}

.fst-shop-drawer__x {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -4px -4px 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--fst-shop-surface);
  color: var(--fst-shop-ink);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.15s ease;
}

.fst-shop-drawer__x:hover {
  background: rgba(216, 27, 96, 0.1);
  color: var(--fst-shop-pink);
}

.fst-shop-drawer__x:active {
  transform: scale(0.94);
}

.fst-shop-drawer__x:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.2);
}

.fst-shop-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px 22px 20px;
  -webkit-overflow-scrolling: touch;
}

.fst-shop-drawer__group {
  margin: 0;
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.fst-shop-drawer__group:last-child {
  border-bottom: 0;
  padding-bottom: 8px;
}

.fst-shop-drawer__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.fst-shop-drawer__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(216, 27, 96, 0.07);
  color: var(--fst-shop-pink);
  box-shadow: inset 0 0 0 1px rgba(216, 27, 96, 0.1);
}

.fst-shop-drawer__svg {
  display: block;
}

.fst-shop-drawer__group h3 {
  margin: 0;
  color: var(--fst-shop-ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.fst-shop-drawer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fst-shop-drawer__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--fst-shop-surface);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
  text-decoration: none;
  color: var(--fst-shop-ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.12s ease;
}

.fst-shop-drawer__pill:hover {
  background: #fff5f8;
  color: var(--fst-shop-pink);
  box-shadow: inset 0 0 0 1px rgba(216, 27, 96, 0.28);
}

.fst-shop-drawer__pill:active {
  transform: scale(0.97);
}

.fst-shop-drawer__pill:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 1px var(--fst-shop-pink),
    0 0 0 3px rgba(216, 27, 96, 0.16);
}

.fst-shop-drawer__pill.is-active,
.fst-shop-drawer__pill[aria-current="page"] {
  background: var(--fst-shop-pink);
  border-color: var(--fst-shop-pink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(216, 27, 96, 0.22);
}

.fst-shop-drawer__pill.is-active:hover,
.fst-shop-drawer__pill[aria-current="page"]:hover {
  background: var(--fst-shop-pink-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(216, 27, 96, 0.28);
}

.fst-shop-drawer__pill.is-pending {
  opacity: 0.72;
  pointer-events: none;
}

/* Secondary Hub&Spoke accordion */
.fst-shop-drawer__dirs {
  margin: 8px 0 4px;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  padding-top: 4px;
}

.fst-shop-drawer__dirs-sum {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  color: var(--fst-shop-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fst-shop-drawer__dirs-sum::-webkit-details-marker {
  display: none;
}

.fst-shop-drawer__dirs-sum::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #9a9a9a;
  border-bottom: 1.5px solid #9a9a9a;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.fst-shop-drawer__dirs[open] > .fst-shop-drawer__dirs-sum::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.fst-shop-drawer__dirs-body {
  padding: 0 0 8px;
}

.fst-shop-drawer__dirs .fst-shop-drawer__group {
  border-bottom: 0;
  padding-top: 8px;
  padding-bottom: 12px;
}

/* Real filter controls (mirror festival-cat, scoped to shop drawer) */
.fst-shop-drawer {
  --fst-primary: #d81b60;
  --fst-primary-hover: #b0144e;
  --fst-text: #1a1a1a;
  --fst-muted-2: #757575;
}

.fst-shop-drawer .fst-filter-price__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.fst-shop-drawer .fst-filter-price__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.fst-shop-drawer .fst-filter-price__lbl {
  color: var(--fst-muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fst-shop-drawer .fst-filter-price__wrap {
  position: relative;
  display: block;
}

.fst-shop-drawer .fst-filter-price__wrap input {
  width: 100%;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid #ebe7ea;
  border-radius: 12px;
  background: #faf7f8;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--fst-text);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.fst-shop-drawer .fst-filter-price__rub {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fst-muted-2);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.fst-shop-drawer .fst-filter-price__wrap input:focus {
  border-color: var(--fst-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.12);
  outline: none;
}

.fst-shop-drawer .fst-filter-price__slider {
  --fst-lo: 0%;
  --fst-hi: 100%;
  position: relative;
  height: 40px;
  margin: 4px 2px 0;
  overflow: visible;
}

.fst-shop-drawer .fst-filter-price__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #e8e8e8 0%,
    #e8e8e8 var(--fst-lo),
    var(--fst-primary) var(--fst-lo),
    var(--fst-primary) var(--fst-hi),
    #e8e8e8 var(--fst-hi),
    #e8e8e8 100%
  );
  pointer-events: none;
  z-index: 0;
}

.fst-shop-drawer .fst-filter-price__range {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  pointer-events: none;
  appearance: none !important;
  -webkit-appearance: none !important;
  z-index: 1;
}

.fst-shop-drawer .fst-filter-price__range--max {
  z-index: 2;
}

.fst-shop-drawer .fst-filter-price__range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 40px;
  background: transparent !important;
  border: none !important;
}

.fst-shop-drawer .fst-filter-price__range::-moz-range-track {
  height: 40px;
  background: transparent !important;
  border: none !important;
}

.fst-shop-drawer .fst-filter-price__range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px;
  height: 20px;
  margin-top: 10px;
  border: 0 !important;
  border-radius: 50%;
  background-color: #d81b60 !important;
  box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(216, 27, 96, 0.4);
  pointer-events: auto;
  cursor: grab;
}

.fst-shop-drawer .fst-filter-price__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #d81b60;
  box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(216, 27, 96, 0.4);
  pointer-events: auto;
  cursor: pointer;
}

.fst-shop-drawer .fst-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fst-shop-drawer .fst-filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fst-shop-surface);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.fst-shop-drawer .fst-filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fst-shop-drawer .fst-filter-chip__val {
  font-size: 14px;
  font-weight: 700;
  color: var(--fst-shop-ink);
  font-variant-numeric: tabular-nums;
}

.fst-shop-drawer .fst-filter-chip:hover {
  background: #fff5f8;
  box-shadow: inset 0 0 0 1px rgba(216, 27, 96, 0.28);
}

.fst-shop-drawer .fst-filter-chip.is-on {
  background: var(--fst-shop-pink);
  box-shadow: 0 6px 14px rgba(216, 27, 96, 0.22);
}

.fst-shop-drawer .fst-filter-chip.is-on .fst-filter-chip__val {
  color: #fff;
}

.fst-shop-drawer .fst-filter-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fst-shop-drawer .fst-filter-swatch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--fst-shop-surface);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
  cursor: pointer;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.fst-shop-drawer .fst-filter-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fst-shop-drawer .fst-filter-swatch__dot {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.fst-shop-drawer .fst-filter-swatch__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fst-shop-ink);
}

.fst-shop-drawer .fst-filter-swatch:hover,
.fst-shop-drawer .fst-filter-swatch.is-on {
  background: #fff5f8;
  box-shadow: inset 0 0 0 1px rgba(216, 27, 96, 0.35);
}

.fst-shop-drawer .fst-filter-swatch.is-on .fst-filter-swatch__dot {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--fst-shop-pink);
}

.fst-shop-drawer .fst-filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow: auto;
}

.fst-shop-drawer .fst-filter-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fst-shop-drawer .fst-filter-check:hover {
  background: #faf7f8;
}

.fst-shop-drawer .fst-filter-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fst-shop-drawer .fst-filter-check__box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fst-shop-drawer .fst-filter-check__box::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  margin: 2px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.fst-shop-drawer .fst-filter-check.is-on .fst-filter-check__box {
  border-color: var(--fst-shop-pink);
  background: var(--fst-shop-pink);
}

.fst-shop-drawer .fst-filter-check.is-on .fst-filter-check__box::after {
  transform: rotate(45deg) scale(1);
}

.fst-shop-drawer .fst-filter-check__label {
  font-weight: 550;
  color: var(--fst-shop-ink);
}

.fst-shop-drawer__done.is-busy {
  opacity: 0.72;
  pointer-events: none;
}

body.fst-shop-hub .shop-grid.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fst-shop-drawer__foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  background: #fff;
  box-shadow: 0 -10px 28px rgba(28, 18, 22, 0.04);
}

.fst-shop-drawer__reset,
.fst-shop-drawer__done {
  height: 48px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.fst-shop-drawer__reset {
  min-width: 108px;
  padding: 0 16px;
  background: transparent;
  color: var(--fst-shop-pink);
}

.fst-shop-drawer__reset:hover {
  background: rgba(216, 27, 96, 0.07);
}

.fst-shop-drawer__done {
  background: var(--fst-shop-pink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(216, 27, 96, 0.24);
}

.fst-shop-drawer__done:hover {
  background: var(--fst-shop-pink-deep);
}

.fst-shop-drawer__done:active,
.fst-shop-drawer__reset:active {
  transform: scale(0.98);
}

.fst-shop-drawer__done:focus-visible,
.fst-shop-drawer__reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.2);
}

body.fst-shop-drawer-open {
  overflow: hidden;
}

.fst-shop-sticky {
  display: none;
}

@media (max-width: 720px) {
  body.fst-shop-hub {
    padding-bottom: 72px;
  }

  .fst-shop-drawer__panel {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: min(88vh, 720px);
    border-left: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -16px 40px rgba(28, 18, 22, 0.12);
    transform: translateY(28px);
  }

  .fst-shop-drawer.is-open .fst-shop-drawer__panel {
    transform: translateY(0);
  }

  .fst-shop-drawer__head {
    padding: 18px 18px 14px;
  }

  .fst-shop-drawer__body {
    padding: 4px 18px 18px;
  }

  .fst-shop-drawer__foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fst-shop-sticky {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 10040;
    gap: 8px;
  }

  body.fst-shop-drawer-open .fst-shop-sticky {
    opacity: 0;
    pointer-events: none;
  }

  .fst-shop-sticky__btn {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    background: var(--fst-shop-ink);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
  }

  .fst-shop-sticky__btn--wa {
    background: var(--fst-shop-pink);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fst-shop-hub .fst-shop-card__hover,
  .fst-shop-story__media,
  .fst-shop-theme,
  .fst-shop-drawer__backdrop,
  .fst-shop-drawer__panel,
  .fst-shop-drawer__pill,
  .fst-shop-filter-open,
  .fst-shop-sort__btn,
  .fst-shop-sort__chev,
  .fst-shop-drawer__x,
  .fst-shop-drawer__reset,
  .fst-shop-drawer__done {
    transition: none !important;
  }

  .fst-shop-drawer__panel {
    transform: none;
    opacity: 1;
  }

  .fst-shop-drawer__backdrop {
    opacity: 1;
  }
}
