/*
Theme Name: Web Supplements - Flatsome Child
Description: Identidad visual institucional de Web Supplements sobre Flatsome.
Author: Web Supplements
Template: flatsome
Version: 1.2.15
Text Domain: websupplements
*/

:root {
  --ws-green: #07543a;
  --ws-green-dark: #063d2a;
  --ws-green-mid: #0d8054;
  --ws-mint: #dff2e9;
  --ws-acid: #c2cf30;
  --ws-ink: #102019;
  --ws-muted: #617068;
  --ws-cream: #f4f6f2;
}

body { color: var(--ws-ink); }
h1, h2, h3, h4 { letter-spacing: -.025em; }
.ws-eyebrow { color: var(--ws-green-mid); font-size: .78rem; font-weight: 700; letter-spacing: .14em; margin-bottom: .65rem; text-transform: uppercase; }
.ws-eyebrow-light { color: var(--ws-mint); }
.section-content > .ws-eyebrow { box-sizing: border-box; margin-left: auto; margin-right: auto; max-width: 1080px; padding-left: 15px; padding-right: 15px; width: 100%; }
.section-content > .ws-brand-intro { box-sizing: border-box; margin-left: auto; margin-right: auto; max-width: 1080px; padding-left: 15px; padding-right: 15px; width: 100%; }
.ws-lead { font-size: 1.15rem; line-height: 1.65; }
.ws-hero h1 { color: #fff; font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1.03; max-width: 860px; }
.ws-hero p { color: rgba(255,255,255,.9); max-width: 730px; }
.ws-page-hero h1 { color: #fff; font-size: clamp(2.25rem, 4vw, 3.85rem); line-height: 1.04; margin-bottom: .65rem; max-width: 760px; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.ws-page-hero p { color: rgba(255,255,255,.94); font-size: 1.12rem; line-height: 1.55; max-width: 700px; text-shadow: 0 1px 10px rgba(0,0,0,.32); }
.ws-page-hero .text-box-content { background: transparent; }
.ws-page-hero-logo { margin-bottom: 16px; }
.ws-page-hero-logo .img-inner { align-items: center; background: rgba(255,255,255,.96); border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,.18); display: inline-flex; justify-content: center; min-height: 58px; padding: 9px 14px; }
.ws-page-hero-logo img { display: block; margin: 0 auto; max-height: 48px; object-fit: contain; width: auto; }
.ws-metric { text-align: center; }
.ws-metric strong { color: var(--ws-green); display: block; font-size: 2.4rem; line-height: 1; }
.ws-metric span { color: var(--ws-muted); font-size: .88rem; }
.ws-card { background: #fff; border: 1px solid #d9e2dc; border-radius: 14px; color: var(--ws-ink); height: 100%; padding: 28px; }
.ws-card p { color: var(--ws-muted); }
.ws-card h3 { color: var(--ws-green-dark); }
.ws-card-number { color: var(--ws-green-mid); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.ws-quality-cards > .col { display: flex; }
.ws-quality-cards > .col > .col-inner { width: 100%; }
.ws-quote { border-left: 4px solid var(--ws-acid); font-size: 1.2rem; line-height: 1.6; padding: 16px 0 16px 25px; }
.ws-brand-logo .box-image { align-items: center; background: #fff; border: 1px solid #e2e8e4; border-radius: 12px; box-sizing: border-box; display: flex; height: 170px; justify-content: center; padding: 28px; }
.ws-brand-logo .box-image > a,
.ws-brand-logo .image-zoom { align-items: center; display: flex; height: 100%; justify-content: center; width: 100%; }
.ws-brand-logo img { display: block; margin: 0 auto; max-height: 100px; max-width: 100%; object-fit: contain; width: auto; }
.page-id-32 .ws-brand-logo--ultra-hombre img { background-color: black; }
.ws-brand-logo--xing-yu img,
.ws-brand-logo--erox img { max-width: min(100%, 250px); }
.ws-brand-hero .img-inner { background: #fff; border: 1px solid #e2e8e4; border-radius: 18px; padding: 45px; }
.ws-brand-hero img { display: block; margin: 0 auto; max-height: 170px; object-fit: contain; width: auto; }
.ws-location { border-top: 3px solid var(--ws-green-mid); }
.ws-note { background: var(--ws-mint); border-radius: 10px; padding: 18px 22px; }
.ws-brand-detail .ws-note + .button { margin-top: 18px; }
.ws-footer a { color: #fff; }
.ws-footer p { color: rgba(255,255,255,.78); }
.ws-footer-logo img { filter: brightness(0) invert(1); max-height: 58px; object-fit: contain; width: auto; }
.absolute-footer, .absolute-footer .footer-text, .absolute-footer .copyright-footer { color: rgba(255,255,255,.78) !important; }
.absolute-footer a { color: #fff !important; text-decoration: underline; }
.accordion-title { color: var(--ws-green-dark); font-weight: 700; }
.button.primary:not(.is-outline), .button.success:not(.is-outline) { background-color: var(--ws-green-mid); }
.button.secondary { background-color: var(--ws-acid); color: var(--ws-green-dark); }
.nav > li > a { font-size: calc(.8rem + 2px); font-weight: 700; text-transform: uppercase; }
.nav-dropdown li > a { font-size: .8rem; line-height: 1.35; text-transform: none; }
.header-button .button { border-radius: 99px; }
.header-logo, .header-logo a { align-items: center; display: flex; }
.header-logo img { height: auto; max-height: 72px; max-width: 160px; object-fit: contain; width: auto; }
.ws-quality-grid { align-items: stretch; margin: 28px auto 0; max-width: 1080px; }
.ws-quality-grid > .col { display: flex; margin-bottom: 24px; }
.ws-quality-grid > .col > .col-inner { display: flex; width: 100%; }
.ws-quality-card { background: #fff; border: 1px solid rgba(223,242,233,.9); border-left: 4px solid var(--ws-acid); border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.12); box-sizing: border-box; color: var(--ws-ink) !important; display: flex; flex-direction: column; height: 100%; min-height: 270px; padding: 28px 30px 30px; transition: box-shadow .2s ease, transform .2s ease; width: 100%; }
.ws-quality-card:hover { box-shadow: 0 14px 32px rgba(0,0,0,.16); transform: translateY(-2px); }
.ws-quality-card-number { color: var(--ws-green-mid); display: block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; line-height: 1; margin-bottom: 18px; }
.ws-quality-card h3 { color: var(--ws-green-dark) !important; font-size: 1.2rem; line-height: 1.25; margin: 0 0 12px; }
.ws-quality-card p { color: var(--ws-ink) !important; font-size: 1rem; line-height: 1.65; margin: 0; }
.ws-brand-grid > .col { display: flex; }
.ws-brand-grid > .col > .col-inner { display: flex; flex-direction: column; width: 100%; }
.ws-infrastructure-grid { align-items: stretch; }
.ws-infrastructure-grid > .col { display: flex; }
.ws-infrastructure-grid > .col > .col-inner { display: flex; flex-direction: column; height: 100%; width: 100%; }
.ws-infrastructure-grid .box { display: flex; flex: 1 1 auto; flex-direction: column; height: auto; margin-bottom: 0; width: 100%; }
.ws-infrastructure-grid .box .box-image { flex: 0 0 auto; width: 100%; }
.ws-infrastructure-grid .box .box-image .image-cover { flex: 0 0 auto; padding-top: 62%; width: 100%; }
.ws-infrastructure-grid .box .box-text { display: flex; flex: 1 1 auto; flex-direction: column; }
.ws-infrastructure-grid .box .box-text-inner { flex: 1 1 auto; }
.ws-infrastructure-grid > .col > .col-inner > .button { align-self: flex-start; margin-bottom: 0; margin-top: 18px; }
.ws-social-strip { border-top: 1px solid rgba(255,255,255,.14); }
.ws-social-strip .row { align-items: stretch; }
.ws-social-strip .col { display: flex; }
.ws-social-strip .col > .col-inner { display: flex; flex-direction: column; justify-content: center; width: 100%; }
.ws-social-label { align-items: center; color: var(--ws-mint); display: flex; font-size: .78rem; font-weight: 700; letter-spacing: .14em; line-height: 1.35; margin: 0; text-transform: uppercase; }
.ws-social-strip .ws-social-link { align-items: center; border-color: rgba(255,255,255,.62); border-radius: 99px; display: flex; justify-content: center; margin: 0; min-height: 50px; padding-left: 18px; padding-right: 18px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; width: 100%; }
.ws-social-strip .ws-social-link .icon-instagram { margin-right: .6em; }
.ws-social-strip .ws-social-link:hover,
.ws-social-strip .ws-social-link:focus-visible { background-color: var(--ws-acid) !important; border-color: var(--ws-acid) !important; color: var(--ws-green-dark) !important; transform: translateY(-2px); }
.ws-social-strip .ws-social-link:focus-visible { outline: 3px solid var(--ws-acid); outline-offset: 3px; }
.ws-test-list { color: var(--ws-muted); margin: 0 0 0 1.25rem; }
.ws-test-list li { margin-bottom: .65rem; padding-left: .35rem; }
.ws-plant-metrics .ws-metric { min-height: 78px; }
.ws-plant-metrics .ws-metric strong { font-size: clamp(1.25rem, 2.5vw, 2.15rem); }
.ws-gallery-grid .box-image { background: #e9efeb; }
.ws-source-gallery-slider { background: #e9efeb; margin-top: 26px; }
.ws-source-gallery-slider .img,
.ws-source-gallery-slider .img-inner,
.ws-source-gallery-slider img { width: 100%; }
.ws-source-gallery-slider img { display: block; height: auto; }
.ws-source-gallery-slider .flickity-page-dots { bottom: 14px; }
.ws-source-gallery-slider .flickity-page-dots .dot { background: #fff; border: 1px solid rgba(6,61,42,.45); opacity: .82; }
.ws-source-gallery-slider .flickity-page-dots .dot.is-selected { background: var(--ws-green-mid); border-color: var(--ws-green-mid); }
.ws-buy-forms .tabbed-content { margin-top: 28px; }
.ws-buy-tabs .nav-pills { gap: 8px; }
.ws-buy-tabs .nav-pills > li { margin: 0; }
.ws-buy-tabs .nav-pills > li > a { border: 1px solid var(--ws-green-mid); border-radius: 99px; color: var(--ws-green-dark); padding: .75rem 1.1rem; }
.ws-buy-tabs .nav-pills > li.active > a { background: var(--ws-green-mid); color: #fff; }
.ws-buy-tabs .tab-panels { background: #fff; border: 1px solid #d9e2dc; border-radius: 14px; margin-top: 22px; padding: 28px; }
.ws-form-anchor { position: relative; top: -120px; }

@media (min-width: 1200px) {
  .ws-page-hero { padding-top: 750px !important; }
}

@media (min-width: 850px) {
  #top-link { right: 90px !important; }
}

@media (max-width: 849px) {
  .ws-hero h1 { font-size: 2.55rem; }
  .ws-hero .text-box { width: 88% !important; }
  .ws-page-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .ws-page-hero p { font-size: 1rem; line-height: 1.45; }
  .ws-page-hero-logo { margin-bottom: 10px; }
  .ws-page-hero-logo .img-inner { min-height: 50px; padding: 7px 11px; }
  .ws-page-hero-logo img { max-height: 39px; }
  .ws-card { padding: 22px; }
  .ws-brand-logo .box-image { height: 140px; padding: 20px; }
  .header-logo img { max-height: 58px; max-width: 126px; }
  .nav-sidebar > li > a { font-size: calc(1rem + 2px); font-weight: 700; text-transform: uppercase; }
  .nav-sidebar .sub-menu > li > a { font-size: 1rem; font-weight: 400; text-transform: none; }
  .ws-quality-card { min-height: 0; padding: 24px 24px 26px; }
  .ws-quality-grid > .col { margin-bottom: 18px; }
}

@media (max-width: 549px) {
  .absolute-footer { padding-bottom: 82px; }
  .absolute-footer .copyright-footer { padding-left: 15px; padding-right: 15px; text-align: center; }
  .ws-quality-card p { font-size: .98rem; line-height: 1.6; }
  .ws-social-strip .col { flex-basis: 100%; max-width: 100%; }
  .ws-social-strip .col + .col { margin-top: 12px; }
  .ws-buy-tabs .nav { align-items: stretch; flex-direction: column; }
  .ws-buy-tabs .nav > li,
  .ws-buy-tabs .nav > li > a { width: 100%; }
  .ws-buy-tabs .nav > li > a { justify-content: center; text-align: center; }
  .ws-buy-tabs .tab-panels { padding: 20px 16px; }
}

/* Hero photography keeps its native 3:2 ratio at every viewport width. */
.ws-hero,
.ws-page-hero { box-sizing: border-box; height: 0 !important; min-height: 0 !important; overflow: visible; padding-top: 66.666667% !important; }
.ws-hero .banner-inner,
.ws-page-hero .banner-inner,
.ws-hero .banner-bg,
.ws-page-hero .banner-bg,
.ws-hero .banner-bg img,
.ws-page-hero .banner-bg img { height: 100% !important; }
.ws-hero .banner-bg img,
.ws-page-hero .banner-bg img { object-fit: cover; object-position: center center; width: 100%; }

@media (max-width: 849px) {
  .ws-hero,
  .ws-page-hero { height: auto !important; padding-top: 0 !important; }
  .ws-hero .banner-inner,
  .ws-page-hero .banner-inner { display: flex; flex-direction: column; height: auto !important; position: relative !important; }
  .ws-hero .banner-bg,
  .ws-page-hero .banner-bg { height: auto !important; order: 0; padding-top: 66.666667% !important; position: relative !important; }
  .ws-hero .banner-bg img,
  .ws-page-hero .banner-bg img { bottom: auto !important; height: 100% !important; left: 0 !important; position: absolute !important; right: auto !important; top: 0 !important; }
  .ws-hero .text-box,
  .ws-page-hero .text-box { background: var(--ws-green-dark); bottom: auto !important; left: auto !important; margin: 0 0 0 -15px !important; order: 1; padding: 30px 35px 34px !important; position: relative !important; right: auto !important; top: auto !important; transform: none !important; width: calc(100% + 30px) !important; }
}

/* Contacto is the visual reference for image-free page headers. */
#content > .banner:not(:has(.banner-bg img)) { background: #042f20 !important; height: auto !important; min-height: 30vw !important; padding: 0 !important; }
#content > .banner:not(:has(.banner-bg img)) > .banner-inner { align-items: center; display: flex; height: auto !important; min-height: inherit; padding: 32px 0 !important; position: relative !important; }
#content > .banner:not(:has(.banner-bg img)) .banner-bg { display: none; }
#content > .banner:not(:has(.banner-bg img)) .banner-layers { height: auto; position: relative; width: 100%; }
#content > .banner:not(:has(.banner-bg img)) .text-box { background: transparent; bottom: auto !important; left: auto !important; margin: 0 0 0 10% !important; padding: 0 !important; position: relative !important; right: auto !important; top: auto !important; transform: none !important; width: 56% !important; }
#content > .banner:not(:has(.banner-bg img)) h1 { color: #fff; font-family: Lato, sans-serif; font-size: 56px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
#content > .banner:not(:has(.banner-bg img)) .text-inner > p { color: #fff; font-family: Lato, sans-serif; font-size: 16px; }
#content > .banner:not(:has(.banner-bg img)) .text-inner > .ws-eyebrow { font-size: 12.48px; }
#content > .banner:not(:has(.banner-bg img)) .text-inner > :first-child { margin-top: 0; }
#content > .banner:not(:has(.banner-bg img)) .text-inner > :last-child { margin-bottom: 0; }
#content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo { width: 52% !important; }
#content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo .img-inner { min-height: 116px; padding: 18px 28px; }
#content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo img { flex-shrink: 0; height: 96px; max-height: 96px; max-width: none; width: auto; }
@media (max-width: 549px) {
  #content > .banner:not(:has(.banner-bg img)) { min-height: 300px !important; }
  #content > .banner:not(:has(.banner-bg img)) .text-box { margin: 0 auto !important; width: 90% !important; }
  #content > .banner:not(:has(.banner-bg img)) h1 { font-size: 38.5px; }
  #content > .banner:not(:has(.banner-bg img)) .text-inner > p:not(.ws-eyebrow) { font-size: 11px; }
  #content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo { width: 84% !important; }
  #content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo .img-inner { min-height: 100px; padding: 14px 22px; }
  #content > .banner:not(:has(.banner-bg img)) .ws-page-hero-logo img { height: 78px; max-height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
