.traffic-choice-tools {
  padding: 10px 0;
  line-height: 1.4;
}
.traffic-choice-tools .traffic-choice-settings {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 8px 0;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.traffic-choice-panel {
  position: fixed;
  z-index: 90;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(385px, calc(100% - 32px));
  max-height: 65vh;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid #c7beb1;
  border-radius: 12px;
  background: #fffdf9;
  color: #26231f;
  box-shadow: 0 4px 24px #2a251e22;
  font: 14px/1.55 system-ui, sans-serif;
  text-align: left;
}
.traffic-choice-panel[hidden] { display: none; }
.traffic-choice-panel h2 {
  margin: 0 0 4px;
  color: inherit;
  font: 600 17px/1.4 system-ui, sans-serif;
  letter-spacing: normal;
}
.traffic-choice-panel p { color: inherit; font: inherit; margin: 0 0 12px; }
.traffic-choice-panel a { color: inherit; text-decoration: underline; }
.traffic-choice-actions { display: flex; gap: 8px; }
.traffic-choice-actions button {
  flex: 1;
  min-height: 42px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #847969;
  background: #fff;
  color: #322a20;
  font: 600 14px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.traffic-choice-actions button:hover,
.traffic-choice-actions button:focus-visible { background: #f3eee5; }
@media (max-width: 760px) {
  .product-page .traffic-choice-panel {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}
