html.gc-dialog-active { overflow: hidden; }

.gc-dialog {
  --gc-gold: #b4976d;
  --gc-gold-dark: #705638;
  --gc-border: #dedede;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(64rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: #fff;
  color: #343434;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
  overflow: auto;
  overscroll-behavior: contain;
}

.gc-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.gc-dialog:not([open]), .gc-dialog [hidden] { display: none !important; }
.gc-dialog *, .gc-dialog *::before, .gc-dialog *::after { box-sizing: border-box; }
.gc-dialog-surface { position: relative; }
.gc-dialog :is(h2, p, dl, dt, dd) { margin: 0; }
.gc-dialog :is(button, input, select, textarea) { font-family: inherit; }
.gc-dialog button, .gc-dialog a { -webkit-tap-highlight-color: transparent; }
.gc-dialog button { cursor: pointer; }
.gc-dialog button:focus-visible, .gc-dialog a:focus-visible,
.gc-dialog :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--gc-gold-dark);
  outline-offset: 3px;
}
.gc-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gc-dialog .gc-dialog-close {
  position: absolute;
  z-index: 3;
  top: .55rem;
  right: .55rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #303030;
  font: 300 32px/1 Arial, sans-serif;
}
.gc-dialog .gc-dialog-close:hover { background: #f2efea; }
.gc-product-view { padding: 3.6rem clamp(1.1rem, 3.5vw, 2.75rem) 2.5rem; }
.gc-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  align-items: start;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.gc-hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1.23;
  overflow: hidden;
  background: #f5f5f5;
}
.gc-dialog .gc-expand-photo {
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}
.gc-dialog .gc-expand-photo:focus-visible { outline-offset: -3px; }
.gc-detail-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.gc-search-icon {
  position: absolute;
  right: .6rem;
  top: .6rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #fff;
}
.gc-search-icon::before, .gc-search-icon::after {
  position: absolute;
  display: block;
  content: "";
}
.gc-search-icon::before {
  width: .72rem;
  height: .72rem;
  margin: -.15rem .15rem 0 0;
  border: 1.6px solid #333;
  border-radius: 50%;
}
.gc-search-icon::after {
  width: .45rem;
  height: 1.6px;
  margin: .65rem 0 0 .55rem;
  transform: rotate(45deg);
  background: #333;
}
.gc-dialog .gc-photo-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #333;
}
.gc-photo-previous { left: .3rem; }
.gc-photo-next { right: .3rem; }
.gc-photo-arrow span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}
.gc-photo-arrow span::before {
  display: block;
  width: .5rem;
  height: .5rem;
  border: solid currentColor;
  border-width: 0 1.75px 1.75px 0;
  content: "";
}
.gc-photo-previous span::before { transform: translateX(1.5px) rotate(135deg); }
.gc-photo-next span::before { transform: translateX(-1.5px) rotate(-45deg); }
.gc-photo-arrow:hover span { background: #f1e9dd; }
.gc-thumbnails { display: flex; gap: .5rem; margin-top: .65rem; overflow-x: auto; }
.gc-dialog .gc-thumbnails button {
  flex: 0 0 auto;
  width: clamp(52px, 8vw, 76px);
  height: clamp(48px, 6.5vw, 62px);
  padding: 2px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
}
.gc-dialog .gc-thumbnails button[aria-pressed="true"] { border: 2px solid var(--gc-gold); padding: 1px; }
.gc-thumbnails button:focus-visible { outline-offset: -4px; }
.gc-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gc-product-copy { padding-top: .1rem; }
.gc-dialog .gc-product-category {
  margin-bottom: .55rem;
  color: var(--gc-gold-dark);
  font-size: .95rem;
  line-height: 1.45;
}
.gc-dialog .gc-product-heading, .gc-dialog .gc-inquiry-heading {
  color: #303030;
  font-size: clamp(1.55rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.gc-dialog .gc-product-description {
  margin-top: 1rem;
  color: #515151;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.gc-product-actions, .gc-form-actions, .gc-review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1.1rem;
}
.gc-product-actions { margin-top: 1.35rem; }
.gc-dialog .gc-primary-button, .gc-dialog .gc-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .62rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  color: #fff;
  background: var(--gc-gold);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}
.gc-dialog .gc-primary-button:hover { background: #927343; }
.gc-dialog .gc-secondary-button {
  border-color: #c5b79f;
  background: #fff;
  color: #3a3227;
}
.gc-dialog .gc-secondary-button:hover { background: #f6f2eb; }
.gc-dialog .gc-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gc-gold-dark);
  font-size: .95rem;
  text-underline-offset: .2rem;
  text-decoration: underline;
}
.gc-dialog .gc-link:hover { color: #25211a; }
.gc-dialog[data-view="inquiry"] { width: min(640px, calc(100% - 2rem)); }
.gc-inquiry-view { max-width: 601px; margin: auto; padding: 3.25rem 1.25rem 2rem; }
.gc-dialog .gc-inquiry-heading { margin-bottom: 1.35rem; text-align: center; font-size: 2rem; }
.gc-dialog .gc-inquiry-product { margin: -.5rem 0 1rem; text-align: center; color: var(--gc-gold-dark); }
.gc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .66rem .75rem; }
.gc-fields label, .gc-draft-view label { display: block; min-width: 0; color: #161616; font-size: 1rem; font-weight: 500; line-height: 1.35; }
.gc-full-row { grid-column: 1 / -1; }
.gc-dialog :is(input, select, textarea) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: .22rem 0 0;
  padding: .52rem .65rem;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  background: #fff;
  color: #454545;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
.gc-dialog textarea { resize: vertical; }
.gc-form-actions { justify-content: center; margin-top: 1.05rem; }
.gc-dialog .gc-draft-recipient { margin-block: .55rem .85rem; color: #515151; font-size: .95rem; overflow-wrap: anywhere; }
.gc-draft-recipient a { color: var(--gc-gold-dark); text-decoration: underline; text-underline-offset: .15em; }
.gc-dialog .gc-copy-status:not(:empty) { margin-top: .8rem; color: var(--gc-gold-dark); font-size: .95rem; }
.gc-dialog[data-view="photo"] {
  width: min(77rem, calc(100% - 2rem));
  background: #111;
  color: white;
}
.gc-lightbox { position: relative; padding: 3.5rem 1rem 1rem; background: #111; color: white; text-align: center; }
.gc-large-photo {
  display: block;
  width: 100%;
  height: min(69vh, 48rem);
  height: min(69dvh, 48rem);
  object-fit: contain;
}
.gc-dialog .gc-lightbox-status { margin-top: .6rem; font-size: .95rem; }

@media (max-width: 680px) {
  .gc-product-layout { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .gc-product-view { padding: 3.35rem 1.1rem 1.5rem; }
  .gc-hero-photo { aspect-ratio: 1.6; }
  .gc-dialog, .gc-dialog[data-view="inquiry"], .gc-dialog[data-view="photo"] {
    width: calc(100% - 1.25rem);
    max-height: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
  }
  .gc-inquiry-view { padding: 3.25rem 1rem 1.35rem; }
  .gc-inquiry-view .gc-inquiry-heading { font-size: 1.7rem; }
  .gc-form-actions, .gc-review-actions { gap: .4rem .75rem; }
  .gc-lightbox { padding-inline: .25rem; }
}

@media (max-width: 340px) {
  .gc-fields { grid-template-columns: 1fr; }
}
