/* Shared shop navigation, contact area and homepage. */
:root {
  --shop-ink: #203e38;
  --shop-forest: #284a42;
  --shop-paper: #fbf9f4;
  --shop-linen: #f1ede3;
  --shop-rule: #d5d7ca;
  --shop-pad: clamp(22px, 5vw, 88px);
}
.shop-header {
  background: var(--shop-forest);
  color: #faf7ec;
}
.shop-header .header-actions {
  gap: 14px;
  margin: 0;
}
.shop-header .logo { margin: 0; }
.shop-header .cart-link,
.shop-header .menu-toggle {
  border: 1px solid #cbd8cc7a;
  border-radius: 4px;
  min-height: 42px;
  padding: 6px 12px;
  background: transparent;
  color: inherit;
  font: 15px/1.15 'Barlow',sans-serif;
}
.shop-header .cart-link { gap: 7px; }
.shop-header .cart-link svg { width: 20px; height: 20px; }
.shop-header .cart-count[hidden] { display: none; }
.shop-header .cart-count:not([hidden]) { border-radius: 20px; background: #fbf9ef; color: var(--shop-ink); }
.shop-header .main-nav { min-height: 0; border: 0; background: var(--shop-forest); }
.shop-header .main-nav > ul > li > a,
.shop-header .main-nav > ul > li > button {
  font: 16px/1.25 'Barlow',Arial,sans-serif;
  letter-spacing: .01em;
  color: #fffaf2;
}
.shop-header .main-nav > ul > li > :is(a,button):hover,
.shop-header .main-nav > ul > li.is-open > :is(a,button),
.shop-header .main-nav > ul > li:focus-within > a {
  background: #ffffff14;
}
.shop-header :is(a,button):focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.shop-header .main-nav .chevron { display: inline; position: static; margin-left: 6px; font: 15px/1 sans-serif; }
.shop-header .main-nav .sub-toggle { margin: 0; }
.shop-header .submenu { z-index: 4; }
.menu-lines {
  display: inline-block;
  width: 15px;
  height: 10px;
  border-block: 1.5px solid currentColor;
  position: relative;
}
.menu-lines::after { content: ''; position: absolute; height: 1.5px; top: 3px; inset-inline: 0; background: currentColor; }
@media (min-width: 1001px) {
  .shop-header {
    display: grid;
    grid-template: "logo navigation actions" minmax(80px,auto) / auto 1fr auto;
    align-items: center;
    gap: clamp(16px,2.3vw,45px);
    padding-inline: var(--shop-pad);
  }
  .shop-header .topbar { display: contents; }
  .shop-header .logo { grid-area: logo; }
  .shop-header :is(.logo,.logo img) { width: clamp(146px,12.8vw,186px); height: 64px; }
  .shop-header .header-actions { grid-area: actions; }
  .shop-header .main-nav { grid-area: navigation; position: static; align-self: stretch; display: flex; justify-content: center; }
  .shop-header .main-nav > ul { width: auto; gap: clamp(0px,.5vw,12px); }
  .shop-header .main-nav > ul > li { flex: none; }
  .shop-header .main-nav > ul > li > :is(a,.nav-expand) { padding: 8px clamp(7px,1vw,17px); }
  .shop-header .main-nav .nav-faq > a { padding-right: 0; }
  .shop-header .main-nav .nav-faq > button { width: 23px; min-width: 23px; padding: 0; flex-basis: 23px; }
}
@media (min-width: 751px) and (max-width: 1000px) {
  .shop-header .topbar { padding: 7px var(--shop-pad); height: 66px; }
  .shop-header :is(.logo,.logo img) { height: 50px; width: 145px; }
  .shop-header .main-nav { border-top: 1px solid #ffffff2a; }
  .shop-header .main-nav > ul > li { flex: 0 1 auto; }
  .shop-header .main-nav > ul > li > :is(a,.nav-expand) { padding: 10px 15px; }
}
@media (max-width: 750px) {
  .shop-header .topbar { height: 68px; padding: 7px 16px; }
  .shop-header :is(.logo,.logo img) { width: 124px; height: 48px; }
  .shop-header .header-actions { margin-left: auto; gap: 6px; }
  .shop-header .menu-toggle { display: inline-flex; gap: 7px; }
  .shop-header .main-nav > ul { padding: 5px 0 12px; border-top: 1px solid #ffffff26; }
  .shop-header .main-nav > ul > li { justify-content: flex-start; }
  .shop-header .main-nav > ul > li > :is(a,.nav-expand) { justify-content: flex-start; width: 100%; padding: 12px 22px; }
  .shop-header .main-nav .sub-toggle { margin-right: 12px; }
}
@media (max-width: 370px) {
  .shop-header .topbar { padding-inline: 9px; }
  .shop-header :is(.logo,.logo img) { width: 105px; }
  .shop-header :is(.cart-link,.menu-toggle) { padding-inline: 8px; font-size: 14px; }
}

body.home-page { background: var(--shop-paper); color: var(--shop-ink); }
.home-page #main { max-width: 1800px; margin: auto; }
.shop-hero {
  display: grid;
  grid-template-columns: minmax(0,.91fr) minmax(0,1.15fr);
  background: var(--shop-linen);
}
.shop-hero-copy {
  align-self: center;
  padding: clamp(48px,5.7vw,96px) clamp(26px,3.7vw,66px) clamp(48px,5.7vw,96px) var(--shop-pad);
}
.shop-hero h1, .collection-heading h2, .home-config-copy h2 {
  margin: 0;
  font-family: 'Cormorant',Georgia,serif;
  font-weight: 400;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.shop-hero h1 { font-size: clamp(58px,6.15vw,108px); line-height: .93; }
.shop-hero h1 em, .collection-heading em, .home-config-copy em { font-weight: 400; }
.shop-hero-copy > p, .home-config-copy > p {
  max-width: 40ch;
  margin: clamp(20px,2vw,30px) 0;
  color: #3b5248;
  font: 17px/1.57 var(--body);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px; row-gap: 8px; }
.shop-button, .shop-text-link, .shop-hero-photo > span { font: 16px/1.25 'Barlow',Arial,sans-serif; }
.shop-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 12px 22px;
  color: #fffdf7; background: var(--shop-forest); border: 1px solid var(--shop-forest); border-radius: 3px;
}
.shop-button:hover, .shop-button:focus-visible { background: #18352d; color: white; text-decoration: none; }
.shop-text-link { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.shop-text-link:hover { text-decoration-thickness: 2px; }
.shop-hero-photo { display: block; position: relative; min-height: 100%; isolation: isolate; overflow: hidden; }
.shop-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
.shop-hero-photo > span {
  position: absolute; bottom: clamp(12px,2vw,28px); right: clamp(12px,2vw,28px);
  display: inline-flex; align-items: center; padding: 8px 14px; min-height: 40px;
  background: #1b3029e8; color: #fff; border-radius: 2px;
}
.shop-hero-photo:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.home-collections { max-width: 1550px; margin: 0 auto; padding-inline: var(--shop-pad); }
.sauna-collection { padding: clamp(44px,5.9vw,92px) 0; }
.collection-heading { display: flex; gap: 12px 24px; justify-content: space-between; align-items: baseline; margin-bottom: clamp(20px,2.3vw,36px); }
.collection-heading h2, .home-config-copy h2 { font-size: clamp(40px,4.3vw,79px); line-height: 1; }
.sauna-styles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.3vw,38px); }
.sauna-style { min-width: 0; display: block; }
.sauna-style:hover { text-decoration: none; }
.style-photo { aspect-ratio: 1.55; overflow: hidden; background: var(--shop-linen); border-radius: 3px; }
.style-photo img, .home-config-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sauna-style h3 { font: 400 clamp(25px,2.45vw,40px)/1.12 'Cormorant',Georgia,serif; margin: 13px 0 4px; color: var(--shop-ink); }
.sauna-style:hover h3, .sauna-style:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sauna-style p { margin: 0; color: #43564c; font-size: 16px; line-height: 1.45; }
.home-config { background: var(--shop-forest); color: #fffdf4; display: grid; grid-template-columns: 1.05fr 1fr; }
.home-config-photo { position: relative; min-width: 0; min-height: 100%; }
.home-config-photo img { position: absolute; inset: 0; }
.home-config-copy { align-self: center; padding: clamp(36px,5vw,78px); }
.home-config-copy > p { color: #e4ece3; }
.shop-button-light { background: var(--shop-paper); color: var(--shop-ink); border-color: transparent; }
.shop-button-light:hover, .shop-button-light:focus-visible { background: #e8e5d7; color: var(--shop-ink); }
.home-service-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-block: clamp(32px,5vw,78px); }
.home-service-links a { border-left: 1px solid var(--shop-rule); padding: 10px clamp(18px,3vw,50px); }
.home-service-links a:first-child { border-left: 0; padding-left: 0; }
.home-service-links h2 { font: 400 clamp(22px,2.2vw,34px)/1.15 'Cormorant',Georgia,serif; margin: 0 0 8px; }
.home-service-links p { font: 16px/1.4 var(--body); margin: 0; }
.home-service-links a:hover { text-decoration: none; }
.home-service-links a:hover p { text-decoration: underline; text-underline-offset: 3px; }
.home-page .site-footer { margin-top: 0; }
.site-footer { background: var(--shop-forest); }
.site-footer .footer-main { gap: clamp(25px,5vw,90px); padding-inline: var(--shop-pad); max-width: 1380px; }
.site-footer .footer-main h2 { font: 400 clamp(33px,3.3vw,54px)/1.05 'Cormorant',Georgia,serif; }
.site-footer .contact-form label { font: 16px/1.4 'Barlow',Arial,sans-serif; }
.site-footer .contact-form label > span { display: block; }
.site-footer .contact-form :is(input,textarea) { font-size: 16px; }
.site-footer .contact-form button[type=submit] { justify-self: start; min-height: 44px; }

@media (max-width: 850px) {
  .shop-hero { grid-template-columns: 1fr 1fr; }
  .shop-hero h1 { font-size: clamp(49px,7vw,64px); }
  .shop-hero-copy { padding: 45px 26px; }
  .hero-actions { column-gap: 15px; }
  .shop-button { padding-inline: 16px; }
}
@media (max-width: 620px) {
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-copy { padding: 32px var(--shop-pad) 27px; }
  .shop-hero h1 { font-size: clamp(50px,10vw,65px); line-height: .94; }
  .shop-hero-copy > p { margin-block: 16px; font-size: 16px; max-width: 43ch; }
  .hero-actions { column-gap: 20px; }
  .shop-hero-photo { min-height: 0; aspect-ratio: 1.75; }
  .collection-heading { flex-wrap: wrap; gap: 0 18px; margin-bottom: 17px; }
  .collection-heading h2 { font-size: 41px; }
  .sauna-styles { grid-template-columns: 1fr; gap: 12px; }
  .sauna-style { display: grid; grid-template-columns: 102px minmax(0,1fr); column-gap: 16px; padding-block: 9px 16px; border-bottom: 1px solid var(--shop-rule); align-content: center; }
  .style-photo { grid-row: span 2; aspect-ratio: 1.25; }
  .sauna-style h3 { margin: 0 0 4px; font-size: 27px; align-self: end; }
  .sauna-style p { font-size: 16px; }
  .home-config { grid-template-columns: 1fr; }
  .home-config-photo { aspect-ratio: 1.7; }
  .home-config-copy { padding: 28px 24px 32px; }
  .home-config-copy h2 { font-size: 44px; }
  .home-config-copy > p { font-size: 16px; margin: 16px 0 20px; }
  .home-service-links { grid-template-columns: 1fr; margin-block: 18px 30px; }
  .home-service-links a, .home-service-links a:first-child { border: 0; border-bottom: 1px solid var(--shop-rule); padding: 18px 0; }
  .home-service-links h2 { margin-bottom: 3px; }
  .site-footer .footer-main { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.shop-header .submenu-saunas .sauna-all-link { display: block; width: fit-content; margin: 20px auto 0; }
@media (max-width: 750px) {
  .shop-header .cart-link > span:not(.cart-count) {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto;
  }
  .shop-header .cart-link svg { width: 17px; height: 17px; }
  .shop-header .cart-link { gap: 4px; padding-inline: 8px; }
}
@media (max-width: 370px) {
  .shop-header :is(.logo,.logo img) { width: 94px; }
  .shop-header .topbar { gap: 4px; }
}
@media (max-width: 420px) {
  .shop-header .menu-toggle { gap: 0; padding-inline: 8px; }
  .shop-header .menu-lines { display: none; }
}
