/* Gift feature styles are isolated to avoid changing ordinary search. */
body[data-page="gift"] { background: #f8f9ff; color: #20254e; }
.gift-page { width: min(1100px, calc(100% - 36px)); margin: 0 auto 70px; }
.gift-hero { padding: 54px 0 30px; }
.gift-eyebrow { display: inline-block; font-weight: 800; letter-spacing: .14em; font-size: 12px; color: #565de1; margin-bottom: 12px; }
.gift-hero-grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 20px; align-items: center; }
.gift-hero h1 { font-size: clamp(30px,4vw,51px); line-height: 1.22; letter-spacing: -.04em; font-weight: 850; margin: 0 0 16px; }
.gift-hero h1 span { color: #5752d9; }
.gift-hero p { color: #555b75; line-height: 1.95; max-width: 680px; margin: 0; }
.gift-hero-icon { background: linear-gradient(145deg,#f1edff,#e4edff); border-radius: 24px; min-height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.gift-hero-icon span { font-size: 78px; filter: drop-shadow(0 12px 20px #5240a122); }
.gift-hero-icon small { margin-top: 2px; color: #4f5477; font-weight: 650; }
.gift-points { margin-top: 17px; display: flex; gap: 8px; flex-wrap: wrap; }
.gift-points span { background: #fff; color: #4c4d9a; border: 1px solid #dddffd; border-radius: 100px; padding: 7px 11px; font-size: 12px; font-weight: 650; }
.gift-progress { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 12px 0 24px; flex-wrap: wrap; font-size: 13px; color: #888fa7; font-weight: 750; }
.gift-progress span.is-active { color: #4c49c9; }
.gift-progress i { width: 35px; height: 1px; background: #d7d8ea; }
.gift-panel { background: #fff; border: 1px solid #e5e7f4; border-radius: 24px; padding: clamp(22px,4vw,38px); box-shadow: 0 12px 35px #26236b0a; }
.gift-panel[hidden] { display: none !important; }
.gift-panel-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.gift-number { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; color: #fff; background: #5a54e4; border-radius: 14px; font-weight: 800; }
.gift-panel-head h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 2px 0 6px; color: #20254e; }
.gift-panel-head p { font-size: 13px; line-height: 1.7; color: #697086; margin: 0; }
.gift-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.gift-field { display: block; font-size: 14px; font-weight: 750; color: #32375a; }
.gift-field > span { color: #5d57db; font-size: 11px; padding-left: 6px; }
.gift-field > small, .gift-interests small { color: #7a8094; font-size: 11px; font-weight: 500; }
.gift-field select,.gift-field textarea,.gift-field input { display: block; width: 100%; margin-top: 8px; border: 1px solid #dfe2ee; border-radius: 11px; padding: 13px 14px; background: #fafbff; color: #272d56; font: inherit; font-weight: 500; box-sizing: border-box; min-height: 48px; }
.gift-field textarea { resize: vertical; line-height: 1.65; min-height: 100px; }
.gift-field input:focus,.gift-field select:focus,.gift-field textarea:focus { outline: 3px solid #5c5ee82b; border-color: #6056e7; }
.gift-counter { display: block; margin-top: 4px; text-align: right; }
.gift-interests { border: 0; padding: 0; margin: 26px 0; min-width: 0; }
.gift-interests legend { padding: 0; font-weight: 750; font-size: 14px; margin-bottom: 13px; }
.gift-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.gift-chips label { position: relative; cursor: pointer; }
.gift-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-chips span { display: inline-flex; background: #f8f9ff; color: #4b5172; border: 1px solid #dfe2f1; border-radius: 100px; padding: 11px 15px; font-size: 13px; font-weight: 650; transition: background .15s; }
.gift-chips input:checked + span { border-color: #5d54de; background: #eeedff; color: #39329d; }
.gift-chips input:focus-visible + span { outline: 3px solid #5c5ee866; outline-offset: 2px; }
.gift-textfields { margin-top: 3px; }
.gift-smallprint { line-height: 1.8; font-size: 12px; margin: 20px 0 16px; color: #747990; }
.gift-primary,.gift-secondary { background: #5a54dc; color: #fff; border: 0; cursor: pointer; font-size: 15px; font-weight: 800; border-radius: 12px; padding: 15px 23px; min-height: 48px; }
.gift-primary:hover,.gift-secondary:hover { background: #4440b9; }
.gift-primary { width: 100%; }
.gift-suggestions { margin-top: 22px; }
.gift-summary { color: #515777; background: #f6f6ff; padding: 13px 17px; border-radius: 12px; font-size: 13px; line-height: 1.7; }
.gift-category-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 21px; }
.gift-category { border: 1px solid #dfe1ef; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; background: #fff; min-height: 220px; }
.gift-category > span { font-size: 34px; }
.gift-category h3 { font-size: 19px; margin: 10px 0 7px; color: #2a2e5c; }
.gift-category p { line-height: 1.7; font-size: 13px; color: #626982; margin: 0 0 17px; flex: 1; }
.gift-category button { width: 100%; border: 1px solid #5a54dc; color: #4c46cd; background: #f7f6ff; border-radius: 10px; font-weight: 800; min-height: 44px; cursor: pointer; }
.gift-category button:hover { color: #fff; background: #5a54dc; }
.gift-or { text-align: center; color: #797f95; font-size: 13px; margin: 25px 0 15px; }
.gift-or span { background: #fff; padding: 0 14px; }
.gift-custom-row { display: flex; gap: 10px; align-items: stretch; margin-top: 3px; }
.gift-custom-row input { margin-top: 0; }
.gift-secondary { white-space: nowrap; font-size: 13px; }
.gift-back { margin-top: 22px; background: transparent; border: 0; padding: 4px; color: #5550b2; font-weight: 650; cursor: pointer; }
.gift-context-panel { background: #f2f0ff; border: 1px solid #dddafb; padding: 17px 20px; margin: 18px 0 22px; border-radius: 14px; color: #38366e; }
.gift-context-panel strong { display: block; font-size: 15px; margin: 0 0 8px; }
.gift-context-panel p { font-size: 13px; line-height: 1.8; margin: 4px 0; }
.gift-context-panel small { color: #655d85; line-height: 1.65; display: block; margin-top: 7px; }
.gift-home-banner { width:min(1100px,calc(100% - 36px));margin: 22px auto 45px; display:flex; gap:18px; align-items:center; justify-content:space-between; border:1px solid #d7d9ff; border-radius:19px; background:linear-gradient(108deg,#f1efff,#fbfaff); padding: 24px 27px; box-sizing:border-box; }
.gift-home-banner h2 { color:#242352; margin:0 0 7px; font-size:22px; }
.gift-home-banner p { color:#575d81; font-size:13px; margin:0; line-height:1.8; }
.gift-home-banner a { color:white; background:#5852d7; border-radius:11px; padding:13px 18px; text-decoration:none; font-weight:750; white-space:nowrap; }
@media(max-width:760px) { .gift-hero-grid { grid-template-columns:1fr; } .gift-hero-icon { display:none; } .gift-fields { grid-template-columns:1fr;gap:15px; } .gift-category-list { grid-template-columns:1fr; } .gift-category { min-height:0; } .gift-home-banner { flex-direction:column;align-items:stretch; } .gift-home-banner a { text-align:center; } .gift-hero { padding:35px 0 22px; } }
@media(max-width:420px){ .gift-progress { gap:5px;font-size:10px; } .gift-progress i { width:12px; } .gift-panel { border-radius:16px; } .gift-custom-row{ flex-direction:column; } }
