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


:root {
  --color-gs-blue: #e60012;
  --color-gs-blue-light: #ff2a3a;
  --color-gs-blue-soft: #ffe8ea;
  --color-gs-accent: #ff6b35;
  --color-gs-surface: #f4f2f2;
  --color-gs-ink: #121212;
  --radius-lg: 0.85rem;
}
body.theme-h-store { background: #faf7f7; }
.gs-header {
  background: #000 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.gs-header__menu-link, .gs-header__phone { color: #f5f5f5 !important; }
.gs-header__menu-link:hover, .gs-header__menu-link--active { color: #ff6b7a !important; border-bottom-color: #e60012 !important; }
.gs-header__logo-img { filter: none; height: 28px; }

.gs-hero {
  min-height: clamp(420px, 55vw, 581px);
  color: #fff !important;
  background: #000 !important;
  padding: 0 !important;
}
.gs-hero__stage { background: #000; }
.gs-hero .text-white, .gs-hero__headline { color: #fff !important; }
.gs-hero__subhead { color: rgba(255,255,255,0.75) !important; }
.gs-hero__brand { display: none; }
.gs-hero__headline {
  font-size: clamp(1.85rem, 4.5vw, 3.2rem) !important;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.gs-hero .cta--contained {
  background: #e60012 !important;
  border-color: #e60012 !important;
  border-radius: 0.35rem !important;
  color: #fff !important;
}
.gs-hero .cta--outlined {
  border-radius: 0.35rem !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: #fff !important;
  background: transparent !important;
}
.gs-hero__product {
  height: clamp(300px, 52vw, 520px) !important;
  filter: drop-shadow(0 20px 40px rgba(230, 0, 18, 0.25)) !important;
}

.gs-lineup {
  background: #0a0a0a !important;
  color: #fff;
}
.gs-lineup__title, .gs-lineup__name { color: #fff !important; }
.gs-lineup__grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch;
  gap: 2.5rem !important;
  max-width: 36rem;
  margin: 0 auto;
}
.gs-lineup__grid > * { max-width: none !important; grid-column: auto !important; }
.gs-lineup__item { width: auto !important; min-width: 8rem; }
.gs-lineup__media {
  width: 112px !important;
  height: 112px !important;
  border-radius: 1.25rem !important;
  background: #161616 !important;
  padding: 1rem;
}
.gs-lineup__img { object-fit: contain; filter: none; }
.gs-lineup__icon-fallback { display: none !important; }

.gs-product-grid { background: #f4f2f2 !important; }
.gs-benefit-card__icon { background: #ffe8ea !important; color: #e60012; }

/* Consult — crimson band, split layout */
.gs-consult,
.gs-consult--huawei {
  background: linear-gradient(105deg, #1a0508 0%, #4a0a12 40%, #e60012 100%) !important;
  color: #fff !important;
}
.gs-consult__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.gs-consult__title,
.gs-consult--huawei .gs-consult__title,
.gs-consult h2 {
  color: #ffffff !important;
}
.gs-consult__text,
.gs-consult--huawei .gs-consult__text,
.gs-consult p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.gs-consult .cta--contained {
  background: #fff !important;
  color: #e60012 !important;
  border-radius: 0.35rem !important;
  box-shadow: none !important;
}


/* Brand tiles — exact logo icons */
.gs-lineup__media {
  background: transparent !important;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: none !important;
  border: none !important;
}
.gs-lineup__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1rem;
}

/* 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: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,0.08) !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;
  }
}
.gs-hero__brand-inline { white-space: nowrap !important; display: inline !important; }


/* ===== Mobile menu + CTA visibility (all sites) ===== */
.gs-header__cart,
.gs-header__burger {
  color: #ffffff !important;
}
.gs-header__cart svg,
.gs-header__burger svg {
  color: #ffffff !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: transparent !important;
  color: #ffffff !important;
  padding: 0.75rem 0 1rem !important;
}

.gs-mobile-nav__phone {
  color: #111827 !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

.gs-mobile-nav__item,
.gs-mobile-nav__sub-item {
  color: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}
.gs-mobile-nav__item:hover,
.gs-mobile-nav__sub-item:hover,
.gs-mobile-nav__item--active {
  color: #ffffff !important;
}
.gs-hero__cta-wrap {
  position: relative !important;
  z-index: 3 !important;
}
.gs-hero .cta--outlined {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
}
.gs-hero .cta--contained {
  position: relative !important;
  z-index: 3 !important;
}
@media (min-width: 1024px) {
  .gs-header__burger {
    display: none !important;
  }
}

.gs-hero__cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  max-width: 100% !important;
}
.gs-hero .cta {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* removed tiny hero product cap */
@media (min-width: 640px) {
  .gs-hero__cta-wrap {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  /* removed tiny hero product cap */
}

.gs-mobile-nav__phone {
  color: #8a0014 !important;
  background: #ffe8ec !important;
  border: 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;
  }
}

/* ===== Huawei brands: separate from black hero ===== */
.gs-lineup {
  background: #1a1a1a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.gs-lineup__title,
.gs-lineup__name {
  color: #ffffff !important;
}
.gs-lineup__media {
  background: #242424 !important;
}

/* mobile-header-controls-patch */
.gs-header__phone--mobile,
.gs-header__phone--mobile svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}
.gs-header__burger {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: none !important;
}
.gs-header__burger svg {
  color: #ffffff !important;
  stroke: currentColor !important;
  fill: none !important;
}
.gs-header__burger svg path {
  stroke: currentColor !important;
  fill: none !important;
}
.gs-header__burger:hover,
.gs-header__burger:active,
.gs-mobile-nav-toggle:checked ~ .gs-header__row .gs-header__burger {
  background: rgba(255, 255, 255, 0.14) !important;
}
.gs-header__actions .gs-header__phone--mobile:hover,
.gs-header__actions .gs-header__phone--mobile:active {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* === MIRROR_IDENTITY_START === */
/* h-store.by — Swiss precision, light hero */
.theme-h-store {
  --mirror-red: #e63946;
  --mirror-black: #111111;
  --mirror-gray: #f5f5f5;
}

.theme-h-store .gs-header {
  background: #fff !important;
  color: var(--mirror-black);
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.theme-h-store .gs-header__menu-link {
  color: var(--mirror-black) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.theme-h-store .gs-header__menu-link--active {
  box-shadow: inset 0 -3px 0 var(--mirror-red);
}

.theme-h-store .gs-hero--mirror {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.theme-h-store .gs-hero--mirror.gs-hero--bleed-media .gs-hero__row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 768px) {
  .theme-h-store .gs-hero--mirror.gs-hero--bleed-media .gs-hero__row {
    grid-template-columns: 1fr;
  }
}

.theme-h-store .gs-hero--mirror .gs-hero__brand {
  color: var(--mirror-red) !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.7rem !important;
}

.theme-h-store .gs-hero--mirror .gs-hero__headline {
  font-weight: 300 !important;
  letter-spacing: -0.04em;
  color: var(--mirror-black) !important;
}

.theme-h-store .gs-hero--mirror .gs-hero__media {
  margin: -2rem -1rem -2rem 0;
  min-height: 280px;
  overflow: hidden;
}

.theme-h-store .gs-hero--mirror .gs-hero__product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  min-height: 280px;
}

.theme-h-store .cta--contained {
  background: var(--mirror-black) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem !important;
}

.theme-h-store .cta--contained:hover {
  background: var(--mirror-red) !important;
}

.theme-h-store .cta--outlined {
  border-radius: 0 !important;
  border: 1px solid var(--mirror-black) !important;
}

.theme-h-store .gs-lineup {
  background: var(--mirror-gray) !important;
}

.theme-h-store .gs-lineup__grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1px !important;
  background: #ddd;
  border: 1px solid #ddd;
}

@media (min-width: 640px) {
  .theme-h-store .gs-lineup__grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.theme-h-store .gs-lineup__item {
  width: 100% !important;
  background: #fff;
  border-radius: 0 !important;
  padding: 1.5rem 1rem;
}

.theme-h-store .gs-lineup__media {
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.theme-h-store .gs-consult {
  background: #fff !important;
  color: var(--mirror-black) !important;
  border: 2px solid var(--mirror-black);
  border-radius: 0 !important;
}

.theme-h-store .gs-consult .gs-consult__title {
  color: var(--mirror-black) !important;
}
/* === MIRROR_IDENTITY_END === */
