/* Shared inventory card layout for every collection and product detail. */
:root { --inventory-frame: linear-gradient(125deg, #a2e6de, #cfb4ef 30%, #f4c9dd 58%, #fff0c8 78%, #a7dfdf); }
.collection-page .product-list,
.collection-page .home-inventory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
  gap: 2rem;
  width: min(100%, 840px);
  max-width: 840px;
  margin: 2rem auto 3rem;
}
.collection-page .product-list > h2 { grid-column: 1 / -1; }
.collection-page .product-list .inventory-product,
.collection-page .home-inventory .inventory-product {
  display: flex;
  flex-direction: column;
  width: min(100%, 380px);
  max-width: 380px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  scroll-margin-top: 6rem;
}
.collection-page .inventory-card {
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #d6eeee;
  border-radius: 18px;
  background: var(--inventory-frame);
  box-shadow: 0 10px 24px #122f3826;
  overflow: hidden;
}
.collection-page .inventory-card .product-gallery {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #fffaf5;
}
.collection-page .inventory-card .product-photos {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fffaf5;
  font: inherit;
  text-decoration: none;
}
.collection-page .inventory-card button.product-photos { cursor: pointer; }
.collection-page .inventory-card .product-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  aspect-ratio: auto;
  overflow: hidden;
}
.product-photo[hidden] { display: none !important; }
.collection-page .inventory-card .product-sold-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .6rem 1rem;
  border: 2px solid #fff4df;
  border-radius: .4rem;
  background: #124e52;
  color: #fff;
  font: 800 1.5rem/1.1 system-ui, sans-serif;
  letter-spacing: .1em;
  box-shadow: 0 3px 12px #122f3840;
  pointer-events: none;
}
.collection-page .inventory-card .product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  box-sizing: border-box;
  padding: 8px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
/* Keep photo controls inside the same photo area on multi-image cards. */
.collection-page .inventory-card .product-gallery:has(.gallery-dots) .product-photo:not(.photo-with-caption) img { padding-bottom: 36px; }
.collection-page .inventory-card .gallery-dots {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fffaf5;
}
.collection-page .inventory-card .gallery-dots button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.collection-page .inventory-card .gallery-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #124e52; background: transparent; }
.collection-page .inventory-card .gallery-dots button[aria-pressed="true"]::after { background: #124e52; }
/* Older image files include a caption. Preserve their existing photo-only crop. */
.collection-page .inventory-card .product-photo.photo-with-caption {
  inset: auto 8px auto 8px;
  top: 50%;
  width: calc(100% - 16px);
  height: auto;
  aspect-ratio: 1254 / var(--photo-height);
  transform: translateY(-50%);
}
.collection-page .inventory-card .product-gallery:has(.gallery-dots) .photo-with-caption { top: calc(50% - 16px); }
.collection-page .inventory-card .photo-with-caption img { height: auto; padding: 0; }
.collection-page .inventory-card .product-reference {
  position: absolute;
  left: 12px;
  bottom: 38px;
  padding: .2rem .4rem;
  border-radius: 4px;
  color: #17353a;
  background: #fffaf5ed;
  font: 400 .7rem/1.4 system-ui, sans-serif;
}
.collection-page .inventory-card .product-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  padding: 1rem 1.1rem .75rem;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: #124e52;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
}
.collection-page .inventory-card .product-details :is(h1,h2,h3) {
  margin: 0 0 .5rem;
  color: #fff;
  font: 600 1.55rem/1.25 var(--brand-display);
  text-align: center;
  letter-spacing: .01em;
}
.collection-page .inventory-card .product-details .product-short-description { margin: 0 0 .5rem; color: #fff; font-size: 1.125rem; line-height: 1.5; }
.collection-page .inventory-card .product-details .product-price { margin: .35rem 0 0; color: #fff; font-size: 1.5rem; line-height: 1.3; font-weight: 600; }
.collection-page .inventory-card .product-details .inventory-sku {
  display: block;
  align-self: flex-end;
  margin: .65rem 0 0;
  padding: 0;
  color: #fff;
  font: 400 .7rem/1.4 system-ui, sans-serif;
  letter-spacing: .04em;
  text-align: right;
}
.collection-page .inventory-card .product-specs { margin: .35rem 0; border-top: 1px solid #ffffff40; text-align: left; }
.collection-page .inventory-card .product-specs summary { min-height: 44px; box-sizing: border-box; padding: .65rem 0; color: #fff; font: 400 1rem/1.4 system-ui, sans-serif; cursor: pointer; }
.collection-page .inventory-card .product-specs p { margin: .35rem 0 .65rem; font-size: 1rem; line-height: 1.5; }
.collection-page .inventory-card .product-specs a { color: #fff; }
.collection-page .inventory-card .product-note { margin: 0; padding: .65rem; font-size: .9rem; color: #124e52; }
.collection-page .inventory-product > .product-cart-actions { width: 100%; margin: .85rem 0 0; text-align: center; }
.product-cart-actions .cart-add-button,
.collection-page .inventory-product .product-cart-actions .cart-add-button {
  min-height: 48px;
  padding: .4rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--raised-button-face);
  box-shadow: var(--raised-button-shadow);
  color: #244f59;
  font: italic 600 1.5rem/1.25 var(--brand-display);
  text-shadow: 0 1px 0 #fff;
  text-transform: none;
}
.product-cart-actions .cart-add-button.is-in-cart { background: var(--raised-button-face); }
.collection-page .inventory-card :is(button,a,summary):focus-visible,
.product-cart-actions .cart-add-button:focus-visible { outline: 3px solid #62beb4; outline-offset: -3px; }
.product-cart-actions .cart-add-button:disabled { opacity: .65; cursor: not-allowed; }
.product-cart-actions .cart-add-button:not(:disabled):active { transform: translateY(2px); }
.home-category { scroll-margin-top: 7rem; }
.home-category > h2 { color: #fff; text-align: center; font: 600 2rem/1.3 var(--brand-display); margin: 2rem auto 1rem; }
.bundle-eligibility-note { margin: .5rem 0; font: 400 .875rem/1.4 system-ui, sans-serif; text-align: center; }
@media (max-width: 600px) {
  .collection-page .product-list, .collection-page .home-inventory { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .collection-page .page-hero h1 { border-radius: 15px; }
}

/* Raised opal plaque with a fine rose-gold bevel, echoing the logo lettering. */
.collection-page .page-hero {
  padding: 1.5rem 0 .5rem;
  margin: 0 auto;
  width: min(100%, 840px);
}

.collection-page .page-hero h1,
.collection-page .women-category > summary,
.collection-page .collection-subsections h2,
.collection-page :is(.collection-accessories, .collection-shoes) h2 {
  display: table;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.2rem;
  padding: .85rem clamp(1.1rem, 4vw, 2.4rem);
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--raised-button-face);
  box-shadow: var(--raised-button-shadow);
  color: #244f59;
  font: italic 600 clamp(1.8rem, 3.2vw, 2.35rem)/1.25 var(--brand-display);
  letter-spacing: 0;
  text-shadow: 0 1px 0 #fff;
  text-wrap: balance;
}

.collection-page .home-collection-intro {
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
}

.collection-page .home-collection-intro h1 {
  margin-bottom: .5rem;
  padding: .5rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff5e8;
  text-shadow: none;
}
.collection-page .women-category > summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: .85rem 1.75rem;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
}
.collection-page .women-category > .product-list { margin-block: 1.5rem 1rem; }
