/* Editorial surfaces share the portal's Manrope, forest palette and product cards. */
.store-hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: 550px;
  overflow: hidden;
  background: #e9e9df;
  border-radius: 5px;
}
.store-hero.theme-forest {
  background: #234c3e;
  color: #fff;
}
.store-hero.theme-sand {
  background: #eee6da;
  color: #223d33;
}
.store-hero.theme-chalk {
  background: #f1f1ec;
  color: #223d33;
}
.store-hero-copy {
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.store-hero .eyebrow {
  color: inherit;
  opacity: 0.78;
  line-height: 1.7;
  letter-spacing: 0.18em;
}
.store-hero h1 {
  font-size: clamp(35px, 3.5vw, 55px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 550;
  margin: 23px 0;
  max-width: 550px;
  text-wrap: balance;
}
.store-hero-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  max-width: 365px;
  opacity: 0.85;
}
.store-hero-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 21px;
  margin-top: 30px;
}
.store-hero.theme-forest .button {
  background: #fff;
  color: #234c3e;
  border-color: #fff;
}
.store-text-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
  opacity: 0.9;
}
.store-signature {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 45px;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.store-signature > span {
  opacity: 0.45;
  font-weight: 300;
}
.store-signature small {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.7;
}
.store-hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  background: #e9e8e3;
}
.store-hero-photos.single {
  grid-template-columns: 1fr;
}
.store-hero-photos > a {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: block;
}
.store-hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}
.store-hero-photos > a:hover img {
  transform: scale(1.02);
}
.store-hero-photos > a > span {
  position: absolute;
  bottom: 18px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 11px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #234c3e;
}
.store-hero-photos small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #64726b;
}
.store-benefits {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 27px 15px;
  border-bottom: 1px solid #e4e7e1;
  font-size: 12px;
  color: #53645b;
}
.store-benefits > span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.store-benefits svg {
  width: 18px;
  height: 18px;
}
.store-section {
  margin-top: 65px;
}
.store-section .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}
.store-section h2,
.store-support h2 {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
}
.store-section .text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.selection-tile {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 20px;
}
.selection-tile-image {
  grid-column: 1/-1;
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #eaece5;
}
.selection-tile-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transition: transform 0.4s;
}
.selection-tile:hover img {
  transform: scale(1.025);
}
.selection-tile-image > span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 15px;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.selection-tile h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 5px;
}
.selection-tile p {
  font-size: 12px;
  color: #64726b;
  margin: 0;
}
.selection-tile > svg {
  width: 23px;
  height: 23px;
}
.store-products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 24px !important;
  row-gap: 40px !important;
}
.store-support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-top: 66px;
  padding: 38px 40px;
  background: #f0f2ec;
  border: 1px solid #e3e7dc;
  border-radius: 5px;
}
.store-support p:not(.eyebrow) {
  max-width: 530px;
  line-height: 1.8;
  font-size: 13px;
  margin-top: 16px;
  color: #5e6e65;
}
.store-support .button {
  flex-shrink: 0;
}
.store-welcome {
  text-align: center;
  padding: 90px 20px;
  background: #eef0e9;
}
.store-welcome h1 {
  font-size: clamp(35px, 4vw, 55px);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 25px auto;
}
.store-welcome > p:not(.eyebrow) {
  margin-bottom: 25px;
}
.editorial-loading {
  padding: 90px 20px;
  text-align: center;
  color: #64726b;
}
.editorial-back {
  display: inline-block;
  font-size: 12px;
  margin: 6px 0 22px;
  color: #53645b;
}
.selection-end {
  text-align: center;
  margin-top: 48px;
}
.material-intro {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: #f1f3ed;
  border-radius: 5px;
  margin-bottom: 32px;
}
.material-intro-number {
  color: #95a598;
  font-size: 27px;
  font-weight: 400;
}
.material-intro p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #607165;
}
.material-intro strong {
  display: block;
  color: #294e3e;
}
.material-kits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.material-kit {
  border: 1px solid #e1e6dc;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}
.material-kit-photo {
  display: block;
  position: relative;
  height: 300px;
  background: #eceee7;
  overflow: hidden;
}
.material-kit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.material-kit-photo > span {
  position: absolute;
  bottom: 15px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.material-kit-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.material-kit-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.material-kit h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 12px 0;
}
.material-kit-copy > p:not(.eyebrow) {
  line-height: 1.8;
  color: #657467;
  font-size: 12px;
  min-height: 65px;
  margin: 0 0 22px;
}
.material-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.8fr);
  gap: 36px;
  align-items: start;
}
.material-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.material-preview figure {
  margin: 0;
}
.material-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #eceee7;
}
.material-preview figcaption {
  font-size: 12px;
  color: #657467;
  margin-top: 9px;
}
.material-preview-note {
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0;
}
.material-instructions {
  position: sticky;
  top: 20px;
}
.material-instructions h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 15px 0 20px;
}
.material-guide {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.9;
  color: #617266;
}
.material-instructions ol {
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.7;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.material-file-note {
  font-size: 12px;
  line-height: 1.8;
  padding-top: 20px;
  border-top: 1px solid #e4e8df;
  margin-bottom: 20px;
  color: #657467;
}
.material-instructions .button {
  width: 100%;
  justify-content: center;
}
#material-feedback {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 14px;
}
.material-references {
  border-top: 1px solid #e1e7de;
  padding: 18px 0;
}
.material-references summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.material-references ul {
  list-style: none;
  padding: 0;
}
.material-references li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  line-height: 1.7;
  padding: 12px 0;
  border-bottom: 1px solid #eef0ea;
}
.material-references a {
  white-space: nowrap;
}
.material-caption {
  margin-top: 32px;
}
.material-caption .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.material-caption > p {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.9;
  padding: 16px 0;
}
.material-caption small {
  color: #68796e;
}
.communication-preferences {
  margin-top: 25px;
}
.communication-preferences h2 {
  margin: 12px 0 22px;
}
.preference-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.preference-option input {
  width: 18px;
  height: 18px;
  accent-color: #234c3e;
  flex-shrink: 0;
}
.communication-preferences > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #657467;
  margin: 16px 0 22px;
}
.communication-preferences [role='status'] {
  display: block;
  font-size: 12px;
  margin-top: 12px;
}
@media (max-width: 1000px) {
  .store-hero-copy {
    padding: 42px 30px;
  }
  .store-hero {
    min-height: 490px;
  }
  .store-hero-photos > a > span {
    left: 8px;
    bottom: 10px;
  }
  .store-benefits {
    gap: 25px;
  }
  .selection-tile-image {
    height: 250px;
  }
  .store-support {
    padding: 30px;
  }
  .store-support .button {
    max-width: 235px;
  }
  .material-kit-copy {
    padding: 20px;
  }
  .material-kit-photo {
    height: 240px;
  }
}
@media (max-width: 760px) {
  .store-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .store-hero-copy {
    padding: 34px 27px 30px;
  }
  .store-hero h1 {
    font-size: 36px;
    max-width: 420px;
    margin: 18px 0;
  }
  .store-hero-copy > p:not(.eyebrow) {
    font-size: 13px;
    max-width: 400px;
  }
  .store-hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 23px;
  }
  .store-hero-actions .button {
    font-size: 12px;
    padding: 12px 15px;
    min-height: 44px;
  }
  .store-text-link {
    font-size: 12px;
  }
  .store-signature {
    display: none;
  }
  .store-hero-photos {
    height: 300px;
  }
  .store-hero-photos img {
    object-position: 50% 25%;
  }
  .store-hero-photos > a > span {
    left: 13px;
    bottom: 13px;
    font-size: 12px;
  }
  .store-benefits {
    gap: 13px;
    padding: 20px 0;
    font-size: 12px;
    justify-content: space-between;
  }
  .store-benefits > span {
    max-width: 100px;
    gap: 7px;
    line-height: 1.6;
  }
  .store-benefits svg {
    width: 16px;
    min-width: 16px;
  }
  .store-section {
    margin-top: 40px;
  }
  .store-section .section-heading {
    align-items: flex-start;
    margin-bottom: 21px;
    gap: 15px;
  }
  .store-section h2,
  .store-support h2 {
    font-size: 23px;
  }
  .store-section .section-heading > .text-link {
    font-size: 12px;
    padding-top: 4px;
  }
  .store-section .eyebrow {
    font-size: 12px;
  }
  .selection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .selection-tile {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .selection-tile-image {
    height: 180px;
  }
  .selection-tile-image > span {
    display: none;
  }
  .selection-tile h3 {
    font-size: 12px;
    line-height: 1.4;
  }
  .selection-tile p {
    font-size: 12px;
    line-height: 1.5;
  }
  .selection-tile > svg {
    display: none;
  }
  .store-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 32px !important;
  }
  .store-support {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 42px;
    padding: 28px 24px;
    gap: 24px;
  }
  .store-support p:not(.eyebrow) {
    font-size: 12px;
  }
  .store-support .button {
    max-width: none;
  }
  .material-intro {
    grid-template-columns: auto 1fr;
    padding: 22px;
    gap: 16px;
  }
  .material-kits {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .material-kit {
    display: grid;
    grid-template-columns: 38% 1fr;
  }
  .material-kit-photo {
    height: 100%;
    min-height: 240px;
  }
  .material-kit-photo > span {
    display: none;
  }
  .material-kit-copy {
    padding: 22px 18px;
  }
  .material-kit h2 {
    font-size: 18px;
  }
  .material-kit-copy > p:not(.eyebrow) {
    font-size: 12px;
    min-height: 0;
    margin-bottom: 17px;
  }
  .material-kit .button {
    font-size: 12px;
    padding: 11px 13px;
    min-height: 44px;
  }
  .material-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .material-instructions {
    position: static;
    order: -1;
  }
  .material-preview {
    gap: 14px;
  }
  .material-caption .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .material-caption h2 {
    font-size: 20px;
  }
  .material-caption .button {
    min-height: 44px;
  }
  .material-references li {
    flex-direction: column;
    gap: 6px;
  }
  .communication-preferences h2 {
    font-size: 22px;
  }
  .editorial-back {
    min-height: 30px;
  }
  .selection-end {
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-hero-photos img,
  .selection-tile-image img {
    transition: none;
  }
}

.selection-tile-image img,
.material-kit-photo img {
  object-fit: contain;
  object-position: center;
}

/* Preserve the whole garment while giving selections a consistent studio frame. */
.store-hero-photos img {
  object-fit: contain;
  object-position: center;
  background: #f1f1ec;
}
.selection-tile-image,
.material-kit-photo {
  background: #f4f4ef;
  padding: 10px;
}
.selection-tile-image img,
.material-kit-photo img {
  mix-blend-mode: multiply;
}
.store-hero-photos > a > span {
  line-height: 1.45;
  max-width: calc(100% - 28px);
}
.store-benefits {
  font-size: 13px;
  color: #40574a;
}
.store-selection-reason {
  font-size: 13px;
  line-height: 1.6;
  color: #53645b;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .store-benefits {
    font-size: 12px;
    gap: 16px;
    align-items: flex-start;
  }
  .store-benefits > span {
    flex: 1;
    max-width: none;
    flex-direction: column;
  }
  .store-section .section-heading {
    flex-wrap: wrap;
  }
  .selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .selection-grid > .selection-tile:last-child:nth-child(odd) {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr;
  }
  .selection-grid > .selection-tile:last-child:nth-child(odd) .selection-tile-image {
    grid-column: 1;
    height: 200px;
  }
  .selection-tile h3 {
    font-size: 16px;
  }
  .store-hero-photos {
    height: 330px;
  }
  .material-kit {
    grid-template-columns: 1fr;
  }
  .material-kit-photo {
    height: 300px;
  }
  .material-kit-copy {
    padding: 24px;
  }
  .material-kit .button {
    font-size: 13px;
  }
}
