:root {
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-hover: #192a56;
    --bs-primary: #565c64;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

.container {
    max-width: 1437px;
    padding: 0 15px;
    margin-right: auto;
    margin-left: auto;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
}



/* --- 14/06/2024 css start --- */

.pro_row {
    display: flex;
}

.pro_row>div {
    max-width: calc(100% / 2);
    flex: 0 0 calc(100% / 2);
}

.product_title {
    font-size: 48px;
    margin-bottom: 30px;
}

.pro_single_page--wrap {
    color: #1C323A;
}

.pro__left--con svg path {
    fill: #1C323A;
}

p.body_text {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.pro__left_inn--con {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pro__left_inn--con>div a {
    background: #FAB600;
    color: #fff;
    display: inline-block;
    padding: 4px 9px;
    margin-top: 15px;
}


/* === 17-06-2024 css start === */

.pr__acc--con {
    width: 100%;

    margin: 2rem auto;
}

.accordion-item-body-content {
    padding: 1rem 0 1.5rem;
    background: #fff;
    line-height: 1.4;
    color: #111;
}

.pro_acc--row,
.pro__data--con {
    display: flex;
    justify-content: space-between;
}

.pro_acc--row {
    border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
}



.pro_acc--row>div,
.pro__data--con>div {
    max-width: calc(100%/4 - 10px);
    flex: 0 0 calc(100%/4 - 10px);
}


/* increse and decres */

.inc_dec--arr {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}

.quantity-block {
    display: flex;
}

button.quantity-arrow-minus:before,
button.quantity-arrow-plus:before,
.select-dropdown:before {
    content: "";
    width: 0;
    left: -23px;
    top: 5px;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    border-top: 8px solid #354B54;
    transition: 0.2s ease-in-out;
}

button.quantity-arrow-minus,
button.quantity-arrow-plus {
    position: relative;
    width: auto;
    height: 18px;
    border: 0;
    background: transparent;
}

button.quantity-arrow-plus:before {
    transform: rotate(-180deg);
}

.select-dropdown select,
input.quantity-num,
input.marketing-num,
.quantity-num {
    border: 0;
    background: #efefef;
    padding: 13px 10px;
    width: 100%;
    appearance: none;
}

.select-dropdown select:focus,
input.quantity-num:focus,
input.marketing-num:focus {
    outline: 0;
    box-shadow: none;
}

.pro_acc--col label {
    margin-bottom: 8px;
    display: block;
}

.select-dropdown {
    position: relative;
}

.select-dropdown:before {
    left: auto;
    right: 8px;
    z-index: 9;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;

}

.pro__data--con {
    padding-top: 20px;
}

.pro_data--col h2 {
    margin-top: 12px;
}

.pro_data--col>*:not(h2) {
    margin-bottom: 4px;
    display: block;
}

table.pro__form--data {
    width: 100%;
    border-collapse: collapse;
}

table.pro__form--data * {
    text-align: justify;
}

table.pro__form--data tr td,
table.pro__form--data tr th {
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}

.po_product-img,
.po_product-con {
    width: 50%;
    padding: 20px;
}

.po_prodect-data {
    display: flex;
    flex-wrap: wrap;
}

.po_brand img {
    /* height: 100px; */
    max-width: 160px;
    max-height: 110px;
}

.quantity-num {
    border: 0 !important;
    background: #efefef !important;
    padding: 13px 10px !important;
    width: 100% !important;
    appearance: none !important;
}

/* 19/06/2024 css start */

.po_product-con {
    padding-left: 0;
}

.po_short-description {
    margin: 30px 0;
}

.po_rating>div {
    margin-bottom: 6px;
}

.po_cus--title {
    font-size: 20px;
    color: #000000;
    display: block;
    padding-bottom: 5px;
}

.po_rating>div:after {
    margin: 0 !important;
    border: 0 !important;
}

.variations_form td.value {
    padding-inline: 0;
}

.variations_form td ul.filter-item-list a {
    background: #ebeef0;
    padding-block: 7px;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 0;
}

.filter-item-list .active .filter-color:before,
.filter-item-list .chosen .filter-color:before {
    border-radius: 0 !important;
}

.variations_form th.label {
    padding: 0;
}

form.variations_form {
    padding-top: 20px;
}

table.variations tr:nth-child(2) th {
    padding-top: 15px;
}

ul.variable-items-wrapper li.variable-item {
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
}

.pr__acc--con .accordion-item {
    border: 0;
}


.single-product .woocommerce-product-rating .star-rating:before {
    color: #d3d3d3 !important;
}

.po_product_size>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.po_product_size>div>div {
    display: flex;
}

.po_product_size .custom-size-field label {
    background: #c5c7c9;
    border-radius: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    justify-content: center;
    padding: 10px 0;
    width: 45px;
    height: 45px;
}

.po_product_size .custom-size-field input {
    border: 0;
    background: #ebeef0;
    width: 93px;
}

.po_product_size {
    margin: 30px 0 40px;
}

button#get_a_quote {
    border: 0;
    padding: 12px 40px;
    font-size: 18px;
    margin: 10px 0;
}

div#overlay-container {
    width: 35%;
    max-width: 500px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    overflow: visible;
    z-index: 1400;
    transition: all 0.4s ease;
}

#overlay-container .overlay-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    left: 0;
    box-shadow: -2px 0px 4px 0px rgba(0, 0, 0, 0.3);
    bottom: 0;
    background: #ffffff;
    transition: all 0.4s ease;
    padding-inline: 15px;
}

#overlay-container.open .overlay-inner {
    left: -100%;
}

#overlay-container .overlay-header h3 font {
    color: #111;
}


#overlay-container .overlay-body {
    position: relative;
    margin-top: 55px;
    height: calc(100vh - 55px);
    overflow-y: scroll;
    z-index: 1;
}

.overlay-header {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close_popup {
    line-height: 1;
}

.input-box {
    position: relative;
    margin: 10px 0;
}

.input-box .input-label {
    position: absolute;
    color: #80868b;
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left: 8px;
    display: inline-block;
    top: 13px;
    padding: 0 8px;
    transition: 250ms;
    user-select: none;
    width: auto;
    pointer-events: none;
}

.input-box .input-1 {
    box-sizing: border-box;
    height: 50px;
    width: 100%;
    border-radius: 4px;
    color: #202124;
    border: 1px solid #dadce0;
    padding: 13px 15px;
    transition: 250ms;
}

.input-box .input-1:focus {
    outline: none;
    border: 2px solid #1a73e8;
    transition: 250ms;
}

.input-box.focus .input-label,
.input-box.active .input-label {
    color: #7a7a7a;
    top: -8px;
    background: #fff;
    font-size: 11px;
    transition: 250ms;
}


.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist {
    width: auto;
    display: inline-block;
    text-indent: inherit;
    position: relative;
    padding: 12px 20px 12px 28px;
    background: #fab600;
    color: #fff;
    line-height: 1;
    height: auto;
}

.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist span {
    width: auto;
    font-size: 18px;
    display: inline-block;
    color: #fff;
    text-indent: inherit;
    height: auto;
    line-height: normal;
}

.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist:before {
    display: none
}

.po_add_to_cart .single_variation_wrap

/* .po_add-to-cart table.variations,
.po_add-to-cart .quantity.buttons_added  */
    {
    display: none !important;
}


/* 21-06-2024 */

button.course-accordion {
    background-color: #95a0a4;
    color: #fff;
    width: 100%;
    border: 0;
    text-align: left;
    outline: none;
    transition: 0.4s;
    padding: 0.5rem 3rem 0.5rem 1rem;
    line-height: 1.4;
    font-size: 24px;
    /* font-weight: bold; */
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer !important;
    gap: 10px;
}

button.course-accordion span {
    display: flex;
}

/*When the button is active or mouse hovers*/
button.course-accordion.active,
button.course-accordion:hover {
    background-color: #fab703;
}

/*button not active*/
button.course-accordion:after {
    content: '\002B';
    color: #fff;
    margin-left: 5px;
    position: absolute;
    right: 24px;
    top: 5px;
}

/* minus button */
button.course-accordion.active:after {
    content: "\2212";


}

div.course-panel {
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    font-size: 15px;
    line-height: 1.6em;
    letter-spacing: .4px;
    font-weight: 400;
    font-style: normal;
    color: rgba(0, 0, 0, .88);
}

.pro__acc--wrap {
    margin: 15px 0;
}

/* -------  25-06-2024 --------*/

.size-guide-btn,
.color-guide-btn {
    padding: 7px 12px;
    background-color: black;
    color: white;
}

.po_more_details {
    background-color: #fab600;
    padding: 2px 5px;
    color: #ffffff;
}

.size-guide-btn img,
.color-guide-btn img {
    height: 25px;
    width: 25px;
}

/*25-06-2024*/

.po_minimum_quantity {
    font-size: 18px;
}

.po_add_to_cart td,
.po_add_to_cart th {
    display: block;
}

.po_add_to_cart .variations .label {
    display: block !important;
}

.po_add-to-cart {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.po_add-to-cart.forpackningar  {
    margin-top: 20px;
}

.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist:before {
    display: none;
}

.po_add-to-cart #po_cus_add-to-cart {
    flex: 0 0 calc(50% - 10px);
    background: #77b047;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
}

.po_add-to-cart img {
    height: 32px;
    margin-right: 15px !important;
}

.po_add-to-cart #get_a_quote,
.po_add-to-cart .wishlist-fragment {
    flex: 0 0 calc(25% - 15px);
}

.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist {
    width: 100%;
    border-radius: 10px;
    border: 0;
}

.po_add-to-cart #get_a_quote {
    background: #72b3c6;
    border-radius: 10px;
    padding: 12px 28px !important;
    font-size: 28px !important;
    color: #ffffff;
    line-height: 1 !important;
    margin: 0 !important;
}

.po_add-to-cart a.add_to_wishlist.single_add_to_wishlist span {
    font-size: 28px;
    line-height: 1;
}

@media (min-width: 991px) {
    .po_add_to_cart .filter-item-list {
        width: 500px;
    }
}


/* === 26/06/2024 css start === */

.po_product-con * {
    color: #1c323a;
}

.po_more_details * {
    color: #fff;
    font-size: 16px;
    padding: 5px 1px;
}

b.po_cus--title {
    font-size: 14px;
    padding-bottom: 0;
}

.po_product_price {
    padding-top: 20px;
}

.po_short-description .description p {
    line-height: 1.4;
}

.single-product .woocommerce-product-rating .star-rating {
    font-size: 20px !important;
}

.min__qua {
    font-size: 24px;
}

.variations_form td ul.filter-item-list a {
    margin-block: 0;
}

.po_add_to_cart .filter-item-list {
    row-gap: 10px;
}

a.size-guide-btn {
    background: #5ea5c3;
}

a.size-guide-btn,
a.color-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
    border-radius: 6px;
    padding-block: 8px;
    margin-top: 30px;
}

a.color-guide-btn {
    background: #fab703;
}

a.size-guide-btn img,
a.color-guide-btn img {
    width: 18px;
}

.po_guide-btn {
    display: flex;
    gap: 20px;
}

.fbc.fbc-page {
    background: #ebeded;
    position: relative;
}

@media(min-width:575px) {

    .fbc.fbc-page:before,
    .fbc.fbc-page:after {
        content: '';
        background: #ebeded;
        width: 100%;
        height: 49px;
        position: absolute;
        top: 0;
    }

    .fbc.fbc-page:before {
        left: -100%;
    }

    .fbc.fbc-page:after {
        right: -100%;
    }

}

ol.fbc-items * {
    color: #1c323a;
    font-weight: 600;
    font-family: 'Barlowcondensed';
}

a.po_more_details {
    color: #fff;
    padding-inline: 7px;
}

a.filter-item:hover * {
    color: #fff;
}

.pro_data--col h4 {
    font-weight: 600;
    margin-top: 18px;
}

.po_product_size b {
    margin-bottom: 6px;
    display: block;
}

a.po_more_details:hover,
a.size-guide-btn:hover,
a.color-guide-btn:hover {
    color: #fff;
    opacity: 0.8;
}

.img-thumbnail .inner img {
    background: #fff;
}

.img-thumbnail .inner {
    background: #f5f5f5;
    padding: 12px 12px;
    border: 1px solid #d5d5d5 !important;
}

@media(max-width:1280px) {

    .po_add-to-cart>div,
    .po_add-to-cart>button {
        flex: auto !important;
    }
}

body.single-product {
    overflow-x: hidden;
}

@media(max-width:767px) {
    .pro_acc--row>div {
        max-width: calc(100% / 2 - 10px);
        flex: 0 0 calc(100% / 2 - 10px);
    }

    .pro_acc--row {
        flex-wrap: wrap;
        row-gap: 13px;
    }

    .po_prodect-data {
        flex-direction: column-reverse;
    }

    .po_product-img,
    .po_product-con {
        width: 100%;
    }
}

.po_add-to-cart>div:hover,
.po_add-to-cart>button:hover {
    opacity: 0.8;
}

.accordion-item-body-content>p>b {
    background: #fff;
    display: block;
    padding-bottom: 10px;
}

#custom-contact-form input,
#custom-contact-form select#color,
#custom-contact-form label {
    width: 100%;
}

#custom-contact-form div {
    margin: 10px;
}

form#custom-contact-form {
    height: calc(100vh - 110px);
    overflow: hidden;
    overflow-y: auto;
    padding-right: 10px;
}

.overlay-inner {
    padding-right: 0 !important;
}

.close_popup {
    position: relative;
    right: 15px;
}

.close_popup a {
    font-size: 22px;
    font-weight: 700;
}

.po_add_to_cart .filter-item-list[data-name="attribute_pa_color"] li {
    display: none;
}

.po_add_to_cart .filter-item-list[data-name="attribute_pa_color"] li:nth-child(-n+9) {
    display: list-item;
}

.show_less_color,
.show_more_color {
    background-color: #fab600;
    color: white;
    /* padding: 3px 12px; */
    border: none;
    /* font-size: 15px; */
    /* border-radius: 5px; */
}

.quickview-wrap .filter-item-list li {
    margin-bottom: 10px;
}

.send_success {
    color: green;
    border: 1px solid green;
    padding: 10px;
}

.send_success p {
    margin: 0;
}

body.popup-open {
    position: fixed;
    top: 0;
    transition: .3s ease;
    width: 100%;
}

body.popup-open:before {
    content: '';
    background: #11111175;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 99;
    transition: .3s ease;
}

.get_a_quote_submit {
    background-color: #77b047 !important;
    color: black !important;
    border: none !important;
    border-radius: 10px;
    color: white !important;
    padding: 10px 25px !important;
}

button.get_a_quote_submit:hover {
    background-color: #92C06C !important;
}

.size-guide-btn:active,
.size-guide-btn:focus,
.color-guide-btn:active,
.color-guide-btn:focus {
    color: white !important;
}

.po_add_to_cart .show_more_color,
.po_add_to_cart .show_less_color {
    height: 45px;
    width: 45px;
    font-size: 36px;
    line-height: 1;
    border-radius: 100px;
}

.po_add_to_cart .show_more_color span,
.po_add_to_cart .show_less_color span {
    font-size: 30px;
    color: white;
}

.po_add_to_cart .show_more_color span.dashicons.dashicons-plus:before,
.po_add_to_cart .show_less_color span.dashicons.dashicons-minus:before {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    translate: (-50%);
}

.po_add_to_cart .show_more_color span.dashicons.dashicons-plus,
.po_add_to_cart .show_less_color span.dashicons.dashicons-minus {
    position: relative;
}

.po_add_to_cart .show_less_color span.dashicons.dashicons-minus:before {
    top: 90%;
}

.marking_priceinfo[disply-name="2 - färgstryck"],
.marking_priceinfo[disply-name="3 - färgstryck"],
.marking_priceinfo[disply-name="4 - färgstryck"] {
    display: none !important;
}

.show_more_color .hover-message,
.show_less_color .hover-message{
    display: none;
    position: absolute;    
    z-index: 1;
}

.show_more_color:hover .hover-message,
.show_less_color:hover .hover-message {
    display: block;
    color: black;
    font-size: 13px;
    margin-top: 6px;
}

#commentform .comment-form-rating label{
    margin-bottom: 10px;
}

#commentform .comment-form-rating{
    margin-bottom: 0px;
}

.single-product .woocommerce-product-rating .star-rating span:before {
    color: #fab600 !important;
}

.po_rating .review-link{
    display: none !important;
}

.po_brand img {
    padding: 8px;
}

#quantity-alert,
#min_max_qua,
#color_alert,
#min_qua_color{
    display: none;
}

div#quantity-alert,
div#min_max_qua,
div#color_alert,
div#min_qua_color {
    position: fixed;
    left: 0;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 999;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 2px 2px 45px #45454599;
}

div#quantity-alert div ,
div#min_max_qua div ,
div#color_alert div ,
div#min_qua_color div{
    padding-top: 8px;
    line-height: 1.3;
    color: #111;
}

div#quantity-alert button,
div#min_max_qua button ,
div#color_alert button ,
div#min_qua_color button{
    background: transparent;
    padding: 2px 7px;
    position: absolute;
    top: 7px;
    right: 7px;
    border-radius: 4px;
}

#min_max_qua .text-center,
#color_alert .text-center,
#min_qua_color .text-center{
    text-align: center;
}

.file-text{    
    line-height: 1.2 !important;
    display: inline-block;
    margin-top: 14px;
}

.po__review_accordion .commentlist .children li{
    margin-top: 10px;
}

.comment-form-rating .stars span a:before,
.star-rating span:before,
.comment-form-rating .stars span a:hover:before {
    color: #fab703 !important;
}

button.get_a_quote_submit {
    margin-bottom: 12px;
}


/* remove review avtar */
#reviews .commentlist li {
    padding-left: 0px !important;
}

#reviews .commentlist li>.comment_container>.img-thumbnail {
    display: none;
}
/* end */

/* 07-08-2024 */

/* .po_product-img .product-images .zoom {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: end;
} */

.po_product_content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.po_product_content div{
    width: 50%;
}

.po_product_content ul{
    list-style: disc;
}

.po_add_to_cart form:not(.variations_form) {
    display: none !important;
}

body.single-product .product-images .zoom {
  display: none;
}
a.po_more_details {
    white-space: nowrap;
}

/* =============================================================================
   PATCH 2026-01-27 (PromotionOnline) v3
   Requirements:
   - SMAK: dropdown (not chips)
   - FÄRG: chips remain, show color name on hover
   - STORLEK: chips with text (already handled by Porto)
   - Hide color controls when no colors exist
   - Make "MER DETALJER" button text slightly smaller/tighter
============================================================================= */

/* Make the "MER DETALJER" button text slightly smaller/tighter (keeps existing styling) */
a.po_more_details,
.po_more_details {
  font-size: 13px;
  line-height: 1.1;
}
.po_more_details * {
  font-size: 13px !important;
  padding: 2px 1px;
  line-height: 1.1;
}

/* SMAK dropdown styling (only affects our ensured select) */
select.po-smak-select {
  width: 100%;
  max-width: 260px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 6px;
  background: #fff;
}

/* Hide original color list if JS marks no-colors */
body.po-no-colors .po_add_to_cart [data-name="attribute_pa_color"],
body.po-no-colors .po_add_to_cart [data-name="attribute_pa_colour"] {
  display: none !important;
}
body.po-no-colors .show_more_color,
body.po-no-colors .show_less_color {
  display: none !important;
}

/* Color hover tooltip: nicer tooltip using data-po-tooltip */
.filter-item-list[data-name="attribute_pa_color"] li[data-po-tooltip],
.filter-item-list[data-name="attribute_pa_colour"] li[data-po-tooltip] {
  position: relative;
}

.filter-item-list[data-name="attribute_pa_color"] li[data-po-tooltip]:hover::after,
.filter-item-list[data-name="attribute_pa_colour"] li[data-po-tooltip]:hover::after {
  content: attr(data-po-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 115%;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 99;
}
