.cd-primary-nav {
    z-index: 1041;
}
h2 {
    text-transform: capitalize;
}

.text-balance {
    text-wrap: balance;
}

/* Reference flooring-solutions.css structure; scoped to this page. */
#tile-adhesive-waterproofing-system {
    --header-offset: 100px;
    --header-offset-mobile: 120px;
    --anchor-height: 88px;
    background-color: #fafafa;
}

#tile-adhesive-waterproofing-system .fontBlack {
    color: #222;
}

#tile-adhesive-waterproofing-system .blueColor {
    color: #007da5;
}

#tile-adhesive-waterproofing-system #bannerBackground {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 340px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    font-size: 60px;
    font-weight: 400;
    line-height: 76px;
    text-transform: uppercase;
    margin-top: 90px;
}

#tile-adhesive-waterproofing-system .borderBlue {
    border-radius: 60px;
    border: 1px solid #1E468C;
    color: #1E468C;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
    padding: 10px 25px;
    width: 100%;
    max-width: 160px;
}

#tile-adhesive-waterproofing-system .borderBlue:hover {
    color: #fff;
    background-color: #1E468C;
}

#tile-adhesive-waterproofing-system .section-divider {
    border-top: 1px solid #D9D9D9;
}

#tile-adhesive-waterproofing-system .coverage-area-image {
    display: block;
    height: 100%;
    object-fit: cover;
}

/* Sticky anchor navigation. */
#tile-adhesive-waterproofing-system .sticky-anchor-holder {
    position: relative;
}

:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border: none;
    border-radius: 4px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    position: relative;
    z-index: 40;
    box-sizing: border-box;
    transition:
        opacity 0.25s ease,
        padding 0.25s ease,
        left 0.3s ease;
    margin: 0;
}

:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns.is-sticky {
    position: fixed;
    top: var(--header-offset);
    padding: 10px;
}

:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns.is-hidden {
    opacity: 0;
    pointer-events: none;
}

#tile-adhesive-waterproofing-system .sticky-anchor-placeholder {
    height: 0;
}

:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns .sticky-btn {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: none;
    padding: 20px 10px;
    color: #737373;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        padding 0.25s ease;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s, padding 0.25s ease;
}

/* Reduce button padding when the navigation becomes fixed. */
:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns.is-sticky .sticky-btn {
    padding: 10px;
}

:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns .sticky-btn.active,
:is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns .sticky-btn:hover {
    color: #FFFFFF;
    background-color: #007da5;
}

#tile-adhesive-waterproofing-system .warranty-anchor-section {
    scroll-margin-top: calc(var(--header-offset) + var(--anchor-height) + 24px);
}

/* Numbered system cards and Bootstrap collapse. */
#tile-adhesive-waterproofing-system .card-header {
    padding: 0;
    background-color: #fafafa;
    border-bottom: none;
}

#tile-adhesive-waterproofing-system .card-header .iconNumber {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 30px;
    background-color: #005366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-left: 10px;
}

#tile-adhesive-waterproofing-system .header-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #000;
    margin-left: 1rem;
    margin-bottom: 0 !important;
}

#tile-adhesive-waterproofing-system .accordion-title {
    cursor: pointer;
}

#tile-adhesive-waterproofing-system .accordion-title::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f068";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    padding-right: 5px;
}

#tile-adhesive-waterproofing-system .accordion-title.key-coat::before {
    top: calc(50% - 51px);
}

#tile-adhesive-waterproofing-system .accordion-title.collapsed::before {
    content: "\f067";
}

#tile-adhesive-waterproofing-system #compatible-system-solutions {
    background-color: #fafafa;
}

#tile-adhesive-waterproofing-system #compatible-system-solutions .productImg {
    width: auto;
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-left: 15px;
}

#tile-adhesive-waterproofing-system #compatible-system-solutions .card-body li {
    list-style: disc;
}

#tile-adhesive-waterproofing-system .system-accordion .card {
    background-color: #fafafa;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
}

#tile-adhesive-waterproofing-system .system-accordion .card-body ul {
    padding-inline-start: 20px;
}

#tile-adhesive-waterproofing-system .flooring-sticky-image {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-offset) + var(--anchor-height) + 20px);
}

/* Inner tabs and active panels. */
#tile-adhesive-waterproofing-system .system-inner-tab-nav {
    display: flex;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 540px;
    margin: 0 auto 28px;
}

#tile-adhesive-waterproofing-system .system-inner-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 24px;
    border: none;
    border-radius: 50px;
    background: #fff;
    color: #222;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

#tile-adhesive-waterproofing-system .system-inner-tab-btn.active {
    background: #007da5;
    color: #fff;
}

#tile-adhesive-waterproofing-system .system-inner-panel {
    display: none;
}

#tile-adhesive-waterproofing-system .system-inner-panel.active {
    display: block;
}

#tile-adhesive-waterproofing-system .system-inner-panel[hidden] {
    display: none !important;
}

#tile-adhesive-waterproofing-system .system-inner-panel .note {
    font-size: 13px;
    width: 100%;
    background-color: #dedede;
}

/* Coverage and FAQ cards. */
#tile-adhesive-waterproofing-system .accordion .card {
    border: none;
    border-radius: 0;
}

#tile-adhesive-waterproofing-system .coverage-accordion .card {
    margin-bottom: 20px;
    padding: 30px 40px !important;
}

#tile-adhesive-waterproofing-system .coverage-accordion .card-header {
    background-color: #FFFFFF;
    text-transform: uppercase;
}

#tile-adhesive-waterproofing-system .coverage-accordion ul {
    padding-inline-start: 20px;
    margin-bottom: 0;
    list-style: disc;
}

#tile-adhesive-waterproofing-system #accordionExample .card:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

#tile-adhesive-waterproofing-system #accordionExample .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 0;
}

#tile-adhesive-waterproofing-system .accordion .card-header .title {
    flex-grow: 1;
    padding: 30px 20px;
    font-weight: 700;
}

#tile-adhesive-waterproofing-system .accordion .card-header .icon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: 20px;
}

#tile-adhesive-waterproofing-system .accordion .card-header .icon.plus::before {
    content: "\f067";
}

#tile-adhesive-waterproofing-system .accordion .card-header .icon.minus::before {
    content: "\f068";
}

#tile-adhesive-waterproofing-system #accordionExample .card-body {
    border: none;
    padding: 0 60px 30px 20px;
}

#tile-adhesive-waterproofing-system #flooringInfoSection .col-12.col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tile-adhesive-waterproofing-system #flooringInfoSection .borderBlue {
    margin-top: auto;
}

#tile-adhesive-waterproofing-system a:focus-visible,
#tile-adhesive-waterproofing-system button:focus-visible,
#tile-adhesive-waterproofing-system [role="button"]:focus-visible {
    outline: 2px solid #007da5;
    outline-offset: 3px;
}

@media only screen and (max-width: 767.98px) {
    :is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns {
        padding: 16px 4px;
        gap: 0;
    }

    :is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns .sticky-btn {
        padding: 5px 4px;
        font-size: 12px;
    }

    /* Keep the existing smaller button padding on mobile. */
    :is(#tile-adhesive-waterproofing-system, #tile-warranty-sticky-root) .sticky-anchor-btns.is-sticky .sticky-btn {
        padding: 5px 4px;
    }

    #tile-adhesive-waterproofing-system .coverage-accordion .card {
        padding: 24px 20px !important;
    }

    #tile-adhesive-waterproofing-system .card-header .iconNumber {
        margin-left: 15px;
    }

    #tile-adhesive-waterproofing-system .flooring-sticky-image {
        position: static;
    }

    #tile-adhesive-waterproofing-system .system-inner-panel .note {
        border-radius: 20px !important;
    }

    #tile-adhesive-waterproofing-system #accordionExample .card-body {
        padding: 0 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #tile-adhesive-waterproofing-system * {
        transition: none !important;
    }
}

/* Portal has no layout height; the original placeholder reserves the space. */
#tile-warranty-sticky-root {
    height: 0;
}

#tile-warranty-sticky-root .sticky-anchor-btns {
    z-index: 1040;
}

#tile-warranty-sticky-root .sticky-btn:focus-visible {
    outline: 2px solid #007da5;
    outline-offset: 3px;
}