.sgm-marketplace,.sgm-panel,.sgm-comparison,.sgm-portal-head,.sgm-stat-grid{box-sizing:border-box}
.sgm-filter{background:var(--sg-paper,#fff);border:1px solid rgba(38,49,43,.12);border-radius:19px;padding:20px;display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;margin:14px 0 25px;box-shadow:0 9px 30px rgba(34,37,32,.045)}
.sgm-filter label,.sgm-quote-form label{display:flex;flex-direction:column;gap:7px;color:#354940;font-weight:600;font-size:13px}
.sgm-filter input,.sgm-filter select,.sgm-quote-form input,.sgm-quote-form select,.sgm-quote-form textarea{background:#fff;border:1px solid #cdd7d1;border-radius:9px;padding:10px 11px;color:#26362f;font-family:inherit;min-width:0;width:100%;box-sizing:border-box}
.sgm-filter .sg-btn{align-self:end;justify-content:center;min-height:43px}
.sgm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sgm-card{background:#fff;border:1px solid rgba(38,49,43,.1);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px rgba(25,35,30,.045)}
.sgm-card-image{position:relative;display:block;aspect-ratio:1.53;overflow:hidden;background:#e6e8da}
.sgm-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.sgm-card-image:hover img{transform:scale(1.035)}
.sgm-demo-label{position:absolute;top:12px;inset-inline-start:12px;background:#fff7e6;color:#7a5a28;border-radius:99px;font-size:12px;padding:5px 10px;font-weight:600}
.sgm-card-body{padding:19px;display:flex;flex:1;flex-direction:column;gap:8px}
.sgm-card-body h3{font-size:20px;line-height:1.4;margin:0}
.sgm-card-body h3 a{color:inherit;text-decoration:none}
.sgm-card-body p{margin:0 0 2px}
.sgm-card-body small{display:block;color:#6d7973;font-weight:400}
.sgm-card-actions{display:flex;justify-content:space-between;gap:9px;margin-top:auto;padding-top:8px;align-items:center}
.sgm-card-actions a{color:#286f59;font-weight:600;text-decoration:none}
.sgm-muted{color:#64736a;font-size:13px}
.sgm-compare-check{font-size:13px;display:flex;gap:7px;align-items:center;cursor:pointer}
.sgm-compare-check input{accent-color:#207455;width:16px;height:16px}
.sgm-compare-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 2px;font-size:14px}
.sgm-compare-bar .sg-btn{min-height:40px}
.sgm-empty{background:#fff7e7;border:1px solid #e8d8b8;border-radius:15px;padding:24px;line-height:1.8}
.sgm-pagination{margin:20px 0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.sgm-pagination a{border-radius:9px;padding:5px 10px;border:1px solid #cad5ce}
.sgm-pagination a[aria-current="page"]{background:#245f4c;color:#fff}
.sgm-comparison,.sgm-scroll-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sgm-comparison table,.sgm-scroll-table table{border-collapse:collapse;width:100%;min-width:600px;background:white;border:1px solid #e2e8df}
.sgm-comparison th,.sgm-comparison td,.sgm-scroll-table th,.sgm-scroll-table td{vertical-align:top;border-bottom:1px solid #e2e8df;padding:15px 13px;text-align:start;min-width:140px}
.sgm-comparison thead th,.sgm-scroll-table thead th{background:#edf3ef}
.sgm-comparison tbody th{background:#f8faf8;min-width:145px}
.sgm-comparison small{display:block;margin-top:6px;color:#957238}
.sgm-portal-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0 24px}
.sgm-portal-head h2{margin:6px 0}
.sgm-portal-head p{margin:0;color:#617166}
.sgm-kicker{font-size:11px;letter-spacing:.17em;color:#35795f;font-weight:700}
.sgm-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 24px}
.sgm-stat-grid>div{background:#fff;border:1px solid #e3e9e4;border-radius:16px;padding:19px;display:flex;flex-direction:column;gap:4px}
.sgm-stat-grid b{font-size:27px;font-weight:700;color:#255c48}
.sgm-stat-grid span{font-size:12px;color:#69786e}
.sgm-panel{background:#fff;border:1px solid #e3e9e4;border-radius:17px;padding:22px;margin-bottom:18px;box-shadow:0 4px 25px rgba(30,40,30,.025)}
.sgm-panel h3{margin:0 0 15px;font-size:21px}
.sgm-lead{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,1.4fr);gap:16px;border-top:1px solid #e1e7e2;padding:20px 0}
.sgm-lead p{font-size:14px;margin:7px 0}
.sgm-quote-form{display:grid;grid-template-columns:repeat(3,minmax(80px,1fr));gap:10px}
.sgm-quote-form label:has(textarea){grid-column:1/-1}
.sgm-quote-form .sg-btn{grid-column:1/-1;justify-self:start}
.sgm-trip-list{padding-inline-start:19px}
.sgm-trip-list li{margin:8px 0}
.sgm-trip-list small{padding:2px 8px;border-radius:99px;background:#eef1ec}
.sgm-book-button{display:block;text-align:center;margin:16px 0 7px}
.sgm-trip-extra{margin-top:14px;padding-top:12px;border-top:1px solid #eee}
.sgm-trip-extra dl{display:grid;grid-template-columns:145px 1fr;gap:8px;font-size:14px}
.sgm-trip-extra dt{color:#6a746e}.sgm-trip-extra dd{margin:0;font-weight:600}
.sgm-home-link{display:inline-flex;align-items:center;gap:8px;margin:10px 0}
@media(max-width:980px){.sgm-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.sgm-filter .sg-btn{grid-column:1/-1}.sgm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.sgm-filter,.sgm-cards,.sgm-stat-grid,.sgm-lead{grid-template-columns:1fr}.sgm-portal-head{flex-direction:column;align-items:stretch}.sgm-quote-form{grid-template-columns:repeat(2,minmax(0,1fr))}.sgm-panel{padding:16px}.sgm-compare-bar{flex-direction:column;align-items:stretch}.sgm-compare-bar .sg-btn{width:100%}}
.sgm-edit-trip{margin:12px 0 0;padding:14px;background:#f5f7f3;border-radius:10px}
.sgm-edit-trip summary{font-weight:650;color:#28634d;cursor:pointer}
.sgm-trip-edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px 0}
.sgm-trip-edit-form .sg-field:has(textarea){grid-column:1/-1}
.sgm-trip-edit-form .sg-btn{grid-column:1/-1;justify-self:start}
@media(max-width:660px){.sgm-trip-edit-form{grid-template-columns:1fr}}

.sgm-filter-note{font-size:12px;color:#64736a;margin:-14px 0 18px}
.sgm-review-waiting{display:inline-block;border:1px solid #d9c59c;background:#fff8e9;color:#816024;padding:5px 9px;border-radius:8px}
