/* Xnivo - static clone overrides */

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/caveat-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/proximanova-regular.woff') format('woff');
}

body {
    background: #fff;
}

/* ---------- Header / search ---------- */
#header {
    border: 0;
}
.main-search {
    max-width: calc(100% - 20px);
}
.main-search .cell {
    width: auto;
}
.main-search .cell:first-child {
    width: 100%;
}
.main-search .cell.selector {
    width: 262px;
    min-width: 262px;
    max-width: 262px;
    padding: 0 12px 0 0;
}
.main-search .cell.selector select {
    width: 250px;
}
.main-search .cell.reset-padding {
    width: 1%;
}
.main-search input.input-text {
    width: 100%;
    height: 43px;
    line-height: 43px;
    padding: 0 15px;
    background: #f6f6f6;
    border: 1px solid #bfbfbf;
    border-radius: 3px;
    color: #646464;
    box-shadow: inset 0 1px 0 0 #d6cece;
    box-sizing: border-box;
}
.main-search input.input-text::placeholder {
    color: #646464;
    opacity: 1;
}
.main-search .selector select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 43px;
    padding: 0 38px 0 14px;
    border: 1px solid #bcbcbc;
    border-radius: 3px;
    background-color: #f3f3f3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: #333;
    font-size: 16px;
    box-sizing: border-box;
}
.main-search .ui-button {
    height: 43px;
    min-width: 81px;
    font-family: "PT Sans", sans-serif;
}

/* ---------- Section shells ---------- */
#content {
    clear: both;
}
.block {
    padding: 34px 0;
}
.hero-block {
    padding: 70px 0 40px;
}
.hero-title {
    font-family: "PT Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    text-align: center;
    margin: 0 0 44px;
}
.block-title {
    font-family: "PT Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    color: #000;
    text-align: center;
    margin: 0 0 16px;
}
.block-sub {
    font-family: "PT Sans", sans-serif;
    font-size: 17.6px;
    line-height: 1.5;
    color: #5f6368;
    text-align: center;
    margin: 0 0 30px;
}

/* ---------- Hero category cards ---------- */
.newcat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.newcat .cat-item {
    display: block;
    padding: 16px;
    background: #effdf5;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}
.newcat .cat-item > div {
    position: relative;
    height: 190px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px dashed rgba(0, 185, 142, .3);
    border-radius: 5px;
    transition: .5s;
}
.newcat .cat-item .dental {
    background-image: url("../img/dental-health.jpg");
}
.newcat .cat-item .hearing {
    background-image: url("../img/hearing-supplements.jpg");
}
.newcat .cat-item h2 {
    position: relative;
    top: 50%;
    left: 45%;
    transform: translateY(-50%);
    width: 50%;
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    color: #66a3b8 !important;
}
.newcat .cat-item:hover > div {
    background-color: #66a399;
    background-image: none;
    border-color: transparent;
}

/* ---------- Supplement versus ---------- */
.versus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    max-width: 966px;
    margin: 0 auto;
}
.versus-grid .cell_3 {
    float: none;
    width: auto;
    margin: 0;
}
.versus-pill {
    display: flex;
    align-items: center;
    min-height: 33px;
    margin: 0 0 12px;
    padding: 0 16px;
    list-style: none;
    background: #effdf5;
    border-radius: 4px;
}
.versus-pill li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    list-style: none;
}
.versus-pill li::before {
    content: "";
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
}
.versus {
    font-family: "PT Sans", sans-serif;
    font-size: 17.6px;
    line-height: 26.4px;
    color: #66a399;
    text-decoration: none;
}
.versus:hover {
    color: #3f7f75;
}

/* ---------- Supplement cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cards-grid .cat-item {
    display: block;
    padding: 16px;
    background: #effdf5;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
}
.supp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 24px 18px;
    background: #fff;
    border: 1px dashed rgba(0, 185, 142, .3);
    border-radius: 5px;
    transition: .5s;
}
.cards-grid .icon {
    margin-bottom: 16px;
    padding: 15px;
    background: #fff;
    border: 1px dashed #66a399;
    border-radius: 50px;
}
.cards-grid .icon img {
    display: block;
    width: 64px;
    height: 64px;
}
.cards-grid h6 {
    margin: 0 0 8px;
    font-family: "PT Sans", sans-serif;
    font-size: 19.2px;
    font-weight: 700;
    line-height: 1.2;
    color: #0e2e50;
}
.cards-grid span {
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #66a399;
}
.cards-grid .cat-item:hover .supp-card {
    background: #66a399;
    border-color: transparent;
}
.cards-grid .cat-item:hover h6,
.cards-grid .cat-item:hover span {
    color: #fff;
}
.cards-grid .cat-item:hover .icon {
    background: transparent;
    border-color: transparent;
}

/* ---------- Category pills ---------- */
#main {
    margin: 6px 15px 0;
    clear: both;
}
.cat-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 26px;
}
.cat-cols .cell_3 {
    float: none;
    width: auto;
    margin: 0;
}
ul.r-list {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.r-list li {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    margin: 0 0 11px;
    padding: 0 20px 0 44px;
    background: #f1f3f4;
    border-radius: 100px;
    transition: background-color .2s ease;
}
ul.r-list li::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: #111;
}
ul.r-list li:hover {
    background: #effdf5;
    box-shadow: none;
}
ul.r-list li:hover::before {
    background: #66a3b8;
}
ul.r-list h2 {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
ul.r-list li h2 a.category {
    display: block;
    width: 100%;
    padding: 0 !important;
    font-family: "PT Sans", sans-serif;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 0 !important;
}
ul.r-list li:hover h2 a.category {
    color: #66a3b8;
}

/* ---------- Latest ads ---------- */
.latest_ads {
    padding-top: 34px;
}
.ads-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.ads-head h2 {
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #000;
}
.view-toggle {
    display: inline-flex;
    gap: 3px;
}
.view-toggle a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: #9aa0a6;
    background: #fff;
    border: 1px solid #e2e2e2;
}
.view-toggle a.is-active {
    color: #fff;
    background: #66a399;
    border-color: #66a399;
}
.listing-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.listing-card {
    display: flex;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid #f1f1f1;
}
.listing-thumb {
    flex: 0 0 140px;
    width: 140px;
}
.listing-thumb img {
    display: block;
    width: 140px;
    height: 125px;
    object-fit: contain;
}
.listing-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 0 24px;
    flex: 1;
    min-width: 0;
    margin-left: 0;
}
.listing-card .listing-detail {
    margin-left: 0 !important;
}
.listing-detail .title {
    display: block;
    margin: 0 0 2px;
    font-family: "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    color: #077799;
    text-decoration: none;
}
.listing-detail .title:hover {
    text-decoration: underline;
}
.listing-category {
    margin-bottom: 10px;
    font-family: "PT Sans", sans-serif;
    font-size: 12.5px;
    line-height: 1.6;
    color: #5f6368;
}
.listing-info p {
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 17.6px;
    line-height: 1.5;
    color: #5f6368;
}
.listing-action {
    display: flex;
    justify-content: flex-end;
}
.listbtn {
    display: inline-block;
    padding: 8px 24px;
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff !important;
    white-space: nowrap;
    text-decoration: none;
    background: #ffa4a4 !important;
    border: 0 !important;
    border-radius: 100px;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5);
    transition: background-color .25s ease;
}
.listbtn:hover {
    background: #66a399 !important;
    color: #fff !important;
}
/* ---------- Editorial copy ---------- */
.content-copy {
    margin: 30px 15px 0;
    font-family: "PT Sans", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #5f6368;
}
.content-copy p {
    margin: 0 0 18px;
}
.plain-h2 {
    margin: 36px 0 20px;
    font-family: "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #000;
}
h2.red {
    margin: 34px 0 26px;
    padding: 20px;
    font-family: "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    border-radius: 100px;
}
h2.red {
    color: #fff !important;
    background-color: #66a399;
}
.badges {
    margin: 0 0 30px;
    text-align: center;
}
.badges img {
    max-width: 100%;
    height: auto;
}

/* ---------- Footer ---------- */
#footer {
    margin-top: 50px;
    padding: 15px 0 30px;
    font-size: 16px;
    text-align: left;
    border-top: 1px solid #eaeaea;
}
.footer-links {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}
.footer-links li {
    margin: 0 0 6px;
    font-size: 17.6px;
    line-height: 1.5;
}
.footer-links a {
    font-family: "PT Sans", sans-serif;
    color: #077799;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-search {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .listing-detail {
        grid-template-columns: minmax(0, 1fr) 130px;
        gap: 0 16px;
    }
    .listing-detail .title {
        font-size: 21px;
    }
    .listing-info p {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .newcat {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 740px) {
    .hero-block {
        padding-top: 46px;
    }
    .hero-title {
        margin-bottom: 32px;
    }
    .newcat,
    .versus-grid,
    .cat-cols {
        grid-template-columns: 1fr;
    }
    .versus-grid .cell_3 {
        margin-bottom: 0;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .main-search {
        max-width: 100%;
    }
    .main-search .cell.reset-padding {
        display: none;
    }
    #header {
        margin-bottom: 20px;
    }
    .listing-card {
        flex-wrap: wrap;
        gap: 14px;
    }
    .listing-detail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .listing-action {
        justify-content: flex-start;
    }
    #main {
        margin-left: 0;
        margin-right: 0;
    }
    .content-copy {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .newcat .cat-item h2 {
        font-size: 23px;
    }
}
