/* Embedded selection guide: keep the reference styling local to this section. */
#shopping-guide {
  --guide-panel: #201416;
  --guide-accent: #e4c790;
  --guide-accent-soft: #f2d9b4;
  --guide-tint: #45262b;
  --guide-text: var(--cream);
  --guide-muted: #ddc9c3;
  --guide-border: #896b60;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
  background: #160d0f;
  color-scheme: dark;
  color: var(--guide-text);
  font: 400 15px/1.75 var(--sans);
  scroll-margin-top: 80px;
}
#shopping-guide :is(h2,h3,h4,p,figure) { margin: 0; }
#shopping-guide button { color: inherit; font: inherit; cursor: pointer; }
#shopping-guide [hidden] { display: none !important; }
#shopping-guide :focus-visible { outline: 3px solid #f2d399; outline-offset: 3px; }
#shopping-guide .svg-library { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
#shopping-guide .guide-card { max-width: 1144px; margin-inline: auto; scroll-margin-top: 100px; }
#shopping-guide .overline[lang="en"] { font: 700 15px/1.1 var(--latin); }
#shopping-guide .icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#shopping-guide .button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; font: 700 14px/1.45 var(--sans); text-decoration: none; transition: background .16s ease, border-color .16s ease; }
#shopping-guide .button.primary { color: #211315; background: var(--guide-accent); }
#shopping-guide .button.primary:hover { background: var(--guide-accent-soft); }
#shopping-guide .button .icon { width: 17px; height: 17px; }
#shopping-guide .guide-card { display: grid; grid-template-columns: 243px minmax(0, 1fr); overflow: hidden; background: var(--guide-panel); border: 1px solid var(--guide-border); border-radius: 20px; box-shadow: 0 10px 34px rgb(0 0 0 / 18%); }
#shopping-guide .guide-rail { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 21px; padding: 32px 23px 35px; color: #fff3e8; background: radial-gradient(ellipse at 6% 3%, rgb(141 48 67 / 38%), transparent 82%), linear-gradient(140deg, #521725, #301318); }
#shopping-guide .guide-rail .overline { color: #f4cbac; font-size: 13px; letter-spacing: .13em; }
#shopping-guide .guide-rail h2 { margin-top: 9px; font: 600 24px/1.4 var(--serif); letter-spacing: .025em; }
#shopping-guide .rail-intro { margin-top: 14px; color: #f6e2d6; font-size: 13px; line-height: 1.85; }
#shopping-guide .guide-rail[data-progress="true"] .rail-intro { display: none; }
#shopping-guide .rail-watermark { position: absolute; z-index: -1; right: -27px; bottom: -34px; width: 168px; height: 168px; color: #ffe3cb; opacity: .13; stroke-width: .53; transform: rotate(-14deg); }
#shopping-guide .trail-label { color: #f4cbac; font-size: 11px; font-weight: 700; letter-spacing: .085em; }
#shopping-guide .trail ul { display: grid; gap: 6px; margin: 7px 0 0; padding: 0; list-style: none; }
#shopping-guide .trail button { display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; min-height: 36px; padding: 7px 9px; background: rgb(255 249 241 / 9%); color: #fff7ed; border: 1px solid rgb(255 249 241 / 27%); border-radius: 5px; text-align: left; font-size: 11px; line-height: 1.4; }
#shopping-guide .trail button:hover { background: rgb(255 249 241 / 18%); }
#shopping-guide .trail button:focus-visible { outline-color: #fff5d9; }
#shopping-guide .trail .icon { width: 13px; height: 13px; }
#shopping-guide .guide-main { min-width: 0; padding: 26px clamp(22px, 4vw, 46px) 25px; }
#shopping-guide .panel-view { animation: shopping-guide-appear .21s ease-out both; }
@keyframes shopping-guide-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
#shopping-guide .step-meta { display: flex; align-items: center; gap: 11px; color: var(--guide-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
#shopping-guide .step-number { font: 700 19px/1 var(--latin); letter-spacing: .08em; font-variant-numeric: lining-nums; }
#shopping-guide .step-total { color: var(--guide-muted); }
#shopping-guide .step-divider { width: 24px; height: 1px; background: #b57665; }
#shopping-guide .step-heading { margin-top: 9px; font: 700 clamp(23px, 3vw, 34px)/1.42 var(--serif); letter-spacing: -.025em; }
#shopping-guide .step-heading:focus { outline: none; }
#shopping-guide .step-hint { margin: 7px 0 19px; font-size: 14px; color: var(--guide-muted); }
#shopping-guide .step-banner { display: flex; align-items: center; gap: 8px; margin: -6px 0 15px; padding: 9px 12px; border-radius: 7px; background: var(--guide-tint); color: var(--guide-accent-soft); font-weight: 700; font-size: 13px; }
#shopping-guide .step-banner .icon { width: 20px; height: 20px; }
#shopping-guide .choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#shopping-guide .choices-tiers { grid-template-columns: 1fr; }
#shopping-guide .choice { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 76px; padding: 11px 13px; border: 1px solid var(--guide-border); border-radius: 10px; text-align: left; background: #2d1c1f; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
#shopping-guide .choice:hover { background: #44282b; border-color: #e4c790; box-shadow: 0 3px 13px rgb(0 0 0 / 15%); }
#shopping-guide .choices-tiers .choice { min-height: 65px; }
#shopping-guide .choices-count { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#shopping-guide .choices-count .choice { min-height: 67px; }
#shopping-guide .choices-count .choice-mark { display: none; }
#shopping-guide .choice-mark { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--guide-tint); color: var(--guide-accent); }
#shopping-guide .choice-mark .icon { width: 23px; height: 23px; }
#shopping-guide .choice-copy { display: grid; flex: 1; gap: 2px; min-width: 0; }
#shopping-guide .choice-title { font: 700 15px/1.55 var(--sans); overflow-wrap: anywhere; }
#shopping-guide .choice-description { color: var(--guide-muted); font-size: 12px; line-height: 1.5; }
#shopping-guide .choice-arrow { display: flex; align-items: center; margin-left: auto; color: var(--guide-accent); }
#shopping-guide .choice-arrow .icon { width: 16px; height: 16px; }
#shopping-guide .purchase-mode-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
#shopping-guide .purchase-mode-heading h4 { color: var(--guide-accent-soft); font: 700 18px/1.4 var(--serif); }
#shopping-guide .purchase-mode-number { color: var(--guide-accent); font: 700 17px/1 var(--latin); }
#shopping-guide .trial-heading { margin-bottom: 8px; }
#shopping-guide .annual-card { display: flex; align-items: center; justify-content: space-between; gap: 11px 16px; flex-wrap: wrap; margin-top: 15px; padding: 13px 15px; border: 1px solid var(--guide-border); border-radius: 10px; background: #352024; }
#shopping-guide .annual-card .pill { background: var(--guide-panel); }
#shopping-guide .annual-summary { margin-top: 5px; color: var(--guide-muted); font-size: 13px; }
#shopping-guide .annual-summary strong { margin-inline-start: 4px; color: var(--guide-accent); }
#shopping-guide .annual-promise { margin-top: 2px; color: var(--guide-accent-soft); font-size: 13px; font-weight: 700; }
#shopping-guide .annual-button { min-height: 44px; padding: 8px 11px; border-color: var(--guide-border); background: var(--guide-panel); color: var(--guide-accent); font-size: 13px; }
#shopping-guide .annual-button:hover { border-color: var(--guide-accent); background: #44282b; }
#shopping-guide .step-note, #shopping-guide .conditions { margin-top: 11px; color: var(--guide-muted); font-size: 12px; line-height: 1.7; }
#shopping-guide .guide-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
#shopping-guide .text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0; background: transparent; border: 0; color: var(--guide-accent); font-size: 13px; font-weight: 700; text-align: left; }
#shopping-guide .text-button:hover { text-decoration: underline; text-underline-offset: .23em; }
#shopping-guide .restart { color: var(--guide-muted); font-weight: 500; }
#shopping-guide .result-symbol { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--guide-tint); }
#shopping-guide .result-symbol .icon { width: 16px; height: 16px; stroke-width: 1.8; }
#shopping-guide .result-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 192px; border: 1px solid var(--guide-border); border-radius: 12px; background: #2d1c1f; overflow: hidden; }
#shopping-guide .result-visual { position: relative; background: #372127; }
#shopping-guide .result-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#shopping-guide .result-visual figcaption { position: absolute; right: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 2px 7px; color: #fff7ed; background: #54292bea; border-radius: 4px; font-size: 10px; }
#shopping-guide .result-product { align-self: center; padding: 16px 18px 19px; }
#shopping-guide .pill { display: inline-block; width: fit-content; border-radius: 99px; padding: 3px 9px; color: var(--guide-accent-soft); background: var(--guide-tint); font-size: 11px; font-weight: 700; line-height: 1.6; }
#shopping-guide .result-product h4 { margin-top: 7px; font: 700 clamp(17px, 2.1vw, 25px)/1.4 var(--serif); }
#shopping-guide .result-set-count { white-space: nowrap; }
#shopping-guide .product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 6px 0 5px; color: var(--guide-accent); }
#shopping-guide .product-price strong { font-size: 22px; font-weight: 700; }
#shopping-guide .price-prefix, #shopping-guide .price-suffix { font-size: 12px; font-weight: 700; }
#shopping-guide .product-description { color: var(--guide-muted); font-size: 13px; line-height: 1.65; }
#shopping-guide .purchase-note { margin-top: 13px; padding: 10px 12px; border-left: 2px solid var(--guide-accent); border-radius: 0 6px 6px 0; color: var(--guide-accent-soft); background: #352024; font-size: 13px; }
#shopping-guide .conditions.recurring { color: var(--guide-accent-soft); font-weight: 700; }
#shopping-guide .result-actions { display: flex; align-items: center; gap: 5px 12px; flex-wrap: wrap; margin-top: 17px; }
#shopping-guide .result-actions .alternate { min-height: 44px; }
@media (max-width: 930px) {
  #shopping-guide .guide-card { grid-template-columns: 196px minmax(0, 1fr); }
  #shopping-guide .guide-rail { padding-inline: 17px; }
  #shopping-guide .guide-rail h2 { font-size: 21px; }
}
@media (max-width: 740px) {
  #shopping-guide .guide-card { grid-template-columns: minmax(0, 1fr); border-radius: 15px; }
  #shopping-guide .guide-rail { display: block; padding: 13px 18px; }
  #shopping-guide .rail-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; }
  #shopping-guide .guide-rail .overline { font-size: 11px; }
  #shopping-guide .guide-rail h2 { margin-top: 0; font-size: 17px; }
  #shopping-guide .rail-intro { margin: 0 0 0 auto; font-size: 11px; }
  #shopping-guide .rail-intro br, #shopping-guide .trail-label { display: none; }
  #shopping-guide .trail ul { display: flex; flex-wrap: wrap; gap: 4px 5px; }
  #shopping-guide .trail button { width: auto; min-height: 32px; }
  #shopping-guide .rail-watermark { width: 105px; height: 105px; right: -9px; bottom: -29px; }
  #shopping-guide .guide-main { padding: 20px 19px 22px; }
}
@media (max-width: 535px) {
  #shopping-guide .button { min-height: 45px; }
  #shopping-guide .guide-rail { padding: 11px 13px; }
  #shopping-guide .rail-intro { display: none; }
  #shopping-guide .guide-main { padding: 17px 13px 16px; }
  #shopping-guide .step-hint { margin-bottom: 14px; font-size: 13px; }
  #shopping-guide .choices { grid-template-columns: 1fr; gap: 8px; }
  #shopping-guide .choices-count { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #shopping-guide .choice, #shopping-guide .choices-tiers .choice { min-height: 59px; padding: 8px 10px; }
  #shopping-guide .choice-mark { width: 33px; height: 33px; }
  #shopping-guide .choice-mark .icon { width: 20px; height: 20px; }
  #shopping-guide .result-card { grid-template-columns: minmax(0, 1fr); }
  #shopping-guide .result-visual { min-height: 157px; }
  #shopping-guide .result-product { padding: 12px 13px; }
  #shopping-guide .result-product h4 { font-size: 21px; }
  #shopping-guide .result-actions .button { width: 100%; }
  #shopping-guide .annual-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #shopping-guide .panel-view { animation: none; }
  #shopping-guide :is(.button,.choice) { transition: none; }
}
