/**
 * Product List - used in all website
 * Single Product Page
 * Product Archive Page
 * Product Archive Page - Infinite Scroll
 * My Account Page
 * Cart Page
 */
div.woocommerce > ul.products li.product {
    width: 100%;
    float: none;
    display: block;
    margin: 0;
}

/**
 * Single Product Page
 */
.product-page-wrapper {
    position: relative;
    display: flex;
    gap: 30px;
    flex-direction: row;
    align-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--White, #FFF);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 55px;
}

.product-page-wrapper > :first-child {
    flex: 0 0 30%;
}

.product-page-wrapper > :nth-child(2) {
    flex: 0 0 70%;
}

.product-page-wrapper .onsale {
    position: absolute;
    top: 20px;
    z-index: 1;
}

.summary.entry-summary {
    margin: 0;
}

h1.product_title.entry-title {
    font-size: 40px;
}

.category-prod {
    text-transform: uppercase;
    color: var(--blue);
    font-size: 11px;
    font-style: normal;
}

.category-prod a {
    text-decoration: none;
    font-weight: 700;
    text-transform: capitalize;
    background-color: var(--glow-green);
    padding: 5px 8px;
    border-radius: 10px;
    margin-right: 10px;
}

.woocommerce-product-details__short-description span {
    color: #96BF0D;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    display: block;
    width: 85%;
}

.woocommerce-product-details__short-description p{font-size: 20px; line-height: 28px; text-align: justify; width: 95%;}

.woocommerce-breadcrumb {
    padding: 50px 0;
    color: #b8b8b8;
}

.woocommerce-breadcrumb a {
    text-decoration: none;
    color: var(--blue);
    transition: var(--main-easing);
}

.woocommerce-breadcrumb a:hover {
    color: var(--dark-b);
}

.woocommerce-Tabs-panel {
    margin-top: 100px;
}

.woocommerce-Tabs-panel--description h2:first-child {
    display: none;
}

section.related.products {
    display: none;
}

/* categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.subcategory-list {
    display: none;
}

.category-flex-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
	align-items: center;
}

.category-flex-wrapper > * {
    flex: 1 1 50%; /* flex-grow:1, flex-shrink:1, flex-basis:50% */
}

.category-image-wrapper {
    flex: 1 1 50%;
}

.category-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/*.category-subcategories {
    flex: 2 1 600px;
}*/

.category-bottom-text-wrapper {
    margin-top: 2rem;
}

.category-bottom-text {
    font-size: 1rem;
    line-height: 1.6;
}

.count {
    display: none;
}

.category-subcategories h2 {
    font-weight: 500;
    font-size: 25px;
    line-height: 32px;
    width: max-content;
}

/* Technical Characteristics */
.texniko-row {
    display: grid;
    grid-template-columns: 40% 55%;
    align-content: center;
    align-items: center;
    width: auto;
    gap: 10px;
    padding: 8px 0;
}

.texniko-row .line img {
    max-width: 100px;
    height: auto;
    display: block;
}

.texniko-row .eidos strong {
    font-size: 1.05em;
}

.texniko-row .eidos-leptomeries {
    color: #333;
    font-size: 0.95em;
}

.eidos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.texnika-title {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.line {
    height: 2px;
    background-color: #1c89d157;
    width: 10px;
    flex: 1;
    margin: 0;
}



.woocommerce-Tabs-panel ul {
    margin: 0;
}

.efarmoges-wrapper ul {
    margin: 0;
}

/* Files Section */
.file-grid{margin-bottom: 50px;}
.files-wrapper {
    margin-top: 50px;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}

.file-image {
    max-width: 60px;
    height: auto;
}

.file-link {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--blue);
    transition: var(--main-easing);
}

.file-link:hover {
    color: var(--dark-b);
}

.woocommerce-tabs ul.tabs li {
    display: none;
}

/* === Ενημερωμένο Grid για Κατηγορίες === */
.category-subcategories .products.category-grid {
    display: grid;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.category-subcategories .products.category-grid li.product-category {
    border-radius: 8px;
    background: var(--White, #FFF);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;

    width: 100%; /* Πλήρες πλάτος του grid */
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.category-subcategories .products.category-grid li.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.3);
}

.category-subcategories .products.category-grid li.product-category a {
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
	flex-direction: column;
    align-items: center;
    gap: 20px;
}

.category-subcategories .products.category-grid li.product-category img {
    max-width: 250px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.category-subcategories .products.category-grid li.product-category h2.woocommerce-loop-category__title {
    font-size: 1.1rem;
    margin: 0;
    color: black;;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3em;
    flex-grow: 1;
	border-top: 2px solid var(--glow-green);
    width: 100%;
    text-align: center;
    padding-top: 15px;
	font-size: 20px;
}

.single-product .widget-area {
    display: none !important;
}


@media (max-width: 768px) {
    .category-subcategories .products.category-grid {
        grid-template-columns: 1fr;
    }

    .category-subcategories .products.category-grid li.product-category {
        padding: 1rem;
    }

    .category-subcategories .products.category-grid li.product-category h2.woocommerce-loop-category__title {
        font-size: 1rem;
    }

    .texniko-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

ul.products.columns-4 li.product {
    width: 100%;
}

.category-name{text-align: left;}

.category-products .product .woocommerce-loop-product__title, .category-subcategories .product .woocommerce-loop-product__title h2{
line-height: 30px;
font-weight: 500;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link{text-decoration: none;}

.woocommerce-breadcrumb{display: none;}

.category-container .page-path {padding-top: 75px;}

.category-products .product .button,
.category-subcategories .product .button {
    position: relative;
    display: inline-block;
    padding: 18px 26px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: 16px;
    line-height: 0;
    vertical-align: middle;
    background: #003457;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    border: none;
    text-align: center;
}

.category-products .product .button::before,
.category-subcategories .product .button::before {
    display: none;
}

.category-products .product .button:hover,
.category-subcategories .product .button:hover {
    background: #006AB3;
    box-shadow: 0 8px 30px rgba(0, 52, 87, 0.4);
    color: white;
}

.category-products .product .button span,
.category-subcategories .product .button span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    color: white;
}

.category-description{text-align: left;}

.category-products .products, .category-subcategories .products{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}

.view_with_grid .category-products .products{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.category-flex-wrapper {
    display: flex;
    align-items: flex-start;
}

li.product-category{margin: 0;}

.category-subcategories .products.category-grid{margin: 0;}

.product-page-wrapper{margin-top: 155px;}

/* Disable WooCommerce product image zoom on single product page */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image img {
    pointer-events: none !important;
    cursor: default !important;
}
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/*RESPONSIVE*/
@media only screen and (max-width: 1500px) {
    .category-container .page-path{padding-top: 150px;}
}

@media only screen and (max-width: 1100px) {
    .category-flex-wrapper {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }   
    .file-grid{grid-template-columns: repeat(2, 1fr);}
}

@media only screen and (max-width: 700px) {
    .category-flex-wrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    /*.entry-content{text-align:center;}*/
    .view_with_grid .category-products .products{grid-template-columns: repeat(2, 1fr);}
    .file-grid{grid-template-columns: repeat(1, 1fr);}
    .category-prod .posted_in{    display: flex;
    flex-direction: column;
    gap: 20px;
}
    .product-page-wrapper{margin-top: 100px;}

}


@media only screen and (max-width: 500px) {.view_with_grid .category-products .products{grid-template-columns: repeat(1, 1fr);}}


.efarmoges-icons-wrapper{
    gap: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 50px;

}

.efarmoges-icon-item{
    transition: var(--main-easing);
}
.efarmoges-icon-item:hover{
    transform: scale(1.05);
}

.efarmoges-icon-item img{
    border-radius: 15px;
}

.efarmoges-icon-item h4{
    text-align: center;
    font-size: 18px !important;
}

.applications-title-wrapper h3{margin-bottom: 30px;}

.texnika-applications-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.applications-wrapper{width: 45%; border-left: 1px solid var(--blue); padding-left: 50px;}

.stoixeia-wrapper{margin-top: 20px; display: flex; flex-direction: row;}
.stoixeia-info{width:80%}
.stoixeia-image{width:20%}

.stoixeia-additional-info{margin-top:50px; display: flex; flex-direction: row; gap: 50px;}
.additional-info-right{width: 45%;}
.additional-info-left{width: 55%;}
.efarmoges-stoixeion-wrapper{background-color: var(--blue); padding: 30px 30px; border-radius:8px; margin-bottom: 20px;}
.efarmoges-stoixeion-wrapper li{color: white;}
.efarmoges-stoixeion-wrapper ul{margin: 0;}
.efarmoges-stoixeion-wrapper h3{color: white;}

.pleonektimata-stoixeion-wrapper{background-color: var(--dark-b); padding: 30px 30px; border-radius:8px;}
.pleonektimata-stoixeion-wrapper h3{color: white;}
.pleonektimata-stoixeion-wrapper ul{margin: 0;}
.pleonektimata-stoixeion-wrapper li{color: white;}
.pleonektimata-stoixeion-wrapper img{border-radius:5px; margin-top: 10px;}
.typologia{margin-top: 50px;}
.perigrafh-stoixeion ul{margin: 0;}
.woocommerce-product-gallery__image{display: flex;justify-content: center;}