/* ZGO 1.3.9 — shop + product category archives (mobile-first) */
.zshop { font-family: var(--z-font); color: var(--z-ink); background: #fff; }
.zshop *, .zshop *::before, .zshop *::after { box-sizing: border-box; }

/* 1.3.6/1.3.9: content width matches product (~1040–1080) via global --z-max */
.zshop .zwrap {
  max-width: calc(var(--z-max) + 2 * var(--z-gutter));
}
.wp-site-blocks > main.zshop,
.wp-site-blocks > .zshop { margin-top: 0 !important; }
body.archive .wp-site-blocks > footer.wp-block-template-part,
body.tax-product_cat .wp-site-blocks > footer.wp-block-template-part { margin-top: 0 !important; }

/* Kill TT5 constrained width clash with new chrome */
body.post-type-archive-product .wp-site-blocks > main.wp-block-group,
body.tax-product_cat .wp-site-blocks > main.wp-block-group { max-width: none !important; padding: 0 !important; }

.zs-hero {
  padding: 28px 0 8px;
  background:
    radial-gradient(900px 320px at 8% -10%, rgba(255, 45, 120, .10), transparent 60%),
    radial-gradient(700px 280px at 100% 0%, rgba(0, 201, 167, .10), transparent 55%),
    #fff;
}
.zs-hero__title {
  margin: 0 0 10px !important;
  font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--z-ink);
}
.zs-hero__sub {
  margin: 0 0 4px !important;
  max-width: 44rem;
  font-size: 15.5px; line-height: 1.55; color: var(--z-g600);
}
.zs-search { max-width: 640px; margin-top: 20px !important; }
.zs-search .zsearch__input { font-size: 16px; } /* iOS no-zoom */

.zs-crumbs { margin: 0 0 14px; }
.zs-crumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px 0; align-items: center;
  list-style: none; margin: 0; padding: 0;
  font-size: 15px; line-height: 1.5; color: var(--z-g500);
}
@media (min-width: 768px) {
  .zs-crumbs ol { font-size: 16px; line-height: 1.5; }
}
.zs-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.zs-crumbs li:not(:last-child)::after {
  content: "/"; margin-left: 6px; color: var(--z-g300); font-weight: 500;
}
.zs-crumbs a {
  color: var(--z-g600); text-decoration: none; font-weight: 650;
  font-size: inherit; line-height: inherit;
  min-height: 44px; display: inline-flex; align-items: center;
}
.zs-crumbs a:hover { color: var(--z-pink); }
.zs-crumbs [aria-current="page"] { color: var(--z-ink); font-weight: 700; }

/* 1.3.9: vertical only — .zs-hub.zwrap must keep .zwrap horizontal gutters */
.zs-hub {
  padding-top: 28px;
  padding-bottom: 64px;
}
.zs-hub.zwrap {
  padding-left: var(--z-gutter);
  padding-right: var(--z-gutter);
}
.zs-hub__kicker { margin: 28px 0 14px !important; }

.zs-plans {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px;
}
.zs-plan, .zs-plan:visited {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 16px;
  border-radius: var(--z-r); border: 1px solid var(--z-g200);
  background: #fff; box-shadow: var(--z-sh-sm);
  text-decoration: none !important; color: var(--z-ink) !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.zs-plan:hover { transform: translateY(-2px); box-shadow: var(--z-sh); border-color: rgba(255, 45, 120, .35); color: var(--z-ink) !important; }
.zs-plan__ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.zs-plan--fix .zs-plan__ico { background: var(--z-pink-50); color: var(--z-pink); }
.zs-plan--unl .zs-plan__ico { background: var(--z-teal-50); color: var(--z-teal-600); }
.zs-plan__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zs-plan__body strong { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.zs-plan__body span { font-size: 13px; color: var(--z-g500); }
.zs-plan__cta { flex: none; color: var(--z-g500); }

.zs-regions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; width: 100%; max-width: 100%;
}
.zs-region, .zs-region:visited {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; max-width: 100%; min-height: 64px; padding: 12px;
  border-radius: var(--z-r-sm); border: 1px solid var(--z-g200);
  background: #fff; text-decoration: none !important; color: var(--z-ink) !important;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  overflow: hidden;
}
.zs-region:hover { border-color: rgba(0, 201, 167, .45); box-shadow: var(--z-sh-sm); transform: translateY(-2px); color: var(--z-ink) !important; }
.zs-region__flag { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--z-g100); box-shadow: 0 0 0 1px rgba(8,12,28,.08); }
.zs-region__flag.is-blank { display: inline-flex; align-items: center; justify-content: center; color: var(--z-g500); }
.zs-region__flag--region { object-fit: contain; padding: 6px; background: var(--z-g50); }
.zs-region__body { flex: 1 1 auto; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.zs-region__name { font-size: 14px; font-weight: 750; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-region__meta { font-size: 11.5px; color: var(--z-g500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-region__cta { flex: none; color: var(--z-g400, #94a3b8); }
@media (max-width: 767px) { .zs-region__cta { display: none; } }

.zs-filters { margin: 8px 0 20px; display: flex; flex-direction: column; gap: 10px; max-width: 100%; min-width: 0; overflow: hidden; }
.zs-filters--compact { margin-top: 0; }
.zs-filters__row {
  display: flex; flex-wrap: nowrap; gap: 8px;
  max-width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.zs-chip, .zs-chip:visited {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--z-g200);
  background: #fff; color: var(--z-ink) !important;
  font: 650 13.5px/1 var(--z-font); text-decoration: none !important;
  white-space: nowrap; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.zs-chip:hover { border-color: var(--z-pink); color: var(--z-pink) !important; }
.zs-chip.is-active, .zs-chip.is-active:visited {
  background: var(--z-ink); border-color: var(--z-ink); color: #fff !important;
}
.zs-filters__row--plans .zs-chip.is-active {
  background: var(--z-pink); border-color: var(--z-pink);
}

.zs-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.zs-toolbar__count { margin: 0 !important; font-size: 14px; color: var(--z-g600); }
.zs-toolbar__count strong { color: var(--z-ink); font-weight: 800; }
.zs-toolbar__sort select {
  min-height: 44px; padding: 0 36px 0 14px;
  border-radius: 999px; border: 1px solid var(--z-g200);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23080c1c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  font: 600 14px/1 var(--z-font); color: var(--z-ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.zs-toolbar__sort select:focus { outline: none; border-color: var(--z-pink); box-shadow: 0 0 0 3px rgba(255,45,120,.15); }

.zs-grid.zdest { margin-top: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 100%; }
.zs-grid .zdest__card { min-width: 0; max-width: 100%; overflow: hidden; }
.zs-grid .zdest__body { min-width: 0; overflow: hidden; }
.zs-grid .zdest__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.zs-empty {
  padding: 40px 20px; text-align: center;
  border: 1px dashed var(--z-g200); border-radius: var(--z-r); background: var(--z-g50);
}
.zs-empty p { margin: 0 0 10px !important; color: var(--z-g600); }
.zs-empty .zlink { justify-content: center; }

.zs-note {
  margin: 0 0 16px; padding: 14px 16px;
  border-radius: var(--z-r-sm); background: var(--z-teal-50); border: 1px solid rgba(0,201,167,.25);
  font-size: 14px; line-height: 1.5; color: var(--z-g700);
}
.zs-note p { margin: 0 !important; }

.zs-pager { margin-top: 28px; }
.zs-pager ul {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.zs-pager a, .zs-pager__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--z-g200);
  background: #fff; color: var(--z-ink) !important;
  font: 700 14px/1 var(--z-font); text-decoration: none !important;
}
.zs-pager a:hover { border-color: var(--z-pink); color: var(--z-pink) !important; }
.zs-pager__btn.is-current {
  background: var(--z-ink); border-color: var(--z-ink); color: #fff !important;
}
.zs-pager__gap { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--z-g500); }

@media (min-width: 768px) {
  .zs-hero { padding: 36px 0 12px; }
  .zs-hero__title { font-size: 40px; }
  .zs-plans { grid-template-columns: 1fr 1fr; gap: 14px; }
  .zs-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .zs-filters__row { flex-wrap: wrap; overflow: visible; }
  .zdest.zs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
  .zs-hero__title { font-size: 44px; }
  .zs-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zdest.zs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1440px) {
  .zs-hero { padding: 44px 0 16px; }
}
