:root {
  --gx-ink: #392c27;
  --gx-paper: #fff8ee;
  --gx-soft: #dfebef;
  --gx-accent: #f5e7b2;
  --gx-radius: 12px;
}
.gx-widget, .gx-widget * { box-sizing: border-box; }
.gx-widget { color: var(--gx-ink); font-family: inherit; min-width: 0; }
.gx-pdp-column { min-width: 0; }
.gx-widget [hidden], .gx-widget[hidden] { display: none !important; }
.gx-widget button, .gx-widget input { font: inherit; }
.gx-widget button { cursor: pointer; }
.gx-widget button:focus-visible, .gx-widget a:focus-visible, .gx-widget summary:focus-visible {
  outline: 3px solid currentColor; outline-offset: 4px;
}
.gx-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gx-marquee { background: var(--gx-ink); color: white; display: flex; align-items: center; overflow: hidden; width: 100%; }
.gx-marquee--product { border-radius: var(--gx-radius); margin: 24px 0; }
.gx-marquee__window { flex: 1; min-width: 0; overflow: hidden; }
.gx-marquee__track { display: flex; width: max-content; }
.gx-marquee__group { display: flex; flex: 0 0 auto; align-items: center; }
.gx-marquee__message { padding: 14px 28px; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.gx-marquee__message::after { content: '✦'; margin-left: 56px; }
.gx-marquee[data-ready] .gx-marquee__track { animation: gx-marquee var(--gx-duration, 30s) linear infinite; }
.gx-marquee[data-paused] .gx-marquee__track, .gx-marquee:hover .gx-marquee__track,
.gx-marquee:focus-within .gx-marquee__track { animation-play-state: paused; }
.gx-marquee__toggle { flex: 0 0 42px; align-self: stretch; border: 0; border-left: 1px solid #ffffff55; background: transparent; color: inherit; }
@keyframes gx-marquee { to { transform: translateX(-50%); } }
.gx-card { background: var(--gx-soft); padding: 20px; border-radius: var(--gx-radius); margin: 16px 0; }
.gx-countdown { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--gx-accent); }
.gx-countdown time { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 20px; }
.gx-countdown--floating { position: fixed; z-index: 50; left: 16px; bottom: 16px; max-width: calc(100vw - 32px); box-shadow: 0 5px 28px #0002; margin: 0; }
.gx-close { background: transparent; border: 0; padding: 8px; color: inherit; }
.gx-progress progress { display: block; width: 100%; height: 12px; margin-top: 12px; accent-color: var(--gx-ink); }
.gx-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 12px 0; }
.gx-stock::before { content: ''; width: 9px; height: 9px; background: currentColor; border-radius: 50%; animation: gx-pulse 2s ease-in-out infinite; }
@keyframes gx-pulse { 50% { opacity: .4; } }
.gx-accordion details { border-bottom: 1px solid #392c2733; }
.gx-accordion summary { padding: 20px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.gx-accordion details > div { padding: 0 0 20px; line-height: 1.7; }
.gx-reviews { background: #f5f3ef; }
.gx-reviews blockquote { margin: 0; line-height: 1.6; }
.gx-reviews cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; }
.gx-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.gx-controls button { border: 1px solid #392c2733; background: transparent; border-radius: 50%; width: 38px; height: 38px; color: inherit; }
.gx-stars { color: #8c5b00; letter-spacing: .1em; }
.gx-video-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; }
.gx-video-grid figure { margin: 0; scroll-snap-align: start; }
.gx-video-grid video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--gx-ink); border-radius: var(--gx-radius); }
.gx-video-grid figcaption { padding: 10px 0; font-size: 13px; }
.gx-floating-video { position: fixed; right: 16px; bottom: 88px; z-index: 45; }
.gx-floating-video > button { background: var(--gx-ink); color: white; border: 0; border-radius: 32px; padding: 14px 22px; }
.gx-dialog { border: 0; border-radius: 16px; padding: 16px; max-width: min(420px, 94vw); max-height: 90vh; background: var(--gx-paper); color: var(--gx-ink); }
.gx-dialog::backdrop { background: #0009; }
.gx-dialog video { display: block; max-height: 70vh; width: 100%; }
.gx-dialog .gx-close { display: block; margin-left: auto; }
.gx-restock a { display: inline-block; padding: 12px 18px; border: 1px solid currentColor; border-radius: 8px; color: inherit; }
.gx-label { display: inline-block; padding: 7px 12px; background: var(--gx-soft); border-radius: 6px; font-size: 12px; font-weight: 700; }
.gx-label--animated { animation: gx-pulse 2s ease-in-out infinite; }
@media (max-width: 600px) {
  .gx-countdown { gap: 10px; flex-wrap: wrap; padding: 14px; }
  .gx-countdown--floating { font-size: 12px; }
  .gx-video-grid { grid-auto-columns: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-widget *, .gx-label--animated { animation: none !important; transition: none !important; }
  .gx-marquee__window { overflow-x: auto; }
  .gx-marquee__group[aria-hidden] { display: none; }
  .gx-marquee__toggle { display: none; }
}
