/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

div[data-row="top"] .entry-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

div[data-row="top"] .entry-content::after {
    display: none;
}

div[data-row="top"] .ct-header-text  {
    margin: 0 !important;
}

div[data-row="top"] .ct-header-text p {
    margin: 0 !important;
}

.ct-product-gallery-container {
    max-height: 527px;
    background-color: white;
    height: 527px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.ct-product-gallery-container img {
    max-height: 441px;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.product_cat-lesepakete .ct-product-gallery-container img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    max-height: 100% !important;
}

.single-product .type-product .sale-price del {
    color: black;
    opacity: 1;
    margin-left: 32px;
}

.sale-price del .woocommerce-Price-currencySymbol::after {
    content: "*";
}

.ct-cart-actions .single_add_to_cart_button {
    width: fit-content !important;
    display: block !important;
    flex: none !important;
    padding: 14px 46px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    height: 60px !important;
}

input.input-text.qty.text {
    border-radius: 100px !important;
    height: 60px !important;
    border: 2px solid black !important;
}

/* .quantity[data-type="type-2"] .ct-increase,
.quantity[data-type="type-2"] .ct-decrease {
    margin-top: 2px !important;
} */

.entry-summary-items .price {
    margin-bottom: 0 !important;
}

.entry-summary-items .ct-product-content-block {
    font-size: 16px;
}

.woo-listing-top {
    justify-content: space-between;
}

.ct-toggle-filter-panel.ct-expandable-trigger {
    font-size: 18px !important;
    font-weight: 700 !important;
    border: 2px solid black !important;
    border-radius: 100px !important;
    padding: 14px 36px !important;
    text-transform: none !important;
}

.ct-toggle-filter-panel.ct-expandable-trigger:hover {
    border: 2px solid var(--theme-link-hover-color) !important;
}

.ct-toggle-filter-panel.ct-expandable-trigger .ct-icon-container svg {
    width: 16px !important;
    height: 16px !important;
}

.add_to_cart_button,
.added_to_cart {
    font-weight: 700 !important;
    font-size: 16px !important;
}

footer [data-icons-type*="outline"] .ct-icon-container {
    border: 2px solid !important;
}

div.quantity {
    height: fit-content !important;
}

.onsale {
    display: none !important;
}

/* .upsells h3.ct-module-title {
    font-size: 46px;
} */

[data-row="top"] .ct-header-text p a {
    text-decoration: none !important;
}

.custom-product-section .included-magazines,
.custom-product-section .cross-selling-products {
    display: grid;
    grid: auto / 1fr 1fr 1fr;
    gap: 30px;
}

.custom-product-section .included-magazines .magazine-image,
.custom-product-section .cross-selling-products .magazine-image {
    width: 100%;
    height: auto;
    aspect-ratio: 526 / 346;
    background-color: white;
    display: flex;
    align-items: center;
    margin-bottom: 23px;
    /* transition: var(--theme-transition); */
}

/* .custom-product-section .included-magazines .magazine-image:hover,
.custom-product-section .cross-selling-products .magazine-image:hover {
    transition: var(--theme-transition);
    transform: scale(1.03);
} */

/* .custom-product-section .included-magazines .magazine-image:hover,
.custom-product-section .cross-selling-products .magazine-image:hover {
    transform: scale(1.03);
} */

.custom-product-section .included-magazines .magazine-image a,
.custom-product-section .cross-selling-products .magazine-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-product-section .included-magazines .magazine-image img,
.custom-product-section .cross-selling-products .magazine-image img {
    height: 90%;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.custom-product-section .included-magazines .magazine-item h4,
.custom-product-section .cross-selling-products .magazine-item h4 {
    font-size: 30px;
    margin-bottom: 0;
}

.custom-product-section .included-magazines .magazine-item h4 a,
.custom-product-section .cross-selling-products .magazine-item h4 a {
    text-decoration: none;
    color: black;
}

.custom-product-section .included-magazines .magazine-item h4 a:hover,
.custom-product-section .cross-selling-products .magazine-item h4 a:hover {
    text-decoration: none;
    color: black;
}

.custom-product-section .cross-selling-products .add_to_cart_button.added {
    display: none;
}

.custom-product-section h3 {
    font-size: 46px !important;
}

.custom-product-section .paket-included {
    margin-top: 65px;
}

.custom-product-section .cross-selling {
    margin-top: 50px;
    margin-bottom: 15px;
}

.custom-product-section .sale-price {
    font-size: 20px;
    color: #ED1C24;
    font-weight: 700;
    margin-bottom: 12px;
}

.custom-product-section .sale-price del {
    color: black;
    opacity: 1;
    margin-left: 17px !important;
    font-weight: 500;
}

.custom-product-section .price-notice {
    font-size: 16px;
    line-height: 20px;
}

.price-notice {
    font-size: 16px;
    line-height: 20px;
}

.custom-product-section .description {
    margin-top: 183px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.custom-product-section .description .description_text {
    grid-column: 1 / 6;
}

.custom-product-section .description .description_image {
    grid-column: 7 / 13;
}

.custom-product-section h2 {
    line-height: 56px;
}

.custom-product-section .sustainable_banner {
    margin-top: 129px;
    position: relative;
    background-color: var(--theme-palette-color-1);
    min-height: 530px;
}

.custom-product-section .sustainable_banner .sustainable_banner_text {
    padding: 65px;
    z-index: 5;
    position: relative;
}

.custom-product-section .sustainable_banner h2 {
    color: white;
    font-size: 60px !important;
    max-width: 660px;
}

.custom-product-section .sustainable_banner p a {
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid white;
    border-radius: 100px;
    padding: 14px 36px;
    display: inline-block;
}

.custom-product-section .sustainable_banner p a:hover {
    background-color: white;
    color: var(--theme-palette-color-1);
    text-decoration: none;
}

.custom-product-section .sustainable_banner_image {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 530px;
    z-index: 1;
}

.custom-product-section .sustainable_banner_image img:first-of-type {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 25%;
    transform: translateX(-50%);
}

.custom-product-section .sustainable_banner_image img:nth-of-type(2) {
    position: absolute;
    top: 28px;
    right: 35px;
    width: 30%;
}

.ct-panel-actions .ct-panel-heading {
    font-size: 40px !important;
}

.ct-woocommerce-cart-form .cart_totals h2 {
    font-size: 24px !important;
}

div.quantity[data-type] input[type="number"] {
    font-size: 15px !important;
}

.woocommerce-mini-cart .remove,
[class*="ct-woocommerce"] .shop_table .remove {
    --theme-icon-size: 18px !important;
}

.woocommerce-message {
    background-color: white !important;
    font-size: 18px !important;
}

.product_list_widget .product-data,
.product_list_widget .product-title,
#woo-cart-panel .woocommerce-mini-cart__total,
[class*="ct-woocommerce"] .shop_table [class*="product-name"],
[class*="ct-woocommerce"] .shop_table .product-subtotal,
table.shop_table thead th,
.shop_table.shop_table_responsive th,
.shop_table.shop_table_responsive td,
.woocommerce-billing-fields label,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields label,
.woocommerce-additional-fields h3,
.ct-order-review .product-total,
.ct-order-review .order-total th,
.ct-order-review .order-total td,
.ct-order-review .cart-subtotal th,
.ct-order-review .cart-subtotal td {
    font-size: 18px !important;
}

#payment ul.payment_methods .payment_box p,
#payment ul.payment_methods > li.wc_payment_method > label,
.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper,
.checkout-inline-error-message {
    font-size: 16px !important;
}

.ct-woocommerce-checkout h3 {
    font-size: 24px !important;
}

.ct-filter-widget {
    font-size: 18px !important;
    gap: 10px 30px !important;
}

footer .contact-info a {
    font-family: ct_font_g_t__standard, sans-serif;
}

footer .wp-block-navigation__responsive-container-content a:hover {
    color: var(--theme-palette-color-2) !important;
}

footer [data-row="middle"] .ct-header-text p a {
    text-decoration: none !important;
}

[data-pagination="simple"], [data-pagination="next_prev"] {
    font-size: 16px !important;
}

[data-pagination="simple"] .prev, [data-pagination="simple"] .next, [data-pagination="next_prev"] .prev, [data-pagination="next_prev"] .next {
    font-size: 16px !important;
}

.ct-pagination {
    margin-bottom: 40px;
}

.wpcf7-form .grid {
    display: grid;
    grid: auto / 1fr 1fr;
    gap: 30px;
}

.wpcf7-form span.pf {
    color: #ED1C24;
}

.wpcf7 label:not(.wpcf7-form-control-wrap) {
    font-size: 18px !important;
    font-weight: 500 !important;
}

.ct-filter-widget {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}

.product-type-variable .product-price {
    display: flex;
    gap: 8px;
}

body.term-lesepakete .woo-listing-top{
    display: none;
}

.legacy-itemprop-offers {
    display: none !important;
}

.woocommerce-shipping-totals {
    display: none !important;
}

.wgm-info.woocommerce-de_price_taxrate,
.wgm-info.woocommerce_de_versandkosten {
    display: none !important;
}

.single_variation_wrap .price-notice {
    margin-bottom: 32px !important;
}

.woocommerce-info[role="status"] {
    background-color: white;
    font-size: 18px !important;
}

.cart-discount th,
.cart-discount td {
    font-size: 18px;
}

.form-row label {
    font-weight: 400 !important;
}

#order_comments::placeholder {
    opacity: 0;
}

#ship-to-different-address label {
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: ct_font_inter, sans-serif !important;
}

.product_cat-lesepakete .ct-media-container {
    height: 100%;
}

@media (max-width: 767px) {
    footer .wp-block-navigation ul {
        display: block;
    }

    footer .wp-block-navigation ul li {
        font-size: 18px !important;
    }

    footer .mob-none {
        height: 30px !important;
    }

    .custom-product-section .included-magazines,
    .custom-product-section .cross-selling-products {
        display: grid;
        grid: auto / 1fr;
        gap: 60px;
    }

    .custom-product-section .sustainable_banner {
        margin-top: 129px;
        position: relative;
        background-color: var(--theme-palette-color-1);
        min-height: 530px;
    }

    .custom-product-section .sustainable_banner .sustainable_banner_text {
        padding: 30px;
        z-index: 5;
        position: relative;
    }

    .custom-product-section .sustainable_banner h2 {
        color: white;
        font-size: 45px !important;
        line-height: 40px;
        max-width: 660px;
    }

    .custom-product-section .sustainable_banner p a {
        color: white;
        font-size: 18px;
        font-weight: 700;
        border: 2px solid white;
        border-radius: 100px;
        padding: 14px 36px;
        display: inline-block;
    }

    .custom-product-section .sustainable_banner p a:hover {
        background-color: white;
        color: var(--theme-palette-color-1);
        text-decoration: none;
    }

    .custom-product-section .sustainable_banner_image {
        position: absolute;
        bottom: 0;
        width: 100%;
        min-height: 510px;
        z-index: 1;
    }

    .custom-product-section .sustainable_banner_image img:first-of-type {
        position: absolute;
        bottom: 30px;
        left: 28%;
        width: 45%;
        transform: translateX(-50%);
    }

    .custom-product-section .sustainable_banner_image img:nth-of-type(2) {
        position: absolute;
        top: unset;
        right: 15px;
        width: 40%;
        bottom: 20%;
    }

    footer .contact-info a {
        font-size: 20px;
    }

    .ct-order-review {
        padding: 10px !important;
    }

    .product_list_widget .product-data, .product_list_widget .product-title, #woo-cart-panel .woocommerce-mini-cart__total, [class*="ct-woocommerce"] .shop_table [class*="product-name"], [class*="ct-woocommerce"] .shop_table .product-subtotal, table.shop_table thead th, .shop_table.shop_table_responsive th, .shop_table.shop_table_responsive td, .woocommerce-billing-fields label, .woocommerce-shipping-fields h3, .woocommerce-additional-fields label, .woocommerce-additional-fields h3, .ct-order-review .product-total, .ct-order-review .order-total th, .ct-order-review .order-total td, .ct-order-review .cart-subtotal th, .ct-order-review .cart-subtotal td {
        font-size: 16px !important;
    }

    .cart-discount th,
    .cart-discount td {
        font-size: 16px;
    }

    .woocommerce-checkout-payment {
        margin-inline: 0px !important;
    }

    .product_cat-lesepakete .ct-product-gallery-container {
        height: fit-content !important;
        max-height: fit-content !important;
    }

    .ct-filter-widget[data-display-type="inline"] {
        display: block !important;
    }

    .ct-filter-widget[data-display-type="inline"] .ct-filter-item {
        margin-bottom: 8px;
    }
}

@media (min-width: 480px) {
  .ct-cart-actions .added_to_cart {
    flex: 0 !important;
    white-space: nowrap;
    padding-left: 46px !important;
    padding-right: 46px !important;
  }
}