/*
 * custom-styles/css/body-start.css  --  nattelyst.com
 * Migrated from DB (Elementor body-start CSS). Printed at wp_body_open.
 * Conditions noted are NOT yet enforced -- loads site-wide for now.
 */

/* ============================================================
   Snippet #72798 "[CSS] Price By Quantity"  --  was: elementor_body_start, conditions: include/woocommerce/product -- now site-wide
   ============================================================ */

@media (min-width: 1201px) {
    body.single-product #page-title-bar {
        max-width: 1270px !important;
        margin: 0 auto 30px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

body.single-product #page-breadcrumb .page-breadcrumb-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100%;
}

body.single-product #page-breadcrumb .insight_core_breadcrumb {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    --breadcrumb-align: flex-start !important;
}

body.single-product #page-breadcrumb,
body.single-product #page-breadcrumb .page-breadcrumb-wrap,
body.single-product #page-breadcrumb .insight_core_breadcrumb {
    text-align: left !important;
    --breadcrumb-align: flex-start !important;
}

.wpcpq-table:only-child::after, .wpcpq-table:nth-last-child(2):last-child::after {
    content: '';
    flex: auto;
}

.wpcpq-row.wpcpq-head {
    display: none;
}

.wpcpq-table.wpcpq-items {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
@media only screen and (max-width: 768px) {
    .wpcpq-table.wpcpq-items {
        flex-wrap: nowrap;
    }
}
.wpcpq-table .wpcpq-row > div {
    flex: unset;
    width: unset;
}
.wpcpq-table .wpcpq-row {
    flex-direction: row !important;
    margin-bottom: 10px;
    background-color: #f6f6f6;
    line-height: 1.4;
    font-size: 90%;
    padding: 10px 20px;
    border-radius: 10px;
    justify-content: space-between;
    border: 2px solid #f6f6f6;
}
@media only screen and (min-width: 769px) and (max-width: 1140px) {
    .wpcpq-table .wpcpq-row {
        flex-basis: 31%;
    }
}
span.wpcpq-item-text span {
    color: #19345C;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
}

span.wpcpq-item-text {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    text-align: center;
    background-image: url('http://nattelyst.com/wp-content/uploads/2022/08/star.svg');
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 10px;
    font-size: 10px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 8px;
}

/* Fixed Danish 'stk' to English 'ea' */
span.wpcpq-item-price-val .amount:after {
    content: '/ea';
    font-size: 80%;
    font-weight: 500;
    margin-left: 3px;
    opacity: 0.75;
}

.wpcpq-item-price-val .amount {
    white-space: nowrap;
}

.wpcpq-table .wpcpq-row.wpcpq-foot {
    display: none;
}
.wpcpq-table .wpcpq-item-active {
    color: var(--minimog-color-heading);
}
span.wpcpq-item-price-val span {
    font-weight: bold !important;
    font-size: 1.2rem;
}
.wpcpq-item-price {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 6px;
    text-align: left;
    flex-direction: row-reverse;
    align-items: center;
}
.wpcpq-wrap {
    margin-bottom: 15px;
}

.single-pane > .wpcpq-wrap {
    margin-bottom: 0;
}
.wpcpq-item-default {
    min-height: 65px;
}
.wpcpq-row.wpcpq-item.wpcpq-item-active {
    border: 2px solid;
    background-color: #E9F1FB;
}
.wpcpq-item-qty:before {
    order: 2;
    width: 100%;
    font-size: 12px;
    opacity: 0.75;
    font-weight: 500;
    white-space: nowrap;
}

/* Fixed Danish 'stk' to English 'pcs' */
.wpcpq-item-qty:after {
    content: ' pcs';
    margin-left: 4px;
}

.wpcpq-item-qty {
    font-weight: 600;
    font-size: 18px;
    display: flex;
    flex-wrap: wrap;
    max-width: 35%;
    min-width: 45px;
}

.wpcpq-table.wpcpq-click-yes .wpcpq-item {
    position: relative;
    overflow: hidden;
}

/* Fixed Danish 'Populær' to English 'Popular' */
.wpcpq-item.wpcpq-item-2:after {
    content: 'Popular';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--e-global-color-secondary);
    border-bottom-left-radius: 4px;
    padding: 3px 5px;
    font-size: 70%;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wpcpq-table .wpcpq-item:before {
    height: 50px;
    width: 50px;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    position: absolute;
    left: 10px;
}

.wpcpq-row[data-qty="1"] {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wpcpq-row[data-qty="1"] .wpcpq-item-text {
    display: none;
}

.page-id-12376 .wpcpq-wrap,
.page-id-12376 .entry-product-quantity-wrapper {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .wpcpq-table .wpcpq-row {
        padding: 10px 15px !important;
    }
    
    .wpcpq-table .wpcpq-item:before {
        left: 5px !important;
        height: 40px;
        width: 40px;
    }
    
    .wpcpq-table .wpcpq-item[data-qty="2"] .wpcpq-item-qty {
        margin-left: 30px;
    }
}