:root {
    --folkhus-text-primary: #262121;
    --folkhus-theme-primary: #f7c787;
    --folkhus-theme-secondary: #3270cf;
    --folkhus-bg-primary: #faf5ed;
    --folkhus-bg-secondary: #ece5da;
}

body {
    font-size: 16px;
    font-family: 'Sora', Arial, sans-serif;
    background-color: var(--folkhus-bg-primary);
}

body.no-scroll {
    overflow: hidden;
}

h1,
.hero-title {
    font-size: 40px;
}

h1.sub-title {
    font-size: 14px;
    font-weight: 400;
}

h2,
.h2-title {
    font-size: 32px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 500;
}

h4 {
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    h1,
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    h1,
    .hero-title {
        font-size: 30px;
    }

    h2,
    .h2-title {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 16px;
    }
}

a,
button {
    transition: color .30s ease-in-out, background-color .30s ease-in-out, border-color .30s ease-in-out, box-shadow .30s ease-in-out;
}

a:visited,
a:focus {
    color: inherit;
}

figure {
    margin: 2em 0;
}

figure figcaption {
    font-size: 14px;
    text-align: center;
    font-style: italic;
    margin-top: 10px;
}

img[src$=".svg"] {
    width: 100%;
}

.limited-width {
    max-width: 960px;
    padding: 0 15px;
}

.wcc-consent-container [data-tag],
.wcc-modal-open [data-tag] {
    visibility: visible;
}

/* Buttons */
.btn-folkhus {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-size: 13px;
    font-weight: 400;
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .30s ease-in-out, background-color .30s ease-in-out, border-color .30s ease-in-out, box-shadow .30s ease-in-out;
    padding: 11px 15px;
    min-width: 200px;
    text-transform: uppercase;
}

.btn-folkhus-primary,
.btn-folkhus-primary:visited {
    color: var(--folkhus-text-primary);
    background-color: var(--folkhus-theme-primary);
}

.btn-folkhus-secondary,
.btn-folkhus-secondary:visited {
    color: #fff;
    background-color: var(--folkhus-theme-secondary);
}

.btn-folkhus-alt,
.btn-folkhus-alt:visited {
    color: var(--folkhus-text-primary);
    background-color: var(--folkhus-bg-secondary);
}

.btn-folkhus-transparent,
.btn-folkhus-transparent:visited {
    color: #fff;
    border: 1px solid #fff;
}

.btn-folkhus-dark,
.btn-folkhus-dark:visited {
    color: #fff;
    background-color: var(--folkhus-text-primary);
}

.btn-folkhus-transparent-dark,
.btn-folkhus-transparent-dark:visited {
    color: var(--folkhus-text-primary);
    border: 1px solid var(--folkhus-text-primary);
}

.btn-folkhus-transparent-white,
.btn-folkhus-transparent-white:visited {
    color: var(--folkhus-theme-secondary);
    background: #fff;
}

.btn-folkhus-transparent-white:hover i.folkhus-icon.configurator-blue {
    filter: none;
    background-image: url('../images/icon-configurator-black.svg');
}

.btn-folkhus-white,
.btn-folkhus-white:visited {
    color: var(--folkhus-text-primary);
    background: #fff;
}

.btn-folkhus:hover {
    color: var(--folkhus-text-primary);
    background-color: var(--folkhus-bg-primary);
    border-color: var(--folkhus-bg-primary);
}

.btn-folkhus:hover i {
    filter: grayscale(100%) brightness(0);
}

button.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 15px;
}

button.navbar-toggler .navbar-toggler-icon {
    display: inline-block;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

button.navbar-toggler .navbar-toggler-close {
    display: none;
}

button.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    display: none;
}

button.navbar-toggler[aria-expanded="true"] .navbar-toggler-close {
    display: inline-block;
}

/* Icons */
.folkhus-icon {
    width: 26px;
    height: 28px;
    display: inline-block;
    margin-right: 20px;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center center;
}

.folkhus-icon.configurator {
    background-image: url('../images/icon-configurator.svg');
}

.folkhus-icon.configurator-white {
    background-image: url('../images/icon-configurator-white.svg');
}

.folkhus-icon.configurator-white-solid {
    background-image: url('../images/icon-configurator-white-solid.svg');
}

.folkhus-icon.configurator-black {
    background-image: url('../images/icon-configurator-black.svg');
}

.folkhus-icon.configurator-blue {
    background-image: url('../images/icon-configurator-blue.svg');
}

.folkhus-icon.exchange {
    background-image: url('../images/icon-exchange.svg');
}

.folkhus-icon.exchange-white {
    background-image: url('../images/icon-exchange-white.svg');
}

.folkhus-icon.mail {
    background-image: url('../images/icon-mail.svg');
}

.folkhus-icon.mail-white {
    background-image: url('../images/icon-mail-white.svg');
}

.folkhus-icon.support {
    background-image: url('../images/icon-support.svg');
}

.folkhus-icon.support-white {
    background-image: url('../images/icon-support-white.svg');
}

.folkhus-icon.play-white {
    width: 20px;
    height: 22px;
    margin-top: 3px;
    margin-bottom: 3px;
    background-image: url('../images/icon-play-white.svg');
}

.folkhus-icon.search {
    background-image: url('../images/icon-search.svg');
}

.folkhus-icon.search-white {
    background-image: url('../images/icon-search-white.svg');
}

.folkhus-icon.check {
    background-image: url('../images/icon-check.svg');
}

.folkhus-icon.check-gold {
    background-image: url('../images/icon-check-gold.svg');
}

.folkhus-icon.expand {
    background-image: url('../images/icon-expand.svg');
}

.folkhus-icon.offer {
    background-image: url('../images/icon-offer.svg');
}

.folkhus-icon.cart {
    background-image: url('../images/icon-cart.svg');
}

.folkhus-icon.pdf-white {
    background-image: url('../images/icon-pdf-white.svg');
}

.folkhus-icon.download-gold {
    background-image: url('../images/icon-download-gold.svg');
}

.folkhus-icon.info-black {
    background-image: url('../images/icon-info-black.svg');
}

.folkhus-icon.close {
    background-image: url('../images/icon-xmark.svg');
}

/* Lists */
.entry-content-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 2;
    margin-bottom: 1.5em;
}

.entry-content-wrapper ul:not(.products):not(.slick-dots):not(.page-numbers):not(.nav):not(#shipping_method) li:before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 24px;
    background-image: url('../images/icon-check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    bottom: -5px;
    margin-right: 10px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--folkhus-bg-secondary);
    font-size: 14px;
    line-height: 1.5;
}

table thead th {
    background-color: var(--folkhus-text-primary);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
}

table tr:nth-child(even) {
    background-color: var(--folkhus-bg-primary);
}

table tr:last-child td {
    border-bottom: none;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        font-size: 12px;
    }
    
    table th,
    table td {
        padding: 8px 10px;
    }
}

/* Table variants */
.table-striped tr:nth-child(odd) {
    background-color: var(--folkhus-bg-primary);
}

.table-striped tr:nth-child(even) {
    background-color: #fff;
}

.table-bordered {
    border: 1px solid var(--folkhus-bg-secondary);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--folkhus-bg-secondary);
}

.table-compact th,
.table-compact td {
    padding: 6px 10px;
}

.table-minimal {
    box-shadow: none;
    border-radius: 0;
}

.table-minimal th {
    background-color: var(--folkhus-bg-secondary);
    color: var(--folkhus-text-primary);
}

.table-minimal tr:hover {
    background-color: var(--folkhus-bg-primary);
}

/* Gallery */
.glightbox-clean .gslide-media {
    background-color: var(--folkhus-bg-primary);
}

/* Folkhus Tooltip */
.folkhus-icon.info-black {
    cursor: pointer;
    position: relative;
}

.folkhus-tooltip {
    position: absolute;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 25px 10px 10px;
    width: 250px;
    max-width: 90vw;
    font-size: 14px;
    line-height: 1.4;
    color: var(--folkhus-text-primary);
    user-select: text;
}

.folkhus-tooltip-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #999;
    line-height: 1;
}

.folkhus-tooltip-close:hover {
    color: #333;
}

.folkhus-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    z-index: 2;
}

.folkhus-tooltip::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ddd;
    z-index: 1;
}

.folkhus-tooltip-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Header */
#masthead {
    min-height: 64px;
}

#masthead #navbar-main {
    top: 24px;
    transition: all 0.25s;
}

body.admin-bar #masthead #navbar-main {
    top: 56px;
}

#masthead #navbar-main.scrolled {
    top: 0;
    background: var(--folkhus-text-primary);
}

body.admin-bar #masthead #navbar-main.scrolled {
    top: 32px;
}

#masthead #navbar-main.bg-black {
    background: var(--folkhus-text-primary);
}

#masthead .site-branding .sub-logo-slogan {
    color: #fff;
    text-shadow: 1px 1px 0 #1D1919;
    text-align: center;
    font-size: 14px;
    padding: 3px 0;
}

@media (min-width: 992px) {
    .nav-wrapper {
        padding: 10px 25px;
        background-color: var(--folkhus-bg-secondary);
        border-radius: 5px;
    }
}

#site-navigation ul li {
    margin-right: 10px;
}

#site-navigation ul li a {
    color: var(--folkhus-text-primary);
    font-size: 14px;
    padding: 3px 5px;
    border-radius: 4px;
    animation: 0.3s;
}

#site-navigation ul.sub-menu li a {
    padding: 3px 10px;
}

#site-navigation ul li a:hover,
#site-navigation ul li.current_page_item > a {
    background-color: var(--folkhus-theme-primary);
}

#site-navigation ul li:hover ul.sub-menu {
    display: block;
    background-color: var(--folkhus-bg-secondary);
}

#site-navigation ul li:hover ul.sub-menu li {
    margin-right: 0;
}

#site-navigation ul li:hover ul.sub-menu li + li {
    margin-top: 5px;
}

@media (max-width: 991px) {
    #masthead #navbar-main {
        z-index: 9999;
    }

    .navbar-toggler .btn-close {
        color: #AEABAC;
    }

    .navbar-collapse.show {
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        z-index: 99999;
        max-height: calc(100vh - 85px);
        overflow-y: scroll;
    }

    #site-navigation ul li a:hover,
    #site-navigation ul li.current_page_item > a,
    #site-navigation ul li:hover ul.sub-menu {
        background-color: transparent;
    }

    .navbar-collapse.show .main-navigation ul {
        display: block;
    }

    .navbar-collapse.show .main-navigation > ul {
        background: #000;
        padding-bottom: 250px;
    }

    .navbar.scrolled .navbar-collapse.show .main-navigation > ul {
        padding-bottom: 150px;
    }

    .navbar-collapse.show #site-navigation.main-navigation ul li {
        margin: 0;
        border-bottom: 1px solid var(--folkhus-theme-primary);
        padding: 5px;
        clear: both;
    }

    .navbar-collapse.show #site-navigation.main-navigation ul li a {
        font-size: 17px;
        color: #fff;
        padding: 5px;
    }

    #site-navigation ul li ul.sub-menu {
        position: static;
        margin: 10px 0;
        width: 100%;
        padding: 0 10px;
        box-shadow: none;
    }
}

/* Floating Bar */
.folkhus-floating-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background-color: #000;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.admin-bar .folkhus-floating-bar {
    top: 32px;
}

.folkhus-floating-bar-clickable {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.folkhus-floating-bar-clickable:hover {
    opacity: 0.9;
}

.folkhus-floating-bar-content {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.folkhus-floating-bar-content p {
    margin: 0;
}

.folkhus-floating-bar-content p:not(:last-child) {
    margin-bottom: 8px;
}

/* Adjust navbar position when floating bar exists */
body.has-floating-bar #masthead #navbar-main {
    top: calc(24px + var(--folkhus-floating-bar-height, 50px));
}

body.has-floating-bar #masthead #navbar-main.scrolled {
    top: var(--folkhus-floating-bar-height, 50px);
}

body.admin-bar.has-floating-bar #masthead #navbar-main {
    top: calc(56px + var(--folkhus-floating-bar-height, 50px));
}

body.admin-bar.has-floating-bar #masthead #navbar-main.scrolled {
    top: calc(32px + var(--folkhus-floating-bar-height, 50px));
}

/* Floating Bar Modal */
.folkhus-floating-bar-modal-body {
    position: relative;
    padding: 0;
}

.folkhus-floating-bar-modal-body p:last-of-type {
    margin-bottom: 0;
}

button.folkhus-floating-bar-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 10px;
}

button.folkhus-floating-bar-modal-close:hover {
    opacity: 1;
}

button.folkhus-floating-bar-modal-close .folkhus-icon {
    width: 17px;
    height: 18px;
    margin: 0;
}

@media (max-width: 767px) {
    .folkhus-floating-bar {
        padding: 8px 0;
    }
    
    .folkhus-floating-bar-content {
        font-size: 14px;
    }
    
    .folkhus-floating-bar-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* Search form */
#search-toggle {
    cursor: pointer;
}

.search-form-wrapper {
    background: black;
    background: rgba(0,0,0,0.8);
    z-index: 99;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
}

.search-form-wrapper .search-form {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 40%;
    text-align: center;
}

.search-form-wrapper .search-form-label {
    position: absolute;
    bottom: 100%;
    width: 100%;
    display: block;
    left: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.search-form-wrapper .search-text {
    background: none;
    border: none;
    border-bottom: 1px dashed #ddd;
    color: #fff !important;
    font-size: 60px;
    left: 0;
    margin: 20px auto 0;
    min-width: 300px;
    outline: none;
    position: absolute;
    right: 0;
    text-align: center;
    top: 100%;
    width: 50%;
}

.search-form-wrapper .search-form-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.search-form-wrapper .search-submit {
    display: none;
}

/* Hero Section */
.hero-section {
    background: var(--folkhus-text-primary);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    height: auto;
}

/* Video background styles */
.hero-video-bg {
    position: relative;
}

.hero-section.hero-video-bg .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-video-bg .hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.home .hero-section {
    min-height: 90vh;
}

.hero-section {
    min-height: 22.5vh;
}

@media (min-width: 376px) {
    .hero-section {
        min-height: 27.5vh;
    }
}

@media (min-width: 480px) {
    .hero-section {
        min-height: 30vh;
    }
}

@media (min-width: 576px) {
    .hero-section {
        min-height: 40vh;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
}

/* 1080p (Full HD) */
@media (min-width: 1281px) {
    .hero-section {
        min-height: 65vh;
    }
}

/* 2K (QHD) */
@media (min-width: 1921px) {
    .hero-section {
        min-height: 70vh;
    }
}

/* 4K (Ultra HD) */
@media (min-width: 2561px) {
    .hero-section {
        min-height: 70vh;
    }
}

.hero-section.no-bg {
    min-height: 275px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-section.no-bg::before {
    content: none;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section .hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.hero-content {
    color: #fff;
}

.hero-title {
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-subtitle,
.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-buttons .btn-folkhus {
    margin-right: 15px;
    padding: 11px 15px;
    min-width: 200px;
    text-align: left;
}

.hero-buttons .btn-folkhus:last-child {
    margin-right: 0;
}

@media (max-width: 480px) {
    .hero-buttons {
        display: flex;
        justify-content: space-between;
    }

    .hero-buttons .btn-folkhus {
        min-width: 165px;
        font-size: 11px;
    }

    .hero-buttons .btn-folkhus i {
        margin-right: 10px;
    }
}

/* Features Row (below the hero image) */
.features-row {
    background-color: var(--folkhus-text-primary);
    color: #fff;
    padding: 20px 0;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .main-navigation {
        margin-left: 0 !important;
    }

    .search-bar {
        margin-top: 10px;
        max-width: 100%;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 16px;
    }

    .hero-buttons .btn {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .feature-item {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        align-items: start;
        justify-content: start;
        text-align: start;
        margin: 5px 0;
    }

    .feature-item i {
        margin-right: 5px;
    }
}

/* Sub menu */
.sub-menu-section {
    background-color: var(--folkhus-text-primary);
    color: #fff;
}

.sub-menu-section .sub-menu-list ul.nav {
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0 15px 0;
}

.sub-menu-section .sub-menu-list ul.nav li {
    padding: 5px;
}

.sub-menu-section .sub-menu-list ul.nav li:before {
    content: none; /* disabled */
    background-image: url(../images/icon-check-gold.svg);
}

.sub-menu-section .sub-menu-list ul.nav li a {
    font-size: 14px;
    text-decoration: none;
    color: #fff !important;
    padding: 3px 5px;
    animation: 0.3s;
}

.sub-menu-section .sub-menu-list ul.nav li a:hover,
.sub-menu-section .sub-menu-list ul.nav li.current-menu-item a {
    background-color: var(--folkhus-theme-primary);
    color: var(--folkhus-text-primary) !important;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .sub-menu-section .sub-menu-list ul.nav {
        justify-content: flex-start;
    }

    .sub-menu-section .sub-menu-list ul.nav li {
        width: 25%;
    }
}

@media (max-width: 767px) {
    .sub-menu-section .sub-menu-list ul.nav li {
        width: 33.33%;
    }
}

@media (max-width: 480px) {
    .sub-menu-section .sub-menu-list ul.nav li {
        width: 50%;
    }
}

/* Employee contact */
.employee-contact-section {
    background-color: var(--folkhus-bg-secondary);
    padding: 15px 0;
}

.employee-contact-heading {
    font-size: 18px;
    font-weight: bold;
}

.employee-contact-section .employee-avatar img {
    width: 75px;
    height: 75px;
}

.employee-contact-section .employee-position {
    color: #999;
}

/* General */
section h2 a {
    color: inherit;
    text-decoration: none;
}

section h2 a:hover {
    text-decoration: underline;
}

/* Carousel */
.folkhus-products-static {
    display: flex;
    flex-wrap: wrap;
}

.folkhus-products-wrapper {
    margin: 0 -10px;
}

.folkhus-products-wrapper .slick-track {
    display: flex;
}

.folkhus-products-wrapper .slick-track .slick-slide {
    height: inherit;
}

.folkhus-products-wrapper .product-card {
    margin: 0 10px;
}

.folkhus-products-static.folkhus-grid-4 .product-card {
    width: calc(25% - 20px);
    margin-bottom: 20px;
}

.folkhus-products-static.folkhus-grid-3 .product-card {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
}

@media( max-width: 991px ) {
    .folkhus-products-static.folkhus-grid-4 .product-card {
        width: calc(33.33% - 20px);
    }

    .folkhus-products-static.folkhus-grid-3 .product-card {
        width: calc(50% - 20px);
    }
}

@media( max-width: 767px ) {
    .folkhus-products-static.folkhus-grid-4 .product-card {
        width: calc(50% - 20px);
    }

    .folkhus-products-static.folkhus-grid-3 .product-card {
        width: 100%;
    }
}

@media( max-width: 480px ) {
    .folkhus-products-static.folkhus-grid-4 .product-card,
    .folkhus-products-static.folkhus-grid-3 .product-card {
        width: 100%;
    }
}

.folkhus-products-wrapper .slick-prev,
.folkhus-products-wrapper .slick-next,
.folkhus-testimonials-slider .slick-prev,
.folkhus-testimonials-slider .slick-next,
.folkhus-latest-news-slider .slick-prev,
.folkhus-latest-news-slider .slick-next,
.variation-slider .slick-prev,
.variation-slider .slick-next,
.folkhus-hotspot-slider .slick-prev,
.folkhus-hotspot-slider .slick-next,
.folkhus-step-by-step-slider .slick-prev,
.folkhus-step-by-step-slider .slick-next {
    top: -40px;
    left: auto;
    right: 10px;
    width: 48px;
    height: 48px;
    background: var(--folkhus-bg-secondary);
    background-image: url(../images/icon-arrow.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.folkhus-products-wrapper .slick-prev,
.folkhus-testimonials-slider .slick-prev,
.folkhus-latest-news-slider .slick-prev,
.variation-slider .slick-prev,
.folkhus-hotspot-slider .slick-prev,
.folkhus-step-by-step-slider .slick-prev {
    right: 68px;
    top: -64px;
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

.folkhus-products-wrapper .slick-prev:before,
.folkhus-products-wrapper .slick-next:before,
.folkhus-testimonials-slider .slick-prev:before,
.folkhus-testimonials-slider .slick-next:before,
.folkhus-latest-news-slider .slick-prev:before,
.folkhus-latest-news-slider .slick-next:before,
.variation-slider .slick-prev:before,
.variation-slider .slick-next:before,
.folkhus-hotspot-slider .slick-prev:before,
.folkhus-hotspot-slider .slick-next:before,
.folkhus-step-by-step-slider .slick-prev:before,
.folkhus-step-by-step-slider .slick-next:before {
    content: '';
}

.folkhus-products-wrapper .slick-arrow:hover,
.folkhus-testimonials-slider .slick-arrow:hover,
.folkhus-latest-news-slider .slick-arrow:hover
.variation-slider .slick-arrow:hover,
.folkhus-hotspot-slider .sliick-arrow:hover,
.folkhus-step-by-step-slider .slick-arrow:hover {
    background-color: #fff;
}

.slick-dots {
    margin-bottom: 0 !important;
}

.slick-dots li {
    margin: 0 -3px;
}

.slick-dots li button {
    padding: 0;
}

@media( min-width: 1025px ) {
    .slick-dots {
        display: none;
    }
}

.folkhus-hotspot-slider .slick-list {
    height: auto !important;
}

/* Product Card */
.product-card {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .product-card.prod-column-1 {
        width: 100%;
    }

    .product-card.prod-column-2 {
        width: calc( 50% - 20px );
    }
}

@media (max-width: 480px) {
    .product-card.prod-column-1,
    .product-card.prod-column-2 {
        margin-bottom: 15px;
        width: 100%;
    }
}

.product-card:hover {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    /*padding-top: 75%;*/
    aspect-ratio: 3 / 1.5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
}

@media (min-width: 768px) {
    .product-card.prod-column-1 .product-image {
        aspect-ratio: auto;
        padding-top: 25%;
    }

    .product-card.prod-column-2 .product-image {
        aspect-ratio: auto;
        padding-top: 50%;
    }
}

.product-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
}

/* Product Labels */
.product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.product-label {
    background: var(--folkhus-theme-primary);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Product Info */
.product-info {
    padding: 15px;
    display: flex;
    flex-direction: row;
}

.product-info .btn-folkhus {
    width: 100%;
}

.product-info .btn-folkhus {
    min-width: 135px;
    font-size: 12px;
    padding: 10px 5px;
}

.product-info .flex-column:not(.flex-md-row) .btn-see-all {
    margin-top: 10px;
}

@media (min-width: 768px) {
    .product-info .flex-column.flex-md-row .btn-see-all {
        margin-left: 10px;
    }
}

@media (max-width: 767px) {
    .product-info .flex-column.flex-md-row .btn-see-all {
        margin-top: 10px;
    }
}

.product-info .flex-row .btn-see-all {
    margin-left: 10px;
}

.product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    text-decoration: underline;
}

.product-price {
    display: flex;
    align-items: start;
    flex-direction: column;
}

.regular-price {
    font-size: 14px;
}

.sale-price {
    font-size: 16px;
    color: red;
}

.regular-price.sale {
    text-decoration: line-through;
}

/* Design section */
.design-section {
    background-color: var(--folkhus-theme-secondary);
    color: #fff;
    padding: 40px;
    margin-top: 40px;
}

.design-section-title {
    background: url('../images/bg-design-section.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

@media (max-width: 1024px) {
    .design-section-title {
        background: none;
    }

    .col-first {
        background: url('../images/bg-design-section.svg');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }
}

@media (max-width: 480px) {
        .design-section {
        background-image: url(../images/bg-design-section.svg);
        background-repeat: no-repeat;
        background-position: center 7%;
        background-size: 80%;
    }

    .col-first {
        background: none;
    }
}

/* Video Testimonial section */
.video-testimonial-section {
    margin-top: 60px;
    background: #fff;
}

.video-testimonial-section .video-wrapper {
    position: relative;
}

.video-testimonial-section .video-wrapper img {
    width: 100%;
    max-width: auto;
}

.video-testimonial-section .video-wrapper .play {
    position: absolute;
    top: calc(50% - 37px);
    left: calc(50% - 37px);
    color: #fff;
}

.video-testimonial-section .video-wrapper .play .folkhus-icon {
    margin: 0;
    width: 78px;
    height: 78px;
}

.video-testimonial-section .video-testimonial-content {
    padding: 50px 50px 50px 20px;
}

/* Step by Step section */
.home .section-step-by-step {
    margin-top: 40px;
}

.section-step-by-step h2 {
    margin-bottom: 35px;
}

@media (max-width: 480px) {
    .section-step-by-step h2 {
        max-width: calc( 100% - 110px );
    }
}

.folkhus-step-by-step-slider .item-step {
    margin: 30px 10px;
}

.section-step-by-step .item-step .img-wrapper {
    position: relative;
    background: var(--folkhus-bg-secondary);
    padding: 75px;
}

.section-step-by-step .item-step .img-wrapper .step-number {
    border-radius: 50%;
    background: var(--folkhus-text-primary);
    color: #fff;
    padding: 5px 8px;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 10px;
}

.section-step-by-step .item-step .step-title {
    font-weight: 600;
    margin: 15px 0;
}

/* Testimonials Slider section */
.folkhus-testimonials-slider {
    background-color: var(--folkhus-bg-secondary);
    width: 100%;
}

.folkhus-testimonials-slider .slick-list {
    flex: 1;
}

.folkhus-testimonials-slider .slick-prev {
    right: 58px;
}

.folkhus-testimonials-slider .slick-next {
    right: 0;
}

.folkhus-testimonials-slider .item .customer-name {
    font-size: 20px;
}

.folkhus-testimonials-slider .item .customer-quote {
    display: inline-block;
    font-size: 18px;
    max-width: 70%;
    margin-bottom: 0;
}

@media(max-width: 991px) {
    .folkhus-testimonials-slider-wrapper h2 {
        max-width: calc(100% - 100px);
    }
}

/* Advantages section */
.folkhus-advantages-section {
    padding: 40px;
    background-color: #fff;
    background-image: url(../images/bg-advantages-section.svg);
    background-repeat: no-repeat;
    background-position: left center;
}

@media(max-width: 767px) {
    .folkhus-advantages-section {
        padding: 40px 15px;
    }
}

/* Latest News slider */
@media (max-width: 480px) {
    .folkhus-latest-news-slider-wrapper h2 {
        max-width: calc( 100% - 110px );
    }
}

.folkhus-latest-news-slider {
    margin: 0 -10px;
}

.folkhus-latest-news-slider .item-wrapper {
    padding: 0 10px;
}

/* Posts grid */
.news-item-wrapper .item {
    color: var(--folkhus-text-primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-wrapper .item a,
.news-item-wrapper .item a:visited {
    color: var(--folkhus-text-primary);
    text-decoration: none;
}

.news-item-wrapper .item img {
    height: 275px;
    width: 100%;
    object-fit: cover;
}

.news-item-wrapper .item .item-meta {
    background-color: #fff;
    display: flex;
    text-align: left;
    padding: 15px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-wrapper .item .item-meta .item-tags {
    margin-top: 15px;
    font-size: 10px;
    color: var(--folkhus-text-primary);
}

/* Collaboration section */
.folkhus-collaboration-section .description {
    max-width: 700px;
    text-align: center;
    padding: 0 15px;
    margin: 0 auto;
}

/* Child pages grid */
.folkhus-child-pages-grid a {
    color: inherit;
}

.folkhus-child-pages-grid a:hover {
    opacity: 0.8;
}

/* Single Product */
.single-product-wrapper {
    background-color: #fff;
}

.product-properties-section {
    background-color: var(--folkhus-text-primary);
    color: #fff;
}

.product-properties-section .btn-folkhus {
    text-transform: uppercase;
    font-size: 13px;
}

.product-properties-section .btn-see-more-pictures {
    position: absolute;
    right: 0;
    top: -60px;
    z-index: 9;
}

.product-properties-list {
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.product-properties-list .item {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .product-properties-list .item {
        width: calc(33.33% - 5px);
    }
}

@media (max-width: 480px) {
    .product-properties-section .btn-see-more-pictures {
        position: static;
    }

    .product-properties-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    .product-properties-list .item {
        width: calc(50% - 5px);
    }

    .product-properties-section .btn-folkhus {
        width: 100%;
        margin-bottom: 15px;
    }

    .product-properties-section .btn-folkhus-white {
        margin-top: 15px;
    }
}

.product-properties-list .item span {
    display: inline-block;
    margin-left: 5px;
    color: var(--folkhus-theme-primary);
}

.product-content-section {
    padding: 40px 15px;
    max-width: 960px;
    margin: 20px auto;
    text-align: center;
}

.variation-slider-container {
    max-width: 960px;
    margin: 0 auto 50px auto;
    padding: 20px;
    background-color: var(--folkhus-bg-primary);
}

.variation-slider {
    padding-top: 35px;
}

@media (min-width: 767px) {
    .variation-slider {
        padding-top: 0px;
    }
}

.variation-slider .slick-track {
    display: flex;
}

.variation-slider .slick-track .slick-slide {
    height: inherit;
}

.variation-slider .slick-prev,
.variation-slider .slick-next {
    min-width: 180px;
    opacity: 0.7;
}

.variation-slider .slick-prev {
    top: -20px;
    right: auto;
    left: calc(50% - 185px);
}

.variation-slider .slick-next {
    top: 4px;
    left: auto;
    right: calc(50% - 185px);
}

.variation-slider .slick-prev:hover,
.variation-slider .slick-next:hover {
    opacity: 1;
}

.variation-slider .variation-slide .variation-content {
    padding: 10px;
}

@media (max-width: 480px) {
    .variation-slider .variation-slide:last-child .variation-content {
        padding-right: 0;
    }
}

.variation-slider .variation-slide .variation-image-container {
    position: relative;
    background-color: var(--folkhus-bg-secondary);
    aspect-ratio: 2/1;
}

.variation-slider .variation-slide .variation-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variation-slider .variation-slide .variation-image-container .icon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

.variation-slider .variation-slide .variation-image-container .icon-wrapper .folkhus-icon {
    margin-right: 0;
}

/*.variation-slider .variation-slide.package-bas .variation-image-container img {
    padding: 25px;
    object-fit: contain;
}*/

.variation-slider .variation-slide .variation-info .variation-name {
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0;
}

.variation-slider .variation-slide .variation-info .variation-name .variation-subname {
    font-size: 22px;
    font-weight: 400;
}

.variation-slider .variation-info .btn-folkhus {
    width: 100%;
}

.variation-slider .variation-info .btn-folkhus.download-pdf {
    display: inline-block;
    margin: 10px 0 20px 0;
    width: 100%;
    position: relative;
    padding-right: 36px;
}

.variation-slider .variation-info .btn-folkhus.download-pdf:after {
    content: '';
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
    background-image: url(../images/icon-download-gold.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.variation-slider .variation-info .btn-folkhus.download-pdf:hover {
    background-color: var(--folkhus-text-primary);
    color: #fff;
    opacity: 0.975;
}

.variation-slider .variation-info .btn-folkhus i {
    margin-right: 10px;
}

.variation-slider .variation-info .btn-folkhus.download-pdf:hover i {
    filter: none;
}

.variation-slider .variation-info .variation-comparison {
    background-color: #fff;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    max-height: 500px;
    overflow-y: scroll;
    position: relative;
    margin: 0 -10px;
}

.variation-slider .variation-slide:first-child .variation-info .variation-comparison {
    margin-left: 0;
}

.variation-slider .variation-slide:last-child .variation-info .variation-comparison {
    margin-right: 0;
}

.variation-slider .variation-info .variation-comparison .comparison-item {
    height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.variation-slider .variation-slide:not(:first-child) .variation-info .variation-comparison .comparison-item:before {
    content: '';
    position: absolute;
    top: 15px;
    left: -15px;
    width: 1px;
    height: calc(100% - 30px);
    background-color: var(--folkhus-bg-secondary);
}

.variation-slider .variation-slide .variation-info .variation-comparison .comparison-item:not(:last-child):after {
    content: '';
    position: absolute;
    width: calc(100% + 30px);
    left: -15px;
    height: 2px;
    bottom: -2px;
    background-color: var(--folkhus-bg-primary);
}

.variation-slider .variation-info .variation-comparison .comparison-item .comparison-label {
    font-weight: 600;
    display: block;
}

@media (min-width: 767px) {
    .variation-slider .variation-slide:not(:first-child) .variation-info .variation-comparison .comparison-item .comparison-label {
        opacity: 0;
    }
}

.variation-slider .variation-info .variation-comparison .comparison-item .comparison-value {
    display: block;
    margin-bottom: 10px;
}

.variation-slider .variation-info .variation-comparison .comparison-item .comparison-value i {
    cursor: pointer;
    margin-left: 3px;
    margin-right: 0;
    margin-top: -5px;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Improved variation comparison scrolling */
/* Hide scrollbars by default */
.variation-slider .variation-info .variation-comparison::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Show scrollbar only on the last visible slide */
.variation-slider .slick-slide.slick-active:last-child .variation-info .variation-comparison::-webkit-scrollbar {
    width: 6px;
}

.variation-slider .slick-slide.slick-active:last-child .variation-info .variation-comparison::-webkit-scrollbar-track {
    background: transparent;
}

.variation-slider .slick-slide.slick-active:last-child .variation-info .variation-comparison::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Always show scrollbar on mobile (when only one slide is visible) */
@media (max-width: 767px) {
    .variation-slider .variation-info .variation-comparison::-webkit-scrollbar {
        width: 6px;
    }
    
    .variation-slider .variation-info .variation-comparison::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .variation-slider .variation-info .variation-comparison::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 3px;
    }
}

@media (max-width: 576px ) {
    .variation-slider .variation-info .btn-folkhus {
        min-width: 158px;
        font-size: 10px;
        padding: 10px 5px;
    }

    .variation-slider .variation-info .btn-folkhus i {
        width: 20px;
        height: 22px;
        margin-right: 5px;
    }

    .variation-slider .variation-info .variation-comparison {
        font-size: 11px;
    }
}

.variation-slider .variation-info .variation-price {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin: 20px auto;
}

.variation-slider .variation-info .variation-price ins {
    display: block;
    color: red;
    background: none;
}

@media (max-width: 480px) {
    .variation-slider .variation-info .variation-price {
        font-size: 24px;
    }
}

.variation-slider .variation-info .variation-price span.incl {
    font-size: 14px;
    font-weight: 400;
    display: block;
}

.quote-request-container {
    max-width: 720px;
    margin: -50px auto 0 auto;
    text-align: left;
    padding: 20px;
    background-color: var(--folkhus-bg-primary);
}

.product-section-plan {
    margin: 40px 0 0 0;
    padding: 50px 0;
    background-color: var(--folkhus-bg-primary);
}

.product-section-plan .product-section-plan-description {
    margin-bottom: 20px;
}

.product-section-plan ul {
    margin-bottom: 0;
}

.product-section-plan .plan-gallery-expand-icon {
    position: relative;
}

.product-section-plan .plan-gallery-expand-icon .icon-wrapper {
    position: absolute;
    top: -35px;
    right: 0;
    padding: 5px;
    background-color: var(--folkhus-bg-secondary);
}

.product-section-plan .plan-gallery-expand-icon .icon-wrapper i {
    margin: 0;
    width: 40px;
    height: 40px;
}

.product-section-step-by-step {
    padding: 50px 0;
    background-color: #fff;
}

.product-section-step-by-step .section-step-by-step h2 {
    margin-bottom: 40px;
}

.related-products-section {
    padding: 50px 0;
    background-color: #fff;
}

.related-products-section .product-card {
    background-color: var(--folkhus-bg-primary);
}

/* Product Archive */
.woocommerce-ordering {
    margin-bottom: 20px;
}

/* Cart */
.xoo-wsc-body span.amount {
    font-size: inherit;
}

.wc-block-cart table.wc-block-cart-items th {
    background: var(--folkhus-text-primary) !important;
    padding: 10px !important;
}

table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
    visibility: visible !important;
}

.wc-block-cart__submit-container {
    background-color: var(--folkhus-theme-primary);
    color: var(--folkhus-text-primary);
    padding: 10px 15px;
    border-radius: 0;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.wc-block-cart__submit-container a {
    text-decoration: none;
}

/* Checkout */
.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    background-color: var(--folkhus-theme-primary) !important;
    color: var(--folkhus-text-primary);
    padding: 10px 15px;
}

.woocommerce-info a,
.woocommerce-noreviews a,
p.no-comments a {
    color: var(--folkhus-text-primary);
}

.woocommerce-checkout-review-order-table {
    margin-top: 0;
}

.woocommerce-checkout-review-order-table ul {
    margin-bottom: 0;
}

/* Order Received */
.woocommerce-order-received #klarna-checkout-container {
    display: none;
}

.woocommerce-order-received .woocommerce-columns--addresses .woocommerce-column {
    width: 100%;
}

/* Single Page */
.half-image {
    margin-bottom: 25px;
}

.half-image.img-left .section-img {
    order: 1;
}

.half-image.img-left .section-content {
    order: 2;
}

.half-image.img-right .section-img {
    order: 2;
}

.half-image.img-right .section-content {
    order: 1;
}

@media( max-width: 767px) {
    .half-image .section-img {
        order: 1 !important;
    }

    .half-image .section-content {
        order: 2 !important;
    }
}

.half-image .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FAQ Section */
.folkhus-faq-section .accordion-item .accordion-button {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--folkhus-bg-primary);
    background: var(--folkhus-bg-secondary);
    padding: 15px;
}

.folkhus-faq-section .accordion-item .accordion-button:focus {
    box-shadow: none;
}

.folkhus-faq-section .accordion-item .accordion-button:not(.collapsed) {
    color: var(--folkhus-theme-secondary);
}

.folkhus-faq-section .accordion-item .accordion-body p:last-child {
    margin-bottom: 0;
}

/* Outstanding numbers section */
.section-outstanding-numbers .outstanding-title {
    font-size: 20px;
    font-weight: bold;
}

.section-outstanding-numbers .outstanding-number {
    font-size: 48px;
    font-weight: bold;
}

/* Hotspot Slider */
.folkhus-hotspot-slider-section {
    margin: 80px auto 40px auto;
    max-width: 1024px;
}

.folkhus-hotspot-slider .slick-prev {
    right: 58px;
}

.folkhus-hotspot-slider .slick-next {
    right: 0;
}

.folkhus-hotspot-slide {
    position: relative;
}

.folkhus-hotspot-slide-inner {
    position: relative;
}

.folkhus-hotspot-bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.folkhus-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.folkhus-hotspot-dot {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 2px solid var(--folkhus-theme-primary);
    border-radius: 50%;
    background-image: url(../images/logo-circle.webp);
    background-size: contain;
}

.folkhus-hotspot-popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: none;
}

.folkhus-hotspot-popup-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.folkhus-hotspot-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    z-index: 10;
    padding: 2px 5px !important;
}

.folkhus-hotspot-popup-content {
    display: flex;
    flex-wrap: wrap;
}

.folkhus-hotspot-popup-image {
    flex: 0 0 40%;
    padding-right: 20px;
}

.folkhus-hotspot-popup-image img {
    max-width: 100%;
    height: auto;
}

.folkhus-hotspot-popup-info {
    flex: 0 0 60%;
}

.folkhus-hotspot-popup-info .title {
    font-size: 18px;
    font-weight: bold;
}

.folkhus-hotspot-popup-price {
    margin: 5px 0;
}

.folkhus-hotspot-popup-link {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .folkhus-hotspot-popup-content {
        /*flex-direction: column;*/
    }

    .folkhus-hotspot-popup-inner {
        max-width: 300px;
        max-height: 80%;
    }
    
    .folkhus-hotspot-popup-image,
    .folkhus-hotspot-popup-info {
        /* flex: 0 0 100%;
        padding-right: 0;*/
    }
    
    .folkhus-hotspot-popup-image {
        margin-bottom: 20px;
        display: none;
    }

    .folkhus-hotspot-popup-info .title {
        font-size: 16px;
    }

    .folkhus-hotspot-popup-price {
        font-size: 14px;
    }

    .folkhus-hotspot-popup-link a {
        font-size: 12px;
    }
}

/* Offert (Formidable) form */
.frm_image_options .frm_radio input[type=radio],
.frm_image_options .frm_checkbox input[type=checkbox] {
    z-index: 1;
}

/* Full width */
.page-template-template-full-width .site-main {
    max-width: 1880px;
}

/* Single Post */
.single-post .site-main {
    max-width: 840px;
}

.entry-header {
    margin-top: 1.5em;
    font-size: 14px;
}

.entry-header .sep {
    display: inline-block;
    margin: 0 10px;
}

.entry-header a {
    color: var(--folkhus-text-primary);
    text-decoration: none;
}

.entry-header a:hover {
    text-decoration: underline;
}

.entry-header .social-icon {
    width: 18px;
    height: 18px;
    margin-top: -4px;
}

.entry-footer .btn-folkhus:hover {
    background-color: var(--folkhus-theme-primary);
}

.related-posts-section {
    max-width: 1360px;
    margin: 50px auto 0 auto;
    padding-top: 50px;
    border-top: 1px solid var(--folkhus-bg-secondary);
}

.related-posts-section .item-wrapper {
    margin-bottom: 15px;
}

/* Posts archive */
.blog .site-main,
.archive .site-main {
    max-width: 1360px;
    margin: 0 auto;
}

.blog .item-wrapper,
.archive .item-wrapper {
    margin-bottom: 25px;
}

.post-widget-box-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact */
.wpcf7 p {
    margin-bottom: 10px;
}

.contact-section {
    padding: 20px 0;
    background-color: var(--folkhus-bg-secondary);
}

/* Search results */
.search-title {
    font-size: 3rem;
    font-weight: 700;
}

.search-meta {
    margin-bottom: 2rem;
}

.search-label {
    color: #888;
}

.search-query {
    font-weight: 600;
}

.search-count {
    color: #aaa;
}

.search-results-list {
    margin-bottom: 2rem;
}

.search-result-item {
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-link {
    font-size: 2rem;
    font-weight: 700;
    color: #18191F;
    text-decoration: none;
    transition: color 0.2s;
}

.search-result-link:hover {
    color: #0099e5;
    text-decoration: underline;
}

.search-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Pagination */
.pagination-wrapper .page-numbers {
    display: flex;
    margin-top: 1.5rem;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.pagination-wrapper .page-numbers li {
    display: inline-block;
}

.pagination-wrapper .page-numbers li:before {
    content: none
}

.pagination-wrapper .page-numbers .current {
    background: var(--folkhus-theme-primary);
    color: #fff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.pagination-wrapper .page-numbers a {
    color: var(--folkhus-text-primary);
    background: var(--folkhus-bg-secondary );
    border-radius: 6px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background 0.2s;
}

.pagination-wrapper .page-numbers a:hover {
    opacity: 0.85;
}

/* Pre-footer */
.pre-footer-spacer {
    height: 60px;
    background-color: var(--folkhus-bg-primary);
}

.woocommerce .pre-footer-spacer {
    background-color: #fff;
}

.prefooter-section {
    background-color: var(--folkhus-theme-primary);
    background-image: url(../images/bg-prefooter-section.svg);
    background-repeat: no-repeat;
    background-position: left center;
}

.prefooter-section .content-wrapper {
    padding: 40px 0;
}

/* Footer */
footer#colophon {
    background-color: var(--folkhus-text-primary);
    color: #fff;
    padding: 60px 0;
    font-size: 14px;
}

footer#colophon .subtitle {
    font-size: 20px;
    margin-bottom: 15px;
}

footer#colophon .widget-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    footer#colophon .widget-title {
        margin-bottom: 10px;
    }
}

footer#colophon ul.nav {
    margin: 0;
}

footer#colophon a {
    color: #fff;
    text-decoration: none;
}

footer#colophon a:hover {
    color: inherit;
    opacity: 0.9;
}

footer#colophon a.btn-folkhus {
    min-width: 200px;
    padding: 11px 15px;
    text-align: left;
    text-transform: none;
    text-transform: uppercase;
}

footer#colophon a.btn-folkhus:hover {
    color: var(--folkhus-text-primary);
}

footer#colophon a img[src$=".svg"] {
    max-width: 24px;
}

@media (max-width: 1024px) {
    .container-boxed {
        max-width: 800px;
    }
}
