/* --- Gallery section --- */
.gallery-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  background-color: #f4ece1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 991px) {
  .gallery-section {
    padding: 70px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 8px;
  }
}

/* --- Visit Us section --- */
.visit-us {
  padding: 110px 0 0;
  background-color: #faf5ec;
  position: relative;
}

/* Wavy transition into VisitUs (mirrors the navbar's bottom wave) */
.visit-us::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #faf5ec;
  -webkit-mask-image: url(../images/bg-section/heade2-2.png);
  mask-image: url(../images/bg-section/heade2-2.png);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  pointer-events: none;
  z-index: 1;
}

.visit-us-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.visit-us-lead {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: #4a3f33;
}

.visit-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.visit-us-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 12px 36px rgba(28, 18, 8, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.visit-us-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #c3a27c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.visit-us-card-icon i,
.visit-us-card-icon svg {
  color: #ffffff;
  font-size: 24px;
}

.visit-us-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.visit-us-card p {
  margin: 4px 0;
  font-size: 15px;
  color: #4a3f33;
}

.visit-us-card a {
  color: #b07a4b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.visit-us-card a:hover {
  color: #8a5a32;
}

.visit-us-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.visit-us-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(195, 162, 124, 0.2);
  font-size: 15px;
  color: #4a3f33;
}

.visit-us-hours li:last-child {
  border-bottom: none;
}

.visit-us-hours strong {
  color: #1a1a1a;
  font-weight: 600;
}

.visit-us-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visit-us-note {
  font-size: 13px !important;
  font-style: italic;
  opacity: 0.7;
  margin-top: 12px !important;
}

.visit-us-map {
  width: 100%;
  height: 420px;
  margin-top: 40px;
}

.visit-us-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  .visit-us {
    padding-top: 70px;
  }
  .visit-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  .visit-us-card {
    padding: 32px 24px;
  }
  .visit-us-map {
    height: 320px;
  }
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-switcher .language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.language-switcher .language-toggle:hover,
.language-switcher .language-toggle.is-open {
  background-color: transparent;
  border-color: transparent;
  color: #c3a27c;
}

.flag-icon {
  display: inline-block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  line-height: 0;
}

.flag-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.language-switcher .lang-flag {
  width: 22px;
  height: 15px;
}

.language-switcher .lang-code {
  font-weight: 600;
}

.language-switcher .lang-label {
  display: none;
}

@media (min-width: 992px) {
  .language-switcher .lang-label {
    display: inline;
    opacity: 0.85;
    font-weight: 400;
  }
}

.language-switcher .lang-caret {
  transition: transform 0.25s ease;
}

.language-switcher .language-toggle.is-open .lang-caret {
  transform: rotate(180deg);
}

.language-switcher .language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

.language-switcher .language-menu li {
  list-style: none;
}

.language-switcher .language-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  cursor: pointer;
  text-align: left;
}

.language-switcher .language-menu button .lang-label {
  display: inline;
}

.language-switcher .language-menu button:hover,
.language-switcher .language-menu button.is-active {
  background-color: #f4ece1;
  color: #b07a4b;
}

.header-2.is-fixed .language-switcher .language-toggle {
  color: #ffffff;
}

.header-2.is-fixed .language-switcher .language-toggle:hover,
.header-2.is-fixed .language-switcher .language-toggle.is-open {
  color: #c3a27c;
}

.header-2 > .top::before {
  display: none !important;
  content: none !important;
}

.header-right::after {
  display: none !important;
}

.hero-video-section {
  position: relative;
  overflow: hidden;
}

.hero-video-section .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-video-section .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 14, 10, 0.45) 0%,
    rgba(20, 14, 10, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-video-section > .item-1 {
  position: absolute;
  bottom: 75px;
  right: 73px;
  z-index: 2;
}

.hero-video-section .page-title.slide-1 {
  background-image: none !important;
  background-color: transparent !important;
  position: relative;
  z-index: 2;
}

.hero-video-section .sub-title .coffee-cup {
  display: inline-block;
  margin-left: 10px;
  width: 1em;
  height: 1em;
  color: currentColor;
  vertical-align: -0.18em;
}

.hero-video-section .page-title .content {
  position: relative;
  z-index: 2;
}

/* --- Logo lives inside .information at the top-left --- */
.header-2 > .top .information {
  align-items: center;
}

.header-2 #site-logo {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 200px !important;
  height: 200px !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 24px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 200px;
  z-index: 30;
}

.header-2 #site-logo #site-logo-inner,
.header-2 #site-logo .main-logo {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-2 #site-logo img,
.header-2 #site-logo #site-logo-inner img {
  width: 200px !important;
  height: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  object-fit: contain;
  display: block;
}

/* Smooth scrolling for nav anchors + offset for the sticky header */
html {
  scroll-behavior: smooth;
}

#meny,
#om-oss,
#galleri,
#kontakt,
#nyheter {
  scroll-margin-top: 110px;
}

@media (max-width: 991px) {
  #meny,
  #om-oss,
  #galleri,
  #kontakt,
  #nyheter {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 480px) {
  #meny,
  #om-oss,
  #galleri,
  #kontakt,
  #nyheter {
    scroll-margin-top: 80px;
  }
}

/* Hide the coffee-bean icon next to the current menu item on the desktop navbar */
.menu-primary-menu li.current-menu-item > a::before {
  display: none !important;
  content: none !important;
}

/* Discovery menu cards: image and arrow removed — keep hover from expanding the box */
.discovery-menu-item .content {
  border-radius: 10px !important;
}

.discovery-menu-item:hover .content {
  padding-bottom: 41px !important;
}

.discovery-menu-item .content > a,
.discovery-menu-item:hover .content > a {
  display: none !important;
}

/* Mobile-only language switcher inside the top strip (hidden on desktop) */
.mobile-top-language {
  display: none;
}

/* Mobile-only quick icons (location, email, instagram) — hidden on desktop */
.mobile-quick-icons {
  display: none;
}

/* Header CTA "Beställ online" button */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c3a27c;
  color: #1a1a1a !important;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #c3a27c;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
  background-color: #b07a4b;
  border-color: #b07a4b;
  color: #ffffff !important;
}

@media (max-width: 991px) {
  /* responsive.css adds padding-left: 150px under 1440px — clear it on mobile */
  .header-2 > .top,
  .header-2 > .header-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Top strip: only the logo, centered */
  .header-2 > .top .header-top {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .header-2 > .top .information {
    display: flex !important;
    justify-content: center;
    width: 100%;
  }

  /* Hide contact rows and social icons in the top strip — they move into the navbar */
  .header-2 > .top .information .wg-information,
  .header-2 > .top .header-top > .widget-social {
    display: none !important;
  }

  .header-2 #site-logo,
  .header-2 #site-logo #site-logo-inner,
  .header-2 #site-logo .main-logo {
    width: 140px !important;
    height: 140px !important;
    flex-basis: 140px;
    margin: 0 !important;
  }
  .header-2 #site-logo img,
  .header-2 #site-logo #site-logo-inner img {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
  }

  /* CTA on mobile — larger and clearer */
  .header-cta {
    padding: 11px 22px;
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .header-2 .header-right {
    gap: 18px;
    align-items: center;
  }

  /* Show the language switcher above the navbar on mobile, hide it inside header-right */
  .mobile-top-language {
    display: flex !important;
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 40;
  }

  /* Show quick icons to the left of the CTA on mobile */
  .mobile-quick-icons {
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
  }

  .mobile-quick-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .mobile-quick-icons a i {
    font-size: 16px;
    color: inherit;
  }

  .mobile-quick-icons a:hover,
  .mobile-quick-icons a:focus {
    color: #c3a27c;
  }

  .mobile-top-language .language-toggle,
  .mobile-top-language .language-switcher .language-toggle {
    color: #2d2723 !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  .mobile-top-language .language-toggle:hover,
  .mobile-top-language .language-switcher .language-toggle:hover,
  .mobile-top-language .language-toggle.is-open,
  .mobile-top-language .language-switcher .language-toggle.is-open {
    color: #8a5a32 !important;
  }

  .mobile-top-language .lang-caret {
    color: #2d2723;
  }

  .header-2 .header-right .language-switcher {
    display: none !important;
  }

  /* Group CTA + language + hamburger on the far right */
  .header-2 .header-inner-wrap {
    padding-left: 16px !important;
    padding-right: 56px !important;
    justify-content: flex-end !important;
    gap: 56px;
  }

  .header-2 .header-inner-wrap > .mobile-button {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    order: 2;
    margin: 0;
    z-index: 5;
  }

  .header-2 .header-inner-wrap > .header-right {
    order: 1;
    margin-right: 20px;
    z-index: 1;
            width: 100%;
        display: flex;
        justify-content: space-between;
  }

  /* Restore the wavy/decorative edge between top strip and navbar on mobile */
  .header-2 > .top {
    background-image: url(../images/bg-section/heade2-1.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  .header-2 > .header-inner {
    background-image: url(../images/bg-section/heade2-2.png) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: transparent !important;
    margin-top: -20px !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    position: relative;
  }

  /* Language toggle on mobile — compact but readable */
  .header-2 .header-right .language-switcher .language-toggle {
    padding: 6px 4px;
    font-size: 13px;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    padding: 10px 16px;
    font-size: 13px;
  }
  .header-2 .header-inner-wrap {
    padding-left: 12px !important;
    padding-right: 0px !important;
    gap: 40px;
  }
  .header-2 .header-right {
    gap: 14px;
  }
}
}

/* Phone breakpoint: responsive.css sets .header-top to display:none — undo */
@media (max-width: 700px) {
  .header-2 .header-top {
    display: flex !important;
  }
}

/* --- Mobile drawer: opens from the right, light background --- */
.mobile-nav-wrap .inner-mobile-nav {
  left: auto !important;
  right: -340px !important;
  background-color: #faf5ec !important;
  color: #1a1a1a;
  padding: 24px 22px !important;
}

.mobile-nav-wrap.active .inner-mobile-nav {
  left: auto !important;
  right: 0 !important;
}

.mobile-nav-wrap .inner-mobile-nav .main-logo {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 12px;
}

.mobile-nav-wrap .inner-mobile-nav .main-logo img {
  max-width: 140px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.inner-mobile-nav .mobile-nav-close {
  top: 24px !important;
  right: 18px !important;
}

.inner-mobile-nav .mobile-nav-close svg {
  fill: #1a1a1a !important;
}

#mobile-main-nav {
  margin-top: 32px !important;
  border-top: 1px solid rgba(26, 18, 8, 0.12) !important;
}

#menu-mobile-menu > li {
  border-bottom: 1px solid rgba(26, 18, 8, 0.1) !important;
}

#menu-mobile-menu > li .sub-menu-mobile li {
  border-bottom: 1px solid rgba(26, 18, 8, 0.08) !important;
}

#menu-mobile-menu li a {
  color: #1a1a1a !important;
}

#menu-mobile-menu li.current-menu-item > a,
#menu-mobile-menu li a:hover,
#menu-mobile-menu li.current-item a {
  color: #b07a4b !important;
}

/* Language switcher inside the mobile drawer */
.mobile-nav-wrap .inner-mobile-nav .mobile-language {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 18, 8, 0.1);
}

.mobile-language .mobile-language-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7a66;
  margin-bottom: 12px;
}

.mobile-language .mobile-language-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-language .mobile-language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(26, 18, 8, 0.12);
  border-radius: 8px;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mobile-language .mobile-language-option .lang-label {
  display: inline;
}

.mobile-language .mobile-language-option:hover {
  border-color: #c3a27c;
}

.mobile-language .mobile-language-option.is-active {
  border-color: #b07a4b;
  background-color: #f4ece1;
  color: #b07a4b;
  font-weight: 600;
}

/* Social icons inside the mobile drawer */
.mobile-nav-wrap .inner-mobile-nav .mobile-social {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 18, 8, 0.1);
}

.mobile-nav-wrap .inner-mobile-nav .mobile-social ul {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-nav-wrap .inner-mobile-nav .mobile-social ul li {
  list-style: none;
}

.mobile-nav-wrap .inner-mobile-nav .mobile-social ul li a {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  border: 1px solid #c3a27c !important;
  color: #1a1a1a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-wrap .inner-mobile-nav .mobile-social ul li a:hover {
  background-color: #c3a27c !important;
  color: #ffffff !important;
}

.mobile-nav-wrap .inner-mobile-nav .mobile-social ul li a::before {
  color: inherit;
  font-size: 16px;
}

/* Keep the "go to top" button below the mobile drawer */
.progress-wrap {
  z-index: 10 !important;
}

/* Sticky/scrolled navbar: keep the same wave look as the normal state.
   Without this, `padding: 0` + `background-size: cover` crops the wavy
   edge of heade2-2.png at the top, and the bottom ::after wave can also
   render at the wrong width on a narrower fixed-position container. */
.header-2.is-fixed > .header-inner,
.header-2.is-fixed.is-small > .header-inner {
  background-image: url(../images/bg-section/heade2-2.png) !important;
  background-size: 100% 100px !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-color: #2d2723 !important;
  padding-top: 15px !important;
}

.header-2.is-fixed > .header-inner::after,
.header-2.is-fixed.is-small > .header-inner::after {
  left: 0;
  right: 0;
  width: 100%;
  background-size: 100% 100% !important;
  background-position: top center !important;
}

/* Mirror the wavy decorative edge below the navbar (flip heade2-2.png) */
.header-2 > .header-inner {
  position: relative;
}

.header-2 > .header-inner::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 30px;
  background-image: url(../images/bg-section/heade2-2.png);
  background-repeat: no-repeat;
  background-position: top center;
  transform: scaleY(-1);
  pointer-events: none;
  z-index: 5;
}

.header-2.is-fixed .language-switcher .language-toggle:hover,
.header-2.is-fixed .language-switcher .language-toggle.is-open {
  color: #ffffff;
}
