:root {
    --screen-width: 1600px;
    --small-border-radious: 3px;
    --medium-border-radious: 5px;
    --margin-top-big: clamp(80px, 12vw, 200px);
    --margin-top-medium: clamp(40px, 6vw, 100px);
    --margin-top-small: clamp(20px, 3vw, 50px);
    --fontsize-title: clamp(40px, 6vw, 96px);
    --fontsize-title-medium: clamp(28px, 4vw, 64px);
    --fontsize-title-small: clamp(22px, 3vw, 40px);
    --fontsize-text-big: clamp(18px, 2.5vw, 32px);
    --fontsize-text-medium: clamp(15px, 1.5vw, 20px);
    --fontsize-text-small: clamp(13px, 1.2vw, 16px);
    --background-colour: #fafafa;
    --text-color: #020202;
    --background-dark: #020202;
    --main-color: #FF6000;
    --secondary-color: #009FFF;
    --orange-background: #CC4D00;
    --dark-gray: #404040;
    --nav-height: clamp(70px, 9vw, 130px);
    --nav-height-shrunk: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
    font-size: var(--fontsize-text-medium);
}

body {
    background-color: var(--background-colour);
    overflow-x: hidden;
}

/* ── HEADER ── */
header {
    width: 100%;
    height: 100vh;
    position: relative;
}

.headerBillede {
    width: 95%;
    height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

#headerOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff81;
    z-index: 1;
}

.headerContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

#headerTitle {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: var(--fontsize-title);
}

.headerContent h4 {
    font-size: var(--fontsize-text-big);
    color: var(--text-color);
    font-weight: 400;
    margin-top: 10px;
}

.headerContent input {
    width: min(730px, 90%);
    height: 50px;
    margin-top: 50px;
    border-radius: var(--small-border-radious);
    border: none;
}

.headerContentLower {
    margin-top: 20px;
}

.headerContentList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.headerContentList li {
    list-style: none;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--medium-border-radious);
}

.headerContentList li a {
    color: #fff;
    text-decoration: none;
}

/* ── NAV ── */
#nav {
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
    height: var(--nav-height);
    background-color: #fafafabd;
    backdrop-filter: blur(8px);
    transition: height 0.25s ease;
}

#nav.shrink {
    height: var(--nav-height-shrunk);
}

.navTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(var(--screen-width), 92%);
    margin: 0 auto;
    height: 100%;
}

.navMiddle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: clamp(40px, 5vw, 80px);
    width: auto;
}

.navLeftSide ul,
.navRightSide ul {
    display: flex;
    gap: clamp(10px, 2vw, 20px);
    list-style: none;
}

.navLeftSide ul li a,
.navRightSide ul li a {
    color: #020202;
    text-decoration: none;
    font-size: var(--fontsize-text-medium);
    white-space: nowrap;
}

/* ── NAV BOTTOM SEARCH BAR ── */
.navBottom {
    margin: 0 auto;
    width: min(730px, 90%);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafabd;
    border-radius: 0 0 var(--medium-border-radious) var(--medium-border-radious);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.navBottom.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.navBottom input {
    width: 100%;
    height: 80%;
    border: none;
    border-radius: var(--small-border-radious);
    margin: 0 5px;
    padding-left: 10px;
    padding-right: 10px;
}

input:focus {
    outline: none;
}

/* ── SIDE MENU ── */
.headerSideMenuCategories {
    position: fixed;
    top: var(--nav-height);
    background-color: #fafafabd;
    right: -50%;
    width: clamp(320px, 30%, 400px);
    height: fit-content;
    z-index: 999;
    backdrop-filter: blur(8px);
    border-radius: 5px;
    transition: 0.25s ease;
}

.headerSideMenuCategories.active {
    right: 0;
}

.headerSideMenuCategories.shrink {
    top: var(--nav-height-shrunk);
}

.headerSideMenuCategories h3 {
    text-align: center;
    color: var(--main-color);
    font-size: var(--fontsize-title-small);
    font-weight: 900;
}

.headerSideMenuCategories li {
    text-align: right;
    list-style: none;
    padding: 8px 0;
    margin: 0 clamp(20px, 4vw, 50px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #020202;
    cursor: pointer;
}

.headerSideMenuCategories li a {
    text-decoration: none;
    color: #020202;
    margin-left: auto;
    margin-right: 20px;
}

.closeBtn {
    background: #fafafa77;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

video {
    width: 100%;
    height: 100%;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
    .navLeftSide ul,
    .navRightSide ul {
        gap: 12px;
    }
}

/* ── MOBILE ── */

@media (max-width: 768px) {
    /* hide text links */
    .navLeftSide {
        display: none;
    }

    /* hide text links from right, keep icons */
    .navRightSide ul li:nth-child(1),
    .navRightSide ul li:nth-child(2) {
        display: none;
    }

    .navTop {
        justify-content: space-between;
    }

    .navMiddle {
        position: static;
        transform: none;
    }

    /* push wishlist + cart to the left */
    .navRightSide {
        order: -1;
    }

    /* keep burger on the right by pushing navMiddle to center */
    .navMiddle {
        order: 0;
    }

    .headerContent input {
        width: 95%;
    }

    .headerSideMenuCategories {
        width: 80%;
        right: -80%;
    }

    .headerSideMenuCategories.active {
        right: 0;
    }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
}
.skip-link:focus {
    top: 0;
}

footer{
    background: var(--background-colour);
    height: 500px;
    width: 100%;
    margin-bottom: var(--margin-top-medium);
}
.footerContent{
     width: var(--screen-width);
    min-width: var(--minWidth);
    max-width: var(--maxWidth); 
    align-items: stretch;
    margin: 100px auto;
    padding-top: 100px;
    display: flex;
}
.footerContentLeft{
    width: 100%;
    margin-right: 25px;
}
.nyhedsbrevTitelFooter{
    font-family: "Inter", sans-serif;
    font-size: var(--fontsize-title-small);
    font-weight: 900;
}
.footerContentTop form{
    border-bottom: 2px solid var(--main-color);
    max-width: 300px;
    position: relative;
    margin-top: 25px;
}
.footerContentTop form input[type="email"] {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 33px !important;
    padding: 0 30px 8px 0 !important;
    width: 100% !important;
    font-size: 20px !important;
    outline: none !important;
    color: #404040 !important;
}
.footerContentTop form input::placeholder{
    color: #404040;
}
.footerContentTop form button{
    background: none;
    border: none;
    position: absolute;
    right: 0;
    z-index: 1;
    line-height: 33px;
    cursor: pointer;
}
.footerContentTop form button img{
    overflow-clip-margin: content-box;
    overflow: clip;
    min-height: 24px;
    max-width: 30px;
    margin-top: 25%;
}
.footerContentBottom{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}
.footerContentBottomContainer{
    height: fit-content;
    flex: 1;
    
}
.footerText{
    display: flex;
    margin-top: 15px;
    gap: 10px;
    font-size: 16px;
}
.footerSocial{
    width: 50px;
    height: 50px;
}
.footerContentRight{
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.footerContentRight a{
    display: flex;
    justify-content: center;
}
.titelFooter{
    font-family: "Inter", sans-serif;
    font-size: var(--fontsize-title-small);
    font-weight: 900;
    width: 50%;
    border-bottom: 3px solid var(--main-color);
}
.grid {
    flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  margin-top: 15px;
  gap: 15px 0; 
  
}

.grid a {
  display: flex;
  font-weight: 500;
  align-items: center;
  color: #404040;
  
}
.footerContentRight{
    display: flex;
    flex-direction: column;
    
}
.footerContentRight img{
    width: 100%;
    height: auto;
}
#bottomLinks{
    width: 100%;
    height: 150px;
    background-color: var(--orange-background);
    margin-top: var(--margin-top-big);
}
.bottomLinksContainer{
    width: var(--screen-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
}
.bottomLinksContainer a{
    color: #fff;
    text-decoration: none;
    font-size: var(--fontsize-text-medium);
    display: flex;
    gap: 20px;
    align-items: center;
}
#socialSektion{
    width: var(--screen-width);
    margin: 0 auto;
    margin-top: var(--margin-top-big);
    
} 
#socialSektion h3{
    font-size: var(--fontsize-title-small);
    color: var(--main-color);
    font-family: "Inter", sans-serif;
}
.socialTitel{
    text-align: center;
}
.someContainer{
    display: flex;
    gap: 60px;
    margin-top: 50px;
    justify-content: center;
}
.shop-layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.shop-sidebar__sticky {
    position: sticky;
    top: 2rem;
}

.shop-main {
    flex: 1;
    min-width: 0; /* prevents flex blowout */
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.cart-sidebar__header h3 {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 900;
}

.cart-sidebar__close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.cart-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.cart-overlay.open {
    display: block;
}
.nav-wishlist-count {
    position: absolute;
    top: -7px;
    right: -6px;
    background: var(--main-color);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 11px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Make the li position relative so the badge positions correctly */
.nav-wishlist-count + img,
li:has(.nav-wishlist-count) {
    position: relative;
}

li:has(.nav-wishlist-count) {
    position: relative;
}
.nav-cart-count {
    position: absolute;
    top: -7px;
    right: -6px;
    background: var(--main-color);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 11px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.search-dropdown {
    background: #fff;
    border-radius: var(--small-border-radious);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    display: none;
    overflow: hidden;
    min-width: 360px;
    max-height: 33vh;
    margin: 0 auto;
    overflow-y: scroll;
}
.search-dropdown--nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 55px);
    width: min(730px, 90%);
}

.search-dropdown--header {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(730px, 90%);
}
.search-dropdown__heading {
    display: block;
    padding: 0.6rem 1rem 0.3rem;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--main-color);
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.search-dropdown__item:hover {
    background: #f5f5f5;
    color: var(--main-color);
}

.search-dropdown__item--product img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--small-border-radious);
    flex-shrink: 0;
}

.search-dropdown__item--product span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.search-dropdown__item--product strong {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.search-dropdown__item--product small {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.search-dropdown__empty {
    padding: 1rem;
    text-align: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Make sure the input wrapper is relative */
#headerInput {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}
@media (max-width: 475px){
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}