/* Mirror theme overrides — unique palette */
:root {
  --wd-primary-color: #e8a838;
  --gs-primary: #e8a838;
  --gs-primary-hover: #f5c04d;
  --gs-accent: #e8a838;
  --gs-header-bg: #0c1222;
  --gs-radius: 999px;
  --btn-accented-bgcolor: #e8a838;
  --btn-accented-bgcolor-hover: #f5c04d;
}
.gs-header { background: #0c1222 !important; }
.cta--contained { background-color: #e8a838 !important; border-radius: 999px; }
.cta--contained:hover { background-color: #f5c04d !important; }
.gs-hero { border-radius: 0 0 999px 999px; }


: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;
  }
}

/* === MIRROR_IDENTITY_START === */
/* s-store.by — midnight editorial (not Samsung blue retail) */
.theme-s-store {
  --mirror-primary: #0c1222;
  --mirror-accent: #e8a838;
  --mirror-surface: #f4f1ea;
  --mirror-radius: 2px;
  --mirror-radius-lg: 18px;
  background: var(--mirror-surface);
}

.theme-s-store .gs-header {
  background: rgba(12, 18, 34, 0.98) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 168, 56, 0.35);
  box-shadow: none !important;
}

/* Beat shared theme.css “black burger on all sites” + default nav colors */
.theme-s-store .gs-header__menu-link {
  color: rgba(255, 255, 255, 0.92) !important;
}

.theme-s-store .gs-header__menu-link--active,
.theme-s-store .gs-header__menu-link:hover {
  color: var(--mirror-accent) !important;
}

.theme-s-store .gs-header__cart,
.theme-s-store .gs-header__burger,
.theme-s-store .gs-header__phone,
.theme-s-store .gs-header__phone-link {
  color: #ffffff !important;
}

.theme-s-store .gs-header__cart svg,
.theme-s-store .gs-header__burger svg,
.theme-s-store .gs-header__phone svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

.theme-s-store .gs-header__cart-count {
  background: var(--mirror-accent) !important;
  color: #0c1222 !important;
}

/* Dark hero — override brand.css light hero (!important) */
.theme-s-store .gs-hero.gs-hero--mirror,
.theme-s-store section.gs-hero.gs-hero--mirror {
  background: radial-gradient(120% 90% at 10% 0%, #1a2744 0%, #0c1222 55%, #060a14 100%) !important;
  min-height: min(78vh, 720px);
  border-radius: 0 0 48px 48px;
  color: #f8f6f0 !important;
}

.theme-s-store .gs-hero--mirror .gs-hero__brand {
  color: var(--mirror-accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem !important;
  font-weight: 800;
}

.theme-s-store .gs-hero.gs-hero--mirror .gs-hero__headline,
.theme-s-store .gs-hero.gs-hero--mirror .text-white {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #ffffff !important;
}

.theme-s-store .gs-hero.gs-hero--mirror .gs-hero__subhead {
  color: rgba(248, 246, 240, 0.88) !important;
  max-width: 28rem;
}

.theme-s-store .gs-hero--mirror .gs-hero__row {
  align-items: center;
  gap: 2.5rem;
}

.theme-s-store .gs-hero--mirror .gs-hero__media {
  position: relative;
}

.theme-s-store .gs-hero--mirror .gs-hero__media::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.25), transparent 60%);
  border-radius: 50%;
  z-index: 0;
}

.theme-s-store .gs-hero--mirror .gs-hero__product {
  position: relative;
  z-index: 1;
  border-radius: var(--mirror-radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg) scale(1.02);
}

.theme-s-store .cta--contained {
  background: var(--mirror-accent) !important;
  color: #0c1222 !important;
  border-radius: 999px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem !important;
  padding: 0.95rem 1.75rem !important;
}

.theme-s-store .cta--contained:hover {
  background: #f5c04d !important;
}

.theme-s-store .cta--outlined {
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: transparent !important;
}

.theme-s-store .gs-lineup {
  background: var(--mirror-surface) !important;
  padding-top: 3rem;
}

.theme-s-store .gs-lineup__title {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 2.25rem !important;
  text-align: left !important;
  margin-bottom: 2rem !important;
}

.theme-s-store .gs-lineup__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)) !important;
  gap: 1.25rem !important;
  overflow: visible !important;
  justify-content: stretch !important;
}

.theme-s-store .gs-lineup__item {
  width: auto !important;
  background: #fff;
  border: 1px solid rgba(12, 18, 34, 0.08);
  border-radius: 14px;
  padding: 1rem 0.75rem 1.1rem;
  box-shadow: 0 8px 24px rgba(12, 18, 34, 0.06);
}

.theme-s-store .gs-lineup__media {
  width: 5.5rem !important;
  height: 5.5rem !important;
  border-radius: 12px !important;
  background: #f0ebe3 !important;
}

.theme-s-store .gs-product-grid {
  background: #fff !important;
}

.theme-s-store .gs-product-grid__title {
  font-family: "Fraunces", Georgia, serif !important;
}

.theme-s-store .gs-consult,
.theme-s-store .gs-consult--samsung {
  background: linear-gradient(105deg, #0c1222 0%, #243556 50%, #e8a838 160%) !important;
  border-radius: 32px;
  margin: 2rem 1rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.theme-s-store .gs-header__logo-img {
  max-height: 32px;
  width: auto;
}

.theme-s-store .gs-lineup__title,
.theme-s-store .gs-lineup__name {
  color: #0c1222 !important;
}
/* === MIRROR_IDENTITY_END === */
