/* Global border-radius for all elements */
* {
    border-radius: 6px !important;
}

.body {
    font-family: Roboto;
    font-size: 10px;
    color: #000000;
}
.row{
    margin-right: 0px;
    margin-left: 0px;
    padding-left:0px;
    margin-top:0px;
}
.xsbox_start{
    margin-right: 0px;
    margin-left: 0px;
    padding-left:0px;
    margin-top:0px;
    margin-bottom:0px;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 {
    position: relative;
    min-height: 1px;
    padding:0px;
}
h1{
    all: unset;
}
.marginAuto{
    margin:auto;
}
.max_width_90{
    width: 95%;
    margin-top: 8px;
}
.frame{
    max-width:1280px;
    /* padding:10px; */
    margin:auto;
}

/* Constrain children so they can't force the page wider than the .frame container
   This caps direct children to the frame width and ensures padding doesn't cause overflow. */

.header{
    margin:0;
}
.headerframe{
    padding:0px;
}

.mapouter{
    height:100%;
}
.marginPaddingRight0{
    margin-right: 0px;
    padding-right: 0px;
}
.marginTop-10{
    margin-top: -10px;
}
.vertCent{
    margin-top: auto;
    margin-bottom: auto;
}

/* Switch button */
.btn-default.btn-on.active{background-color: #177C19;color: white;}
.btn-default.btn-off.active{background-color: #177C19;color: white;}

.toprow {
    background-color: #d2cfcf;
    padding: 5px;
    font-size: calc(0.65em + 0.3vw);
    font-weight: 900;
    color: #000;
    text-align: center;
}
.topmenu{
    background-color: white;
    border-color: white;
    font-size: 1.3em;
    margin-right: -40px;
    padding-right:0px;
}
.navbar-inverse .navbar-nav > li > a {
    color: #666;
}
.navbar-inverse .navbar-nav > li > a {
    color: #177C19;
}
.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color:#333;
}
.navbar-inverse .navbar-toggle {
    border-color: #177C19;
}
.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #177C19;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color:#CCC;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color:#177C19;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    color: #fff;
    background-color: #177C19;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #4d4d4d;
    font-weight: 600;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #000;
    background-color: transparent;
}
.navbar-right .dropdown-menu {
    right: auto;
}
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 8px dashed;
    border-top: 4px solid\9;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    margin-top: -2px;
}
.moms{
    padding-right: 14px;
    color: #177C19;
    font-size: 14px;
}
.moms_xs{
    padding-right: 0px;
    color: #177C19;
    margin-top: -20;
    width:98%;
    font-size: 0.8em;
}
.tpframe{
    padding:10px;
    margin-bottom:-50px;
    display: flex;
    align-items: flex-end;
    min-height: 150px;
    width: 100%;
}

/* --- Ensure .tpframe has height and content is bottom-aligned --- */
.tpframe {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  width: 100%;
  /* Remove clearfix if present, not needed with flex */
}

@media (max-width: 600px) {
  .tpframe {
    min-height: 80px;
    flex-direction: column;
    align-items: stretch;
  }
}

.topbanner{
    padding: 0px;
}
.topmain{
    max-width: 100%;
    margin-right: 5px;
}
.topRowBock{
    padding: 0px 12px 2px 12px;
}
.topR1{
    padding-right:5px;
}
.topR2{
    padding-left:5px;
}
/* Breda bannern i toppen */
.topB1 {
    margin-right: 10px;
    margin-bottom: 10px;
}
.box1{
    margin: 0px 10px 10px 0px;
    position: relative;
    cursor: pointer;
}
.box2{
    margin:0px 10px 0px 0px;
    position:relative;
    cursor:pointer;
}
.boxXS{
    margin:0px 10px 10px 0px;
    position:relative;
    cursor:pointer;
}
.euro5{
    width: 70px;
}
.euro5box{
    position: absolute;
    left: 0%;
    top: 50%;
    text-align: center;
    padding: 5px;
}
.euro5box_xs{
    position: absolute;
    left: 0%;
    top: 40%;
    text-align: center;
    padding: 5px;
}
.rightbox1{
    height:
}
.camera{
    margin-top:5px;
    margin-left:90px;
}
.cameratext{
    text-align: center;
    color: #464646;
    padding: 8 15 0 0;
}
.logbox{
    color:#FFFFFF;
    padding: 5px 0px 5px 20px;
    font-size:16px;
    font-weight:900;
}
.logga {
    z-index: 100;
    position: inherit;
    margin-top: -40px;
    max-width: 182px; /* Increased from 140px by 30% */
}
.pos{
    position:relative;
    padding: 0;
}
.padding0{
    padding:0px;
}
.loggaOverlay {
    width: 300px;
    position: absolute;
    top: 55%;
    right: 0;
    background-color: #177c19;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px 0px 0px 5px;
    font-size: 18;
}
.tpleft{
    text-align:right;
    padding: 5px;
    font-size:12px;
    font-weight:900;
    margin-top: -25px;
}
.tpleftpart{
    padding: 5px;
}
.topspacer{
    padding-top: 10px;
}
.devider {
    background-color: #177C19;
    text-align: left;
    font-size: 20px;
    font-weight: 900;
    color: #FFF;
    padding-left: 25px;
    padding-top: 5px;
    margin-top: 30px;
    min-height: 40px;
    max-height: 90px;
    /* width: 90%; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    box-sizing: border-box;
    width: 100%;
}
/* When used together with Bootstrap .row, avoid negative horizontal margins that make it stick out */
.row.devider {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.start{
    margin-top: 0px;
}
.deviderUndersida{
    margin-top:45px;
}
.boxrow{
    margin-right: -10px;
}
.top_box{
    margin-bottom: 10px;
}
.box{
    border-style: solid;
    border-width: 1px;
    border-color:#177C19;
    background-color: #177c19;
    margin:0px 10px 10px 0px;
    cursor:pointer;
}
.box:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
}
.hov:hover{
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
}
.leasing {
    width: 90%;
    margin: auto;
    padding: 10px;
    text-align:center;
}
.box2AlR{
    text-align: right;
}
.boxpicframe{

    background-color:#FFFFFF;
}
.boxInfoFrame{

    padding: 0px 5px 0px 5px;
}
.boxpic{
    width:80%;
    margin:auto;
    padding:4px;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .boxpic{
        margin-top: 50px;
    }
}
.boxpic:hover{
    width:80%;
}
.boxheading1{
    color: #FFF;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    padding: 3px 0px 3px 0px;
    height: 4.25rem;
}
.boxheading2{
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 3px 0px 3px 0px;
    height: 3.25rem;

}
.boxpoints{
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    padding: 3px 0px 3px 10px;
    height: 7rem;
}

.boxPcont2{
    width: 150px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0px;
}
.boxPcont3{
    z-index: 9;
    background: #177c19;
    color: #FFF;
    text-align: center;
    font-weight: 900;
    border-radius: 0px 0px 0px 10px;
}
.pointsStart {
    color: white;
    font-weight: unset;
    text-align: center;
    font-size: 14px;
}

.copyright{
    text-align: center;
    font-size: 10px;
}
.relrubrik {
    font-weight: bold;
    text-align:center;
    height:70px;
}
.pointer{
    cursor: pointer;
}
.relshort {
    font-size: 1em;
    font-style: italic;
    padding-left: 5;
    height: 45;
}
.relprice {
    color: white;
    font-size: 1.2em;
    font-weight: 900;
    background-color: #177C19;
    height: 35px;
    text-align: center;
    width: 95%;
    margin-bottom: 2px;
    margin-top: 15px;
    margin: 15px auto 5px auto;
}
.proddist{
    margin-top: 10px;
}
.snow {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0px 0px 10px 0px;
    border-width: 1px;
    border-style: double;
    border-color: #FF9900;
    padding: 5px;
}
.snowProduct {
    width: 90%;
    margin: auto;
    margin-bottom: 10px;
}

.topline {
    background: #e8e8e8;
    /* margin-left: 20%; */
    padding-left: 20%;
}
.bildruta {
    padding: 0 20 20 20;
    margin-bottom:10px;
}
.proddesc {
    font-size: 2.5em;
    color: #585858;
    text-align: left;
    line-height: 1.2em;
    background-color: white;
    word-wrap: break-word;
    padding: 0px 10px 0px 10px;
    font-weight: bold;
    padding: 40 0 20 30;
}
.proddescextra {
    font-size: 1.4em;
    color: #585858;
    outline-color: #333333;
    text-align: left;
    background-color: white;
    font-style: italic;
    padding-left: 30px;
    padding-bottom: 25px;
}
.points {
    padding-left: 20px;
    padding-bottom: 15px;
    position: relative;
    line-height: 1.8;
    font-size: 1.0em;
    font-style: italic;
    padding-left: 50px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.prisskylt {
    margin-left: 8%;
}
.pris {
    font-size: 40px;
    font-weight:900;
    padding-left: 20px;
    width: 90%;
    margin: auto;
    margin-top: -10px;
    background: #177C19;
    color: white;
    text-align: center;
}
.lagerstatus {
    width: 90%;
    background-color: bisque;
    margin: auto;
    text-align: center;
    font-size: 0.8em;
}
.prodleft{
    margin-right: 10px;
}
.prodright{
    margin-right: 10px;
}
.box_alt{
    border-style: solid;
    border-width: 1px;
    mergin-right: 10px;
    margin-right: 10px;
    margin-top: 10px;
    border-color:  #177C19;
    background-color:#FFFFFF;
}
.paketrabatt {
    font-style: italic;
    color: red;
}
.contentrubrik {
    font-weight: 700;
    padding-bottom: 10px;
}
.contName{
    padding-left: 4;
}
.contPrice{
    text-align: right;
}
.contRed{
    color: red;
}
.contBold{
    font-weight:700;
}
.contBox{
    width:90%;
    margin:auto;
    padding-bottom:10px;

}
.contRubrik {
    font-weight: 900;
    padding-left: 20px;
    width: 100%;
    margin: auto;
    margin-top: -10px;
    background: #177C19;
    color: white;
    text-align: center;
    font-size: 1.4em;
}
.nav-tabs {
    border-bottom: 0px solid #ddd;
}
.euro5_row {
    width: 90%;
    margin: auto;
    margin-top: -80px;
    margin-bottom: 20px;
}
.euro5_pic {
    margin-left: auto;
    margin-bottom: 20px;
    width: 100px;
}
.prod_kop {
    width: 90%;
    color: #fff;
    font-weight: 900;
    background: #50a932;
    margin: 15px auto 15px auto;
    text-align: center;
    font-size: 1.2em;
    padding: 20px 0 20px 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    outline: none;
}
.prod_kop:hover {
    opacity: 1;
    background: #4eb92a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);

}
.accordion {
    background-color: #dfdfdf;;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
    transition: 0.4s;
}
.accordion:hover {
    background-color: #bfb6b6;
}
.toprubrik {
    color: white;
    padding: 1px 0px 0px 15px;
    font-size: 1.2em;
    font-weight: 900;
    background-color: #177C19;
    min-height:35px;
}
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom:0px;¨
margin-right:10px;
}
.paneltext{
    padding:15px;
    font-size: 1.0em;
}

.modal-header{
    background-color: #e7ecea;
    padding: 25px 15px 10px 15px;
}
.modal-footer {
    padding-top: 0rem;
    color: white;
}
.modal-pic{
    padding:10px;
}
.btn-info {
    --bs-btn-color: #f9f5f5;
    --bs-btn-hover-color: #f9f5f5;
    --bs-btn-active-color: #f9f5f5;
    --bs-btn-disabled-color: #f9f5f5;
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #54ca29;
    --bs-btn-border-color: #54ca29;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #36b51b;
    --bs-btn-hover-border-color: #36b51b;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .nav-link{   }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}
/* ============ desktop view .end// ============ */
/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 0px) and (max-width: 380px){

    .textsize12{
        font-size: 10px;

    }
    .loggaOverlay {
        width: 150px;
        position: absolute;
        top: 55%;
        right: 0;
        background-color: #177c19;
        color: white;
        font-weight: bold;
        padding: 10px;
        border-radius: 5px 0px 0px 5px;
        font-size: 12px;
    }
    .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
        margin-right: 0px;
        margin-left: -15px;
    }
    .logga {
        z-index: 100;
        position: inherit;
        max-width: 100px;
        margin-left: -30px;
    }
    .hamburger{
        margin-right:-25px;
    }
    .momsBox{
        margin-right: -25px;
        margin-top: 10px;
    }
    .tpleft{
        margin-top: -90px;
        margin-bottom: 50px;
    }
    .boxpic {
        padding-top: 30px;
    }
    .devider {
        font-size: 16px;
        padding-left: 10px;
    }
    .vis {
        display: none;
    }
    .vis380{
        display: inline;
    }
    .paketPrisXS {
        text-align: right;
    }
}
@media only screen and (min-width: 381px) and (max-width: 767px){
    .textsize12{
        font-size: 12px;
    }
    .logga {
        z-index: 100;
        position: inherit;
        margin-top: -22;
        margin-bottom: -300;
        max-width: 182px; /* Increased from 140px by 30% */
        margin-left: -25px;
    }
    .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
        margin-right: 0px;
        margin-left: -15px;
    }
    .loggaOverlay {
        width: 30%;
        position: absolute;
        top: 55%;
        right: 0;
        background-color: #177c19;
        color: white;
        font-weight: bold;
        padding: 10px;
        border-radius: 5px 0px 0px 5px;
        font-size: 12px;
    }
    .hamburger{
        margin-right:-25px;
    }
    .momsBox{
        margin-right: -25px;
        margin-top: 10px;
    }
    .tpleft{
        margin-top: -90px;
        margin-bottom: 50px;
    }
    .vis {
        display: none;
    }
    .vis767{
        display: inline;
    }
    .paketPrisXS {
        text-align: right;
    }
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hamburger{
        margin-top: -110px;
    }
    .textsize12{
        font-size: 10px;
    }
    .boxheading1{
        height: 4.5rem;
    }
    .vis {
        display: none;
    }
    .vis991{
        display: inline;
    }
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .hamburger{
        margin-top: -110px;
    }
    .textsize12{
        font-size: 11px;
    }
    .vis {
        display: none;
    }
    .vis1199{
        display: inline;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hamburger{
        margin-top: -110px;
    }
    .textsize12{
        font-size: 14px;
    }
    .vis {
        display: none;
    }
    .vis1200{
        display: inline;
    }
}

.euro5_pos {
    position: absolute;
    border-color: #FFF;
    left: -10px;
    bottom: 2px;
    width: 80px;
}




@media only screen and (min-width: 0px) and (max-width: 380px){
    .box {
        height: 500px;
    }
    .euro5_pos{
        width: 90px;
    }
    .cartTotal{
        padding-top: 20px;
    }
    .cartPicMarg{
        margin-bottom: -30px;
    }
}
@media only screen and (min-width: 381px) and (max-width: 550px){
    .box {
        height: 600px;
    }
    .fotterOmText{
        font-size: 0.8em;
    }
    .euro5_pos{
        width: 120px;
    }
    .cartTotal{
        padding-top: 20px;
    }
    .cartPicMarg{
        margin-bottom: -40px;
    }
}
@media only screen and (min-width: 551px) and (max-width: 576px){
    .box {
        height: 650px;
    }
    .euro5_pos{
        width: 180px;
    }
    .cartPicMarg{
        margin-bottom: -40px;
    }
}
@media only screen and (min-width: 577px) and (max-width: 630px){
    .box {
        height: 420px;
    }
}
@media only screen and (min-width: 631px) and (max-width: 680px){
    .box {
        height: 440px;
    }
    .modalTotPad{
        padding-right: 40px;
    }
}
@media only screen and (min-width: 681px) and (max-width: 767px){
    .box {
        height: 500px;
    }
    .modalTotPad{
        padding-right: 40px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .box {
        height: 430px;
    }
    .euro5_pos {
        width:50px;
    }
    .boxheading2{
        height: 4rem;
    }
    .modalTotPad{
        padding-right: 40px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .box {
        height: 455px;
    }
    .modalTotPad{
        padding-right: 40px;
    }
}
@media (min-width: 1200px) {
    .box {
        height: 435px;
    }
    .euro5_pos {
        position: absolute;
        border-color: #FFF;
        bottom: 2px;
        width: 80px;
    }
    .modalTotPad{
        padding-right: 40px;
    }
}

/* Bottom */

.footerBox{
    background-color: #d2cfcf;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding:20px;
}
.fotterHeading{
    font-weight:700;
    font-size: inherit;
    margin-top: inherit;
    margin-bottom: inherit;
    font-family: inherit;
    line-height: 1.1;
    color: inherit;
}
.fotterText{
    font-size: 14px;
}
.footerKoTel{
    margin: 20px;
}
.footerKoTelNr{
    font-weight:700;
    padding:10px;
}
.footerKoTime{
    padding-top:30px;
    font-weight:400;
}
.footerMapBox{
    background-color: #d2cfcf;
    padding: 10px 10px 10px 10px;
    font-size: 14px;
    margin-right: 10px;
    height: 340px;
}
.footerMapHeading{
    font-weight:700;
}
.footerMapSq{
    padding-right: 20;
}
.footerKoTelNr{
    font-weight:700;
}
.footerKoTime{
    padding-top:30px;
    font-weight:400;
}

@media only screen and (min-width: 0px) and (max-width: 991px){

}

@media (min-width: 992px) {
    .footerBox{
        height: 340px;
    }
}
/* FOOTER END */

.cart-icon-big {
    font-size: 3em !important;
    line-height: 1.1em !important;
    vertical-align: middle !important;
    margin-top: -2px !important;
    margin-bottom: -2px !important;
    padding-left: 8px;
    padding-right: 8px;
    display: inline-block;
}

/* Cart icon and badge sizing (ensure cart styles are present for top.php) */
.cart-icon {
    font-size: 34px; /* bigger icon */
    vertical-align: middle;
    line-height: 1;
    color: inherit;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    transform: translate(25%, -25%);
    font-size: 13px;
    padding: 4px 7px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
    display: inline-block;
}

@media (max-width: 768px) {
    .cart-icon { font-size: 26px; }
    .cart-badge { font-size: 11px; padding: 3px 6px; min-width: 18px; }
}

/* Ensure xs fixed cart is visible and above other elements */
.xs-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    right: 12px !important;
    top: 10px !important;
    z-index: 2147483647 !important;
    background: rgb(23 124 25) !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
    display: block !important;
    height: 50px;
    width: 50px;
    overflow: visible !important; /* allow badge to extend without clipping */
}
.xs-cart .xs-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.xs-cart .cart-icon {
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.xs-cart .cart-badge {
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    transform: none !important; /* cancel generic translate that pushes it out */
    border-radius: 999px !important; /* override global * { border-radius } */
    z-index: 2147483647 !important; /* always on top */
    margin-top: 3px !important;
    margin-right: 3px !important;
}
@media (max-width: 768px) {
    .xs-cart {
        right: 8px !important;
        top: 8px !important;
        height: 44px;
        width: 44px;
    }
    .xs-cart .cart-icon {
        font-size: 20px !important;
    }
}

/* Lägger till och förstärker CSS för .xs-contact så att den alltid är placerad till höger på skärmen, med rätt position, storlek och centrering – oberoende av .xs-cart. */
.xs-contact {
    position: fixed !important;
    right: 12px !important;
    top: 70px !important;
    z-index: 2147483647 !important;
    background: rgb(23 124 25) !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
}
.xs-contact .xs-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
@media (max-width: 768px) {
    .xs-contact {
        right: 8px !important;
        top: 58px !important;
        height: 44px;
        width: 44px;
    }
}

/* Fixed Facebook icon under contact icon */
.xs-facebook {
    position: fixed !important;
    right: 12px !important;
    top: 130px !important; /* below .xs-contact (which is at ~70px) */
    z-index: 2147483647 !important;
    background: #1877F2 !important; /* Facebook blue */
    padding: 4px 6px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
}
.xs-facebook .xs-btn-inner { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.xs-facebook i { font-size: 24px; color:#fff; }
@media (max-width: 768px) {
  .xs-facebook { right: 8px !important; top: 108px !important; height: 44px; width: 44px; }
  .xs-facebook i { font-size: 20px; }
}

/* Visa alltid dropdown-menyn i navbaren på små skärmar när menyn är öppen */
@media (max-width: 767.98px) {
  .navbar .nav-item .dropdown-menu {
    display: block !important;
    position: static;
    float: none;
    background: none;
    border: none;
    box-shadow: none;
    text-align: right !important; /* Högerställ undermenyn på små skärmar */
  }
  .navbar .nav-item .dropdown-menu > li,
  .navbar .nav-item .dropdown-menu > li > a,
  .navbar .nav-item .dropdown-item {
    text-align: right !important;
    justify-content: flex-end !important;
    width: 100%;
    padding-right: 16px;
  }
  .navbar .nav-item .dropdown-toggle::after {
    display: none;
  }
}
.toprow-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.toprow-item {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  width: auto;
  box-sizing: border-box;
  background: none !important;
}
@media (max-width: 600px) {
  .toprow-inner {
    flex-direction: column;
    gap: 8px;
  }
  .toprow-item {
    width: 100%;
    justify-content: center;
  }
}

/* Layout alignment fixes: restore Bootstrap row gutters and container width */
/* .frame > .container.custom-responsive {
  max-width: 1280px !important; / match .frame max width /
  padding-left: 12px !important;  / standard inner padding /
  padding-right: 12px !important;
} */
/* Reapply Bootstrap 5 row horizontal negative margins so columns align with container edges */
/* .row {
  margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
  margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
  / do not force custom padding on .row; let Bootstrap handle gutters /
  padding-left: 0 !important;
} */

/* Utility clearfix for floated children */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Add clearfix to .tpframe and .headerframe for robust height */
.tpframe, .headerframe {
  /* If not already flex, ensure clearfix for floated children */
  /* If you want to use flex instead, use: display: flex; flex-wrap: wrap; */
  /* For now, just ensure clearfix for compatibility */
  /* If you want to switch to flex, let me know! */
  /* Add clearfix class for legacy float support */
}

/* Revert hide/show breakpoint: remove the 1350px rule by overriding it back to 1100px scope off */
@media (max-width: 1350px) {
  .xs-cart.show-on-scroll, .xs-contact.show-on-scroll { display: flex !important; }
}

/* Revert cart badge positioning to earlier behavior; keep high z-index neutralized */
.xs-cart .cart-badge {
  /* keep as positioned by template; do not force margins beyond earlier rules */
}

/* Restore column gutters inside the main content container */
/* .frame > .container.custom-responsive .row > [class^="col-"],
.frame > .container.custom-responsive .row > [class*=" col-"] {
  padding-left: calc(var(--bs-gutter-x, 1.5rem)/2) !important;
  padding-right: calc(var(--bs-gutter-x, 1.5rem)/2) !important;
} */
/* Ensure divider rows align with container edges like all other rows */
.row.devider {
  margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
  margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem)) !important;
}
