/* Product category content. Loaded only on product-category archives. */

body.archive.tax-product_cat #content .ast-container {
    display: block;
    max-width: 100%;
    padding: 0;
}

body.archive.tax-product_cat .main-header-bar.ast-header-breadcrumb {
    display: none;
}

body.archive.tax-product_cat #content .ast-container div#primary {
    max-width: 1240px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

body.archive.tax-product_cat #content .ast-container nav.woocommerce-breadcrumb {
    padding: 12px 0;
    line-height: normal;
}

.category-banner picture,
.category-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.category-banner img {
    object-fit: cover;
    object-position: right;
}

@media only screen and (max-width: 767px) {
    body.archive.tax-product_cat #content .ast-container nav.woocommerce-breadcrumb {
        background: transparent;
        padding: 12px 0;
    }
}

/* Category description: the final values formerly split between style.css and the template. */
.cohoma-category-description {
    margin: 34px 0 0 !important;
    color: #1f1f1f !important;
}

.cohoma-category-description__content {
    position: relative !important;
    max-height: 11.9em !important;
    overflow: hidden !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.cohoma-category-description__content:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 44px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(254, 245, 230, 0), var(--cohoma-color-surface));
}

.cohoma-category-description.is-expanded .cohoma-category-description__content {
    max-height: none !important;
    overflow: visible !important;
}

.cohoma-category-description.is-expanded .cohoma-category-description__content:after {
    display: none;
}

.cohoma-category-description__content p,
.cohoma-category-description__content h2,
.cohoma-category-description__content h3,
.cohoma-category-description__content h4 {
    margin-top: 0;
}

.cohoma-category-description__toggle,
.cohoma-category-description__toggle:hover,
.cohoma-category-description__toggle:focus {
    display: inline-block !important;
    margin-top: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cohoma-color-brand) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    text-decoration: none !important;
    text-underline-offset: 4px;
}

.cohoma-category-description__toggle[hidden] {
    display: none !important;
}

.cohoma-category-description.is-not-collapsible .cohoma-category-description__content:after {
    display: none !important;
}

.cohoma-category-description__content > :last-child {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 600px) {
    .cohoma-category-description {
        margin-top: 28px !important;
    }

    .cohoma-category-description__content {
        max-height: 11.55em !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}

/* SAMPLERS SECTION CSS */

.samplerscollection-wrapper {
    display: flex;
    gap: 35px;
}

.samplerscollection-heading {
    background-color: var(--cohoma-color-brand);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 2px solid #000;
    text-align: center;
    padding: 12px;
    margin-bottom: 30px;
}

.samplerscollection-heading p {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.samplerscollection {
    margin-top: 50px;
}

.samplerscollection-item {width: -webkit-fill-available;}

.samplerscollection-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.samplerscollection-item h3 {
    font-size: 18px;
    margin: 12px 0 6px;
}

.samplerscollection-item p {
    margin: 0;
    font-size: 13px;
    line-height: 19px;
}

@media only screen and (max-width: 768px) {
.samplerscollection-wrapper {
    flex-wrap: wrap;
    gap: 20px;
}
.samplerscollection-item {
    width: 48%;
}
.samplerscollection-item img {
    height: 220px;
}
}

@media only screen and (max-width: 530px) {
.samplerscollection-item {
    width: 47%;
}
.samplerscollection-item img {
    height: 190px;
}
.samplerscollection-heading p {
    font-size: 19px;
    font-weight: 600;
}
}

/* Category FAQs. Native details/summary keeps open and closed states accessible. */
.cohoma-category-faqs {
    width: 70%;
    max-width: 980px;
    margin: 120px auto 0;
    color: #1f1f1f;
}

.cohoma-category-faqs__title {
    margin: 0 0 2rem !important;
    text-align: center;
    font-size: 1.5rem !important;
    line-height: 1.2;
    color: #1f1f1f;
}

.cohoma-category-faq {
    border-bottom: 1px solid rgba(97, 45, 15, 0.22);
}

.cohoma-category-faq:first-of-type {
    border-top: 1px solid rgba(97, 45, 15, 0.22);
}

.cohoma-category-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    color: var(--cohoma-color-brand);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.cohoma-category-faq__question::-webkit-details-marker {
    display: none;
}

.cohoma-category-faq__question:after {
    content: "+";
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: var(--cohoma-color-brand);
}

.cohoma-category-faq[open] .cohoma-category-faq__question:after {
    content: "-";
}

.cohoma-category-faq__answer {
    padding: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
}

.cohoma-category-faq__answer p {
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .cohoma-category-faqs {
        width: 100%;
        margin-top: 42px;
    }

    .cohoma-category-faqs__title {
        font-size: 1.5rem;
    }

    .cohoma-category-faq__question {
        font-size: 16px;
    }

    .cohoma-category-faq__answer {
        font-size: 15px;
    }
}
