/* Water identity manual, COLOR, page 7. Use the supplied RGB specifications. */
:root {
    --water-306: #00b4e4; /* Pantone 306 U: RGB 0, 180, 228 */
    --water-2995: #0d9ddb; /* Pantone 2995 U: RGB 13, 157, 219 */
    --water-301: #28628e; /* Pantone 301 U: RGB 40, 98, 142 */
    --water-288: #002d72; /* Pantone 288 C: RGB 0, 45, 114 */
    --water-gray: #818387; /* Cool Gray 10 U: RGB 129, 131, 135 */
    --water-button: var(--water-301);
    --water-button-hover: var(--water-288);
}

/* Explicit commercial actions, excluding menus, carousel dots and close icons.
   White on 301 U has 6.5:1 contrast; reserve the bright cyans for accents. */
body :is(.btn-primary, .btn-info, .btn-success, .btn-dark, .swal2-confirm, .btn-blue-primary, .btn-custom-one, .btn-custom-two,
    .btn-sbt, .btn-mtk-success, .product-header-add-to-cart, .add-to-cart,
    .home-banner-exp-1__cta, .home-plantas-cta, .czc_button,
    .brands-catalog-cta,
    #banner .block-left a, #banner button, #purificador a, #filtros a, #calltoaction a, .consulta_experto_btn,
    .water-float, .sheet-submit, .call-to-action a,
    #block-3 .buttons a, #prop-block-1 .buttons a, #btn-modelos .buttons a,
    #plantas-block-4 .buttons a, #page-products .search-field-product button,
    .sendmail_form input[type="submit"], .sendmail_form button[type="submit"],
    #main-footer .newsletter button, #banner button[type="submit"]) {
    background: var(--water-button) !important;
    border-color: var(--water-button) !important;
    color: #fff !important;
}

body :is(.btn-primary, .btn-info, .btn-success, .btn-dark, .swal2-confirm, .btn-blue-primary, .btn-custom-one, .btn-custom-two,
    .btn-sbt, .btn-mtk-success, .product-header-add-to-cart, .add-to-cart,
    .home-banner-exp-1__cta, .home-plantas-cta, .czc_button,
    .brands-catalog-cta,
    #banner .block-left a, #banner button, #purificador a, #filtros a, #calltoaction a, .consulta_experto_btn,
    .water-float, .sheet-submit, .call-to-action a,
    #block-3 .buttons a, #prop-block-1 .buttons a, #btn-modelos .buttons a,
    #plantas-block-4 .buttons a, #page-products .search-field-product button,
    .sendmail_form input[type="submit"], .sendmail_form button[type="submit"],
    #main-footer .newsletter button, #banner button[type="submit"]):is(:hover, :focus-visible, :active) {
    background: var(--water-button-hover) !important;
    border-color: var(--water-button-hover) !important;
    color: #fff !important;
    text-decoration: none;
}

body :is(.btn-custom-three, .btn-secondary, .btn-outline-secondary, .swal2-cancel) {
    background: #fff;
    color: var(--water-288);
    border: 1px solid var(--water-288);
}

body :is(.btn-custom-three, .btn-secondary, .btn-outline-secondary, .swal2-cancel):is(:hover, :focus-visible, :active) {
    background: var(--water-288);
    color: #fff;
    text-decoration: none;
}

body :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--water-2995);
    outline-offset: 3px;
}

body :is(input[type="checkbox"], input[type="radio"]) {
    accent-color: var(--water-301);
}

body :is(.btn-primary, .sheet-submit):is(:disabled, .disabled) {
    opacity: .65;
}

/* Bootstrap defaults must not introduce an additional blue in public pages. */
body a, body .btn-link, body .page-link {
    color: var(--water-301);
}
body a:hover, body .btn-link:hover, body .page-link:hover {
    color: var(--water-288);
}
body .text-primary, body .text-info {
    color: var(--water-301) !important;
}
body :is(.bg-primary, .bg-info, .badge-primary, .badge-info,
    .nav-pills .nav-link.active, .single_category.active,
    .pagination .page-item.active .page-link) {
    background-color: var(--water-301) !important;
    border-color: var(--water-301);
    color: #fff;
}
body .btn-outline-primary {
    background: #fff;
    border-color: var(--water-301);
    color: var(--water-301);
}
body .btn-outline-primary:is(:hover, :focus-visible, :active, .active),
body .btn-outline-primary:not(:disabled):not(.disabled):is(:active, .active) {
    background: var(--water-288);
    border-color: var(--water-288);
    color: #fff;
}

/* Editor-authored catalog/blog/project text can contain old inline colors.
   Normalize its presentation without altering stored content or image assets. */
.water-rich-text {
    color: var(--water-288);
}
.water-rich-text [style*="color"], .water-rich-text font[color] {
    color: inherit !important;
}
.water-rich-text [style*="background-color"] {
    background-color: transparent !important;
}
body .water-rich-text a {
    color: var(--water-301) !important;
}
body .water-rich-text a:is(:hover, :focus-visible) {
    color: var(--water-288) !important;
}
