/* Layout */

.single-blog {
    background-color: var(--color-light-grey);
    padding-top:50px;

}
.single-blog__wrap {
    display: grid;
    grid-template-columns: 400px 1fr; /* sidebar | content */
    gap: 36px;
    align-items: start;
    padding-bottom:50px;
}
.featured-products {
    background-color: #FFF;
    padding: 50px 0;
}
.featured-products h2 {
    text-align: center;
}
/* Sidebar */
.post-sidebar__date {
    font-size: 12px;
    margin: 0 0 50px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom:15px;
    font-weight: 500;
    color: var(--color-placeholder);
}

.post-chip {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.post-sidebar__title {
    font-size: 22px;
    margin: 0 0 30px;
    font-weight: 500;
}

.post-sidebar__block {
    padding: 16px 0;
    border-top: 1px solid #e7e7e7;
}
.post-sidebar__block.socials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom:15px;
    margin-bottom:30px;
    border-bottom: 1px solid #e7e7e7;
}
.post-sidebar__block.socials .post-sidebar__block-title{
    color: var(--color-grey-text);
    font-weight: 300;
    margin:0;
}
.post-sidebar__block-title {
    font-weight: 500;
    margin-bottom: 8px;
}

.post-sidebar__muted a{
    color: var(--color-grey-text);
}

.cat-list, .recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-list li, .recent-list li {
    margin: 6px 0;
}

.cat-list a, .recent-list a {
    color: var(--color-grey-text);
    text-decoration: none;
}

.cat-list a:hover, .recent-list a:hover {
    color: var(--color-primary);
}

.cat-list .count {
    color: var(--color-grey-text);
    margin-left: 6px;
}

/* Share icons (simple circle buttons) */
.share-row {
    display: flex;
    gap: 14px;
    align-items: center;
}

.share-icon {
    width: 28px;
    height: 28px;

}


.product_badges {
    position: absolute;
    z-index: 2;
    top:20px;
    left:20px;
}
.product_badges p {
    font-size: 12px;
    margin: 0!important;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #657B42;
    color: #FFF;
    font-weight: 500;
    margin-bottom: 10px!important;
    width:fit-content;
    width:-moz-fit-content;
}
.product_badges p.sale:not(.highlight) {
    border: 2px solid #fff;
}
.product_badges p.highlight {
    background-color: #b0bb11;
}
.product_badges p.highlight.black-friday {
    background-color: transparent;
    position: absolute;
    right: 20px;
    padding: 0;
    left: unset;
    top: -20px;
}
.product_badges p.highlight.black-friday img {
    width:100px;
}

.product_badges p.in-stock {
    background-color: #333333;
}
.woocommerce ul.products {
    position: relative;
}
.woocommerce ul.products li.product .onsale {
    display: none;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    position: relative;
    display: block;
}
.woocommerce ul.products li.product a img {
    aspect-ratio: 221 / 200;
    object-fit: cover;
    margin: 8px;
    max-width: calc(100% - 16px);
    border-radius: 10px;
}
.woocommerce ul.products li {
    width:100%;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img.attachment-woocommerce_thumbnail {
    outline: #657B42 solid 8px;
}

.woocommerce ul.products li.product .product-details a, .products-block-post-template .product-details {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    column-gap: 15px;
    flex-wrap: wrap;
    background: transparent;
    border-radius: 0;
    margin-bottom: 3px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    letter-spacing: 0px;
    color: #333333;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    width: calc(100% - 115px);
    text-align: left;
    margin: 0;
}

.woocommerce ul.products li.product .product-details .price {
    text-align: right;
    width: 100px;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.woocommerce ul.products li.product .product-details .price del, .wc-block-grid__product-price del {
    color: #B4B4B4;
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
}

.woocommerce ul.products li.product .product-details .price ins, .wc-block-grid__product-price ins, .woocommerce ul.products li.product .product-details .price > .woocommerce-Price-amount, .wc-block-grid__product-price > .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #657B42;
}
.price-tax-text {
    text-align: right;
    font-size: 10px;
    font-weight: 700;
    font-family: Montserrat;
    margin: 0;
    color: var(--color-text);
}
.woocommerce ul.products li.product .product-details {
    padding-top:20px;
    padding-left:8px;
    padding-right:8px;
    border-bottom: 1px solid #E0E0E0;
}

.woocommerce ul.products li.product .product-action-wrap {
    width: 100%;
    margin-top: 0;
}

body.single-post .product_featured-specifications .specifications p {
    font-size: 16px;
    padding-top: 10px;
}
body.single-post .product_featured-specifications .specifications p {
    font-size: 16px;
    padding-top: 10px;
    font-weight: 500;
    min-width: 20px;
    margin: 0;
    line-break: anywhere;
}
.woocommerce ul.products li.product .add_to_cart_button {
    display: none !important;
}

.woocommerce ul.products li.product .horman-logo {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 15px;
    margin: 0;
    display: flex
;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
}

.woocommerce ul.products li.product .horman-logo img {
    border-radius: 0;
    aspect-ratio: unset;
    margin: 0;
    width: 50px;
    max-width: unset;
    outline: none !important;
}

.woocommerce ul.products li.product .horman-logo.harvia img {
    width:auto;
    height:50px;
}
.woocommerce ul.products li.product .horman-logo.harvia img.holzhofen, .woocommerce ul.products li.product .horman-logo.harvia img.vereinfachte {
    height: 60px;
}


/* Contact card (optional) */

.card {
    border:1px solid var(--color-border);
    border-radius: 10px;
    padding:25px;
    display: flex;
    gap:20px;
    align-items: center;
    background-color: #FFF;
}
.card .column-image img{
    height: 100px;
    width: 100px;
    object-position: top;
    object-fit: contain;
    border-radius: 100%;
}
.card .column-text .position {
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary);
}
.card .column-text .name {
    font-weight: 500;
    margin-bottom: 10px;
}
.card .column-text .phone {
    color: var(--color-text);
    font-weight: 200;
    display: flex;
    gap:10px;
    margin-bottom:10px;
    font-size: 14px;
    transition: all ease-in-out .3s;
}
.card .column-text .phone:hover {
    color: var(--color-primary);
    text-decoration: underline;
}


/* Content area */
.post-intro {
    color: #666;
    margin-top: 10px;
}

.post-featured {
    margin: 14px 0 18px;
}

.post-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.post-sidebar {
    position: sticky;
    top:50px;
    max-height: 90vh;
    overflow-y: scroll;
    padding-bottom:30px;
}
.post-sidebar::-webkit-scrollbar {
    background-color: transparent;
}

.post-body h2 {
    margin-top: 28px;
    font-size: 28px;
}

.mobile-title {
    display:none;
}

@media (max-width: 1700px) {
    .product_featured-specifications .specifications img {
        height: 40px;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 16px;
    }
}
@media (max-width: 1440px) {
    body.single-post .product_featured-specifications .specifications p{
        font-size: 14px;
    }
    .product_featured-specifications .specifications img {
        height: 55px;
    }
}

@media (max-width: 1200px) {
    body.single-post .product_featured-specifications .specifications p {
        font-size: 12px;
    }
}
@media(max-width:1024px) {
    .woocommerce ul.products li.product .product-details {
        padding-top: 5px;
    }

    .product_featured-specifications {
        padding-top: 10px;
        margin-top: 15px;
        padding-bottom: 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px;
    }

    .product_featured-specifications .specifications img {
        height: 55px;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .post-body h2 {
        font-size: 24px;
    }
    .mobile-title {
        display:block;
    }
    .post-sidebar .post-chip, .post-sidebar .post-sidebar__title{
        display:none;
    }
    .post-sidebar__date {
        margin: 0 0 30px;
    }
    .post-sidebar {
        width: 100%;
    }
    .single-blog__wrap {
       display: flex;
        flex-direction: column-reverse;
    }
}
@media(max-width:850px) {
    .woocommerce ul.products li.product .horman-logo img {
        width: 40px;
    }
    .woocommerce ul.products li.product .horman-logo {
        bottom: 63px;
        height: 50px;
        width: 40px;
    }

    .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link::after {
        content: 'Zum produkt';
        width: 80%;
        left: 50%;
        transform: translatex(-50%);
        height: 30px;
        background-image: url(/wp-content/themes/weltausholz/assets/images/white-chevron-right.svg);
        background-size: 7px;
        background-position: calc(50% + 70px);
        background-repeat: no-repeat;
        bottom: 20px;
        border: 1px solid #FFF;
        border-radius: 9px;
        display: block;
        position: absolute;
        color: #FFF;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 500;
        font-size: 14px;
        z-index: 3;
        background-color: rgba(255, 255, 255, .2);
    }
}