/*** Fixed issue with visible scroll at very small width devices **/
img {
    max-width: 100%;
}
/*** Fixed issue with logo position on every page **/
* {
    box-sizing: border-box;
}

/*** Document background color **/
#content {
    position: relative;
    margin-block: 0;
    padding-block: 0;
    background-color: var(--body-color); /*** #f0f0f0 **/
    overflow: hidden;
}

@media (max-width: 767px) {
    /** Mobile */
    #content::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 400px; /* adjust width as needed */
        height: 100%;
        background-image: url("../tc_pix/www/backgrounds/img_seamless_desktop_home_left.webp");
        background-repeat: repeat-y;
        background-size: contain;
        z-index: 0;
        pointer-events: none;
    }

    #content::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 400px; /* adjust width as needed */
        height: 100%;
        background-image: url("../tc_pix/www/backgrounds/img_seamless_desktop_home_right.webp");
        background-repeat: repeat-y;
        background-size: contain;
        z-index: 0;
        pointer-events: none;
    }

    #content > * {
        position: relative;
        z-index: 1;
    }
}

@media (min-width: 768px) {
    /** Desktop */
    #content::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 600px; /* adjust width as needed */
        height: 100%;
        background-image: url("../tc_pix/www/backgrounds/img_seamless_desktop_home_left.webp");
        background-repeat: repeat-y;
        background-size: contain;
        z-index: 0;
        pointer-events: none;
    }

    #content::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 600px; /* adjust width as needed */
        height: 100%;
        background-image: url("../tc_pix/www/backgrounds/img_seamless_desktop_home_right.webp");
        background-repeat: repeat-y;
        background-size: contain;
        z-index: 0;
        pointer-events: none;
    }

    #content > * {
        position: relative;
        z-index: 1;
    }
}

.icon-svg-color {
    fill: var(--body-color);
    stroke: var(--body-color);
}

.icon-add-to-cart-color {
    width: 25px;
    height: 25px;
}

/*** What’s the secret to brewing amazing Specialty Coffee on a budget? **/

[id*="__homepage-how-to-use"] .item_image {
    border-radius: 16px;
    overflow: hidden;
    padding: 0 !important;
    margin-bottom: 16px !important;
}
[id*="__homepage-how-to-use"] .item_image img {
    position: unset !important;
    aspect-ratio: 1;
    height: auto !important;
    vertical-align: bottom;
}
[id*="__homepage-how-to-use"] .item_title {
    color: #000;
    font-size: 23px !important;
    line-height: 28px !important;
}
[id*="__homepage-how-to-use"] .item_text {
    font-size: 15px !important;
    line-height: 22px !important;
}
[id*="__homepage-how-to-use"] .section_title {
    font-size: 30px !important;
    line-height: 36px !important;
}
@media (min-width: 1024px) {
    [id*="__homepage-how-to-use"] .section_title {
        font-size: 45px !important;
        line-height: 64px !important;
    }
    [id*="__homepage-how-to-use"] .item_title {
        font-size: 26px !important;
        line-height: 31px !important;
    }
    [id*="__homepage-how-to-use"] .item_text {
        font-size: 18px !important;
        line-height: 26px !important;
    }
}

/*** Freshly roasted **/

div[id*="__homepage_guarantee_"] .left_part {
    max-width: 480px;
}
div[id*="__homepage_guarantee_"] .right_part {
    overflow: hidden !important;
    border-radius: 24px !important;
}
div[id*="__homepage_guarantee_"] .right_part img {
    vertical-align: bottom;
}
div[id*="__homepage_guarantee_"] .seciton_title {
    font-size: 30px !important;
    line-height: 44px !important;
    margin-bottom: 16px !important;
}
div[id*="__homepage_guarantee_"] .item_text,
div[id*="__homepage_guarantee_"] .sction_subheading {
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 22px !important;
}
div[id*="__homepage_guarantee_"] .sction_subheading {
    margin-bottom: 20px !important;
}
div[id*="__homepage_guarantee_"] .section_items {
    max-width: 420px;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 40px !important;
}
div[id*="__homepage_guarantee_"] .section_item {
    background-color: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    box-shadow: var(--faq-shadow);
}
div[id*="__homepage_guarantee_"] .item_image {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
}
div[id*="__homepage_guarantee_"] .item_text {
    align-self: center !important;
}
@media (min-width: 1024px) {
    div[id*="__homepage_guarantee_"] .right_part {
        border-radius: 24px 0 0 24px;
    }
    div[id*="__homepage_guarantee_"] .seciton_title {
        font-size: 46px !important;
        line-height: 64px !important;
        margin-bottom: 20px !important;
    }
    div[id*="__homepage_guarantee_"] .sction_subheading {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    div[id*="__homepage_guarantee_"] .section_item {
        padding: 16px;
    }
    div[id*="__homepage_guarantee_"] .item_text {
        font-size: 18px !important;
        line-height: 26px !important;
    }
    div[id*="__homepage_guarantee_"] .item_image {
        width: 40px !important;
        height: 40px !important;
    }
}

/*** Footer image **/

.toneff-section div.__instant img.instant-fill.instant-image__fill {
    filter: brightness(70%);
}
.toneff-section div.__instant .instant-rich-text {
    background: transparent;
}
.toneff-section div.__instant .instant-rich-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 2px;
}
.toneff-section div.__instant a:has(.instant-rich-text) {
    max-width: 360px;
    width: 100%;
    border-radius: 16px;
    padding: 12px 32px;
    margin-block: 20px;
}
.toneff-section div.__instant a .instant-rich-text p {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 19px;
    line-height: 28px;
}
@media (min-width: 768px) {
    .toneff-section div.__instant .instant-rich-text p {
        font-size: 24px;
    }
    .toneff-section div.__instant a:has(.instant-rich-text) {
        max-width: 360px;
        width: auto;
    }
    .toneff-section div.__instant a .instant-rich-text p {
        font-size: 22px;
        line-height: 32px;
    }
}

/*** Footer image Copyright **/

.toneff-section div.__instant .instant-rich-text-copyright {
    background: transparent;
}
/* Container with icon links */
.toneff-section div.__instant .instant-rich-social-links {
    padding-top: 7px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

/* Social icons */
.toneff-section div.__instant .instant-rich-social-img {
    width: 33px;
    height: 33px;
    display: block;
}

.toneff-section div.__instant .instant-rich-text-copyright p {
    font-weight: 400;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 2px;
}
.toneff-section div.__instant a:has(.instant-rich-text-copyright) {
    max-width: 360px;
    width: 100%;
    border-radius: 16px;
    padding: 12px 32px;
    margin-block: 20px;
}
.toneff-section div.__instant a .instant-rich-text-copyright p {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 19px;
    line-height: 28px;
}
@media (min-width: 768px) {
    .toneff-section div.__instant .instant-rich-text-copyright p {
        font-size: 10px;
    }
    .toneff-section div.__instant a:has(.instant-rich-text-copyright) {
        max-width: 360px;
        width: auto;
    }
    .toneff-section div.__instant a .instant-rich-text-copyright p {
        font-size: 10px;
        line-height: 32px;
    }
}