:root {
  --ab-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ab-font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --ab-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ab-bg: #F1F5F9;
  --ab-well: #F8FAFC;
  --ab-surface: #FFFFFF;
  --ab-border: #E2E8F0;
  --ab-border-strong: #CBD5E1;
  --ab-heading: #0F172A;
  --ab-body: #334155;
  --ab-muted: #64748B;
  --ab-brand: #0D9488;
  --ab-brand-dark: #0F766E;
  --ab-brand-soft: #F0FDFA;
  --ab-trust: #059669;
  --ab-trust-soft: #ECFDF5;
  --ab-shadow-xs: 0 4px 12px rgba(15, 23, 42, 0.05);
  --ab-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--ab-font-sans);
  background: var(--ab-bg);
  color: var(--ab-heading);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--ab-font-display);
  color: var(--ab-heading);
  letter-spacing: -0.02em;
}
.mono { font-family: var(--ab-font-mono); }

/* Announcement Strip */
.ab-seo-ann {
  background: #0F172A;
  color: #E2E8F0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  text-align: center;
  border-bottom: 1px solid #1E293B;
}

/* Sticky Shopify × Z2U Header */
.ab-seo-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.ab-seo-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ab-seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  color: #0F172A !important;
  font-family: var(--ab-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.ab-seo-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #0F172A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* Central Global Search Bar */
.ab-seo-search {
  flex: 1 1 460px;
  max-width: 540px;
  display: flex;
  align-items: center;
  height: 38px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0 5px 0 12px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ab-seo-search:focus-within {
  background: #FFFFFF;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.ab-seo-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #0F172A;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  padding: 0 8px;
}
.ab-seo-search button {
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.ab-seo-search button:hover { background: #0D9488; }

.ab-seo-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ab-seo-link-btn {
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155 !important;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.ab-seo-link-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  color: #0F172A !important;
}
.ab-seo-cta-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid #0D9488;
  background: #0D9488;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.2);
  transition: background 0.15s ease;
}
.ab-seo-cta-btn:hover { background: #0F766E; }

/* Platform Category Ribbon (Z2U / G2G Style — Mobile Safe!) */
.ab-seo-ribbon-shell {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}
.ab-seo-ribbon {
  max-width: 1320px;
  margin: 0 auto;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 8px 16px !important;
}
.ab-seo-ribbon::-webkit-scrollbar { display: none; }
.ab-seo-plat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 7px 14px !important;
  border-radius: 9999px !important;
  border: 1px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.ab-seo-plat-pill:hover {
  background: #FFFFFF !important;
  border-color: #0D9488 !important;
  color: #0F766E !important;
}
.ab-seo-plat-pill.active {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
}

/* Offer Showcase Rows & Cards */
.ab-seo-card {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 12px !important;
  box-shadow: var(--ab-shadow-xs) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.ab-seo-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: var(--ab-shadow-sm) !important;
}
.ab-offer-row {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ab-offer-row:hover {
  border-color: #0D9488;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.ab-buy-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 15px;
  border-radius: 9px;
  background: #0D9488;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ab-buy-now-btn:hover { background: #0F766E; }

@media (max-width: 768px) {
  .ab-seo-header-inner { flex-wrap: wrap; padding: 9px 12px; gap: 8px; }
  .ab-seo-search { order: 3; flex: 1 1 100%; max-width: 100%; }
  .ab-seo-ribbon { padding: 8px 12px !important; gap: 8px !important; }
  .ab-offer-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; }
  .ab-offer-row-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
    border-top: 1px solid #F1F5F9;
    width: 100%;
  }
}

.ab-seo-logo-img {
  height: 32px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .ab-seo-logo-img {
    height: 28px;
    max-width: 142px;
  }
}
