
:root {
  --color-gs-blue: #06b3f2;
  --color-gs-blue-light: #38c6f7;
  --color-gs-blue-soft: #e0f7fe;
  --color-gs-accent: #ff7a00;
  --color-gs-surface: #f3f4f6;
  --color-gs-ink: #111827;
  --radius-lg: 1.25rem;
}
body.theme-smartfon-store { background: #fff; }
.gs-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.gs-header__menu-link, .gs-header__phone { color: #1f2937 !important; }
.gs-header__menu-link:hover, .gs-header__menu-link--active { color: #06b3f2 !important; border-bottom-color: #06b3f2 !important; }
.gs-header__logo-img { filter: none; height: 52px; }

/* ===== Smartfon hero: text left, phones right, light gradient ===== */
.gs-hero {
  position: relative !important;
  min-height: clamp(480px, 58vw, 620px) !important;
  color: #111827 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse 55% 60% at 92% 18%, rgba(6, 179, 242, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 8% 88%, rgba(56, 198, 247, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #f7fbff 0%, #e8f7fe 42%, #d9f1fc 72%, #c5eafb 100%) !important;
}
.gs-hero__inner {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}
.gs-hero__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 1.5rem 2rem !important;
  align-items: center !important;
  max-width: none !important;
}
@media (max-width: 767px) {
  .gs-hero__row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}
.gs-hero__brand { display: none; }
.gs-hero .text-white,
.gs-hero__headline {
  color: #0f172a !important;
  text-shadow: none !important;
}
.gs-hero__headline {
  font-size: clamp(1.85rem, 4.2vw, 3.15rem) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.gs-hero__subhead, .gs-hero__cta-wrap { display: none; }
.gs-hero__checks {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.gs-hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937 !important;
  text-shadow: none !important;
}
.gs-hero__checks li::before {
  content: "";
  width: 1.05rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-left: 3px solid #06b3f2;
  border-bottom: 3px solid #06b3f2;
  transform: rotate(-45deg);
  margin-top: -0.25rem;
  border-radius: 0;
  background: none;
}
.gs-hero__lead {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(6,179,242,0.18);
  box-shadow: 0 12px 28px rgba(6,179,242,0.12);
  border-radius: 0.85rem;
  padding: 0.65rem;
  max-width: 40rem;
}
.gs-hero__lead input {
  flex: 1 1 8rem;
  min-width: 8rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: #111;
  background: #fff;
}
.gs-hero__lead button {
  flex: 0 0 auto;
  background: #06b3f2;
  color: #fff;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.gs-hero__lead-note {
  flex: 1 1 100%;
  font-size: 0.8rem;
  color: #4b5563;
  padding: 0 0.25rem;
}
.gs-hero__media {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  align-self: stretch;
}
.gs-hero__product {
  display: block !important;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: clamp(240px, 42vw, 420px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.18));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.gs-hero__product:hover {
  transform: translateY(-6px) scale(1.02);
}
@media (max-width: 767px) {
  .gs-hero__product {
    max-height: 260px;
    max-width: 100%;
  }
}

.gs-lineup { background: #fff; }
.gs-lineup__grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 1.1rem !important;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}
.gs-lineup__grid > * { max-width: none !important; grid-column: auto !important; flex: 0 0 auto; }
.gs-lineup__item { width: 6.5rem !important; }
.gs-lineup__media {
  width: 6.5rem !important;
  height: 6.5rem !important;
  border-radius: 1.15rem !important;
  background: #f3f4f6 !important;
  padding: 0.85rem;
  overflow: hidden !important;
}
.gs-lineup__img { object-fit: contain; }
.gs-lineup__icon-fallback { display: none !important; }

.gs-product-grid { background: #f0f9ff !important; }
.gs-benefit-card__icon { background: #e0f7fe !important; color: #0284c7; }

/* Consult — cyan outline panel */
.gs-consult {
  background: #0b1220 !important;
  border-top: 4px solid #06b3f2;
}
.gs-consult__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 640px) {
  .gs-consult__inner { grid-template-columns: 1fr; }
}
.gs-consult .cta--contained,
.gs-consult .cta--black {
  background: #06b3f2 !important;
  color: #fff !important;
  border-radius: 0.65rem !important;
}

/* Consult text contrast */
.gs-consult,
.gs-consult--smartfon {
  color: #fff !important;
}
.gs-consult__title,
.gs-consult--smartfon .gs-consult__title,
.gs-consult h2 {
  color: #ffffff !important;
}
.gs-consult__text,
.gs-consult--smartfon .gs-consult__text,
.gs-consult p {
  color: rgba(255, 255, 255, 0.85) !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;
}

/* Delivery promo — solid dark + white logo on the right */
.gs-delivery-promo {
  background-color: #0b1220 !important;
  background-image: none !important;
}
.gs-delivery-promo__overlay { display: none !important; }
.gs-delivery-promo__inner { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.gs-delivery-promo__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}
@media (max-width: 767px) {
  .gs-delivery-promo__row { grid-template-columns: 1fr !important; }
  .gs-delivery-promo__media { order: -1; justify-content: flex-start !important; }
}
.gs-delivery-promo__content { max-width: 36rem !important; }
.gs-delivery-promo__media {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}
.gs-delivery-promo__logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  max-height: 5.5rem;
  object-fit: contain;
  filter: none;
}
.gs-footer__brand-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* Soft marketplace typography */
html, body, body.theme-smartfon-store, .theme-smartfon-store, .theme-smartfon-store * {
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}
.gs-hero__headline,
.gs-lineup__title,
.gs-product-grid__title,
.gs-consult__title,
h1, h2, h3 {
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}

/* 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;
}


/* ===== Header: proportional layout ===== */
.gs-header {
  overflow: visible !important;
}
.gs-header__inner {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 2.5vw, 2rem) !important;
  padding-right: clamp(1rem, 2.5vw, 2rem) !important;
  overflow: visible !important;
}
.gs-header__row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: clamp(1rem, 2vw, 2rem) !important;
  min-height: 76px !important;
  height: auto !important;
  padding: 14px 0 !important;
  overflow: visible !important;
}
.gs-header__logo {
  flex: none !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}
.gs-header__logo-img {
  display: block !important;
  height: 52px !important; /* ~30% larger than 40px */
  width: auto !important;
  max-width: min(260px, 28vw) !important;
  object-fit: contain !important;
  filter: none !important;
}
.gs-header__nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 0.15rem 0.35rem !important;
  margin: 0 !important;
  min-width: 0 !important;
  flex: initial !important;
}
.gs-header__menu-link {
  flex: 0 0 auto !important;
  text-align: center !important;
  white-space: nowrap !important;
  padding: 0.4rem 0.55rem !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}
.gs-header__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1rem !important;
  flex: none !important;
  margin-left: 0 !important;
  overflow: visible !important;
}
.gs-header__phone {
  display: none;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.gs-header__cart {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  padding: 8px !important;
  overflow: visible !important;
}
.gs-header__cart svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.gs-header__cart-badge {
  top: 2px !important;
  right: 2px !important;
  z-index: 2 !important;
}
@media (min-width: 1024px) {
  .gs-header__phone {
    display: inline-block !important;
  }
}
@media (max-width: 1100px) and (min-width: 1024px) {
  .gs-header__menu-link {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    font-size: 13px !important;
  }
  .gs-header__logo-img {
    height: 46px !important;
  }
}
@media (max-width: 1023px) {
  .gs-header__row {
    display: flex !important;
    justify-content: space-between !important;
    min-height: 64px !important;
    padding: 10px 0 !important;
  }
  .gs-header__nav {
    display: none !important;
  }
  .gs-header__logo-img {
    height: 44px !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;
  }
}

/* Smartfon: stack on small screens so lead form never overlaps */
@media (max-width: 767px) {
  .gs-hero__row {
    grid-template-columns: 1fr !important;
  }
  .gs-hero__media {
    justify-content: center !important;
    order: 2 !important;
  }
  .gs-hero__content {
    order: 1 !important;
  }
  .gs-hero__product {
    max-height: 240px !important;
    object-position: center !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;
  }
}
