/* =============================
   LAYOUT – SIDEBAR + INNHOLD
============================= */

/* Mobilmeny er skjult som standard (vises på mobil via JS) */
.mobile-sidebar {
    display: none;
}

.page-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 20px; /* fjern topp-padding */
}


.page-content {
    flex: 1;
}




/* =============================
   SIDEBAR – HOVEDOPPSETT (DESKTOP)
============================= */

.left-sidebar {
    width: 260px;
    flex-shrink: 0;

    position: sticky;
    top: 36px;          /* JUSTER DENNE for høyere/lavere */

    margin: 0 30px 0 40px;
   
    padding: 6px;


}


/* SIDEBAR-TITTEL */
 .sidebar-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 12px;   
    color: #1a1a1a;
}



/* =============================
   MENYKNAPPER – HOVEDDESIGN
============================= */

.menu-btn,
a.menu-btn {
    display: flex;
    width: 100%;
    box-sizing: border-box;

    background: #0a4a8b;
    color: white !important;

    padding: 12px 16px;
    border: none;
    border-radius: 6px;

    margin-bottom: 10px;

    text-align: left;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
    justify-content: space-between;
    align-items: center;

    transition: background 0.2s ease, transform 0.15s ease;
}

body {
    background: #e9eef7; /* lys grå/blå */
}

.icon-view {
    width: 70px;
    height: 70px;
    cursor: pointer;
    opacity: 0.85;
}
.cart-button {
    background: #395fdd;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

.cart-button:hover {
    background: #2f4fc1;
}

.icon-view:hover {
    opacity: 1;
}

.price-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: radial-gradient(circle at 30% 30%, #ffe89a, #d4a017);
    border: 2px solid #b58c00;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 14px;
    color: #222;

    flex-shrink: 0;
}



/* Hover */
.menu-btn:hover,
a.menu-btn:hover {
    background: #0e5ba8;
    transform: translateX(3px);
}

/* Pil-ikon */
.menu-btn span:last-child {
    font-weight: bold;
    font-size: 16px;
}

.menu-btn-green {
    background: #0d5f34 !important;   /* Mørk grønn */
    color: #ffffff !important;        /* Hvit tekst */
    border: 1px solid #094926 !important;
}

.menu-btn-green:hover {
    background: #0b4d2b !important;
}


/* =============================
   UNDERMENYER (DESKTOP)
============================= */

.submenu {
    display: none;
    padding-left: 5px;
    margin-bottom: 15px;
}

.submenu a {
    display: block;
    background: #1667b3;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 6px;
    font-size: 14px;

    text-decoration: none !important;

    transition: background 0.2s ease, transform 0.15s ease;
}

.submenu a:hover {
    background: #1b75ca;
    transform: translateX(3px);
}

/* === FIX FOR KATEGORISIDER === */

.page {
    display: flex;
    align-items: flex-start;
}
.page {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}


.content {
    flex: 1;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-inner {
    margin-top: 0 !important;
    padding-top: 0px;
}

/* === KATEGORI-TITTEL === */
.category-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}


/* =============================
   MOBILE SIDEBAR – LAYOUT
============================= */

@media (max-width: 900px) {

    /* PC-layout blir én kolonne på mobil */
    .page-wrapper {
        display: block;
        padding: 0 0 40px 0;
    }

    /* Skjul venstre sidebar fullstendig på mobil */

}
/* =========================
   SIDEBAR – HURTIGHJELP
========================= */


/* Gullknapp */
.help-cta {
    display: block;
    text-align: center;
    padding: 12px 14px;

    font-size: 15px;
    font-weight: 700;
    color: #3a2b00;
    text-decoration: none;

    border-radius: 8px;
    border: 1px solid #b8941f;

    background: linear-gradient(
        to bottom,
        #fff7c7 0%,
        #f4d972 30%,
        #d9b743 65%,
        #b8941f 100%
    );

    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.45),
        inset 0 -2px 4px rgba(0,0,0,0.25),
        0 2px 6px rgba(0,0,0,0.2);

    transition: all 0.15s ease;
}

.help-cta:hover {
    background: linear-gradient(
        to bottom,
        #fff9d8 0%,
        #f7e58a 35%,
        #e0be4a 65%,
        #c49c22 100%
    );
    transform: translateY(-1px);
}
/* Fjern link-underline på Hurtighjelp-knappen */
.help-cta:hover {
    text-decoration: none;
}
/* =========================
   SIDEBAR – SEKSJONSTITLER
========================= */
/* =========================
   SIDEBAR – SEKSJONSTITLER
=========================

/* .sidebar h3 {
    font-size: 22px;        
    font-weight: 700;
    color: #1c2a4b;
    margin: 24px 0 12px;
    letter-spacing: 0.2px;
}

/* .sidebar h3 {
    border-bottom: 1px solid #e3e6f2;
    padding-bottom: 6px;
} */
/* =========================
   SIDEBAR – SEKSJONSTITLER
========================= */

/* Sanger / Taler */
 .sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #1c2a4b;
 /*   margin: 28px 0 14px;*/
    letter-spacing: 0.2px;
}

/* Hurtighjelp 
/*.sidebar-help h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1c2a4b;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}*/
/* .sidebar-title,
.sidebar-help h3 {
    padding-bottom: 6px;
}*/
/* =========================================
   MOBIL – SIDEBAR SKAL ALDRI VISES
========================================= */
@media (max-width: 1024px) {
  .left-sidebar {
    display: none !important;
  }
}
