/* Wildhouse Lane — component & page styles.
   Loaded after styles.css; reuses the palette variables defined there.
   MOBILE-FIRST: base rules target small screens; min-width queries enhance up. */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.page-title {
  color: var(--brown);
  font-size: 2em;
  text-align: center;
  margin: 6px 0 24px;
}

.error, .empty, .loading {
  text-align: center;
  color: var(--brown);
  padding: 40px 0;
  width: 100%;
}

.empty-state {
  text-align: center;
  color: var(--brown);
  padding: 48px 16px;
  max-width: 28rem;
  margin: 0 auto;
}
.empty-state__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--brown);
}
.empty-state__body {
  margin: 0 0 20px;
  line-height: 1.55;
  color: #5a4443;
}
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Skeletons — reserved space, no layout shift */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.skeleton-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 250, 248, 0.8);
  border: 1px solid rgba(78, 40, 41, 0.08);
}
.skeleton-card__media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, #f0e4df 25%, #f7ebe6 50%, #f0e4df 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-card__line {
  height: 12px;
  margin: 12px 12px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0e4df 25%, #f7ebe6 50%, #f0e4df 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-card__line--short { width: 55%; margin-bottom: 14px; }
.img-placeholder {
  background: linear-gradient(90deg, #f0e4df 25%, #f7ebe6 50%, #f0e4df 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.product-card__media.img-placeholder img,
.collection-card__media.img-placeholder img {
  opacity: 0;
}
.product-card__media img,
.collection-card__media img {
  transition: opacity 0.25s ease;
}
@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-card__media,
  .skeleton-card__line,
  .img-placeholder { animation: none; }
}
@media (min-width: 700px) {
  .skeleton-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1000px) {
  .skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1em;
  height: 1em;
  margin: -0.5em 0 0 -0.5em;
  border: 2px solid rgba(255, 250, 248, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  color: var(--brown);
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { animation: none; border-top-color: var(--brown); }
}

.contact-channels {
  list-style: none;
  padding: 0;
  margin: 8px 0 28px;
  display: grid;
  gap: 12px;
  max-width: 28rem;
}
.contact-channels__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(78, 40, 41, 0.12);
  border-radius: 10px;
  background: #fffaf8;
}
.contact-channels__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6f6e;
}
.contact-channels__link {
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.contact-channels__link:hover { text-decoration: underline; }
.contact-form-section {
  margin-top: 8px;
  padding-top: 8px;
}
.contact-form-section h2 {
  color: var(--brown);
  font-size: 1.25rem;
  margin: 0 0 14px;
}

/* ------------------------ Announcement bar ------------------------ */
.announcement {
  position: relative;
  background: var(--brown);
  color: var(--light-pink);
  text-align: center;
  padding: 8px 40px;
}
.announcement__text {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.announcement__close {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--light-pink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------- Cart badge --------------------------- */
.nav-cart { position: relative; }
.nav-cart img { width: 28px; height: 28px; }
.cart-badge {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--brown);
  color: var(--light-pink);
  border-radius: 999px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nav-brand { display: inline-flex; }
.nav-links a[aria-current="page"] { color: var(--green); text-decoration: underline; }

/* --------------------------- Product grid -------------------------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card__link { display: block; color: inherit; }
/* Shared 4:5 portrait frame — every listing card uses the same media box.
   Photos crop with cover so mixed upload sizes never change card height.
   Override focal point later via --product-image-position on the <img>. */
.product-card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background: var(--light-pink);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--product-image-position, 50% 50%);
  display: block;
}
.product-card__price { font-weight: 700; }

.related .product-card,
#recently-viewed-grid .product-card {
  width: min(180px, 42vw);
  margin: 12px;
  text-align: left;
}
.related .product-card h3,
#recently-viewed-grid .product-card h3 {
  color: var(--brown);
  margin: 6px 0 2px;
  font-size: 1rem;
}

.badge--soldout {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--brown);
  color: var(--light-pink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --------------------------- Favorite btn -------------------------- */
.fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #b9a3a0;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.is-active { color: var(--brown); }
.fav-btn--lg { position: static; width: 48px; height: 48px; background: var(--light-pink); }

/* --------------------------- Shop toolbar -------------------------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span { font-weight: 600; color: var(--brown); font-size: 0.85rem; }
.shop-search-field { flex: 1 1 100%; }
.shop-toolbar input,
.shop-toolbar select,
.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 1rem; /* >=16px avoids iOS zoom-on-focus */
  background: #fff;
  color: var(--brown);
  width: 100%;
}
.shop-count { margin-left: auto; color: var(--light-pink); font-weight: 600; }
.side-bar ul li a.is-active { background: var(--pink); border-radius: 5px; font-weight: 700; }

@media (min-width: 640px) {
  .shop-search-field { flex: 1 1 220px; }
  .shop-sort-field { flex: 0 0 auto; }
}

/* -------------------------- Product detail ------------------------- */
.breadcrumb { font-size: 0.85rem; color: var(--brown); margin-bottom: 18px; }
.breadcrumb a { color: var(--green); }
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.gallery { width: 100%; max-width: 520px; margin: 0 auto; }
.gallery__main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  position: relative;
}
.gallery__frame {
  display: block;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-pink);
}
.gallery__frame img,
#gallery-main {
  width: 100%;
  height: 100%;
  /* Detail gallery: show the full product — never crop with cover. */
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.gallery__main:hover #gallery-main,
.gallery__main:focus-visible #gallery-main {
  transform: scale(1.02);
}
.gallery__main:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 10px;
}
.gallery__zoom-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.02em;
}
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  background: var(--light-pink);
}
.gallery__thumb.is-active { border-color: var(--brown); }
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (prefers-reduced-motion: reduce) {
  .gallery__frame img,
  #gallery-main { transition: none; }
  .gallery__main:hover #gallery-main,
  .gallery__main:focus-visible #gallery-main { transform: none; }
}

.product-info h1 { color: var(--brown); margin: 6px 0; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.product-category { text-transform: uppercase; letter-spacing: 1px; color: var(--green); font-size: 0.8rem; font-weight: 700; margin: 0; }
.product-category a { color: inherit; }
.product-category a:hover { color: var(--brown); }
.product-price { font-size: 1.5rem; color: var(--brown); font-weight: 700; margin: 6px 0; }
.product-stock { font-weight: 600; color: var(--green); margin: 0 0 14px; }
.product-stock.is-low { color: #b5651d; }
.product-stock.is-out { color: #9b2c2c; }
.product-description {
  color: #5a4443;
  line-height: 1.65;
  margin-bottom: 18px;
}
.product-description p,
.product-description ul,
.product-description ol,
.product-description div {
  margin: 0 0 0.9em;
}
.product-description p:last-child,
.product-description ul:last-child,
.product-description ol:last-child,
.product-description div:last-child {
  margin-bottom: 0;
}
.product-description ul,
.product-description ol {
  padding-left: 1.25em;
}
.product-description li { margin: 0.25em 0; }
.product-description a { color: var(--brown); text-decoration: underline; text-underline-offset: 2px; }
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
  color: var(--brown);
  margin: 0.4em 0 0.5em;
  line-height: 1.3;
}

/* Split option sections (Color swatches → Size chips) */
.product-options {
  display: grid;
  gap: 22px;
  margin: 8px 0 20px;
}
.option-section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.option-section__chosen {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
}
.option-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 12px;
}
.option-swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--brown);
  text-align: center;
}
.option-swatch__media {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-pink);
}
.option-swatch__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.option-swatch__label {
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 4px;
}
.option-swatch.is-active {
  border-color: var(--brown);
}
.option-swatch.is-sold-out .option-swatch__media {
  opacity: 0.45;
}
.option-swatch.is-sold-out .option-swatch__label::after {
  content: " · sold out";
  font-weight: 500;
  color: #9b2c2c;
  font-size: 0.8rem;
}
.option-swatch:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}
.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-chip {
  min-width: 48px;
  padding: 10px 14px;
  border: 1px solid var(--brown);
  border-radius: 8px;
  background: #fffaf8;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
}
.option-chip.is-active {
  background: var(--brown);
  color: var(--light-pink);
}
.option-chip.is-sold-out,
.option-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.option-chip:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.product-actions { display: flex; align-items: flex-end; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.qty-field input { width: 72px; }
#add-to-cart[disabled] { opacity: 0.5; cursor: not-allowed; }

.product-notes {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(78, 40, 41, 0.12);
  padding-top: 22px;
}
.product-note h2 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.product-note p {
  margin: 0;
  color: #5a4443;
  line-height: 1.55;
  font-size: 0.98rem;
}
.product-note a { color: var(--brown); text-decoration: underline; text-underline-offset: 2px; }
.product-info-note--out {
  margin: 0;
  padding: 12px 14px;
  background: rgba(155, 44, 44, 0.08);
  border-radius: 8px;
  color: #7a2e2e;
  line-height: 1.5;
}

.related { margin-top: 56px; padding-top: 8px; }
.related h2 { color: var(--brown); text-align: center; margin-bottom: 24px; }
.related .product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Zoom lightbox */
.zoom-dialog {
  width: min(960px, 96vw);
  max-height: 94vh;
  border: 0;
  border-radius: 12px;
  padding: 16px;
  background: #fffaf8;
  color: var(--brown);
  box-shadow: 0 24px 60px rgba(40, 20, 20, 0.28);
}
.zoom-dialog::backdrop {
  background: rgba(40, 20, 20, 0.62);
}
.zoom-dialog__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.zoom-dialog__close {
  border: 1px solid var(--brown);
  background: transparent;
  color: var(--brown);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}
.zoom-dialog__close:hover,
.zoom-dialog__close:focus-visible {
  background: var(--brown);
  color: var(--light-pink);
}
.zoom-dialog__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(70vh, 640px);
  background: var(--light-pink);
  border-radius: 8px;
  overflow: hidden;
}
.zoom-dialog__stage img {
  max-width: 100%;
  max-height: min(70vh, 640px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.zoom-dialog__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 250, 248, 0.92);
  color: var(--brown);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.zoom-dialog__nav--prev { left: 10px; }
.zoom-dialog__nav--next { right: 10px; }
.zoom-dialog__nav:hover,
.zoom-dialog__nav:focus-visible {
  background: var(--brown);
  color: var(--light-pink);
}
.zoom-dialog__count {
  text-align: center;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .product-detail { grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 1fr); gap: 48px; }
  .gallery { margin: 0; max-width: none; }
  .page-title { font-size: 2.4em; }
  .page-wrap { padding: 40px 20px 60px; }
}

/* ------------------------------- Cart ------------------------------ */
.cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-pink);
}
.cart-line__media img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.cart-line__info { flex: 1 1 45%; }
.cart-line__info h3 { margin: 0 0 4px; color: var(--brown); font-size: 1rem; }
.cart-line__variant { margin: 0; color: var(--green); font-size: 0.85rem; }
.cart-line__note {
  margin: 4px 0 0;
  color: #5a4443;
  font-size: 0.82rem;
  line-height: 1.4;
}
.cart-line__price { margin: 4px 0 0; color: #5a4443; }
.cart-line__qty { display: inline-flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 32px; height: 32px; border: 1px solid var(--green);
  background: #fff; color: var(--brown); border-radius: 6px; cursor: pointer; font-size: 1rem;
}
.qty-input { width: 48px; text-align: center; padding: 6px; border: 1px solid var(--green); border-radius: 6px; }
.cart-line__subtotal { font-weight: 700; color: var(--brown); margin-left: auto; }
.cart-line__remove { border: none; background: none; font-size: 1.4rem; color: var(--brown); cursor: pointer; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.cart-summary { background: var(--light-pink); border-radius: 10px; padding: 22px; }
.cart-summary h2 { margin-top: 0; color: var(--brown); }
.cart-summary__row { display: flex; justify-content: space-between; font-weight: 700; color: var(--brown); }
.cart-summary__ship { color: var(--green); font-size: 0.9rem; margin: 10px 0 20px; }
.cart-checkout { width: 100%; text-align: center; }
.cart-summary__note { font-size: 0.8rem; color: #5a4443; text-align: center; margin: 10px 0 0; }
.cart-continue { display: block; text-align: center; margin-top: 14px; color: var(--green); }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty h1 { color: var(--brown); }

@media (min-width: 640px) {
  .cart-line {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: 16px;
  }
  .cart-line__subtotal { margin-left: 0; }
}
@media (min-width: 800px) {
  .cart-layout { grid-template-columns: 2fr 1fr; }
}

/* --------------------------- Collections --------------------------- */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.collection-card { color: var(--brown); text-align: center; }
.collection-card__media {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  background: var(--light-pink);
}
.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.2s ease;
}
.collection-card:hover .collection-card__media img { transform: scale(1.04); }
.collection-card__name {
  margin: 12px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.collections-lead {
  max-width: 40rem;
  margin: -8px 0 28px;
  color: #5a4443;
  line-height: 1.6;
}

.home-collections {
  padding: 40px 16px 20px;
  background: var(--light-pink);
  text-align: center;
}
.home-collections h2 {
  color: var(--brown);
  font-size: 2.2em;
  margin: 0 0 24px;
}
.home-collections .collections-grid {
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .collections-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
}

/* ------------------------- Single collection page ------------------------ */
.collection-hero {
  width: 100%;
  max-height: min(52vh, 520px);
  overflow: hidden;
  background: var(--brown);
}
.collection-hero__image {
  display: block;
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  object-position: center;
}
.collection-intro {
  padding-top: 28px;
  padding-bottom: 8px;
}
.collection-breadcrumb {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--green);
}
.collection-breadcrumb a { color: var(--green); }
.collection-breadcrumb a:hover { color: var(--brown); }
.collection-intro__body {
  max-width: 40rem;
  margin: 0 0 24px;
  color: #5a4443;
  font-size: 1.05rem;
  line-height: 1.7;
}
.collection-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}
.filter-chip {
  appearance: none;
  border: 1px solid rgba(78, 40, 41, 0.22);
  background: #fffaf8;
  color: var(--brown);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--brown);
  outline: none;
}
.filter-chip.is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fffaf8;
}
.product-type { color: inherit; }
.product-meta-sep { opacity: 0.55; }
.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 8px;
}
.collection-toolbar .field { margin: 0; }
.collection-toolbar select {
  padding: 10px 12px;
  border: 1px solid var(--brown);
  border-radius: 6px;
  background: #fff;
  color: var(--brown);
  font-size: 1rem;
}
.collection-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px 0 48px;
}
.collection-product-grid .product-card {
  width: 260px;
}

/* ----------------------- A Little Note (homepage) ---------------------- */
.little-note {
  text-align: center;
  padding: 36px 20px 28px;
  background:
    linear-gradient(180deg, rgba(244, 178, 173, 0.35), transparent 70%),
    var(--light-pink);
  border-bottom: 1px solid rgba(78, 40, 41, 0.08);
}
.little-note__label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.little-note__message {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--brown);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.35;
  animation: little-note-in 0.55s ease both;
}
@keyframes little-note-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .little-note__message { animation: none; }
}

/* -------------------- Homepage destination previews -------------------- */
.home-preview {
  width: 100%;
  padding: 48px 20px;
}
.home-preview--muted {
  background: var(--light-pink);
}
.home-preview__inner {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.home-preview__media {
  aspect-ratio: 4 / 5;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(78, 40, 41, 0.06);
}
.home-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.home-preview:hover .home-preview__media img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .home-preview__media img { transition: none; }
  .home-preview:hover .home-preview__media img { transform: none; }
}
.home-preview__content {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.home-preview__eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 1.1rem;
}
.home-preview__content h2 {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.home-preview__content p {
  margin: 0 0 20px;
  color: #5a4443;
  line-height: 1.65;
}
@media (min-width: 800px) {
  .home-preview {
    padding: 56px 32px;
  }
  .home-preview__inner {
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 40px;
  }
  .home-preview__inner--reverse {
    grid-template-columns: 1fr minmax(200px, 320px);
  }
  .home-preview__inner--reverse .home-preview__media { order: 2; }
  .home-preview__inner--reverse .home-preview__content { order: 1; }
  .home-preview__media { margin: 0; }
  .home-preview__content { text-align: left; margin: 0; }
}

/* ------------------------------ Prose ------------------------------ */
.prose { max-width: 760px; }
.prose h2 { color: var(--brown); margin-top: 32px; }
.prose p, .prose li { color: #5a4443; line-height: 1.7; }
.prose-hero { width: 100%; max-height: 380px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.prose-img { width: 100%; border-radius: 10px; margin: 16px 0; }
.prose-intro { font-size: 1.05rem; }
.content-note { color: var(--green); }
.prose details { border-bottom: 1px solid var(--light-pink); padding: 12px 0; }
.prose summary { cursor: pointer; font-weight: 700; color: var(--brown); }
.events-list { list-style: none; padding: 0; }
.events-list li { padding: 16px; background: var(--light-pink); border-radius: 8px; margin-bottom: 12px; color: var(--brown); }

/* ------------------------------ Forms ------------------------------ */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.contact-form .field span { margin-bottom: 2px; }
.form-message { min-height: 1.2em; font-weight: 600; }
.form-message.is-error, .newsletter__message.is-error { color: #9b2c2c; }
.form-message.is-success, .newsletter__message.is-success { color: var(--green); }

/* ---------------------------- Newsletter --------------------------- */
.newsletter {
  background: var(--light-green);
  text-align: center;
  padding: 36px 16px;
}
.newsletter h2 { color: var(--brown); font-size: 2em; margin: 0 0 6px; }
.newsletter p { color: var(--brown); margin: 0 0 18px; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter__form input {
  padding: 12px 14px; border: 1px solid var(--brown); border-radius: 6px;
  width: 100%; max-width: 320px; font-size: 1rem;
}
.newsletter__message { min-height: 1.2em; margin: 12px 0 0; font-weight: 600; color: var(--brown); }

@media (min-width: 560px) {
  .newsletter__form { flex-wrap: nowrap; }
  .newsletter__form input { width: auto; min-width: 260px; }
}

/* ------------------------------ Footer ----------------------------- */
.site-footer { background: var(--pink); color: var(--brown); padding: 36px 16px 20px; display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo { width: 180px; max-width: 70%; height: auto; }
.footer-col h3 { margin: 0 0 12px; color: var(--brown); font-size: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--brown); }
.footer-col a:hover { color: var(--green); }
.footer-brand p { max-width: 320px; }
.footer-bottom { text-align: center; margin-top: 30px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
}

/* ------------------------------ Toast ------------------------------ */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown);
  color: var(--light-pink);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------------------- Not found ---------------------------- */
.not-found { text-align: center; }
.notfound-mark { width: 90px; height: auto; margin: 20px auto; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ------------------------ Order confirmation ----------------------- */
.confirmation { text-align: center; }
.confirmation-mark { width: 80px; height: auto; margin: 10px auto 4px; }
.order-ref { color: var(--green); }
.order-lines { list-style: none; padding: 0; max-width: 420px; margin: 20px auto; text-align: left; }
.order-lines li { padding: 8px 0; border-bottom: 1px solid var(--light-pink); color: var(--brown); }
.order-total { font-weight: 700; color: var(--brown); }
.confirmation-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.confirmation--warning .order-ref { color: var(--brown); }

/* ------------------------- Keychain Studio ------------------------- */
.studio-hero { padding-bottom: 4px; }
.studio-intro {
  max-width: 40rem;
  color: #5a4443;
  line-height: 1.55;
  margin: 0;
  font-size: 0.98rem;
}
.studio-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 72px;
}

/* Mobile: sticky preview first, config below */
.studio-preview-col { order: -1; }
.studio-config { order: 1; display: grid; gap: 12px; }

.studio-card {
  background: #fffaf8;
  border: 1px solid rgba(78, 40, 41, 0.1);
  border-radius: 12px;
  padding: 14px 12px;
}
.studio-card__title {
  margin: 0 0 2px;
  color: var(--brown);
  font-size: 1.05rem;
}
.studio-card__body {
  margin: 0 0 12px;
  color: #5a4443;
  font-size: 0.9rem;
  line-height: 1.45;
}
.studio-card__body--tight { margin-bottom: 8px; font-size: 0.85rem; }
.studio-subhead {
  margin: 14px 0 8px;
  font-size: 0.92rem;
  color: var(--brown);
}

.studio-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.studio-chip-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
}
.studio-chip {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  padding: 8px 6px;
  margin: 0;
  border: 2px solid rgba(78, 40, 41, 0.14);
  border-radius: 10px;
  background: var(--light-pink);
  color: var(--brown);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}
.studio-chip--compact {
  height: 72px;
  min-height: 72px;
  max-height: 72px;
}
.studio-chip--plain {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
}
.studio-chip__swatch {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}
.studio-chip--compact .studio-chip__swatch {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
.studio-chip__swatch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.studio-chip__name {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.studio-chip.is-selected {
  border-color: var(--brown);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--brown);
}
.studio-chip:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.studio-side-toggle {
  display: inline-flex;
  border: 1px solid rgba(78, 40, 41, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
}
.studio-side-toggle--card { margin: 12px 0 4px; }
.studio-side-toggle__btn {
  border: 0;
  background: transparent;
  color: var(--brown);
  padding: 8px 16px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.studio-side-toggle__btn.is-active {
  background: var(--brown);
  color: #fffaf8;
}
.studio-side-toggle__btn:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.studio-text-field {
  display: block;
  margin-top: 8px;
}
.studio-text-field.is-hidden { display: none; }
.studio-text-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(78, 40, 41, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--brown);
  background: #fff;
}

/* Bead QWERTY keyboard */
.studio-bead-word {
  margin: 0 0 10px;
  min-height: 1.4em;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brown);
  font-size: 1.05rem;
}
.studio-bead-word__empty {
  letter-spacing: normal;
  font-weight: 500;
  color: #8a6f6e;
  font-size: 0.9rem;
}
.studio-keyboard {
  display: grid;
  gap: 6px;
  user-select: none;
}
.studio-keyboard__row {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.studio-key {
  box-sizing: border-box;
  width: clamp(28px, 8.2vw, 40px);
  height: clamp(34px, 9vw, 42px);
  padding: 2px;
  margin: 0;
  border: 1px solid rgba(78, 40, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}
.studio-key img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}
.studio-key--wide {
  width: auto;
  min-width: 72px;
  flex: 1;
  max-width: 140px;
  font-size: 0.8rem;
}
.studio-key:active { background: var(--light-pink); }
.studio-key:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 1px;
}

/* Preview */
.studio-preview {
  border-radius: 12px;
  padding: 10px 10px 8px;
  background:
    radial-gradient(circle at 35% 18%, rgba(244, 178, 173, 0.35), transparent 50%),
    linear-gradient(180deg, #f7ebe6 0%, var(--light-pink) 100%);
}
.studio-preview__toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.studio-preview__frame {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(255,255,255,0.7), transparent 58%),
    #fff;
}
.studio-preview__compose {
  position: absolute;
  inset: 3% 5% 5%;
}
.studio-branch {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.studio-layer {
  position: absolute;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 1px 1.5px rgba(60, 40, 30, 0.16));
}
.studio-layer.is-empty { visibility: hidden; }
.studio-layer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 200ms ease;
}
.studio-layer__img.is-active { opacity: 1; }
.studio-layer__img.studio-layer__next { opacity: 0; z-index: 2; }
.studio-layer__img.studio-layer__next.is-visible { opacity: 1; }

/* Natural hang — clasp hub, left chain, center charm, right bead cascade */
.studio-layer--clasp {
  left: 38%;
  top: -1%;
  width: 24%;
  height: 26%;
  z-index: 50;
  transform: rotate(180deg) rotate(-1.5deg);
}
[data-card="clasp"] .studio-chip__swatch img,
[data-section="clasp"] .studio-chip__swatch img {
  transform: rotate(180deg);
}

/* Mini chain sits higher so it clears the main charm face */
.studio-layer--mini-ring {
  width: 8.5%;
  height: 7.5%;
  z-index: calc(44 - var(--i));
}
.studio-preview__compose--mini-left .studio-layer--mini-ring {
  left: calc(32% - (var(--i) * 4.2%));
  top: calc(12% + (var(--i) * 3.2%));
  transform: rotate(calc(-14deg + (var(--i) * 9deg)));
}
.studio-preview__compose--mini-right .studio-layer--mini-ring {
  left: calc(59% + (var(--i) * 4.2%));
  top: calc(12% + (var(--i) * 3.2%));
  transform: rotate(calc(14deg - (var(--i) * 9deg)));
}
.studio-layer--mini {
  width: 16%;
  height: 15%;
  z-index: 42;
}
.studio-preview__compose--mini-left .studio-layer--mini {
  left: calc(32% - (2 * 4.2%) - 7%);
  top: calc(12% + (2 * 3.2%) + 1.5%);
  transform: rotate(-16deg);
}
.studio-preview__compose--mini-right .studio-layer--mini {
  left: calc(59% + (2 * 4.2%) + 1%);
  top: calc(12% + (2 * 3.2%) + 1.5%);
  transform: rotate(16deg);
}

.studio-layer--main-ring {
  left: 46%;
  top: 19%;
  width: 8%;
  height: 7%;
  z-index: 36;
  transform: rotate(4deg);
}
.studio-main-charm {
  position: absolute;
  left: 24%;
  top: 24%;
  width: 48%;
  height: 48%;
  z-index: 22;
  transform: rotate(2.5deg);
  pointer-events: none;
}
.studio-main-charm .studio-layer { position: absolute; filter: none; }
.studio-layer--main-shape {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 2px 3px rgba(60, 40, 30, 0.2));
}
/* Engraving layers sit lower on the blank so the slot stays clear */
.studio-layer--main-artwork {
  left: 18%;
  top: 30%;
  width: 64%;
  height: 52%;
  z-index: 2;
}
.studio-layer--main-letter {
  left: 20%;
  top: 32%;
  width: 60%;
  height: 50%;
  z-index: 3;
}
.studio-layer--main-text {
  left: 16%;
  top: 34%;
  width: 68%;
  height: 46%;
  z-index: 3;
  display: grid;
  place-items: center;
  filter: none;
}
.studio-main-text {
  font-family: "Homemade Apple", "Shadows Into Light", Georgia, serif;
  font-size: clamp(1.1rem, 4.2vw, 1.8rem);
  font-weight: 700;
  color: rgba(55, 35, 30, 0.82);
  text-align: center;
  line-height: 1.05;
  word-break: break-word;
}
.studio-layer--main-border {
  left: 0;
  top: 6%;
  width: 100%;
  height: 94%;
  z-index: 4;
}

/* Bead hardware shifts right so the main charm face stays open */
.studio-layer--mini-clasp {
  width: 11%;
  height: 12%;
  z-index: 55;
  transform: rotate(22deg);
}
.studio-preview__compose--beads-right .studio-layer--mini-clasp {
  left: 62%;
  top: 14%;
}
.studio-preview__compose--beads-left .studio-layer--mini-clasp {
  left: 26%;
  top: 14%;
  transform: rotate(-22deg);
}

.studio-layer--bead-ring {
  width: 7.5%;
  height: 6.5%;
  z-index: calc(48 - var(--i));
}
.studio-preview__compose--beads-right .studio-layer--bead-ring {
  left: calc(64% + (var(--i) * 3.1%));
  top: calc(22% + (var(--i) * 8.4%));
  transform: rotate(calc(8deg + (var(--i) * 4deg)));
}
.studio-preview__compose--beads-left .studio-layer--bead-ring {
  left: calc(27% - (var(--i) * 3.1%));
  top: calc(22% + (var(--i) * 8.4%));
  transform: rotate(calc(-8deg - (var(--i) * 4deg)));
}

.studio-layer--bead {
  width: 12.5%;
  height: 10.5%;
  z-index: calc(90 - var(--i));
}
.studio-preview__compose--beads-right .studio-layer--bead {
  left: calc(66% + (var(--i) * 3.1%));
  top: calc(25.5% + (var(--i) * 8.4%));
  transform: rotate(calc(-4deg + (var(--i) * 2.5deg)));
}
.studio-preview__compose--beads-left .studio-layer--bead {
  left: calc(22% - (var(--i) * 3.1%));
  top: calc(25.5% + (var(--i) * 8.4%));
  transform: rotate(calc(4deg - (var(--i) * 2.5deg)));
}

.studio-preview__hint {
  margin: 8px 0 2px;
  text-align: center;
  color: var(--green);
  font-size: 0.82rem;
}
.studio-preview__summary {
  margin: 0;
  text-align: center;
  color: #5a4443;
  font-size: 0.78rem;
  line-height: 1.35;
  min-height: 2.2em;
}
.studio-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.studio-price {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
}

@media (max-width: 899px) {
  .studio-preview-col {
    position: sticky;
    top: 56px;
    z-index: 5;
    background: linear-gradient(180deg, #f7ebe6 78%, transparent);
    padding-bottom: 2px;
  }
  .studio-preview__frame {
    max-height: min(38vh, 320px);
    width: auto;
    margin: 0 auto;
    max-width: min(320px, 100%);
  }
  .studio-preview__hint { display: none; }
  .studio-preview__summary {
    font-size: 0.72rem;
    min-height: 0;
    max-height: 2.6em;
    overflow: hidden;
  }
  .studio-key span { font-size: 0.58rem; }
  .studio-checkout .btn { flex: 1; min-width: 140px; }
}

@media (min-width: 900px) {
  .studio-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: start;
  }
  .studio-preview-col,
  .studio-config { order: initial; }
  .studio-preview-col { position: sticky; top: 88px; }
  .studio-preview__frame { max-width: none; }
  .studio-chip-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .studio-key {
    width: 40px;
    height: 44px;
  }
  .studio-key img { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-layer__img { transition: none; }
}

/* --------------------------- Custom Orders --------------------------- */
.custom-hero {
  position: relative;
  background:
    linear-gradient(165deg, rgba(244, 223, 218, 0.92) 0%, rgba(255, 250, 248, 0.88) 45%, rgba(75, 104, 110, 0.12) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(78, 40, 41, 0.08), transparent 55%);
  overflow: hidden;
  border-bottom: 1px solid rgba(78, 40, 41, 0.08);
}
.custom-hero__inner {
  display: grid;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 36px;
  align-items: center;
}
.custom-hero__heading {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.05;
  font-weight: 400;
}
.custom-hero__tagline {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(1.1rem, 3.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.35;
}
.custom-hero__body {
  margin: 0 0 22px;
  max-width: 34rem;
  color: #5a4443;
  font-size: 1.02rem;
  line-height: 1.65;
}
.custom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.custom-hero__actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
  text-align: center;
  box-sizing: border-box;
}
.custom-hero__media {
  position: relative;
  border-radius: 4px 18px 4px 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 8px 12px 0 rgba(78, 40, 41, 0.08);
  background: var(--light-pink);
  transform: rotate(-1.5deg);
}
.custom-hero__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 250, 248, 0.55);
  pointer-events: none;
}
.custom-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-section-lead {
  margin: -4px 0 22px;
  max-width: 36rem;
  color: #5a4443;
  line-height: 1.6;
}

/* Compact showcase grid — mobile-first, no page overflow */
.custom-showcase {
  padding-top: 40px;
  padding-bottom: 28px;
}
.custom-showcase h2 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: clamp(1.45rem, 4vw, 2rem);
}
.custom-showcase__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.custom-showcase__card {
  margin: 0;
}
.custom-showcase__media {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  background: var(--light-pink);
}
.custom-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.custom-showcase__caption {
  margin-top: 8px;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Reach out — Instagram + email */
.custom-reach {
  padding: 36px 0 56px;
  background: var(--light-pink);
}
.custom-reach h2 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: clamp(1.45rem, 4vw, 2rem);
}
.custom-reach__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.custom-reach__channel {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #fffaf8;
  border: 1px solid rgba(78, 40, 41, 0.12);
  border-radius: 8px;
}
.custom-reach__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.custom-reach__link {
  color: var(--brown);
  font-size: 1.1rem;
  font-weight: 600;
  word-break: break-word;
}
.custom-reach__hint {
  color: #5a4443;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .custom-showcase__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .custom-reach__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .custom-hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .custom-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    padding-top: 52px;
    padding-bottom: 56px;
  }
  .custom-hero__media {
    max-width: none;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-hero__media { transform: none; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
