:root {
  --black: #0b0b0b;
  --charcoal: #171717;
  --ink: #1b1b1b;
  --paper: #f5f2ed;
  --white: #ffffff;
  --line: #ded8cf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #6c6760;
  --muted-dark: rgba(255, 255, 255, 0.68);
  --red: #e31f2d;
  --red-dark: #b91620;
  --gold: #c9a961;
  --stone: #b8afa4;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0f0f0f;
  color: var(--ink);
  font-family: Calibri, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
body, p, span { font-family: Calibri, Arial, sans-serif; }

.site-background {
  display: none;
}

.topline,
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 4vw, 58px);
  background: var(--black);
  color: var(--muted-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(11, 11, 11, 0.96);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.brand { display: inline-grid; gap: 5px; min-width: max-content; }
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 14px);
}
.brand-starstone {
  display: inline-grid;
  gap: 5px;
}
.trade24-logo {
  display: block;
  height: clamp(28px, 3vw, 38px);
  width: auto;
  max-width: clamp(120px, 15vw, 180px);
  object-fit: contain;
}
.brand-logo {
  display: block;
  width: clamp(142px, 17vw, 210px);
  height: auto;
}
.brand-subtitle {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.9rem;
  font-weight: 650;
}
.site-nav > a,
.nav-products-toggle {
  color: rgba(255,255,255,0.84);
}
.site-nav > a:hover,
.nav-products-toggle:hover,
.nav-products.is-open .nav-products-toggle {
  color: var(--white);
}
.nav-cta { background: var(--red); color: var(--white) !important; padding: 10px 14px; }

.nav-products {
  position: relative;
  padding: 15px 0;
}
.nav-products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.nav-products-chevron {
  display: inline-block;
  color: var(--red);
  font-size: 1.08rem;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}
.nav-products.is-open .nav-products-chevron,
.nav-products:hover .nav-products-chevron,
.nav-products:focus-within .nav-products-chevron {
  transform: rotate(-90deg);
}
.product-mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  width: min(840px, calc(100vw - 36px));
  max-height: min(68vh, 560px);
  padding: 14px;
  background: #101010;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 26px 70px rgba(0,0,0,0.46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-products:hover .product-mega-menu,
.nav-products:focus-within .product-mega-menu,
.nav-products.is-open .product-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-products.is-click-closed:hover .product-mega-menu,
.nav-products.is-click-closed:focus-within .product-mega-menu,
.nav-products.is-click-closed.is-open .product-mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}
.product-menu-mobile-group { display: contents; }
.product-menu-mobile-panel { display: none; }
.product-menu-categories {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 8px 12px 8px 8px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.product-menu-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.78);
  padding: 11px 12px;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.product-menu-category::after {
  content: "›";
  color: var(--red);
  font-size: 1.08rem;
  line-height: 1;
}
.product-menu-category:hover,
.product-menu-category.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateX(3px);
}
.product-menu-category.is-active::after,
.product-menu-category:hover::after {
  color: var(--white);
}
.product-menu-panels {
  min-width: 0;
  padding: 10px 8px 10px 20px;
}
.product-menu-panel {
  display: none;
}
.product-menu-panel.is-active {
  display: block;
}
.product-menu-panel h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product-menu-overview {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 6px;
}
.product-menu-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  max-height: 390px;
  overflow: auto;
  padding-right: 6px;
}
.product-menu-product {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
}
.product-menu-product:hover,
.product-menu-overview:hover {
  color: var(--red);
}
.product-menu-product:hover {
  background: rgba(255,255,255,0.04);
  padding-left: 14px;
}
.menu-toggle { display: none; width: 42px; height: 38px; border: 1px solid var(--line-dark); background: transparent; padding: 8px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: clamp(58px, 8vw, 106px) 0; }
.section-dark { width: 100%; max-width: none; padding-left: max(18px, calc((100% - 1180px) / 2)); padding-right: max(18px, calc((100% - 1180px) / 2)); background: var(--black); color: var(--white); }

.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 0.74rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { font-family: Calibri, Arial, sans-serif; letter-spacing: 0; }
h1, h2 { margin: 0; font-weight: 700; line-height: 1.08; text-transform: uppercase; }
h1 { max-width: 820px; font-size: clamp(2.6rem, 6vw, 5.7rem); }
h2 { max-width: 760px; font-size: clamp(1.7rem, 3.6vw, 3.45rem); }
h3, p { margin-top: 0; }
p { color: var(--muted); }
.section-dark p { color: var(--muted-dark); }

.hero { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.92fr); gap: clamp(18px, 3vw, 52px); align-items: center; min-height: calc(100vh - 96px); padding-top: clamp(54px, 8vw, 104px); padding-bottom: clamp(54px, 8vw, 104px); background-color: #0f0f0f; background-image: url("assets/background/starstone-home-background.png"); background-position: bottom center; background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy p:not(.eyebrow) { max-width: 620px; margin: 22px 0 30px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  position: relative;
  width: min(50vw, 700px);
  aspect-ratio: 386 / 414;
  align-self: center;
  justify-self: end;
  transform: translateX(clamp(8px, 3.2vw, 70px)) translateY(clamp(-22px, -1.4vw, -8px));
  pointer-events: none;
}
.hero-art-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 34px 38px rgba(0,0,0,0.46));
}
.button, .quote-form button[type="submit"] { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; cursor: pointer; font-weight: 750; padding: 12px 18px; }
.button.primary, .quote-form button[type="submit"] { background: var(--red); color: var(--white); }
.button.primary:hover, .quote-form button[type="submit"]:hover { background: var(--red-dark); }
.button.outline { border: 1px solid var(--line-dark); color: var(--white); }
.button.outline:hover,
.button.outline:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.hero-placeholder, .catalog-placeholder, .image-slot {
  display: grid;
  min-height: 320px;
  place-items: center;
  border: 1px dashed rgba(255,255,255,0.32);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color: rgba(255,255,255,0.62);
  font-weight: 750;
  text-transform: uppercase;
}
.hero-placeholder { display: none; }

.intro-grid, .catalog-block { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr); gap: 38px; align-items: start; }
.intro-text { border-left: 4px solid var(--red); padding-left: 24px; }
.about-section {
  background: #0f0f0f;
  color: var(--white);
  row-gap: 28px;
}
.about-section h2 {
  color: var(--white);
  max-width: 520px;
}
.about-section .intro-text {
  border-left-color: var(--red);
  max-width: 720px;
}
.about-section .intro-text p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 15px;
  font-size: 1rem;
  line-height: 1.68;
}
.about-section .intro-text p:last-child {
  margin-bottom: 0;
}

.feature-band { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature-band article { background: var(--white); border-top: 4px solid var(--red); padding: 22px; box-shadow: 0 12px 34px rgba(0,0,0,0.06); }
.feature-band span, .project-grid span, .product-card .category { color: var(--gold); font-size: 0.74rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-band h3, .project-grid h3, .product-card h3 { margin: 8px 0; font-size: 1.16rem; line-height: 1.18; font-weight: 750; }

.products-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: 86px; background: var(--charcoal); color: var(--white); padding: 24px; }
.filters h2 { margin-bottom: 18px; font-size: 1.9rem; }
.filters button { display: block; width: 100%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; font-weight: 650; margin-top: 8px; padding: 11px 12px; text-align: left; }
.filters button.active, .filters button:hover { background: var(--red); border-color: var(--red); }
.section-heading { margin-bottom: 30px; }
.section-heading.compact { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading.compact p { max-width: 360px; margin-bottom: 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.product-card { display: grid; background: var(--white); box-shadow: 0 12px 34px rgba(0,0,0,0.06); }
.product-card .image-slot { min-height: 190px; border-color: var(--line); background: #e9e4dc; color: var(--muted); }
.product-image-link {
  display: block;
  overflow: hidden;
}
.product-card-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  background: #e9e4dc;
  padding: 0;
}
.product-card[data-category="maintenance"] .product-image-link {
  background: #f7f5f1;
}
.product-card[data-category="maintenance"] .product-card-image {
  object-fit: contain;
  object-position: center center;
  padding: 14px;
  background: #f7f5f1;
}
.product-content { padding: 20px; }
.product-content p { margin-bottom: 16px; }
.product-content a { display: inline-flex; border-bottom: 2px solid var(--red); color: var(--ink); font-weight: 750; }

.card-benefits,
.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-benefits {
  margin: 0 0 18px;
}

.card-benefits img,
.benefit-strip img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #eeeeec;
}

.card-benefits img[src*="white-raf"],
#traverstone-block .benefit-strip img[src*="white-raf"] {
  background: var(--charcoal);
  padding: 5px;
}

.product-detail {
  display: none;
  width: 100%;
  max-width: none;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.product-detail.is-active {
  display: block;
}

.product-hero,
.product-summary,
.product-showcase,
.technical-block {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 106px) 0 42px;
}

.product-hero-copy .lead {
  max-width: 600px;
  margin: 20px 0 28px;
  font-size: 1.05rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.dark-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.product-gallery {
  background: #eee9e1;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  background: #111;
}

.gallery-main img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: rgba(0, 0, 0, 0.54);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(0, 0, 0, 0.58);
  color: var(--white);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gallery-zoom:hover,
.gallery-zoom:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}

.gallery-zoom-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.gallery-zoom-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.gallery-main img {
  cursor: zoom-in;
}

.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 4vw, 46px);
  background: rgba(6, 6, 6, 0.94);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.image-lightbox-figure img {
  max-width: 100%;
  max-height: min(82vh, 980px);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.48);
}

.image-lightbox-figure figcaption {
  margin-top: 12px;
  color: rgba(255,255,255,0.76);
  font-size: 0.92rem;
}

.image-lightbox-button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 2.1rem;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.image-lightbox-button:hover,
.image-lightbox-button:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  background: var(--white);
}

.gallery-thumbs button {
  border: 2px solid transparent;
  background: #eee9e1;
  cursor: pointer;
  padding: 0;
}

.gallery-thumbs button.active {
  border-color: var(--red);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-benefits {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 18px 0 0;
}

.product-benefits figure {
  display: grid;
  gap: 8px;
  width: 118px;
  margin: 0;
  align-content: start;
}

.product-benefits img {
  width: 42px;
  height: 42px;
}

.product-benefits figcaption {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.product-summary article {
  background: var(--paper);
  padding: 22px;
}

.product-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-summary p {
  margin: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 58px 0;
}

.product-packshot {
  display: grid;
  min-height: 330px;
  place-items: center;
  background: var(--charcoal);
  padding: 34px;
}

.product-packshot img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.product-packshot-exact {
  padding: 0;
  overflow: hidden;
}

.product-packshot-exact img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.product-packshot-cover {
  padding: 0;
  overflow: hidden;
}

.product-packshot-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.product-copy h3,
.technical-block h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.color-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.color-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
}

.color-grid figcaption {
  padding: 9px 10px;
  font-size: 0.86rem;
  font-weight: 650;
}
.technical-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 38px;
  padding: 0 0 clamp(58px, 8vw, 106px);
}
.maintenance-detail .product-summary {
  margin-bottom: clamp(34px, 4vw, 56px);
}

.maintenance-detail .technical-block {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.maintenance-detail .technical-block > div:first-child {
  padding-right: 34px;
}

.maintenance-detail .technical-grid {
  grid-column: 2 / span 2;
}

.laying-pattern {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: 38px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 106px);
}

.laying-pattern h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pattern-grid figure {
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}

.pattern-grid img {
  width: min(100%, 340px);
  object-fit: contain;
}

.pattern-grid figcaption {
  justify-self: stretch;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-align: center;
}


.pool-element-catalog {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 106px);
}

.pool-element-head {
  max-width: 820px;
  margin-bottom: 26px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.pool-element-head h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.pool-element-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pool-element-grid article,
.pool-profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.pool-element-grid article {
  display: grid;
  grid-template-rows: 150px auto auto;
  gap: 8px;
  padding: 18px;
}

.pool-element-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.pool-element-grid strong,
.pool-profile-card strong {
  color: var(--ink);
  font-weight: 800;
}

.pool-element-grid span,
.pool-profile-card span {
  color: var(--muted);
  line-height: 1.55;
}

.pool-element-grid small {
  color: var(--muted);
  font-size: 0.78rem;
}

.pool-profile-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
}

.pool-profile-card img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .pool-element-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pool-element-grid,
  .pool-profile-card {
    grid-template-columns: 1fr;
  }

  .pool-element-grid article {
    grid-template-rows: 130px auto auto;
  }

  .pool-element-grid img {
    height: 130px;
  }
}
.calculator-block {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(46px, 7vw, 88px);
}

.calculator-detail .calculator-block {
  padding-top: clamp(46px, 7vw, 82px);
}

.calculator-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) auto;
  gap: 26px;
  align-items: end;
  border-top: 4px solid var(--red);
  padding-top: 30px;
  margin-bottom: 24px;
}

.calculator-heading h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.calculator-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.calculator-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(0,0,0,0.1);
}

.calculator-frame iframe {
  display: block;
  width: 100%;
  height: min(1180px, 82vh);
  min-height: 760px;
  border: 0;
  background: #f6f3ee;
}

.calculator-guide {
  padding-top: 0;
}

.installation-guide {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 106px);
}

.installation-guide-heading {
  border-top: 4px solid var(--line);
  padding-top: 30px;
}

.installation-guide-heading h3 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.installation-guide-heading p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
}

.installation-accordion {
  margin-top: 30px;
  border-top: 1px solid var(--ink);
}

.installation-accordion details {
  border-bottom: 1px solid var(--ink);
}

.installation-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

.installation-accordion summary::-webkit-details-marker {
  display: none;
}

.installation-accordion summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.installation-accordion details[open] summary::after {
  transform: rotate(225deg);
}

.installation-accordion p {
  max-width: 900px;
  margin: 0;
  padding: 0 44px 24px 4px;
  color: var(--muted);
}

.installation-figure {
  max-width: 520px;
  margin: 0 44px 26px 4px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.installation-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.installation-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 44px 26px 4px;
}

.installation-figure-grid .installation-figure {
  max-width: none;
  margin: 0;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.technical-grid article {
  border-left: 3px solid var(--red);
  background: var(--paper);
  padding: 18px;
}

.technical-grid strong,
.technical-grid span {
  display: block;
}

.technical-grid strong {
  margin-bottom: 5px;
}

.technical-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.inspiration .section-heading { max-width: 900px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.project-grid article { border-left: 1px solid var(--line-dark); padding: 20px 18px; background: rgba(255,255,255,0.04); }

.catalog-block {
  color: var(--white);
}
.catalog-block h2 {
  color: var(--white);
}
.catalog-block p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255,255,255,0.78);
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.catalog-actions .button.dark-outline {
  border-color: rgba(255,255,255,0.42);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.catalog-actions .button.dark-outline:hover {
  border-color: var(--red);
  background: var(--red);
}
.catalog-viewer {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--charcoal);
  box-shadow: 0 18px 46px rgba(0,0,0,0.12);
}
.catalog-viewer iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: #0c0c0c;
}

.quote-form { display: grid; gap: 28px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 14px; font-size: 1.06rem; font-weight: 750; }
.form-grid { display: grid; gap: 16px; }
.two-columns { grid-template-columns: repeat(2, minmax(0,1fr)); }
label { display: grid; gap: 7px; }
label span { font-size: 0.9rem; font-weight: 650; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); background: #fbfaf8; color: var(--ink); padding: 10px 12px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(227,31,45,0.18); border-color: var(--red); }
.full-width { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: #fbfaf8; }
.checkbox-row input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--red); flex: 0 0 auto; }
.checkbox-row span { font-weight: 650; }
.is-hidden { display: none; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px clamp(18px, 4vw, 58px); background: var(--black); color: var(--white); }
.site-footer p { margin: 12px 0 0; color: var(--muted-dark); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 650; }

@media (max-width: 1000px) {
  .hero, .intro-grid, .catalog-block, .products-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { width: min(92vw, 520px); transform: none; margin: 22px auto 0; justify-self: center; }
  .filters { position: static; }
  .feature-band, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-hero,
  .product-showcase,
  .technical-block,
  .laying-pattern,
  .calculator-heading {
    grid-template-columns: 1fr;
  }
  .maintenance-detail .technical-grid {
    grid-column: auto;
  }
  .maintenance-detail .technical-block > div:first-child {
    padding-right: 0;
  }
  .calculator-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .topline { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: var(--black); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-products-toggle { padding: 12px 0; }
  .nav-products { padding: 0; }
  .nav-products-toggle { width: 100%; justify-content: space-between; }
  .product-mega-menu { position: static; grid-template-columns: 1fr; width: 100%; max-height: 0; overflow: hidden; padding: 0; margin: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; background: #121212; transition: max-height 0.24s ease, padding 0.24s ease; }
  .nav-products:hover .product-mega-menu, .nav-products:focus-within .product-mega-menu { max-height: 0; padding: 0; }
  .nav-products.is-open .product-mega-menu { max-height: 70vh; overflow: auto; padding: 10px 0 12px; border-top: 1px solid rgba(255,255,255,0.1); }
  .product-menu-categories { display: block; border-right: 0; padding: 0; gap: 0; }
  .product-menu-mobile-group { display: block; }
  .product-menu-category { padding: 12px; }
  .product-menu-mobile-panel { display: none; padding: 0 0 12px 12px; }
  .product-menu-mobile-panel.is-active { display: block; }
  .product-menu-category:hover, .product-menu-category.is-active { transform: none; }
  .product-menu-panels { display: none; }
  .product-menu-products { grid-template-columns: 1fr; max-height: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .feature-band, .project-grid, .product-grid, .two-columns { grid-template-columns: 1fr; }
  .product-summary,
  .color-grid,
  .technical-grid,
  .pattern-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main img {
    min-height: 300px;
  }
  .gallery-zoom {
    width: 40px;
    height: 40px;
  }
  .image-lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 10px;
    padding: 72px 14px 18px;
  }
  .image-lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .image-lightbox-figure img {
    max-height: 72vh;
  }
  .image-lightbox-prev,
  .image-lightbox-next {
    width: 100%;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .installation-accordion summary {
    align-items: flex-start;
  }
  .installation-accordion p {
    padding-right: 4px;
  }
  .installation-figure,
  .installation-figure-grid {
    margin-right: 4px;
  }
  .installation-figure-grid {
    grid-template-columns: 1fr;
  }
  .calculator-frame iframe {
    min-height: 680px;
  }
  .section-heading.compact { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .button, .quote-form button[type="submit"] { width: 100%; }
}

/* STAR STONE light product menu */
.product-mega-menu {
  background: linear-gradient(135deg, #f4f0ea 0%, #e9e2d8 100%);
  color: var(--ink);
  border: 1px solid rgba(22, 22, 22, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}
.product-menu-categories {
  border-right-color: rgba(22, 22, 22, 0.12);
  background: rgba(255, 255, 255, 0.24);
}
.product-menu-category {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(22, 22, 22, 0.14);
  color: rgba(20, 20, 20, 0.84);
}
.product-menu-category::after {
  color: var(--red);
}
.product-menu-category:hover,
.product-menu-category.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.product-menu-category:hover::after,
.product-menu-category.is-active::after {
  color: var(--white);
}
.product-menu-panels {
  background: rgba(255, 255, 255, 0.16);
}
.product-menu-panel h3 {
  color: var(--red);
}
.product-menu-overview {
  color: var(--ink);
  text-decoration-color: var(--red);
}
.product-menu-overview:hover {
  color: var(--red);
}
.product-menu-product {
  color: rgba(22, 22, 22, 0.84);
  border-bottom-color: rgba(22, 22, 22, 0.1);
}
.product-menu-product:hover {
  background: rgba(224, 29, 44, 0.08);
  color: var(--red);
}
@media (max-width: 760px) {
  .product-mega-menu {
    background: #f4f0ea;
    border-top-color: rgba(22, 22, 22, 0.12);
  }
  .product-menu-mobile-panel {
    background: rgba(255, 255, 255, 0.2);
  }
}
/* end STAR STONE light product menu */
/* Hero stone spacing guard */
.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  column-gap: clamp(76px, 8vw, 136px);
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 690px;
}
.hero h1 {
  max-width: 650px;
}
.hero-art {
  z-index: 1;
  width: min(42vw, 620px);
  justify-self: end;
  transform: translateX(clamp(64px, 6.6vw, 142px)) translateY(clamp(-18px, -1vw, -6px));
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .hero-copy,
  .hero h1 {
    max-width: 760px;
  }
  .hero-art {
    width: min(82vw, 520px);
    transform: none;
    justify-self: center;
  }
}
/* end Hero stone spacing guard */
/* Inspiration project selector */
.nav-inspiration {
  position: relative;
  padding: 15px 0;
}
.nav-inspiration-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.84);
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.nav-inspiration-toggle:hover,
.nav-inspiration.is-open .nav-inspiration-toggle {
  color: var(--white);
}
.inspiration-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 58;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 36px));
  padding: 14px;
  background: linear-gradient(135deg, #f4f0ea 0%, #e9e2d8 100%);
  border: 1px solid rgba(22,22,22,0.14);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-inspiration:hover .inspiration-menu,
.nav-inspiration:focus-within .inspiration-menu,
.nav-inspiration.is-open .inspiration-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.inspiration-menu-link {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(22,22,22,0.12);
  color: var(--ink);
  background: rgba(255,255,255,0.24);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.inspiration-menu-link span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.inspiration-menu-link strong {
  font-size: 0.96rem;
}
.inspiration-menu-link:hover {
  background: var(--red);
  color: var(--white);
  transform: translateX(3px);
}
.inspiration-menu-link:hover span {
  color: var(--white);
}
.project-grid button.project-card {
  display: block;
  width: 100%;
  min-height: 166px;
  border: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  padding: 22px 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.project-grid button.project-card:hover,
.project-grid button.project-card.is-active {
  border-color: var(--red);
  background: rgba(224,29,44,0.12);
  transform: translateY(-3px);
}
.project-grid button.project-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-grid button.project-card h3 {
  color: var(--white);
}
.project-grid button.project-card p {
  margin: 0;
  color: var(--muted-dark);
}
.inspiration-results {
  margin-top: clamp(28px, 5vw, 56px);
  scroll-margin-top: 100px;
}
.inspiration-results-heading {
  max-width: 760px;
  margin-bottom: 24px;
  border-left: 4px solid var(--red);
  padding-left: 22px;
}
.inspiration-results-heading h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-transform: uppercase;
}
.inspiration-results-heading p:not(.eyebrow) {
  color: var(--muted-dark);
}
.inspiration-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.inspiration-product-grid .product-image-link {
  position: relative;
}
.inspiration-card-name {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  max-width: calc(100% - 28px);
  background: rgba(17, 17, 17, 0.86);
  color: #fff;
  border-left: 3px solid var(--red);
  padding: 8px 10px;
  font-weight: 800;
  line-height: 1.05;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
@media (max-width: 1000px) {
  .inspiration-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .nav-inspiration { padding: 0; }
  .nav-inspiration-toggle { width: 100%; justify-content: space-between; padding: 12px 0; }
  .inspiration-menu { position: static; width: 100%; max-height: 0; overflow: hidden; padding: 0; margin: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; background: #f4f0ea; transition: max-height 0.24s ease, padding 0.24s ease; }
  .nav-inspiration:hover .inspiration-menu, .nav-inspiration:focus-within .inspiration-menu { max-height: 0; padding: 0; }
  .nav-inspiration.is-open .inspiration-menu { max-height: 70vh; overflow: auto; padding: 10px 0 12px; border-top: 1px solid rgba(22,22,22,0.12); }
  .inspiration-product-grid { grid-template-columns: 1fr; }
}
/* end Inspiration project selector */

/* STAR STONE ajánlati lista rendszer */
.offer-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(237, 28, 42, 0.85);
  background: #ed1c2a;
  color: #fff;
  padding: 14px 16px;
  font: 800 0.92rem Calibri, Arial, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  cursor: pointer;
}

body.offer-footer-visible .offer-float {
  bottom: clamp(84px, 7vw, 118px);
}

body.offer-footer-visible .offer-toast {
  bottom: clamp(150px, 10vw, 184px);
}

@media (max-width: 720px) {
  body.offer-footer-visible .offer-float {
    bottom: 86px;
  }

  body.offer-footer-visible .offer-toast {
    bottom: 148px;
  }
}
.offer-float strong {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  background: #111;
  color: #fff;
  border-radius: 50%;
}
.offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.offer-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, 100vw);
  z-index: 1510;
  background: #101010;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -26px 0 70px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}
.offer-drawer.is-open {
  transform: translateX(0);
}
.offer-drawer-head,
.offer-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.offer-drawer-head h2,
.offer-modal-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
}
.offer-eyebrow {
  margin: 0 0 8px;
  color: #ed1c2a;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.offer-icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.offer-drawer-body {
  overflow: auto;
  padding: 24px 28px 34px;
}
.offer-empty {
  border-left: 4px solid #ed1c2a;
  background: rgba(255,255,255,0.06);
  padding: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
}
.offer-list {
  display: grid;
  gap: 14px;
}
.offer-item {
  background: #f5f2ed;
  color: #151515;
  padding: 18px;
  border-left: 4px solid #ed1c2a;
}
.offer-item-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.offer-item-head p {
  margin: 0 0 4px;
  color: #ed1c2a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.offer-item-head h3 {
  margin: 0;
  color: #111;
  font-size: 1.18rem;
}
.offer-remove {
  align-self: flex-start;
  border: 1px solid rgba(17,17,17,0.18);
  background: transparent;
  color: #111;
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
}
.offer-calculated-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.offer-calculated-meta strong,
.offer-calculated-meta span {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 7px 9px;
  font-size: 0.82rem;
}
.offer-item-grid,
.offer-add-form,
.offer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.offer-item label,
.offer-add-form label,
.offer-request-form label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-weight: 800;
  font-size: 0.84rem;
}
.offer-item input,
.offer-item select,
.offer-item textarea,
.offer-add-form input,
.offer-add-form select,
.offer-add-form textarea,
.offer-request-form input,
.offer-request-form select,
.offer-request-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  color: #111;
  padding: 10px 11px;
  font: 500 0.95rem Calibri, Arial, sans-serif;
}
.offer-request-form input,
.offer-request-form select,
.offer-request-form textarea {
  border-color: rgba(255,255,255,0.18);
  background: #181818;
  color: #fff;
}
.offer-wide {
  grid-column: 1 / -1;
}
.offer-address-title {
  margin: 4px 0 -2px;
  color: #ed1b2f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.offer-actions,
.offer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.offer-request-form {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.68);
}
.offer-modal[hidden] {
  display: none;
}
.offer-modal-card {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #101010;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.offer-add-form {
  padding: 24px 28px 28px;
}
.offer-toast {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: 92px;
  z-index: 1700;
  max-width: min(420px, calc(100vw - 32px));
  background: #f5f2ed;
  color: #111;
  border-left: 4px solid #ed1c2a;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  padding: 14px 16px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.offer-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.offer-drawer-open,
body.offer-modal-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .offer-drawer {
    width: 100vw;
  }
  .offer-drawer-head,
  .offer-modal-head,
  .offer-drawer-body,
  .offer-add-form {
    padding-left: 18px;
    padding-right: 18px;
  }
  .offer-item-grid,
  .offer-add-form,
  .offer-form-grid {
    grid-template-columns: 1fr;
  }
  .offer-float {
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }
}
.offer-drawer,
.offer-modal,
.offer-toast,
.offer-float {
  font-family: Calibri, Arial, sans-serif;
}
.offer-drawer h2,
.offer-modal h2,
.offer-drawer h3,
.offer-modal h3,
.offer-drawer label,
.offer-modal label,
.offer-drawer button,
.offer-modal button {
  font-family: Calibri, Arial, sans-serif;
  letter-spacing: 0;
}
/* end STAR STONE ajánlati lista rendszer */



/* Kompakt inspirációs indexek */
.inspiration-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.inspiration-product-grid .product-card {
  min-height: 0;
}
.inspiration-product-grid .product-card-image {
  height: clamp(120px, 14vw, 170px);
}
.inspiration-product-grid .product-content {
  padding: 12px 14px 14px;
  min-height: 0;
}
.inspiration-product-grid .product-content p,
.inspiration-product-grid .card-benefits {
  display: none;
}
.inspiration-product-grid .product-content h3 {
  display: none;
}
.inspiration-product-grid .product-content .category {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
}
.inspiration-product-grid .product-content a {
  font-size: 0.88rem;
}
.inspiration-product-grid .product-content a::after {
  height: 1px;
}
.inspiration-card-name {
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  font-size: 0.9rem;
}
@media (max-width: 1120px) {
  .inspiration-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .inspiration-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inspiration-product-grid .product-card-image {
    height: 130px;
  }
}
@media (max-width: 520px) {
  .inspiration-product-grid {
    grid-template-columns: 1fr;
  }
}


/* STAR STONE kapcsolatfelvétel */
.contact-section {
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-copy {
  border-left: 4px solid var(--red);
  padding-left: 24px;
}
.contact-copy p:not(.eyebrow) {
  max-width: 560px;
}
.contact-form {
  display: grid;
  gap: 18px;
  background: #f4f0ea;
  border: 1px solid #ded6ca;
  padding: clamp(20px, 3vw, 34px);
}
.contact-form .full-width {
  grid-column: 1 / -1;
}
.contact-form button[type="submit"] {
  justify-self: start;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .contact-form button[type="submit"] {
    width: 100%;
  }
}


/* STAR STONE fájlcsatolás */
input[type="file"] {
  padding: 9px 10px;
  background: #fff;
}
.offer-file-note,
.form-note {
  margin: -4px 0 4px;
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
}
.contact-form .form-note {
  color: #6b6258;
}
.offer-attachments {
  padding: 10px 12px;
  background: rgba(237,28,42,0.08);
  border-left: 3px solid var(--red);
  color: #222;
  font-size: 0.9rem;
}

/* STAR STONE több elem mennyiség */
.offer-variant-quantities {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}
.offer-variant-quantities[hidden] {
  display: none;
}
.offer-variant-head {
  display: grid;
  gap: 3px;
  color: #fff;
}
.offer-variant-head strong {
  font-size: 0.95rem;
}
.offer-variant-head span {
  color: rgba(255,255,255,0.66);
  font-size: 0.86rem;
}
.offer-variant-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px !important;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111;
}
.offer-variant-row span {
  display: grid;
  gap: 2px;
}
.offer-variant-row strong {
  color: #fff;
  font-size: 0.95rem;
}
.offer-variant-row small {
  color: rgba(255,255,255,0.58);
  font-size: 0.78rem;
}
@media (max-width: 640px) {
  .offer-variant-row {
    grid-template-columns: 1fr;
  }
}


.offer-variant-row.has-unit {
  grid-template-columns: minmax(0, 1fr) 120px 90px;
}
.offer-variant-row select {
  width: 100%;
  min-height: 42px;
}
.offer-pallet-meta {
  margin-top: 8px;
}
.offer-item input[readonly] {
  background: #f4f1ec;
  color: #222;
}




.offer-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.button.is-loading,
.quote-form button.is-loading,
.offer-drawer button.is-loading {
  position: relative;
  gap: 10px;
  opacity: 0.92;
}

.button.is-loading::after,
.quote-form button.is-loading::after,
.offer-drawer button.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: starstone-spin 0.75s linear infinite;
}

@keyframes starstone-spin {
  to { transform: rotate(360deg); }
}
.privacy-section {
  background: #f4f1eb;
  color: var(--ink);
}

.privacy-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.privacy-heading h2 {
  color: var(--ink);
}

.privacy-effective {
  color: #6d665e;
  font-weight: 650;
}

.privacy-panel {
  display: grid;
  gap: 10px;
}

.privacy-panel details {
  background: #fff;
  border-left: 4px solid var(--red);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.privacy-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
  padding: 18px 22px;
}

.privacy-panel summary::-webkit-details-marker {
  display: none;
}

.privacy-panel summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-weight: 900;
}

.privacy-panel details[open] summary::after {
  content: "-";
}

.privacy-content {
  border-top: 1px solid #e3ddd3;
  padding: 18px 22px 22px;
}

.privacy-content p,
.privacy-content li {
  color: #4a443d;
  line-height: 1.65;
}

.privacy-content h3 {
  color: var(--ink);
  font-size: 1rem;
  margin: 18px 0 8px;
  text-transform: none;
}

.privacy-content ul {
  margin: 8px 0 14px 18px;
  padding: 0;
}

.privacy-content a {
  color: var(--red);
  font-weight: 750;
}
.privacy-frame {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 1px solid #ded7cd;
  background: #f4f1eb;
}

