/*
Theme Name: SwissDelight Child
Theme URI: https://swissdelight.qodeinteractive.com
Description: A child theme of SwissDelight
Author: Elated Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: swissdelight
Template: swissdelight
*/


@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'LeonidasScript';
    src: url('fonts/LeonidasScript.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Ubuntu', sans-serif !important;
}

h1, h2, h3, h5, h6  
{
    font-family: 'Ubuntu', sans-serif !important;
    font-weight: 700;
    line-height: normal;
}

h4 {
    font-family: 'LeonidasScript', sans-serif;
}

.h1-product {
    font-size: 28px;
    line-height: 0;
}

.entry-summary {
    background-color: #fffaf5 !important;
    padding-top: 30px;
    padding-bottom: 50px !important;
}

h1.qodef-woo-product-title {
    line-height: 0.5;
    margin-bottom: 40px !important;
}

@media (max-width: 768px) {
   h1.qodef-woo-product-title {
        line-height: 0.7; /* Slightly larger for mobile */
    }
}


/* On Mobile, put Sidebar first */
@media (max-width: 768px) {
    .qodef-grid-inner.clear {
        display: flex;
        flex-direction: column;
    }

    .qodef-page-content-section.qodef-col--8.qodef-col-push--4 {
        order: 2;
    }

    .qodef-page-sidebar-section.qodef-col--4.qodef-col-pull--8 {
        order: 1;
    }
}

.widget ul:not(.qodef-shortcode-list) li {
    font-size: 16px !important;
    text-transform: none !important;
}

.center {
    text-align: center;
}

.qodef-opener-icon > .qodef-m-icon > .qodef-m-text  {
 color: #caa15c !important;
}

#qodef-side-area-mobile-header .menu-item a:hover {
    color: #caa15c !important;
}

#qodef-side-area-mobile-header .qodef-m-navigation > ul > li.current-menu-ancestor > a .qodef-menu-item-text,
#qodef-side-area-mobile-header .qodef-m-navigation > ul > li.current-menu-item > a .qodef-menu-item-text {
    color: #caa15c !important;
}

#qodef-side-area-mobile-header .qodef-m-navigation {
    line-height: 2.5;
}


.qodef-header-navigation > ul > li > a {
    font-size: 18px;
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }
    .qodef-woo-product-inner .h1-product {
        font-size: 20px;
        line-height: 1.2;
    }
    
}

.select2-dropdown.select2-dropdown--below {
    margin-top: 32px;
}

.single-product-category-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

    padding-left: 10%;
    padding-top: 45px;
}

.single-prod-container {
    background-image: url('images/product-banner-small.webp');
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    height: 180px;
    width: 100%;

    margin-bottom: 80px;
}

.qodef-header-logo-image {
    padding: 5px;
}

.widget.widget_nav_menu {
    background-color: #fffaf5 !important;
    padding: 20px;
}

#qodef-page-inner {
    padding-top: 80px !important;
}

#menu-shop-kategorien-sidebar > li > a:first-of-type  {
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 768px) {
    .qodef-grid > .qodef-grid-inner > .qodef-grid-item,
    .qodef-grid-inner > .qodef-grid-item {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 1024px) {
    #qodef-side-area-mobile-header .qodef-mobile-header-navigation > ul > li > a,
    #qodef-side-area-mobile-header .qodef-m-navigation > ul > li > a,
    #qodef-page-mobile-header .qodef-mobile-header-navigation > ul > li > a,
    #qodef-page-mobile-header .qodef-m-navigation > ul > li > a {
        font-size: 18px !important;
        line-height: 1.55 !important;
    }

    #qodef-side-area-mobile-header .qodef-mobile-header-navigation ul li ul li > a,
    #qodef-side-area-mobile-header .qodef-m-navigation ul li ul li > a,
    #qodef-page-mobile-header .qodef-mobile-header-navigation ul li ul li > a,
    #qodef-page-mobile-header .qodef-m-navigation ul li ul li > a {
        font-size: 20px !important;
        line-height: 1.45 !important;
    }

    #qodef-side-area-mobile-header .qodef-mobile-header-navigation ul li .qodef-menu-item-arrow,
    #qodef-side-area-mobile-header .qodef-m-navigation ul li .qodef-menu-item-arrow,
    #qodef-page-mobile-header .qodef-mobile-header-navigation ul li .qodef-menu-item-arrow,
    #qodef-page-mobile-header .qodef-m-navigation ul li .qodef-menu-item-arrow {
        width: 11px !important;
    }
}

@media (min-width: 1025px) {
    body:not([class*="swissdelight-core"]) .qodef-header-navigation ul li.qodef-menu-item--narrow ul,
    .qodef-header-navigation ul li.qodef-menu-item--narrow ul {
        width: 380px !important;
        padding-top: 40px !important;
        padding-bottom: 34px !important;
    }

    .qodef-header-navigation > ul > li.qodef-menu-item--narrow ul li > a {
        font-size: 22px !important;
        line-height: 1.5 !important;
        margin-top: 18px !important;
        margin-bottom: 18px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
}

@media (max-width: 768px) {
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive > tbody {
        display: block !important;
        width: 100% !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 8px;
        column-gap: 0;
        width: 100% !important;
        box-sizing: border-box;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td {
        border: 0 !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        width: auto !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-remove {
        order: 1;
        flex: 0 0 22px;
        padding-right: 4px !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-remove:before,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name:before,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-price:before,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-quantity:before {
        display: none !important;
        content: none !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-thumbnail {
        order: 2;
        flex: 0 0 84px;
        display: block !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-thumbnail:before {
        display: none !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-thumbnail a,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-thumbnail img {
        display: block !important;
        width: 84px !important;
        height: 84px !important;
        max-width: none !important;
        object-fit: cover;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name {
        order: 3;
        flex: 0 0 calc(100% - 116px) !important;
        max-width: calc(100% - 116px) !important;
        min-width: 0;
        padding-left: 4px !important;
        font-size: 18px !important;
        line-height: 1.35 !important;
        text-align: left !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name a {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation {
        margin-top: 6px;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dt,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dd,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation p {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dt,
    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dd {
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        clear: both;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dd {
        margin-bottom: 6px !important;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-name .variation dd p {
        margin: 0 !important;
        width: 100% !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-price {
        order: 4;
        flex: 0 0 calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
        margin-right: 15px;
        text-align: center;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-quantity {
        order: 5;
        flex: 0 0 calc((100% - 15px) / 2);
        max-width: calc((100% - 15px) / 2);
        text-align: center;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-quantity .qodef-quantity-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    #qodef-woo-page.qodef--cart .shop_table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item > td.product-subtotal {
        display: none !important;
    }
}

#qodef-woo-page.qodef--checkout #payment .__PrivateStripeElement,
.woocommerce-checkout #payment .__PrivateStripeElement {
    margin: 24px 0 !important;
}

#qodef-woo-page.qodef--cart .wc-proceed-to-checkout {
    margin-top: 20px !important;
}

#qodef-woo-page.qodef--cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    background: #0f2458 !important;
    border-color: #0f2458 !important;
    color: #fffaf5 !important;
    font-weight: 700 !important;
}

#qodef-woo-page.qodef--cart .wc-proceed-to-checkout .checkout-button::before,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button::before {
    content: '\00A4\00A0';
    font-weight: 700;
}

#qodef-woo-page.qodef--cart .wc-proceed-to-checkout .checkout-button .qodef-m-border--top-left,
#qodef-woo-page.qodef--cart .wc-proceed-to-checkout .checkout-button .qodef-m-border--bottom-right,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button .qodef-m-border--top-left,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button .qodef-m-border--bottom-right {
    border-color: #fffaf5 !important;
}

#qodef-woo-page.qodef--cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: #0a1b46 !important;
    border-color: #0a1b46 !important;
    color: #fffaf5 !important;
}

#qodef-woo-page.qodef--checkout #payment #place_order,
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #payment .place-order .button.alt {
    background: #0f2458 !important;
    border-color: #0f2458 !important;
    color: #fffaf5 !important;
    font-weight: 700 !important;
}

#qodef-woo-page.qodef--checkout #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #payment .place-order .button.alt:hover {
    background: #0a1b46 !important;
    border-color: #0a1b46 !important;
    color: #fffaf5 !important;
}

.wc-block-components-button.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button {
    background: #0f2458 !important;
    border-color: #0f2458 !important;
    color: #fffaf5 !important;
    font-weight: 700 !important;
}

.wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.wc-block-components-checkout-place-order-button:focus,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:focus {
    background: #0a1b46 !important;
    border-color: #0a1b46 !important;
    color: #fffaf5 !important;
}

#qodef-woo-page.qodef--checkout #payment #place_order::before,
.woocommerce-checkout #payment #place_order::before {
    content: '\00A4\00A0';
    font-weight: 700;
}

.wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text::before {
    content: '\00A4\00A0';
    font-weight: 700;
}

@media (max-width: 768px) {
    #qodef-woo-page.qodef--single form.cart.variations_form .variations {
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    #qodef-woo-page.qodef--single form.cart.variations_form .variations tr {
        display: block !important;
        width: 100% !important;
    }

    #qodef-woo-page.qodef--single form.cart.variations_form .variations .label,
    #qodef-woo-page.qodef--single form.cart.variations_form .variations .value {
        display: block !important;
        width: 100% !important;
    }

    #qodef-woo-page.qodef--single form.cart.variations_form .variations .label label {
        display: block !important;
        margin: 0 0 8px !important;
    }

    #qodef-woo-page.qodef--single form.cart.variations_form .variations select,
    #qodef-woo-page.qodef--single form.cart.variations_form .variations .select2-container--default {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    #qodef-woo-page.qodef--single form.cart.variations_form .variations .reset_variations {
        position: static !important;
        margin: 8px 0 0 !important;
    }

    #qodef-woo-page.qodef--single form.cart .variations_button {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    #qodef-woo-page.qodef--single form.cart .variations_button .quantity {
        margin-right: 0 !important;
    }
}

#qodef-woo-page.qodef--single .woocommerce-message .button.wc-forward,
.single-product .woocommerce-message .button.wc-forward,
#qodef-woo-page.qodef--single a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward {
    background: #0f2458 !important;
    border-color: #0f2458 !important;
    color: #fffaf5 !important;
    font-weight: 700 !important;
}

#qodef-woo-page.qodef--single .woocommerce-message .button.wc-forward:hover,
.single-product .woocommerce-message .button.wc-forward:hover,
#qodef-woo-page.qodef--single a.added_to_cart.wc-forward:hover,
.single-product a.added_to_cart.wc-forward:hover {
    background: #0a1b46 !important;
    border-color: #0a1b46 !important;
    color: #fffaf5 !important;
}
