/* General */
html {
    /* Override Bootsrap scroll-behaviour: smooth */
    scroll-behavior: auto !important;
}
/* =================================
   A-BLOCK FADE-IN ANIMATIONS
   ================================= */

/**
 * Base styles for a-block elements
 * Ensures proper rendering and prevents FOUC
 */
.a-block {
    /* Start hidden to prevent flash of unstyled content */
    opacity: 0;
    transform: translateY(50px);
    
    /* Optimize for animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    
    /* Ensure proper stacking context */
    position: relative;
    z-index: 1;
}

/**
 * Post-animation state
 * Applied after animation completes for cleanup
 * CRITICAL: Locks animated elements in place to prevent re-animation on iPad
 */
.a-block-animated {
    will-change: auto !important;
    backface-visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

/**
 * Reduced motion support
 * Respects user's motion preferences
 */
@media (prefers-reduced-motion: reduce) {
    .a-block {
        /* Disable complex animations for users who prefer reduced motion */
        will-change: auto;
        opacity: 0.8;
        transform: none !important;
    }
}

/**
 * Performance optimizations for mobile devices
 */
@media (max-width: 768px) {
    .a-block {
        /* Lighter animations on mobile for better performance */
        will-change: opacity;
    }
}

/**
 * iPad-specific fixes for momentum scroll behavior
 * Locks animated blocks using hardware acceleration
 */
@media (hover: none) and (pointer: coarse) {
    .a-block {
        transform: translate3d(0, 50px, 0);
        -webkit-transform: translate3d(0, 50px, 0);
    }
    
    .a-block-animated {
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }
}

/**
 * High contrast mode support
 */
@media (prefers-contrast: high) {
    .a-block {
        /* Ensure visibility in high contrast mode */
        opacity: 1 !important;
        transform: none !important;
    }
}

/**
 * Print styles
 * Ensure elements are visible when printing
 */
@media print {
    .a-block {
        opacity: 1 !important;
        transform: none !important;
        will-change: auto;
    }
}
.pos-rel {
    position: relative;
}
.text-balance {
    text-wrap: balance;
}
.overflow-x-scroll {
    overflow-x: scroll;
    scrollbar-width: none;
}
.zIndex-0 {
    z-index: 0;
}
.zIndex-1 {
    z-index: 1;
}
.zIndex-2 {
    z-index: 2;
}
.wrapper {
    padding: 0;
}
section {
    position: relative;
}
.img-container {
    position: relative;
    overflow: hidden;
}
.img-container img {
    width: 100%;
}
.brd-t {
    border-top: 1px solid var(--color-black);
}
.brd-t.white {
    border-top: 1px solid var(--color-white);
}
.brd-b {
    border-bottom: 1px solid var(--color-black);
}
.brd-b.white {
    border-bottom: 1px solid var(--color-white);
}
.brd-l {
    border-left: 1px solid var(--color-black);
}
.brd-r {
    border-right: 1px solid var(--color-black);
}
a, .nav-link {
    color: var(--color-black);
    text-decoration: none;
    -webkit-transition: color .3s cubic-bezier(0.23, 1, 0.320, 1);
    -o-transition: color .3s cubic-bezier(0.23, 1, 0.320, 1);
    transition: color .3s cubic-bezier(0.23, 1, 0.320, 1);
}
a:hover {
    /* color: var(--color-black); */
    color: var(--color-green);
}
.nav-link:hover {
    color: var(--color-black);
}
.ratio-hero {
    position: relative;
    aspect-ratio: 1 / 1;
}
@media (min-width: 744px) {
    .ratio-hero {
        aspect-ratio: 1920 / 588;
    }
}
.ratio-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0,0.4);
}
.ratio-content {
    aspect-ratio: 460 / 460;
}
.ratio-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.ratio-content:hover img {
    transform: scale(1.05);
}

/* HOMEPAGE */
.layout-homepage .logo-panteli {
        max-width: 215px;
    }
@media (min-width: 1800px) {
    .layout-homepage .logo-panteli {
        max-width: 410px;
    }
}
.layout-homepage .svg-panteli {
    max-width: 440px;
}
.layout-homepage .logo-erumanthou {
        max-width: 215px;
    }
@media (min-width: 1800px) {
    .layout-homepage .logo-erumanthou {
        max-width: 410px;
    }
}
.layout-homepage .svg-erumanthou {
    max-width: 530px;
}
.layout-homepage .logo-pelo {
        max-width: 257px;
    }
@media (min-width: 1800px) {
    .layout-homepage .logo-pelo {
        max-width: 480px;
    }
}
.layout-homepage .svg-pelo {
    max-width: 360px;
}
.img-feta-values {
    position: absolute;
    left: 0px;
    top: 400px;
    z-index: 1;
    pointer-events: none;
}
@media (min-width: 1800px) {
    .img-feta-values {
        left: 250px;
    }
}
/* END HOMEPAGE */
/* RECIPES */
.ratio-single-recipe {
    aspect-ratio: 1000 / 1000;
}
.ratio-single-recipe img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.difficulty-bullets .bullet {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin: 0 7px;
    background: #D6D1CA;
    border: none;
}


.difficulty-bullets .bullet.selected {
    background: #000000;
}

/* END RECIPES */
/* PRODUCTS */
.svg-brand-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.svg-brand-wrapper img {
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ratio-taxonomy-image {
    aspect-ratio: 1000 / 1000;
}
.ratio-taxonomy-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* END PRODUCTS */
/* SINGLE PRODUCT */
.badge-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
}
@media (min-width: 1800px) {
    .badge-wrapper {
        width: 70px;
        height: 70px;
    }
}
.badge-wrapper img {
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.w25 {
    width: 25%;
}
tbody, td, tfoot, th, thead, tr {
    border: none;
}
/* carousel gallery */
#product-gallery #boxes {
    width: 100%;
}
#product-gallery #boxes .vcarousel-cell {
    position: relative;
    background: var(--color-white);
    width: 100%;
    aspect-ratio: 1 / 1;
}
#product-gallery #boxes .vcarousel-cell img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
}
#product-gallery .thumbBox {
    overflow: hidden;
}
#product-gallery .thumb {
    width: calc(25% - 20px);
    background: var(--color-white);
    margin-right: 20px;
}
#product-gallery .thumb.is-nav-selected {
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
#product-gallery .thumb:last-child {
    margin-right: 0;
}
.thumb.vcarousel-cell .img-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.thumb.vcarousel-cell .img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.vcarousel-arrowNav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
}
/* end carousel gallery */
.packages-container .package-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.packages-container .package-item {
    max-width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.packages-container .package-item .package-icon {
    display: flex;
}
@media(min-width: 1200px) {
    .packages-container .package-wrapper {
        flex-direction: row;
        align-items: end;
    }
    .packages-container .package-item {
        max-width: 105px;
    }
}
/* END SINGLE PRODUCT */
/* ABOUT */
.ratio-map {
    aspect-ratio: 645 / 653;
}
.ratio-map img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* END ABOUT */
/* FACILITIES */
.features {
    display: inline-flex;
    align-content: center;
    justify-content: center;
    height: 150px;
    border: none;
    border-top: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    padding: 25px 30px;
    flex-wrap: wrap;
    width: 255px;
    text-align: center;
    margin-bottom: 50px;
}
@media (min-width: 744px) {
    .features {
        padding: 20px 30px;
    }
}
/* @media (min-width: 744px) {
    .features {
        height: 130px;
        padding: 20px 60px;
        width: 320px;
        margin-bottom: 50px;
    }
} */
@media (min-width: 1200px) {
    .features {
        height: 150px;
        padding: 20px 15px;
        width: 255px;
        margin-bottom: 0;
    }
}
@media (min-width: 1800px) {
    .features {
        padding: 25px 20px;
    }
}
.gallery-item-ratio {
    aspect-ratio: 464 / 316;
}
.gallery-item-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.gallery-item-ratio:hover img {
    transform: scale(1.05);
}
/* END FACILITIES */
/* CERTIFICATES */
.ratio-cert {
    aspect-ratio: 333 / 540;
    
}
.ratio-cert img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.ratio-cert:hover img {
    transform: scale(1.05);
}
.mag-glass-icon {
    width: 23px;
    height: 23px;
}
/* END CERTIFICATES */
/* VALUES */
/* ACCORDION */
.accordion-button:not(.collapsed) {
    font-family: var(--font-bold);
}
.accordion-flush .accordion-collapse {
    border: none;
    padding-left: 0;
}
@media (min-width: 1800px) {
    .accordion-flush .accordion-collapse {
        padding-left: 30px;
    }
}
.accordion-flush .accordion-button {
    background-color: var(--color-dblue) !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}
.accordion-flush .accordion-button {
    color: var(--color-black) !important;
}
.accordion-flush .accordion-item {
    background: transparent;
    border-bottom: 1px solid var(--color-black);
}
.accordion-button {
    padding: 0;
    padding-top: 30px;
}
.accordion-flush .accordion-item .accordion-button {
    padding-left: 0;
}
@media (min-width: 1800px) {
    .accordion-flush .accordion-item .accordion-button {
        padding-left: 30px;
    }
}
.accordion-button::after {
    background: transparent no-repeat center /16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.16 9.18'%3E%3Cpath d='M0,3.8h11.1l-2.66-2.64,1.16-1.16,4.56,4.6-4.56,4.58-1.16-1.16,2.66-2.62-11.1.02v-1.62Z' style='fill:%23404040;'/%3E%3C/svg%3E");
    color: var(--color-black)!important;
    position: absolute;
    /* top: 0; */
    right: 0;
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-black);
    border-radius: 3rem;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    
}
.accordion-button:hover:after {
    background: var(--color-black) no-repeat center /16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.16 9.18'%3E%3Cpath d='M0,3.8h11.1l-2.66-2.64,1.16-1.16,4.56,4.6-4.56,4.58-1.16-1.16,2.66-2.62-11.1.02v-1.62Z' style='fill:%23ffffff;'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed)::after {
    background: var(--color-black) no-repeat center /16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.16 9.18'%3E%3Cpath d='M0,3.8h11.1l-2.66-2.64,1.16-1.16,4.56,4.6-4.56,4.58-1.16-1.16,2.66-2.62-11.1.02v-1.62Z' style='fill:%23FFFFFF;'/%3E%3C/svg%3E");
    -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
            transform: rotate(270deg);
    -ms-flex-item-align: start;
        -ms-grid-row-align: start;
        align-self: start;
    width: 35px;
    height: 35px;
    border: 1px solid var(--color-black);
    border-radius: 3rem;
    align-self: center;
}
/* END ACCORDION */
/* END VALUES */
/* CONTACT */
iframe {
    height: 300px;
}
@media (min-width: 744px) {
    iframe {
        height: 500px;
    }
}
@media (min-width: 1800px) {
    iframe {
        height: 800px;
    }
}
/* CONTACT FORM */
.wpcf7 {
    max-width: 100%;
}
.wpcf7 .wpcf7-form p {
    margin-bottom: 0;
}
.wpcf7 .wpcf7-form label {
    width: 100%;
    background-color: var(--color-lbeige);
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 textarea {
    width: 100%!important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    border-bottom: 1px solid var(--color-black) !important;
    color: var(--color-black) !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0!important;
    padding-bottom: 20px!important;
}
.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 input[type=tel]::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--color-black);
}
.wpcf7-list-item-label {
    margin-inline-start: 10px;
}
.wpcf7-list-item {
    margin: 0;
}
.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 10px;
}
/* END CONTACT FORM */
/* END CONTACT */
/* BLOG */
.ratio-post {
    aspect-ratio: 464 / 332;
}
.ratio-post img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.ratio-post:hover img {
    transform: scale(1.05);
}
.ratio-image-long {
    aspect-ratio: 1239 / 826;
}
.ratio-image-long img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* BLOG */
.learn-more-content {
  display: none;
  transition: all 0.3s ease;
}

.learn-more-content.show {
  display: block;
}
/* CAROUSEL */
.vcarousel-cell .img-container.aspect-ratio {
    aspect-ratio: 952 / 635;
}
.vcarousel-cell .img-container.aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}
.separator {
    width: 5rem;
    display: inline-block;
    border-bottom: 1px solid var(--color-black);
    vertical-align: super;
    margin: 0 1rem;
}
/* END CAROUSEL */
/* Social Media Icons */
a.social-icon {
    transition: transform 0.3s ease;
}
a.social-icon:hover {
    transform: scale(0.9);
}