.home-store {
  font: 400 15px/1.55 var(--home-font);
}

.home-wrap {
  width: var(--home-content-width);
  margin-inline: auto;
}

.home-store :is(h1, h2, h3, p) {
  margin: 0;
}

.home-store h2 {
  color: var(--home-ink);
  font: 600 clamp(28px, 3.15vw, 48px)/1.08 var(--home-font);
  letter-spacing: -.065em;
  text-wrap: balance;
}

.home-store p {
  color: var(--home-muted);
  font: inherit;
  line-height: 1.6;
}

.home-store :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.home-arrow {
  flex: none;
}

.home-button,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  color: inherit;
  font: 650 14px/1.25 var(--home-font);
  text-decoration: none;
}

.home-text-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-text-link:hover {
  text-decoration-thickness: 2px;
}

.home-button {
  justify-content: space-between;
  gap: 16px;
  padding-inline: 17px;
  min-height: 50px;
  border-radius: 6px;
  background: var(--home-plum);
  color: #fff;
}

.home-button:hover {
  background: var(--home-ink);
  color: #fff;
}

.home-opening {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(420px, 36vw, 540px);
  margin-top: clamp(14px, 1.6vw, 25px);
  border-radius: 12px;
  overflow: hidden;
  background: var(--home-plum);
  color: var(--home-paper);
}

.home-opening-copy {
  align-self: center;
  padding: clamp(26px, 3.9vw, 56px);
}

.home-store .home-opening h1 {
  color: inherit;
  font: 600 clamp(39px, 4.55vw, 70px)/1.02 var(--home-font);
  letter-spacing: -.063em;
  text-wrap: balance;
}

.home-opening-copy p {
  max-width: 33ch;
  margin-block: 20px 25px;
  color: #efe6f0;
  font-size: clamp(15px, 1.35vw, 19px);
}

.home-opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 18px;
}

.home-opening .home-button {
  background: #eee4f1;
  color: var(--home-plum);
}

.home-opening .home-button:hover {
  background: #fff;
  color: var(--home-ink);
}

.home-opening-image {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #9b8179;
}

.home-opening-image img,
.home-category-image img,
.home-feature > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-opening-image img {
  position: absolute;
  inset: 0;
  object-position: center 64%;
}

.home-section {
  margin-block: clamp(54px, 7vw, 96px);
}

.home-departments {
  margin-top: clamp(32px, 3.7vw, 54px);
}

.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: clamp(15px, 2vw, 27px);
}

.home-section-heading .home-text-link {
  flex: none;
}

.home-category-grid,
.home-product-grid {
  display: grid;
  gap: clamp(10px, 1.35vw, 20px);
}

.home-category-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.home-category {
  display: block;
  min-width: 0;
  color: var(--home-ink);
  text-decoration: none;
}

.home-category-image {
  display: block;
  aspect-ratio: 480 / 380;
  overflow: hidden;
  border-radius: 7px;
  background: var(--home-lilac);
}

.home-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 44px;
  font-weight: 650;
}

.home-category:hover .home-category-label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-product-grid .prod-card {
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.home-product-grid .pcard-cover {
  background: var(--home-lilac) !important;
  border-radius: 7px !important;
}

.home-product-grid .pcard-body {
  padding: 11px 0 0 !important;
}

.home-product-grid .pcard-title {
  color: var(--home-ink) !important;
  font: 650 clamp(13px, 1.3vw, 18px)/1.25 var(--home-font) !important;
}

.home-product-grid .pcard-price-values {
  flex-wrap: wrap;
  row-gap: 1px !important;
}

.home-product-grid .pcard-current-price {
  color: var(--home-plum) !important;
}

.home-product-grid .pcard-old-price {
  color: var(--home-muted) !important;
}

.home-product-grid .pcard-add-btn {
  min-height: 44px;
  border-color: var(--home-line) !important;
  background: transparent !important;
  color: var(--home-plum) !important;
}

.home-product-grid .pcard-add-btn:hover {
  background: var(--home-lilac) !important;
}

.home-card-alternate {
  display: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-card-alternate {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .pcard-cover:hover .home-card-alternate {
    opacity: 1;
  }
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: var(--home-lilac);
}

.home-feature > img {
  min-height: 100%;
  max-height: 450px;
}

.home-feature-copy {
  align-self: center;
  padding: clamp(26px, 5vw, 72px);
}

.home-feature-copy p {
  max-width: 35ch;
  margin-block: 14px 21px;
}

.home-reading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 48px);
}

.home-reading-intro p {
  margin-top: 14px;
  max-width: 27ch;
}

.home-reading-list h3 {
  margin-bottom: 10px;
  color: var(--home-ink);
  font: 700 17px/1.3 var(--home-font);
}

.home-reading-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 49px;
  padding-block: 10px;
  border-top: 1px solid var(--home-line);
  color: var(--home-ink);
  line-height: 1.35;
  text-decoration: none;
}

.home-reading-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-reading-more summary {
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  color: var(--home-plum);
  font-weight: 650;
}

.home-service {
  background: var(--home-lilac);
}

.home-service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding-block: 16px;
}

@media (max-width: 1000px) {
  .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-opening {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .home-opening-copy {
    padding: 26px 20px 22px;
  }

  .home-store .home-opening h1 {
    max-width: 14ch;
    font-size: clamp(37px, 9.6vw, 60px);
    text-wrap: initial;
  }

  .home-opening-copy p {
    margin-block: 13px 17px;
  }

  .home-opening-actions {
    gap: 5px 13px;
  }

  .home-opening-actions .home-button,
  .home-opening-actions .home-text-link {
    font-size: 13px;
  }

  .home-opening-actions .home-button {
    padding-inline: 10px;
    gap: 6px;
  }

  .home-opening-image {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-category-grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 13px;
  }

  .home-category-grid .home-category:last-child:nth-child(odd) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .home-category-grid .home-category:last-child:nth-child(odd) .home-category-label {
    padding-inline: 8px;
  }

  .home-section-heading h2 {
    text-wrap: initial;
  }

  .home-section-heading .home-text-link {
    gap: 4px;
    font-size: 13px;
  }

  .home-section-heading .home-arrow {
    width: 15px;
  }

  .home-feature,
  .home-reading {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-feature > img {
    aspect-ratio: 3 / 2;
  }

  .home-service-content {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }
}

@media (max-width: 360px) {
  .home-section-heading {
    flex-wrap: wrap;
  }
}
