/* Acrilum additions for NovaShop. Keep theme files unchanged. */
.pa-faq {
  padding: 42px 50px;
  border-radius: 22px;
  background: #eaf2f0;
}

.pa-faq h2 {
  margin: 0 0 24px;
  color: #183a3e;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
}

.pa-faq details {
  margin: 10px 0;
  padding: 0 22px;
  border: 1px solid #d5e4e1;
  border-radius: 14px;
  background: #fff;
}

.pa-faq summary {
  position: relative;
  padding: 19px 34px 19px 0;
  color: #183a3e;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.pa-faq summary::-webkit-details-marker { display: none; }

.pa-faq summary::after {
  position: absolute;
  right: 0;
  top: 16px;
  color: #0f6268;
  content: '+';
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.pa-faq details[open] summary::after { content: '−'; }

.pa-faq details p {
  max-width: 900px;
  margin: 0;
  padding: 0 0 20px;
  color: #486260;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .pa-faq { padding: 28px 20px; border-radius: 18px; }
  .pa-faq h2 { margin-bottom: 20px; }
  .pa-faq details { padding: 0 16px; }
  .pa-faq summary { font-size: 15px; }
}

/* Shop-Script information pages. */
.pa-info-page {
  width: 100%;
  margin: 0;
  color: #334e4c;
  font-size: 16px;
  line-height: 1.7;
}

.pa-info-page .pa-lead {
  margin: 0 0 22px;
  color: #183a3e;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.5;
}

.pa-info-page .pa-info-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: 36px;
}
.pa-info-page .pa-info-intro__copy { min-width: 0; }
.pa-info-page figure { margin: 0; }
.pa-info-page figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
.pa-info-page figcaption {
  margin-top: 9px;
  color: #718985;
  font-size: 13px;
}
.pa-info-page h2 {
  margin: 28px 0 10px;
  color: #183a3e;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.25;
}
.pa-info-page .pa-info-intro h2 { margin-top: 0; }
.pa-info-page > h2,
.pa-info-page > p,
.pa-info-page > ul { max-width: 1150px; }
.pa-info-page p { margin: 0 0 18px; }
.pa-info-page ul { padding-left: 24px; margin: 0 0 24px; }
.pa-info-page li { margin: 0 0 8px; }
.pa-info-page .pa-info-cta {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #0f6268;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.pa-info-page .pa-info-cta:hover { background: #0b5056; color: #fff; }

.pa-contact-grid { display: grid; gap: 12px; margin: 0 0 24px; }
.pa-contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
  padding: 14px 18px;
  border: 1px solid #dce9e6;
  border-radius: 12px;
  background: #f4f8f6;
}
.pa-contact-card span { color: #607a76; font-size: 14px; }
.pa-contact-card strong { color: #0f6268; font-size: 16px; }

.pa-info-page .pa-test-note {
  max-width: none;
  margin: 0 0 28px;
  padding: 16px 20px;
  border-left: 4px solid #54c9bd;
  border-radius: 10px;
  background: #eaf2f0;
  color: #254744;
  font-size: 15px;
  line-height: 1.55;
}
.pa-legal-page > h2,
.pa-legal-page > p:not(.pa-test-note) { max-width: 1150px; }

@media (max-width: 767px) {
  .pa-info-page { font-size: 15px; line-height: 1.65; }
  .pa-info-page .pa-info-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 26px;
  }
  .pa-info-page figure img { border-radius: 14px; }
  .pa-info-page h2 { margin-top: 26px; }
}

/* Vertically center the header caption beside the logo. */
.header-middle-bar__container-logo-desc {
  display: flex;
  align-items: center;
  align-self: center;
  min-height: 36px;
  line-height: 1.25;
}

.pa-developer-credit {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  color: #eaf2f0;
  text-decoration: none;
  white-space: nowrap;
}
.pa-developer-credit:hover { color: #54c9bd; }
.pa-developer-credit__name { font-size: 15px; font-weight: 700; line-height: 1.2; }
.pa-developer-credit__description { color: #a8c5c1; font-size: 12px; line-height: 1.3; }

.pa-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.pa-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}
.pa-footer-legal a {
  color: #c7ddda;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}
.pa-footer-legal a:hover { color: #54c9bd; }
@media (max-width: 767px) {
  .pa-footer-meta,
  .pa-footer-legal { justify-content: flex-start; }
  .pa-footer-meta { align-items: flex-start; flex-direction: column; }
}

/* Give every catalog tile the same landscape picture window. */
.pa-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0 22px; }
.pa-project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce9e6; border-radius: 18px; background: #fff; color: #183a3e; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.pa-project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(15,98,104,.12); color: #183a3e; }
.pa-project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pa-project-card span { margin: 20px 20px 8px; color: #0f6268; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pa-project-card strong { margin: 0 20px 18px; font-size: 21px; line-height: 1.3; }
.pa-project-card small { margin: auto 20px 22px; color: #0f6268; font-size: 14px; font-weight: 700; }
.pa-project-note { color: #718985; font-size: 13px; }
.pa-project-detail figure img { aspect-ratio: 4 / 3; }
.pa-project-back { display: inline-block; margin-left: 22px; color: #0f6268; font-weight: 700; }
.pa-project-carousel { margin: 26px 0; padding: clamp(24px, 3vw, 48px); border-radius: 22px; background: #eaf2f0; }
.pa-project-carousel__header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.pa-project-carousel__header span { color: #0f6268; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pa-project-carousel__header h2 { margin: 5px 0 0; color: #183a3e; font-size: clamp(25px, 2.4vw, 34px); }
.pa-project-carousel__header a { color: #0f6268; font-weight: 700; text-decoration: none; }
.pa-project-carousel__track { display: flex; gap: 20px; overflow-x: auto; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: #77b8b1 transparent; }
.pa-project-carousel__track .pa-project-card { flex: 0 0 min(360px, 82vw); scroll-snap-align: start; }
.pa-project-carousel__nav { display: flex; gap: 8px; margin: 5px 0 12px; }
.pa-project-carousel__nav a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b5d6d0; border-radius: 50%; color: #0f6268; font-size: 12px; font-weight: 700; text-decoration: none; }
.pa-project-carousel__nav a:hover { background: #0f6268; color: #fff; }
@media (max-width: 800px) { .pa-project-grid { grid-template-columns: 1fr; } .pa-project-back { margin: 18px 0 0; } }
@media (max-width: 600px) { .pa-project-carousel__header { display: block; } .pa-project-carousel__header a { display: inline-block; margin-top: 12px; } }

.product-thumb__image-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf2f0;
}
.product-thumb__image-box .product-thumb__image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

/* Keep the full acrylic assembly visible throughout the animation. */
.home-about__img-block {
  overflow: hidden;
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  background: #e7f2ee;
}
.home-about__img-block img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* Category copy and independent Acrilum product selectors. */
.pa-category-copy { max-width: 1080px; margin: 34px auto; color: #3f5b58; font-size: 16px; line-height: 1.7; }
.pa-category-copy h2 { margin: 0 0 14px; color: #173e41; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; }
.pa-category-copy p { margin: 0 0 16px; }
.pa-category-copy a { color: #0f6268; font-weight: 700; text-underline-offset: 3px; }

.pa-calc {
  margin: 40px 0;
  scroll-margin-top: 112px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid #dce9e6;
  border-radius: 24px;
  background: #f5f8f6;
  color: #173e41;
  box-shadow: 0 14px 40px rgba(16, 83, 84, .05);
}
.pa-calc__eyebrow { display: block; margin-bottom: 8px; color: #0f6268; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pa-calc__intro h2 { margin: 0 0 10px; color: #173e41; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.2; }
.pa-calc__intro p { max-width: 800px; margin: 0 0 28px; color: #55716d; font-size: 16px; line-height: 1.55; }
.pa-calc__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(20px, 3vw, 40px); }
.pa-calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pa-calc__fields label { display: flex; flex-direction: column; gap: 7px; color: #375d59; font-size: 14px; font-weight: 650; }
.pa-calc__fields label[hidden] { display: none; }
.pa-calc__fields input,
.pa-calc__fields select {
  width: 100%; min-height: 47px; padding: 10px 13px;
  border: 1px solid #c9dbd7; border-radius: 10px;
  background: #fff; color: #183a3e; font: inherit; font-size: 16px;
}
.pa-calc__fields input:focus,
.pa-calc__fields select:focus { outline: 2px solid #54c9bd; outline-offset: 1px; }
.pa-calc__faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 23px 0 0; padding: 0; border: 0; }
.pa-calc__faces legend { margin-bottom: 12px; color: #173e41; font-size: 16px; font-weight: 700; }
.pa-calc__faces label,
.pa-calc__toggle { display: flex; align-items: center; gap: 7px; cursor: pointer; color: #375d59; font-size: 14px; line-height: 1.35; }
.pa-calc input[type="checkbox"] { accent-color: #0f6268; width: 17px; height: 17px; flex: none; }
.pa-calc__result { padding: 20px; border-radius: 18px; background: #e5f0ed; }
.pa-calc__diagram { position: relative; display: grid; place-items: center; height: 235px; margin-bottom: 20px; overflow: hidden; border-radius: 13px; background: radial-gradient(circle at 52% 35%, #fff 0, #f1f8f6 50%, #d5e7e2 100%); }
.pa-calc__diagram--box svg { width: min(92%, 350px); max-height: 90%; overflow: visible; filter: drop-shadow(0 12px 8px rgba(15, 98, 104, .12)); }
.pa-calc__diagram--box polygon { fill: rgba(112, 207, 196, .22); stroke: #0f6268; stroke-width: 2.5; stroke-linejoin: round; transition: opacity .25s ease; }
.pa-calc__diagram--box polygon.is-off { opacity: .08; }
.pa-calc__diagram--box polygon[data-panel="top"] { fill: rgba(255,255,255,.38); }
.pa-calc__metric-label { display: block; color: #56736e; font-size: 13px; font-weight: 650; }
.pa-calc__metric { display: block; margin: 4px 0 10px; color: #0c555b; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; }
.pa-calc__details { min-height: 44px; margin: 0 0 12px; color: #294d49; font-size: 14px; line-height: 1.5; }
.pa-calc__notice,
.pa-calc__helper { margin: 0 0 20px; color: #627c76; font-size: 13px; line-height: 1.5; }
.pa-calc__button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 10px; background: #0f6268; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.pa-calc__button:hover { background: #0b5056; }
.pa-calc__toggle { margin: 22px 0 10px; }
.pa-calc__sphere-shape { position: absolute; top: 43px; width: 156px; height: 156px; border: 3px solid #0f6268; border-radius: 50% 50% 10% 10% / 100% 100% 5% 5%; background: linear-gradient(125deg, rgba(255,255,255,.8), rgba(90,190,186,.2) 45%, rgba(15,98,104,.12)); box-shadow: inset -20px -12px 25px rgba(18,99,104,.1), 0 14px 28px rgba(15,98,104,.13); transition: border-radius .3s ease, background .3s ease; }
.pa-calc__sphere-base { position: absolute; top: 197px; width: 178px; height: 12px; border: 2px solid #0f6268; border-radius: 50%; background: rgba(255,255,255,.5); opacity: 0; transition: opacity .3s ease; }
.pa-calc.has-flange .pa-calc__sphere-base { opacity: 1; }
.pa-calc.is-full .pa-calc__sphere-shape { border-radius: 50%; }
.pa-calc.is-milky .pa-calc__sphere-shape { background: linear-gradient(130deg, #fff, #dcebe8 70%, #b4d3ce); }
.pa-calc.is-colored .pa-calc__sphere-shape { background: linear-gradient(130deg, #e8f8f5, #78cfc4 60%, #0f6268); }
@media (max-width: 800px) {
  .pa-calc__layout { grid-template-columns: 1fr; }
  .pa-calc__faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .pa-calc { padding: 20px; border-radius: 18px; }
  .pa-calc__fields { grid-template-columns: 1fr; }
  .pa-calc__result { padding: 16px; }
}

/* Heading for the native NovaShop project gallery on the homepage. */
.page_blocks .banners-holder::before {
  content: "Реализованные проекты";
  display: block;
  padding: 24px 24px 0;
  border-radius: 22px 22px 0 0;
  background: #fff;
  color: #183a3e;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 750;
  line-height: 1.2;
}
.page_blocks .banners-holder .banners {
  border-radius: 0 0 22px 22px;
}

/* The entire homepage project card opens its project; the gradient keeps titles legible. */
.page_blocks .banners-holder .banner {
  position: relative;
  overflow: hidden;
}
.page_blocks .banners-holder .banner::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(7, 31, 35, .82));
}
.page_blocks .banners-holder .banner__content {
  position: static;
}
.page_blocks .banners-holder .banner__title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}
.page_blocks .banners-holder .banner__title:hover,
.page_blocks .banners-holder .banner__title:focus-visible {
  color: #fff;
}


/* Acrilum 18.11.2026: product photos fill the entire 4:3 card. */
.product-thumb__image-box .product-thumb__gallery-d,
.product-thumb__image-box .product-thumb__gallery-image {
  width: 100%;
  height: 100%;
  max-width: none;
}
.product-thumb__image-box .product-thumb__gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
