/*
 * Italianissimo – våra butiker
 * Avgränsad till .ij-stores-page så sidan är enkel att justera separat.
 */
.ij-stores-page {
  --ij-stores-ink: #25261f;
  --ij-stores-muted: #68695f;
  --ij-stores-green: #188251;
  --ij-stores-green-dark: #126b43;
  --ij-stores-rust: #8b3927;
  --ij-stores-cream: #f7f2e8;
  --ij-stores-line: #e5ddcf;
  color: var(--ij-stores-ink);
  font-size: 1rem;
}

.cms-id-7 .page-header,
.cms-id-7 .page-content > h1 {
  display: none;
}

.cms-id-7 .page-content {
  max-width: none;
  padding: 0;
}

.ij-stores-page *,
.ij-stores-page *::before,
.ij-stores-page *::after {
  box-sizing: border-box;
}

.ij-stores-page img {
  display: block;
  max-width: 100%;
}

.ij-stores-page h1,
.ij-stores-page h2,
.ij-stores-page h3 {
  color: var(--ij-stores-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.ij-stores-page a {
  color: inherit;
}

.ij-stores-shell {
  width: min(95%, 1320px);
  margin-inline: auto;
}

.ij-stores-hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  min-height: clamp(360px, 34vw, 500px);
  overflow: hidden;
  background: var(--ij-feature-panel-bg, #878685);
}

.ij-stores-hero__gallery {
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  grid-template-rows: 1fr 1fr;
  min-height: 100%;
}

.ij-stores-hero__gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ij-stores-hero__gallery img:first-child {
  grid-row: 1 / -1;
}

.ij-stores-hero__gallery img+img {
  border-left: 3px solid var(--ij-feature-panel-bg, #878685);
}

.ij-stores-hero__gallery img:last-child {
  border-top: 3px solid var(--ij-feature-panel-bg, #878685);
}

.ij-stores-hero__content {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2rem, 6vw, 6rem);
  color: var(--ij-feature-panel-text, #fff);
}

.ij-stores-eyebrow {
  margin: 0 0 .75rem;
  color: var(--ij-feature-panel-text, #fff);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.ij-stores-hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.4rem, 4.3vw, 4.5rem);
  letter-spacing: -.035em;
  line-height: .98;
}

.ij-stores-hero__content > p:not(.ij-stores-eyebrow) {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  color: var(--ij-feature-panel-text, #fff);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ij-stores-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.ij-stores-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--ij-stores-green);
  background: var(--ij-stores-green);
  color: #fff !important;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.ij-stores-button:hover,
.ij-stores-button:focus-visible {
  border-color: var(--ij-stores-green-dark);
  background: var(--ij-stores-green-dark);
  color: #fff !important;
}

.ij-stores-text-link {
  padding-bottom: .15rem;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.ij-stores-hero .ij-stores-text-link:hover,
.ij-stores-hero .ij-stores-text-link:focus-visible {
  color: var(--ij-feature-panel-text, #fff);
}

.ij-stores-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-block: clamp(1.75rem, 4vw, 3.2rem);
}

.ij-stores-jump-nav a {
  padding: .58rem 1.05rem;
  border: 1px solid var(--ij-stores-line);
  background: #fff;
  color: var(--ij-stores-ink);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.ij-stores-jump-nav a:hover,
.ij-stores-jump-nav a:focus-visible {
  border-color: var(--ij-stores-green);
  color: var(--ij-stores-green);
}

.ij-stores-intro {
  max-width: 920px;
  margin: 0 auto clamp(3rem, 7vw, 6.5rem);
  color: var(--ij-stores-muted);
  font-size: clamp(1.03rem, 1.65vw, 1.22rem);
  line-height: 1.75;
  text-align: center;
}

.ij-stores-intro p {
  margin: 0;
}

.ij-stores-intro p+p {
  margin-top: .85rem;
}

.ij-store {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  margin-block: clamp(3.5rem, 9vw, 8rem);
  scroll-margin-top: 8rem;
}

/* Första butiken nås innan den stora headern hunnit växla till kompakt läge. */
.ij-store#lomma {
  scroll-margin-top: 20rem;
}

@media (max-width: 991px) {
  .ij-store#lomma {
    scroll-margin-top: 14rem;
  }
}

@media (max-width: 575px) {
  .ij-store#lomma {
    scroll-margin-top: 11rem;
  }
}

.ij-store--reverse .ij-store__image {
  order: 2;
}

.ij-store__image {
  position: relative;
  min-height: clamp(320px, 38vw, 530px);
  overflow: hidden;
  background: var(--ij-stores-cream);
}

.ij-store__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ij-store__content {
  padding-top: 0;
}

.ij-store__kicker {
  margin: 0 0 .55rem;
  color: var(--ij-stores-rust);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ij-store h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
  letter-spacing: -.025em;
  line-height: 1;
}

.ij-store__description {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  color: var(--ij-stores-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.ij-store__video-link {
  display: inline-flex;
  margin: .55rem 0 .8rem;
}

.ij-store__contact {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
  margin-bottom: 1.65rem;
  color: var(--ij-stores-ink);
  font-size: .94rem;
  font-weight: 700;
}

.ij-store__contact span+span::before {
  margin-right: 1.1rem;
  color: var(--ij-stores-line);
  content: "/";
}

.ij-store__contact a {
  color: var(--ij-stores-green);
  text-decoration: none;
}

.ij-store__details {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.ij-store__hours {
  padding: 1.2rem 1.35rem;
  border-top: 2px solid var(--ij-stores-green);
  background: var(--ij-stores-cream);
}

.ij-store__hours h3 {
  margin: 0 0 .8rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
}

.ij-store__hours dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem .8rem;
  margin: 0;
  font-size: .86rem;
  line-height: 1.35;
}

.ij-store__hours dt,
.ij-store__hours dd {
  margin: 0;
}

.ij-store__hours dd {
  font-weight: 700;
  text-align: right;
}

.ij-store__map {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--ij-stores-line);
}

.ij-store__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 242px;
  border: 0;
}

.ij-store__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.ij-stores-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: clamp(3rem, 8vw, 7rem);
}

.ij-stores-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.ij-stores-outro {
  max-width: 760px;
  margin: clamp(3rem, 8vw, 7rem) auto 0;
  padding-bottom: 0;
  text-align: center;
}

.ij-stores-outro h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.05;
}

.ij-stores-outro p {
  margin: .85rem auto 0;
  color: var(--ij-stores-muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .ij-stores-hero {
    grid-template-columns: 1fr;
  }

  .ij-stores-hero__gallery {
    min-height: 300px;
  }

  .ij-stores-hero__content {
    min-height: 320px;
  }

  .ij-store,
  .ij-store--reverse .ij-store__image {
    grid-template-columns: 1fr;
  }

  .ij-store--reverse .ij-store__image {
    order: 0;
  }

  .ij-store__image {
    min-height: 380px;
  }
}

@media (max-width: 767.98px) {
  .ij-stores-shell {
    width: calc(100% - 1.5rem);
  }

  .ij-stores-hero {
    width: 100%;
  }

  .ij-stores-hero__gallery {
    min-height: 220px;
  }

  .ij-stores-hero__content {
    min-height: 0;
    padding: 2rem 1.35rem 2.25rem;
  }

  .ij-stores-hero__content > p:not(.ij-stores-eyebrow) {
    font-size: .98rem;
  }

  .ij-stores-jump-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .25rem;
  }

  .ij-stores-jump-nav a {
    flex: 0 0 auto;
  }

  .ij-stores-intro {
    font-size: 1rem;
    text-align: left;
  }

  .ij-store {
    gap: 1.5rem;
    margin-block: 3rem;
  }

  .ij-store__image {
    min-height: 290px;
  }

  .ij-store__details {
    grid-template-columns: 1fr;
  }

  .ij-store__map iframe {
    min-height: 250px;
  }

  .ij-stores-gallery {
    grid-template-columns: 1fr;
  }
}
