/* Галерея материалов, версия 2. Все стили ограничены #ggstone126. */
#ggstone126 {
  --stone-ink: #202822;
  --stone-muted: #68716b;
  --stone-green: #577351;
  padding: 38px 0;
  background: #fff;
  color: var(--stone-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  isolation: isolate;
}

#ggstone126 *,
#ggstone126 *::before,
#ggstone126 *::after {
  box-sizing: border-box;
}

#ggstone126 .ggstone126-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Небольшой заголовок без рамки и прописных букв. */
#ggstone126 .ggstone126-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 350px);
  align-items: end;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0 0 26px;
  text-align: left;
}

#ggstone126 .ggstone126-topline {
  display: block;
  margin: 0 0 8px;
  color: var(--stone-green);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

#ggstone126 .ggstone126-topline::before,
#ggstone126 .ggstone126-topline::after {
  content: none;
}

#ggstone126 .ggstone126-title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--stone-ink);
  font-family: "GG Home Prata", Prata, Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-transform: none;
}

#ggstone126 .ggstone126-intro {
  max-width: 350px;
  margin: 0 0 3px;
  color: var(--stone-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

/* Текстура занимает всю ширину плитки, подпись — сразу под ней. */
#ggstone126 .ggstone126-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ggstone126 .ggstone126-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ggstone126 .ggstone126-item::before {
  content: none;
}

#ggstone126 .ggstone126-card,
#ggstone126 .ggstone126-card:hover,
#ggstone126 .ggstone126-card:visited {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--stone-ink);
  box-shadow: none;
  text-decoration: none;
}

#ggstone126 .ggstone126-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: #f0f1ef;
  object-fit: cover;
}

#ggstone126 .ggstone126-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px;
  align-items: start;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0 1px;
  background: transparent;
}

#ggstone126 .ggstone126-name {
  display: block;
  min-height: 0;
  margin: 0;
  color: var(--stone-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Стрелка нарисована CSS: не превращается в эмодзи на iPhone. */
#ggstone126 .ggstone126-chevron {
  display: block;
  width: 6px;
  height: 6px;
  margin: 6px 0 0;
  border-top: 1.5px solid #8d968e;
  border-right: 1.5px solid #8d968e;
  background: transparent;
  transform: rotate(45deg);
}

@media (hover: hover) {
  #ggstone126 .ggstone126-card:hover .ggstone126-name {
    color: var(--stone-green);
  }
}

#ggstone126 .ggstone126-card:focus-visible,
#ggstone126 .ggstone126-links a:focus-visible,
#ggstone126 .ggstone126-pricing summary:focus-visible {
  outline: 2px solid var(--stone-green);
  outline-offset: 5px;
  border-radius: 4px;
}

#ggstone126 .ggstone126-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px 30px;
  margin-top: 23px;
  padding-top: 13px;
  border-top: 1px solid #e6e9e4;
}

/* Условие цены доступно по нажатию, не занимает место над галереей. */
#ggstone126 .ggstone126-pricing {
  display: block;
  max-width: 680px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

#ggstone126 .ggstone126-pricing summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin: 0;
  padding: 3px 0;
  color: var(--stone-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

#ggstone126 .ggstone126-pricing summary::-webkit-details-marker {
  display: none;
}

#ggstone126 .ggstone126-pricing summary::after {
  content: "+";
  color: var(--stone-muted);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
}

#ggstone126 .ggstone126-pricing[open] summary::after {
  content: "−";
}

#ggstone126 .ggstone126-pricing p {
  max-width: 660px;
  margin: 6px 0 0;
  padding: 0;
  color: var(--stone-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}

#ggstone126 .ggstone126-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

#ggstone126 .ggstone126-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 3px 0;
  color: var(--stone-green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

#ggstone126 .ggstone126-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  #ggstone126 .ggstone126-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 16px;
  }
}

@media (max-width: 640px) {
  #ggstone126 {
    padding: 26px 0;
  }

  #ggstone126 .ggstone126-inner {
    width: calc(100% - 32px);
  }

  #ggstone126 .ggstone126-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }

  #ggstone126 .ggstone126-topline {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  #ggstone126 .ggstone126-title {
    font-size: 31px;
    line-height: 1.2;
  }

  #ggstone126 .ggstone126-intro {
    max-width: 360px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
  }

  #ggstone126 .ggstone126-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 14px;
  }

  #ggstone126 .ggstone126-image {
    aspect-ratio: 1.45 / 1;
    border-radius: 9px;
  }

  #ggstone126 .ggstone126-caption {
    gap: 7px;
    margin-top: 8px;
  }

  #ggstone126 .ggstone126-name {
    font-size: 13px;
    line-height: 1.4;
  }

  #ggstone126 .ggstone126-chevron {
    margin-top: 5px;
  }

  #ggstone126 .ggstone126-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 20px;
    padding-top: 10px;
  }

  #ggstone126 .ggstone126-pricing summary,
  #ggstone126 .ggstone126-links a {
    min-height: 40px;
  }
}
