.storefront {
  --paper: #fcfaf6;
  --ink: #28261f;
  --olive: #263b30;
  --gold: #775a30;
  --stone: #eee6da;
  --line: #ddd2c1;
  --gutter: clamp(1rem, 4vw, 4.75rem);
}
.storefront .site-header { min-height: 72px; }
.store-nav { gap: .5rem clamp(1rem, 3vw, 3rem); }
.store-nav a, .store-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.storefront .site-languages a { display: grid; min-height: 36px; min-width: 34px; place-items: center; }
.skip-link { position: absolute; z-index: 2; top: .5rem; left: 1rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.store-collection, .store-custom {
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.store-hero {
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 44vw, 690px);
  background: #eee4d3;
}
.store-hero-copy {
  padding: clamp(2rem, 7vw, 8rem);
  width: min(54%, 57rem);
}
.storefront h1 { font-size: clamp(2.75rem, 6.05vw, 6.5rem); line-height: .98; letter-spacing: -.055em; }
.storefront h1 em { color: #665136; }
.store-hero-copy p { max-width: 36ch; margin: 1.15rem 0 1.35rem; }
.store-hero-photo { position: absolute; inset: 0; z-index: -1; }
.store-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.store-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #eee4d3 0%, #eee4d3ed 27%, #eee4d3ba 43%, transparent 62%);
}
.store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; }
.store-button { display: inline-flex; min-height: 46px; padding: .65rem 1rem; align-items: center; background: var(--olive); color: white; text-decoration: none; font-weight: 600; line-height: 1.35; }
.store-button:hover { background: #365143; }
.store-text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .45rem; color: var(--olive); font-weight: 600; text-underline-offset: .22em; line-height: 1.35; }
.store-text-link:hover { text-decoration-thickness: 2px; }

.store-collection { padding-block: clamp(2rem, 4vw, 3.75rem); scroll-margin-top: 1rem; }
.storefront h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.store-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2.4vw, 2.5rem); }
.store-card { min-width: 0; }
.store-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: right center; background: var(--stone); }
.store-card img.store-card-chains { object-position: 92% center; }
.store-card-copy { padding: .7rem .1rem .4rem; }
.store-card h3 { margin: 0; line-height: 1.2; font-size: clamp(1.35rem, 2.6vw, 2.25rem); }
.store-card p { margin: .3rem 0; line-height: 1.45; }

.store-custom { padding-block: clamp(1.5rem, 5vw, 4rem); background: #eaf0e9; color: var(--olive); }
.store-custom-copy { max-width: 55ch; }
.store-custom p { margin: 0 0 1rem; }
.store-footer { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }

@media (max-width: 740px) {
  .store-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .store-hero-photo { position: relative; aspect-ratio: 1.9; grid-row: 1; }
  .store-hero-photo img { object-position: right center; }
  .store-hero-photo::after { display: none; }
  .store-hero-copy { width: auto; padding: 1.5rem var(--gutter) 2rem; }
  .storefront h1 { font-size: clamp(2.65rem, 9vw, 4.25rem); }
}
@media (max-width: 560px) {
  .storefront .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .5rem; }
  .storefront .site-languages { grid-column: 1 / -1; }
  .store-nav { gap: .4rem .7rem; }
  .store-nav a { font-size: .83rem; }
  .storefront .brand { gap: .45rem; }
  .storefront .brand img { width: 28px; }
  .storefront .brand span { font-size: .94rem; }
  .storefront .brand small { font-size: .54rem; margin-top: .3rem; }
  .store-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
  .store-card img { aspect-ratio: 1; }
  .store-card h3 { font-size: clamp(.95rem, 3.8vw, 1.35rem); overflow-wrap: anywhere; }
  .store-card p, .store-card .store-text-link { font-size: .82rem; }
}
@media (max-width: 350px) {
  .storefront .site-header { grid-template-columns: minmax(0, 1fr); }
  .storefront .site-languages { grid-column: auto; }
}

.retail-collection {
  width: calc(100% - 2 * var(--gutter));
  margin: 0 auto clamp(2rem, 5vw, 4.5rem);
  scroll-margin-top: 1rem;
}
.retail-collection [hidden] { display: none !important; }
.retail-tools { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.retail-tools input { width: min(100%, 34rem); padding: .55rem 0; border-width: 0 0 1px; background: transparent; }
.retail-filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.retail-filters button, .retail-tools input, .retail-caption input, .retail-caption select {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
}
.retail-filters button { padding: .35rem .55rem; cursor: pointer; border: 0; border-bottom: 2px solid transparent; background: transparent; }
.retail-filters button[aria-pressed="true"] { color: var(--olive); border-color: var(--olive); font-weight: 650; }
.retail-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(1rem,2.5vw,2.5rem) clamp(.7rem,1.65vw,1.5rem); }
.retail-card { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.retail-photo { position: relative; aspect-ratio: 1.08; min-width: 0; overflow: hidden; background: #f3eee6; }
.retail-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 9%; object-fit: contain; mix-blend-mode: multiply; }
.retail-caption { display: flex; flex-direction: column; min-width: 0; padding: .75rem 0 0; }
.retail-caption h3 { margin: 0 0 .3rem; overflow-wrap: anywhere; font-size: clamp(1.14rem,2vw,1.65rem); line-height: 1.12; }
.retail-caption p { font-size: .87rem; margin: 0 0 .65rem; overflow-wrap: anywhere; }
.retail-model { display: block; color: #575249; }
.retail-caption form { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.retail-caption form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; font-size: .84rem; }
.retail-caption form input, .retail-caption form select { width: 100%; min-width: 0; padding: .3rem; }
.retail-caption form button { border: 0; cursor: pointer; justify-content: center; text-align: center; overflow-wrap: anywhere; font: inherit; line-height: 1.25; font-weight: 600; }
.retail-favorite { position: absolute; inset: .3rem .25rem auto auto; width: 44px; height: 44px; padding: 0; font-size: 1.45rem; border: 0; border-radius: 50%; background: var(--paper); color: #8f3146; cursor: pointer; }
.store-custom { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 1.4rem; }
.store-custom img { width: 100%; height: auto; object-fit: cover; }
@media (max-width: 960px) { .retail-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 660px) {
  .retail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .store-custom { grid-template-columns: minmax(0,1fr); }
}

.retail-chain-tools { display: flex; flex-wrap: wrap; gap: .75rem; }
.retail-chain-tools label { display: grid; gap: .25rem; }
.retail-chain-tools select, .retail-compare, .retail-fitting button, .retail-comparison button {
  padding: .35rem .6rem; min-height: 44px; max-width: 100%; font: inherit;
  color: var(--olive); background: var(--paper); border: 1px solid var(--line);
}
.retail-compare { margin-top: .55rem; cursor: pointer; }
.retail-compare[aria-pressed="true"] { color: white; background: var(--olive); }
.retail-caption summary { color: var(--olive); font-weight: 600; cursor: pointer; padding-block: .45rem; overflow-wrap: anywhere; }
.retail-caption details[open] > :is(label,button) { margin-top: .5rem; }
.retail-caption details > button { width: 100%; }
.retail-comparison { padding: 1rem; margin-bottom: 1rem; background: #ede9df; }
.retail-comparison [data-compare-items] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.retail-comparison article { min-width: 0; overflow-wrap: anywhere; }
.retail-comparison img { display: block; width: 100%; height: 76px; object-fit: contain; }

.retail-photo-black, .retail-comparison .retail-compare-black img { background: #111; }
.retail-photo-black img { mix-blend-mode: normal; padding: 0; }
