/**
 * Coffee discovery on category 13 and in the mobile IQIT menu.
 * @author CUSTOM-NOT-UPDATE
 */
.gk-coffee-discovery {
    margin: 1.15rem 0 1.35rem;
}

.gk-coffee-discovery__heading,
.gk-coffee-subcategories__heading {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    color: #4d2e1d;
    font-size: 1.15rem;
    line-height: 1.3;
}

.gk-coffee-discovery__heading .fa {
    color: #a95f31;
}

.gk-coffee-discovery__help {
    margin: .3rem 0 .8rem;
    color: #6f625a;
    font-size: .92rem;
}

.gk-coffee-tastes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
}

.gk-coffee-taste {
    display: flex;
    align-items: center;
    min-height: 5.15rem;
    padding: .85rem 1rem;
    border: 1px solid #e3d9d2;
    border-radius: .7rem;
    background: #fff;
    color: #4d2e1d;
    box-shadow: 0 2px 9px rgba(77, 46, 29, .06);
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gk-coffee-taste:hover,
.gk-coffee-taste:focus-visible {
    border-color: #c89069;
    color: #4d2e1d;
    box-shadow: 0 5px 15px rgba(77, 46, 29, .12);
    transform: translateY(-1px);
}

.gk-coffee-taste__text {
    min-width: 0;
}

.gk-coffee-taste__title {
    display: block;
    margin-bottom: .12rem;
    font-weight: 700;
    line-height: 1.25;
}

.gk-coffee-taste__description {
    display: block;
    color: #776b64;
    font-size: .82rem;
    line-height: 1.35;
}

.gk-coffee-bean {
    position: relative;
    width: 2.15rem;
    height: 2.65rem;
    flex: 0 0 2.15rem;
    margin-right: .8rem;
    border-radius: 52% 48% 52% 48%;
    background: #b47750;
    box-shadow: inset -.2rem -.18rem 0 rgba(76, 40, 22, .15);
    transform: rotate(24deg);
}

.gk-coffee-bean::after {
    position: absolute;
    top: .28rem;
    bottom: .28rem;
    left: 50%;
    width: .45rem;
    border-left: 2px solid rgba(255, 248, 242, .8);
    border-radius: 50%;
    content: '';
    transform: translateX(-50%) rotate(12deg);
}

.gk-coffee-bean--low { background: #8c5739; }
.gk-coffee-bean--balanced { background: #b56e43; }
.gk-coffee-bean--fruity { background: #d68a56; }

.gk-coffee-subcategories {
    margin: 0 0 1.5rem;
}

.gk-coffee-subcategories__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #f2e9e3;
    color: #7d4628;
    font-size: .75rem;
}

.gk-coffee-subcategories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-top: .7rem;
}

.gk-coffee-subcategory {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 3.35rem;
    padding: .42rem .65rem;
    border: 1px solid #ebe3de;
    border-radius: .55rem;
    background: #fff;
    color: #4d2e1d;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none !important;
}

.gk-coffee-subcategory:hover,
.gk-coffee-subcategory:focus-visible {
    border-color: #cfaa90;
    background: #fcf8f5;
    color: #4d2e1d;
}

.gk-coffee-subcategory__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    flex: 0 0 2.45rem;
    margin-right: .6rem;
    overflow: hidden;
    border-radius: .42rem;
    background: #f7f3f0;
}

.gk-coffee-subcategory__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gk-coffee-subcategory__name {
    min-width: 0;
}

/* Mobile IQIT submenu: generated category list replaces the manually configured grid. */
.gk-coffee-mobile-panel {
    color: #4d2e1d;
}

.gk-coffee-mobile-panel__all {
    display: flex;
    align-items: center;
    min-height: 2.8rem;
    margin-bottom: .9rem;
    padding: .62rem .75rem;
    border-radius: .6rem;
    background: #4d2e1d;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.gk-coffee-mobile-panel__all .fa-coffee {
    margin-right: .6rem;
    color: #f5d7c2;
}

.gk-coffee-mobile-panel__all .fa-angle-right {
    margin-left: auto;
}

.gk-coffee-mobile-panel__title {
    display: flex;
    align-items: center;
    margin: 0 0 .2rem;
    font-size: .95rem;
    font-weight: 700;
}

.gk-coffee-mobile-panel__title .fa {
    margin-right: .45rem;
    color: #a95f31;
}

.gk-coffee-mobile-panel__help {
    margin: 0 0 .55rem;
    color: #786b63;
    font-size: .76rem;
    line-height: 1.35;
}

.gk-coffee-mobile-panel__tastes {
    display: grid;
    gap: .38rem;
    margin-bottom: 1rem;
}

.gk-coffee-mobile-panel__taste {
    display: flex;
    align-items: center;
    min-height: 3.4rem;
    padding: .5rem .55rem;
    border: 1px solid #e8ddd6;
    border-radius: .55rem;
    background: #fcf9f7;
    color: #4d2e1d !important;
    text-decoration: none !important;
}

.gk-coffee-mobile-panel__taste .gk-coffee-bean {
    width: 1.42rem;
    height: 1.75rem;
    flex-basis: 1.42rem;
    margin-right: .6rem;
}

.gk-coffee-mobile-panel__taste .gk-coffee-bean::after {
    top: .2rem;
    bottom: .2rem;
    width: .3rem;
    border-left-width: 1px;
}

.gk-coffee-mobile-panel__taste-text {
    min-width: 0;
}

.gk-coffee-mobile-panel__taste-title,
.gk-coffee-mobile-panel__taste-description {
    display: block;
}

.gk-coffee-mobile-panel__taste-title {
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.2;
}

.gk-coffee-mobile-panel__taste-description {
    margin-top: .08rem;
    color: #7b6e66;
    font-size: .68rem;
    line-height: 1.25;
}

.gk-coffee-mobile-panel__taste > .fa {
    margin-left: auto;
    padding-left: .4rem;
    color: #a17860;
}

.gk-coffee-mobile-panel__sections {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 .4rem;
    padding-top: .65rem;
    border-top: 1px solid #e8ddd6;
    font-size: .84rem;
    font-weight: 700;
}

.gk-coffee-mobile-panel__sections-count {
    color: #8d776a;
    font-size: .7rem;
    font-weight: 600;
}

.gk-coffee-mobile-panel__categories {
    display: grid;
    gap: .25rem;
}

.gk-coffee-mobile-panel__category {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .25rem .35rem;
    border-radius: .45rem;
    color: #4d2e1d !important;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.gk-coffee-mobile-panel__category:hover,
.gk-coffee-mobile-panel__category:focus-visible {
    background: #f7f1ed;
}

.gk-coffee-mobile-panel__category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    margin-right: .55rem;
    overflow: hidden;
    border: 1px solid #eee5df;
    border-radius: .4rem;
    background: #fff;
}

.gk-coffee-mobile-panel__category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gk-coffee-menu-tab > .mobile-menu__submenu > .mobile-menu__row {
    display: none !important;
}

@media (max-width: 991px) {
    .gk-coffee-subcategories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gk-coffee-discovery {
        margin: .8rem 0 1rem;
    }

    .gk-coffee-discovery__heading,
    .gk-coffee-subcategories__heading {
        font-size: 1.02rem;
    }

    .gk-coffee-discovery__help {
        margin-bottom: .6rem;
        font-size: .82rem;
    }

    .gk-coffee-tastes,
    .gk-coffee-subcategories__grid {
        grid-template-columns: 1fr;
        gap: .42rem;
    }

    .gk-coffee-taste {
        min-height: 4rem;
        padding: .62rem .72rem;
    }

    .gk-coffee-bean {
        width: 1.7rem;
        height: 2.1rem;
        flex-basis: 1.7rem;
        margin-right: .7rem;
    }

    .gk-coffee-taste__description {
        font-size: .76rem;
    }

    .gk-coffee-subcategories {
        margin-bottom: 1rem;
    }

    .gk-coffee-subcategory {
        min-height: 3rem;
        padding: .32rem .55rem;
        font-size: .84rem;
    }

    .gk-coffee-subcategory__image {
        width: 2.2rem;
        height: 2.2rem;
        flex-basis: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gk-coffee-taste {
        transition: none;
    }
}
