/* GadgetGuys Home — light marketplace blocks for Cyberstore / Bootstrap 3 */
.gg-home-promo-banners,
.gg-home-bento-hero,
.gg-home-composite-showcase,
.gg-home-promo-bar,
.gg-home-value-props,
.gg-home-brand-strip,
.gg-home-category-showcase,
.gg-home-deal,
.gg-home-products,
.gg-home-use-case-rails,
.gg-home-bonus,
.gg-home-trust {
  color: var(--gg-home-text);
  font-family: "Montserrat Alternates", Montserrat, "Open Sans", Arial, sans-serif;
}

.gg-home-promo-banners,
.gg-home-bento-hero,
.gg-home-composite-showcase,
.gg-home-category-showcase,
.gg-home-products,
.gg-home-use-case-rails,
.gg-home-deal,
.gg-home-trust {
  margin: 18px 0;
}

.gg-home-section-heading,
.gg-home-products-heading,
.gg-home-rail-name,
.gg-home-deal-heading {
  margin: 0 0 14px;
  color: var(--gg-home-text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

/* Composite marketplace showcase */
.gg-home-composite-showcase { padding: 22px 0; background: var(--gg-home-surface); }
.gg-home-composite-section { margin-bottom: 24px; }
.gg-home-composite-section:last-child { margin-bottom: 0; }
.gg-home-composite-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(360px, 1fr) minmax(260px, .8fr);
  gap: 12px;
}
.gg-home-composite-main,
.gg-home-composite-product,
.gg-home-composite-banner {
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  color: var(--gg-home-text);
  text-decoration: none;
}
.gg-home-composite-main {
  display: grid;
  min-height: 360px;
  grid-template-rows: minmax(220px, 1fr) auto auto;
  padding: 18px;
}
.gg-home-composite-main:hover,
.gg-home-composite-product:hover,
.gg-home-composite-banner:hover { color: var(--gg-home-text); text-decoration: none; border-color: var(--gg-home-accent-border); box-shadow: 0 10px 28px var(--gg-home-shadow); }
.gg-home-composite-main img { width: 100%; height: 250px; object-fit: contain; }
.gg-home-composite-title { display: block; margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.gg-home-composite-price { display: block; margin-top: 12px; color: var(--gg-home-price); font-size: 21px; font-weight: 800; }
.gg-home-composite-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gg-home-composite-product {
  display: grid;
  min-height: 174px;
  grid-template-rows: 86px auto auto;
  padding: 12px;
}
.gg-home-composite-product img { width: 100%; height: 86px; object-fit: contain; }
.gg-home-composite-product span { margin-top: 8px; font-size: 13px; line-height: 1.25; }
.gg-home-composite-product strong { margin-top: 6px; color: var(--gg-home-text); font-size: 15px; }
.gg-home-composite-banners {
  display: grid;
  gap: 12px;
}
.gg-home-composite-banner {
  display: grid;
  min-height: 112px;
  grid-template-columns: minmax(0, 1fr) 42%;
  align-items: center;
  overflow: hidden;
  padding: 14px;
}
.gg-home-composite-banner em {
  display: block;
  color: var(--gg-home-accent);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.gg-home-composite-banner strong { display: block; margin-top: 4px; font-size: 15px; line-height: 1.2; }
.gg-home-composite-banner img { width: 100%; height: 96px; object-fit: contain; }

/* Promo banners */
.gg-home-promo-banners {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  box-shadow: 0 10px 28px var(--gg-home-shadow);
}
.gg-home-banners-track {
  position: relative;
  height: 340px;
}
.gg-home-banner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 45%);
  align-items: center;
  color: var(--gg-home-text);
  text-decoration: none;
  background: var(--gg-banner-bg, var(--gg-home-surface));
  background: linear-gradient(90deg, var(--gg-banner-bg, var(--gg-home-surface)) 0%, var(--gg-home-surface) 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gg-home-banner--active {
  opacity: 1;
  pointer-events: auto;
}
.gg-home-banner:hover,
.gg-home-banner:focus {
  color: var(--gg-home-text);
  text-decoration: none;
}
.gg-home-banner--product {
  background:
    radial-gradient(circle at 76% 50%, var(--gg-home-accent-soft) 0, transparent 31%),
    linear-gradient(90deg, var(--gg-banner-bg, var(--gg-home-surface)) 0%, var(--gg-home-surface) 58%);
}
.gg-home-banner--no-image {
  grid-template-columns: 1fr;
}
.gg-home-banner--no-image .gg-home-banner-image {
  display: none;
}
.gg-home-banner--special {
  background:
    linear-gradient(90deg, var(--gg-home-accent-soft) 0%, rgba(255,255,255,.96) 54%),
    var(--gg-banner-bg, var(--gg-home-surface));
}
.gg-home-banner--special:before,
.gg-home-banner--announcement:before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.gg-home-banner--special:before {
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gg-home-accent);
}
.gg-home-banner--special .gg-home-banner-eyebrow {
  background: var(--gg-home-accent);
  color: var(--gg-home-surface);
}
.gg-home-banner--special .gg-home-banner-headline {
  max-width: 680px;
}
.gg-home-banner--announcement {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 34%);
  background:
    linear-gradient(135deg, var(--gg-home-surface) 0%, var(--gg-home-soft) 100%),
    var(--gg-banner-bg, var(--gg-home-surface));
}
.gg-home-banner--announcement:before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--gg-home-link);
}
.gg-home-banner--announcement .gg-home-banner-content {
  justify-content: center;
}
.gg-home-banner--announcement .gg-home-banner-eyebrow {
  background: var(--gg-home-accent-soft);
  color: var(--gg-home-link);
}
.gg-home-banner--announcement .gg-home-banner-headline {
  font-size: 28px;
}
.gg-home-banner--announcement .gg-home-banner-cta.btn-primary {
  background: var(--gg-home-link);
  border-color: var(--gg-home-link);
}
.gg-home-banner-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 38px 44px;
}
.gg-home-banner-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--gg-home-accent-soft);
  color: var(--gg-home-link);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.gg-home-banner-headline {
  margin: 0;
  max-width: 620px;
  color: var(--gg-home-text);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}
.gg-home-banner-subheadline {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--gg-home-muted);
  font-size: 15px;
  line-height: 1.45;
}
.gg-home-banner-cta {
  display: inline-block;
  margin-top: 18px;
  max-width: 100%;
  font-weight: 700;
  white-space: normal;
  text-align: center;
}
.gg-home-banner-cta.btn-primary,
.gg-home-deal-cta.btn-primary {
  background: var(--gg-home-accent);
  border-color: var(--gg-home-accent);
  color: var(--gg-home-surface);
}
.gg-home-banner-cta.btn-primary:hover,
.gg-home-banner-cta.btn-primary:focus,
.gg-home-deal-cta.btn-primary:hover,
.gg-home-deal-cta.btn-primary:focus {
  background: var(--gg-home-accent-hover);
  border-color: var(--gg-home-accent-hover);
  color: var(--gg-home-surface);
}
.gg-home-banner-image {
  position: relative;
  height: 100%;
  min-height: 220px;
  background-color: var(--gg-home-surface);
}
.gg-home-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.gg-home-banner-arrow {
  position: absolute;
  top: auto;
  bottom: 18px;
  z-index: 4;
  width: 36px;
  height: 36px;
  transform: none;
  border: 1px solid var(--gg-home-border);
  border-radius: 50%;
  background: var(--gg-home-overlay);
  color: var(--gg-home-text);
  line-height: 1;
  box-shadow: 0 2px 10px var(--gg-home-shadow);
}
.gg-home-banner-arrow--prev { left: auto; right: 64px; }
.gg-home-banner-arrow--next { right: 18px; }
.gg-home-banner-dots {
  position: absolute;
  left: 44px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 6px;
}
.gg-home-banner-dot {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--gg-home-border);
}
.gg-home-banner-dot.active { background: var(--gg-home-accent); }

/* Bento hero */
.gg-home-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
}
.gg-home-bento-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background-color: var(--gg-home-surface);
  background-position: center 12px;
  background-repeat: no-repeat;
  background-size: auto 72%;
  color: var(--gg-home-text);
  text-decoration: none;
}
.gg-home-bento-tile:hover { color: var(--gg-home-text); text-decoration: none; box-shadow: 0 8px 22px var(--gg-home-shadow); }
.gg-home-bento-tile--flagship { grid-column: span 2; grid-row: span 2; background-size: auto 78%; }
.gg-home-bento-tile:not(.gg-home-bento-tile--flagship) {
  align-items: center;
  background-position: right -32px center;
  background-size: auto 86%;
}
.gg-home-bento-content {
  width: 100%;
  padding: 16px;
  background: var(--gg-home-surface);
  border-top: 1px solid var(--gg-home-border);
}
.gg-home-bento-tile:not(.gg-home-bento-tile--flagship) .gg-home-bento-content {
  width: 64%;
  border-top: 0;
  background: linear-gradient(90deg, var(--gg-home-surface) 0%, var(--gg-home-surface) 76%, rgba(255,255,255,0) 100%);
}
.gg-home-bento-eyebrow { display: block; margin-bottom: 4px; color: var(--gg-home-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.gg-home-bento-headline { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 700; letter-spacing: 0; }
.gg-home-bento-tile--flagship .gg-home-bento-headline { font-size: 26px; }
.gg-home-bento-cta { display: inline-block; margin-top: 8px; color: var(--gg-home-link); font-weight: 700; }

/* Promo bar and services */
.gg-home-promo-bar {
  padding: 9px 0;
  background: var(--gg-home-accent-soft);
  border-top: 1px solid var(--gg-home-accent-border);
  border-bottom: 1px solid var(--gg-home-accent-border);
  text-align: center;
  font-size: 14px;
}
.gg-home-promo-cta { margin-left: 12px; color: var(--gg-home-link); font-weight: 700; text-decoration: none; }
.gg-home-value-props { padding: 12px 0; background: var(--gg-home-surface); border-top: 1px solid var(--gg-home-border); border-bottom: 1px solid var(--gg-home-border); }
.gg-home-vp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.gg-home-vp-item { display: flex; align-items: center; min-height: 42px; gap: 9px; padding: 8px 10px; border: 1px solid var(--gg-home-border); border-radius: 8px; background: var(--gg-home-surface); font-size: 13px; }
.gg-home-vp-item .fa { color: var(--gg-home-accent); font-size: 19px; }

/* Brands and categories */
.gg-home-brand-strip { padding: 14px 0; background: var(--gg-home-surface); }
.gg-home-brand-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gg-home-brand-tile {
  flex: 0 0 112px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  color: var(--gg-home-muted);
}
.gg-home-brand-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gg-home-category-showcase { padding: 22px 0; background: var(--gg-home-surface); }
.gg-home-scroll-wrap { position: relative; max-width: 100%; overflow: hidden; }
.gg-home-category-menu {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  overflow-x: auto;
  list-style: none;
}
.gg-home-category-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  color: var(--gg-home-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}
.gg-home-category-menu a:hover {
  border-color: var(--gg-home-accent-border);
  color: var(--gg-home-link);
  text-decoration: none;
}
.gg-home-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}
.gg-home-category-tile {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  color: var(--gg-home-text);
  text-align: center;
  text-decoration: none;
}
.gg-home-category-tile:hover { color: var(--gg-home-link); text-decoration: none; border-color: var(--gg-home-accent-border); box-shadow: 0 8px 22px var(--gg-home-shadow); }
.gg-home-category-image { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.gg-home-category-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gg-home-category-name { font-size: 13px; font-weight: 700; line-height: 1.25; }

/* Product cards and rails */
.gg-home-products { padding: 22px 0; background: var(--gg-home-surface); }
.gg-home-products-section { margin-bottom: 24px; }
.gg-home-products-section:last-child { margin-bottom: 0; }
.gg-home-products-grid,
.gg-home-rail-track {
  display: grid;
  grid-template-columns: repeat(var(--gg-products-columns, 4), minmax(0, 1fr));
  gap: 12px;
}
.gg-home-products-grid--slider,
.gg-home-rail-track--slider {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gg-products-columns, 4) * 12px) / (var(--gg-products-columns, 4) + .2));
  grid-template-columns: none;
  grid-template-rows: repeat(var(--gg-products-rows, 1), minmax(0, auto));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 2px 8px;
}
.gg-home-product-card,
.gg-home-rail-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 274px;
  flex-direction: column;
  padding: 16px 14px 14px;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-surface);
  color: var(--gg-home-text);
  text-decoration: none;
  scroll-snap-align: start;
}
.gg-home-product-card:hover,
.gg-home-rail-card:hover { color: var(--gg-home-text); text-decoration: none; border-color: var(--gg-home-accent-border); box-shadow: 0 10px 28px var(--gg-home-shadow); }
.gg-home-product-media,
.gg-home-rail-media { display: block; color: inherit; text-decoration: none; }
.gg-home-product-image,
.gg-home-rail-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}
.gg-home-product-name,
.gg-home-rail-name-text {
  display: block;
  min-height: 40px;
  margin-top: 2px;
  color: var(--gg-home-text);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}
.gg-home-product-name:hover,
.gg-home-rail-name-text:hover { color: var(--gg-home-link); text-decoration: none; }
.gg-home-product-price,
.gg-home-rail-price {
  display: flex;
  flex: 1 1 auto;
  min-height: 42px;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  color: var(--gg-home-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.12;
}
.gg-home-product-special,
.gg-home-rail-special {
  display: block;
  color: var(--gg-home-text);
  font-size: 20px;
  font-weight: 800;
}
.gg-home-product-special--discount,
.gg-home-rail-special--discount {
  color: var(--gg-home-price);
}
.gg-home-money {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  max-width: 100%;
  white-space: nowrap;
}
.gg-home-money-currency {
  font-size: .82em;
  font-weight: inherit;
  line-height: 1;
}
.gg-home-price-old-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  max-width: 100%;
  flex-wrap: wrap;
  row-gap: 3px;
}
.gg-home-product-original,
.gg-home-rail-original {
  display: inline-block;
  min-width: 0;
  margin-left: 0;
  color: var(--gg-home-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: line-through;
  white-space: nowrap;
}
.gg-home-product-original .gg-home-money,
.gg-home-rail-original .gg-home-money,
.gg-home-deal-original .gg-home-money {
  text-decoration: line-through;
}
.gg-home-price-discount-pill {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  background: url("/catalog/view/theme/cyberstore/image/procent-skidka.svg") no-repeat;
  background-size: 42px 20px;
  color: var(--gg-home-surface);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.gg-home-product-stickers {
  top: 16px;
  right: 16px;
}
.gg-home-product-stickers .sticker-ns {
  margin-bottom: 4px;
  padding: 4px 15px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  text-transform: none;
}
.gg-home-product-stickers .sticker-ns.special {
  background: #ff4b35;
  color: var(--gg-home-surface);
}
.gg-home-product-stickers .sticker-ns.procent-skidka {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-radius: 4px;
  background: url("/catalog/view/theme/cyberstore/image/procent-skidka.svg") no-repeat;
  background-size: 42px 20px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}
.gg-home-product-code,
.gg-home-rail-code {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  max-width: 58px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--gg-home-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 8px var(--gg-home-shadow);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gg-home-product-rating {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--gg-home-soft);
  color: #e5db77;
  font-size: 13px;
  line-height: 1;
}
.gg-home-product-rating .fa {
  color: #e5db77;
  font-size: 12px;
}
.gg-home-product-rating-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: auto;
  margin-left: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gg-home-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.gg-home-card-buy-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.gg-home-card-cart {
  align-self: flex-end;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 7px;
  box-shadow: none;
}
.gg-home-card-cart .text-cart-add { display: none; }
.gg-home-scroll-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid var(--gg-home-border);
  border-radius: 50%;
  background: var(--gg-home-surface);
  color: var(--gg-home-link);
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  font-size: 21px;
  line-height: 1;
  opacity: .96;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gg-home-scroll-arrow i { line-height: 1; }
.gg-home-scroll-arrow:hover,
.gg-home-scroll-arrow:focus {
  border-color: var(--gg-home-accent);
  background: var(--gg-home-accent);
  color: var(--gg-home-surface);
  box-shadow: 0 12px 32px rgba(15,23,42,.20);
  transform: translateY(calc(-50% - 1px));
}
.gg-home-scroll-arrow--prev { left: 14px; }
.gg-home-scroll-arrow--next { right: 14px; }
.gg-home-rail { margin-bottom: 24px; }
.gg-home-rail-subtitle { margin: -8px 0 12px; color: var(--gg-home-muted); font-size: 14px; }

/* Deal */
.gg-home-deal { padding: 22px 0; background: var(--gg-home-surface); }
.gg-home-deal-layout {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.gg-home-deal-layout--with-side { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.gg-home-deal-layout--left .gg-home-deal-side { order: -1; }
.gg-home-deal-layout--with-side .gg-home-deal-card { max-width: none; margin: 0; }
.gg-home-deal-card {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--gg-home-accent-border);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gg-home-accent-soft) 0%, var(--gg-home-surface) 52%);
  box-shadow: 0 10px 28px var(--gg-home-shadow);
}
.gg-home-deal-image { position: relative; }
.gg-home-deal-image img { width: 100%; height: 220px; object-fit: contain; mix-blend-mode: multiply; }
.gg-home-deal-badge { position: absolute; left: 0; top: 0; padding: 4px 8px; border-radius: 4px; background: var(--gg-home-price); color: var(--gg-home-surface); font-weight: 700; }
.gg-home-deal-name { display: block; color: var(--gg-home-text); font-size: 18px; font-weight: 700; line-height: 1.25; }
.gg-home-deal-name:hover { color: var(--gg-home-link); text-decoration: none; }
.gg-home-deal-prices { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; }
.gg-home-deal-special { color: var(--gg-home-text); font-size: 26px; font-weight: 800; line-height: 1.1; }
.gg-home-deal-special--discount { color: var(--gg-home-price); }
.gg-home-deal-original { color: var(--gg-home-muted); font-size: 15px; text-decoration: line-through; }
.gg-home-deal-countdown { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.gg-home-deal-time { min-width: 54px; padding: 8px 10px; border-radius: 6px; background: var(--gg-home-surface); text-align: center; }
.gg-home-deal-time strong { display: block; color: var(--gg-home-text); font-weight: 700; }
.gg-home-deal-time small { display: block; color: var(--gg-home-muted); font-size: 11px; }
.gg-home-deal-cta { display: inline-block; font-weight: 700; text-decoration: none; }
.gg-home-deal-cta:hover { color: var(--gg-home-surface); text-decoration: none; }
.gg-home-deal-promo { display: block; margin-top: 14px; }
.gg-home-deal-promo-label { display: block; margin-bottom: 6px; color: var(--gg-home-text); font-weight: 600; }
.gg-home-deal-promo-row { display: inline-flex; align-items: flex-start; flex-direction: column; gap: 4px; max-width: 100%; }
.gg-home-deal-promo-code { max-width: 100%; border: 1px dashed var(--gg-home-accent); border-radius: 6px; background: var(--gg-home-accent-soft); color: var(--gg-home-accent); font-weight: 700; overflow-wrap: anywhere; }
.gg-home-deal-extra,
.gg-home-deal-low-stock { color: var(--gg-home-price); font-weight: 700; }
.gg-home-deal-extra { margin-left: 0; text-align: left; white-space: normal; }
.gg-home-deal-side {
  display: grid;
  gap: 12px;
}
.gg-home-deal-side-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  gap: 10px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--gg-home-border);
  border-radius: 8px;
  background: var(--gg-home-accent-soft);
  color: var(--gg-home-text);
  overflow: hidden;
}
.gg-home-deal-side-banner:hover,
.gg-home-deal-side-banner:focus { color: var(--gg-home-text); text-decoration: none; border-color: var(--gg-home-accent-border); box-shadow: 0 10px 28px var(--gg-home-shadow); }
.gg-home-deal-side-banner em { display: block; color: var(--gg-home-accent); font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gg-home-deal-side-banner strong { display: block; margin-top: 4px; font-size: 15px; line-height: 1.2; }
.gg-home-deal-side-banner img { width: 100%; height: 92px; object-fit: contain; }

/* Support blocks */
.gg-home-bonus { padding: 14px 0; background: var(--gg-home-surface); border-top: 1px solid var(--gg-home-border); border-bottom: 1px solid var(--gg-home-border); }
.gg-home-bonus-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--gg-home-accent-border);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gg-home-accent-soft), var(--gg-home-surface));
}
.gg-home-bonus-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gg-home-accent);
  color: var(--gg-home-surface);
  font-size: 18px;
}
.gg-home-bonus-copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 3px; color: var(--gg-home-muted); line-height: 1.35; }
.gg-home-bonus-copy strong { color: var(--gg-home-text); font-size: 16px; }
.gg-home-bonus-button { flex: 0 0 auto; font-weight: 700; }
.gg-home-trust { padding: 22px 0; background: var(--gg-home-surface); }
.gg-home-trust-panel { padding: 18px; border: 1px solid var(--gg-home-border); border-radius: 8px; background: var(--gg-home-surface); }
.gg-home-trust-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gg-home-trust-summary .rating { color: var(--gg-home-text); font-size: 30px; font-weight: 800; line-height: 1; }
.gg-home-trust-summary .count { color: var(--gg-home-muted); }
.gg-home-trust-stars { color: #f0c94a; font-size: 13px; white-space: nowrap; }
.gg-home-trust-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.gg-home-trust-quotes li { padding: 14px; border: 1px solid var(--gg-home-border); border-radius: 8px; background: var(--gg-home-bg); }
.gg-home-trust-quote-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--gg-home-text); }
.gg-home-trust-quote-head span { color: var(--gg-home-accent); font-weight: 700; white-space: nowrap; }
.gg-home-trust-quotes p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--gg-home-muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media (max-width: 1199px) {
  header.h-type-2.pad-top .phone-box,
  header.h-type-2.pad-top #phone,
  header.h-type-2.pad-top #phone .contact-header,
  header.h-type-2.pad-top #phone .text_after_phone,
  header.h-type-2.pad-top #phone .additional-tel {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 991px) {
  body > header.h-type-2.pad-top > div.container.h-box > div.row-flex.vertical-align > p,
  header.h-type-2.pad-top .h-box .row-flex.vertical-align p,
  header.h-type-2.pad-top .h-box > .row-flex > p,
  .h-type-2 .phone-box,
  .pad-top .phone-box,
  .pad-top .text_after_phone,
  header.h-type-2 .phone-box .text_after_phone,
  header.h-type-2 .phone-box .telephone-header,
  header.h-type-2 .phone-box .additional-tel {
    display: none !important;
  }
  .gg-home-banner { grid-template-columns: 1fr 38%; }
  .gg-home-banner-headline { font-size: 24px; }
  .gg-home-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-home-bento-tile--flagship { grid-column: span 2; grid-row: span 1; }
  .gg-home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gg-home-products-grid,
  .gg-home-rail-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-home-products-grid--slider,
  .gg-home-rail-track--slider {
    grid-auto-columns: calc((100% - 24px) / 2.2);
    grid-template-rows: none;
  }
  .gg-home-product-name,
  .gg-home-rail-name-text {
    display: -webkit-box;
    min-height: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body > header.h-type-2.pad-top > div.container.h-box > div.row-flex.vertical-align > p,
  header.h-type-2.pad-top .h-box .row-flex.vertical-align p,
  header.h-type-2.pad-top .h-box > .row-flex > p,
  .h-type-2 .phone-box,
  .pad-top .phone-box,
  .pad-top .text_after_phone,
  header.h-type-2 .phone-box .text_after_phone,
  header.h-type-2 .phone-box .telephone-header,
  header.h-type-2 .phone-box .additional-tel {
    display: none !important;
  }
  .gg-home-products-grid--slider,
  .gg-home-rail-track--slider {
    grid-auto-columns: calc((100% - 36px) / 3.2);
    grid-template-rows: none;
  }
  .gg-home-product-name,
  .gg-home-rail-name-text {
    display: -webkit-box;
    min-height: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .gg-home-products-grid--slider,
  .gg-home-rail-track--slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-left: 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .gg-home-scroll-wrap:before,
  .gg-home-scroll-wrap:after {
    display: none;
  }
  .gg-home-scroll-arrow { z-index: 30; }
  .gg-home-scroll-arrow--prev { left: 10px; }
  .gg-home-scroll-arrow--next { right: 10px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .gg-home-products-grid--slider > .gg-home-product-card,
  .gg-home-rail-track--slider > .gg-home-rail-card { flex: 0 0 calc((100% - 24px) / 2.2); }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .gg-home-products-grid--slider > .gg-home-product-card,
  .gg-home-rail-track--slider > .gg-home-rail-card { flex: 0 0 calc((100% - 36px) / 3.2); }
}

@media (max-width: 767px) {
  .gg-home-promo-banners,
  .gg-home-bento-hero,
  .gg-home-composite-showcase,
  .gg-home-category-showcase,
  .gg-home-products,
  .gg-home-use-case-rails,
  .gg-home-deal,
  .gg-home-trust { margin: 12px 0; }
  .gg-home-promo-banners { margin-top: 18px; }
  .gg-home-banners-track { height: 460px; }
  .gg-home-banner { grid-template-columns: 1fr; grid-template-rows: 180px minmax(0, 1fr); }
  .gg-home-banner-content { order: 2; min-width: 0; justify-content: center; padding: 22px 18px 52px; }
  .gg-home-banner-image { order: 1; min-height: 180px; }
  .gg-home-banner-headline { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
  .gg-home-banner-subheadline { font-size: 14px; line-height: 1.35; }
  .gg-home-banner-cta { margin-top: 12px; padding: 8px 12px; font-size: 13px; line-height: 1.25; }
  .gg-home-banner-dots { left: 18px; bottom: 12px; }
  .gg-home-banner-arrow { top: 74px; bottom: auto; width: 32px; height: 32px; }
  .gg-home-banner-arrow--prev { left: 14px; right: auto; }
  .gg-home-banner-arrow--next { right: 14px; }
  .gg-home-bento-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(142px, auto); gap: 10px; }
  .gg-home-bento-tile,
  .gg-home-bento-tile--flagship {
    min-height: 142px;
    align-items: center;
    grid-column: span 1;
    grid-row: span 1;
    background-position: right 14px center;
    background-size: auto 88%;
  }
  .gg-home-bento-content {
    width: 64%;
    padding: 18px 14px;
    border-top: 0;
    background: linear-gradient(90deg, var(--gg-home-surface) 0%, var(--gg-home-surface) 76%, rgba(255,255,255,0) 100%);
  }
  .gg-home-bento-headline { font-size: 17px; line-height: 1.18; }
  .gg-home-bento-tile--flagship .gg-home-bento-headline { font-size: 20px; }
  .gg-home-vp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .gg-home-vp-item { min-width: 0; align-items: center; justify-content: center; text-align: center; }
  .gg-home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gg-home-category-tile { min-height: 138px; }
  .gg-home-category-image { width: 84px; height: 84px; }
  .gg-home-products-grid,
  .gg-home-rail-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 8px;
  }
  .gg-home-products-grid--mobile-slider,
  .gg-home-rail-track--mobile-slider {
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 2.2);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .gg-home-scroll-arrow { top: 112px; width: 40px; height: 40px; font-size: 18px; }
  .gg-home-scroll-arrow--prev { left: 12px; }
  .gg-home-scroll-arrow--next { right: 12px; }
  .gg-home-product-stickers { top: 10px; right: 10px; }
  .gg-home-product-stickers .sticker-ns { margin-bottom: 4px; padding: 2px 10px; }
  .gg-home-product-stickers .sticker-ns.procent-skidka { min-width: 42px; padding: 0; }
  .gg-home-product-card,
  .gg-home-rail-card { min-height: 300px; padding: 12px; scroll-snap-align: start; }
  .gg-home-product-image,
  .gg-home-rail-image { height: 142px; }
  .gg-home-product-name,
  .gg-home-rail-name-text { font-size: 14px; line-height: 1.32; }
  .gg-home-product-special,
  .gg-home-rail-special { font-size: 18px; }
  .gg-home-price-old-row { align-items: flex-start; gap: 4px; }
  .gg-home-product-original,
  .gg-home-rail-original { max-width: calc(100% - 46px); overflow: hidden; text-overflow: ellipsis; }
  .gg-home-card-buy-row { align-items: flex-end; gap: 6px; padding-top: 10px; }
  .gg-home-card-cart { align-self: flex-end; }
  .gg-home-composite-grid { grid-template-columns: 1fr; }
  .gg-home-composite-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-home-composite-main img { height: 190px; }
  .gg-home-composite-banners { grid-template-columns: 1fr; }
  .gg-home-deal-layout,
  .gg-home-deal-layout--with-side { grid-template-columns: 1fr; }
  .gg-home-deal-layout--left .gg-home-deal-side { order: 0; }
  .gg-home-deal-card { grid-template-columns: 1fr; gap: 12px; padding: 14px; background: var(--gg-home-surface); }
  .gg-home-deal-image img { height: 180px; }
  .gg-home-deal-name { font-size: 16px; }
  .gg-home-deal-special { font-size: 23px; }
  .gg-home-deal-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .gg-home-deal-time { min-width: 0; padding: 7px 4px; }
  .gg-home-deal-promo-row { max-width: none; }
  .gg-home-deal-cta { display: block; width: 100%; }
  .gg-home-deal-side-banner { grid-template-columns: minmax(0, 1fr) 36%; }
  .gg-home-bonus-card { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
  .gg-home-bonus-button { width: 100%; }
  .gg-home-trust-panel { padding: 14px; }
  .gg-home-trust-summary { flex-wrap: wrap; gap: 7px; }
  .gg-home-trust-summary .rating { font-size: 26px; }
  .gg-home-trust-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  /* Scope this 1-col stack to NON-slider tracks only; the slider variants
     need grid-template-columns: none so grid-auto-columns can lay each card
     in its own 100%-wide column. */
  .gg-home-products-grid:not([class*="--slider"]):not([class*="--mobile-slider"]),
  .gg-home-rail-track:not([class*="--slider"]):not([class*="--mobile-slider"]) {
    grid-template-columns: 1fr;
  }
  .gg-home-products-grid--mobile-slider,
  .gg-home-rail-track--mobile-slider {
    grid-template-columns: none;
    grid-auto-columns: 100%;
  }
}

.gg-home-product-media,
.gg-home-rail-media,
.gg-home-composite-main,
.gg-home-composite-product { position: relative; }
.gg-home-hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gg-home-product-media .gg-home-hover-img,
.gg-home-rail-media .gg-home-hover-img { height: 150px; }
.gg-home-composite-main .gg-home-hover-img { height: 250px; }
.gg-home-composite-product .gg-home-hover-img { height: 86px; }
.gg-home-deal-image .gg-home-hover-img { height: 220px; mix-blend-mode: multiply; }
@media (hover: hover) and (pointer: fine) {
  .gg-home-product-media:hover .gg-home-hover-img,
  .gg-home-rail-media:hover .gg-home-hover-img,
  .gg-home-composite-main:hover .gg-home-hover-img,
  .gg-home-composite-product:hover .gg-home-hover-img,
  .gg-home-deal-image:hover .gg-home-hover-img { opacity: 1; }
  .gg-home-product-image,
  .gg-home-rail-image,
  .gg-home-deal-img,
  .gg-home-composite-main-img,
  .gg-home-composite-product-img { transition: opacity 0.2s ease; }
  .gg-home-product-media:has(.gg-home-hover-img):hover .gg-home-product-image,
  .gg-home-rail-media:has(.gg-home-hover-img):hover .gg-home-rail-image,
  .gg-home-composite-main:has(.gg-home-hover-img):hover .gg-home-composite-main-img,
  .gg-home-composite-product:has(.gg-home-hover-img):hover .gg-home-composite-product-img,
  .gg-home-deal-image:has(.gg-home-hover-img):hover .gg-home-deal-img { opacity: 0; }
}
@media (max-width: 767px) {
  .gg-home-product-media .gg-home-hover-img,
  .gg-home-rail-media .gg-home-hover-img { height: 142px; }
  .gg-home-composite-main .gg-home-hover-img { height: 190px; }
  .gg-home-deal-image .gg-home-hover-img { height: 180px; }
}
@media (hover: none) { .gg-home-hover-img { display: none; } }
