section.top-overlap{
    margin-top: -245px;
    clear: both;
}
/* search bar start */
.drink-search {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Assistant", sans-serif;
    font-weight: 200;
}
.drink-search input{
    font-size: 24px;
    border: 1px solid #999999;
    padding: 20px;
    border-right: 0;
    outline: none;
    width: 100%;
}
input::placeholder {
    color: #999999;
    font-weight: 300;
}
button#search-button {
    border: 0;
    background: #76BC23;
    font-size: 0;
    background-image: url(../../images/icon_search.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    background-size: 31px;
    cursor: pointer;
}
#search-info {
    padding: 5px 7px;
    background-color: #76bc23;
    color: #fff;
    position: absolute;
    left: 20px;
    top: 10px;
}
#clear-search {
    font-size: 25px;
    line-height: 15px;
    margin-left: 15px;
    cursor: pointer;
    color: #fff;
    font-family: "Assistant", sans-serif;
    font-weight: 200;
}
/*  search bar end */

/* Tab filter start */
form#filter-form div#language, div#post_translations {
    display: none;
    opacity: 0;
}
.filter-head .tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
}
.term-icon {
    width: 20px; 
    height: 20px; 
    margin-right: 5px;
}
.filter-head .tablink {
    padding: 15px 25px;
    border: 0;
    background: #76BC23;
    cursor: pointer;
}
label.radio-label, .filter-head .tablink{
    color: #fff;
    text-transform: uppercase;
    font-family: 'FibraAlt-Regular';
    font-size: 18px;
}
.filter-head .tablink.active {
    background: #08C2E8;
}
.filter-head .tabcontent {
    padding: 50px;
    background: #08c2e8;
    justify-content: center;
    gap: 50px;
    align-items: baseline;
    display: none;
}
div#language, div#post_translations {
    display: none;
}
.radio {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 10px;
}
.image-wrapper {
    width: 60px;
    height: 65px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 15px;
}
img.tax-icon {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
}
.radio input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    z-index: 99;
    cursor: pointer;
}
.tabcontent .radio:last-child{
    display: none;
}
.radio input[type="radio"]:checked + .image-wrapper .tax-icon,
.radio input[type="checkbox"]:checked + .image-wrapper .tax-icon {
    transform: translateY(-55%);
}
.radio:hover img {
    margin-top: -2px;
}
.radio img {
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    margin-top: 6px;
}
.radio input[type="radio"]:checked + .image-wrapper img,
.radio input[type="checkbox"]:checked + .image-wrapper img{
    transition: none;
}
img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: scale(0.8); /* Initially scale down */
    transition: all 0.7s ease-in-out; /* Smooth transition with easing */
}

.drink-item .post-image-wrapper > img,
.drink-item:hover .post-image-wrapper > img {
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.drink-item:hover .post-image-wrapper > img {
    -webkit-transform: scale(0.62);
    transform: scale(0.62);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.drink-item .post-image-wrapper > img + img {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
}
img.shadow-image {
    z-index: -1;
}
.drink-item:hover .post-image-wrapper > img + img {
    opacity: 0;
}

.drink-item:hover .post-image-wrapper > img + img + img + img {
    opacity: 1;
    transform: scale(1.01); /* Slightly increase the size on hover */
    -webkit-transform: scale(1.01);
    transition: all 0.7s ease-in-out; /* Smooth transition for scaling and opacity */
    -webkit-transition: all 0.7s ease-in-out;
    transition-delay: 0.2s; /* Delay the hover image to create a booming effect */
}

.subcategory-item {
    color: #76BC23;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    width: 120px;
    font-size: 16px;
}
#subcategory-container {
    height: 0;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 50px;
}
#subcategory-container, #drinks-list {
    transition: visibility 0.3s, opacity 0.3s linear;
    opacity: 0;
    visibility: hidden;
}
#subcategory-container.show, #drinks-list.show {
    opacity: 1;
    visibility: visible;
}
#subcategory-container.show{
    height: auto;
}
.subcategory-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
    padding-top: 35px;
    flex-wrap: wrap;
}
.subcategory-inner {
    text-align: center;
    color: #999999;
    width: 600px;
    max-width: 100%;
    margin: 30px auto 0 auto;
}
.subcategory-inner p {
    font-size: 20px;
}
.subcategory-inner  h3 {
    color: #76bc23;
    padding: 20px 0;
}
.image-wrapper img {
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    margin-top: 6px;
}
.subcategory-item:hover img {
    margin-top: -2px;
}
/* Tab filter end */

/* drink list start */
.post-image-wrapper {
    position: relative;
    width: 100%; 
    max-height: 100%;
    overflow: hidden;
    height: 300px;
}
.drink-item p{
    text-transform: uppercase;
    color: #7d7d7d;
    font-size: 15px;
    -webkit-transition: all 1s ease 1s;
    transition: all 1s ease 1s;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.drinks-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}
.drink-item-wrapper {
    text-align: center;
    width: 25%;
    box-sizing: border-box;
    margin-bottom: 10px;
    overflow: hidden; /* Ensure content does not overflow */
    transition: height 600ms ease; /* Transition for height */
}
.drink-item {
    position: relative;
    cursor: pointer;
}
.drink-content {
    display: none;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    overflow: hidden;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
}
.close-content {
    position: absolute;
    top: 30px;
    right: 10px;
    background: none;
    border: none;
    font-size: 50px;
    cursor: pointer;
    font-weight: 100;
    font-family: 'Cairo-Regular';
    line-height: 1;
    color: #888;
    transition: all ease .5s;
}
.close-content:hover {
    color: #000;
}
.mx-auto {
    margin: 0 auto;
}
.w-50 {
    width: 50%;
}
.text-center {
    text-align: center;
}
/* drink lists end */
/* drink single start */
.drink-single {
    background-color: #f6f6f6;
    padding-top: 80px;
    clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
    margin-top: 20px;
    min-height: 1000px;
}
.drink-item-wrapper.expanded .drink-item {
    position: relative;
}
.drink-item-wrapper.expanded .drink-item::after {
    bottom: -55px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #f6f6f6;
    border-width: 25px;
    left: 50%;
    margin: -20px 0 0 -15px;
    z-index: 1;
    transform: rotate(-2deg);
}
/* 1st item in 3-item */
.drink-item-wrapper.count-3:nth-child(3n+2) .drink-item::after {
    bottom: -54px;
}
/* 2nd item in 3-item */
.drink-item-wrapper.count-3:nth-child(3n) .drink-item::after {
    bottom: -50px;
}
/* 3rd item in 3-item */
.drink-item-wrapper.count-3:nth-child(3n+1) .drink-item::after {
    bottom: -60px;
}
/* 1st item in 2-item */
.drink-item-wrapper.count-2:nth-child(2n+1) .drink-item::after {
    bottom: -58px;
}
/* 2nd item in 2-item */
.drink-item-wrapper.count-2:nth-child(2n) .drink-item::after {
    bottom: -51px;
}
/* 1st item in a 4-item row */
.drink-item-wrapper.count-4:nth-of-type(4n+1) .drink-item::after {
    bottom: -65px;
}
/* 2nd item in a 4-item row */
.drink-item-wrapper.count-4:nth-of-type(4n+2) .drink-item::after {
    bottom: -58px;
}
/* 3rd item in a 4-item row */
.drink-item-wrapper.count-4:nth-of-type(4n+3) .drink-item::after  {
    bottom: -51px;
}
/* 4th item in a 4-item row */
.drink-item-wrapper.count-4:nth-of-type(4n+4) .drink-item::after  {
    bottom: -45px;
}
/* Drink single */
.quick-overview {
    width: 45%;
    padding: 10px;
}
.quick-overview h2 {
    color: #67b94c;
    font-size: 52px;
    line-height: 54px;
    font-weight: 300;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}
.drink-large-img {
    width: 55%;
    text-align: center;
}
.drink-info-box {
    width: 1200px;
    text-align: left;
    max-width: 90%;
    margin: 0 auto;
}
.drink-info-box-inner{
    display: flex;
    flex-wrap: wrap;
}
.drink-info-box .quick-overview p {
    color: #67b94c;
    font-size: 24px;
    margin: 15px 0;
    line-height: 1.5;
}
.drink-info-box .quick-overview ul {
    padding: 0;
    margin: 40px 0px 30px 0px;
    display: flex;
    color: #7d7d7db3;
    font-size: 12px;
    text-transform: uppercase;
    overflow: hidden;
    line-height: 1.2;
    flex-wrap: wrap;
    list-style: none;
    align-items: baseline;
}
.drink-info-box .quick-overview ul li span {
    display: block;
    width: 45px;
    height: 45px;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 1px solid #888;
    border-radius: 50%;
    padding: 5px;
}
.drink-info-box .quick-overview ul li{
    min-width: 33%;
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
}
.drink-info-box .quick-overview ul.drink-categories span img {
    width: 100%;
    -webkit-filter: brightness(0.5);
    filter: brightness(0.5);
}
.drink-info-box .quick-overview ul img {
    display: block;
    margin: 0 auto 5px;
}
.nutrition-info{
    padding: 70px 60px 60px 60px;
    background: #63a930;
    clip-path: polygon(0% 0%, 100% 30px, 100% 100%, 0% 100%);
}
.drink-info-box .nutrition-info .tab-item.active a, .drink-info-box .nutrition-info .tab-item a:hover {
    background-color: #76c33f;
}
.nutrition-tabs ul.tab-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}
.nutrition-tabs ul.tab-list li a {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    font-size: 24px;
}
.nutri-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}
.nutri-item {
    padding: 10px;
    text-align: center;
    width: 25%;
    color: #fff;
    margin: 10px 0;
}
.nutrition-info h3 {
    text-align: center;
    margin-bottom: 25px;
    font-family: 'FibraAlt-regular';
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}
.drink-info-box .nutrition-info .nutri-item p {
    font-size: 15px;
    line-height: 1.2;
}
.drink-info-box .nutrition-info .nutri-item p strong {
    display: block;
    font-weight: 600;
    font-size: 27px;
    line-height: 1.5;
    margin-bottom: 5px;
}
.drink-info-box .quick-overview .drink-details, .drink-info-box .quick-overview .drink-details p{
    font-size: 16px;
    line-height: 1.6;
    color: #7d7d7d;
    font-family: 'FibraAlt-Regular';
}
/* drink single end */
.hover-drink-categories {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    padding: 0;
    z-index: 4;
    text-align: center;
    opacity: 0;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    bottom: 0;
    position: absolute;
    color: #67b94c;
    font-size: 13px;
    line-height: 15px;
}
.hover-drink-categories li {
    display: inline-block;
    margin: 0;
    vertical-align: top;
    width: 24%;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    color: #67b94c;
    font-size: 13px;
    line-height: 15px;
}
.hover-drink-categories li span {
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0 auto 5px;
}
.hover-drink-categories li span img{
    width: 100%;
    margin-top: -40px;
}
.drink-item:hover > p {
    opacity: 0;
    -webkit-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
}
.drink-item:hover > ul {
    opacity: 1;
    -webkit-transition: all 1s ease-in-out 0.5s;
    transition: all 1s ease-in-out 0.5s;
}
@media only screen and (max-width:1500px){
    .post-image-wrapper {
        height: 300px;
    }
}
@media only screen and (max-width: 1300px) {
    .post-image-wrapper {
        height: auto;
    }
}
@media only screen and (max-width:1200px){
}
@media only screen and (max-width:992px){
    .filter-head .tabcontent {
        padding: 50px;
        gap: 20px;
        flex-wrap: wrap;
    }
    .drink-item-wrapper {
        width: 30%;
    }
    .drinks-wrap {
        justify-content: space-evenly;
    }
    .quick-overview h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    .drink-info-box .quick-overview p {
        font-size: 22px;
        line-height: 1.3;
    }
    .drink-info-box .quick-overview .drink-details, .drink-info-box .quick-overview .drink-details p {
        font-size: 12px;
    }
    .drink-info-box .nutrition-info .nutri-item p{
        font-size: 13px;
    }
    .drink-info-box .nutrition-info .nutri-item p strong {
        font-size: 25px;
    }
    .drinks-filter {
        margin-bottom: 50px;
    }
}
@media only screen and (max-width:768px){
    .w-50{
        width: 100%;
    }
    .filter-head .tabs {
        flex-direction: column;
    }
    .filter-head .tablink {
        width: 100%;
    }
    .filter-head .tabcontent {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 30px;
    }
    .drink-item-wrapper {
        width: 50%;
    }
    .drink-info-box-inner {
        flex-direction: column;
        padding: 0 2.5%;
    }
    .quick-overview, .drink-large-img {
        width: 100%;
    }
    .nutrition-info {
        padding: 50px 20px 20px;
    }
    .drink-info-box {
        max-width: 100%;
    }
    .drink-single {
        padding-top: 80px;
        clip-path: polygon(0 15px, 100% 0, 100% 100%, 0 100%);
    }
    body.rtl .drink-single {
        clip-path: polygon(0 0, 100% 15px, 100% 100%, 0 100%);
    }
    .quick-overview h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    .drink-info-box .quick-overview p {
        font-size: 18px;
    }
    .nutrition-tabs ul.tab-list {
        gap: 5px;
        text-align: center;
        margin: 15px auto;
    }
    .nutri-item {
        width: calc(50% - 5px);
    }
    .nutri-wrap {
        gap: 10px;
        justify-content: center;
    }
    .drink-info-box .nutrition-info .nutri-item p strong {
        font-size: 25px;
        line-height: 1.2;
        margin-bottom: 0;
    }
    .drink-info-box .nutrition-info .nutri-item p {
        font-size: 14px;
        line-height: 1.2;
    }
    label.radio-label, .filter-head .tablink {
        font-size: 15px;
    }
    .radio {
        padding: 5px;
        flex: 1;
    }
    .drink-item-wrapper.expanded .drink-item::after,
    .drink-item-wrapper.count-4:nth-of-type(4n+2) .drink-item::after,
    .drink-item-wrapper.count-3:nth-child(3n+2) .drink-item::after,
    .drink-item-wrapper.count-3:nth-child(3n) .drink-item::after {
        bottom: -45px;
    }
    .drink-item-wrapper.count-2:nth-child(2n) .drink-item::after,
    .drink-item-wrapper.count-4:nth-child(2) .drink-item::after{
        bottom: -40px;
    }
    .drink-item-wrapper.count-2:nth-child(2n+1) .drink-item::after,
    .drink-item-wrapper.count-4:nth-child(1) .drink-item::after,
    .drink-item-wrapper.count-4:nth-of-type(4n+1) .drink-item::after{
        bottom: -50px;
    }
    .drink-item p{
        font-size: 13px;
    }
    .drink-info-box .quick-overview ul li {
        width: auto;
        flex: 1 1 0;
    }
    .drink-info-box .quick-overview ul{
        gap: 15px;
        display: inline-flex;
    }
    .drink-info-box .quick-overview ul li span {
        width: 35px;
        height: 35px;
    }
    .subcategory-inner {
        width: 100%;
        margin: 15px auto 0 auto;
    }
    .drink-search input {
        font-size: 20px;
        padding: 13px;
    }
    button#search-button {
        width: 60px;
        background-size: 25px;
    }
    .filter-head .tablink {
        padding: 20px 25px;
    }
    #subcategory-container, div#drinks-list {
        margin-bottom: 70px;
    }
    .image-wrapper{
        margin-bottom: 10px;
    }
    .drink-item {
        margin-bottom: 15px;
    }
    .post-image-wrapper{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .hover-drink-categories{
        display: none;
    }
    .drink-item:hover > p {
        opacity: 1;
    }
}
@media only screen and (max-width:560px){
    section.top-overlap {
        margin-top: -30px;
    }
    .searchbarwrap, div#subcategory-container, div#drinks-list {
        padding: 0 12px;
    }
    .quick-overview h2 {
        font-size: 32px;
    }
    .drinks-filter {
        margin-bottom: 0px;
    }
}
/* Ar styles */
body.rtl .drink-search input {
    border-right: 1px solid #999999;
    border-left: 0;
}
body.rtl #search-info {
    left: auto;
    right: 20px;
}
body.rtl #clear-search {
    margin-left: 0;
    margin-right: 15px;
}
body.rtl .drink-single {
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
}
body.rtl .close-content {
    right: auto;
    left: 10px;
}
body.rtl .drink-info-box-inner{
    text-align: right;
}
body.rtl .drink-item-wrapper.expanded .drink-item::after {
    transform: rotate(2deg);
}
body.rtl .drink-info-box .quick-overview .drink-details,
body.rtl .drink-info-box .quick-overview .drink-details p,
body.rtl .drink-info-box .quick-overview p,body.rtl label.radio-label, body.rtl .filter-head .tablink{
    font-family: 'Cairo-Regular';
    line-height: 1.6;
}
body.rtl .nutrition-info h3{
    font-family: Cairo-Bold;
}