/* =========================================================
   Hamburger button
   ========================================================= */

.ws-hamburger-icon{
  width: auto;
  height: 20px;
  display: block;
  
}

@media (max-width: 767px){
.ws-hamburger-icon{
  height: 16px;
}
}




.ws-ham-btn{
  appearance:none;
  border: none;
  background: none;
  color: #2C241E;
  display: none;
  align-items:center;
  justify-content:center;
  cursor: pointer;
    padding: 0;
    line-height: 0;
    font-size: 0;
}


/* show hamburger when desktop menu hides */
@media (max-width: 1350px){
  .ws-ham-btn{ display: block; }
  
  
.ws-hamburger-icon{
padding-left: 15px;
  
}
  
}




.ws-ham-close{
  appearance: none;
  border: none;
  background: none;
  color: #2C241E;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  flex: 0 0 44px;
}


.ws-ham-close-icon{
  width: 30px;
  height: 30px;
  display: block;
}

.ws-ham-btn:hover,
.ws-ham-btn:active,
.ws-ham-btn:focus,
.ws-ham-btn:focus-visible,
.ws-ham-close:hover,
.ws-ham-close:active,
.ws-ham-close:focus,
.ws-ham-close:focus-visible{
  background: transparent !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}



/* =========================================================
   Modal / slide-in
   ========================================================= */
html.ws-ham-open,
body.ws-ham-open{
  overflow: hidden;
  overscroll-behavior: none;
}

body.ws-ham-open{
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}



/* hvis din desktop-mega bruger bridge */
body.ws-ham-open .ws-mega-bridge{
  display:none !important;
  pointer-events:none !important;
}

.ws-ham-modal{
  position: fixed;
  inset: 0;
  z-index: 10050;
}
.ws-ham-overlay{
  position:absolute;
  inset:0;
  background: rgba(44,36,30,0.45);
  opacity: 0;
  transition: opacity .25s ease;
}
.ws-ham-panel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width: min(440px, 92vw);
  background:#F6EFE4;
  box-shadow: -24px 0 40px rgba(44,36,30,0.18);

  transform: translateX(12px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;

  padding: 16px 14px 18px;
  overflow-y: auto;
}
.ws-ham-modal.is-open .ws-ham-overlay{ opacity: 1; }
.ws-ham-modal.is-open .ws-ham-panel{ transform: translateX(0); opacity: 1; }

.ws-ham-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 4px 2px 12px;
  border-bottom: 1px solid #EAE1D7;
  margin-bottom: 12px;
}
.ws-ham-title{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color:#8a8075;
}


/* =========================================================
   INDEPENDENT CLONE MENU (kun ws-ham-* classes)
   ========================================================= */
.ws-ham-modal .ws-ham-nav{ width: 100%; }

.ws-ham-modal .ws-ham-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:0;
  font-family:'Plus Jakarta Sans', sans-serif;
  font-size:18px;
}

.ws-ham-modal .ws-ham-item{
  width:100%;
  padding:8px 0;
  border-bottom: 1px solid #EAE1D7;
    cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* top-level link */
.ws-ham-modal .ws-ham-item > a{
  order:1;
  flex: 1 1 auto;
  padding: 10px 6px;
  text-decoration:none;
  color:#2C241E;
  letter-spacing: normal;
}


/* toggle */
.ws-ham-modal .ws-ham-toggle{
  order:2;
  flex: 0 0 auto;
  margin-left: 8px;

  appearance:none;
  border: 0;
  background: transparent;
  color: #2C241E;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px;
  border-radius: 10px;
  cursor:pointer;
}
.ws-ham-modal .ws-ham-toggle svg{
  width:10px;
  height:6px;
  transform-origin:center;
  transition: transform .28s ease;
}

/* dropdown panel (accordion) */
.ws-ham-modal .ws-ham-mega-panel{
  order:3;
  flex: 0 0 100%;
  width:100%;

  display:none;
  pointer-events:none;

  background: transparent;
  box-shadow:none;
  padding: 10px 0 12px;
}

/* open state */
.ws-ham-modal .ws-ham-item.ws-ham-acc-open > .ws-ham-mega-panel{
  display:block;
  pointer-events:auto;
}
.ws-ham-modal .ws-ham-item.ws-ham-acc-open > a{
  color:#c96148;
}
.ws-ham-modal .ws-ham-item.ws-ham-acc-open > .ws-ham-toggle{
  color:#c96148;
  background: rgba(201, 97, 72, 0.10);
}
.ws-ham-modal .ws-ham-item.ws-ham-acc-open > .ws-ham-toggle svg{
  transform: rotate(180deg);
}



.ws-ham-mega-kicker{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a8075;
  margin-bottom: 10px;
}


/* =========================================================
   Mega content inside clone (rename af mega-* -> ws-ham-mega-*)
   ========================================================= */
.ws-ham-modal .ws-ham-mega-inner{
  max-width: 100%;
  margin: 0;
  padding: 0 6px 0;
  box-sizing:border-box;
}

.ws-ham-modal .ws-ham-mega-layout{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items:start;
}

.ws-ham-modal .ws-ham-mega-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

/* kort */
.ws-ham-modal .ws-ham-mega-card{
  display:grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items:center;
  column-gap: 15px;
  padding: 15px 15px;
  border-radius: 18px;
  background: #FFFBF6;
  border: 1px solid #EAE1D7;
  text-decoration:none;
  color: #2c241e;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}


.ws-ham-modal .ws-ham-mega-card__img{
  width:52px;
  min-width:52px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ws-ham-modal .ws-ham-mega-card__img img{
  width:auto;
  height:auto;
  max-height:70px;
  max-width:42px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}

.ws-ham-modal .ws-ham-mega-card > div:last-child{
  min-width:0;
}


.ws-ham-modal .ws-ham-mega-card__img svg{
  width:44px;
  height:44px;
  display:block;
}
.ws-ham-modal .ws-ham-mega-card__title{
  font-family:'Plus Jakarta Sans', sans-serif;
  font-size:16px;
  font-style: italic;
  letter-spacing:-0.03em;
  line-height:1.1;
  margin:0;
}
.ws-ham-modal .ws-ham-mega-card__meta{
  font-family:'Plus Jakarta Sans', sans-serif;
  font-size:12px;
  color:#8a8075;
  letter-spacing:0.02em;
  margin-top:4px;
}

/* feature skjules i modal */
.ws-ham-modal .ws-ham-mega-feature{ display:none !important; }

/* bottom link */
.ws-ham-modal .ws-ham-mega-bottom{
  padding: 14px 2px 0 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.ws-ham-modal .ws-ham-mega-bottom a{
  font-family:'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #2c241e;
  text-decoration:none;
}

/* “hide seasons” variant til klonen */
.ws-ham-modal .ws-ham-hide-seasons .ws-ham-season-card{ display:none !important; }





/* =========================================================
   WineService Mega Menu (match look & feel)
   ========================================================= */

.ws-nav2{
  position: relative;
  z-index: 9999; /* så dropdown altid ligger over content */
}

/* --- NY: Usynlig hover-bro mellem menu og panel --- */
.ws-mega-bridge{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  background: transparent;
  pointer-events: none; /* aktiveres kun når dropdown er åben */
  z-index: 9999; /* over content, under/lig med header */
}
.ws-mega-bridge.is-active{
  pointer-events: auto;
}

/* =========================================================
   Top menu
   ========================================================= */

.hovedmenu2 {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  gap: 50px;
  font-weight: 500;
  font-size: 16px;
}

@media screen and (max-width: 1540px) {
.hovedmenu2 {
  gap: 40px;
}
}

@media screen and (max-width: 1350px) {
  .hovedmenu2 { display: none; }
}

.hovedmenu2 > li{
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Top-level links */
.hovedmenu2 > li > a{
  position: relative;
  color: #2c241e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0;
  transition: color 0.3s ease, letter-spacing 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.hovedmenu2 > li > a:hover{
  color: #c96148;
  letter-spacing: 0em;
}

.hovedmenu2 > li > a.active{
  color: #c96148;
  font-weight: 600;
}

/* underline */
.hovedmenu2 > li > a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  width:0;
  height:1px;
  background-color: #c96148;
  transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1),
              left 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.hovedmenu2 > li > a:hover::after,
.hovedmenu2 > li > a.active::after{
  width:100%;
  left:0;
}

/* Toggle button */
.mega-toggle{
  appearance: none;
  border: 0;
  background: transparent;
  color: #2c241e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.mega-toggle svg{
  width: 10px;
  height: 6px;
  transform-origin: center;
  transition: transform 0.28s ease;
}

.hovedmenu2 > li.has-mega:hover > a,
.hovedmenu2 > li.has-mega:focus-within > a,
.hovedmenu2 > li.has-mega.is-open > a{
  color: #c96148;
}

.hovedmenu2 > li.has-mega:hover .mega-toggle,
.hovedmenu2 > li.has-mega:focus-within .mega-toggle,
.hovedmenu2 > li.has-mega.is-open .mega-toggle{
  color: #c96148;
  background: rgba(201, 97, 72, 0.10);
}

.hovedmenu2 > li.has-mega:hover .mega-toggle svg,
.hovedmenu2 > li.has-mega:focus-within .mega-toggle svg,
.hovedmenu2 > li.has-mega.is-open .mega-toggle svg{
  transform: rotate(180deg);
}

/* =========================================================
   Mega panel
   ========================================================= */
.mega-panel{
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  top: 80px; /* JS overskriver denne */
  padding: 20px;
  background: #F6EFE4;
  box-shadow: 0 18px 30px -18px rgba(44, 36, 30, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 9998;
}

.hovedmenu2 > li.has-mega:hover > .mega-panel,
.hovedmenu2 > li.has-mega:focus-within > .mega-panel,
.hovedmenu2 > li.has-mega.is-open > .mega-panel{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-inner{
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.mega-top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 2px 14px 2px;
}

.mega-kicker{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a8075;
}

.mega-layout{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 1100px){
  .mega-layout{ grid-template-columns: 1fr; }
}

.mega-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
@media (max-width: 760px){
  .mega-grid{ grid-template-columns: 1fr; }
}


/* Madopskrifter: skjul sæson-kort (tænd igen ved at fjerne ws-hide-seasons på #mega-mad) */
#mega-mad.ws-hide-seasons .ws-season-card{
  display:none;
}



.mega-card{
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  column-gap: 15px;
  padding: 15px 15px;
  border-radius: 18px;
  background: #FFFBF6;
  border: 1px solid #EAE1D7;
  text-decoration: none;
  color: #2c241e;
  transition: transform .5s ease, border-color .5s ease, box-shadow .5s ease;
}


.mega-card:hover{
  transform: translateY(-2px);
  border-color: #2c241e;
  box-shadow: 0 6px 10px rgba(44, 36, 30, 0.05);
}

.mega-card__img{
  width: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.mega-card__img img{
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.mega-card__img svg{
  width: 44px;
  height: 44px;
  display: block;
}

.mega-card__title{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.mega-card__meta{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: #8a8075;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.mega-feature{
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #EAE1D7;
  transition: transform .5s ease, box-shadow .5s ease, border-color .5s ease;
}

.mega-feature:hover{
  transform: translateY(-2px);
  border-color: #2c241e;
  box-shadow: 0 6px 10px rgba(44, 36, 30, 0.05);
}

.mega-feature__img{
  height: 170px;
  background: rgba(44,36,30,0.08);
}
.mega-feature__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.mega-feature__body{
  padding: 16px 16px 18px 16px;
  background: rgba(255,255,255,0.85);
}
.mega-feature__kicker{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c96148;
  margin-bottom: 8px;
}
.mega-feature__title{
  
    font-family: "Fraunces", serif;
  font-style: italic;
  font-optical-sizing: none;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: #2c241e;
  font-weight: 300;
  margin: 0 0 8px 0;
  line-height: 1.1;
}
.mega-feature__text{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #8a8075;
  line-height: 1.35;
  margin: 0;
}








.mega-bottom{
  padding: 14px 2px 0 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mega-bottom a{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: #2c241e;
  text-decoration: none;
  position: relative;
  letter-spacing: -0.02em;
  transition: color .25s ease;
}

.mega-bottom a:hover{ color: #c96148; }

.mega-bottom a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:1px;
  background: #c96148;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mega-bottom a:hover::after{
  transform: scaleX(1);
}








/* =========================================================
   Featured bottle variant
   ========================================================= */

.mega-feature--bottle .mega-feature__img {
  height: 240px; /* Gjort lidt højere for at vise flasken flot frem */
  background: radial-gradient(circle at center, #FFFBF6 0%, #EAE1D7 100%); /* Lækker, blød "studie"-baggrund */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

/* Dekorativ cirkel i baggrunden for at fremhæve vinen */
.mega-feature--bottle .mega-feature__img::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: #c96148;
  opacity: 0.04;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Selve flasken */
.mega-feature--bottle .mega-feature__img img {
  width: auto;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  /* Kaster en blød 3D-skygge på baggrunden (virker på png/webp uden baggrund!) */
  filter: drop-shadow(8px 10px 15px rgba(44, 36, 30, 0.25)); 
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Løfter og forstørrer flasken en anelse ved hover */
.mega-feature:hover .mega-feature__img img {
  transform: scale(1.04) translateY(-2px); 
}












.hovedmenu2 > li.ws-temp-hide{
  display: none !important;
}


















