/* Finder-specific styles: keep the surrounding editorial site independent. */
#finder { background: #f5f1e8; padding: 80px 0; }
#finder .section-intro { max-width: 700px; margin-bottom: 38px; }
#finder .section-intro h2 { font-size: clamp(32px,4.2vw,52px); line-height: 1.12; }
#finder .section-intro h2 em { color: #a34827; }
.finder-wrap { max-width: 1100px; }
.gg-finder { border-radius: 24px; padding: 36px 40px; box-shadow: 0 12px 40px #35251008; }
.finder-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding-bottom:26px; border-bottom:1px solid var(--gg-line); }
.finder-progress-step { display:flex; align-items:center; justify-content:center; gap:10px; border:0; background:none; font:inherit; font-size:13px; color:#716c64; cursor:pointer; padding:4px; }
.finder-progress-step:disabled { cursor:default; opacity:.7; }
.progress-number { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; border:1px solid #d6d2c8; background:#f7f5f0; }
.finder-progress-step.current { color:#9a4325; font-weight:700; }
.current .progress-number { color:white; background:#a94c2a; border-color:#a94c2a; }
.done .progress-number { background:#e8eddf; border-color:#dae3cc; color:#52603f; }
.finder-panel { margin-top:28px; }
.finder-panel h3 { font-size:clamp(23px,3vw,31px); margin-bottom:8px; }
.finder-hint { color:#6a665e; font-size:15px; margin-bottom:24px; max-width:720px; }
.finder-selection { display:flex; flex-wrap:wrap; gap:6px; margin-top:16px; }
.finder-selection:empty { display:none; }
.selection-chip { font:inherit; font-size:12px; color:#52473c; border:1px solid #ddd5c7; padding:7px 12px; background:#f6f2e9; border-radius:30px; cursor:pointer; }
.selection-chip:hover { background:#ede4d4; }
.finder-grid { gap:12px; }
.option-tile { position:relative; min-height:130px; gap:7px; border:1px solid #ded9ce; border-radius:16px; padding:19px 18px; background:#fffefa; transition:background .16s,border-color .16s,transform .16s; }
.option-tile:hover:not(:disabled) { border-color:#bd724e; background:#fcf2e9; transform:translateY(-2px); }
.option-tile.active { background:#fbede1; color:#352d23; border-color:#a94c2a; box-shadow:0 0 0 1px #a94c2a; }
.option-tile strong { font-size:15px; line-height:1.35; }
.option-tile .option-hint,.option-tile.active .option-hint { color:#6c6157; font-size:12px; line-height:1.45; }
.option-tile .option-icon { font-size:26px; color:#a94c2a; line-height:1.2; margin-bottom:3px; }
.option-check { position:absolute; top:12px; right:12px; display:none; border-radius:50%; width:21px; height:21px; text-align:center; background:#a94c2a; color:#fff!important; }
.option-tile.active .option-check { display:block; }
.option-tile:disabled { opacity:.5; cursor:not-allowed; }
.finder-detail-stack { gap:25px; }
.detail-section { border:0; padding:0; margin:0; min-width:0; }
.detail-section-title { margin-bottom:12px; font-size:15px; }
.detail-option-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.detail-option-grid .option-tile { min-height:105px; padding:16px; }
.detail-section:first-child:has([data-key="ageGroup"]) .detail-option-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
[data-key="ageGroup"].option-tile { min-height:65px; justify-content:center; }
.finder-optional { color:#696055; font-size:13px; }
.finder-optional summary { cursor:pointer; padding:8px 0; }
.finder-optional .detail-option-grid { margin-top:12px; grid-template-columns:repeat(3,1fr); }
.finder-optional .option-tile { min-height:56px; }
.exact-age-label { display:flex; gap:12px; align-items:center; color:#655d51; font-size:13px; }
.exact-age,.results-sort select { font:inherit; padding:9px 12px; color:#453b2d; border:1px solid #cfc8bc; border-radius:8px; background:#fffefa; }
.finder-controls { margin-top:28px; }
.finder-controls .gg-btn-primary { background:#a94c2a; border-color:#a94c2a; }
.finder-controls .gg-btn:disabled { opacity:.45; cursor:not-allowed; }
#finderResults { margin-top:30px; background:#fffdf8; }
#resultsTitle { font-size:clamp(25px,3vw,36px); line-height:1.2; margin:20px 0 10px; }
#resultsCopy { color:#6a6154; font-size:15px; margin-bottom:18px; }
.results-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin:22px 0; padding:16px 0; border-block:1px solid #e7e0d4; font-size:13px; }
.results-sort { display:flex; align-items:center; gap:8px; }
.results-saved { display:flex; align-items:center; gap:7px; cursor:pointer; }
.results-saved input { accent-color:#a94c2a; width:17px; height:17px; }
.results-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.finder-product { min-width:0; border:1px solid #e6dfd4; border-radius:18px; overflow:hidden; background:white; box-shadow:0 5px 16px #35251004; }
.gift-visual { position:relative; background:#fff; }
.gift-image-link { display:flex; align-items:center; justify-content:center; flex-direction:column; height:228px; text-decoration:none; }
.finder-product .gift-image-link img { height:100%; width:100%; object-fit:contain; padding:30px 25px 18px; aspect-ratio:auto; background:#fff; }
.gift-top-pick { position:absolute; left:12px; top:12px; padding:5px 9px; border-radius:20px; background:#e9edde; color:#4e5b3e; font-size:10px; font-weight:700; }
.gift-save { position:absolute; right:11px; top:11px; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; border:1px solid #e6dfd4; background:#fffcf6; color:#a34827; font-size:23px; cursor:pointer; }
.finder-product .gift-card-body { display:flex; flex:1; flex-direction:column; gap:0; padding:20px; }
.gift-category { color:#886344; text-transform:uppercase; letter-spacing:.1em; font-size:10px; font-weight:700; margin-bottom:9px; }
.finder-product h3 { font-size:18px; line-height:1.35; margin:0 0 10px; overflow-wrap:anywhere; }
.gift-description { color:#696052; font-size:13px; line-height:1.6; margin:0 0 10px; }
.gift-detail { color:#756b5b; font-size:11px; line-height:1.5; margin:0 0 16px; }
.gift-price-row { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-top:auto; padding-top:14px; }
.gift-price { font-size:21px; font-weight:650; color:#382d22; }
.gift-store { color:#756b5b; font-size:11px; }
.gift-price-note { color:#786e62; font-size:10px; line-height:1.5; margin:5px 0 13px; }
.gift-amazon { width:100%; background:#a94c2a; border-color:#a94c2a; font-size:12px; padding:11px 10px; }
.gift-image-fallback { font-size:50px; }.gift-image-label { font-size:12px; color:#756b5b; }
.results-notice { color:#766c60; font-size:11px; line-height:1.65; margin-top:26px; }
.finder-empty { grid-column:1/-1; padding:35px; text-align:center; background:#f7f2e8; border-radius:16px; }.empty-gift { font-size:36px; }.finder-empty h4 { font-size:20px; margin:10px; }.finder-empty p { font-size:14px; color:#766c60; }
.finder-no-budget { grid-column:1/-1; font-size:14px; padding:15px; background:#f8eee0; border-radius:12px; }
.finder-trust { display:flex; justify-content:center; gap:24px; flex-wrap:wrap; margin-top:22px; color:#746c5f; font-size:12px; }
#finder button:focus-visible,#finder select:focus-visible,#finder a:focus-visible { outline:3px solid #80512e; outline-offset:4px; }
#finderForm,#finderResults { scroll-margin-top:100px; }#finderHeading:focus,#resultsTitle:focus { outline:none; }
.finder-sr-only { position:absolute; width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
@media(max-width:900px) { .gg-finder { padding:28px; }.results-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.detail-option-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) {
  #finder { padding:50px 0; } .gg-finder { padding:22px 16px; border-radius:18px; }.finder-progress { gap:3px; padding-bottom:20px; }.finder-progress-step { flex-direction:column; gap:6px; font-size:10px; }.progress-number { width:27px;height:27px; }
  .finder-grid,.detail-option-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.option-tile { padding:15px 12px; min-height:130px; }.option-tile strong { font-size:14px; }.option-tile .option-hint { font-size:11px; }
  .detail-section:first-child:has([data-key="ageGroup"]) .detail-option-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.detail-option-grid .option-tile { padding:13px 10px; }
  .finder-controls { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.finder-step-label { grid-row:1;grid-column:1/-1;text-align:center;font-size:11px; }.finder-controls .gg-btn { width:100%;padding-inline:10px;font-size:12px; }
  .results-grid { grid-template-columns:minmax(0,1fr); }.gift-image-link { height:240px; }.finder-product .gift-card-body { padding:22px; }.finder-product h3 { font-size:21px; }.gift-description { font-size:14px; }.gift-amazon { font-size:14px; }
  .exact-age-label { align-items:flex-start;flex-direction:column; }.finder-trust { gap:9px 20px; font-size:11px; }.results-sort { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { #finder *,#finder *::before,#finder *::after { transition:none!important;animation:none!important;scroll-behavior:auto!important; } }
