/* =========================================================
   PRODUKTSIDE
   Banner + produktinformasjon + relaterte produkter
   ========================================================= */

.gc-product-page {
  background: #030303;
  color: #ffffff;
  padding-bottom: 0;
}

/* Toppbanner */
.gc-product-hero {
  background: #0b0b0b;
  padding: 0 3rem;
}

.gc-product-hero__inner {
  max-width: 1440px;
  height: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.gc-product-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem clamp(2rem, 5vw, 6rem) 3rem 0;
}

.gc-product-hero h1 {
  max-width: 720px;
  margin: 0 0 1.35rem !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2.7rem, 2.8vw, 3.6rem) !important;
  font-weight: 400 !important;
  line-height: 0.96 !important;
  letter-spacing: 0.012em !important;
  text-transform: none !important;
  color: #ffffff !important;
  overflow-wrap: break-word;
}

.gc-product-hero__intro {
  max-width: 600px;
  margin: 0 0 1.75rem !important;
  font-family: var(--font-heading-sans) !important;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem) !important;
  font-weight: 100 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.015em !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.gc-product-price {
  margin-bottom: 0.5rem;
  font-family: var(--font-sans) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.gc-product-price-old {
  margin-bottom: 1rem;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: line-through;
}

.gc-product-hero__purchase form,
.gc-product-hero__purchase form > div,
.gc-product-hero__purchase .flex {
  justify-content: flex-start !important;
}

.gc-product-hero__purchase input,
.gc-product-hero__purchase input[type="number"] {
  color: #111111 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.gc-product-hero__purchase button,
.gc-product-hero__purchase .btn,
.gc-product-hero__purchase input[type="submit"] {
  color: #ffffff !important;
  background: #030303 !important;
  border-color: #030303 !important;
  border-radius: 0 !important;
}

.gc-product-hero__purchase button:hover,
.gc-product-hero__purchase .btn:hover,
.gc-product-hero__purchase input[type="submit"]:hover {
  color: #030303 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.gc-product-hero__media {
  height: 480px;
  overflow: hidden;
  background: #151515;
}

.gc-product-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Produktgalleri i toppbanneret */
.gc-product-gallery,
.gc-product-gallery .swiper-wrapper,
.gc-product-gallery__slide {
  width: 100% !important;
  height: 100% !important;
}

.gc-product-gallery__slide {
  overflow: hidden;
}

.gc-product-gallery__button {
  position: absolute !important;
  bottom: 1.5rem !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: rgba(3, 3, 3, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease !important;
}

.gc-product-gallery__button:hover {
  color: #030303 !important;
  background: #ffffff !important;
}

.gc-product-gallery__button--prev {
  right: 5.25rem !important;
}

.gc-product-gallery__button--next {
  right: 1.75rem !important;
}

.gc-product-gallery__pagination {
  position: absolute !important;
  left: auto !important;
  right: 9.5rem !important;
  bottom: 2.45rem !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  width: auto !important;
}

.gc-product-gallery__pagination .swiper-pagination-bullet {
  width: 0.45rem !important;
  height: 0.45rem !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

.gc-product-gallery__pagination .swiper-pagination-bullet-active {
  background: #ffffff !important;
}

@media (max-width: 1024px) {
  .gc-product-gallery__button {
    bottom: 1.25rem !important;
  }

  .gc-product-gallery__button--prev {
    right: 4.5rem !important;
  }

  .gc-product-gallery__button--next {
    right: 1.25rem !important;
  }

  .gc-product-gallery__pagination {
    left: 1.25rem !important;
    right: auto !important;
    bottom: 2.15rem !important;
  }
}

/* Detaljert innhold */
.gc-product-details {
  background: #030303;
  padding: 6rem 3rem;
}

.gc-product-details__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gc-product-details__eyebrow,
.gc-related-products__eyebrow {
  margin: 0 0 0.75rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.gc-product-details__heading h2 {
  margin: 0 !important;
  font-family: var(--font-heading-sans) !important;
  font-size: clamp(1.75rem, 2.2vw, 2.6rem) !important;
  font-weight: 100 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.025em !important;
  text-transform: none !important;
  color: #ffffff !important;
}

.gc-product-description,
.gc-product-description p,
.gc-product-description li {
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

.gc-product-description > :first-child {
  margin-top: 0 !important;
}

.gc-product-description strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.gc-product-allergens {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.gc-product-allergens h3 {
  margin: 0 0 0.4rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.gc-product-allergens p {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65) !important;
}

.gc-product-blocks {
  background: #030303;
  padding: 0 0 6rem;
}

/* Bildegalleri under menyinnholdet – viser hele bildene uten cropping */
.gc-product-image-gallery {
  background: #f7f7f3;
  color: #111111;
  padding: 0 3rem 6rem;
}

.gc-product-image-gallery__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
}

.gc-product-image-gallery__header {
  margin-bottom: 2rem;
}

.gc-product-image-gallery__header p {
  margin: 0 0 0.65rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(17, 17, 17, 0.55) !important;
}

.gc-product-image-gallery__header h2 {
  margin: 0 !important;
  font-family: var(--font-heading-sans) !important;
  font-size: clamp(1.5rem, 1.8vw, 2.1rem) !important;
  font-weight: 100 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.025em !important;
  text-transform: none !important;
  color: #111111 !important;
}

.gc-product-image-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.gc-product-image-gallery__item {
  min-width: 0;
  margin: 0;
  background: #edeae4;
}

.gc-product-image-gallery__item img {
  width: 100%;
  height: 360px;
  max-height: none;
  display: block;
  object-fit: contain;
  background: #edeae4;
}

.gc-product-image-gallery__item figcaption {
  padding: 0.8rem 1rem;
  font-family: var(--font-sans) !important;
  font-size: 0.8rem !important;
  color: rgba(17, 17, 17, 0.65) !important;
}

@media (max-width: 900px) {
  .gc-product-image-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gc-product-image-gallery {
    padding: 0 1.25rem 4rem;
  }

  .gc-product-image-gallery__grid {
    grid-template-columns: 1fr;
  }

  .gc-product-image-gallery__item img {
    height: auto;
    max-height: 480px;
  }
}

/* Tilvalg og populære produkter */
.gc-related-products {
  background: #111111;
  padding: 6rem 3rem 7rem;
}

.gc-related-products__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.gc-related-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gc-related-products__header h2 {
  max-width: 850px;
  margin: 0 !important;
  font-family: var(--font-heading-sans) !important;
  font-size: clamp(1.65rem, 2.2vw, 2.6rem) !important;
  font-weight: 100 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.015em !important;
  text-transform: none !important;
  color: #ffffff !important;
}

.gc-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.gc-related-product-card {
  min-width: 0;
  background: #030303;
}

.gc-related-product-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
}

.gc-related-product-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gc-related-product-card:hover .gc-related-product-card__image img {
  transform: scale(1.035);
}

.gc-related-product-card__content {
  padding: 1.4rem 1.25rem 1.5rem;
  text-align: center;
}

.gc-related-product-card h3 {
  margin: 0 0 0.6rem !important;
}

.gc-related-product-card h3 a {
  font-family: var(--font-heading-sans) !important;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem) !important;
  font-weight: 100 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: #ffffff !important;
}

.gc-related-product-card__price {
  margin: 0 0 1rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.gc-related-product-card .btn {
  font-size: 0.65rem !important;
  padding: 0.6rem 0.8rem !important;
}

/* Samme lyse kort og kjøpsrad som på menysidene. */
body .gc-product-page .gc-related-products {
  background: #f3f0ea !important;
  color: #111111 !important;
}

body .gc-product-page .gc-related-products__eyebrow,
body .gc-product-page .gc-related-products__header h2 {
  color: #111111 !important;
}

body .gc-product-page .gc-related-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  color: #111111 !important;
}

body .gc-product-page .gc-related-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.1rem 1.25rem;
  text-align: left;
}

body .gc-product-page .gc-related-product-card h3 a {
  color: #111111 !important;
}

body .gc-product-page .gc-related-product-card__price {
  color: rgba(17, 17, 17, 0.68) !important;
}

.gc-related-product-card__actions {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: auto;
}

.gc-related-product-card__actions > .gc-related-product-card__link {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #111111 !important;
  background: #ffffff !important;
  border: 1px solid #111111 !important;
}

.gc-related-product-card__actions > form,
.gc-related-product-card__actions > div {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.gc-related-product-card__actions form,
.gc-related-product-card__actions form > div,
.gc-related-product-card__actions .flex {
  display: flex !important;
  flex: 1 1 auto;
  align-items: stretch !important;
  min-width: 0;
  margin: 0 !important;
  gap: 0 !important;
}

.gc-related-product-card__actions input[type="number"] {
  width: 56px !important;
  min-height: 48px !important;
  margin: 0 !important;
  color: #111111 !important;
  background: #ffffff !important;
  border: 1px solid #111111 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.gc-related-product-card__actions button,
.gc-related-product-card__actions input[type="submit"] {
  flex: 1 1 auto;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0.6rem 0.8rem !important;
  color: #ffffff !important;
  background: #111111 !important;
  border: 1px solid #111111 !important;
  border-radius: 0 !important;
}

@media (max-width: 1024px) {
  .gc-product-hero {
    padding: 0;
  }

  .gc-product-hero__inner {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gc-product-hero__media {
    order: -1;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .gc-product-hero__media img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .gc-product-hero__content {
    padding: 3rem 1.25rem 4rem;
  }

  .gc-product-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.5rem) !important;
  }

  .gc-product-details {
    padding: 4rem 1.25rem;
  }

  .gc-product-details__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gc-related-products {
    padding: 4rem 1rem 5rem;
  }

  .gc-related-products__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gc-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .gc-related-product-card__content {
    padding: 1rem 0.75rem 1.15rem;
  }

  .gc-related-product-card h3 a {
    font-size: 1rem !important;
  }

  .gc-related-product-card .btn {
    white-space: normal !important;
  }
}

/* Lange produktnavn må få plass på smale mobilskjermer. */
@media (max-width: 600px) {
  body .gc-product-page .gc-product-hero__content {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body .gc-product-page .gc-product-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2.15rem, 8vw, 3.5rem) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto;
  }
}

/* =========================================================
   FAST DESKTOPHØYDE PÅ TOPPBANNER
   Ligger sist for å overstyre eldre produktregler
   ========================================================= */

@media (min-width: 1025px) {
  body .gc-product-page .gc-product-hero,
  body .gc-product-page .gc-product-hero__inner,
  body .gc-product-page .gc-product-hero__media,
  body .gc-product-page .gc-product-hero__media img {
    height: 440px !important;
    min-height: 0 !important;
    max-height: 440px !important;
  }

  body .gc-product-page .gc-product-hero {
    overflow: hidden !important;
  }

  body .gc-product-page .gc-product-hero__media {
    overflow: hidden !important;
  }

  body .gc-product-page .gc-product-hero__media img {
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* Endelig typografi for den sekundære innholdsoverskriften. */
body .gc-product-page .gc-product-details .gc-product-details__heading h2 {
  font-family: "mundial", "museo-sans", Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.5rem, 1.8vw, 2.1rem) !important;
  font-weight: 100 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.025em !important;
  text-transform: none !important;
}

/* =========================================================
   PRODUKTBANNER MED BILDE UNDER TEKST OG MØRKT OVERLAY
   ========================================================= */

body .gc-product-page .gc-product-hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .gc-product-page .gc-product-hero__inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  max-width: none !important;
  isolation: isolate;
  overflow: hidden !important;
}

body .gc-product-page .gc-product-hero__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0.52) 42%,
      rgba(0, 0, 0, 0.24) 72%,
      rgba(0, 0, 0, 0.3) 100%
    );
}

body .gc-product-page .gc-product-hero__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body .gc-product-page .gc-product-hero__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body .gc-product-page .gc-product-hero__content {
  position: relative !important;
  z-index: 2 !important;
  width: calc(100% - 6rem) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 3rem 0 !important;
}

body .gc-product-page .gc-product-hero__content > * {
  max-width: 680px;
}

@media (max-width: 1024px) {
  body .gc-product-page .gc-product-hero__inner {
    min-height: 500px !important;
  }

  body .gc-product-page .gc-product-hero__content {
    width: calc(100% - 2.5rem) !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  body .gc-product-page .gc-product-hero__inner::after {
    background: rgba(0, 0, 0, 0.48);
  }
}

/* =========================================================
   LYS MENYSEKSJON – inspirert av katalogdesignet
   ========================================================= */

body .gc-product-page .gc-product-details {
  background: #f7f7f3 !important;
  color: #111111 !important;
  padding-top: 5rem !important;
  padding-bottom: 5.5rem !important;
}

body .gc-product-page .gc-product-details__inner {
  max-width: 1100px !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Hindre at lang RTE-tekst og CSS-spalter gjør produktsiden bredere enn skjermen. */
body .gc-product-page .gc-product-details__content,
body .gc-product-page .gc-product-description {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body .gc-product-page .gc-product-details__eyebrow {
  color: rgba(17, 17, 17, 0.55) !important;
}

body .gc-product-page .gc-product-details .gc-product-details__heading h2 {
  color: #111111 !important;
  font-family: "mundial", "museo-sans", Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.65rem, 2vw, 2.35rem) !important;
  font-weight: 100 !important;
  letter-spacing: 0.02em !important;
}

body .gc-product-page .gc-product-description,
body .gc-product-page .gc-product-description p,
body .gc-product-page .gc-product-description li {
  color: #111111 !important;
  font-family: "museo-sans", "mundial", Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
}

body .gc-product-page .gc-product-description h1,
body .gc-product-page .gc-product-description h2,
body .gc-product-page .gc-product-description h3,
body .gc-product-page .gc-product-description h4 {
  color: #111111 !important;
  font-family: "mundial", "museo-sans", Arial, Helvetica, sans-serif !important;
  font-weight: 100 !important;
  text-transform: none !important;
}

/* H1 og H2 brukes til redigerbare hoved- og seksjonsoverskrifter i menyen. */
body .gc-product-page .gc-product-description h1 {
  margin: 0 0 1.5rem !important;
  font-size: clamp(2rem, 3vw, 3.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0.01em !important;
  break-after: avoid;
}

body .gc-product-page .gc-product-description h2 {
  margin: 1.75rem 0 1rem !important;
  font-size: clamp(1.6rem, 2.2vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.01em !important;
  break-after: avoid;
}

body .gc-product-page .gc-product-description > h1:first-child,
body .gc-product-page .gc-product-description > h2:first-child {
  margin-top: 0 !important;
}

/* Eldre menyer har rettnavnet som første fete tekst i et avsnitt. */
body .gc-product-page .gc-product-description p > strong {
  color: #111111 !important;
  display: inline-block;
  margin: 0 !important;
  font-family: "mundial", "museo-sans", Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem) !important;
  font-weight: 100 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.01em !important;
}

/* Handlekurvknappen har også klassen highlight-bg fra fellesløsningen.
   Denne regelen må derfor være mer presis enn den globale, hvite knappestilen. */
body .gc-product-page .gc-related-products
  .gc-related-product-card__actions
  button.gc-related-product-card__cart.highlight-bg,
body .gc-product-page .gc-related-products
  .gc-related-product-card__actions
  input.gc-related-product-card__cart.highlight-bg[type="submit"] {
  color: #ffffff !important;
  background-color: #111111 !important;
  border-color: #111111 !important;
}

body .gc-product-page .gc-related-products
  .gc-related-product-card__actions
  button.gc-related-product-card__cart.highlight-bg:hover,
body .gc-product-page .gc-related-products
  .gc-related-product-card__actions
  input.gc-related-product-card__cart.highlight-bg[type="submit"]:hover {
  color: #ffffff !important;
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* Menypunkter kan formateres med Overskrift 3 i rikteksteditoren. */
body .gc-product-page .gc-product-description h3 {
  margin: 1.5rem 0 0.3rem !important;
  color: #111111 !important;
  font-family: "mundial", "museo-sans", Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem) !important;
  font-weight: 100 !important;
  line-height: 1.08 !important;
  letter-spacing: 0.01em !important;
  break-after: avoid;
}

body .gc-product-page .gc-product-description p {
  margin: 0 0 1.25rem !important;
  break-inside: avoid;
}

body .gc-product-page .gc-product-description em {
  display: block;
  margin-top: 0.3rem;
  color: #b59d8d !important;
  font-family: "museo-sans", Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
  font-style: italic !important;
  font-size: 0.9em !important;
  line-height: 1.4 !important;
}

body .gc-product-page .gc-product-description ul,
body .gc-product-page .gc-product-description ol {
  margin: 0 0 1.25rem 1.2rem !important;
  padding: 0 !important;
}

body .gc-product-page .gc-product-description li {
  margin-bottom: 0.35rem !important;
}

/* Kompakt menyoppsett. Innholdet flyter i to spalter på store skjermer. */
@media (min-width: 800px) {
  body .gc-product-page .gc-product-description {
    column-count: 2;
    column-gap: clamp(2.5rem, 5vw, 5rem);
    column-rule: 1px solid rgba(17, 17, 17, 0.12);
  }

  body .gc-product-page .gc-product-description > * {
    break-inside: avoid;
  }

  /* Korte produkttekster skal ikke strekkes over to nesten tomme spalter. */
  body .gc-product-page .gc-product-details--compact .gc-product-description {
    column-count: 1;
    column-rule: 0;
    max-width: 760px;
  }
}

body .gc-product-page .gc-product-details--compact {
  padding-top: 3.5rem !important;
  padding-bottom: 3.75rem !important;
}

body .gc-product-page .gc-product-details--compact .gc-product-details__inner {
  max-width: 900px !important;
  gap: 1rem;
}

body .gc-product-page .gc-product-image-gallery__grid:has(> :only-child) {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

body .gc-product-page .gc-product-allergens {
  border-top-color: rgba(17, 17, 17, 0.16) !important;
}

body .gc-product-page .gc-product-allergens h3 {
  color: #111111 !important;
}

body .gc-product-page .gc-product-allergens p {
  color: #b59d8d !important;
}

@media (max-width: 1024px) {
  body .gc-product-page .gc-product-details {
    padding-top: 3.5rem !important;
    padding-bottom: 4rem !important;
  }
}

/* =========================================================
   FELLES VENSTRELINJE
   Logo, bannertekst og produktinnhold
   ========================================================= */

body .navbar .container,
body nav .container {
  width: calc(100% - 6rem) !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1024px) {
  body .navbar .container,
  body nav .container {
    width: calc(100% - 2.5rem) !important;
  }
}

/* Outline-knapp i den lyse seksjonen med relaterte produkter. */
body .gc-product-page .gc-related-products
  .gc-related-products__header > a.btn {
  color: #111111 !important;
  background: transparent !important;
  border: 1px solid #111111 !important;
}

body .gc-product-page .gc-related-products
  .gc-related-products__header > a.btn:hover {
  color: #ffffff !important;
  background: #111111 !important;
  border-color: #111111 !important;
}
