.gfw-wtb-wrap,
.gfw-stockists-grid-wrap {
  --gfw-black: #0b0907;
  --gfw-charcoal: #18110d;
  --gfw-burgundy: #8f1b2c;
  --gfw-gold: #c49a58;
  --gfw-amber: #c87a22;
  --gfw-cream: #e9e3d7;
  --gfw-copy: #2d231c;
  --gfw-copy-light: #f7f1e6;
  --gfw-border: rgba(198, 154, 88, 0.4);
  --gfw-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  font-family: "sweet-sans-pro", Arial, sans-serif;
}

.gfw-wtb-shell {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(200, 122, 34, 0.2), transparent 28%),
    radial-gradient(circle at bottom right, rgba(196, 154, 88, 0.24), transparent 24%),
    linear-gradient(135deg, #0a0908 0%, #1b1410 35%, #120d0b 100%);
  border: 1px solid var(--gfw-border);
  box-shadow: var(--gfw-shadow);
}

.gfw-wtb-panel {
  padding: 34px 28px 28px;
  color: var(--gfw-copy-light);
  background: linear-gradient(180deg, rgba(13, 10, 8, 0.88), rgba(13, 10, 8, 0.78));
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.gfw-wtb-eyebrow,
.gfw-grid-eyebrow {
  color: var(--gfw-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gfw-wtb-title,
.gfw-grid-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.06;
  color: #fff6e8;
}

.gfw-wtb-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 241, 230, 0.82);
}

.gfw-wtb-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 0 0 20px;
}

.gfw-wtb-search,
.gfw-grid-search {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(233, 227, 215, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 16px;
  box-sizing: border-box;
  outline: none;
}

.gfw-wtb-search::placeholder,
.gfw-grid-search::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.gfw-wtb-search:focus,
.gfw-grid-search:focus {
  border-color: rgba(196, 154, 88, 0.7);
  box-shadow: 0 0 0 3px rgba(196, 154, 88, 0.18);
}

.gfw-wtb-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--gfw-burgundy), #b22a3d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 12px 24px rgba(143, 27, 44, 0.35);
}

.gfw-wtb-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.gfw-wtb-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gfw-copy-light);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.gfw-wtb-nearest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gfw-wtb-results-title {
  color: #fff4df;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.gfw-wtb-results-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.gfw-wtb-results {
  display: grid;
  gap: 12px;
  max-height: 470px;
  overflow: auto;
  padding-right: 4px;
}

.gfw-wtb-results::-webkit-scrollbar {
  width: 8px;
}

.gfw-wtb-results::-webkit-scrollbar-thumb {
  background: rgba(196, 154, 88, 0.35);
  border-radius: 999px;
}

.gfw-wtb-result-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 16px 14px;
  color: var(--gfw-copy-light);
}

.gfw-wtb-result-topline,
.gfw-wtb-tooltip-topline,
.gfw-stockist-card-topline {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gfw-burgundy), var(--gfw-gold));
  border-radius: 999px;
  margin-bottom: 14px;
}

.gfw-wtb-result-card h4,
.gfw-stockist-name,
.gfw-wtb-tooltip h4 {
  margin: 0 0 8px;
  color: #fff5e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.18;
}

.gfw-wtb-distance {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gfw-gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.gfw-wtb-result-line,
.gfw-stockist-meta,
.gfw-wtb-tip-line {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.gfw-wtb-result-line strong,
.gfw-stockist-meta strong,
.gfw-wtb-tip-line strong {
  color: var(--gfw-gold);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gfw-wtb-result-line span,
.gfw-stockist-meta span,
.gfw-wtb-tip-line span {
  color: rgba(247, 241, 230, 0.9);
  font-size: 13px;
  line-height: 1.55;
}

.gfw-wtb-result-actions,
.gfw-wtb-tip-actions,
.gfw-stockist-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.gfw-wtb-empty {
  color: rgba(247, 241, 230, 0.78);
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 18px;
}

.gfw-wtb-globe-side {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(196,154,88,0.12), transparent 40%);
}

.gfw-wtb-globe-canvas {
  width: 100%;
  min-height: 640px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gfw-wtb-globe-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.gfw-wtb-glow {
  position: absolute;
  inset: 6% 10%;
  background: radial-gradient(circle at center, rgba(196,154,88,0.26), rgba(196,154,88,0.0) 60%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.gfw-wtb-marker {
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.gfw-wtb-marker.is-hidden {
  opacity: 0.15;
  transform: scale(0.72);
}

.gfw-wtb-marker-core {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4d295 0%, #d7a35a 42%, #8f1b2c 100%);
  box-shadow: 0 0 0 2px rgba(255, 246, 230, 0.8), 0 0 24px rgba(212, 139, 36, 0.8);
}

.gfw-wtb-marker-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 163, 90, 0.9);
  animation: gfwWtbPulse 2.3s ease-out infinite;
}

.gfw-wtb-marker.is-active .gfw-wtb-marker-core {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 28px rgba(212, 139, 36, 0.95);
}

@keyframes gfwWtbPulse {
  0% { transform: scale(0.75); opacity: 0.95; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.gfw-wtb-tooltip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  width: min(360px, calc(100% - 48px));
  background: rgba(233, 227, 215, 0.97);
  color: var(--gfw-copy);
  border-radius: 22px;
  border: 1px solid rgba(196, 154, 88, 0.26);
  box-shadow: var(--gfw-shadow);
  overflow: hidden;
}

.gfw-wtb-tooltip-inner {
  padding: 18px 18px 16px;
}

.gfw-wtb-tooltip h4 {
  color: var(--gfw-copy);
}

.gfw-wtb-tooltip .gfw-wtb-tip-line span {
  color: rgba(45, 35, 28, 0.9);
}

.gfw-stockists-grid-wrap {
  background: linear-gradient(180deg, #f0ebe0 0%, #e7e0d2 100%);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.gfw-stockists-grid-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.gfw-grid-eyebrow {
  color: var(--gfw-burgundy);
  margin-bottom: 8px;
}

.gfw-grid-title {
  color: var(--gfw-copy);
  margin-bottom: 0;
}

.gfw-grid-search-wrap {
  min-width: min(320px, 100%);
}

.gfw-grid-search {
  background: rgba(255,255,255,0.75);
  color: var(--gfw-copy);
  border-color: rgba(45,35,28,0.14);
}

.gfw-grid-search::placeholder {
  color: rgba(45,35,28,0.48);
}

.gfw-stockists-grid {
  display: grid;
  grid-template-columns: repeat(var(--gfw-grid-columns), minmax(0, 1fr));
  gap: 20px;
}

.gfw-stockist-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(196,154,88,0.20);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(63, 44, 25, 0.08);
  color: var(--gfw-copy);
}

.gfw-stockist-name {
  color: var(--gfw-copy);
}

.gfw-stockist-meta span {
  color: rgba(45,35,28,0.88);
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .gfw-wtb-shell {
    grid-template-columns: 1fr;
  }

  .gfw-wtb-panel {
    order: 2;
  }

  .gfw-wtb-globe-side {
    order: 1;
  }

  .gfw-wtb-globe-canvas {
    min-height: 480px;
  }

  .gfw-stockists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gfw-wtb-panel {
    padding: 24px 18px 20px;
  }

  .gfw-wtb-controls,
  .gfw-stockists-grid-toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gfw-grid-search-wrap {
    min-width: 0;
  }

  .gfw-wtb-globe-canvas {
    min-height: 380px;
  }

  .gfw-wtb-tooltip {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: 0 14px 14px;
  }

  .gfw-stockists-grid-wrap {
    padding: 22px 16px;
  }

  .gfw-stockists-grid {
    grid-template-columns: 1fr;
  }

  .gfw-wtb-title,
  .gfw-grid-title {
    font-size: 28px;
  }
}

/* Globe style variants */
.gfw-wtb-map-day .gfw-wtb-shell {
  background:
    radial-gradient(circle at top left, rgba(200, 122, 34, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(196, 154, 88, 0.18), transparent 24%),
    linear-gradient(135deg, #120d0a 0%, #2a190f 42%, #15100d 100%);
}

.gfw-wtb-map-day .gfw-wtb-globe-side {
  background: radial-gradient(circle at center, rgba(220, 170, 92, 0.18), transparent 42%);
}

.gfw-wtb-map-day .gfw-wtb-glow {
  background: radial-gradient(circle at center, rgba(220,170,92,0.32), rgba(196,154,88,0.0) 62%);
}

.gfw-wtb-map-dark .gfw-wtb-shell {
  background:
    radial-gradient(circle at top left, rgba(200, 122, 34, 0.2), transparent 28%),
    radial-gradient(circle at bottom right, rgba(196, 154, 88, 0.24), transparent 24%),
    linear-gradient(135deg, #0a0908 0%, #1b1410 35%, #120d0b 100%);
}

.gfw-wtb-tooltip.is-visible {
  animation: gfwWtbTooltipIn 0.18s ease-out both;
}

@keyframes gfwWtbTooltipIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* v1.0.4 map settings refinements */
.gfw-wtb-globe-side {
  background:
    radial-gradient(circle at 46% 50%, rgba(196,154,88,0.28), transparent 34%),
    radial-gradient(circle at 74% 24%, rgba(143,27,44,0.16), transparent 28%),
    linear-gradient(135deg, var(--gfw-globe-bg-color, #1b1410) 0%, #0a0705 100%);
}

.gfw-wtb-map-day .gfw-wtb-globe-side {
  background:
    radial-gradient(circle at 46% 50%, rgba(220,170,92,0.24), transparent 38%),
    radial-gradient(circle at 74% 24%, rgba(143,27,44,0.12), transparent 28%),
    linear-gradient(135deg, var(--gfw-globe-bg-color, #2a190f) 0%, #0d0907 100%);
}

.gfw-wtb-marker {
  width: var(--gfw-marker-size, 26px);
  height: var(--gfw-marker-size, 26px);
  pointer-events: auto !important;
  z-index: 10;
  transform: scale(var(--gfw-marker-zoom-scale, 1));
  transform-origin: center center;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

.gfw-wtb-marker.is-hidden {
  opacity: 0.15;
  transform: scale(calc(var(--gfw-marker-zoom-scale, 1) * .72));
}

.gfw-wtb-marker.has-custom-marker {
  border-radius: 0;
  overflow: visible;
}

.gfw-wtb-marker-image {
  position: absolute;
  inset: 0;
  display: block;
  background-image: var(--gfw-marker-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(196,154,88,.65));
  z-index: 2;
}

.gfw-wtb-marker.has-custom-marker .gfw-wtb-marker-pulse {
  inset: 14%;
  z-index: 1;
}

.gfw-wtb-marker.has-custom-marker.is-active .gfw-wtb-marker-image,
.gfw-wtb-marker.has-custom-marker:hover .gfw-wtb-marker-image {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.7)) drop-shadow(0 0 16px rgba(196,154,88,.95));
}

.gfw-wtb-tooltip {
  pointer-events: auto;
}

.gfw-wtb-globe-canvas > div,
.gfw-wtb-globe-canvas .scene-tooltip,
.gfw-wtb-globe-canvas .html-elements {
  pointer-events: auto !important;
}
