/*
Theme Name: Elementor childtema
Theme URI: 
Template: hello-elementor
Author: Daniel Persson
Author URI: 
Description: Elementor Hello barntema
Version: 1.0.0
*/

/** CSS nedanför här **/

:root {
    --bergs-text: #221F20;
    --bergs-red-1: #B51225; 
    --bergs-red-2: #EA0428; 
}

#fmwf-loop-filters {
    display: none !important;
}

.bergs-business-link {
    display: none;
    color: #fff !important;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    font-weight: 600;
}

.rank-math-breadcrumb p {
    margin: 0;
    font-size: 16px;
}

.rank-math-breadcrumb span.last {
    font-weight: 600;
}

body .wts-vat-text {
    font-size: 50%;
}

li.product {
    height: 100%;
}

.bergs-product {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bergs-product .image {
    position: relative;
    border: 1px solid #221f2010;
    border-radius: 2px;
}

.bergs-product .image img {
    height: 330px !important;
    object-fit: contain;
    border-radius: 2px;
    display: block !important;
    margin: 0 !important;
}

.bergs-product .image .discount {
    background-color: var(--bergs-red-1);
    color: #fff;
    width: 63px;
    height: 63px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 30px;
    font-size: 20px;
    font-family: 'Archivo';
    font-weight: bold;
}

.bergs-product .image .tag {
    background-color: #F9FFA9;
    position: absolute;
    bottom: 10px;
    left: 10px;
    border-radius: 2px;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: bold;
    max-width: 90%;
}

.bergs-product .image .tinv-wraper {
    position: absolute;
    top: 10px;
    left: 10px;
}

.bergs-product .image .tinv-wraper a.tinvwl_add_to_wishlist_button {
    margin: 0;
}

.bergs-product .image .tinv-wraper a.tinvwl_add_to_wishlist_button::before {
        font-size: 24px;
}


.bergs-product .body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    flex: 1;
}

.bergs-product .body .title a {
    font-size: 16px;
    font-weight: 600;
    min-height: 50px;
    display: block;
}

.bergs-product .body .desc {
    font-size: 14px;
}

.bergs-product .body .save {
    margin-top: auto;
}

.bergs-product .body .bergs-price {
    font-size: 24px;
    font-weight: bold;
}

.bergs-product .body .bergs-price del {
    display: none;
}

.bergs-product .body .bergs-price ins {
    text-decoration: none;
}

.bergs-product.sale .body .bergs-price {
    color: var(--bergs-red-2);
    line-height: 0.9;
}

.bergs-product.sale .body .bergs-price small {
    font-size: 13px;
    text-decoration: line-through;
    color: var(--bergs-text);
    font-weight: 400;
}

.bergs-product .body .save > span {
    background-color: var(--bergs-red-2);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 2px;
}

.bergs-product .body .rating .star-rating {
    float: none;
    color: #FFC31D;
}











.bergs-optional-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.bergs-optional-products > label {
    font-weight: bold;
    font-size: 16px;
}

.bergs-optional-products .optional-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bergs-optional-products .optional-products .optional-product {
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    justify-content: space-between;
    padding: 0 10px;
}

.bergs-optional-products .optional-products .optional-product .image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.bergs-optional-products .optional-products .optional-product .price {
    font-size: 16px;
    font-weight: bold;
}

.bergs-optional-products .optional-products .optional-product .indicator input {
    display: none;
}

.bergs-optional-products .optional-products .optional-product .indicator span {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid #222;
    background-color: #fff;
    display: inline-block;
    position: relative;
}

.bergs-optional-products .optional-products .optional-product .indicator input:checked + span {
    background-color: #22C337;
    border-color: #22C337;
}

.bergs-optional-products .optional-products .optional-product .indicator input:checked + span::after {
    content: "\2713";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    line-height: 1.1;
    font-size: 16px;
}










.bergs-product-price del {
    display: none;
}

.bergs-product-price ins {
    text-decoration: none;
}

.bergs-product-price:not(.sale) .amount {
    font-size: 30px;
    color: var(--bergs-text);
    font-weight: bold;
}

.bergs-product-price small {
    font-size: 14px;
    opacity: 0.7;
    text-decoration: line-through;
    margin-bottom: 5px;
    display: block;
}

.bergs-product-price .real .amount {
    font-size: 30px;
    color: var(--bergs-red-2);
    font-weight: bold;
}

.bergs-product-price .save {
    padding: 2px 8px;
    border-radius: 2px;
    background-color: var(--bergs-red-2);
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
    vertical-align: top;
}




.bergs-product-save {
    position: relative;
    background-color: var(--bergs-red-1);
    color: #fff;
    width: 63px;
    height: 63px;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 30px;
    z-index: 2;
}







.bergs-free-shipping {
    background-color: #F9FFA9;
    padding: 12px;
    font-size: 14px;
    border-radius: 2px;
    display: inline-block;
}









.bergs-product-tag {
    padding: 4px 8px;
    background-color: #F9FFA9;
    font-size: 14px;
    border-radius: 2px;
    font-weight: bold;
    display: inline-block;
}





.bergs-product-shipping {
    font-size: 14px;
}

.bergs-product-shipping span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.bergs-product-shipping.instock span {
    background-color: #22C337;
}

.bergs-product-shipping.outofstock span {
    background-color: var(--bergs-red-2);
}














.bergs-archive-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bergs-archive-categories .category .image {
    position: relative;
}

.bergs-archive-categories .category .image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(#ffffff00, #000 100%);
    border-radius: 2px;
}

.bergs-archive-categories .category .image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.bergs-archive-categories .category .image .name {
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    z-index: 2;
    line-height: 1.2;
}













.bergs-campaigns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bergs-campaigns .campaign {
    position: relative;
    height: 400px;
    flex: 1;
}

.bergs-campaigns .campaign .image {
    height: 100%;
    position: relative;
}

.bergs-campaigns .campaign .image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 120px;
    width: 100%;
    background: linear-gradient(transparent, #000 100%);
}

.bergs-campaigns .campaign img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.bergs-campaigns .campaign .discount {
    position: absolute;
    top: 0;
    right: 0;
    width: 117px;
    height: 117px;
    background-color: #F66268;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 2px;
}

.bergs-campaigns .campaign .discount .small {
    font-size: 14px;
}

.bergs-campaigns .campaign .discount .large {
    font-size: 28px;
    font-weight: 600;
}

.bergs-campaigns .campaign .actions {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    z-index: 2;
}

.bergs-campaigns .campaign .actions span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bergs-campaigns .campaign .body {
    background-color: #F9FFA9;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
}

.bergs-campaigns .campaign .body .readmore {
    display: flex;
    gap: 5px;
    align-items: center;
    font-weight: bold;
}

.bergs-campaigns .campaign .body .readmore svg {
    width: 10px;
    height: 10px;
}



.bergs-campaigns.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.bergs-campaigns.grid .campaign:nth-child(1) {
    height: auto;
    display: flex;
    flex-direction: column;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bergs-campaigns.grid .campaign:nth-child(1) .image {
    flex: 0 0 70%;
}

.bergs-campaigns.grid .campaign:nth-child(1) .body {
    flex: 1;
}

.bergs-campaigns.grid .campaign:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.bergs-campaigns.grid .campaign:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}






.bergs-campaigns.archive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}








.bergs-readmore.folded {
    position: relative;
    max-height: 100px;
    overflow-y: hidden;
}

.bergs-readmore.folded::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent 0%, white 100%);
}

.bergs-readmore-open {
    margin-top: 10px;
    text-decoration: underline !important;
    display: block;
}


.bergs-customer-type {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    line-height: 1;
}

.bergs-customer-type a {
    font-size: 1.8rem;
    padding: 15px 30px;
    border-radius: 180px;
}

.bergs-customer-type a:not(.active):hover {
    background: #dfdfdf;
}

.bergs-customer-type a.active {
    color: #fff;
    background: #bc0d2a;
}





@media ( max-width: 768px ) {

    .rank-math-breadcrumb p {
        font-size: 12px;
    }

    .bergs-optional-products .optional-products {
        grid-template-columns: 1fr;
    }

    .bergs-campaigns,
    .bergs-campaigns.grid {
        display: flex;
        flex-direction: column;
    }

    .bergs-archive-categories {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bergs-campaigns .campaign {
        flex: 0 0 400px;
    }

    .bergs-campaigns .campaign .body {
        padding: 15px;
    }

    .bergs-campaigns.archive {
        grid-template-columns: 1fr;
    }

    .bergs-product .image img {
        height: 160px !important;
    }

    .bergs-product .body .desc {
       font-size: 12px;
        line-height: 1.4; 
    }

    .bergs-archive-categories .category .image .name {
        font-size: 12px;
    }

}









































































/** CHECKOUT **/

#kco-wrapper {
    margin: auto;
}

#kco-wrapper #kco-iframe,
#kco-wrapper #kco-order-review {
    padding: 0;
}

#kco-wrapper .woocommerce-additional-fields {
    display: none !important;
}

#briqpay-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: auto;
}

#briqpay-wrapper #briqpay-order-review {
    width: 100%;
}

.mm-checkout-review {
    padding: 24px;
    color: #232323;
    font-size: 16px;
    margin-bottom: 50px;
    background-color: #fff;
}

.mm-checkout-review h2 {
    color: #232323;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin: 0;
    font-weight: bold;
}

.mm-checkout-review .order-items {
    margin-bottom: 20px;
}

.mm-checkout-review .order-items .items-header {
    display: grid;
    grid-template-columns: minmax(auto, 55%) auto auto auto auto;
    grid-template-columns: 52% 12% 12% 12% 12%;
    border-bottom: 1px solid #D1D1D1;
    font-weight: 400;
}

.mm-checkout-review .order-items .items-header > div {
    padding: 12px 0;
    display: flex;
    justify-content: flex-end;
}

.mm-checkout-review .order-items .item {
    display: grid;
    grid-template-columns: minmax(auto, 55%) auto auto auto auto;
    grid-template-columns: 52% 12% 12% 12% 12%;
}

.mm-checkout-review .order-items .items-header .quantity-header {
    padding-right: 30px;
}

.mm-checkout-review .order-items .item {
    border-bottom: 1px solid #D1D1D1;
}

.mm-checkout-review .order-items .item > div {
    padding: 12px 0;
    display: flex;
	align-items: center;
}

.mm-checkout-review .order-items .item > div:not(.info) {
    justify-content: flex-end;
}

.mm-checkout-review .order-items .info > a {
    padding: 8px;
    border: 1px solid rgb(209, 209, 209);
    display: flex;
}

.mm-checkout-review .order-items .info > div {
    padding: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mm-checkout-review .order-items .info > div a {
    font-size: 1rem;
    font-weight: bold;
    color: #232323;
}

.mm-checkout-review .order-items .info .sku {
    color: #969696;
}

.mm-checkout-review .order-items .info img {
    width: 80px;
    height: 64px;
    object-fit: contain;
}

.mm-checkout-review .order-items .quantity,
.mm-checkout-review .order-items .price,
.mm-checkout-review .order-items .delivery {
    display: flex;
    align-items: center;
}

.mm-checkout-review .order-items .quantity span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mm-checkout-review .order-items .quantity span a {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #232323;
    background: #fff;
    padding: 0;
    font-weight: 400;
}

.mm-checkout-review .order-items .quantity span a.disabled {
    border-color: #e4e4e4;
    color: #e4e4e4;
    cursor: not-allowed;
}

.mm-checkout-review .order-items .quantity span input {
    width: 48px;
    height: 34px;
    -moz-appearance: textfield;
    padding: 0;
    text-align: center;
}

.mm-checkout-review .order-items .quantity span input::-webkit-outer-spin-button,
.mm-checkout-review .order-items .quantity span input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mm-checkout-review .order-items .price {
    font-weight: bold;
}

.mm-checkout-review .order-items .delivery {
    font-weight: 400;
}

.mm-checkout-review .order-items .total {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.mm-checkout-review .order-items .total button {
    display: none !important
}

.mm-checkout-review .order-items .trash .remove {
    padding: 0;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    outline: none;
}

.mm-checkout-review .order-items .trash .remove svg {
    width: 100%;
    height: 100%;
}

.mm-checkout-review .order-items .trash .remove svg * {
    stroke: #232323;
}


.mm-checkout-review .order-footer {
    display: flex;
    margin-bottom: 24px;
}

@media ( max-width: 600px ) {

    .mm-checkout-review .order-footer {
        flex-direction: column-reverse;
    }

    .mm-checkout-review .order-footer > div:first-child > div:first-child {
        margin-bottom: 20px;
    }

}

.mm-checkout-review .order-footer > div {
    flex: 0 0 50%;
}

.mm-checkout-review .order-footer .details {
    padding: 16px 16px 0 16px;
    background-color: #F3F3F3;
}

.mm-checkout-review .order-footer .details table td:last-child {
    text-align: end;
}

.mm-checkout-review .order-footer .details table td {
    background-color: transparent;
    border: none;
    font-weight: 400;
    font-size: 16px;
    padding: 2px !important;
}

.mm-checkout-review .order-footer .details table tr.spacer td {
    padding: 8px 0 !important;
}

.mm-checkout-review .order-footer .details table tr.totals td {
    font-size: 25px;
    font-weight: bold;
    color: #242424;
}

.mm-checkout-review .order-footer .details table tr.totals td:last-child {
    font-size: 20px;
}

.mm-checkout-review .order-footer .details table tr.bottom td {
    text-align: center;
    font-weight: bold;
    padding-top: 15px !important;
}

.mm-checkout-review .order-footer > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 40px 0 0;
}

.mm-checkout-review .order-footer .coupon-toggle {
    color: #232323;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mm-checkout-review .order-footer .coupon-toggle svg {
    width: 24px;
    height: 24px;
    fill: black;
    border-radius: 50%;
    border: 2px solid #000;
}

.mm-checkout-review .order-footer .coupon-container {
    display: none;
    padding: 30px;
    gap: 10px;
}

.mm-checkout-review .order-footer .coupon-container input {
    border: none;
    border-bottom: 1px solid #949494;
    padding: 8px 16px;
    outline: none;
}

.mm-checkout-review .order-footer .coupon-container a {
    background-color: #ffd500;
    color: #232323;
    padding: 8px 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.mm-checkout-review .order-footer .coupon-message {
    padding: 16px 26px 16px 16px;
    font-weight: 400;
    border-radius: 5px;
    position: relative;
}

.mm-checkout-review .order-footer .coupon-message.invalid {
    border: 2px solid #F0281B;
    background-color: #FFEEEE;
}

.mm-checkout-review .order-footer .coupon-message.exists {
    border: 2px solid #1b65f0;
    background-color: #1b65f033;
}

.mm-checkout-review .order-footer .coupon-message a {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 24px;
    height: 24px;
}

.mm-checkout-review .order-footer .coupon-message a svg {
    width: 100%;
    height: 100%;
}

.mm-checkout-review .order-footer .coupon-message a svg path:last-child {
    fill: #232323;
}

.mm-checkout-review .order-footer img {
    max-width: 300px;
}

#briqpay-wrapper #briqpay-iframe-wrapper {
    width: 100%;
}

#briqpay-extra-checkout-fields {
    display: none;
}

.mm-checkout-review .mobile-label {
    display: none;
}

.e-checkout__order_review {
    display: none !important;
}


@media ( max-width: 600px ) {

    .mm-checkout-review .mobile-label {
        display: inline-block;
        font-weight: 400;
        margin-right: 5px;
    }

    .mm-checkout-review .order-items .items-header {
        display: none;
    }

    .mm-checkout-review .order-items .item {
        display: flex;
        flex-wrap: wrap;
    }

    .mm-checkout-review .order-items .item .info {
        flex: 0 0 100%;
    }

    .mm-checkout-review .order-items .item .quantity {
        flex: 0 0 50%;
    }

    .mm-checkout-review .order-items .item .price {
        flex: 0 0 50%;
    }

    .mm-checkout-review .order-items .item .delivery {
        flex: 0 0 50%;
        display: none;
    }

    .mm-checkout-review .order-items .item .total {
        flex: 0 0 100%;
        flex-direction: row;
    }

    .mm-checkout-review .order-items .item div:not(.info) {
        justify-content: flex-start !important;
    }

}


.woocommerce-shipping-fields .shipping_address label,
.woocommerce-billing-fields label {
    display: none !important;
}

.woocommerce-shipping-fields .shipping_address input,
.woocommerce-billing-fields input {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
}

.e-coupon-box,
.woocommerce-additional-fields {
    display: none !important;
}

body.woocommerce-checkout .mm-tax-toggle {
    justify-content: center;
    display: flex;
    gap: 10px;
    font-size: 1.4rem;
    margin: 40px 0;
}

body.woocommerce.woocommerce-checkout .woocommerce-billing-fields h3 {
    color: #232323;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.4px;
    margin: 0;
    font-weight: bold;
}