/**
 * GMINGO Storefront — premium vendor store page
 * Brand: #2f80ed blue, navy, white, light grey. Mobile-first.
 */
.gsp-page {
  --gsp-blue: #2f80ed;
  --gsp-navy: #1e3a8a;
  --gsp-ink: #0f172a;
  --gsp-muted: #64748b;
  --gsp-line: #e8eef5;
  --gsp-bg: #f7f9fc;
  --gsp-card: #ffffff;
  --gsp-ok: #059669;
  --gsp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--gsp-bg);
  color: var(--gsp-ink);
  padding-bottom: 3rem;
}
.gsp-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.gsp-hero {
  position: relative;
  overflow: hidden;
  min-height: 11.5rem;
  background: var(--gsp-navy);
}
.gsp-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}
.gsp-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.72) 100%);
}
.gsp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .gsp-hero__inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 2.25rem 1.5rem 2.5rem;
    gap: 1.5rem;
  }
}
.gsp-hero__logo {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.15rem;
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gsp-hero__logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.gsp-hero__logo-fallback {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.gsp-hero__copy {
  min-width: 0;
}
.gsp-hero__title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
@media (min-width: 640px) {
  .gsp-hero__title-row {
    justify-content: flex-start;
  }
}
.gsp-hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 4.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  line-height: 1.15;
}
.gsp-hero__sub {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
}
.gsp-hero__actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .gsp-hero__actions {
    justify-content: flex-start;
  }
}
.gsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.28s var(--gsp-ease), background 0.28s ease, box-shadow 0.28s ease;
}
.gsp-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.gsp-btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.gsp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  color: #fff;
}
.gsp-btn--primary {
  background: var(--gsp-blue);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(47, 128, 237, 0.7);
}
.gsp-btn--primary:hover {
  background: #1f6fe0;
  color: #fff;
  transform: translateY(-2px);
}
.gsp-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* Policies */
.gsp-policies {
  max-width: 72rem;
  margin: -1.15rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) {
  .gsp-policies {
    padding: 0 1.5rem;
  }
}
.gsp-policies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .gsp-policies__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .gsp-policies__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.gsp-policy {
  background: var(--gsp-card);
  border: 1px solid var(--gsp-line);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 22px -18px rgba(15, 23, 42, 0.22);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.32s var(--gsp-ease), box-shadow 0.32s ease, border-color 0.32s ease, opacity 0.45s var(--gsp-ease);
  will-change: transform;
}
.gsp-policy.is-in {
  opacity: 1;
  transform: translateY(0);
}
.gsp-policy:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 30px -18px rgba(47, 128, 237, 0.28);
}
.gsp-policy:hover .gsp-policy__icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
}
.gsp-policy__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: #eff6ff;
  color: var(--gsp-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--gsp-ease), box-shadow 0.3s ease;
}
.gsp-policy__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}
.gsp-policy__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gsp-navy);
  letter-spacing: -0.01em;
}
.gsp-policy__desc {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gsp-muted);
  font-weight: 550;
}

/* Category + search toolbar (scrolls with page — not sticky) */
.gsp-toolbar {
  position: relative;
  top: auto;
  z-index: 2;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: none;
  margin-top: 1.35rem;
}
.gsp-toolbar.is-stuck {
  border-bottom-color: transparent;
  box-shadow: none;
  background: transparent;
}
.gsp-toolbar__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem 0.85rem;
}
@media (min-width: 640px) {
  .gsp-toolbar__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.gsp-search {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.7rem;
  padding: 0 0.85rem 0 0.95rem;
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid #dbe3ee;
  background: #fff;
  box-shadow: 0 4px 14px -12px rgba(15, 23, 42, 0.3);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.gsp-search:focus-within {
  border-color: var(--gsp-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.14);
}
.gsp-search__icon {
  flex-shrink: 0;
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  color: #64748b;
  pointer-events: none;
}
.gsp-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.65rem 0.6rem 0.55rem;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.92rem;
  color: var(--gsp-ink);
  box-shadow: none;
}
.gsp-search__input::placeholder {
  color: #94a3b8;
}
.gsp-search__input:focus {
  outline: none;
}
.gsp-cats {
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  overflow: hidden;
}
.gsp-cats__marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.gsp-cats__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 0;
  will-change: transform;
}
.gsp-cats__set {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.25rem;
  flex-shrink: 0;
}
.gsp-cats.is-animated .gsp-cats__track {
  animation: gsp-cats-marquee 32s linear infinite;
}
.gsp-cats.is-animated:hover .gsp-cats__track,
.gsp-cats.is-animated:focus-within .gsp-cats__track {
  animation-play-state: paused;
}
@keyframes gsp-cats-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (min-width: 960px) {
  .gsp-cats {
    overflow: visible;
  }
  .gsp-cats__marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
  .gsp-cats__track {
    width: 100%;
    display: block;
  }
  .gsp-cats__set {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding-inline: 0;
  }
  .gsp-cats__set[aria-hidden="true"] {
    display: none;
  }
  .gsp-cats.is-animated .gsp-cats__track {
    animation: none;
  }
}
.gsp-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px -10px rgba(15, 23, 42, 0.35);
  transition: transform 0.28s var(--gsp-ease), background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.gsp-cat:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  color: var(--gsp-navy);
}
.gsp-cat.is-active {
  background: var(--gsp-blue);
  border-color: var(--gsp-blue);
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(47, 128, 237, 0.65);
}
.gsp-cat:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* Products */
.gsp-products {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 1rem 0;
}
@media (min-width: 640px) {
  .gsp-products {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.gsp-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.gsp-products__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gsp-navy);
  letter-spacing: -0.02em;
}
.gsp-products__meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--gsp-muted);
}
.gsp-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  background: #fff;
  border: 1px solid var(--gsp-line);
  border-radius: 1.15rem;
}
.gsp-empty p {
  margin: 0 0 0.35rem;
  color: #475569;
  font-weight: 600;
}
.gsp-empty span {
  display: block;
  color: var(--gsp-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.gsp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .gsp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
@media (min-width: 1024px) {
  .gsp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.gsp-grid .mkpc-card,
.gsp-grid .product-card {
  transition: transform 0.3s var(--gsp-ease), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.gsp-grid .mkpc-card:hover,
.gsp-grid .product-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 32px -20px rgba(47, 128, 237, 0.35);
}
.gsp-pager {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}
.gsp-pager a,
.gsp-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gsp-line);
  background: #fff;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.gsp-pager a:hover {
  border-color: #bfdbfe;
  color: var(--gsp-blue);
}
.gsp-pager a.is-next {
  background: var(--gsp-blue);
  border-color: var(--gsp-blue);
  color: #fff;
}

@media (max-width: 639px) {
  .gsp-hero__inner {
    padding-top: 1.35rem;
    padding-bottom: 0.85rem;
  }
  .gsp-policies {
    margin-top: -0.85rem;
  }
  .gsp-policies__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .gsp-policy {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.55rem 0.35rem;
    gap: 0.35rem;
    border-radius: 12px;
    opacity: 1;
    transform: none;
  }
  .gsp-policy:hover {
    transform: none;
  }
  .gsp-policy__icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 10px;
  }
  .gsp-policy__icon svg {
    width: 0.95rem;
    height: 0.95rem;
  }
  .gsp-policy__title {
    font-size: 0.62rem;
    line-height: 1.25;
  }
  .gsp-policy__desc {
    display: none;
  }
  .gsp-toolbar {
    margin-top: 0.85rem;
  }
  .gsp-toolbar__inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  .gsp-search {
    min-height: 44px;
    padding-left: 0.85rem;
    padding-right: 0.5rem;
  }
  .gsp-search__input {
    font-size: 0.88rem;
    padding-left: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsp-policy,
  .gsp-cat,
  .gsp-btn,
  .gsp-grid .mkpc-card,
  .gsp-grid .product-card {
    transition: none;
  }
  .gsp-policy {
    opacity: 1;
    transform: none;
  }
  .gsp-cats.is-animated .gsp-cats__track {
    animation: none !important;
  }
}
