/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Description: Child theme for Kadence
Author: Your Name
Template: kadence
Version: 1.0.0
*/

/* Custom CSS goes below */

/* ============ Header ============ */
.site-header .site-branding {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* remove underline on links - for contact page */
a {
    text-decoration: none;
}

/* ============ Footer ============ */
.site-footer .menu a,
.site-footer .footer-navigation a,
.site-footer .footer-menu a,
.site-footer .widget-title,
.site-footer .widget-title a,
.site-footer h2.widget-title,
.site-footer .widget_nav_menu a {
    color: #ffffff !important;
}

.site-footer .menu a:hover,
.site-footer .footer-navigation a:hover,
.site-footer .footer-menu a:hover,
.site-footer .widget_nav_menu a:hover {
    color: #2280da !important;
}

.footer-widget-area .widget-title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

footer {
    position: relative;
    z-index: 2; /* puts footer over background animation */
}


/* Homepage white content wrapper */
.home #content,
.home .site-content,
.home #primary,
.home .content-area,
.home article,
.home .entry-content {
    border-radius: 18px !important;
    overflow: hidden;
}

/* ============ Featured Category blocks ============ */
.wc-block-featured-category__wrapper {
    min-height: 320px !important;
    height: 320px !important;
}

.wp-block-woocommerce-featured-category {
    min-height: 320px !important;
}

.wc-block-featured-category__wrapper .wp-block-button__link {
    transition: filter 0.3s ease;
}

.wc-block-featured-category__wrapper .wp-block-button__link:hover {
    filter: brightness(85%);
}

/* ============ Featured Category blocks - Hover Interaction ============ */

/* Main category card */
.wp-block-woocommerce-featured-category {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    transform: translateY(0);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Card lift on hover */
.wp-block-woocommerce-featured-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

/* Smooth image zoom */
.wp-block-woocommerce-featured-category .wc-block-featured-category__background-image {
    transition:
        transform 0.65s ease,
        filter 0.65s ease;
    transform: scale(1);
}

/* Zoom image slightly on hover */
.wp-block-woocommerce-featured-category:hover .wc-block-featured-category__background-image {
    transform: scale(1.08);
    filter: brightness(0.88) saturate(1.08);
}

/* Improve the overlay with a premium gradient */
.wp-block-woocommerce-featured-category .wc-block-featured-category__background-image::after {
    content: "";
}

/* Add custom overlay above image */
.wp-block-woocommerce-featured-category::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.12),
        rgba(0, 0, 0, 0.68)
    );
    opacity: 0.95;
    transition: opacity 0.35s ease;
}

/* Slightly deepen overlay on hover */
.wp-block-woocommerce-featured-category:hover::after {
    opacity: 1;
}

/* Keep content above overlay */
.wp-block-woocommerce-featured-category .wc-block-featured-category__wrapper {
    position: relative;
    z-index: 2;
}

/* Animate title, description, and button */
.wp-block-woocommerce-featured-category .wc-block-featured-category__title,
.wp-block-woocommerce-featured-category .wc-block-featured-category__description,
.wp-block-woocommerce-featured-category .wp-block-button {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

/* Subtle content movement */
.wp-block-woocommerce-featured-category:hover .wc-block-featured-category__title,
.wp-block-woocommerce-featured-category:hover .wc-block-featured-category__description,
.wp-block-woocommerce-featured-category:hover .wp-block-button {
    transform: translateY(-6px);
}

/* Button restyle */
.wp-block-woocommerce-featured-category .wp-block-button__link {
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    box-shadow: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

/* Button hover */
.wp-block-woocommerce-featured-category .wp-block-button__link:hover {
    background: #0F9D58 !important;
    border-color: #0F9D58;
    color: #ffffff !important;
    filter: none;
    transform: translateY(-2px);
}

/* Keyboard accessibility */
.wp-block-woocommerce-featured-category:focus-within {
    outline: 3px solid rgba(15, 157, 88, 0.45);
    outline-offset: 4px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .wp-block-woocommerce-featured-category,
    .wp-block-woocommerce-featured-category *,
    .wp-block-woocommerce-featured-category::after {
        transition: none !important;
        animation: none !important;
    }

    .wp-block-woocommerce-featured-category:hover,
    .wp-block-woocommerce-featured-category:hover .wc-block-featured-category__background-image,
    .wp-block-woocommerce-featured-category:hover .wc-block-featured-category__title,
    .wp-block-woocommerce-featured-category:hover .wc-block-featured-category__description,
    .wp-block-woocommerce-featured-category:hover .wp-block-button {
        transform: none !important;
    }
}












/* ============ Page layout spacing ============ */
.entry-content-wrap {
    margin-top: 30px !important;
}

.content-area {
    margin-top: 30px !important;
}

.entry-hero {
    padding-top: 30px !important;
}

/* ============ Base page setup ============ */
html {
    background: white;
}

body {
    position: relative;
    isolation: isolate;
}

.home .content-bg {
    background: rgba(255, 255, 255, 1);
}

/* ============ Animated background shapes ============ */
body::before {
    content: "";
    position: fixed;
    width: 140%;
    height: 500px;
    left: -20%;
    top: 70%;

    background: #0F9D58;
    opacity: .3;

    z-index: 0;
    pointer-events: none;

    border-radius: 50%;

    animation: liquidWave 16s ease-in-out infinite;
}

@keyframes liquidWave {
    0%, 100% {
        transform: translate(-5%, -30px) rotate(-4deg) scaleX(1);
        border-radius: 45% 55% 50% 50%;
    }
    25% {
        transform: translate(3%, 20px) rotate(2deg) scaleX(1.08);
        border-radius: 55% 45% 60% 40%;
    }
    50% {
        transform: translate(8%, 50px) rotate(5deg) scaleX(1.15);
        border-radius: 60% 40% 45% 55%;
    }
    75% {
        transform: translate(-2%, 10px) rotate(-2deg) scaleX(1.05);
        border-radius: 40% 60% 55% 45%;
    }
}

body::after {
    content: "";
    position: fixed;
    width: 140%;
    height: 450px;
    left: -20%;
    top: 80%;

    background: #22e179;
    opacity: .3;

    z-index: -1;
    pointer-events: none;

    border-radius: 50%;

    animation: liquidWaveTwo 22s ease-in-out infinite;
}

@keyframes liquidWaveTwo {
    0%, 100% {
        transform: translate(-8%, 40px) rotate(5deg) scaleX(1);
        border-radius: 55% 45% 60% 40%;
    }
    25% {
        transform: translate(6%, 10px) rotate(-2deg) scaleX(1.12);
        border-radius: 45% 55% 40% 60%;
    }
    50% {
        transform: translate(12%, -50px) rotate(-6deg) scaleX(1.2);
        border-radius: 60% 40% 55% 45%;
    }
    75% {
        transform: translate(-4%, 20px) rotate(3deg) scaleX(1.08);
        border-radius: 40% 60% 50% 50%;
    }
}

/* ============ ACF Product Spec Table ============ */
.acf-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #22e179;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
    table-layout: fixed;
}

.acf-spec-table caption {
    caption-side: top;
    background: linear-gradient(135deg, #22e179, #0F9D58);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.acf-spec-row {
    border-bottom: 1px solid #e2e5e8;
}

.acf-spec-row:last-child {
    border-bottom: none;
}

.acf-spec-row:nth-child(even) {
    background: #f8fafc;
}

.acf-spec-label,
.acf-spec-value {
    padding: 12px 16px;
    vertical-align: middle;
}

.acf-spec-table th.acf-spec-label,
.acf-spec-table td.acf-spec-value {
    text-align: left !important;
}

.acf-spec-label {
    font-weight: 600;
    color: #1a1a1a;
    width: 65%;
    border-right: 1px solid #e2e5e8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acf-spec-value {
    color: #333;
    width: 35%;
}

.acf-spec-label .dashicons {
    color: #fff;
    background: #22e179;
    font-size: 13px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .acf-spec-label,
    .acf-spec-value {
        display: block;
        width: 100%;
        border-right: none;
    }

    .acf-spec-row {
        display: block;
        padding: 8px 0;
    }
}

/* ============ Product CTA ============ */
.product-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0;
    padding: 14px 18px;
    background: linear-gradient(135deg, #22e179, #0F9D58);
    border-radius: 10px;
    color: #fff;
}

.product-cta-text h3 {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.product-cta-text p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.product-cta-button {
    display: inline-block;
    background: #fff;
    color: #0F9D58;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.product-cta-button:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .product-cta {
        flex-direction: column;
        text-align: center;
    }

    .product-cta-button {
        width: 100%;
        text-align: center;
    }
}

/* ============ Product Gallery ============ */
.woocommerce-product-gallery {
    background: #fff;
    border-radius: 12px; 
    padding: 10px;                
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}


.woocommerce-product-gallery__wrapper {
    background: #fff;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery img {
    border-radius: 8px;
    background: #fff;
}

.woocommerce-product-gallery img {
    display: block;
    margin: 0 auto;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Zoom icon (magnifying glass) */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 15px;
    right: 15px;
}

/* ============ Gallery Thumbnails ============ */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    justify-content: stretch;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
    width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 1;
    height: 110px;
    margin: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border: 2px solid #e2e5e8;
    border-radius: 8px;
    opacity: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}


.woocommerce-product-gallery .flex-control-thumbs img:hover {
    border-color: #0F9D58;
    transform: translateY(-2px);
}

.woocommerce-product-gallery .flex-control-thumbs .flex-active img {
    border-color: #0F9D58;
    box-shadow: 0 0 0 2px rgba(34, 128, 218, 0.2);
}









.single-product .product_meta {
    color: #666; /* label color */
}

.single-product .product_meta a {
    color: #0F9D58 !important; /* category/tag link color */
    font-weight: 600;
}


/* ============ Related Products Cards ============ */
.related.products ul.products li.product {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related.products ul.products li.product img {
    border-radius: 10px 10px 0 0;
}

/* Optional: slightly lift the shadow on hover for a nice interactive touch */
.related.products ul.products li.product:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}



/* ============ Center product titles across all WooCommerce loops ============ */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    text-align: center;
}

/* Also center price/rating if they inherit left-alignment */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating {
    text-align: center;
    justify-content: center; /* in case it's a flex element */
}






.product_meta .sku_wrapper {
    display: none !important;
}

.single-product .price {
    display: none !important;
}

.single-product.woocommerce div.product form.cart .variations {
    margin-bottom: 0 !important;
}

/* Remove space below the whole variation form */
.single-product.woocommerce div.product form.cart {
    margin-bottom: 0 !important;
}

.acf-spec-table {
    margin-top: 0;
}




/* ============ Product Variations (WVS Button Swatches) ============ */

.single-product .variations_form {
    margin: 10px 0 20px;
}

.single-product table.variations {
    width: 100%;
    border: none;
}

.single-product table.variations tbody tr {
    display: block;
}

/* "Κάθισμα" label + selected value text */
.single-product table.variations th.label {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95rem;
    padding-bottom: 10px;
}

.single-product table.variations th.label label {
    margin-right: 4px;
}

.single-product .woo-selected-variation-item-name {
    font-weight: 600;
    color: #000;
}

.single-product table.variations td.value {
    padding: 0;
}

/* ---- Swatch buttons ---- */
.single-product ul.variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.single-product ul.variable-items-wrapper li.variable-item {
    background: #fff;
    border: 2px solid #e2e5e8;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

/* Selected swatch (aria-checked="true" + .selected class) */
.single-product ul.variable-items-wrapper li.variable-item.selected,
.single-product ul.variable-items-wrapper li.variable-item[aria-checked="true"] {
    background-color: #fff !important;
    border-color: #0F9D58 !important;
    color: #fff !important;
}

.single-product ul.variable-items-wrapper li.variable-item.selected .variable-item-contents,
.single-product ul.variable-items-wrapper li.variable-item[aria-checked="true"] .variable-item-contents,
.single-product ul.variable-items-wrapper li.variable-item.selected .variable-item-span,
.single-product ul.variable-items-wrapper li.variable-item[aria-checked="true"] .variable-item-span {
    color: #000 !important;
}

.single-product ul.variable-items-wrapper li.variable-item .variable-item-contents {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product ul.variable-items-wrapper li.variable-item:hover {
    border-color: #0F9D58;
    transform: translateY(-2px);
}

/* Selected swatch (aria-checked="true" + .selected class) */
.single-product ul.variable-items-wrapper li.variable-item.selected,
.single-product ul.variable-items-wrapper li.variable-item[aria-checked="true"] {
    border-color: #0F9D58;
    background: #22e179;
    color: #fff;
}

.single-product ul.variable-items-wrapper li.variable-item.selected .variable-item-span,
.single-product ul.variable-items-wrapper li.variable-item[aria-checked="true"] .variable-item-span {
    color: #fff;
}

/* Focus state for accessibility (keyboard nav via tabindex) */
.single-product ul.variable-items-wrapper li.variable-item:focus-visible {
    outline: 2px solid #0F9D58;
    outline-offset: 2px;
}

/* Out-of-stock / disabled swatches, if the plugin adds this class */
.single-product ul.variable-items-wrapper li.variable-item.disabled,
.single-product ul.variable-items-wrapper li.variable-item.wvs-out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    border-style: dashed;
}

/* ---- Clear link ---- */
.single-product a.reset_variations {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0F9D58;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.single-product a.reset_variations:hover {
    color: #0F9D58;
}

/* ---- Quantity + Add to cart row ---- */
.single-product .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.single-product .woocommerce-variation-add-to-cart .quantity {
    margin: 0;
}

.single-product .woocommerce-variation-add-to-cart .qty {
    width: 70px;
    padding: 10px 12px;
    border: 2px solid #e2e5e8;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.single-product .woocommerce-variation-add-to-cart .qty:focus {
    border-color: #0F9D58;
    outline: none;
}

.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, #22e179, #0F9D58);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.single-product .single_add_to_cart_button:hover {
    filter: brightness(90%);
    transform: translateY(-2px);
}

.single-product .single_add_to_cart_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .single-product .woocommerce-variation-add-to-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .single-product .single_add_to_cart_button {
        width: 100%;
        text-align: center;
    }
}


.single-product a.reset_variations {
    display: none !important;
}


/* ============ Hero Smart Sliders Height Align ============ */
#n2-ss-12 .n2-ss-slide,
#n2-ss-14 .n2-ss-slide,
#n2-ss-12 svg.n2-ss-preserve-size,
#n2-ss-14 svg.n2-ss-preserve-size {
  height: 420px !important;
  width: 100% !important;

}

#n2-ss-12 .n2-ss-slider,
#n2-ss-14 .n2-ss-slider,
#n2-ss-12 .n2-ss-slider-1,
#n2-ss-14 .n2-ss-slider-1,
#n2-ss-12 .n2-ss-slider-2,
#n2-ss-14 .n2-ss-slider-2,
#n2-ss-12 .n2-ss-slider-3,
#n2-ss-14 .n2-ss-slider-3,
#n2-ss-12 .n2-ss-slide,
#n2-ss-14 .n2-ss-slide,
#n2-ss-12 .n2-ss-slide-background,
#n2-ss-14 .n2-ss-slide-background,
#n2-ss-12 .n2-ss-slide-background-image,
#n2-ss-14 .n2-ss-slide-background-image {
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* ============ Smart Slider 3 - Slider ID 5 Border Radius ============ */

#n2-ss-5,
#n2-ss-2,
#n2-ss-5-align,
#n2-ss-2-align,
#n2-ss-5 .n2-ss-slider-wrapper-inside,
#n2-ss-2 .n2-ss-slider-wrapper-inside,
#n2-ss-5 .n2-ss-slider-1,
#n2-ss-2 .n2-ss-slider-1,
#n2-ss-5 .n2-ss-slider-2,
#n2-ss-2 .n2-ss-slider-2,
#n2-ss-5 .n2-ss-slider-3,
#n2-ss-2 .n2-ss-slider-3,
#n2-ss-5 .n2-ss-slider-4,
#n2-ss-2 .n2-ss-slider-4,
#n2-ss-5 .n2-ss-slide-backgrounds,
#n2-ss-2 .n2-ss-slide-backgrounds,
#n2-ss-5 .n2-ss-slide-background,
#n2-ss-2 .n2-ss-slide-background,
#n2-ss-5 .n2-ss-slide-background-image,
#n2-ss-2 .n2-ss-slide-background-image,
#n2-ss-5 .n2-ss-slide,
#n2-ss-2 .n2-ss-slide,
#n2-ss-5 .n2-ss-layers-container,
#n2-ss-2 .n2-ss-layers-container {
    border-radius: 16px !important;
    overflow: hidden !important;
}


/* ============ Disable animated blobs on WooCommerce single product pages ============ */
body.single-product::before,
body.single-product::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

/* Optional clean product page background */
body.single-product {
    background: #ffffff !important;
}




/* Smart Slider 3 - Slider 12 readability fix */

/* Darken slider images */
#n2-ss-12 .n2-ss-slide-background-image img {
  filter: brightness(88%) contrast(108%) !important;
}

/* Style all text paragraphs inside Slider 12 */
#n2-ss-12 .n2-ss-text p {
  display: inline-block !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  
  padding: 18px 28px !important;
 
  text-shadow:
    0 3px 5px rgba(0, 0, 0, 1),
    0 8px 24px rgba(0, 0, 0, 0.95) !important;
  line-height: 1.35 !important;
}

.page-id-2663 .page-title-area,
.page-id-2663 .page-header,
.page-id-2663 .breadcrumb-area,
.page-id-2663 .breadcrumbs,
.page-id-2663 .entry-header {
    display: none !important;
}