/* ======================================
   SHOP ARCHIVE
====================================== */
section.shop-archive-page {
    padding-top: 18vh;
}
.shop-archive-main {
    /*background: #f6f4f2;*/
}

.shop-page-shell {
    padding-top: 26px;
    padding-bottom: 70px;
}

.shop-page-article {
    padding-bottom: 0;
}

.shop-page-header {
    text-align: center;
    margin-bottom: 34px;
}

.shop-page-title {
    margin: 0;
    color: #8a3737;
}
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
}
.breadcrumbs-container {
    padding-top: 28px;
    padding-bottom: 10px;
}

.breadcrumbs-container,
.breadcrumbs-container a,
.breadcrumbs-container span {
    /*color: #b48e8e;*/
    color: #7E2C2C;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    text-transform: uppercase;
}

/* ======================================
   FILTERS
====================================== */

.shop-filters-wrap {
    margin-bottom: 34px;
    /*border-bottom: 1px solid rgba(138, 55, 55, 0.25);*/
    padding: 14px 0;
}

.shop-filters-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.shop-filter {
    position: relative;
}

.shop-filter__select {
    min-width: 140px;
    height: 38px;
    padding: 0 34px 0 12px;
    margin: 0;
    border: 1px solid rgba(138, 55, 55, 0.28);
    background-color: transparent;
    color: #8a3737;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #8a3737 50%),
        linear-gradient(135deg, #8a3737 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 16px,
        calc(100% - 12px) 16px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.shop-filter__select:focus {
    border-color: #8a3737;
    box-shadow: none;
    outline: none;
}

.shop-filter--clear {
    margin-left: auto;
}

.shop-filter__clear {
    color: #8a3737;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.shop-active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-left: 14px;
}

.shop-active-filter {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(138, 55, 55, 0.18);
    color: white;
    background: #8a3737;
}

/* ======================================
   PRODUCTS GRID
====================================== */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 140px;
}

.shop-product-card {
    text-align: center;
}

.shop-product-card__image-link {
    display: block;
    text-decoration: none;
}

a.shop-product-card__image-link:hover .shop-product-card__image-holder {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.05), 0 35px 80px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-product-card__image-holder {
    min-height: 27vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    margin-bottom: 18px;
}

.shop-product-card__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 27vw;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.shop-product-card__content {
    margin: 0 auto;
}

.shop-product-card__category {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    font-size: 14px;
    font-style: normal;
    line-height: 22px;
    font-family: tt-commons-pro, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h3.shop-product-card__title {
    color: #7E2C2C;
    font-family: 'Source Serif 4', serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    margin-bottom:15px;
}

.shop-product-card__title a {
    text-decoration: none;
}

p.shop-product-card__price {
    color: #7E2C2C;
    font-family: tt-commons-pro, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
}

/* ======================================
   PAGINATION
====================================== */

.shop-pagination-wrap {
    margin-top: 48px;
}

.shop-pagination-wrap ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-pagination-wrap .page-numbers li {
    margin: 0;
}

.shop-pagination-wrap .page-numbers a,
.shop-pagination-wrap .page-numbers span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 55, 55, 0.18);
    color: #8a3737;
    text-decoration: none;
}

.shop-pagination-wrap .page-numbers .current {
    background: #8a3737;
    color: #fff;
    border-color: #8a3737;
}

/* ======================================
   RELATED CATEGORIES
====================================== */

.shop-related-categories {
    margin-top: 70px;
}

.shop-related-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.shop-related-category-card__link {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    text-decoration: none;
    background-color: #d8d2cc;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.shop-related-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.14) 45%, rgba(0,0,0,0.03) 100%);
}

.shop-related-category-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.shop-related-category-card__title {
    color: #fff;
}

.shop-related-category-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    color: #fff;
    background: #8a3737;
    border: 1px solid #8a3737;
}

/* ======================================
   RESPONSIVE
====================================== */

@media screen and (max-width: 1023px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 40px;
    }

    .shop-product-card__image-holder {
        min-height: 280px;
    }

    .shop-product-card__image {
        max-height: 280px;
    }

    .shop-related-category-card__link {
        min-height: 260px;
    }
}

@media screen and (max-width: 767px) {
    .shop-page-shell {
        padding-top: 18px;
        padding-bottom: 42px;
    }

    .shop-page-header {
        margin-bottom: 22px;
    }

    .shop-filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filter--clear {
        margin-left: 0;
    }

    .shop-filter__select {
        width: 100%;
        min-width: 0;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
        column-gap: 14px;
        row-gap: 28px;
    }

    .shop-product-card__image-holder {
        min-height: 40vh;
        margin-bottom: 12px;
    }

    .shop-product-card__image {
        max-height: 40vh;
    }

    .shop-product-card__content {
        max-width: 100%;
    }

    .shop-related-categories {
        margin-top: 40px;
    }

    .shop-related-categories__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shop-related-category-card__link {
        min-height: 220px;
    }
    
    .shop-related-categories__grid article.shop-related-category-card, 
    .shop-related-categories__grid article.shop-related-category-card a {
        min-height: 50vh;
    }
    
    section.shop-related-categories.footeroverlap {
        height: 250vh;
    }
}

.shop-filter {
    position: relative;
    min-width: 190px;
}

.shop-filter__toggle {
    width: 100%;
    min-height: 52px;
    padding: 14px 44px 14px 14px;
    background: transparent;
    color: #8a3737;
    text-align: left;
    cursor: pointer;
    position: relative;
    box-shadow: none;
}

.shop-filter__toggle:hover,
.shop-filter__toggle:focus {
    background: transparent;
    color: #8a3737;
    outline: none;
    box-shadow: none;
}

.shop-filter__toggle::after {
    content: "+";
    color: #8a3737;
}

.shop-filter.is-open .shop-filter__toggle::after {
    content: "-";
}

.shop-filter__toggle-text {
    white-space: nowrap;
}

.shop-filter__dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(138, 55, 55, 0.45);
    display: none;
    z-index: 30;
    padding: 10px;
}

.shop-filter.is-open .shop-filter__dropdown {
    display: block;
}

.shop-filter__option {
    width: 100%;
    display: block;
    padding: 10px 14px;
    border: 0;
    /* border-bottom: 1px solid rgba(138, 55, 55, 0.2); */
    background: #ffffff;
    color: #8a3737;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.shop-filter__option:last-child {
    border-bottom: 0;
}

.shop-filter__option:hover,
.shop-filter__option:focus {
    color: #8a3737;
    outline: none;
    box-shadow: none;
    font-weight: bold;
}

.shop-filter__option.is-selected {
    color: #8a3737;
    font-weight: bold;
}

.shop-filter__select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    inset: 0 auto auto 0;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media screen and (max-width: 767px) {
    .shop-filter {
        min-width: 0;
        width: 100%;
    }

    .shop-filter__toggle {
        min-height: 48px;
    }
}

.shop-active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.shop-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 10px 6px 12px;
    border: 1px solid rgba(138, 55, 55, 0.22);
    background: #8a3737;
    color: white;
    position: relative;
}

.shop-active-filter__label {
    display: inline-block;
    /* color: inherit; */
}

.shop-active-filter__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
    position: absolute;
    top: -10px;
    right: -10px;
    /* fill: #FFF; */
    filter: drop-shadow(0 2px 1.9px rgba(0, 0, 0, 0.25));
    box-shadow: 0 2px 1.9px rgba(0, 0, 0, 0.25);
    background: white;
    color: #7E2C2C;
}

.shop-active-filter__remove:hover,
.shop-active-filter__remove:focus {
    background: #8a3737;
    color: #ffffff;
}

/* ======================================
   SHOP SUBCATEGORIES (στο /shop/ — πάνω από τα προϊόντα)
   Ίδια οπτική με τα Related, αλλά 4 στήλες & μικρότερο ύψος.
====================================== */

.shop-subcategories {
    margin-top: 30px;
    margin-bottom: 40px;
}

.shop-subcategories__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.shop-subcategory-card__link {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    text-decoration: none;
    background-color: #d8d2cc;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.shop-subcategory-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.14) 45%, rgba(0,0,0,0.03) 100%);
}

.shop-subcategory-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.shop-subcategory-card__title {
    color: #fff;
}

.shop-subcategory-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    color: #fff;
    background: #8a3737;
    border: 1px solid #8a3737;
}

/* ======================================
   RESPONSIVE
====================================== */

@media screen and (max-width: 1199px) {
    .shop-subcategories__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1023px) {
    .shop-subcategory-card__link {
        min-height: 280px;
    }
}

@media screen and (max-width: 767px) {
    .shop-subcategories {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .shop-subcategories__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .shop-subcategory-card__link {
        min-height: 220px;
        padding: 16px;
    }
}

@media screen and (max-width: 479px) {
    .shop-subcategory-card__link {
        min-height: 255px;
    }
}

/* ======================================
   SHOP SUBCATEGORIES — HOVER REVEAL BUTTON
   Το κουμπί εμφανίζεται μόνο στο hover (desktop).
   Σε touch devices παραμένει πάντα ορατό.
====================================== */

@media (hover: hover) and (pointer: fine) {

    .shop-subcategory-card__button {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    .shop-subcategory-card__link:hover .shop-subcategory-card__button,
    .shop-subcategory-card__link:focus-visible .shop-subcategory-card__button {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

}

/* ======================================
   WOOCOMMERCE PRODUCT SINGLE 
====================================== */
/* ================================================
   AMP SINGLE PRODUCT — amp-product
   ================================================ */

.amp-product {
    padding: 40px 0 80px;
}

/* ----- Inner grid ----- */
.amp-product__inner {
    gap: 0;
    align-items: flex-start;
}

/* ================================================
   GALLERY
   ================================================ */

.amp-product__gallery-column {
    padding-right: 40px;
}

.amp-product__gallery {
    position: sticky;
    top: 120px;
}

/* Main image */
.amp-product__gallery-main {
    background: #fff;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-product__gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.amp-product__gallery-main-image.is-loading {
    opacity: 0;
}

/* Thumbnails */
.amp-product__gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.amp-product__gallery-thumb {
    width: calc(25% - 8px);
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.amp-product__gallery-thumb.is-active,
.amp-product__gallery-thumb:hover {
    border-color: #8a3737;
}

.amp-product__gallery-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ================================================
   SUMMARY COLUMN
   ================================================ */

.amp-product__summary-column {
    padding-left: 40px;
    border-left: 1px solid rgba(126, 44, 44, 0.1);
}

.amp-product__summary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Eyebrow / Category */
.amp-product__eyebrow {
    margin-bottom: 8px;
}

.amp-product__eyebrow p {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* Title */
.amp-product__title-wrap {
    margin-bottom: 14px;
}

.amp-product__title {
    margin: 0;
}

/* Price */
.amp-product__price {
    margin-bottom: 24px;
}

.amp-product__price .woocommerce-Price-amount {
    display: block;
}

/* Section label */
.amp-product__section-label {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(126, 44, 44, 0.15);
}

.amp-product__section-label p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ================================================
   SHORT DESCRIPTION
   ================================================ */

.amp-product__description-block {
    margin-bottom: 24px;
}

.amp-product__description p {
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   COLOR SWATCHES
   ================================================ */

.amp-product__colors-block {
    margin-bottom: 24px;
}

.amp-product__swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.amp-product__swatch {
    display: block;
    width: 32px;
    height: 28px;
    /*border-radius: 50%;*/
    cursor: pointer;
    border: 1px solid transparent;
    outline: 1px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.2s ease;
}

.amp-product__swatch:hover {
    outline-color: #8a3737;
}



/* ================================================
   MEASUREMENTS
   ================================================ */

.amp-product__measurements-block {
    margin-bottom: 24px;
}

.amp-product__measurement-fields {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amp-product__measurement-row {
    display: flex;
    gap: 16px;
}

.amp-product__measurement-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.amp-product__measurement-col label p {
    margin: 0;
}

.amp-product__measurement-col input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    font-size: 14px;
}

.amp-product__measurement-col input[type="text"]:focus {
    border-color: #8a3737;
}

.amp-product__measurement-terms {
    margin-top: 4px;
}

.amp-product__measurement-terms label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.amp-product__measurement-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #8a3737;
    flex-shrink: 0;
    cursor: pointer;
}

.amp-product__measurement-terms span {
    line-height: 1.4;
}

/* ================================================
   MEASUREMENT GUIDE
   ================================================ */

.amp-product__guide {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px;
    background: #faf8f5;
    border: 1px solid rgba(126, 44, 44, 0.08);
}

.amp-product__guide-image-wrap {
    flex: 0 0 auto;
    width: 120px;
}

.amp-product__guide-image {
    width: 100%;
    height: auto;
    display: block;
}

.amp-product__guide-points {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amp-product__guide-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.amp-product__guide-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #8a3737;
    color: #fff;
    flex-shrink: 0;
    font-size: 12px;
}

.amp-product__guide-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amp-product__guide-title {
    margin: 0;
    line-height: 1.3;
}

.amp-product__guide-text {
    margin: 0;
    line-height: 1.4;
    opacity: 0.75;
}

/* ================================================
   ADD TO CART
   ================================================ */

.amp-product__cart {
    margin-top: 8px;
}

.amp-product__cart-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

/* Quantity */
.amp-product__cart .quantity {
    display: flex;
    align-items: center;
}

.amp-product__cart .quantity .qty {
    width: 60px;
    height: 52px;
    text-align: center;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    font-size: 16px;
    outline: none;
}

.amp-product__cart .quantity .qty:focus {
    border-color: #8a3737;
}

/* Add to cart button */
.amp-product__add-to-cart {
    flex: 1;
    height: 52px;
    background: #8a3737 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.25s ease;
    font-size: 14px;
}

.amp-product__add-to-cart:hover {
    background: #6e2929 !important;
}

/* WooCommerce variable product variations */
.amp-product__cart .variations {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.amp-product__cart .variations td,
.amp-product__cart .variations th {
    padding: 6px 0;
    vertical-align: middle;
}

.amp-product__cart .variations label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
}

.amp-product__cart .variations select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.amp-product__cart .variations select:focus {
    border-color: #8a3737;
}

.amp-product__cart .reset_variations {
    display: none !important;
}

/* ================================================
   RELATED PRODUCTS
   ================================================ */

.amp-product__related {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(126, 44, 44, 0.1);
}

.amp-product__related-title {
    text-align: center;
    margin-bottom: 40px;
}

.amp-product__related-slider-wrap {
    position: relative;
}

/* Slick slider item */
.amp-product__related-item {
    padding: 0 10px;
}

.amp-product__related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.amp-product__related-image-wrap {
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

.amp-product__related-card:hover .amp-product__related-image-wrap {
    box-shadow:
        0 4px 10px rgba(0,0,0,0.04),
        0 18px 40px rgba(0,0,0,0.05),
        0 35px 80px rgba(0,0,0,0.06);
}

.amp-product__related-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transition: mix-blend-mode 0.2s ease;
}

.amp-product__related-card:hover .amp-product__related-image {
    mix-blend-mode: normal;
}

.amp-product__related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amp-product__related-cat {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
}

.amp-product__related-name {
    margin: 0;
}

.amp-product__related-price {
    margin: 0;
}

/* Slick override for related */
.amp-product__related-slider .slick-list {
    margin: 0 -10px;
}

.amp-product__related-slider .slick-arrow {
    z-index: 3;
}

/* ================================================
   RESPONSIVE — TABLET (max 1279px)
   ================================================ */

@media screen and (max-width: 1279px) {
    .amp-product__gallery-column {
        padding-right: 24px;
    }

    .amp-product__summary-column {
        padding-left: 24px;
    }
}

/* ================================================
   RESPONSIVE — MOBILE (max 767px)
   ================================================ */

@media screen and (max-width: 767px) {
    .amp-product {
        padding: 20px 0 60px;
    }

    .amp-product__gallery-column {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .amp-product__summary-column {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(126, 44, 44, 0.1);
        padding-top: 28px;
    }

    .amp-product__gallery {
        position: static;
    }

    .amp-product__gallery-thumb {
        width: calc(20% - 8px);
    }

    .amp-product__measurement-row {
        flex-direction: column;
        gap: 12px;
    }

    .amp-product__guide {
        flex-direction: column;
    }

    .amp-product__guide-image-wrap {
        width: 100%;
        max-width: 180px;
    }

    .amp-product__cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .amp-product__cart .quantity .qty {
        width: 100%;
    }

    .amp-product__add-to-cart {
        width: 100%;
    }

    .amp-product__related {
        margin-top: 50px;
        padding-top: 40px;
    }

    .amp-product__related-title {
        margin-bottom: 28px;
    }
}

/* =========================================
   MOBILE MASTER FILTERS ACCORDION
   Defensive version: NO desktop overrides
   ========================================= */

/* Desktop: το mobile toggle κρυμμένο. Τέλος. Όλα τα άλλα μένουν ως έχουν. */
.shop-filters-mobile-toggle {
    display: none;
}

/* Mobile only — μόνο εδώ επηρεάζουμε layout */
@media screen and (max-width: 639px) {

    .shop-filters-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid currentColor;
        cursor: pointer;
        text-align: left;
        font: inherit;
        color: inherit;
    }

    .shop-filters-mobile-toggle__icon {
        font-size: 1.25em;
        line-height: 1;
        margin-left: 12px;
    }

    /* Panel κλειστό by default σε mobile, ανοίγει με .is-open */
    .shop-filters-mobile-panel {
        display: none;
        padding-top: 12px;
    }

    .shop-filters-mobile-panel.is-open {
        display: block;
    }
}

/* =========================================================
   SHOP FILTERS — STAGED MULTI-SELECT UI
   Πρόσθεσε αυτό το block ΣΤΟ ΤΕΛΟΣ του woocommerce/shop.css
   ========================================================= */

/* -----------------------------------------------
   MULTI-SELECT OPTIONS (checkbox-style)
   ----------------------------------------------- */

.shop-filter__option--check {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.shop-filter__option-check {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(138, 55, 55, 0.5);
    background: #fff;
    position: relative;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

/* Checkmark όταν is-selected */
.shop-filter__option--check.is-selected .shop-filter__option-check {
    background: #8a3737;
    border-color: #8a3737;
}

.shop-filter__option--check.is-selected .shop-filter__option-check::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover */
.shop-filter__option--check:hover .shop-filter__option-check,
.shop-filter__option--check:focus .shop-filter__option-check {
    border-color: #8a3737;
}

/* Όταν είναι multi-select option, ΜΗΝ κάνεις bold/highlight ολόκληρο
   το button όπως κάνει το is-selected default style (αυτό το style
   στο shop.css γραμμή ~471 ισχύει για όλα τα options). Override μόνο
   για multi options:
*/
.shop-filter__option--check.is-selected {
    font-weight: normal; /* το χρώμα του checkbox κάνει το indication */
}

.shop-filter__option-text {
    flex: 1 1 auto;
}

/* -----------------------------------------------
   APPLY BUTTON
   ----------------------------------------------- */
.shop-filter__actions {
    border-top: 1px solid rgba(138, 55, 55, 0.2);
    padding: 10px 14px;
    background: #f6f4f2;
    text-align: right;
}

.shop-filter__apply {
    background: #8a3737;
    color: #fff;
    border: 0;
    padding: 8px 18px;
    cursor: pointer;
    font: inherit;
    box-shadow: none;
}

.shop-filter__apply:hover,
.shop-filter__apply:focus {
    background: #6e2c2c;
    color: #fff;
    outline: none;
    box-shadow: none;
}

/* Options container scroll guard για πολλές κατηγορίες */
.shop-filter--multi .shop-filter__options {
    max-height: 320px;
    overflow-y: auto;
}


/* =========================================================
   MOBILE MASTER FILTERS ACCORDION
   ========================================================= */

/* Default state — σε desktop:
   Το mobile toggle κρυμμένο. Αυτό είναι το ΜΟΝΟ που χρειάζεται για desktop. */
.shop-filters-mobile-toggle {
    display: none;
}

/* MOBILE ONLY (< 640px) */
@media screen and (max-width: 639px) {

    .shop-filters-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        margin: 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(138, 55, 55, 0.25);
        cursor: pointer;
        text-align: left;
        font: inherit;
        color: #8a3737;
        box-shadow: none;
    }

    .shop-filters-mobile-toggle:hover,
    .shop-filters-mobile-toggle:focus {
        background: transparent;
        color: #8a3737;
        outline: none;
        box-shadow: none;
    }

    .shop-filters-mobile-toggle__text {
        font-size: 1em;
    }

    .shop-filters-mobile-toggle__icon {
        font-size: 1.25em;
        line-height: 1;
        margin-left: 12px;
    }

    .shop-filters-mobile-panel {
        display: none;
        padding-top: 12px;
    }

    .shop-filters-mobile-panel.is-open {
        display: block;
    }
}


/* =========================================================
   CART WOOCOMMERCE PAGES
   ========================================================= */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: #7e2c2c;
}

a.checkout-button.button.alt.wc-forward {
    font-family: tt-commons-pro, sans-serif;
}

#add_payment_method .wc-proceed-to-checkout, .woocommerce-cart .wc-proceed-to-checkout, .woocommerce-checkout .wc-proceed-to-checkout,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
    font-family: tt-commons-pro, sans-serif;
}

.quantity {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(126, 44, 44, 0.25);
    background: #fff;
    height: 58px;
    overflow: hidden;
}

.amp-quantity__btn {
    width: 44px;
    height: 100%;
    background: transparent;
    border: 0;
    color: #8a3737;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.amp-quantity__btn:hover,
.amp-quantity__btn:focus {
    background: rgba(126, 44, 44, 0.06);
    color: #8a3737;
    outline: none;
    box-shadow: none;
}

.quantity .qty {
    width: 52px;
    height: 100%;
    border: 0;
    text-align: center;
    font-size: 16px;
    outline: none;
    background: #fff;
    padding: 0;
    box-shadow: none;
    -moz-appearance: textfield;
}

.quantity .qty:focus {
    outline: none;
    box-shadow: none;
}

.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart .page-content,
.woocommerce-checkout main.main-container > section{
    max-width: 90%;
    margin: 0 auto;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 48%;
    margin: 0 auto;
}

.woocommerce a.remove {
    color: #7E2C2C!important;
}

/* ======================================
   SHOP SUBCATEGORIES — SLICK SLIDER PATCH (MOBILE)
   Στο mobile, ο Slick αναλαμβάνει τη διάταξη.
   Αναιρούμε το grid και δίνουμε μικρό padding-right στα slides για peek effect.
====================================== */

@media screen and (max-width: 767px) {

    /* Όσο το slick δεν έχει αρχικοποιηθεί ακόμα, κρύβουμε όλα τα παιδιά εκτός του πρώτου
       για να μη φαίνεται "flash" από το grid. Μόλις πιάσει το slick, αναλαμβάνει αυτό. */
    .js-shop-subcategories-slider:not(.slick-initialized) {
        display: block;
    }

    .js-shop-subcategories-slider:not(.slick-initialized) > .shop-subcategory-card {
        display: none;
    }

    .js-shop-subcategories-slider:not(.slick-initialized) > .shop-subcategory-card:first-child {
        display: block;
    }

    /* Όταν είναι ενεργός ο Slick */
    .js-shop-subcategories-slider.slick-initialized {
        display: block;
    }

    .js-shop-subcategories-slider .slick-slide {
        padding: 0 6px;
    }

    .js-shop-subcategories-slider .slick-list {
        margin: 0 -6px;
    }

    .js-shop-subcategories-slider .slick-dots {
        position: relative;
        bottom: auto;
        margin-top: 14px;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .js-shop-subcategories-slider .slick-dots li {
        margin: 0;
        width: 8px;
        height: 8px;
    }

    .js-shop-subcategories-slider .slick-dots li button {
        width: 8px;
        height: 8px;
        padding: 0;
        font-size: 0;
        line-height: 0;
        border-radius: 50%;
        background: #d8d2cc;
        border: 0;
        cursor: pointer;
    }

    .js-shop-subcategories-slider .slick-dots li button::before {
        display: none;
    }

    .js-shop-subcategories-slider .slick-dots li.slick-active button {
        background: #8a3737;
    }

}

body.search.search-results main.main-container {
    padding-top: 15vh;
}

body.search.search-results main.main-container h1.search-title {
    text-align: center;
}

/* =========================================================
 * Order item με thumbnail + SKU
 * (Checkout review + Cart)
 * ========================================================= */
.amp-order-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.amp-order-item__media {
    flex: 0 0 50px;
    max-width: 50px;
}

.amp-order-item__media img.amp-order-item__thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.amp-order-item__body {
    flex: 1;
    min-width: 0;
}

.amp-order-item__name a {
    text-decoration: none;
}

.amp-order-item__sku {
    margin-top: 4px;
}

/* =========================================================
 * Mobile
 * ========================================================= */
@media (max-width: 640px) {
    .amp-order-item {
        gap: 10px;
    }
    .amp-order-item__media,
    .amp-order-item__media img.amp-order-item__thumb {
        flex-basis: 40px;
        max-width: 40px;
        width: 40px;
        height: 40px;
    }
}