body {
  --fs-page-navy: #003058;
  --fs-page-blue: #0054b7;
  --fs-page-accent: #bd3800;
  --fs-page-ink: #374e64;
  --fs-page-border: #d7e5ef;
  --fs-page-mist: #eef5f8;
  --fs-page-field: #f8fbfe;
  --fs-page-space: 72px;
}

body #banner-topo,
body #banner-topo-post {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 320px;
  height: auto;
  padding: 64px 0;
  background-color: var(--fs-page-navy);
}

body #banner-topo .overlay,
body #banner-topo-post .overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,25,52,.9), rgba(0,34,66,.65) 58%, rgba(0,34,66,.32));
  opacity: 1;
}

body #banner-topo :is(h1, h2, h3),
body #banner-topo-post .single-post-title {
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

body #banner-topo h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.14;
  font-weight: 700;
}

body #banner-topo h1 strong { color: inherit; }
body.page-template-black-friday-sale #banner-topo { padding: 76px 0; }
body #title-build { position: relative; }
body #banner-topo #title-build :is(h1, h2, h3) { width: auto; }
body #banner-topo #title-build h2 { margin-top: 16px; }
body #banner-topo #title-build ul { margin-bottom: 0; }

body :is(#steps, #specs, #specs-page, #main-store, #builders, #get-in-touch) {
  margin-block: var(--fs-page-space);
}

body :is(.title-step-choose h2, .title-model-description h3, .title-step-size h3, .title-step-form h3,
  .title-specs h3, .title-store h2, .title-builders h3, .title-get h3,
  #about-kisol .title-about h2, .quote-text h4, .woocommerce-products-header__title) {
  color: var(--fs-page-navy);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

body #steps .design-pool {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  background: #fff;
}

body #steps .design-pool:hover { border-color: var(--fs-page-blue); }
body #steps .tag-name-pool p { padding: 5px 0; color: var(--fs-page-navy); overflow-wrap: anywhere; }
body #steps .img-pool-model { background: var(--fs-page-mist); border-radius: 4px; overflow: hidden; }
body #steps .img-pool-model img { display: block; width: 100%; height: auto; }

body .photos-model-description ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

body .photos-model-description ul li { width: auto; height: auto; aspect-ratio: 5 / 3; }
body .photos-model-description img { display: block; border-radius: 8px; }
body .pool-size.active { padding: 18px; border: 1px solid var(--fs-page-border); border-radius: 8px; background: var(--fs-page-mist); }
body .pool-size input[type="radio"] { accent-color: var(--fs-page-blue); }
body .pool-size label { margin-block: 5px; }
body .pool-spec { margin-bottom: 10px; }

body .title-pool-accordion {
  min-height: 48px;
  gap: 12px;
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  background: var(--fs-page-mist);
  color: var(--fs-page-navy);
}

body .title-pool-accordion:is(.active, :hover) { background: var(--fs-page-blue); color: #fff; }
body .content-pool-accordion :is(th, td) { border-color: var(--fs-page-border); color: var(--fs-page-navy); }
body .content-pool-accordion th { background: var(--fs-page-field); }
body #about-kisol { padding-block: var(--fs-page-space); background: var(--fs-page-mist); }
body #about-kisol .video-about iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; }
body #main-store .map-stores { border-radius: 8px; }
body #main-store .list-stores li { color: var(--fs-page-ink); }

body :is(#get-in-touch .form-contact, #steps .form-contact, .quote-catalog .form-contact) {
  background: #fff;
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(0,48,88,.08);
}

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7-form-control-wrap { min-width: 0; }
body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .row-form p { gap: 14px; }
body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .row-form p > br { display: none; }

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 :is(.wpcf7-text:not([type=hidden]), .wpcf7-textarea, .wpcf7-select) {
  min-height: 46px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #b9cddd;
  border-radius: 8px;
  background: var(--fs-page-field);
  color: var(--fs-page-navy);
}

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 .wpcf7-textarea {
  height: 116px;
  resize: vertical;
}

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 [aria-invalid="true"] { border-color: #ac2929; }
body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--fs-page-blue);
  outline-offset: 1px;
}

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 .wpcf7-submit,
body #about-kisol .button-about a,
body .post-loop .lm-ntn a,
body .catalog-view #filtrar-mobile {
  min-height: 44px;
  max-width: 100%;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--fs-page-accent);
  color: #fff;
  font-weight: 600;
  text-transform: none;
}

body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .wpcf7 .wpcf7-submit:hover,
body #about-kisol .button-about a:hover,
body .post-loop .lm-ntn a:hover,
body .catalog-view #filtrar-mobile:hover { background: var(--fs-page-navy); color: #fff; }

body :is(.post-loop, #conteudo-dentro-post, #privacy-policy, #terms-conditions) { color: var(--fs-page-ink); }
body .post-loop .box-conteudo-blog-list-conteudo {
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,48,88,.07);
}

body .post-loop .box-conteudo-blog-list-top-titulo h3 a { color: var(--fs-page-navy); }
body .post-loop .lm-ntn a { display: inline-flex; align-items: center; text-decoration: none; }
body .post-loop .lm-ntn a button { padding: 0; border: 0; background: transparent; color: inherit; }
body .post-loop .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid #b9cddd;
  border-radius: 8px;
  background: var(--fs-page-field);
}
body .post-loop .wp-block-search__inside-wrapper:focus-within { outline: 2px solid var(--fs-page-blue); outline-offset: 2px; }
body .post-loop .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fs-page-navy);
}
body .post-loop .wp-block-search__input::placeholder { color: var(--fs-page-ink); }
body .post-loop .wp-block-search__button {
  position: relative;
  inset: auto;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #b9cddd;
  background: var(--fs-page-mist);
}
body .post-loop .wp-block-search__button::after { position: static; }
body .post-loop .wp-block-search__button:hover { background: #d9eaf5; }
body .post-loop .wp-block-search__button:focus-visible { outline: 2px solid var(--fs-page-blue); outline-offset: -3px; }
body :is(.content-privacy, .content-terms, .conteudo-blog) {
  max-width: 840px;
  margin-inline: auto;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
body :is(#privacy-policy, #terms-conditions) { padding-block: var(--fs-page-space); }
body :is(#privacy-policy, #terms-conditions, .conteudo-blog) :is(h1, h2, h3, h4) { color: var(--fs-page-navy); }

body:has(.catalog-view) .banner-topo .overlay {
  background: linear-gradient(90deg, rgba(0,25,52,.9), rgba(0,34,66,.65) 58%, rgba(0,34,66,.32));
  opacity: 1;
}
body .catalog-view .product-grid-list ul.products > li.product {
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  background: #fff;
}
body .catalog-view .woocommerce-loop-product__title { color: var(--fs-page-navy); }
body .catalog-view .product-grid-list li.product > .xoo-qv-button {
  background: transparent;
  box-shadow: none;
}
body .catalog-view .filters .filter-option { background-color: var(--fs-page-mist); border-radius: 8px; }
body :is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table {
  border-color: var(--fs-page-border);
  border-radius: 8px;
}
body :is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(input.input-text, textarea) {
  border: 1px solid #b9cddd;
  border-radius: 8px;
  background: var(--fs-page-field);
  padding: 10px 12px;
}
body :is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.button, button.button, input.button) {
  border-radius: 8px;
}

body #aboveground-configurator :is(.ag-model-card, .ag-slider, .ag-size-card, .ag-form-card),
body #elegance-configurator :is(.eg-model-card, .eg-version-card, .eg-form-card) { border-radius: 8px; }
body #aboveground-configurator .ag-btn,
body #elegance-configurator .eg-btn { border-radius: 8px; letter-spacing: 0; text-transform: none; }
body :is(#aboveground-configurator, #elegance-configurator) :is(h1, h2, h3) { letter-spacing: 0; }
body #elegance-introducing a.ei-button,
body #elegance-introducing .ei-tile-photo { border-radius: 8px; }

body.page-template-singapore :is(#why, #tech, #trust, #quote) :is(h2, h3),
body.page-template-become-a-distributor :is(#factory, #strengths, #production, #models, #contact) :is(h2, h3),
body.page-template-eco-finish :is(#the-line, #materials, #finishes, #quote) :is(h2, h3, h4) {
  letter-spacing: 0;
}
body.page-template-become-a-distributor :is(#strengths, #contact),
body.page-template-singapore #quote { background-color: var(--fs-page-mist); }
body.page-template-become-a-distributor #strengths .card { border-color: var(--fs-page-border); border-radius: 8px; }
body.page-template-eco-finish #finishes img,
body.page-template-singapore :is(#tech, #trust) img { border-radius: 8px; }

body.page-template-eco-finish .eco-contact {
  padding-block: var(--fs-page-space);
  background: var(--fs-page-mist);
}
body.page-template-eco-finish .eco-contact #quote { margin-block: 0; }
body.page-template-eco-finish .eco-contact .infos-quote { max-width: 470px; }
body.page-template-eco-finish .eco-contact .infos-quote h2 {
  margin-bottom: 18px;
  color: var(--fs-page-navy);
  font-size: 38px;
  font-weight: 700;
}
body.page-template-eco-finish .eco-contact .infos-quote :is(p, p.destaque) {
  width: auto;
  color: var(--fs-page-ink);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
body.page-template-eco-finish .eco-contact .infos-quote a { color: var(--fs-page-navy); font-weight: 600; }
body.page-template-eco-finish .eco-contact .infos-quote a:hover { text-decoration: underline; }
body.page-template-eco-finish .eco-contact .quote-form {
  padding: 30px;
  border: 1px solid var(--fs-page-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,48,88,.08);
}
body.page-template-eco-finish .eco-contact .subtitle-contact p { text-align: left; color: var(--fs-page-navy); }
body.page-template-eco-finish .eco-contact .row-form p { margin-bottom: 14px; }

body.single-post #banner-topo-post { min-height: 380px; overflow: hidden; }
body.single-post #banner-topo-post .imagem-principal-blog { position: absolute; inset: 0; z-index: 0; margin: 0; }
body.single-post #banner-topo-post .overlay {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,25,52,.91), rgba(0,34,66,.68) 65%, rgba(0,34,66,.43));
}
body.single-post #banner-topo-post .container { position: relative; z-index: 2; }
body.single-post #banner-topo-post .single-post-title { max-width: 850px; margin: 0; }
body.single-post #banner-topo-post .title-post {
  color: #fff;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  text-align: left;
  overflow-wrap: anywhere;
}
body.single-post #conteudo-dentro-post .blog-container { padding-block: var(--fs-page-space); }
body.single-post #conteudo-dentro-post .conteudo-blog {
  max-width: 760px;
  color: var(--fs-page-ink);
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
}
body.single-post .conteudo-blog :is(p, li) { font-size: inherit; line-height: inherit; text-align: left; }
body.single-post .conteudo-blog p { margin-bottom: 18px; }
body.single-post .conteudo-blog p strong { font-size: inherit; color: var(--fs-page-navy); }
body.single-post #conteudo-dentro-post .conteudo-blog :is(h2, h3, h4) {
  margin: 1.45em 0 .55em;
  color: var(--fs-page-navy);
  line-height: 1.25;
}
body.single-post #conteudo-dentro-post .conteudo-blog > :is(h2, h3, h4):first-of-type { margin-top: 0; }
body.single-post .conteudo-blog img { max-width: 100%; height: auto; border-radius: 8px; }
body.single-post .conteudo-blog figure { margin-block: 24px; }
body.single-post #conteudo-dentro-post .share-post {
  max-width: 760px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--fs-page-border);
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 767px) {
  body { --fs-page-space: 48px; }
  body :is(#banner-topo, #banner-topo-post) { min-height: 240px; padding: 36px 0; }
  body #banner-topo h1 { font-size: 36px; overflow-wrap: anywhere; }
  body:is(.page-template-diy, .page-template-black-friday-sale) #banner-topo { padding: 48px 0; }
  body.page-template-diy #title-build .diy-intro-title {
    margin: 0;
    padding-top: 24px;
    font-size: 23px;
    line-height: 1.25;
  }
  body.page-template-diy .diy-intro-support {
    display: block;
    margin-top: 8px;
    color: var(--fs-page-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
  }
  body :is(.title-step-choose h2, .title-model-description h3, .title-step-size h3, .title-step-form h3, .title-specs h3, .title-store h2, #about-kisol .title-about h2) { font-size: 26px; }
  body .photos-model-description ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body :is(#get-in-touch .form-contact, #steps .form-contact, .quote-catalog .form-contact) { padding: 18px; }
  body :is(.form-contact, #contact, #quote, #hero-sp, #steps) .row-form p { flex-direction: column; }
  body #main-store .list-stores ul { columns: 1; padding-inline: 0; }
  body #about-kisol .video-about { margin-top: 24px; }
  body.page-template-eco-finish .eco-contact .infos-quote h2 { font-size: 30px; }
  body.page-template-eco-finish .eco-contact .quote-form { margin-top: 16px; padding: 20px; }
  body.single-post #banner-topo-post { min-height: 270px; }
  body.single-post #banner-topo-post .title-post { font-size: 32px; }
  body.single-post #conteudo-dentro-post .conteudo-blog { font-size: 16px; }
}
