:root {
  --dato-red: #ef1515;
  --dato-red-dark: #d90f0f;
  --dato-text: #17191c;
  --dato-muted: #62666d;
  --dato-line: #e5e7eb;
  --dato-soft: #f7f8fa;
  --dato-orange: #f6a028;
  --dato-dark: #383838;
  --dato-green: #24c65a;
}

.dato-product-template {
  width: 100%;
  color: var(--dato-text);
  font-size: 15px;
  line-height: 1.55;
}

.dato-product-template *,
.dato-product-template *::before,
.dato-product-template *::after { box-sizing: border-box; }

.dato-product-template button,
.dato-product-template input,
.dato-product-template textarea { font: inherit; }

.dato-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
  margin-bottom: 42px;
}

.dato-gallery-column { min-width: 0; }

.dato-main-image-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  border: 1px solid #eeeeef;
  border-radius: 9px;
}

.dato-main-product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dato-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.dato-thumb {
  appearance: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #e4e6e9;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.dato-thumb:hover,
.dato-thumb.is-active {
  border-color: var(--dato-red);
  box-shadow: 0 0 0 1px var(--dato-red);
}

.dato-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.dato-product-summary { padding-top: 3px; min-width: 0; }

.dato-product-title {
  margin: 0 0 12px !important;
  color: #0c0d0f;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: .98 !important;
  letter-spacing: -1.6px;
  font-weight: 800 !important;
}

.dato-product-short-description {
  margin-top: 16px;
  color: #4e5156;
  font-size: 16px;
  line-height: 1.45;
}
.dato-product-short-description p { margin: 0 0 12px; }
.dato-product-short-description p:last-child { margin-bottom: 0; }

.dato-available-packs { margin-top: 36px; }
.dato-available-packs h3 { margin: 0 0 12px !important; font-size: 16px !important; line-height: 1.25; }
.dato-pack-list { display: flex; flex-wrap: wrap; gap: 12px; }
.dato-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 45px;
  padding: 8px 16px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  background: #fff;
  color: #1c1e21;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(20,24,28,.03);
}

.dato-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.dato-document-card {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid #dfe2e6;
  border-radius: 6px;
  background: #fff;
  color: var(--dato-text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20,24,28,.03);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dato-document-card:hover { border-color: #cfd3d8; transform: translateY(-1px); box-shadow: 0 5px 16px rgba(20,24,28,.06); }
.dato-document-icon { width: 31px; height: 31px; display: grid; place-items: center; color: var(--dato-red); }
.dato-document-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dato-document-copy { display: grid; gap: 3px; min-width: 0; }
.dato-document-copy strong { font-size: 13px; line-height: 1.25; }
.dato-document-copy small { color: #6c7076; font-size: 11px; }
.dato-document-arrow { color: #121315; display: grid; place-items: center; }
.dato-document-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dato-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dato-action-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 0;
  border-radius: 4px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.dato-action-button:hover { color: #fff !important; filter: brightness(.96); transform: translateY(-1px); }
.dato-action-button span { width: 17px; height: 17px; display: inline-grid; place-items: center; flex: 0 0 17px; }
.dato-action-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dato-catalogue-button { background: var(--dato-orange); }
.dato-quote-button { background: var(--dato-dark); }
.dato-whatsapp-button { background: var(--dato-green); }

.dato-section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  margin: 0 0 12px;
  padding: 0 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 5px 18px rgba(20,24,28,.05);
  backdrop-filter: blur(8px);
}
.dato-section-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }


body.admin-bar .dato-section-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .dato-section-nav { top: 46px; }
}
.dato-section-nav button {
  appearance: none;
  position: relative;
  min-width: 125px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #3f4349;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.dato-section-nav button::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: transparent; border-radius: 3px 3px 0 0; }
.dato-section-nav button.is-active { color: var(--dato-red); }
.dato-section-nav button.is-active::after { background: var(--dato-red); }
.dato-section-nav button span { width: 18px; height: 18px; display: inline-grid; place-items: center; }
.dato-section-nav button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.dato-product-sections { display: grid; gap: 12px; }
.dato-info-card {
  scroll-margin-top: 82px;
  padding: 23px 27px 25px;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(30,35,40,.035);
}
.dato-info-card h2 { margin: 0 0 15px !important; color: #202226; font-size: 20px !important; line-height: 1.25; font-weight: 700 !important; }
.dato-richtext { color: #45484e; font-size: 15px; line-height: 1.55; }
.dato-richtext > :first-child { margin-top: 0; }
.dato-richtext > :last-child { margin-bottom: 0; }
.dato-richtext p { margin: 0 0 14px; }
.dato-richtext ul, .dato-richtext ol { margin: 0 0 14px 1.2em; padding: 0; }
.dato-richtext table { width: 100%; border-collapse: collapse; margin: 8px 0 3px; background: #fff; }
.dato-richtext table th, .dato-richtext table td { padding: 9px 10px; border: 1px solid #d9dde2; text-align: left; vertical-align: top; }
.dato-richtext table th { background: #f5f6f7; font-weight: 700; }
.dato-specification-content { overflow-x: auto; }

.dato-faq-list { display: flex; gap: 18px; align-items: flex-start; }
.dato-faq-column { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dato-faq-item { min-width: 0; }
.dato-faq-question {
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #e1e4e8;
  border-radius: 5px;
  background: #fbfbfc;
  color: #282b30;
  text-align: left;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
}
.dato-faq-question:hover { background: #f7f8f9; }
.dato-plus { width: 20px; height: 20px; display: grid; place-items: center; color: var(--dato-red); transition: transform .2s ease; }
.dato-plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.dato-faq-question[aria-expanded="true"] .dato-plus { transform: rotate(45deg); }
.dato-faq-answer { padding: 10px 12px 13px; border: 1px solid #e1e4e8; border-top: 0; border-radius: 0 0 5px 5px; color: #555a61; font-size: 13px; }
.dato-faq-answer p:last-child { margin-bottom: 0; }

.dato-modal[hidden] { display: none !important; }
html.dato-modal-open { overflow: hidden; }
.dato-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 20px; }
.dato-modal-backdrop { position: absolute; inset: 0; background: rgba(12,15,20,.62); }
.dato-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 75px rgba(0,0,0,.25);
}
.dato-modal-dialog h2 { margin: 0 38px 6px 0 !important; font-size: 25px !important; line-height: 1.15; }
.dato-modal-dialog > p { margin: 0 0 18px; color: #676b71; font-size: 14px; }
.dato-modal-close { position: absolute; top: 13px; right: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #f2f3f4; color: #202226; font-size: 24px; line-height: 1; cursor: pointer; }
.dato-modal form { display: grid; gap: 13px; }
.dato-modal label { display: grid; gap: 5px; margin: 0; }
.dato-modal label span { color: #292c30; font-size: 13px; font-weight: 700; }
.dato-modal label em { color: var(--dato-red); font-style: normal; }
.dato-modal input,
.dato-modal textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8dce1; border-radius: 5px; background: #fff; color: #202226; outline: none; }
.dato-modal textarea { min-height: 110px; resize: vertical; }
.dato-modal input:focus,
.dato-modal textarea:focus { border-color: var(--dato-red); box-shadow: 0 0 0 2px rgba(239,21,21,.08); }
.dato-submit-button { width: 100%; min-height: 47px; margin-top: 3px; padding: 10px 16px; border: 0; border-radius: 5px; background: var(--dato-red); color: #fff; font-weight: 700; cursor: pointer; }
.dato-submit-button:hover { background: var(--dato-red-dark); }
.dato-submit-button:disabled { opacity: .7; cursor: wait; }
.dato-form-message { display: none; padding: 9px 11px; border-radius: 5px; font-size: 13px; }
.dato-form-message.is-success { display: block; background: #edf9f0; color: #1e7636; }
.dato-form-message.is-error { display: block; background: #fff0f0; color: #b31313; }
.dato-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.dato-download-frame { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }

@media (max-width: 1024px) {
  .dato-product-hero { gap: 30px; }
  .dato-product-title { font-size: clamp(32px, 5vw, 45px) !important; }
  .dato-action-buttons { grid-template-columns: 1fr; }
  .dato-section-nav { grid-template-columns: repeat(6, max-content); justify-content: start; }
}

@media (max-width: 767px) {
  .dato-product-template { font-size: 14px; }
  .dato-product-hero { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .dato-product-summary { padding-top: 0; }
  .dato-product-title { margin-bottom: 11px !important; font-size: 34px !important; line-height: 1.05 !important; letter-spacing: -.7px; }
  .dato-product-short-description { margin-top: 10px; font-size: 14px; }
  .dato-product-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dato-product-thumbnails::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .dato-thumb { flex: 0 0 calc((100% - 24px) / 4); width: calc((100% - 24px) / 4); scroll-snap-align: start; }
  .dato-available-packs { margin-top: 24px; }
  .dato-pack-list { gap: 8px; }
  .dato-pack { min-width: 54px; min-height: 41px; padding: 7px 12px; font-size: 14px; }
  .dato-document-grid { grid-template-columns: 1fr; margin-top: 18px; }
  .dato-action-buttons { grid-template-columns: 1fr; }
  .dato-action-button { min-height: 46px; }
  .dato-section-nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-start;
    margin-left: -2px;
    margin-right: -2px;
    padding: 0 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    border-radius: 6px;
  }
  .dato-section-nav button { flex: 0 0 auto; min-width: 132px; min-height: 52px; padding: 8px 12px; font-size: 12px; scroll-snap-align: start; }
  .dato-info-card { scroll-margin-top: 72px; padding: 18px 17px 20px; }
  .dato-info-card h2 { font-size: 18px !important; margin-bottom: 12px !important; }
  .dato-richtext { font-size: 14px; }
  .dato-faq-list { display: block; }
  .dato-faq-column { display: contents; }
  .dato-faq-item + .dato-faq-item { margin-top: 8px; }
  .dato-modal { padding: 12px; align-items: end; }
  .dato-modal-dialog { width: 100%; max-height: 90vh; padding: 23px 18px 20px; border-radius: 12px 12px 6px 6px; }
  .dato-modal-dialog h2 { font-size: 22px !important; }
}
