/* Shared layout for the public site, including the legacy order form. */
body { line-height: 1.6; }
body .container { width: calc(100% - 40px); }
.column { min-width: 0; }
iframe, video, embed, object { max-width: 100%; }
.header { height: auto; }
.header .row { display: flex; align-items: center; }
.header .logo { margin: 0; padding: 24px 0; }
.header .logo h1 { font-size: clamp(23px, 3.2vw, 34px); margin: 0; line-height: 1.2; }
.header .logo h3 { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.header .contact { float: none; margin: 0; display: flex; flex-direction: column; align-items: flex-end; }
.header .contact a { color: #93004f; padding: 4px 0; font: 16px/1.5 'Open Sans', sans-serif; }
.navigation { border-bottom: 2px solid #93004f; clear: both; }
.navigation ul.nav-links { float: none; display: flex; flex-wrap: wrap; width: 100%; border: 0; }
.navigation .nav-links li { padding: 0; height: auto; line-height: inherit; background: transparent; }
.navigation .nav-links a { display: block; padding: 14px 20px; min-height: 48px; color: #93004f; text-transform: uppercase; font-size: 15px; }
.navigation .nav-links a:hover, .navigation .nav-links a[aria-current="page"] { color: white; background: #93004f; }
.nav-toggle { display: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #d87816; outline-offset: 3px; }
.main { clear: both; }
.mainContent h1 { line-height: 1.25; }
.mainContent p, .pageContent p, .the-offers .grid p { line-height: 1.7; }
.secondContent .orderKnapp, .orderKnapp { max-width: 100%; height: auto; min-height: 56px; line-height: 1.4; padding: 18px 12px; }
.blanket { width: 100%; max-width: 100%; }
.blanket input, .blanket textarea, .blanket select, .wpcf7-form-control-wrap { max-width: 100%; }
.pageContent, .sidebar1, .blanket { overflow-wrap: anywhere; }
.footer a { display: inline-block; padding: 4px 0; }
.price-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-scroll table.tableizer-table { width: 100%; min-width: 570px; border-collapse: separate; border-spacing: 0; }
.price-scroll th, .price-scroll td { white-space: nowrap; padding: 10px 8px; }
.price-scroll tbody th { position: sticky; left: 0; z-index: 1; background: #fff; color: #2b2b2b; }
.price-scroll td { background: #2b2b2b; }
.price-hint { display: none; }
body #wm-form { max-width: 100%; display: flow-root; }
body #wm-form .wm-body { display: flow-root; }
body #wm-form input[type="file"] { width: 100%; max-width: 100%; font-size: 14px; }
body #wm-form input[type="file"]::file-selector-button { padding: 10px; margin-right: 8px; cursor: pointer; }
body #wm-form .form-control { max-width: 100%; }
body #wm-form textarea { resize: vertical; }
body #wm-form .checkbox label, body #wm-form .wm-shipping label { padding-top: 8px; padding-bottom: 8px; }
body #wm-form .wm-head { min-height: 48px; padding: 12px; }
body #wm-form .wm-head h3 { font-size: 19px; line-height: 1.4; }

@media (max-width: 1000px) {
    .order .offers > .column.two-thirds { width: 100%; float: none; margin: 0; }
    .order .offers > .column.one-third { width: 100%; float: none; margin: 32px 0 0; }
    .order .offers > .column.one-third .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
    .order .offers > .column.one-third .grid h3 { grid-column: 1 / -1; }
    .order .offers > .column.one-third .grid img { width: 100%; max-width: 280px; margin: auto; }
    .order .offers > .column.one-third .grid p { align-self: center; }
}
@media (max-width: 800px) {
    .column.full, .column.two-thirds, .column.half, .column.one-third, .column.one-fourth { float: none; margin: 0; width: 100%; }
    .header .row { display: block; }
    .header .logo { padding: 20px 0 12px; }
    .header .logo h1 { font-size: clamp(23px, 6.8vw, 32px); }
    .header .contact { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-bottom: 12px; align-items: center; }
    .header .contact a { font-size: 14px; min-height: 40px; display: flex; align-items: center; }
    .navigation .nav-toggle { width: 100%; align-items: center; justify-content: space-between; background: white; border: 0; color: #93004f; font: 700 16px/1.5 'Open Sans', sans-serif; padding: 12px 0; min-height: 48px; cursor: pointer; }
    .navigation.is-enhanced .nav-toggle { display: flex; }
    .navigation ul.nav-links { flex-direction: column; }
    .navigation.is-enhanced:not(.is-open) .nav-links { display: none; }
    .navigation .nav-links li, .navigation .nav-links a { width: 100%; }
    .navigation .nav-links a { padding: 12px; }
    .main { padding: 24px 0; }
    .mainContent .column { padding: 0; }
    .mainContent h1 { padding-top: 0; font-size: clamp(27px, 7vw, 36px); margin-top: 0; }
    .secondContent .column { float: none; margin: 20px 0 0; text-align: left; }
    a.orderKnapp { width: 100%; font-size: 18px; }
    .the-offers { padding: 32px 0; }
    .offers { padding: 0; }
    .offers .column + .column { margin-top: 28px; }
    .the-offers .grid > .column { padding: 0 0 20px; }
    .prislista { padding: 32px 0; }
    .prislista .column + .column { margin-top: 32px; }
    .prislista h1, .gallery h1 { font-size: 28px; }
    .prislista .price-scroll table { width: 100%; font-size: 14px; }
    .price-hint { display: block; font-size: 14px !important; }
    .omdomen { padding: 20px; }
    .sidebar1 { padding: 20px; }
    .sidebar1 h1 { margin-top: 0; }
    .pageContent { padding-bottom: 16px; }
    .blanket .blanketinput, .blanket .blankets { width: 100%; font-size: 16px; }
    .blanket input:not([type="checkbox"]):not([type="radio"]), .blanket select { min-height: 44px; }
    .blanket textarea { min-height: 120px; }
    .frontSlider { height: auto; }
    .frontPics:has(.frontSlider:empty) { display: none; }
    .footer { padding: 24px 0 80px; text-align: left; font-size: 14px; }
    .footer .column { padding: 10px 0; }
    body #wm-form .wm-column, body #wm-form .wm-column.two-thirds { float: none; display: block; width: 100%; min-width: 0; min-height: 0; margin: 0 0 20px; }
    body #wm-form .form-control { min-height: 46px; font-size: 16px; }
    body #wm-form .wm-head h3 { font-size: 18px; max-width: 100%; }
    body #wm-form .wm-head .price { margin-right: 8px; }
    body #wm-form .wm-body { padding: 12px; }
    body #wm-form .checkbox label, body #wm-form .wm-shipping label { min-height: 44px; }
    body #wm-form .wm-button { min-height: 48px; white-space: normal; }
    body #wm-form .wm-button.submit { float: none; max-width: none; width: 100%; margin: 20px 0; }
    body #wm-form .grand-total { font-size: 24px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
