:root {
  --gy-ink: #173c30;
  --gy-cream: #f7f4ec;
  --gy-paper: #fffdf8;
  --gy-gold: #c4a269;
  --gy-line: rgba(23, 60, 48, 0.16);
}

/* Keep the footer after the page content inside the theme's viewport-height shell. */
.page-wrapper > #MainContent {
  flex: 1 0 auto;
  width: 100%;
}

.page-wrapper > footer.gy-footer {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
}

.gy-page-main {
  min-height: 60vh;
  background: var(--gy-paper);
  color: var(--gy-ink);
  padding: clamp(48px, 8vw, 110px) max(20px, 5vw);
}

.gy-page-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.gy-eyebrow {
  margin: 0 0 12px;
  color: #8b6f45;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gy-page-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.gy-page-intro {
  max-width: 740px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.gy-rich-text {
  max-width: 820px;
  margin-top: 48px;
  font-size: 17px;
  line-height: 1.75;
}

.gy-rich-text h2,
.gy-rich-text h3 {
  margin: 42px 0 12px;
  font-family: var(--font-heading--family, Georgia, serif);
  font-weight: 500;
  line-height: 1.15;
}

.gy-rich-text h2 { font-size: clamp(28px, 4vw, 42px); }
.gy-rich-text h3 { font-size: clamp(22px, 3vw, 30px); }
.gy-rich-text p, .gy-rich-text ul { margin: 0 0 18px; }
.gy-rich-text a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.gy-catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
}

.gy-product-count { color: rgba(23, 60, 48, .68); white-space: nowrap; }

.gy-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px) clamp(14px, 2vw, 26px);
}

.gy-product-card { min-width: 0; }
.gy-product-card a { color: inherit; text-decoration: none; }
.gy-product-card__image {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: #f2eee6;
}
.gy-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gy-product-card a:hover img { transform: scale(1.035); }
.gy-product-card h2 {
  margin: 16px 0 4px;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.gy-product-card p { margin: 0; color: rgba(23, 60, 48, .72); font-size: 14px; }

.gy-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.gy-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gy-product-gallery figure {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #f1eee7;
}

.gy-product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gy-product-details { position: sticky; top: 130px; }
.gy-product-details .gy-page-title { font-size: clamp(38px, 4.6vw, 64px); }
.gy-product-price { margin: 20px 0 30px; font-size: 22px; }

.gy-variant-label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gy-variant-select {
  width: 100%;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 42px 0 16px;
  color: var(--gy-ink);
  border: 1px solid var(--gy-line);
  border-radius: 0;
  background: #fff;
  font: inherit;
}

.gy-add-button,
.gy-checkout-button {
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--gy-ink);
  border-radius: 0;
  background: var(--gy-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: .05em;
}
.gy-add-button:hover, .gy-checkout-button:hover { background: #245a49; }
.gy-product-description { margin-top: 34px; font-size: 15px; line-height: 1.7; }

.gy-static-cart-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 5px;
  padding: 0 5px;
  place-items: center;
  border-radius: 20px;
  background: var(--gy-ink);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.gy-cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  background: rgba(8, 25, 19, .46);
  transition: opacity .25s ease, visibility .25s ease;
}

.gy-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  width: min(460px, 100vw);
  height: 100dvh;
  flex-direction: column;
  transform: translateX(100%);
  background: var(--gy-paper);
  color: var(--gy-ink);
  box-shadow: -22px 0 60px rgba(8, 25, 19, .18);
  transition: transform .3s ease;
}

body.gy-cart-open { overflow: hidden; }
body.gy-cart-open .gy-cart-scrim { opacity: 1; visibility: visible; }
body.gy-cart-open .gy-cart-panel { transform: translateX(0); }
.gy-cart-panel__header, .gy-cart-panel__footer { padding: 24px; border-bottom: 1px solid var(--gy-line); }
.gy-cart-panel__header { display: flex; align-items: center; justify-content: space-between; }
.gy-cart-panel__header h2 { margin: 0; font-family: var(--font-heading--family, Georgia, serif); font-size: 30px; font-weight: 500; }
.gy-cart-close { border: 0; background: none; color: inherit; cursor: pointer; font-size: 30px; line-height: 1; }
.gy-cart-items { flex: 1; overflow: auto; padding: 8px 24px 24px; }
.gy-cart-empty { padding: 48px 0; text-align: center; color: rgba(23, 60, 48, .7); }
.gy-cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--gy-line); }
.gy-cart-item img { width: 84px; height: 84px; object-fit: cover; background: #f2eee6; }
.gy-cart-item h3 { margin: 2px 0 5px; font-family: var(--font-heading--family, Georgia, serif); font-size: 18px; font-weight: 500; }
.gy-cart-item p { margin: 0 0 8px; color: rgba(23, 60, 48, .7); font-size: 13px; }
.gy-cart-remove { border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gy-cart-item__price { font-size: 14px; white-space: nowrap; }
.gy-cart-panel__footer { border-top: 1px solid var(--gy-line); border-bottom: 0; }
.gy-cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 700; }
.gy-soft-note { margin: 0 0 14px; font-size: 13px; line-height: 1.45; color: rgba(23, 60, 48, .72); }

.gy-soft-opening-notice {
  width: min(760px, 100%);
  margin: 0 auto 28px;
  padding: 20px 22px;
  border: 1px solid rgba(196, 162, 105, .45);
  background: #fbf4e5;
  color: var(--gy-ink);
  line-height: 1.55;
}

.gy-ai-launch-notice {
  width: min(820px, 100%);
  margin: 38px 0 0;
}

.gy-ai-launch-notice strong {
  display: block;
  margin-bottom: 6px;
}

.gy-ai-launch-notice p {
  margin: 0;
}

.gy-ai-launch-notice a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.gy-ai-assistant-actions {
  margin-top: 24px;
}

.gy-rich-text a.gy-ai-assistant-button,
.gy-rich-text a.gy-ai-assistant-button:visited,
.gy-rich-text a.gy-ai-assistant-button:hover,
.gy-rich-text a.gy-ai-assistant-button:focus-visible {
  display: inline-grid;
  width: auto;
  place-items: center;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .gy-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gy-product-layout { grid-template-columns: 1fr; }
  .gy-product-details { position: static; }
}

@media (max-width: 560px) {
  .gy-page-main { padding-inline: 18px; }
  .gy-catalog-head { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .gy-catalog-grid { gap: 26px 12px; }
  .gy-product-gallery { grid-template-columns: 1fr; }
  .gy-product-gallery figure:not(:first-child) { display: none; }
}
