.store-page[hidden] { display: none; }
.store-route #main > section:not(.store-page) { display: none; }
.store-page { min-height: calc(100vh - var(--header) - 30px); background: var(--paper); }

.nav-trigger { font: inherit; color: inherit; cursor: pointer; }
.mega-intro > p:not(.eyebrow) { max-width: 260px; color: #696c64; font-size: 12px; }
.mega-intro .text-link { margin-top: 10px; }
.nav-group.open .mega-menu { opacity: 1; visibility: visible; transform: none; }
.nav-group:not(.open):not(:hover):focus-within .mega-menu { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.nav-trigger:focus-visible, .mega-menu a:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }

.store-hero { min-height: 380px; padding: 90px 7vw 75px; display: grid; align-items: end; border-bottom: 1px solid var(--line); }
.store-hero.has-image { min-height: min(610px, 70vh); position: relative; overflow: hidden; color: #fff; }
.store-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 22, 17, .65), rgba(25, 22, 17, .08) 72%); }
.store-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.store-hero > div { position: relative; z-index: 1; width: min(720px, 100%); }
.store-hero h1, .store-state h1, .store-product-detail h1 { margin: 0; font: clamp(48px, 6vw, 82px)/.96 var(--serif); font-weight: 400; }
.store-hero > div > p:last-child { max-width: 610px; margin: 24px 0 0; font: 19px/1.55 var(--serif); }

.store-section, .store-products { padding: 76px 6vw 100px; }
.store-products { border-top: 1px solid var(--line); }
.store-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.store-section-head h2 { margin: 0; font: 44px/1 var(--serif); font-weight: 400; }
.store-controls { display: flex; gap: 12px; }
.store-controls label { display: grid; gap: 5px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.store-controls select { min-width: 170px; height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 34px 0 12px; font: 12px var(--sans); }

.store-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.store-link-grid > a { min-height: 150px; display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: center; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.store-link-grid img { width: 100px; height: 104px; object-fit: cover; background: #eeebe4; }
.store-link-grid span, .store-room-grid span, .store-style-grid span { display: grid; gap: 8px; }
.store-link-grid strong, .store-room-grid strong, .store-style-grid strong { font: 23px/1.1 var(--serif); font-weight: 400; }
.store-link-grid small, .store-room-grid small, .store-style-grid small { color: #696c64; line-height: 1.5; }

.store-room-grid, .store-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.store-room-grid > a, .store-style-grid > a { display: grid; gap: 18px; }
.store-room-grid img, .store-style-grid img { aspect-ratio: 1.2; height: 100%; object-fit: cover; background: #eeebe4; }

.store-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 14px; }
.store-product { min-width: 0; }
.store-product-media { position: relative; aspect-ratio: 1 / 1.12; background: #eeebe4; overflow: hidden; }
.store-product-media > a { display: block; height: 100%; }
.store-product-media img { height: 100%; object-fit: cover; transition: transform .4s; }
.store-product:hover .store-product-media img { transform: scale(1.025); }
.store-product-copy { padding: 15px 2px 0; }
.store-product-copy .eyebrow { color: #696c64; margin-bottom: 8px; }
.store-product-copy h2 { margin: 0 0 11px; font: 20px/1.15 var(--serif); font-weight: 400; }
.store-product-copy > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.store-product-copy .button { width: 100%; margin-top: 14px; }
.store-load-more { display: flex; margin: 55px auto 0; }

.store-guide { margin: 0; padding: 42px 6vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.store-guide > div { background: var(--cream); padding: 28px; }
.store-guide p:last-child { margin: 0; font: 20px/1.4 var(--serif); }

.store-product-detail { width: min(1250px, 90vw); margin: auto; padding: 82px 0 110px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(45px, 7vw, 100px); align-items: center; }
.store-product-gallery { min-width: 0; align-self: start; }
.store-product-gallery-stage { aspect-ratio: 1 / 1.08; overflow: hidden; background: #eeebe4; }
.store-product-gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
.store-product-thumbnail-nav { position: relative; margin-top: 10px; }
.store-product-thumbnails { display: grid; grid-auto-flow: column; grid-auto-columns: 82px; gap: 8px; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline proximity; scrollbar-width: none; -ms-overflow-style: none; }
.store-product-thumbnails::-webkit-scrollbar { display: none; }
.store-product-thumbnail { width: 82px; aspect-ratio: 1; overflow: hidden; border: 1px solid transparent; background: #eeebe4; padding: 0; cursor: pointer; scroll-snap-align: start; }
.store-product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.store-product-thumbnail[aria-pressed="true"] { border-color: var(--ink); }
.store-product-thumbnail:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.store-product-gallery-arrow { position: absolute; z-index: 2; top: 0; bottom: 0; display: grid; place-items: center; width: 54px; border: 0; color: var(--ink); padding: 0; opacity: 0; pointer-events: none; cursor: pointer; touch-action: manipulation; transition: opacity .22s ease, color .22s ease; }
.store-product-gallery-arrow::before { content: ""; width: 11px; height: 11px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transition: transform .22s ease; }
.store-product-gallery-arrow-previous { left: 0; justify-items: start; background: linear-gradient(90deg, var(--paper) 12%, rgba(250, 248, 243, .9) 48%, rgba(250, 248, 243, 0) 100%); }
.store-product-gallery-arrow-next { right: 0; justify-items: end; background: linear-gradient(270deg, var(--paper) 12%, rgba(250, 248, 243, .9) 48%, rgba(250, 248, 243, 0) 100%); }
.store-product-gallery-arrow-previous::before { margin-left: 15px; transform: rotate(-135deg); }
.store-product-gallery-arrow-next::before { margin-right: 15px; transform: rotate(45deg); }
.store-product-thumbnail-nav.has-overflow .store-product-gallery-arrow:not(:disabled) { opacity: .82; pointer-events: auto; }
.store-product-gallery-arrow:hover:not(:disabled) { color: var(--clay); opacity: 1; }
.store-product-gallery-arrow-previous:hover:not(:disabled)::before { transform: translateX(-3px) rotate(-135deg); }
.store-product-gallery-arrow-next:hover:not(:disabled)::before { transform: translateX(3px) rotate(45deg); }
.store-product-gallery-arrow:disabled { opacity: 0; pointer-events: none; cursor: default; }
.store-product-gallery-arrow:focus-visible { color: var(--clay); outline: none; opacity: 1; }
.store-product-gallery-arrow:focus-visible::before { filter: drop-shadow(0 0 2px rgba(184, 95, 61, .45)); }
.store-product-detail h1 { font-size: clamp(46px, 5vw, 72px); }
.store-product-detail h1.store-product-title-long { font-size: clamp(38px, 3.7vw, 58px); line-height: .98; }
.store-product-detail h1.store-product-title-very-long { font-size: clamp(33px, 3.2vw, 49px); line-height: 1; }
.store-product-detail > div:last-child > p:not(.eyebrow) { max-width: 590px; color: #5e625a; }
.store-detail-price { font: 22px var(--serif); color: var(--ink) !important; }
.store-product-description { max-width: 590px; color: #5e625a; }
.store-product-description p { margin: 0 0 16px; }
.store-product-description p:last-child { margin-bottom: 0; }
.store-product-description ul, .store-product-description ol { margin: 14px 0 18px; padding-left: 20px; }
.store-product-description li + li { margin-top: 6px; }
.store-product-description .store-product-description-list { list-style: none; padding-left: 0; }
.store-product-description-list li { position: relative; padding-left: 14px; }
.store-product-description-list li::before { content: "-"; position: absolute; left: 0; top: 0; }
.store-product-options { display: grid; gap: 20px; margin-top: 28px; }
.store-product-options fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.store-product-options legend { margin-bottom: 10px; color: #5e625a; font: 10px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.store-product-options legend strong { color: var(--ink); font-weight: 500; }
.store-product-options fieldset > div { display: flex; flex-wrap: wrap; gap: 8px; }
.store-product-option { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 12px var(--sans); cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.store-product-option:hover { border-color: #8b8b83; }
.store-product-option.selected { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.store-product-option.unavailable:not(.selected) { color: #898b84; text-decoration: line-through; }
.store-product-option:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.store-product-option-swatch { width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid rgba(31, 34, 28, .22); border-radius: 50%; background: var(--option-swatch); }
.store-product-option.selected .store-product-option-swatch { border-color: rgba(255, 255, 255, .65); }
.store-availability { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.store-detail-actions { display: flex; gap: 9px; margin-top: 30px; }

.store-state { min-height: 420px; padding: 90px 7vw; display: grid; align-content: center; justify-items: start; }
.store-state h2 { margin: 0; font: 38px/1.05 var(--serif); font-weight: 400; }
.store-state p { max-width: 560px; color: #696c64; }
.store-state .button { margin-top: 15px; }
.store-not-found { min-height: 65vh; }
.store-not-found > div { display: flex; gap: 9px; }
.search-results a { border: 0; background: none; text-align: left; padding: 0; }
.search-results a img { aspect-ratio: 1; object-fit: cover; }
.search-results a span { font: 14px var(--serif); }

.service-layout {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 76px 0 110px;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(55px, 9vw, 130px);
  align-items: start;
}

.service-nav {
  position: sticky;
  top: calc(var(--header) + 28px);
  display: grid;
  gap: 34px;
}

.service-nav > div {
  display: grid;
  gap: 3px;
}

.service-nav h2 {
  margin: 0 0 10px;
  color: #73776e;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.service-nav a {
  border-left: 1px solid var(--line);
  padding: 7px 0 7px 15px;
  color: #5e625a;
  font-size: 12px;
}

.service-nav a:hover,
.service-nav a[aria-current="page"] {
  border-left-color: var(--clay);
  color: var(--ink);
}

.service-nav a[aria-current="page"] {
  font-weight: 650;
}

.service-nav a:focus-visible,
.service-actions a:focus-visible,
.service-faq summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.service-article {
  min-width: 0;
}

.service-updated {
  margin: 0 0 36px;
  color: #73776e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.service-content {
  border-top: 1px solid var(--ink);
}

.service-section {
  padding: 35px 0 39px;
  border-bottom: 1px solid var(--line);
}

.service-section h2,
.service-faq summary {
  margin: 0;
  font: 30px/1.12 var(--serif);
  font-weight: 400;
}

.service-section p,
.service-faq p {
  margin: 17px 0 0;
  color: #545950;
  font-size: 14px;
  line-height: 1.75;
}

.service-section ul,
.service-faq ul {
  margin: 19px 0 0;
  padding-left: 20px;
  color: #545950;
  font-size: 14px;
  line-height: 1.7;
}

.service-section li + li,
.service-faq li + li {
  margin-top: 8px;
}

.service-faq {
  border-bottom: 1px solid var(--line);
}

.service-faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 29px 52px 29px 0;
  font-size: 24px;
}

.service-faq summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 27px;
  font: 22px var(--sans);
}

.service-faq[open] summary::after {
  content: "-";
}

.service-faq > div {
  padding: 0 48px 30px 0;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

@media (max-width: 1100px) {
  .store-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-link-grid, .store-room-grid, .store-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .site-header > .brand img { width: 140px; }
  .main-nav { gap: 8px; font-size: 10px; }
}

@media (min-width: 721px) and (max-width: 800px) {
  .header-actions .saved-button { display: none; }
}

@media (max-width: 720px) {
  .nav-group { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-group > .nav-trigger { width: 100%; display: flex !important; justify-content: space-between; align-items: center; padding: 13px 0 !important; text-align: left; }
  .nav-trigger::after { content: "+"; font: 18px var(--sans); }
  .nav-trigger[aria-expanded="true"]::after { content: "-"; }
  .mega-menu, .nav-group:hover .mega-menu, .nav-group:focus-within .mega-menu { position: static; display: none; width: 100%; padding: 0 0 20px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; gap: 0; }
  .nav-group.open .mega-menu { display: grid; }
  .mega-intro { padding: 8px 0 16px; }
  .mega-intro h3 { font-size: 25px; }
  .mega-menu > div:not(.mega-intro) { display: grid !important; }
  .mega-menu a { padding: 7px 0; font-size: 12px; }
  .store-hero, .store-hero.has-image { min-height: 440px; padding: 70px 20px 45px; }
  .store-hero:not(.has-image) { min-height: 330px; }
  .store-hero h1, .store-state h1 { font-size: 47px; }
  .store-hero > div > p:last-child { font-size: 17px; }
  .store-section, .store-products { padding: 55px 18px 75px; }
  .store-section-head { align-items: start; flex-direction: column; }
  .store-section-head h2 { font-size: 38px; }
  .store-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .store-controls select { width: 100%; min-width: 0; }
  .store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 8px; }
  .store-product-copy h2 { font-size: 17px; }
  .store-product-copy > div { display: grid; }
  .store-product-copy .button { min-height: 42px; padding: 0 8px; }
  .store-link-grid, .store-room-grid, .store-style-grid { grid-template-columns: 1fr; }
  .store-link-grid > a { grid-template-columns: 82px 1fr; min-height: 120px; }
  .store-link-grid img { width: 82px; height: 84px; }
  .store-guide { padding: 1px 18px; grid-template-columns: 1fr; }
  .store-product-detail { width: 100%; padding: 0 20px 75px; grid-template-columns: 1fr; gap: 35px; }
  .store-product-gallery { margin: 0 -20px; }
  .store-product-thumbnail-nav { padding: 0 12px; }
  .store-product-thumbnails { grid-auto-columns: 72px; }
  .store-product-thumbnail { width: 72px; }
  .store-product-gallery-arrow { width: 46px; }
  .store-product-gallery-arrow-previous::before { margin-left: 13px; }
  .store-product-gallery-arrow-next::before { margin-right: 13px; }
  .store-product-detail h1 { font-size: 44px; }
  .store-detail-actions { display: grid; }
  .store-state { min-height: 360px; padding: 70px 20px; }
  .store-not-found > div { display: grid; width: 100%; }
  .service-layout { width: 100%; padding: 0 20px 76px; grid-template-columns: 1fr; gap: 38px; }
  .service-nav { position: static; margin: 0 -20px; padding: 24px 20px; grid-template-columns: 1fr 1fr; gap: 24px; border-bottom: 1px solid var(--line); background: var(--cream); }
  .service-nav a { padding-left: 10px; }
  .service-section { padding: 29px 0 33px; }
  .service-section h2 { font-size: 27px; }
  .service-section p, .service-section ul, .service-faq p, .service-faq ul { font-size: 13px; }
  .service-faq summary { padding: 25px 45px 25px 0; font-size: 22px; }
  .service-faq summary::after { top: 23px; }
  .service-faq > div { padding: 0 0 28px; }
  .service-actions { display: grid; }
}
