/**
 * General store — premium glass/white hero
 * Tokens: --store-* / --pink-soft from store.php :root
 */

.gn-hero {
  --gn-ink: var(--store-primary, #111111);
  --gn-btn: var(--store-button, #111111);
  --gn-muted: #64748b;
  --gn-canvas: var(--store-bg, #fafafa);
  --gn-glass: rgba(255, 255, 255, 0.72);
  --gn-glass-border: rgba(15, 23, 42, 0.08);
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--gn-canvas);
  color: var(--text-dark, #1a1a1a);
  padding: 0 0 clamp(1.75rem, 5vw, 2.75rem);
}

.gn-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(255, 255, 255, 0.95) 0%, transparent 62%),
    radial-gradient(ellipse 70% 50% at 80% 90%, rgba(148, 163, 184, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--gn-canvas) 48%, #f1f5f9 100%);
}

.gn-hero__watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin: 0;
  max-width: 96vw;
  width: max-content;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 22vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(15, 23, 42, 0.06);
  pointer-events: none;
  user-select: none;
  animation: gn-hero-mark-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gn-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4.5rem, 14vh, 6.5rem) 1rem 38%;
  pointer-events: none;
}

.gn-hero__media {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: auto;
  box-shadow:
    0 28px 64px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  animation: gn-hero-media-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.gn-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gn-hero__media:hover .gn-hero__img {
  transform: scale(1.05);
}

.gn-hero__media-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(250, 250, 250, 0.35) 100%);
}

.gn-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 36rem);
  margin: 0 auto;
  padding: 0 max(1.1rem, env(safe-area-inset-right)) 0 max(1.1rem, env(safe-area-inset-left));
  text-align: left;
  animation: gn-hero-copy-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.gn-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.gn-hero__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--gn-glass-border);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.gn-hero__logo--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--gn-ink);
  border: none;
}

.gn-hero__name {
  margin: 0;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.35rem, 4.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gn-ink);
}

.gn-hero__headline {
  margin: 0 0 0.55rem;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.55rem, 5.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-dark, #1a1a1a);
  max-width: 18ch;
}

.gn-hero__support {
  margin: 0 0 1.25rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gn-muted);
  max-width: 34ch;
  font-weight: 400;
}

.gn-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.gn-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.gn-hero__btn--primary {
  background: var(--gn-btn);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.gn-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  color: #fff;
}

.gn-hero__btn--glass {
  background: var(--gn-glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--gn-glass-border);
  color: var(--gn-ink);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.gn-hero__btn--glass:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
  color: var(--gn-ink);
}

.gn-hero__share {
  width: 100%;
}

.gn-hero__share .share-dropdown {
  left: 0;
  right: 0;
  width: 100%;
}

/* Editor: keep Change image overlay usable on portrait media */
body.store-editor-on .gn-hero__media.se-hero-bg-wrap,
body.store-editor-session .gn-hero__media.se-hero-bg-wrap {
  outline: none;
}

@media (min-width: 768px) {
  .gn-hero {
    min-height: min(88vh, 820px);
    justify-content: center;
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }

  .gn-hero__stage {
    padding: clamp(5rem, 12vh, 7rem) 1.5rem 0;
    align-items: center;
  }

  .gn-hero__media {
    width: min(46vw, 460px);
  }

  .gn-hero__content {
    margin-left: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
    margin-right: auto;
    padding-right: 1.5rem;
  }

  .gn-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gn-hero__btn {
    width: auto;
    min-width: 11.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .gn-hero__share {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .gn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 1rem;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
  }

  .gn-hero__stage {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    padding: clamp(5rem, 10vh, 6rem) 0;
    height: 100%;
  }

  .gn-hero__content {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: clamp(5rem, 10vh, 6rem) 1rem clamp(5rem, 10vh, 6rem) 0;
    max-width: 32rem;
  }

  .gn-hero__media {
    width: min(100%, 480px);
    margin-left: auto;
  }

  .gn-hero__watermark {
    top: 48%;
    font-size: clamp(6rem, 14vw, 11rem);
  }
}

@keyframes gn-hero-mark-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes gn-hero-media-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gn-hero-copy-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Brand banner sits flush under hero */
body[data-store-template="general"] .gn-after-hero {
  margin-top: 0.35rem;
}
body[data-store-template="general"] .gn-after-hero .store-brand-banner {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  min-height: 230px;
}
body[data-store-template="general"] .gn-after-hero .store-brand-banner::after {
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.38) 48%, rgba(15, 23, 42, 0.12) 100%);
}
body[data-store-template="general"] .gn-after-hero .store-brand-banner .overlay .glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
body[data-store-template="general"] .gn-after-hero .store-brand-banner .banner-cta {
  background: #fff;
  color: #111;
  border-radius: 999px;
}

/* Category pills */
.gn-cats-section {
  padding-top: 0.35rem !important;
}
.gn-cats-head {
  margin-bottom: 0.85rem;
}
.gn-cats-kicker {
  margin: 0 0 0.2rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}
.gn-cats-title {
  margin: 0;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--store-primary, #111);
}
.gn-cats {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0 0.35rem;
}
.gn-cats::-webkit-scrollbar { display: none; }
.gn-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #0f172a;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.gn-cat:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.18);
  color: #0f172a;
}
.gn-cat.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.gn-cat--link {
  background: transparent;
  border-style: dashed;
  color: #64748b;
}

/* Fashion-like product cards */
.gn-products-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.gn-products-head h2 {
  margin: 0;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.gn-products-all {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
}
.gn-products-all:hover { color: #111; }

.gn-product-card {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.gn-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}
.gn-product-card__media {
  display: block;
  text-decoration: none;
  color: inherit;
}
.gn-product-card .img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f1f5f9;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}
.gn-product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gn-product-card:hover .img-wrap img {
  transform: scale(1.05);
}
.gn-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
.gn-product-card__stage {
  position: relative;
}
.gn-product-card__plus-form {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  margin: 0;
}
.gn-product-card__plus {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.25s ease, background 0.2s ease;
}
.gn-product-card__plus:hover {
  transform: scale(1.06);
  background: #111;
}
.gn-product-card__plus-icon {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}
.gn-product-card__plus-icon::before,
.gn-product-card__plus-icon::after {
  content: '';
  position: absolute;
  background: #111;
  border-radius: 1px;
}
.gn-product-card__plus-icon::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
}
.gn-product-card__plus-icon::after {
  left: 5px;
  top: 0;
  width: 2px;
  height: 12px;
}
.gn-product-card__plus:hover .gn-product-card__plus-icon::before,
.gn-product-card__plus:hover .gn-product-card__plus-icon::after {
  background: #fff;
}
.gn-product-card .body {
  position: relative;
  padding: 0.55rem 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.gn-product-card__name,
.gn-product-card .name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #111;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gn-product-card .price {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #111;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gn-product-card .price--sale { color: #dc2626; }
.gn-product-card .price old {
  color: #94a3b8;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: line-through;
}
.gn-product-card__wa {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.gn-product-card__wa:hover { color: #fff; transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .gn-hero__watermark,
  .gn-hero__media,
  .gn-hero__content,
  .gn-hero__img,
  .gn-product-card,
  .gn-product-card .img-wrap img {
    animation: none !important;
    transition: none !important;
  }
}

.gn-product-card__plus.is-added {
  background: #14532d !important;
}
.gn-product-card__plus.is-added .gn-product-card__plus-icon::before,
.gn-product-card__plus.is-added .gn-product-card__plus-icon::after {
  background: #fff;
}
.gn-product-card__plus.is-added .gn-product-card__plus-icon::after {
  display: none;
}

/* ── Premium ash / forest footer ── */
.gn-footer {
  --gn-ft-ash: #1c2420;
  --gn-ft-ash-2: #24302a;
  --gn-ft-forest: #2f6b4f;
  --gn-ft-mist: #a7c4b5;
  --gn-ft-cream: #e8f0eb;
  margin-top: 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(47, 107, 79, 0.28) 0%, transparent 55%),
    linear-gradient(165deg, var(--gn-ft-ash) 0%, var(--gn-ft-ash-2) 55%, #15201b 100%);
  color: var(--gn-ft-cream);
  padding: 2.5rem 1.1rem calc(2rem + env(safe-area-inset-bottom, 0px));
}
.gn-footer__inner {
  width: min(100%, 1100px);
  margin: 0 auto;
}
.gn-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.gn-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.gn-footer__logo-wrap {
  flex-shrink: 0;
}
.gn-footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(232, 240, 235, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  background: #fff;
  display: block;
}
.gn-footer__logo--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, var(--gn-ft-forest), #1a4a35);
  border: none;
}
.gn-footer__name {
  margin: 0 0 0.25rem;
  font-family: 'Syne', 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.gn-footer__tag {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(232, 240, 235, 0.72);
  max-width: 28ch;
}
.gn-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}
.gn-footer__nav a {
  color: rgba(232, 240, 235, 0.88);
  text-decoration: none;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.gn-footer__nav a:hover {
  color: #fff;
  border-bottom-color: var(--gn-ft-mist);
}
.gn-footer__pay {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(232, 240, 235, 0.1);
  border-bottom: 1px solid rgba(232, 240, 235, 0.1);
  margin-bottom: 1rem;
}
.gn-footer__pay-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gn-ft-mist);
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gn-footer__pay-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 1.65rem;
  color: rgba(232, 240, 235, 0.85);
}
.gn-footer__pay-momo {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(232, 240, 235, 0.25);
  color: #fbbf24;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.gn-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.25rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  color: rgba(232, 240, 235, 0.7);
}
.gn-footer__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gn-footer__trust i { color: var(--gn-ft-mist); font-size: 0.75rem; }
.gn-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(232, 240, 235, 0.5);
}
.gn-footer__powered { color: rgba(232, 240, 235, 0.42); }
@media (min-width: 720px) {
  .gn-footer { padding: 3rem 1.5rem 2.25rem; }
  .gn-footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .gn-footer__pay { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── Action FAB (logo bag + chat) — hidden until add ── */
.gn-action-fab {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 96;
  display: none;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - 1.5rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.gn-action-fab.is-visible,
.gn-action-fab:not([hidden]) {
  display: inline-flex;
}
.gn-action-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.gn-action-fab.is-pulse .gn-action-fab__main {
  animation: gn-fab-pulse 0.55s ease;
}
@keyframes gn-fab-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.gn-action-fab__main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 64px;
  min-width: min(280px, calc(100vw - 5.5rem));
  padding: 0 0.5rem 0 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: #14201a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 40px rgba(20, 32, 26, 0.22), 0 2px 8px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.gn-action-fab__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 32, 26, 0.08);
}
.gn-action-fab__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gn-action-fab__initial {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: #2f6b4f;
  font-size: 1.05rem;
}
.gn-action-fab__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.gn-action-fab__kicker {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.gn-action-fab__label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.gn-action-fab__badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #2f6b4f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gn-action-fab__go {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1c2420;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gn-action-fab__chat {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.35rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.gn-action-fab__chat:hover { color: #fff; transform: scale(1.04); }
body[data-store-template="general"].gn-has-action-fab,
body[data-store-template="beauty"].gn-has-action-fab {
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}
/* Keep AI assist above FAB, offset left when FAB visible */
body.gn-has-action-fab #sgCbFab,
body.gn-has-action-fab .sg-store-chat-fab {
  bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ── Page loader (store logo splash) ── */
.gn-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(255, 255, 255, 0.95) 0%, transparent 60%),
    linear-gradient(165deg, #f8faf9 0%, #eef3f0 45%, #e4ebe7 100%);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.gn-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gn-loader__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
}
.gn-loader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -72px 0 0 -48px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 107, 79, 0.12);
  border-top-color: #2f6b4f;
  animation: gn-loader-spin 0.9s linear infinite;
}
.gn-loader__mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 36, 32, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.gn-loader__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gn-loader__initial {
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #2f6b4f;
}
.gn-loader__name {
  margin: 0.35rem 0 0;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c2420;
  text-align: center;
  max-width: 16rem;
}
.gn-loader__bar {
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 107, 79, 0.12);
  overflow: hidden;
  margin-top: 0.15rem;
}
.gn-loader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: #2f6b4f;
  animation: gn-loader-bar 1.1s ease-in-out infinite;
}
@keyframes gn-loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes gn-loader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
  .gn-loader__ring,
  .gn-loader__bar span {
    animation: none;
  }
  .gn-loader__ring {
    border-color: rgba(47, 107, 79, 0.35);
  }
}

/* ── General shop page (promo-sized hero + sell catalog) ── */
body.gn-shop-chrome.shop-body-premium {
  --gn-forest: #2f6b4f;
  --gn-ink: #1c2420;
  --gn-muted: #64748b;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #fafafa;
  color: var(--gn-ink);
}
body.gn-shop-chrome.shop-body-premium .shop-main-outer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}
body.gn-shop-chrome.shop-body-premium .shop-layout {
  gap: 1.5rem;
  padding-top: 0.5rem;
}

/* Hero — same footprint as homepage .se-promo-banner */
.gn-shop-hero {
  max-width: 1180px;
  margin: 0.85rem auto 0;
  padding: 0 1rem;
}
.gn-shop-hero__card.se-promo-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 16px 40px rgba(28, 36, 32, 0.1);
  border: 1px solid rgba(28, 36, 32, 0.06);
}
.gn-shop-hero__overlay {
  background: linear-gradient(100deg, rgba(18, 24, 20, 0.72) 0%, rgba(18, 24, 20, 0.35) 48%, rgba(18, 24, 20, 0.12) 100%) !important;
}
.gn-shop-hero__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.gn-shop-hero__title {
  color: #fff;
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}
.gn-shop-hero__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  margin: 0 0 1.15rem;
  line-height: 1.45;
  max-width: 28rem;
}
.gn-shop-hero__cta.se-promo-btn {
  border-radius: 999px;
  border-width: 0;
  padding: 12px 22px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.gn-shop-hero__cta.se-promo-btn:hover {
  background: #f0f4f1;
  color: #111;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .gn-shop-hero__card.se-promo-banner { min-height: 260px; }
  .gn-shop-hero__content.se-promo-content { padding: 1.75rem 1.2rem; }
  .gn-shop-hero__title { font-size: 1.55rem; }
}

/* Chips */
body.gn-shop-chrome.shop-body-premium .shop-chips-sticky {
  position: sticky;
  top: 56px;
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 36, 32, 0.06);
  max-width: 1180px;
  margin: 0.35rem auto 0;
  padding: 0 0.35rem;
}
body.gn-shop-chrome.shop-body-premium .shop-chips {
  background: transparent;
  border: 0;
  padding: 0.65rem 0.65rem;
  gap: 0.45rem;
}
body.gn-shop-chrome.shop-body-premium .shop-chip {
  border-radius: 999px;
  border: 1px solid rgba(28, 36, 32, 0.1);
  background: #fff;
  color: var(--gn-ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
body.gn-shop-chrome.shop-body-premium .shop-chip:hover {
  border-color: rgba(47, 107, 79, 0.35);
  color: var(--gn-forest);
  background: #fff;
}
body.gn-shop-chrome.shop-body-premium .shop-chip.active {
  background: var(--gn-ink);
  border-color: var(--gn-ink);
  color: #fff;
}

/* Catalog header */
body.gn-shop-chrome.shop-body-premium .shop-catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.55rem;
  border: 0;
}
body.gn-shop-chrome.shop-body-premium .shop-catalog-title {
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gn-ink);
  margin: 0;
}
body.gn-shop-chrome.shop-body-premium .shop-catalog-sub {
  margin: 0.2rem 0 0;
  color: var(--gn-muted);
  font-size: 0.86rem;
  font-weight: 500;
}
body.gn-shop-chrome.shop-body-premium .shop-header-chat-btn {
  display: none !important;
}
body.gn-shop-chrome.shop-body-premium .shop-catalog-sort label {
  color: var(--gn-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.gn-shop-chrome.shop-body-premium .shop-catalog-sort select {
  border-radius: 12px;
  border: 1px solid rgba(28, 36, 32, 0.12);
  background: #fff;
  font-weight: 600;
  color: var(--gn-ink);
  padding: 8px 12px;
}
body.gn-shop-chrome.shop-body-premium .shop-filter-toggle,
body.gn-shop-chrome.shop-body-premium .shop-filter-apply {
  border-radius: 999px;
  background: var(--gn-ink);
  color: #fff;
  border: 0;
  font-weight: 700;
}
body.gn-shop-chrome.shop-body-premium .shop-sidebar-inner {
  border-radius: 18px;
  border: 1px solid rgba(28, 36, 32, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

/* Product grid + cards (homepage sell language) */
body.gn-shop-chrome.shop-body-premium .shop-grid {
  gap: 1rem;
  padding: 0.35rem 0 1.5rem;
}
@media (min-width: 900px) {
  body.gn-shop-chrome.shop-body-premium .shop-grid {
    gap: 1.15rem;
  }
}
body.gn-shop-chrome.shop-body-premium .shop-card {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
body.gn-shop-chrome.shop-body-premium .shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}
body.gn-shop-chrome.shop-body-premium .shop-card .img-wrap,
body.gn-shop-chrome.shop-body-premium [data-card-style] .shop-card .img-wrap {
  aspect-ratio: 3 / 4 !important;
  background: #f1f5f9;
  border-radius: 0;
}
body.gn-shop-chrome.shop-body-premium .shop-card .img-wrap img {
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
body.gn-shop-chrome.shop-body-premium .shop-card:hover .img-wrap img {
  transform: scale(1.05);
}
body.gn-shop-chrome.shop-body-premium .shop-card .body {
  padding: 0.85rem 0.9rem 1rem;
  position: relative;
}
body.gn-shop-chrome.shop-body-premium .shop-card .name {
  font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gn-ink);
  margin-bottom: 0.25rem;
  -webkit-line-clamp: 2;
}
body.gn-shop-chrome.shop-body-premium .shop-card .tagline,
body.gn-shop-chrome.shop-body-premium .shop-price-stock-hint,
body.gn-shop-chrome.shop-body-premium .shop-pill-badge,
body.gn-shop-chrome.shop-body-premium .shop-urg-line,
body.gn-shop-chrome.shop-body-premium .shop-wishlist,
body.gn-shop-chrome.shop-body-premium .shop-quick-hit,
body.gn-shop-chrome.shop-body-premium .shop-card-hover-cta {
  display: none !important;
}
body.gn-shop-chrome.shop-body-premium .shop-card-badge-col {
  top: 10px;
  left: 10px;
  gap: 6px;
}
body.gn-shop-chrome.shop-body-premium .shop-card-badge-col .discount {
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
}
body.gn-shop-chrome.shop-body-premium .shop-card .price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gn-ink);
  letter-spacing: -0.02em;
}
body.gn-shop-chrome.shop-body-premium .shop-card .price--sale { color: #dc2626; }
body.gn-shop-chrome.shop-body-premium .shop-card .price old {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
  margin-left: 0.35rem;
}
body.gn-shop-chrome.shop-body-premium .shop-card .actions {
  display: none !important;
}

/* Corner + add (homepage parity) */
body.gn-shop-chrome.shop-body-premium .gn-shop-plus-form {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  margin: 0;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus:hover {
  transform: scale(1.06);
  background: #111;
  color: #fff;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus__icon {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus__icon::before,
body.gn-shop-chrome.shop-body-premium .gn-shop-plus__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus__icon::before {
  left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus__icon::after {
  top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-plus.is-added {
  background: var(--gn-forest);
  color: #fff;
}
body.gn-shop-chrome.shop-body-premium .gn-shop-wa {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}
body.gn-shop-chrome.shop-body-premium .gn-shop-wa:hover { color: #fff; transform: scale(1.05); }

/* Hide legacy sticky cart on general shop (buyer chat/WA floaters follow seller settings) */
body.gn-shop-chrome.shop-body-premium .sticky-cart,
body.gn-shop-chrome.shop-body-premium .shop-wa-fab {
  display: none !important;
}
body.gn-shop-chrome.shop-body-premium .shop-load-more {
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 36, 32, 0.12);
  color: var(--gn-ink);
  font-weight: 700;
  padding: 12px 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
body.gn-shop-chrome.shop-body-premium .shop-empty {
  padding: 3rem 1rem;
  text-align: center;
}

/* Promo banner primitives (shop hero reuses homepage classes) */
.se-promo-banner .se-promo-bg-wrap { position: absolute; inset: 0; }
.se-promo-banner .se-promo-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-promo-banner .se-promo-overlay { position: absolute; inset: 0; }
.se-promo-banner .se-promo-content { position: relative; z-index: 2; padding: 3rem 2.5rem; max-width: 480px; }
.se-promo-banner .se-promo-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.25s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
