.shop-heading {
  padding: 3.5rem 0;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--hairline);
}
.shop-heading .lead {
  margin-top: 1rem;
}
.holiday-banner {
  background: var(--navy);
  color: var(--paper);
  padding: 2rem 0;
  border-bottom: 1px solid var(--hairline);
}
.holiday-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.holiday-banner .eyebrow {
  color: var(--accent-soft);
}
.holiday-banner h2 {
  color: var(--paper);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0.25rem 0 0.4rem;
}
.holiday-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  margin: 0;
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin: 2rem 0;
}
.shop-toolbar > div {
  flex: 1 1 12rem;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card--holiday {
  border-top: 3px solid var(--accent);
}
.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--navy);
}
.product-card > a {
  background: #f4f6f7;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.product-body {
  padding: 1.3rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
}
.product-body h2 {
  font-size: 1.25rem;
}
.product-body h2 a {
  color: var(--navy);
  text-decoration: none;
}
.product-price {
  font-weight: 700;
}
.product-body .btn {
  padding: 0.8rem 1rem;
  margin-top: auto;
}
.shop-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.shop-cart {
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--paper-warm);
  position: sticky;
  top: 100px;
}
.shop-cart h2 {
  font-size: 1.6rem;
}
.cart-line {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
}
.cart-line strong,
.cart-line small {
  display: block;
}
.cart-line small {
  color: var(--ink-soft);
}
.cart-controls {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0.5rem 0;
}
.cart-controls input {
  width: 4.5rem;
  padding: 0.35rem;
}
.text-button {
  background: none;
  border: 0;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin: 1rem 0;
}
.shop-cart .btn {
  width: 100%;
  margin: 1rem 0;
  padding: 1rem 0.5rem;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.shop-message {
  padding: 1rem 1.25rem;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  margin: 1.5rem 0;
}
.shop-message:empty {
  display: none;
}
.product-detail {
  margin: 2rem 0;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}
.detail-image {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  background: var(--paper-warm);
}
.detail-layout h2 {
  margin-bottom: 1rem;
}
.detail-layout p,
.detail-layout ul {
  margin: 0.8rem 0;
}
.detail-layout ul {
  padding-left: 1.5rem;
}
.detail-layout select {
  margin: 1rem 0;
}
.thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.thumbnails button {
  background: white;
  border: 1px solid var(--hairline);
  padding: 0.2rem;
  cursor: pointer;
}
.thumbnails img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.shop-empty {
  padding: 2rem 0;
  color: var(--ink-soft);
}
.skip-link {
  position: absolute;
  left: -10000px;
}
.skip-link:focus {
  left: 1rem;
  z-index: 100;
  background: white;
  padding: 1rem;
}
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 1000px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-cart {
    position: static;
  }
}
@media (max-width: 600px) {
  .shop-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .shop-heading {
    padding: 2.5rem 0;
  }
  .detail-layout {
    gap: 1.5rem;
  }
}
