/* GunRack Loadout Builder - modern light theme. Classes match the redesigned templates. No var(--i-*). */

/* ===== Buttons ===== */
.gdlo-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:8px;border:1px solid #d1d9e6;background:#fff;color:#1e293b;font-size:.9em;font-weight:600;cursor:pointer;text-decoration:none;transition:all .15s;line-height:1.2}
.gdlo-btn:hover{background:#f1f5f9;border-color:#94a3b8}
.gdlo-btn--primary{background:#2563eb;border-color:#2563eb;color:#fff}
.gdlo-btn--primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.gdlo-btn--secondary{background:#f1f5f9;border-color:#e2e8f0;color:#334155}
.gdlo-btn--secondary:hover{background:#e2e8f0}
.gdlo-btn--danger{background:#fff;border-color:#fecaca;color:#dc2626}
.gdlo-btn--danger:hover{background:#fef2f2}
.gdlo-btn--sm{padding:5px 10px;font-size:.8em}
.gdlo-btn--full{width:100%;justify-content:center}
.gdlo-btn--vote,.gdlo-btn--follow{background:#fff}
.gdlo-btn--voted{background:#16a34a;border-color:#16a34a;color:#fff}
.gdlo-btn--followed{background:#2563eb;border-color:#2563eb;color:#fff}
.gdlo-input{width:100%;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;background:#fff;color:#1e293b;font-size:.95em}
.gdlo-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}

/* ===== Hub ===== */
.gdlo-hub{width:100%;max-width:1400px;margin:0 auto;padding:24px;box-sizing:border-box;color:#1e293b}
.gdlo-hub-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.gdlo-hub-hero-text{flex:1;min-width:240px}
.gdlo-hub-title{font-size:1.9em;font-weight:800;color:#0f172a;margin:0 0 6px;letter-spacing:-.02em}
.gdlo-hub-subtitle{color:#64748b;font-size:1em;margin:0}
.gdlo-hub-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}
.gdlo-hub-tab{padding:10px 18px;color:#64748b;text-decoration:none;font-weight:600;font-size:.92em;border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .15s}
.gdlo-hub-tab:hover{color:#0f172a}
.gdlo-hub-tab--active{color:#2563eb;border-bottom-color:#2563eb}
.gdlo-hub-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;align-items:center}
.gdlo-hub-pill{padding:6px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;text-decoration:none;font-size:.85em;font-weight:600;transition:all .15s}
.gdlo-hub-pill:hover{background:#f1f5f9;border-color:#cbd5e1}
.gdlo-hub-pill--active{background:#2563eb;border-color:#2563eb;color:#fff}
.gdlo-hub-section{margin-bottom:32px}
.gdlo-hub-section-title{display:flex;align-items:center;gap:8px;font-size:1.1em;font-weight:700;color:#0f172a;margin:0 0 14px}
.gdlo-hub-section-title i{color:#2563eb}
.gdlo-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.gdlo-hub-card{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden;text-decoration:none;color:#1e293b;box-shadow:0 1px 3px rgba(15,23,42,.08),0 1px 2px rgba(15,23,42,.04);transition:transform .15s,box-shadow .15s;border:1px solid #f1f5f9}
.gdlo-hub-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.12),0 2px 6px rgba(15,23,42,.06)}
.gdlo-hub-card--featured{border:1px solid #fde68a;box-shadow:0 1px 3px rgba(180,130,10,.12),0 0 0 1px #fde68a inset}
.gdlo-hub-card-img{width:100%;aspect-ratio:16/10;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #f1f5f9}
.gdlo-hub-card-img img{max-width:88%;max-height:88%;width:auto;height:auto;object-fit:contain}
.gdlo-hub-card-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#cbd5e1;font-size:2.4em}
.gdlo-hub-card-body{flex:1;padding:16px 18px 10px}
.gdlo-hub-card-link{text-decoration:none;color:inherit;display:block}
.gdlo-hub-card-badge{position:absolute;top:12px;right:12px;font-size:.68em;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:3px 8px;border-radius:999px;background:#eff6ff;color:#2563eb}
.gdlo-hub-card-name{font-weight:700;font-size:1.08em;color:#0f172a;margin-bottom:8px;line-height:1.3;text-decoration:none;display:block}
.gdlo-hub-card-name:hover{color:#2563eb}
.gdlo-hub-card-uc{display:inline-block;font-size:.72em;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#16a34a;background:#f0fdf4;padding:3px 9px;border-radius:999px;margin-bottom:10px}
.gdlo-hub-tag{display:inline-block;font-size:.72em;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#2563eb;background:#eff6ff;padding:3px 9px;border-radius:999px}
.gdlo-hub-card-meta{display:flex;align-items:center;gap:8px;font-size:.8em;color:#64748b;margin-bottom:10px;flex-wrap:wrap}
.gdlo-hub-card-author{display:flex;align-items:center;gap:5px}
.gdlo-hub-price{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.gdlo-hub-price-val{font-weight:700;font-size:1.1em;color:#16a34a}
.gdlo-hub-price-na{font-size:.85em;color:#94a3b8}
.gdlo-hub-price-parts{font-size:.82em;color:#64748b}
.gdlo-hub-card-stats{display:flex;gap:14px;font-size:.82em;color:#64748b;border-top:1px solid #f1f5f9;padding-top:10px;margin-top:4px}
.gdlo-hub-card-stats span{display:inline-flex;align-items:center;gap:5px}
.gdlo-hub-card-price{font-weight:700;color:#16a34a}
.gdlo-hub-actions{display:flex;gap:8px;padding:12px 18px 16px;border-top:1px solid #f1f5f9;margin-top:auto}
.gdlo-hub-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 14px;border-radius:8px;font-size:.82em;font-weight:600;cursor:pointer;text-decoration:none;transition:all .15s;line-height:1.2;border:1px solid transparent}
.gdlo-hub-btn--view{background:#2563eb;color:#fff;border-color:#2563eb;flex:1}
.gdlo-hub-btn--view:hover{background:#1d4ed8}
.gdlo-hub-btn--copy{background:#fff;color:#475569;border-color:#d1d9e6;flex:1}
.gdlo-hub-btn--copy:hover{background:#f1f5f9;border-color:#94a3b8}
.gdlo-hub-copy-form{display:contents}
.gdlo-hub-btn--danger{flex:0 0 auto;background:#fff;color:#b42318;border-color:#f3c0bb;padding-left:14px;padding-right:14px}
.gdlo-hub-btn--danger:hover{background:#fef2f2}
.gdlo-action-btn--copy{background:var(--gr-accent,#1f6feb);color:#fff}
.gdlo-action-btn--copy:hover{filter:brightness(.95)}
.gdlo-copy-form{margin:8px 0 0}
.gdlo-empty{text-align:center;padding:60px 20px;color:#94a3b8}
.gdlo-empty i{font-size:2.6em;opacity:.4;margin-bottom:12px;display:block}

/* ===== View ===== */
.gdlo-view{width:100%;max-width:1280px;margin:0 auto;padding:24px;box-sizing:border-box;color:#1e293b}
.gdlo-view-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.gdlo-view-header-info{flex:1;min-width:260px}
.gdlo-view-header-actions{display:flex;gap:8px;flex-wrap:wrap}
.gdlo-view-title{font-size:1.8em;font-weight:800;color:#0f172a;margin:0 0 8px;letter-spacing:-.02em}
.gdlo-view-uc{display:inline-block;font-size:.74em;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#16a34a;background:#f0fdf4;padding:4px 10px;border-radius:999px;margin-bottom:10px}
.gdlo-view-badge{display:inline-block;font-size:.74em;font-weight:600;padding:4px 10px;border-radius:999px;background:#f1f5f9;color:#475569;margin-left:6px}
.gdlo-view-badge--unlisted{background:#fef9e7;color:#d97706}
.gdlo-view-badge--private{background:#fee2e2;color:#dc2626}
.gdlo-view-meta{display:flex;gap:16px;font-size:.85em;color:#64748b;flex-wrap:wrap}
.gdlo-view-author,.gdlo-view-views{display:inline-flex;align-items:center;gap:6px}
.gdlo-view-2col{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:start}
@media(max-width:900px){.gdlo-view-2col{grid-template-columns:1fr}}
.gdlo-view-main{min-width:0}
.gdlo-view-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;min-width:0}
.gdlo-view-card{display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(15,23,42,.06);transition:transform .15s,box-shadow .15s}
.gdlo-view-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(15,23,42,.1)}
.gdlo-view-item-thumb{width:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:var(--gr-surface,#f6f7f9);border-bottom:1px solid var(--gr-border,#e3e6ea);overflow:hidden}
.gdlo-view-item-img{max-width:88%;max-height:88%;width:auto;height:auto;object-fit:contain}
.gdlo-view-item-img-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#cbd5e1;font-size:2.4em}
.gdlo-view-card-body{flex:1;padding:12px 14px 8px}
.gdlo-view-card-slot{display:inline-block;font-size:.65em;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:700;background:#f1f5f9;padding:2px 7px;border-radius:4px;margin-bottom:6px}
.gdlo-view-card-title{font-weight:600;color:#0f172a;font-size:.88em;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}
.gdlo-view-card-brand{font-size:.78em;color:#64748b;margin-bottom:2px}
.gdlo-view-card-label{font-size:.78em;color:#475569;margin-bottom:2px}
.gdlo-view-card-notes{font-size:.76em;color:#475569;font-style:italic}
.gdlo-view-card-footer{padding:8px 14px 12px;border-top:1px solid #f1f5f9;margin-top:auto}
.gdlo-view-card-price{font-weight:700;color:#16a34a;font-size:.95em;display:block}
.gdlo-view-card-noprice{color:#94a3b8;font-size:.82em}
.gdlo-view-card-dealers{font-size:.72em;color:#64748b}
.gdlo-view-sidebar{position:sticky;top:80px}
.gdlo-view-summary{background:#fff;border-radius:14px;padding:20px;box-shadow:0 1px 3px rgba(15,23,42,.08);border:1px solid #f1f5f9}
.gdlo-view-summary-title{font-size:.8em;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:14px}
.gdlo-view-summary-stats{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.gdlo-view-summary-stat{display:flex;justify-content:space-between;align-items:baseline}
.gdlo-view-summary-stat-lbl{font-size:.85em;color:#64748b}
.gdlo-view-summary-stat-val{font-weight:700;color:#0f172a}
.gdlo-view-summary-stat-val.gdlo-total,.gdlo-view-summary-stat--total .gdlo-view-summary-stat-val{font-size:1.6em;color:#16a34a}
.gdlo-view-summary-actions{display:flex;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}
.gdlo-action-row{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.gdlo-action-btn{flex:1 1 180px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border-radius:10px;font-weight:600;font-size:.9em;cursor:pointer;border:1px solid transparent;transition:all .15s;text-decoration:none;line-height:1.2}
.gdlo-action-btn i{font-size:17px}
.gdlo-action-btn--wishlist{background:var(--gr-accent,#1f6feb);color:#fff}
.gdlo-action-btn--wishlist:hover{filter:brightness(.92)}
.gdlo-action-btn--alert{background:#fff;color:var(--gr-accent,#1f6feb);border-color:var(--gr-accent,#1f6feb)}
.gdlo-action-btn--alert:hover{background:var(--gr-surface,#f6f7f9)}
.gdlo-view-summary-extras{margin-top:4px}
.gdlo-view-summary-extras .gdlo-btn{margin-bottom:8px}
.gdlo-view-compliance{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:10px;font-size:.85em;margin:16px 0}
.gdlo-view-compliance p{margin:2px 0}
.gdlo-view-compliance.gdlo-compliance--ok,.gdlo-view-compliance--ok{background:#f0fdf4;color:#16a34a}
.gdlo-view-compliance--warn{background:#fef9e7;color:#d97706}
.gdlo-view-desc{color:#334155;font-size:.95em;line-height:1.55;margin-top:8px}
.gdlo-view-comments-title{font-size:1.1em;font-weight:700;color:#0f172a;margin-bottom:14px}
.gdlo-view-discussion{margin-top:28px;background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(15,23,42,.06);border:1px solid #f1f5f9}
.gdlo-view-discussion-desc{color:#64748b;font-size:.9em;line-height:1.5;margin:0 0 12px}
.gdlo-view-empty{text-align:center;padding:40px;color:#94a3b8}

/* ===== Wizard Stepper ===== */
.gdlo-wiz{width:100%;max-width:1400px;margin:0 auto;padding:24px;box-sizing:border-box;color:#1e293b}
.gdlo-stepper{display:flex;gap:4px;margin-bottom:28px;border-bottom:2px solid #e2e8f0;padding-bottom:0}
.gdlo-step{display:flex;align-items:center;gap:8px;padding:12px 20px;background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;color:#94a3b8;font-size:.92em;font-weight:600;cursor:pointer;transition:all .15s;white-space:nowrap}
.gdlo-step:hover{color:#475569}
.gdlo-step--active{color:#2563eb;border-bottom-color:#2563eb}
.gdlo-step--done{color:#16a34a}
.gdlo-step-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e2e8f0;color:#64748b;font-size:.82em;font-weight:700;flex-shrink:0}
.gdlo-step--active .gdlo-step-num{background:#2563eb;color:#fff}
.gdlo-step--done .gdlo-step-num{background:#16a34a;color:#fff}

/* ===== Wizard Step Layout ===== */
.gdlo-wiz-step{animation:gdloFadeIn .2s ease}
@keyframes gdloFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.gdlo-wiz-heading{font-size:1.4em;font-weight:800;color:#0f172a;margin:0 0 20px}
.gdlo-wiz-body{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
@media(max-width:900px){.gdlo-wiz-body{grid-template-columns:1fr}}
.gdlo-wiz-main{min-width:0}
.gdlo-wiz-side{position:sticky;top:80px}
.gdlo-pick-open .gdlo-wiz-side{display:none}
.gdlo-pick-open .gdlo-wiz-body{grid-template-columns:1fr}

/* ===== Wizard Nav ===== */
.gdlo-wiz-nav{display:flex;align-items:center;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}

/* ===== Build Mode Cards ===== */
.gdlo-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}
@media(max-width:600px){.gdlo-mode-grid{grid-template-columns:1fr}}
.gdlo-mode-card{border:2px solid #e2e8f0;border-radius:14px;padding:24px;cursor:pointer;text-align:center;transition:all .15s;background:#fff}
.gdlo-mode-card:hover{border-color:#94a3b8;box-shadow:0 4px 12px rgba(15,23,42,.08)}
.gdlo-mode-card--active{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.gdlo-mode-locked{opacity:.45;cursor:not-allowed;pointer-events:none}
.gdlo-mode-note{font-size:13px;color:#92400e;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;margin:8px 0}
.gdlo-mode-icon{font-size:2.2em;color:#64748b;margin-bottom:12px;display:block}
.gdlo-mode-card--active .gdlo-mode-icon{color:#2563eb}
.gdlo-mode-name{font-weight:700;font-size:1.1em;color:#0f172a;margin-bottom:6px}
.gdlo-mode-desc{font-size:.85em;color:#64748b;line-height:1.4}

/* ===== Platform Chips ===== */
.gdlo-platform-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.gdlo-platform-chip{padding:10px 18px;border:2px solid #e2e8f0;border-radius:10px;background:#fff;color:#334155;cursor:pointer;font-size:.92em;font-weight:600;transition:all .12s}
.gdlo-platform-chip:hover{border-color:#94a3b8;background:#f8fafc}
.gdlo-platform-chip--active{border-color:#2563eb;background:#eff6ff;color:#2563eb}

/* ===== Slot Card Grid ===== */
.gdlo-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:20px}
.gdlo-card{border:1px solid #e2e8f0;border-radius:12px;padding:16px;cursor:pointer;transition:all .15s;background:#fff;position:relative;min-height:100px;display:flex;flex-direction:column;overflow:hidden}
.gdlo-card:hover{border-color:#2563eb;box-shadow:0 4px 14px rgba(37,99,235,.1)}
.gdlo-card--active{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.gdlo-card--filled{border-color:#16a34a}
.gdlo-card-img{width:100%;height:80px;object-fit:contain;background:#f8fafc;border-radius:8px;margin-bottom:10px;display:block}
.gdlo-card-img-ph{width:100%;height:80px;background:#f8fafc;border-radius:8px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;font-size:1.8em;color:#cbd5e1}
.gdlo-card-body{flex:1}
.gdlo-card-label{font-size:.7em;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700;margin-bottom:4px}
.gdlo-card-title{font-weight:600;font-size:.88em;color:#0f172a;word-break:break-word;line-height:1.3;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gdlo-card-price{font-size:.85em;color:#16a34a;font-weight:700}
.gdlo-card-remove{position:absolute;top:6px;right:8px;border:none;background:rgba(255,255,255,.9);color:#dc2626;font-size:1.3em;cursor:pointer;padding:2px 6px;line-height:1;border-radius:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center}
.gdlo-card-remove:hover{background:#fee2e2}
.gdlo-card-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;gap:4px}
.gdlo-card-empty-icon{font-size:1.6em;color:#cbd5e1;margin-bottom:4px}
.gdlo-card-add{font-size:.78em;color:#2563eb;font-weight:600}
.gdlo-card-req{font-size:.65em;text-transform:uppercase;letter-spacing:.05em;color:#dc2626;font-weight:700;margin-top:2px}

/* ===== Progress Bar ===== */
.gdlo-progress-wrap{width:100%;height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-bottom:8px}
.gdlo-progress-fill{height:100%;background:#2563eb;border-radius:999px;transition:width .3s ease;width:0}
.gdlo-progress-text{font-size:.82em;color:#64748b;text-align:center}

/* ===== Inline Picker ===== */
.gdlo-pick{background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 4px 20px rgba(15,23,42,.1);margin-bottom:20px;overflow:hidden}
.gdlo-pick-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}
.gdlo-pick-title{margin:0;font-size:1.1em;font-weight:700;color:#0f172a}
.gdlo-pick-close{background:none;border:none;font-size:1.8em;line-height:1;color:#64748b;cursor:pointer;padding:0 4px}
.gdlo-pick-close:hover{color:#dc2626}
.gdlo-pick-types{display:flex;gap:8px;flex-wrap:wrap;padding:14px 20px 0}
.gdlo-pick-types:empty{display:none;padding:0}
.gdlo-pick-type-btn{padding:8px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer;font-size:.9em;font-weight:600;transition:all .12s}
.gdlo-pick-type-btn:hover{background:#f1f5f9;border-color:#94a3b8}
.gdlo-pick-type-btn.active{background:#2563eb;border-color:#2563eb;color:#fff}
.gdlo-pick-search{padding:14px 20px 12px}
.gdlo-pick-sort{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 10px}
.gdlo-pick-sort:empty{display:none;padding:0}
.gdlo-pick-sort-btn{padding:6px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569;cursor:pointer;font-size:.82em;font-weight:600;transition:all .12s}
.gdlo-pick-sort-btn:hover{background:#f1f5f9}
.gdlo-pick-sort-btn.active{background:#0f172a;border-color:#0f172a;color:#fff}
.gdlo-pick-results{padding:8px 20px 16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start;max-height:420px;overflow-y:auto}
.gdlo-pick-card{display:flex;flex-direction:row;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;overflow:hidden;padding:10px;min-height:84px;transition:border-color .12s,box-shadow .12s}
.gdlo-pick-card:hover{border-color:#2563eb;box-shadow:0 4px 14px rgba(37,99,235,.12)}
.gdlo-pick-card-img{flex:0 0 auto;width:68px;height:68px;object-fit:contain;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;display:block}
.gdlo-pick-card-ph{flex:0 0 auto;width:68px;height:68px;background:#f1f5f9;border:1px solid #eef2f7;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.8em;color:#cbd5e1}
.gdlo-pick-card-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.gdlo-pick-card-title{font-weight:600;font-size:.85em;line-height:1.3;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gdlo-pick-card-brand{font-size:.78em;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gdlo-pick-card-price{font-weight:700;font-size:.88em;color:#16a34a}
.gdlo-pick-card-noprice{font-size:.74em;color:#94a3b8;background:#f1f5f9;padding:2px 8px;border-radius:999px;align-self:flex-start}
.gdlo-pick-facets{padding:8px 20px 0;display:flex;flex-direction:column;gap:10px;max-height:200px;overflow-y:auto}
.gdlo-pick-facets:empty{display:none;padding:0}
.gdlo-pick-facet-group{border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px}
.gdlo-pick-facet-group>summary{font-weight:600;font-size:.82em;color:#334155;cursor:pointer;list-style:none}
.gdlo-pick-facet-group>summary::-webkit-details-marker{display:none}
.gdlo-pick-facet-cnt{font-weight:400;color:#2563eb}
.gdlo-pick-facet-opts{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px}
.gdlo-pick-facet-opt{display:flex;align-items:center;gap:4px;font-size:.82em;color:#475569;white-space:nowrap;cursor:pointer}
.gdlo-pick-facet-doc{color:#94a3b8;font-style:normal;font-size:.9em}
.gdlo-pick-facet-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 20px 0}
.gdlo-pick-facet-price{display:flex;gap:8px;align-items:center}
.gdlo-pick-facet-price input{width:84px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box;font-size:.85em}
.gdlo-pick-facet-instock{display:flex;align-items:center;gap:6px;font-size:.82em;color:#475569;white-space:nowrap;cursor:pointer}
.gdlo-pick-facet-clear{padding:6px 20px 0;font-size:.8em;color:#2563eb;cursor:pointer;background:none;border:none;text-align:left}
.gdlo-pick-facet-clear:hover{text-decoration:underline}
.gdlo-pick-empty{padding:30px 20px;text-align:center;color:#64748b}

/* ===== Extras ===== */
.gdlo-extra-add{display:flex;gap:8px;align-items:center;margin-bottom:20px}
.gdlo-extra-add .gdlo-input--sm{flex:1;max-width:260px;padding:8px 12px}

/* ===== Review List ===== */
.gdlo-review-list{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.gdlo-review-item{display:flex;gap:14px;align-items:center;background:#fff;border-radius:12px;padding:14px;box-shadow:0 1px 3px rgba(15,23,42,.07);border:1px solid #f1f5f9}
.gdlo-review-item-img{width:56px;height:56px;flex-shrink:0;object-fit:contain;background:#f8fafc;border-radius:8px;border:1px solid #eef2f7}
.gdlo-review-item-ph{width:56px;height:56px;flex-shrink:0;background:#f1f5f9;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.4em;color:#cbd5e1}
.gdlo-review-item-info{flex:1;min-width:0}
.gdlo-review-item-label{font-size:.7em;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700;margin-bottom:3px}
.gdlo-review-item-title{font-weight:600;color:#0f172a;font-size:.92em;line-height:1.3}
.gdlo-review-item-price{text-align:right;flex-shrink:0;font-weight:700;color:#16a34a;font-size:.95em}
.gdlo-review-item-noprice{text-align:right;flex-shrink:0;color:#94a3b8;font-size:.82em}
.gdlo-review-empty{text-align:center;padding:40px;color:#94a3b8;font-size:.95em}

/* ===== Common Panels (used in wizard side) ===== */
.gdlo-field{margin-bottom:16px}
.gdlo-input--title{font-size:1.25em;font-weight:600}
.gdlo-input--sm{flex:1;padding:6px 10px;border-radius:4px}
.gdlo-meta-row{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.gdlo-select{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;flex:1;min-width:120px;background:#fff;color:#1e293b}
.gdlo-select:focus{outline:none;border-color:#2563eb}
.gdlo-section-label{font-weight:700;font-size:.85em;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:10px}
.gdlo-panel{border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:hidden;margin-bottom:16px}
.gdlo-panel-head{padding:14px 16px;border-bottom:1px solid #e2e8f0;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.04em;font-size:.85em;background:#f8fafc}
.gdlo-panel-body{padding:12px 16px}
.gdlo-summary-body{padding:16px;text-align:center}
.gdlo-total-cost{font-size:2em;font-weight:700;color:#16a34a}
.gdlo-total-items{font-size:.85em;color:#64748b;margin-top:4px}
.gdlo-breakdown{border-top:1px solid #e2e8f0;padding:12px 16px;font-size:.85em}
.gdlo-breakdown-row{display:flex;justify-content:space-between;padding:3px 0;border-bottom:1px solid #f1f5f9;color:#334155}
.gdlo-breakdown-name{word-break:break-word}
.gdlo-breakdown-price{white-space:nowrap;font-weight:600;color:#0f172a}
.gdlo-actions{display:flex;gap:10px;margin-top:16px}
.gdlo-save-btn{flex:1}
.gdlo-notes-input{width:100%;padding:6px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:.88em;box-sizing:border-box}

/* ===== Suggestions ===== */
.gdlo-suggest-panel{margin-top:28px;background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(15,23,42,.06);border:1px solid #f1f5f9}
.gdlo-suggest-panel-title{font-size:1.1em;font-weight:700;color:#0f172a;margin:0 0 14px;display:flex;align-items:center;gap:8px}
.gdlo-suggest-panel-title i{color:#f59e0b}
.gdlo-suggestion-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px;margin-bottom:12px}
.gdlo-suggestion-from{font-size:.85em;color:#64748b;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.gdlo-suggestion-swap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.gdlo-suggestion-part{display:flex;align-items:center;gap:8px;flex:1;min-width:120px}
.gdlo-suggestion-img{width:48px;height:48px;object-fit:contain;border-radius:6px;border:1px solid #e2e8f0;background:#fff;flex-shrink:0}
.gdlo-suggestion-img-ph{width:48px;height:48px;border-radius:6px;border:1px solid #e2e8f0;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-size:1.2em;flex-shrink:0}
.gdlo-suggestion-part-title{font-size:.88em;font-weight:600;color:#0f172a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gdlo-suggestion-price{font-size:.85em;font-weight:700;color:#16a34a;white-space:nowrap}
.gdlo-suggestion-arrow{color:#94a3b8;font-size:1.1em;flex-shrink:0}
.gdlo-suggestion-msg{font-size:.85em;color:#475569;font-style:italic;margin-bottom:10px;line-height:1.4}
.gdlo-suggestion-actions{display:flex;gap:8px;flex-wrap:wrap}
.gdlo-suggest-form{display:flex;flex-direction:column;gap:14px}
.gdlo-suggest-field{display:flex;flex-direction:column;gap:4px}
.gdlo-suggest-label{font-size:.82em;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.04em}
.gdlo-suggest-results{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:8px;max-height:280px;overflow-y:auto;box-shadow:0 4px 14px rgba(15,23,42,.1);z-index:10}
.gdlo-suggest-result-item{display:flex;align-items:center;gap:10px;padding:8px 12px;cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background .1s}
.gdlo-suggest-result-item:hover{background:#f8fafc}
.gdlo-suggest-result-item:last-child{border-bottom:none}
.gdlo-suggest-result-img{width:40px;height:40px;object-fit:contain;border-radius:4px;border:1px solid #e2e8f0;flex-shrink:0}
.gdlo-suggest-result-img-ph{width:40px;height:40px;border-radius:4px;border:1px solid #e2e8f0;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#cbd5e1;flex-shrink:0}
.gdlo-suggest-result-info{flex:1;min-width:0}
.gdlo-suggest-result-title{font-size:.85em;font-weight:600;color:#0f172a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.gdlo-suggest-result-meta{font-size:.78em;color:#64748b}
.gdlo-suggest-selected{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-top:4px}
.gdlo-suggest-sel-img{width:40px;height:40px;object-fit:contain;border-radius:4px;border:1px solid #e2e8f0;flex-shrink:0}
.gdlo-suggest-sel-img-ph{width:40px;height:40px;border-radius:4px;border:1px solid #e2e8f0;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#cbd5e1;flex-shrink:0}
.gdlo-suggest-sel-clear{background:none;border:none;font-size:1.3em;color:#dc2626;cursor:pointer;margin-left:auto;padding:2px 6px}
.gdlo-suggest-status{padding:8px 12px;border-radius:6px;font-size:.88em;font-weight:600;margin-top:4px}
.gdlo-suggest-status--ok{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}
.gdlo-suggest-status--error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}

/* ===== Responsive ===== */
@media(max-width:640px){
  .gdlo-stepper{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .gdlo-pick-results{grid-template-columns:1fr;gap:10px}
  .gdlo-card-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .gdlo-mode-grid{grid-template-columns:1fr}
  .gdlo-view-item-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .gdlo-action-row{flex-direction:column}
  .gdlo-action-btn{flex:1 1 auto}
  .gdlo-suggestion-swap{flex-direction:column;align-items:flex-start}
  .gdlo-suggestion-arrow{transform:rotate(90deg)}
}
