button#pcfw_popup_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    width: auto;
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
    border-radius: 4px;
    cursor: pointer;
}

button#pcfw_popup_button span {
    padding: 2px 0px;
}
.pcfw_header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 5px;
}
.pcfw_contact_information {
    position: absolute;
    right: 100px;
    top: 0px;
    line-height: 30px;
    height: 30px;
}
.pcfw_contact_information .help {
    display: none !important;
}
.pcfw_header h2 {
    margin-bottom: 0px;
    font-weight: 500;
}
.help.hidden img {
    transform: rotate(1deg);
    width: 26px;
    position: absolute;
    margin-left: -37px;
    top: 5px;
}
.help.hidden {
    display: block!important;
}
.pcfw_popup_body {
    position: relative;
    display: flex;
}
div#pcfw_left_wrap {
    float: left;
    width: 50%;
}
ul#popup_slider {
    width: 100%;
    margin: 0px;
}
div#pcfw_right_wrap{
    float: right;
    width: 48%;
    margin-left: 2%;
    position: relative;
}
.pcfw_right_wrap .pcfw_category {
    margin-bottom: 15px;
}

/* Select2 Styles */
.select2-container {
    width: 50% !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 32px;
    padding: 2px 8px;
    font-size: 13px;
    max-width: 50%;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
    right: 8px;
}

.select2-dropdown {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f2f2f2;
    color: #333;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e6e6e6;
}

.select2-results__option {
    padding: 6px 12px;
    font-size: 13px;
}

.category-option {
    display: flex;
    align-items: center;
}

.color-swatch {
    border-radius: 3px;
    width: 16px !important;
    height: 16px !important;
}

.category-name {
    font-size: 13px;
}
.pcfw_category .pcfw_swatch {
    position: relative;
    overflow: hidden;
    width: 80px;
    padding: 5px 0;
    cursor: pointer;
}
.pcfw_category .pcfw_swatch .pcfw_swatch_bg {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    margin: 0px auto;
    text-align: center;
}
.pcfw_category .pcfw_swatch:hover {
    background: #eaeaea;
}
.mySlides img {
    border-radius: 0px;
}
.pcfw_category .pcfw_swatch .pcfw_swatch_name {
    font-size: 12px;
    text-align: center;
}
#pcfw_right_wrap .pcfw_category{
    display: inline-block;
    width: 48%;
    margin-right: 2%;
    vertical-align: top;
}
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    padding-top: 5px;
}
.mySlides {
    display: none;
}
.pcfw_prev, .pcfw_next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.pcfw_next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.pcfw_prev:hover, .pcfw_next:hover {
    background-color: rgba(0,0,0,0.8);
}
div#popup-product-content {
    background: #f6f6f6;
}
.pcfw_search {
    display: inline-block;
    width: 48%;
    vertical-align: top;
}
input#pcfw_search_input {
    width: 50%;
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 15px;
    height: 32px;
    font-size: 13px;
}
input#pcfw_search_input:focus,
a.pcfw_select_color_button:focus,
a.button.calcualte_qty:focus  {
    outline: none;
}
.pcfw_swatches_col_wrap .pcfw_color_container {
    overflow-x: hidden;
    margin: 0 -3px;
}
.pcfw_swatches_col_wrap .pcfw_farve {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    cursor: pointer;
    margin: 4px 3px;
    line-height: normal;
    overflow: visible;
    width: calc(16.666% - 6px);
    position: relative;
    float: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
}
.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #6a6a6a52;
    transition: all .3s ease;
    flex-shrink: 0;
}
.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover {
    padding: 6px 4px 0 4px;
    border-top: none;
    text-align: center;
}
.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover > div {
    line-height: 16px;
}
.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_navn {
    font-size: 11px;
    font-weight: 800;
}
.pcfw_farve_kort {
    font-size: 11px;
    padding-top: 2px;
}
.pcfw_swatches_col_wrap .pcfw_farve:hover .pcfw_farve_bg {
    box-shadow: 0 0 10px rgb(95 95 95 / 97%);
    border-color: #333;
}
.pcfw_footer {
    border-top: 1px solid #f2f2f2;
    position: relative;
    width: 100%;
    bottom: 0px;
    padding: 14px 0px 24px 0;
    z-index: 99;
    background: #f6f6f6;
    text-align: center;
}
.pcfw_select_colour {
    position: absolute;
    left: 0;
    right: 0;
}
a.pcfw_select_color_button {
    background: #797979;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 15px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: var(--wd-title-font, "Georgia", serif);
    font-weight: 600;
    box-shadow: 3px 6px 10px rgb(0 0 0 / 35%);
}
.pcfw_swatches_col_wrap .pcfw_farve.active .pcfw_farve_bg {
    box-shadow: 0 0 10px rgb(95 95 95 / 97%);
    border-color: #333;
}
.mySlides.fade {
    opacity: 1;
}
@media(max-width:1600px) {
    .pcfw_swatches_col_wrap .pcfw_farve {width:calc(16.666% - 6px)}
}
@media(max-width:1200px) {
    .pcfw_swatches_col_wrap .pcfw_farve {width:calc(16.666% - 6px)}
}
@media (max-width: 1100px) {
    #pcfw_right_wrap .pcfw_category {
        flex-wrap: wrap;
    }
}
@media(max-width:700px) {
    .pcfw_swatches_col_wrap .pcfw_farve {width:calc(20% - 6px)}
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_bg {width: 65px; height: 65px;}
    .pcfw_popup_body #pcfw_left_wrap {
        display: none;
        width: 100%;
        float: none;
        position: relative;
        overflow: hidden;
    }
    .pcfw_popup_body #pcfw_right_wrap {
        width: 100%;
        float: none;
        position: relative;
        margin: 10px 0px 0px;
    }
    .pcfw_contact_information {
        right: 25px;
    }
    .pcfw_header h2 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
        display: none; /* Hide "Select a colour" text on mobile */
    }
    .pcfw_contact_information {
        top: -6px;
    }
    .help.hidden {
        font-size: 13px;
    }
    .help.hidden img {
        width: 18px;
        margin-left: -20px;
        top: 8px;
    }
    .pcfw_product_image img {
        width: 60px;
    }
    .product_pcfw_calculate {
        flex-direction: column;
    }
    .pcfw_popup_body_step2 h3 {
        text-align: center;
    }
    .product_pcfw_calculate div {
        margin-bottom: 14px;
        margin-left: 0px !important;
        margin-top: 0px;
        margin-right: 0px !important;
    }
    .pcfw_result_estimate {
        width: 70%;
    }
    .product-image img {
        max-width: 70px;
    }
    .product-name {
        text-align: center !important;
        font-size: 15px;
    }
    .pcfwaon_number_paint_need span.pcfwaon_minus,
    .pcfwaon_number_paint_need span.pcfwaon_plus {
        padding: 0px 2px 2px 2px !important;
    }
    .pcfw_product .product-price {
        font-size: 16px !important;
    }
    .pcfw_popup_body_step3 {
        width:70% !important;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_navn {
        font-size: 9px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_kort {
        font-size: 8px;
        padding-top: 1px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover {
        padding: 3px 0 3px 5px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover > div {
        line-height: 12px;
    }
}
@media(max-width:500px) {
    .pcfw_swatches_col_wrap .pcfw_farve {width:calc(25% - 6px)}
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_bg {width: 60px; height: 60px;}
    .pcfw_popup_body_step3 {
        width:80% !important;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_navn {
        font-size: 8px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_kort {
        font-size: 7px;
        padding-top: 1px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover {
        padding: 2px 0 2px 5px;
    }
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover > div {
        line-height: 10px;
    }
}
@media(max-width:400px) {
    .pcfw_swatches_col_wrap .pcfw_farve {width:calc(33.333% - 6px)}
    .pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_bg {width: 50px; height: 50px;}
}
.pcfw_popup_body {
    height: calc(100vh - 200px);
    overflow: hidden;
}
.pcfw_page {
    display: none;
}
#pcfw_step1 {
    display: block;
}
.pcfw_back span {
    background: #797979;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 15px;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 3px 6px 10px rgb(0 0 0 / 45%);
}
.pcfw_popup_body_step2 {
    position: relative;
    width: 50%;
    margin: 0px auto;
}
.pcfw_color_selected_step2 {
    position: relative;
    overflow: hidden;
    border: 1px solid #cccccc;
    margin-top: 5px;
}
.pcfw_select_color_swatch {
    width: 50px;
    height: 50px;
    float: left;
    border-radius: 0px;
    margin: 5px;
}
.pcfw_selected_color_name {
    line-height: 50px;
    font-size: 16px;
    float: left;
    margin: 5px 0 5px 10px;
    color: #8a8a8a;
}
.pcfw_selected_color_change {
    float: right;
    line-height: 50px;
    margin: 5px 10px 0 0;
    cursor: pointer;
    transition: all .3s ease;
}
.pcfw_popup_body_step2 h3 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 18px;
    margin-top: 18px;
}
.pcfw_selected_color_change span.dashicons {
    vertical-align: middle;
}
.pcfw_select_product_step2 {
    margin-top: 10px;
}
.product_pcfw_calculate {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product_pcfw_calculate .pcfw_product_image {
    width: 50px;
    float: left;
    margin-right: 5px;
}
.pcfw_select_product_step2 .pcfw_product_title {
    margin-left: 10px;
    font-weight: 600;
}
.pcfw_product_quantity .kforw_number span {
    cursor:pointer; 
}
.pcfw_product_quantity .kforw_number span.minus,
.pcfw_product_quantity .kforw_number span.plus{
    width: 22px;
    height: 22px;
    background: #6c6c6c;
    border-radius: 50px;
    padding: 2px 0px 0px 0px;
    color: white;
    border: 1px solid #ddd;
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
}
.pcfw_product_quantity .kforw_number span.minus:hover,
.pcfw_product_quantity .kforw_number span.plus:hover {
    background: #6c6c6c85;
}
.pcfw_product_quantity .kforw_number span.minus i,
.pcfw_product_quantity .kforw_number span.plus i {
    font-size: 17px;
}
.kforw_number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kforw_number input.kforw_line_quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-appearance: textfield;
    margin: 0 5px;
    font-size: 16px;
    padding: 0px;
}
.pcfw_product_total_line {
    font-weight: bold;
    font-size: 22px;
}
.pcfw_liter_total .pcfw_liter_text,
.pcfw_pirce_total .pcfw_price_text {
    float: left;
    width: 55%;
}
.pcfw_liter_total,
.pcfw_pirce_total {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    font-weight: 800;
}
.pcfw_liter_total .pcfw_liter,
.pcfw_pirce_total .pcfw_price {
    float: right;
}
.disabled-link {
  pointer-events: none;
}
.active-link {
  background: #b0bf74 !important;
}
a.button.calcualte_qty span {
    vertical-align: middle;
}
a.button.calcualte_qty {
    background: #ccc;
    margin-top: 20px;
}
.calculate_pcfw_estiamted {
    text-align: center;
}
.pcfw_toogle_hidden{
   display:none;
}


.pcfw_number_paint_need span {
    cursor:pointer; 
}
.pcfw_number_paint_need span.pcfw_minus,
.pcfw_number_paint_need span.pcfw_plus{
    background: #404040;
    padding: 2px 10px 2px 10px;
    color: white;
    border: 1px solid #ddd;
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
    box-shadow: 6px 2px 10px rgb(95 95 95 / 97%);
}
.pcfw_number_paint_need span.pcfw_minus:hover,
.pcfw_number_paint_need span.pcfw_plus:hover {
    background: #6c6c6c85;
}
.pcfw_number_paint_need span.pcfw_minus i,
.pcfw_number_paint_need span.pcfw_plus i {
    font-size: 17px;
    vertical-align: middle;
}
.pcfw_number_paint_need {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pcfw_number_paint_need input.pcfw_line_quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-appearance: textfield;
    margin: 0 5px;
    font-size: 16px;
    padding: 0px;
}

.calculation_estimated.pcfw_toogle_hidden {
    text-align: center;
    background: #ccc;
    padding: 20px 20px;
    margin-top: 12px;
}
.calculation_estimated.pcfw_toogle_hidden h2 {
    font-size: 20px;
    font-weight: 500;
    padding: 10px 0px;
}

.pcfwt_number_paint_need span {
    cursor:pointer; 
}
.pcfwt_number_paint_need span.pcfwt_minus,
.pcfwt_number_paint_need span.pcfwt_plus{
    background: #404040;
    padding: 2px 10px 2px 10px;
    color: white;
    border: 1px solid #ddd;
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
    box-shadow: 6px 2px 10px rgb(95 95 95 / 97%);
}
.pcfwt_number_paint_need span.pcfwt_minus:hover,
.pcfwt_number_paint_need span.pcfwt_plus:hover {
    background: #6c6c6c85;
}
.pcfwt_number_paint_need span.pcfwt_minus i,
.pcfwt_number_paint_need span.pcfwt_plus i {
    font-size: 17px;
    vertical-align: middle;
}
.pcfwt_number_paint_need {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pcfwt_number_paint_need input.pcfwt_line_quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-appearance: textfield;
    margin: 0 5px;
    font-size: 16px;
    padding: 0px;
}


input.pcfw_line_quantity::-webkit-outer-spin-button,
input.pcfw_line_quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.pcfwt_line_quantity::-webkit-outer-spin-button,
input.pcfwt_line_quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input.pcfw_line_quantity:focus,
input.pcfwt_line_quantity:focus {
    outline: none;
}
.pcfw_result_estimate {
    background: #d7ece0;
    width: 40%;
    padding: 10px;
    margin: 20px auto;
}
.pcfw_result_estimate div {
    font-size: 35px;
    font-weight: bold;
    color: cadetblue;
}
.pcfw_popup_body_step3 {
    position: relative;
    width: 50%;
    margin: 0px auto;
}
.pcfw_popup_body_step3 h3 {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 18px;
    margin-top: 18px;
}
ul.pcfw_product_ul li {
    list-style-type: none;
}
.pcfw_product_accessories ul {
    margin: 0px;
}
ul.pcfw_product_ul li {
    list-style-type: none;
    margin: 5px;
    padding: 10px;
    text-align: center;
    border: 1px solid #b9b9b9;
}
.pcfw_product {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.pcfw_product .product-image {
    width: 10%;
    float: left;
}
.pcfw_product .product-name {
    width: 60%;
    font-weight: bold;
    text-align: left;
    float: left;
    margin-left: 70px;
}
.product-name p {
    margin-bottom: 5px;
}
.pcfw_product .product-price {
    float: right;
    width: 30%;
    text-align: right;
    color: #111;
    font-size: 22px;
    display: inline-block;
    font-weight: bold;
}

.pcfwaon_number_paint_need span {
    cursor:pointer; 
}
.pcfwaon_number_paint_need span.pcfwaon_minus,
.pcfwaon_number_paint_need span.pcfwaon_plus{
    background: #404040;
    padding: 2px 10px 2px 10px;
    color: white;
    border: 1px solid #ddd;
    display: inline-block !important;
    vertical-align: middle;
    text-align: center;
    box-shadow: 6px 2px 10px rgb(95 95 95 / 97%);
}
.pcfwaon_number_paint_need span.pcfwaon_minus:hover,
.pcfwaon_number_paint_need span.pcfwaon_plus:hover {
    background: #6c6c6c85;
}
.pcfwaon_number_paint_need span.pcfwaon_minus i,
.pcfwaon_number_paint_need span.pcfwaon_plus i {
    font-size: 17px;
    vertical-align: middle;
}
.pcfwaon_number_paint_need {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pcfwaon_number_paint_need input.pcfwaon_line_quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-appearance: textfield;
    margin: 0 5px;
    font-size: 16px;
    padding: 0px;
}
.display_selected_color div#kforw-product-page-swatch {
    padding-top: 30%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
    border: 1px solid #ccc;
}
.display_selected_color {
    border-bottom: 1px solid #ddd;
    margin: 10px 0 20px;
}
.display_selected_color .kforw-product-page-swatch a.button {
    margin: 0;
    position: absolute;
    bottom: 0px;
    right: 0px;
    border-radius: 0;
    font-weight: normal;
}
.display_selected_color {
    display: none;
}

/* Lazy Loading Styles */
.pcfw_swatches_col_wrap {
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.pcfw_load_more_container {
    clear: both;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    margin-top: 10px;
    border-radius: 5px;
}

.pcfw_load_more_btn {
    background: #797979;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 25px;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.pcfw_load_more_btn:hover {
    background: #5a5a5a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.pcfw_color_count {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

/* Loading indicator */
.pcfw_color_container > div[style*="Loading"] {
    background: #f9f9f9;
    border-radius: 5px;
    font-size: 16px;
    color: #666;
}

/* Smooth scroll for color container */
.pcfw_swatches_col_wrap::-webkit-scrollbar {
    width: 8px;
}

.pcfw_swatches_col_wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pcfw_swatches_col_wrap::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.pcfw_swatches_col_wrap::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Force full width for search input within its container and full width for select2 */
#pcfw_right_wrap input#pcfw_search_input,
.pcfw_search input#pcfw_search_input {
    width: 100% !important;
    max-width: 100% !important;
}

#pcfw_right_wrap .select2-container,
.pcfw_category .select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure select2 doesn't override our width */
.select2-container--default {
    width: 100% !important;
    max-width: 100% !important;
}

/* Clear floats after category and search */
#pcfw_right_wrap .pcfw_swatches_col_wrap {
    clear: both;
    margin-top: 10px;
}

/* ---- Improved colour picker layout (TilenStyle) ---- */
.pcfw_main_wrap_popup {
    background: #fff;
    border-radius: 16px;
    --pcfw-logo-url: url("/wp-content/uploads/2025/09/black-logo-tile-n-style-MAIN-1024x284-1.png");
}

button#pcfw_popup_button {
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-family: var(--wd-title-font, "Georgia", serif);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pcfw_popup_body {
    gap: 24px;
}

.pcfw_header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 56px;
    position: relative;
}

.pcfw_header h2 {
    font-family: var(--wd-title-font, "Georgia", serif);
    font-size: 20px;
    letter-spacing: 0.02em;
    font-weight: 500;
    text-transform: none;
}

.pcfw_header::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 42px;
    background: var(--pcfw-logo-url) center/contain no-repeat;
    pointer-events: none;
}

#pcfw_left_wrap {
    float: none;
    width: 58%;
    flex: 0 0 58%;
}

#pcfw_right_wrap {
    float: none;
    width: 42%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
}

.pcfw_controls {
    display: flex;
    gap: 12px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding: 8px 0 12px;
}

.pcfw_category {
    flex: 1 1 60%;
    margin-bottom: 0;
    display: block;
}

.pcfw_search {
    flex: 1 1 40%;
    width: auto;
    display: block;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 36px;
    padding: 4px 10px;
    border-radius: 10px;
    max-width: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

input#pcfw_search_input {
    width: 100%;
    height: 36px;
    border-radius: 10px;
}

.pcfw_swatches_col_wrap {
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pcfw_swatches_col_wrap .pcfw_color_container {
    height: 100%;
    overflow-y: auto;
    padding: 6px 6px 70px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 14px;
    flex: 1 1 auto;
}

.pcfw_load_more_container {
    position: sticky;
    bottom: 0;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: #fff;
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.05);
}

.pcfw_load_more_btn {
    font-family: var(--wd-title-font, "Georgia", serif);
    font-weight: 600;
    text-transform: none !important;
    letter-spacing: 0.02em;
}

.pcfw_color_count {
    font-family: var(--wd-title-font, "Georgia", serif);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.pcfw_load_more_container .pcfw_color_count {
    margin-top: 4px !important;
}

.pcfw_swatches_col_wrap .pcfw_farve {
    width: auto;
    margin: 0;
    float: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_bg {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.18);
}

.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_hover {
    padding: 6px 2px 0;
}

.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_navn {
    font-size: 12px;
    font-weight: 600;
}

.pcfw_swatches_col_wrap .pcfw_farve .pcfw_farve_kort {
    font-size: 10px;
    color: #777;
}

.pcfw_swatches_col_wrap .pcfw_farve.active .pcfw_farve_bg {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
    border-color: #111;
}

.pcfw_color_container::-webkit-scrollbar {
    width: 10px;
}

.pcfw_color_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pcfw_color_container::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 10px;
}

.fancybox__content > .f-button.is-close-btn {
    top: 10px;
    right: 10px;
    opacity: 1;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.fancybox__content > .f-button.is-close-btn svg {
    stroke: currentColor;
}

.fancybox__content > .f-button.is-close-btn svg,
.fancybox__content > .f-button.is-close-btn svg path {
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

.fancybox__content > .f-button.is-close-btn::after {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    pointer-events: none;
}

.slideshow-container {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f4f4;
}

.mySlides img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1100px) {
    .pcfw_popup_body {
        flex-direction: column;
    }

    #pcfw_left_wrap,
    #pcfw_right_wrap {
        width: 100%;
        flex: 1 1 100%;
    }

    .pcfw_controls {
        position: static;
    }
}
