
:root {
  --color-gs-blue: #1428a0;
  --color-gs-blue-light: #2b45c7;
  --color-gs-blue-soft: #eef1fb;
  --color-gs-accent: #2189ff;
}
.gs-hero { min-height: min(72vh, 640px); }
@media (max-width: 639px) { .gs-hero { min-height: 0 !important; } }
.gs-hero__brand {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-gs-blue);
  margin-bottom: 0.75rem;
}
.gs-lineup__grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 1rem !important;
  overflow-x: auto;
}
.gs-lineup__grid > * { max-width: none !important; grid-column: auto !important; flex: 0 0 auto; }
.gs-lineup__item { width: 7rem !important; }
.gs-lineup__media {
  width: 7rem !important;
  height: 7rem !important;
  border-radius: 1.1rem !important;
  background: #f5f6f8 !important;
  padding: 0.5rem;
  overflow: hidden !important;
}

/* Consult — blue gradient, white title, balanced padding */
.gs-consult,
.gs-consult--samsung {
  background: linear-gradient(120deg, #1428a0 0%, #1a3bb8 45%, #2189ff 100%) !important;
  color: #fff !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.gs-consult__inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding-top: 3.75rem !important;
  padding-bottom: 3.75rem !important;
}
.gs-consult__content { max-width: none !important; margin: 0 auto; }
.gs-consult__title,
.gs-consult--samsung .gs-consult__title,
.gs-consult h2 {
  color: #ffffff !important;
}
.gs-consult__text,
.gs-consult--samsung .gs-consult__text,
.gs-consult p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.gs-consult .cta--contained {
  background: #fff !important;
  color: #1428a0 !important;
  border-radius: 999px !important;
}

/* Hero product — landscape phone collage */
.gs-hero__product {
  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;
  max-height: clamp(260px, 42vw, 420px) !important;
  object-fit: contain !important;
  object-position: center right !important;
}

/* Mobile: larger hero image (~+30%), less empty space under text */
@media (max-width: 639px) {
  .gs-hero {
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }
  .gs-hero__inner {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  .gs-hero__row {
    gap: 0.75rem !important;
    align-items: start !important;
  }
  .gs-hero__brand {
    margin-bottom: 0.35rem !important;
  }
  .gs-hero__headline {
    margin-bottom: 0.5rem !important;
  }
  .gs-hero__subhead {
    margin-bottom: 0.85rem !important;
  }
  .gs-hero__cta-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.5rem !important;
  }
  .gs-hero__media {
    justify-content: center !important;
    align-self: center !important;
  }
  .gs-hero__product {
    max-width: none !important;
    width: 118% !important;
    max-height: none !important;
    height: clamp(220px, 58vw, 340px) !important;
    margin-right: -8% !important;
    margin-left: -4% !important;
  }
}

/* Compact mega menu — small logos, no letter tiles */
.gs-mega-menu__main {
  padding: 0.9rem 1.1rem !important;
}
.gs-mega-menu__sidebar {
  padding: 0.9rem 1rem !important;
}
.gs-mega-menu__categories {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)) !important;
  gap: 0.55rem 0.5rem !important;
  align-items: start !important;
}
.gs-mega-menu__category {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.35rem !important;
  text-decoration: none !important;
}
.gs-mega-menu__category-image {
  width: 2.5rem !important;
  height: 2.5rem !important;
  max-width: 2.5rem !important;
  aspect-ratio: 1 !important;
  margin: 0 auto !important;
  border-radius: 0.5rem !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gs-mega-menu__category-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0.15rem !important;
}
.gs-mega-menu__category-placeholder {
  display: none !important;
}
.gs-mega-menu__category-name {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
.gs-mega-menu__popular {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem !important;
}
.gs-mega-menu__quick-link {
  padding: 0.45rem 0.55rem !important;
  margin-bottom: 0.2rem !important;
  gap: 0.55rem !important;
}
.gs-mega-menu__quick-icon {
  width: 1.85rem !important;
  height: 1.85rem !important;
}
.gs-mega-menu__quick-icon svg {
  width: 0.95rem !important;
  height: 0.95rem !important;
}
.gs-mega-menu__quick-title {
  font-size: 0.8rem !important;
}
.gs-mega-menu__quick-sub {
  font-size: 0.7rem !important;
}


/* ===== Hero: no text/image overlap (all sites) ===== */
.gs-hero {
  overflow: hidden !important;
}
.gs-hero__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(110px, 0.8fr) !important;
  gap: 0.75rem 1rem !important;
  align-items: center !important;
}
.gs-hero__content {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.gs-hero__headline {
  position: relative !important;
  z-index: 2 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
.gs-hero__subhead,
.gs-hero__cta-wrap,
.gs-hero__checks,
.gs-hero__lead {
  position: relative !important;
  z-index: 2 !important;
}
.gs-hero__media {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  align-self: stretch !important;
}
.gs-hero__product {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: clamp(170px, 40vw, 260px) !important;
  object-fit: contain !important;
  object-position: right bottom !important;
  margin: 0 !important;
}
@media (min-width: 640px) {
  .gs-hero__row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) !important;
    gap: 1.25rem 1.75rem !important;
  }
  .gs-hero__product {
    max-height: clamp(240px, 38vw, 400px) !important;
  }
}
@media (min-width: 1024px) {
  .gs-hero__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 2rem 3rem !important;
  }
  .gs-hero__product {
    max-height: clamp(320px, 36vw, 460px) !important;
  }
}
@media (max-width: 420px) {
  .gs-hero__product {
    max-height: 150px !important;
  }
}


/* ===== Mobile menu + CTA visibility (all sites) ===== */
.gs-header__cart,
.gs-header__burger {
  color: #111827 !important;
}
.gs-header__cart svg,
.gs-header__burger svg {
  color: #111827 !important;
  stroke: currentColor !important;
  fill: none !important;
}
.gs-header__burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.gs-header__burger svg {
  width: 24px !important;
  height: 24px !important;
}
.gs-mobile-nav {
  background: #ffffff !important;
  color: #111827 !important;
  padding: 0.75rem 0 1rem !important;
}

.gs-mobile-nav__phone {
  color: #111827 !important;
  font-weight: 700 !important;
}

.gs-mobile-nav__item,
.gs-mobile-nav__sub-item {
  color: #1f2937 !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
.gs-mobile-nav__item:hover,
.gs-mobile-nav__sub-item:hover,
.gs-mobile-nav__item--active {
  color: #111827 !important;
}
.gs-hero__cta-wrap {
  position: relative !important;
  z-index: 3 !important;
}
@media (min-width: 1024px) {
  .gs-header__burger {
    display: none !important;
  }
}

/* ===== Hero phones: tall, crop right (all sites) ===== */
/* Mobile only — desktop hero unchanged */
@media (max-width: 1023px) {
  .gs-hero {
    overflow: hidden !important;
  }
  .gs-hero__stage,
  .gs-hero__inner {
    overflow: hidden !important;
  }
  /* kill right container padding so media can reach screen edge */
  .gs-hero__inner {
    padding-right: 0 !important;
  }
  .gs-hero__row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: 0.35rem 0 !important;
    align-items: stretch !important;
    min-height: clamp(300px, 58vw, 420px) !important;
    position: relative !important;
  }
  .gs-hero__content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding-right: 0.35rem !important;
  }
  .gs-hero__media {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    min-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  .gs-hero__product {
    height: 100% !important;
    min-height: clamp(280px, 56vw, 400px) !important;
    max-height: none !important;
    width: auto !important;
    max-width: none !important;
    /* push past right edge; crop overflow */
    min-width: 145% !important;
    object-fit: cover !important;
    object-position: left center !important;
    margin: 0 !important;
    margin-right: -12% !important;
    transform: none !important;
  }
}
@media (max-width: 420px) {
  .gs-hero__row {
    min-height: clamp(280px, 72vw, 360px) !important;
  }
  .gs-hero__product {
    min-height: clamp(260px, 70vw, 340px) !important;
    min-width: 155% !important;
    margin-right: -18% !important;
  }
}
