/* StayWhere KTO v5.0.1 — 숙소 목록 디자인 복구 */

.swkto-local,.swkto-local *{box-sizing:border-box}
.swkto-local{--sw-accent:#082b5c;--sw-ink:#142039;--sw-muted:#697386;--sw-border:#e5e2dc;--sw-bg:#faf9f6;font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Segoe UI",sans-serif;letter-spacing:-.025em;color:var(--sw-ink)}
.swkto-local a{text-decoration:none;color:inherit}
.swkto-local img{display:block;max-width:100%}
.swkto-local button,.swkto-local input{font:inherit}
.swkto-local-home{max-width:1180px;margin:0 auto;padding:24px}
.swkto-home-hero{padding:48px 42px;border-radius:28px;background:linear-gradient(135deg,#0d2c61,#0b634e);color:#fff;overflow:hidden}
.swkto-home-hero>span,.swkto-section-head>div>span{font-size:11px;font-weight:900;letter-spacing:.14em;color:#a8d7ca}
.swkto-home-hero h1{margin:10px 0;font-size:clamp(34px,6vw,58px);letter-spacing:-.06em}
.swkto-home-hero p{margin:0;color:rgba(255,255,255,.76)}
.swkto-home-hero form{display:flex;gap:8px;max-width:650px;margin-top:28px;padding:7px;border-radius:16px;background:#fff}
.swkto-home-hero input{flex:1;min-width:0;height:48px;padding:0 13px;border:0;outline:0}
.swkto-home-hero button{padding:0 24px;border:0;border-radius:12px;background:var(--sw-accent);color:#fff;font-weight:900}
.swkto-region-section,.swkto-stay-section{padding:38px 0 0}
.swkto-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}
.swkto-section-head h2{margin:5px 0 0;font-size:25px}.swkto-section-head p{margin:5px 0 0;color:var(--sw-muted);font-size:12px}
.swkto-region-chips{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none}.swkto-region-chips::-webkit-scrollbar{display:none}
.swkto-region-chips a{flex:0 0 auto;min-width:112px;padding:14px 16px;border:1px solid var(--sw-border);border-radius:15px;background:#fff}
.swkto-region-chips a.is-active{border-color:var(--sw-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--sw-accent) 18%,transparent)}
.swkto-region-chips strong{display:block}.swkto-region-chips span{display:block;margin-top:3px;color:var(--sw-muted);font-size:11px}
.swkto-stay-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.swkto-stay-card{overflow:hidden;border:1px solid var(--sw-border);border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(22,31,45,.06)}
.swkto-stay-image{position:relative;display:block;aspect-ratio:1.45/1;background:#e9edf1;overflow:hidden}.swkto-stay-image img{width:100%;height:100%;object-fit:cover;transition:.3s}.swkto-stay-card:hover img{transform:scale(1.04)}
.swkto-image-placeholder{width:100%;height:100%;display:grid;place-items:center;font-weight:900;letter-spacing:.15em;color:#9ca5b2}
.swkto-location-badge{position:absolute;left:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(8,24,49,.7);color:#fff;font-size:10px;font-weight:800}
.swkto-stay-card-body{padding:17px}.swkto-stay-card-body h3{margin:0;font-size:18px}.swkto-stay-card-body p{height:42px;margin:10px 0;color:var(--sw-muted);font-size:12px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.swkto-card-tags{display:flex;gap:6px;overflow:hidden}.swkto-card-tags span{padding:6px 8px;border-radius:8px;background:#f2f4f6;color:#586273;font-size:10px;white-space:nowrap}
.swkto-card-link{display:block;margin-top:14px;padding-top:12px;border-top:1px solid #eef0f2;color:var(--sw-accent)!important;font-size:12px;font-weight:900}
.swkto-empty{grid-column:1/-1;padding:42px;border:1px dashed #cfd4da;border-radius:18px;text-align:center;background:#fff}.swkto-empty p{color:var(--sw-muted)}
.swkto-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;margin:26px 0 0;padding:0}.swkto-pagination a,.swkto-pagination span{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--sw-border);border-radius:10px;background:#fff}.swkto-pagination .current{background:var(--sw-accent);color:#fff}

/* StayWhere KTO v5 상세페이지 시안형 디자인 */

:root{--swx-navy:#072a5d;--swx-ink:#17233a;--swx-muted:#687286;--swx-line:#e5e1d9;--swx-bg:#faf9f6;--swx-card:#fff}
html{scroll-behavior:smooth}
body.swkto-local-body{margin:0;background:var(--swx-bg);font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Segoe UI",sans-serif}
.swkto-local,.swkto-local *{box-sizing:border-box}
.swkto-local{--sw-accent:#082b5c;color:var(--swx-ink);font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Segoe UI",sans-serif;letter-spacing:-.025em}
.swkto-local a{text-decoration:none;color:inherit}
.swkto-local button,.swkto-local input{font:inherit}
.swkto-local img{display:block;max-width:100%}
.swkto-local svg{width:1.1em;height:1.1em;vertical-align:-.18em}
.swx-topbar{height:64px;padding:0 34px;display:grid;grid-template-columns:190px minmax(260px,380px) 1fr auto;gap:24px;align-items:center;background:#fff;border-bottom:1px solid #ece9e3;position:relative;z-index:20}
.swx-logo{font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:800;color:var(--sw-accent)!important}
.swx-search{height:40px;padding:0 14px;display:flex;gap:9px;align-items:center;border:1px solid #d8dce2;border-radius:8px;color:#8a919d!important;font-size:12px}
.swx-nav{display:flex;justify-content:center;gap:32px;font-size:12px;font-weight:800}
.swx-top-actions{display:flex;align-items:center;gap:14px}.swx-top-actions a,.swx-top-actions button{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:#344158;font-size:11px;font-weight:800;cursor:pointer}.swx-top-actions button:last-child{width:34px;height:34px;justify-content:center;border:1px solid #d9dde3;border-radius:50%}.swx-mobile-menu{display:none}
.swx-hero{height:345px;position:relative;background-size:cover;background-position:center;display:flex;align-items:flex-end}.swx-hero.is-empty{background:linear-gradient(135deg,#173862,#67877f)}
.swx-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,13,30,.76),rgba(2,17,38,.33) 58%,rgba(0,0,0,.1) 78%,rgba(0,0,0,.2))}
.swx-breadcrumbs{position:absolute;left:34px;top:24px;z-index:2;display:flex;gap:8px;align-items:center;color:rgba(255,255,255,.78);font-size:10px}.swx-breadcrumbs a{color:#fff}
.swx-hero-copy{position:relative;z-index:2;padding:0 34px 34px;color:#fff;max-width:1000px}.swx-hero-copy h1{margin:0 0 10px;font-size:48px;line-height:1.03;letter-spacing:-.055em}.swx-source-line{margin-bottom:11px}.swx-source-line strong{font-size:12px;color:#ffd36b}.swx-hero-copy>p{display:flex;align-items:center;gap:6px;margin:0 0 15px;font-size:12px}
.swx-hero-tags{display:flex;gap:8px;flex-wrap:wrap}.swx-hero-tags span{padding:7px 10px;border:1px solid rgba(255,255,255,.5);border-radius:6px;background:rgba(1,16,36,.28);font-size:10px;font-weight:800}
.swx-hero-buttons{position:absolute;right:34px;bottom:28px;z-index:2;display:flex;gap:9px}.swx-hero-buttons button{height:38px;padding:0 15px;display:flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.55);border-radius:20px;background:rgba(4,19,40,.25);color:#fff;font-size:10px;font-weight:800;backdrop-filter:blur(8px);cursor:pointer}
.swx-mobile-photo-count,.swx-mobile-dots,.swx-mobile-summary,.swx-mobile-facts{display:none}
.swx-gallery{max-width:1440px;margin:0 auto;padding:18px 34px 0;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.swx-gallery button{height:115px;padding:0;border:0;border-radius:8px;overflow:hidden;position:relative;background:#e8ebee;cursor:pointer}.swx-gallery img{width:100%;height:100%;object-fit:cover}.swx-gallery button span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(4,16,34,.5);color:#fff;font-size:17px;font-weight:900}
.swx-layout{max-width:1440px;margin:0 auto;padding:12px 34px 90px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.swx-main{min-width:0;display:grid;grid-template-columns:.88fr 1.12fr;gap:10px;align-items:start}
.swx-card{padding:18px;border:1px solid var(--swx-line);border-radius:8px;background:#fff;align-self:start}.swx-card h2{margin:0 0 13px;font-size:16px;line-height:1.2}.swx-richtext{color:#505a6b;font-size:11px;line-height:1.72}.swx-richtext p{margin-top:0}
.swx-info-table>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid #efede8;font-size:10px;line-height:1.45}.swx-info-table>div:last-child{border-bottom:0}.swx-info-table strong{color:#3a4659}.swx-info-table span{color:#5e6674;word-break:break-word}.swx-info-table a{color:var(--sw-accent)!important;text-decoration:underline}
.swx-time-boxes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swx-time-boxes>div{padding:14px;border:1px solid #e5e0d8;border-radius:9px;display:grid;grid-template-columns:28px 1fr;column-gap:7px;align-items:center}.swx-time-boxes svg{grid-row:1/3;width:23px;height:23px;color:#9a7e4d}.swx-time-boxes span{font-size:9px;color:#737b89}.swx-time-boxes strong{font-size:15px}
.swx-card-heading{display:flex;align-items:center;justify-content:space-between}.swx-card-heading span{color:#737b89;font-size:9px}
.swx-primary-room{display:grid;grid-template-columns:115px minmax(0,1fr) auto;gap:12px;align-items:center}.swx-primary-room-image{width:115px;height:82px;border-radius:7px;overflow:hidden;background:#edf0f3}.swx-primary-room-image img{width:100%;height:100%;object-fit:cover}.swx-primary-room-image span{height:100%;display:grid;place-items:center;color:#a1a9b3;font-weight:900}.swx-primary-room-copy h3{margin:0 0 6px;font-size:12px}.swx-primary-room-copy p{margin:7px 0 0;color:#697283;font-size:9px;line-height:1.5}.swx-room-badges{display:flex;gap:6px;flex-wrap:wrap}.swx-room-badges span{padding:4px 7px;border-radius:999px;background:#f5f3ef;color:#687080;font-size:8px}.swx-primary-room>a{padding:10px 13px;border-radius:6px;background:var(--sw-accent);color:#fff!important;font-size:9px;font-weight:900;white-space:nowrap}.swx-more-rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.swx-more-rooms article{display:flex;gap:7px;align-items:center;padding:7px;border:1px solid #ece9e3;border-radius:7px}.swx-more-rooms img{width:42px;height:36px;object-fit:cover;border-radius:5px}.swx-more-rooms strong{font-size:8px;line-height:1.3}
.swx-facilities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.swx-facilities>div{min-width:0;text-align:center;padding:8px 3px}.swx-facilities svg{width:27px;height:27px;color:#6f6048}.swx-facilities strong{display:block;margin-top:5px;font-size:8px}.swx-facilities span{display:block;margin-top:3px;color:#808692;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.swx-location-wrap{display:grid;grid-template-columns:46% 1fr;gap:14px;align-items:center}.swx-location-wrap iframe,.swx-map-placeholder{width:100%;height:125px;border:0;border-radius:8px;background:linear-gradient(135deg,#dcebf0,#f0e3d5)}.swx-map-placeholder{display:grid;place-items:center;color:var(--sw-accent)}.swx-map-placeholder svg{width:34px;height:34px}.swx-location-wrap strong{font-size:11px}.swx-location-wrap p{margin:7px 0;color:#687181;font-size:9px;line-height:1.45}.swx-location-wrap a{display:inline-flex;padding:7px 11px;border:1px solid #bbc3ce;border-radius:6px;font-size:8px;font-weight:800}
.swx-related-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.swx-related-list a{display:grid;grid-template-columns:38px 18px minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}.swx-related-list img{width:38px;height:28px;object-fit:cover;border-radius:4px}.swx-rank{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#f2eee6;color:#977846;font-size:8px;font-weight:900}.swx-related-list strong{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swx-related-list small{font-size:7px;color:#7d8490}
.swx-recommend-card,.swx-faq-card,.swx-source-note{grid-column:1/-1}.swx-recommend-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.swx-recommend-grid>div{display:grid;grid-template-columns:38px 1fr;column-gap:9px;align-items:start}.swx-recommend-grid svg{grid-row:1/3;width:31px;height:31px;color:#33445f}.swx-recommend-grid strong{font-size:9px}.swx-recommend-grid p{margin:4px 0 0;color:#737b88;font-size:7.5px;line-height:1.45}
.swx-faq{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ebe8e2}.swx-faq details{border-right:1px solid #ebe8e2;border-bottom:1px solid #ebe8e2}.swx-faq details:last-child{border-right:0}.swx-faq summary{position:relative;padding:13px 22px 13px 0;cursor:pointer;list-style:none;font-size:9px;font-weight:800;outline:0}.swx-faq summary::-webkit-details-marker{display:none}.swx-faq summary:after{content:'⌄';position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:12px}.swx-faq details[open] summary:after{transform:translateY(-50%) rotate(180deg)}.swx-faq p{margin:0;padding:0 14px 12px 0;color:#6f7785;font-size:8px;line-height:1.55}
.swx-source-note{text-align:center;color:#8a9099;font-size:8px}
.swx-sidebar{position:sticky;top:15px;display:grid;gap:10px}.swx-sidebar>section{padding:18px;border:1px solid var(--swx-line);border-radius:8px;background:#fff}.swx-sidebar h2,.swx-sidebar h3{margin:0 0 12px;font-size:14px}.swx-booking-table{border:1px solid #e8e4dd;border-radius:7px;overflow:hidden}.swx-booking-table>div{display:grid;grid-template-columns:80px 1fr;padding:10px;border-bottom:1px solid #ece8e1;font-size:9px}.swx-booking-table>div:last-child{border-bottom:0}.swx-booking-table span{color:#767d89}.swx-booking-table strong{text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swx-primary-button,.swx-secondary-button{height:44px;margin-top:10px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:10px;font-weight:900}.swx-primary-button{background:var(--sw-accent);color:#fff!important}.swx-secondary-button{border:1px solid #aeb6c2;color:#28354d!important}.swx-side-room>div{display:grid;grid-template-columns:82px 1fr;gap:10px;align-items:center}.swx-side-room img{width:82px;height:66px;object-fit:cover;border-radius:7px}.swx-side-room strong{font-size:10px}.swx-side-room p{margin:5px 0 0;color:#777e8b;font-size:8px;line-height:1.45}.swx-rate-box>div{display:flex;justify-content:space-between;font-size:9px}.swx-rate-box p{margin:8px 0 0;color:#7a818d;font-size:8px;line-height:1.5}.swx-safe-box{display:flex!important;gap:11px;align-items:flex-start}.swx-safe-box>svg{width:30px;height:30px;color:var(--sw-accent);flex:0 0 auto}.swx-safe-box strong{font-size:10px}.swx-safe-box p{margin:4px 0 0;color:#777e8b;font-size:8px;line-height:1.5}
.swx-mobile-sticky{display:none}
.swkto-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.93);align-items:center;justify-content:center;padding:30px}.swkto-lightbox:not([hidden]){display:flex}.swkto-lightbox img{max-width:94vw;max-height:90vh;object-fit:contain}.swkto-lightbox button{position:absolute;right:24px;top:15px;border:0;background:transparent;color:#fff;font-size:42px;cursor:pointer}

@media(max-width:1100px){
 .swx-topbar{grid-template-columns:auto 1fr auto}.swx-search{display:none}.swx-nav{justify-content:flex-start;gap:18px}.swx-layout{grid-template-columns:1fr;padding-left:18px;padding-right:18px}.swx-sidebar{position:static;grid-row:1}.swx-main{grid-template-columns:1fr 1fr}.swx-gallery{padding-left:18px;padding-right:18px}
}

@media(max-width:680px){
 body.swkto-local-body{background:#f5f4f1}
 .swkto-exact{padding-bottom:76px}
 .swx-topbar{height:56px;padding:0 15px;display:grid;grid-template-columns:32px 1fr auto;gap:10px;border-bottom:0}.swx-mobile-menu{display:block;color:#26354e}.swx-mobile-menu svg{width:24px;height:24px}.swx-logo{font-size:22px}.swx-nav,.swx-search,.swx-top-actions a,.swx-top-actions button span{display:none}.swx-top-actions{gap:5px}.swx-top-actions button{display:grid!important;place-items:center;width:34px!important;height:34px!important;padding:0;border:0!important}.swx-top-actions button:first-of-type{display:none!important}
 .swx-hero{height:245px;align-items:flex-start;background-position:center}.swx-hero-shade{background:linear-gradient(180deg,rgba(3,18,40,.36),rgba(0,0,0,.03) 65%,rgba(0,0,0,.16))}.swx-breadcrumbs,.swx-hero-copy,.swx-hero-buttons{display:none}.swx-mobile-photo-count{display:block;position:absolute;right:14px;top:14px;z-index:2;padding:6px 9px;border-radius:999px;background:rgba(7,21,43,.62);color:#fff;font-size:10px;font-weight:800}.swx-mobile-dots{display:flex;position:absolute;left:50%;bottom:12px;z-index:2;transform:translateX(-50%);gap:5px}.swx-mobile-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55)}.swx-mobile-dots button.is-active{background:#fff}
 .swx-mobile-summary{display:block;padding:17px 15px 13px;background:#fff}.swx-mobile-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.swx-mobile-title-row .swx-mobile-page-title{margin:0;font-size:24px;line-height:1.15}.swx-mobile-title-row>div{display:flex;gap:7px}.swx-mobile-title-row button{height:36px;padding:0 11px;display:flex;align-items:center;gap:4px;border:1px solid #d9dde3;border-radius:18px;background:#fff;color:#3e4a60;font-size:9px;font-weight:800}.swx-mobile-source{display:block;margin-top:9px;color:#c68b14;font-size:10px}.swx-mobile-summary>p{display:flex;align-items:center;gap:5px;margin:7px 0 0;color:#5f697a;font-size:10px}
 .swx-gallery{display:none}
 .swx-mobile-facts{display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));gap:0;overflow-x:auto;margin:0;padding:12px 10px;background:#fff;border-top:1px solid #eeeae4;border-bottom:1px solid #eeeae4;scrollbar-width:none}.swx-mobile-facts::-webkit-scrollbar{display:none}.swx-mobile-facts>div{min-width:72px;text-align:center;padding:2px 6px;border-right:1px solid #efede9}.swx-mobile-facts>div:last-child{border-right:0}.swx-mobile-facts svg{width:20px;height:20px;color:#4e5c73}.swx-mobile-facts span{display:block;margin-top:5px;color:#747c8a;font-size:8px}.swx-mobile-facts strong{display:block;margin-top:3px;font-size:10px}
 .swx-layout{display:flex;flex-direction:column;padding:8px 0 72px;gap:8px;background:#f5f4f1}.swx-main{display:flex;flex-direction:column;gap:8px}.swx-sidebar{display:none}.swx-card{border-left:0;border-right:0;border-radius:0;padding:16px 15px}.swx-card h2{font-size:14px;margin-bottom:12px}
 .swx-overview-card{order:1}.swx-basic-card{order:2}.swx-time-card{display:none}.swx-room-card-block{order:3}.swx-facility-card{order:4}.swx-location-card{order:5}.swx-related-card{order:6}.swx-recommend-card{display:none}.swx-faq-card{order:7}.swx-source-note{order:8}
 .swx-richtext{font-size:10px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.swx-info-table>div{grid-template-columns:92px 1fr;font-size:9px;padding:7px 0}
 .swx-primary-room{grid-template-columns:118px 1fr;gap:10px}.swx-primary-room-image{width:118px;height:88px}.swx-primary-room>a{grid-column:1/-1;text-align:center;padding:11px}.swx-primary-room-copy h3{font-size:11px}.swx-primary-room-copy p{font-size:8px}.swx-room-badges span{font-size:7px}.swx-more-rooms{display:none}
 .swx-facilities{grid-template-columns:repeat(4,1fr);gap:4px}.swx-facilities>div{padding:7px 2px}.swx-facilities svg{width:25px;height:25px}.swx-facilities strong{font-size:8px}.swx-facilities span{font-size:7px}
 .swx-location-wrap{grid-template-columns:46% 1fr;gap:12px}.swx-location-wrap iframe,.swx-map-placeholder{height:112px}.swx-location-wrap strong{font-size:10px}.swx-location-wrap p{font-size:8px}.swx-location-wrap a{font-size:8px}
 .swx-related-list{grid-template-columns:1fr 1fr;gap:7px 10px}.swx-related-list a{grid-template-columns:34px 16px minmax(0,1fr);}.swx-related-list small{display:none}.swx-related-list img{width:34px;height:26px}.swx-related-list strong{font-size:7.5px}
 .swx-faq{display:block;border-top:1px solid #ebe8e2}.swx-faq details{border-right:0}.swx-faq summary{font-size:9px;padding:13px 24px 13px 0}.swx-faq p{font-size:8px;padding-bottom:13px}
 .swx-source-note{font-size:7px;padding:0 14px}
 .swx-mobile-sticky{position:fixed;left:0;right:0;bottom:0;z-index:9998;height:68px;padding:9px 14px calc(9px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff;border-top:1px solid #dedbd5;box-shadow:0 -8px 22px rgba(17,29,46,.1)}.swx-mobile-sticky a{height:45px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:var(--sw-accent);color:#fff!important;font-size:10px;font-weight:900}.swx-mobile-sticky a.is-secondary{background:#fff;color:var(--sw-accent)!important;border:1px solid var(--sw-accent)}
}

/* =========================================================
   StayWhere KTO v5.0.2 — 상세페이지 비율·반응형 보정
   ========================================================= */

html,
body.swkto-local-body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.swkto-local-body {
  margin: 0 !important;
  padding: 0 !important;
}

.swkto-exact {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  overflow-x: clip;
}

/* PC 전체 폭과 사이드바가 화면 밖으로 밀리지 않도록 보정 */
.swx-topbar {
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(150px, 185px) minmax(220px, 330px) minmax(360px, 1fr) auto;
  gap: 18px;
}

.swx-nav {
  min-width: 0;
  gap: clamp(16px, 1.8vw, 28px);
}

.swx-top-actions {
  min-width: max-content;
}

.swx-gallery,
.swx-layout {
  width: 100%;
  max-width: 1480px;
}

.swx-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 320px);
  gap: 18px;
  padding-left: clamp(18px, 2.2vw, 34px);
  padding-right: clamp(18px, 2.2vw, 34px);
}

/* PC 카드 배치를 시안 순서로 고정 */
.swx-main {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "overview basic"
    "time facility"
    "room related"
    "location related"
    "recommend recommend"
    "faq faq"
    "source source";
  gap: 12px;
}

.swx-overview-card { grid-area: overview; }
.swx-basic-card { grid-area: basic; }
.swx-time-card { grid-area: time; }
.swx-room-card-block { grid-area: room; }
.swx-facility-card { grid-area: facility; }
.swx-location-card { grid-area: location; }
.swx-related-card { grid-area: related; }
.swx-recommend-card { grid-area: recommend; }
.swx-faq-card { grid-area: faq; }
.swx-source-note { grid-area: source; }

/* PC 텍스트가 지나치게 작지 않도록 확대 */
.swx-card {
  min-width: 0;
  padding: 21px;
}

.swx-card h2 {
  margin-bottom: 15px;
  font-size: 19px;
}

.swx-richtext {
  font-size: 13px;
  line-height: 1.75;
}

.swx-info-table > div {
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 9px 0;
  font-size: 12px;
}

.swx-time-boxes > div {
  min-height: 82px;
  padding: 16px;
}

.swx-time-boxes svg {
  width: 27px;
  height: 27px;
}

.swx-time-boxes span {
  font-size: 11px;
}

.swx-time-boxes strong {
  font-size: 18px;
}

/* 시설 카드 높이를 줄이고 한 행에 더 많이 표시 */
.swx-facilities {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  align-items: start;
}

.swx-facilities > div {
  min-width: 0;
  min-height: 82px;
  padding: 8px 3px;
}

.swx-facilities svg {
  width: 29px;
  height: 29px;
}

.swx-facilities strong {
  margin-top: 6px;
  font-size: 10px;
}

.swx-facilities span {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
}

/* 객실 카드 확대 */
.swx-primary-room {
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 14px;
}

.swx-primary-room-image {
  width: 132px;
  height: 96px;
}

.swx-primary-room-copy h3 {
  font-size: 14px;
}

.swx-primary-room-copy p {
  font-size: 11px;
}

.swx-room-badges span {
  font-size: 9px;
}

.swx-primary-room > a {
  padding: 12px 15px;
  font-size: 10px;
}

/* 지도와 주변 숙소 가독성 */
.swx-location-wrap iframe,
.swx-map-placeholder {
  height: 155px;
}

.swx-location-wrap strong {
  font-size: 13px;
}

.swx-location-wrap p {
  font-size: 10px;
}

.swx-location-wrap a {
  padding: 8px 13px;
  font-size: 9px;
}

.swx-related-list {
  gap: 12px 16px;
}

.swx-related-list a {
  grid-template-columns: 48px 22px minmax(0, 1fr) auto;
}

.swx-related-list img {
  width: 48px;
  height: 36px;
}

.swx-rank {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.swx-related-list strong {
  font-size: 10px;
}

.swx-related-list small {
  font-size: 8px;
}

/* 추천·FAQ 확대 */
.swx-recommend-grid > div {
  grid-template-columns: 44px 1fr;
  column-gap: 10px;
}

.swx-recommend-grid svg {
  width: 36px;
  height: 36px;
}

.swx-recommend-grid strong {
  font-size: 11px;
}

.swx-recommend-grid p {
  font-size: 9px;
}

.swx-faq summary {
  padding: 15px 25px 15px 0;
  font-size: 11px;
}

.swx-faq p {
  padding-bottom: 14px;
  font-size: 9.5px;
}

/* 오른쪽 예약 영역 */
.swx-sidebar > section {
  padding: 20px;
}

.swx-sidebar h2,
.swx-sidebar h3 {
  font-size: 16px;
}

.swx-booking-table > div {
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 12px;
  font-size: 10px;
}

.swx-primary-button,
.swx-secondary-button {
  height: 48px;
  font-size: 11px;
}

.swx-side-room strong {
  font-size: 11px;
}

.swx-side-room p,
.swx-rate-box p,
.swx-safe-box p {
  font-size: 9px;
}

/* 1100px 이하에서는 사이드바를 위로 올리지 않고 본문 아래로 이동 */
@media (max-width: 1100px) and (min-width: 769px) {
  .swx-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .swx-sidebar {
    position: static;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swx-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* 실제 모바일 앱 크기 */
@media (max-width: 768px) {
  body.swkto-local-body,
  .swkto-exact,
  .swx-topbar,
  .swx-hero,
  .swx-mobile-summary,
  .swx-mobile-facts,
  .swx-layout,
  .swx-main,
  .swx-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .swkto-exact {
    overflow: hidden;
    padding-bottom: 82px;
  }

  .swx-topbar {
    height: 62px;
    padding: 0 16px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .swx-mobile-menu svg {
    width: 26px;
    height: 26px;
  }

  .swx-logo {
    font-size: 25px;
  }

  .swx-top-actions button {
    width: 38px !important;
    height: 38px !important;
  }

  .swx-top-actions svg {
    width: 22px;
    height: 22px;
  }

  .swx-hero {
    height: min(68vw, 290px);
    min-height: 245px;
    background-position: center;
  }

  .swx-mobile-photo-count {
    top: 14px;
    right: 15px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .swx-mobile-dots {
    bottom: 14px;
    gap: 7px;
  }

  .swx-mobile-dots button {
    width: 9px;
    height: 9px;
  }

  .swx-mobile-summary {
    padding: 20px 17px 16px;
  }

  .swx-mobile-title-row {
    align-items: center;
  }

  .swx-mobile-title-row .swx-mobile-page-title {
    flex: 1;
    min-width: 0;
    font-size: 27px;
    line-height: 1.22;
  }

  .swx-mobile-title-row > div {
    flex: 0 0 auto;
  }

  .swx-mobile-title-row button {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
  }

  .swx-mobile-title-row button svg {
    width: 20px;
    height: 20px;
  }

  .swx-mobile-source {
    margin-top: 10px;
    font-size: 12px;
  }

  .swx-mobile-summary > p {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.5;
  }

  .swx-mobile-summary > p svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
  }

  .swx-mobile-facts {
    grid-template-columns: repeat(6, 82px);
    width: 100%;
    padding: 14px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .swx-mobile-facts > div {
    min-width: 82px;
    padding: 2px 7px;
  }

  .swx-mobile-facts svg {
    width: 24px;
    height: 24px;
  }

  .swx-mobile-facts span {
    margin-top: 6px;
    font-size: 10px;
  }

  .swx-mobile-facts strong {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
  }

  .swx-layout {
    padding: 9px 0 76px;
    gap: 9px;
  }

  .swx-main {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
  }

  .swx-card {
    padding: 20px 17px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .swx-card h2 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .swx-richtext {
    font-size: 13px;
    line-height: 1.8;
    -webkit-line-clamp: 6;
  }

  .swx-info-table > div {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .swx-primary-room {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }

  .swx-primary-room-image {
    width: 118px;
    height: 96px;
  }

  .swx-primary-room-copy h3 {
    font-size: 14px;
  }

  .swx-primary-room-copy p {
    font-size: 11px;
    line-height: 1.55;
  }

  .swx-room-badges {
    gap: 5px;
  }

  .swx-room-badges span {
    padding: 5px 7px;
    font-size: 9px;
  }

  .swx-primary-room > a {
    grid-column: 1 / -1;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
  }

  .swx-facilities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 4px;
  }

  .swx-facilities > div {
    min-height: 86px;
    padding: 9px 2px;
  }

  .swx-facilities svg {
    width: 29px;
    height: 29px;
  }

  .swx-facilities strong {
    margin-top: 6px;
    font-size: 10px;
  }

  .swx-facilities span {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.35;
  }

  .swx-location-wrap {
    grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
    gap: 13px;
  }

  .swx-location-wrap iframe,
  .swx-map-placeholder {
    height: 145px;
  }

  .swx-location-wrap strong {
    font-size: 13px;
  }

  .swx-location-wrap p {
    margin: 8px 0;
    font-size: 11px;
    line-height: 1.5;
  }

  .swx-location-wrap a {
    padding: 9px 13px;
    font-size: 10px;
  }

  .swx-related-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .swx-related-list a {
    grid-template-columns: 46px 20px minmax(0, 1fr);
    gap: 7px;
  }

  .swx-related-list img {
    width: 46px;
    height: 35px;
  }

  .swx-rank {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .swx-related-list strong {
    font-size: 10px;
  }

  .swx-faq summary {
    padding: 16px 28px 16px 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .swx-faq p {
    padding: 0 20px 16px 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .swx-source-note {
    padding: 4px 18px 12px;
    font-size: 9px;
    line-height: 1.55;
  }

  .swx-mobile-sticky {
    height: 76px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 9px;
  }

  .swx-mobile-sticky a {
    height: 50px;
    font-size: 13px;
  }
}

/* 매우 작은 기기 */
@media (max-width: 380px) {
  .swx-mobile-title-row .swx-mobile-page-title {
    font-size: 24px;
  }

  .swx-mobile-title-row button {
    width: 38px;
    height: 38px;
  }

  .swx-mobile-facts {
    grid-template-columns: repeat(6, 76px);
  }

  .swx-mobile-facts > div {
    min-width: 76px;
  }

  .swx-info-table > div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .swx-primary-room {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .swx-primary-room-image {
    width: 105px;
    height: 90px;
  }
}

/* =========================================================
   StayWhere KTO v5.0.3 — 카드 정렬·지도·주변 숙소 재구성
   ========================================================= */

/* PC는 상단 카드만 2열, 이후 주요 콘텐츠는 전체 폭 */
.swx-main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "overview basic"
    "time facility"
    "room room"
    "location location"
    "related related"
    "recommend recommend"
    "faq faq"
    "source source";
  gap: 14px;
  align-items: stretch;
}

.swx-overview-card,
.swx-basic-card,
.swx-time-card,
.swx-facility-card {
  height: 100%;
}

.swx-room-card-block,
.swx-location-card,
.swx-related-card,
.swx-recommend-card,
.swx-faq-card {
  width: 100%;
}

/* 카드의 형태와 간격을 통일 */
.swx-card {
  border-radius: 12px;
  padding: 24px;
}

.swx-card h2 {
  margin-bottom: 17px;
  font-size: 20px;
}

.swx-card-heading {
  min-height: 28px;
}

/* 지도 전체 폭 + 설명 아래 배치 */
.swx-location-map {
  width: 100%;
  overflow: hidden;
  border-radius: 11px;
  background: #e8edf1;
}

.swx-location-map iframe,
.swx-location-map .swx-map-placeholder {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: 0;
}

.swx-location-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 17px;
}

.swx-location-copy > div {
  min-width: 0;
}

.swx-location-copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.swx-location-copy p {
  margin: 7px 0 0;
  color: #687181;
  font-size: 12px;
  line-height: 1.55;
}

.swx-location-copy > a {
  flex: 0 0 auto;
  min-width: 92px;
  height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #aeb8c5;
  border-radius: 8px;
  color: var(--sw-accent) !important;
  font-size: 11px;
  font-weight: 900;
  background: #fff;
}

/* 주변 숙소: 큰 이미지 카드 4개 */
.swx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.swx-related-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7e3dc;
  border-radius: 11px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.swx-related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 31, 51, .09);
}

.swx-related-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #edf0f3;
}

.swx-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swx-related-rank {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #8e6d37;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(17, 31, 48, .13);
}

.swx-related-copy {
  padding: 13px 14px 14px;
}

.swx-related-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.swx-related-copy span {
  display: block;
  margin-top: 5px;
  color: #78808d;
  font-size: 10px;
}

/* 객실과 시설의 수직 간격 정리 */
.swx-primary-room {
  min-height: 116px;
}

.swx-facilities {
  align-items: stretch;
}

.swx-facilities > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* PC FAQ는 열 너비를 균등하게 */
.swx-faq {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.swx-faq details {
  min-width: 0;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .swx-main {
    grid-template-areas:
      "overview basic"
      "time facility"
      "room room"
      "location location"
      "related related"
      "recommend recommend"
      "faq faq"
      "source source";
  }

  .swx-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swx-location-map iframe,
  .swx-location-map .swx-map-placeholder {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .swx-card {
    padding: 21px 17px;
  }

  .swx-card h2 {
    font-size: 19px;
  }

  .swx-location-map {
    border-radius: 10px;
  }

  .swx-location-map iframe,
  .swx-location-map .swx-map-placeholder {
    height: 250px;
  }

  .swx-location-copy {
    display: block;
    padding-top: 15px;
  }

  .swx-location-copy strong {
    font-size: 15px;
  }

  .swx-location-copy p {
    font-size: 12px;
  }

  .swx-location-copy > a {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    font-size: 12px;
  }

  .swx-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .swx-related-image {
    aspect-ratio: 1.25 / 1;
  }

  .swx-related-rank {
    left: 8px;
    top: 8px;
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .swx-related-copy {
    padding: 11px 10px 12px;
  }

  .swx-related-copy strong {
    font-size: 12px;
  }

  .swx-related-copy span {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .swx-location-map iframe,
  .swx-location-map .swx-map-placeholder {
    height: 220px;
  }

  .swx-related-grid {
    gap: 8px;
  }

  .swx-related-copy strong {
    font-size: 11px;
  }
}

/* =========================================================
   StayWhere KTO v5.0.4 — PC 지도·FAQ 최종 보정
   ========================================================= */

/* 지도 iframe을 카드 전체 영역에 강제로 맞춤 */
.swx-location-map {
  position: relative;
  width: 100%;
  height: 360px;
  min-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  background: #e8edf1;
}

.swx-location-map iframe,
.swx-location-map .swx-map-placeholder {
  position: absolute;
  inset: 0;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  display: block !important;
}

.swx-location-copy {
  padding-top: 18px;
}

/* PC FAQ: 4열을 2열 카드형으로 변경 */
.swx-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
  border-top: 0;
}

.swx-faq details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e1d9 !important;
  border-radius: 10px;
  background: #fff;
}

.swx-faq details:last-child {
  border-right: 1px solid #e5e1d9;
}

.swx-faq summary {
  min-height: 58px;
  padding: 18px 42px 18px 18px !important;
  display: flex;
  align-items: center;
  font-size: 13px !important;
  line-height: 1.45;
}

.swx-faq summary::after {
  right: 17px;
  font-size: 16px;
}

.swx-faq p {
  padding: 0 18px 18px !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #616b7b;
}

.swx-faq details[open] {
  border-color: #cbd4df !important;
  box-shadow: 0 6px 18px rgba(18, 31, 51, .05);
}

@media (max-width: 1100px) and (min-width: 769px) {
  .swx-location-map {
    height: 320px;
    min-height: 320px;
  }

  .swx-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .swx-location-map {
    height: 250px;
    min-height: 250px;
  }

  .swx-faq {
    display: block;
  }

  .swx-faq details {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
  }

  .swx-faq summary {
    min-height: 0;
    padding: 16px 30px 16px 0 !important;
    font-size: 13px !important;
  }

  .swx-faq summary::after {
    right: 2px;
  }

  .swx-faq p {
    padding: 0 20px 16px 0 !important;
    font-size: 12px !important;
  }
}

@media (max-width: 380px) {
  .swx-location-map {
    height: 225px;
    min-height: 225px;
  }
}

/* =========================================================
   StayWhere KTO v5.0.5 — NAVER Maps JavaScript API
   ========================================================= */

.swx-location-map .swx-naver-map {
  position: absolute;
  inset: 0;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden;
  background: #e8edf1;
}

.swx-map-loading,
.swx-map-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  text-align: center;
  color: #667184;
  background: linear-gradient(135deg, #eef2f5, #e2e9ee);
  font-size: 12px;
}

.swx-map-error strong {
  color: #25364f;
  font-size: 14px;
}

.swx-map-error span {
  max-width: 460px;
  line-height: 1.55;
}

.swx-location-map .swx-map-placeholder {
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.swx-location-map .swx-map-placeholder strong {
  color: #25364f;
  font-size: 15px;
}

.swx-location-map .swx-map-placeholder span {
  color: #687487;
  font-size: 11px;
  line-height: 1.55;
}

.swx-location-map .swx-map-setup-required svg {
  width: 38px;
  height: 38px;
}

@media (max-width: 768px) {
  .swx-map-loading,
  .swx-map-error {
    font-size: 11px;
  }

  .swx-map-error strong,
  .swx-location-map .swx-map-placeholder strong {
    font-size: 13px;
  }

  .swx-location-map .swx-map-placeholder span {
    font-size: 10px;
  }
}

/* =========================================================
   StayWhere KTO v5.1.0 — 앱 헤더·찜·비교·목록 리디자인
   ========================================================= */

body.swkto-app-page {
  background: #f8f7f4 !important;
}

body.swkto-app-page #masthead,
body.swkto-app-page .site-header,
body.swkto-app-page .elementor-location-header {
  display: none !important;
}

body.swkto-app-page .site,
body.swkto-app-page #page,
body.swkto-app-page .site-content,
body.swkto-app-page .content-area,
body.swkto-app-page .site-main,
body.swkto-app-page article.page,
body.swkto-app-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.swkto-app-shell {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  min-height: 100vh;
  background: #f8f7f4;
}

.swapp-header {
  width: 100%;
  height: 68px;
  padding: 0 clamp(18px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #ece9e3;
  position: relative;
  z-index: 20;
}

.swapp-logo {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--sw-accent) !important;
  font-size: 28px;
  font-weight: 800;
}

.swapp-wishlist,
.swx-wishlist-link {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce1e7;
  border-radius: 999px;
  background: #fff;
  color: #27364f !important;
  font-size: 12px;
  font-weight: 850;
}

.swapp-wishlist svg,
.swx-wishlist-link svg {
  width: 19px;
  height: 19px;
}

.swapp-wishlist b,
.swx-wishlist-link b {
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sw-accent);
  color: #fff;
  font-size: 10px;
}

.swapp-wishlist.is-active {
  border-color: var(--sw-accent);
  box-shadow: 0 0 0 3px rgba(8, 43, 92, .08);
}

.swapp-content {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 90px;
}

.swkto-home-hero {
  min-height: 390px;
  padding: clamp(34px, 5vw, 66px);
  display: flex;
  align-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 24%, rgba(66, 190, 156, .25), transparent 28%),
    linear-gradient(135deg, #0b2e68 0%, #0b5f58 100%);
  overflow: hidden;
  color: #fff;
}

.swapp-hero-copy {
  width: min(760px, 100%);
}

.swapp-hero-copy > span,
.swutil-hero > span {
  color: #9de0c8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.swapp-hero-copy h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -.06em;
}

.swapp-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
}

.swapp-hero-copy form {
  max-width: 720px;
  margin-top: 32px;
}

.swkto-region-section,
.swkto-stay-section {
  padding-top: 46px;
}

.swkto-section-head h2 {
  font-size: 30px;
}

.swkto-region-chips a {
  min-width: 128px;
  padding: 17px 18px;
  border-radius: 16px;
}

.swkto-stay-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.swkto-stay-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 31, 50, .06);
}

.swkto-stay-media {
  position: relative;
}

.swkto-stay-image {
  aspect-ratio: 1.48 / 1;
}

.swkto-card-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.swkto-card-actions button {
  height: 36px;
  min-width: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #26354d;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(16, 29, 47, .14);
  cursor: pointer;
}

.swkto-card-actions button:first-child {
  padding: 0;
}

.swkto-card-actions svg {
  width: 18px;
  height: 18px;
}

[data-swkto-favorite].is-saved {
  color: #e04461 !important;
  border-color: #f2b9c4 !important;
  background: #fff5f7 !important;
}

[data-swkto-favorite].is-saved svg {
  fill: currentColor;
}

[data-swkto-compare].is-selected {
  color: #fff !important;
  border-color: var(--sw-accent) !important;
  background: var(--sw-accent) !important;
}

.swkto-stay-card-body {
  padding: 20px;
}

.swkto-stay-card-body h3 {
  font-size: 20px;
}

.swkto-stay-card-body p {
  height: 46px;
  font-size: 13px;
}

.swx-topbar--simple {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  height: 66px;
  padding: 0 34px;
}

.swx-topbar--simple .swx-logo {
  font-size: 27px;
}

.swx-simple-spacer {
  min-width: 0;
}

.swx-hero-buttons {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.swx-mobile-title-row > div {
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* 찜·비교 공통 페이지 */
.swutil-hero {
  min-height: 255px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 26px;
  background: linear-gradient(135deg, #0b2f68, #0c655b);
  color: #fff;
}

.swutil-hero--compare {
  background: linear-gradient(135deg, #172d5e, #385f8d);
}

.swutil-hero h1 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(40px, 5vw, 60px);
}

.swutil-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}

.swutil-section {
  padding-top: 40px;
}

.swutil-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.swutil-heading h2 {
  margin: 0;
  font-size: 28px;
}

.swutil-heading p {
  margin: 6px 0 0;
  color: #727b89;
  font-size: 12px;
}

.swutil-heading > a,
.swutil-empty > a,
.swcompare-slot.is-empty > a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--sw-accent);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
}

.swutil-loading,
.swcompare-loading,
.swutil-empty,
.swcompare-guide {
  padding: 42px;
  border: 1px dashed #cdd4dd;
  border-radius: 16px;
  background: #fff;
  color: #667184;
  text-align: center;
}

.swutil-empty strong,
.swcompare-guide strong {
  display: block;
  color: #25344d;
  font-size: 18px;
}

.swutil-empty p,
.swcompare-guide p {
  margin: 8px 0 20px;
}

.swutil-grid {
  min-height: 100px;
}

/* 비교 선택 트레이 */
.swcompare-tray {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 9997;
  width: min(560px, calc(100% - 28px));
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d4dae2;
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 44px rgba(14, 27, 45, .2);
  transform: translate(-50%, 130%);
  opacity: 0;
  transition: .25s ease;
  backdrop-filter: blur(12px);
}

.swcompare-tray.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.swcompare-tray-copy {
  flex: 1;
  min-width: 0;
}

.swcompare-tray-copy span {
  display: block;
  color: #747d8b;
  font-size: 9px;
}

.swcompare-tray-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

.swcompare-tray button {
  border: 0;
  background: transparent;
  color: #747d8b;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.swcompare-tray a {
  height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #aeb6c2;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  pointer-events: none;
}

.swcompare-tray.is-ready a {
  background: var(--sw-accent);
  pointer-events: auto;
}

/* 비교 페이지 */
.swcompare-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.swcompare-slot {
  min-height: 160px;
  padding: 16px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid #e2ded7;
  border-radius: 16px;
  background: #fff;
}

.swcompare-slot.is-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-style: dashed;
}

.swcompare-slot.is-empty > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1f5;
  color: #607087;
  font-weight: 900;
}

.swcompare-slot-image {
  height: 118px;
  overflow: hidden;
  border-radius: 11px;
  background: #edf0f3;
}

.swcompare-slot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swcompare-slot-image > span {
  height: 100%;
  display: grid;
  place-items: center;
  color: #9ba5b1;
  font-weight: 900;
}

.swcompare-slot-copy > span {
  color: #7b8390;
  font-size: 10px;
}

.swcompare-slot-copy > strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
}

.swcompare-slot-copy button {
  margin-top: 15px;
  padding: 8px 11px;
  border: 1px solid #c9d0d9;
  border-radius: 7px;
  background: #fff;
  color: #5b6678;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.swcompare-table {
  overflow: hidden;
  border: 1px solid #dfdcd6;
  border-radius: 16px;
  background: #fff;
}

.swcompare-row {
  display: grid;
  grid-template-columns: 170px repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #ebe8e2;
}

.swcompare-row:last-child {
  border-bottom: 0;
}

.swcompare-row > strong,
.swcompare-row > div {
  min-width: 0;
  padding: 16px 18px;
  line-height: 1.55;
}

.swcompare-row > strong {
  background: #f7f6f3;
  color: #334158;
  font-size: 11px;
}

.swcompare-row > div {
  border-left: 1px solid #ebe8e2;
  color: #5f6878;
  font-size: 12px;
  word-break: break-word;
}

.swcompare-row--head > strong,
.swcompare-row--head > div {
  background: #102f62;
  color: #fff;
  font-weight: 900;
}

.swcompare-row .is-muted {
  color: #9aa1ab;
}

.swcompare-row--actions a {
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sw-accent);
  color: #fff !important;
  font-size: 10px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .swkto-stay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .swapp-header {
    height: 60px;
    padding: 0 15px;
  }

  .swapp-logo,
  .swx-topbar--simple .swx-logo {
    font-size: 23px;
  }

  .swapp-wishlist,
  .swx-wishlist-link {
    min-height: 38px;
    padding: 0 11px;
  }

  .swapp-wishlist span,
  .swx-wishlist-link span {
    display: none;
  }

  .swapp-content {
    width: 100%;
    padding: 0 0 84px;
  }

  .swkto-home-hero,
  .swutil-hero {
    min-height: 310px;
    padding: 38px 18px;
    border-radius: 0;
  }

  .swapp-hero-copy h1,
  .swutil-hero h1 {
    font-size: 38px;
  }

  .swapp-hero-copy p,
  .swutil-hero p {
    font-size: 13px;
  }

  .swapp-hero-copy form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .swkto-region-section,
  .swkto-stay-section,
  .swutil-section {
    padding: 30px 15px 0;
  }

  .swkto-section-head h2,
  .swutil-heading h2 {
    font-size: 24px;
  }

  .swkto-stay-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .swkto-stay-card-body h3 {
    font-size: 19px;
  }

  .swx-topbar--simple {
    height: 60px;
    padding: 0 15px;
  }

  .swx-hero-buttons {
    right: 13px;
    bottom: 12px;
  }

  .swx-hero-buttons button {
    padding: 0 10px;
    font-size: 0;
    width: 38px;
  }

  .swx-hero-buttons button svg {
    width: 19px;
    height: 19px;
  }

  .swx-mobile-title-row > div {
    gap: 5px;
  }

  .swcompare-slots {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .swcompare-slot {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 138px;
  }

  .swcompare-slot-image {
    height: 96px;
  }

  .swcompare-slot-copy > strong {
    font-size: 16px;
  }

  .swcompare-table {
    overflow-x: auto;
  }

  .swcompare-row {
    min-width: 760px;
    grid-template-columns: 135px repeat(2, 1fr);
  }

  .swcompare-row > strong,
  .swcompare-row > div {
    padding: 14px 13px;
  }

  .swcompare-tray {
    bottom: 80px;
  }

  .swutil-heading {
    align-items: center;
  }

  .swutil-heading > a {
    padding: 0 11px;
  }
}

/* =========================================================
   StayWhere KTO v5.1.3 — 비교 데이터 가독성
   ========================================================= */

.swcompare-data-note {
  margin: 0 0 12px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  background: #f5f8fb;
}

.swcompare-data-note strong {
  color: #213652;
  font-size: 11px;
}

.swcompare-data-note span {
  color: #707b8b;
  font-size: 10px;
}

.swcompare-row .is-muted {
  color: #a1a8b2;
  font-style: normal;
}

@media (max-width: 768px) {
  .swcompare-data-note {
    display: block;
    margin-bottom: 10px;
  }

  .swcompare-data-note strong,
  .swcompare-data-note span {
    display: block;
  }

  .swcompare-data-note span {
    margin-top: 4px;
  }
}

/* =========================================================
   StayWhere KTO v5.1.4 — 비교페이지 부대시설 아이콘
   ========================================================= */

.swcompare-row--amenities > strong {
  display: flex;
  align-items: flex-start;
}

.swcompare-row--amenities > div {
  padding: 15px !important;
}

.swcompare-amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.swcompare-amenity {
  min-width: 0;
  min-height: 98px;
  padding: 11px 6px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #e8e4dd;
  border-radius: 10px;
  background: #fbfaf8;
  text-align: center;
}

.swcompare-amenity-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #725f3f;
}

.swcompare-amenity-icon svg {
  width: 27px;
  height: 27px;
}

.swcompare-amenity strong {
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  color: #1c2b43;
  font-size: 9px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.swcompare-amenity small {
  width: 100%;
  margin-top: 4px;
  display: -webkit-box;
  overflow: hidden;
  color: #7b8390;
  font-size: 8px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.swcompare-amenity-more {
  min-height: 98px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd2db;
  border-radius: 10px;
  color: #657185;
  background: #f5f7f9;
  font-size: 9px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .swcompare-amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .swcompare-row--amenities > div {
    padding: 12px !important;
  }

  .swcompare-amenity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .swcompare-amenity {
    min-height: 92px;
    padding: 9px 4px 8px;
  }

  .swcompare-amenity-icon {
    width: 28px;
    height: 28px;
  }

  .swcompare-amenity-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* =========================================================
   StayWhere KTO v5.1.5 — 시설 문장 분리·카드 텍스트 보정
   ========================================================= */

.swcompare-amenity-grid {
  align-items: stretch;
}

.swcompare-amenity {
  min-height: 112px;
  overflow: hidden;
}

.swcompare-amenity strong {
  min-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: clip;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.swcompare-amenity small {
  min-height: 23px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

@media (min-width: 1200px) {
  .swcompare-amenity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .swcompare-amenity {
    min-height: 105px;
  }
}


/* =========================================================
   StayWhere KTO v5.1.7 — 비교 트레이/이미지 플레이스홀더 개선
   ========================================================= */

.swkto-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(255,255,255,.7), transparent 30%), linear-gradient(135deg, #eef3f6 0%, #e6ecf2 45%, #dde6ef 100%);
  color: #6f7d90;
}
.swkto-image-placeholder em {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8,43,92,.08);
  color: #58708d;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.swkto-image-placeholder strong {
  display: block;
  color: #2d4059;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}
.swkto-image-placeholder small {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #8090a4;
  font-size: 11px;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.swcompare-slot-image > .swkto-image-placeholder {border-radius:11px;}

.swcompare-tray {
  width: min(640px, calc(100% - 24px));
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.swcompare-tray-copy {align-self:center;}
.swcompare-tray-copy span {font-size:10px;}
.swcompare-tray-copy strong {margin-top:3px;font-size:16px;line-height:1.2;}
.swcompare-tray-actions {display:flex;align-items:center;justify-content:flex-end;gap:8px;}
.swcompare-tray .swcompare-tray-clear {
  min-width: 64px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe1e8;
  border-radius: 10px;
  background: #fff;
  color: #637287;
  font-size: 11px;
  font-weight: 800;
}
.swcompare-tray .swcompare-tray-go {
  min-width: 128px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #d7dde6;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
}
.swcompare-tray.is-ready .swcompare-tray-go {
  background: var(--sw-accent);
  box-shadow: 0 8px 20px rgba(8,43,92,.18);
  pointer-events: auto;
}
.swcompare-tray:not(.is-ready) .swcompare-tray-go {color:#f7f9fc !important;}

.swx-related-image {position:relative;overflow:hidden;}
.swx-related-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef3f6, #e5ebf1);
  color: #728195;
  text-align: center;
}
.swx-related-placeholder em {
  font-style: normal;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.swx-related-placeholder strong {font-size:9px;line-height:1.3;}

@media (max-width: 680px) {
  .swcompare-tray {
    width: calc(100% - 16px);
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .swcompare-tray-copy span {font-size:9px;}
  .swcompare-tray-copy strong {font-size:14px;}
  .swcompare-tray-actions {gap:6px;}
  .swcompare-tray .swcompare-tray-clear {
    min-width: 56px;
    height: 40px;
    padding: 0 10px;
    font-size: 10px;
  }
  .swcompare-tray .swcompare-tray-go {
    min-width: 108px;
    height: 40px;
    padding: 0 12px;
    font-size: 10px;
  }
  .swkto-image-placeholder strong {font-size:12px;}
  .swkto-image-placeholder small {font-size:10px;}
}

/* =========================================================
   StayWhere KTO v5.1.8 — 비교페이지 숙소별 제휴 버튼
   ========================================================= */

.swcompare-slot {
  align-items: stretch;
}

a.swcompare-slot-image {
  display: block;
  color: inherit;
}

.swcompare-slot-title {
  display: block;
  color: inherit !important;
}

.swcompare-slot-title strong {
  display: block;
  margin-top: 6px;
  color: #172946;
  font-size: 19px;
  line-height: 1.35;
}

.swcompare-slot-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.swcompare-slot-actions {
  width: 100%;
  margin-top: 15px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 8px;
}

.swcompare-slot-actions > a {
  min-width: 0;
  min-height: 43px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
}

.swcompare-detail-link {
  border: 1px solid #b9c2ce;
  background: #fff;
  color: #263954 !important;
}

.swcompare-booking-link {
  border: 1px solid var(--sw-accent, #082b5c);
  background: var(--sw-accent, #082b5c);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(8, 43, 92, .16);
}

.swcompare-detail-link:hover,
.swcompare-booking-link:hover {
  transform: translateY(-1px);
}

.swcompare-remove-button {
  align-self: flex-start;
  margin-top: 10px !important;
  padding: 5px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #89919e !important;
  font-size: 9px !important;
  text-decoration: underline;
  box-shadow: none !important;
}

.swcompare-remove-button:hover {
  color: #b34255 !important;
}

/* 비교표 맨 아래 제휴 버튼도 숙소 칸 전체에 맞춤 */
.swcompare-row--actions > div {
  display: flex;
}

.swcompare-row--actions a {
  width: 100%;
  min-height: 46px;
}

/* 모바일: 상세·제휴 버튼을 충분한 크기로 세로 정렬 */
@media (max-width: 768px) {
  .swcompare-slot {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
  }

  .swcompare-slot-title strong {
    font-size: 16px;
  }

  .swcompare-slot-actions {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 11px;
  }

  .swcompare-slot-actions > a {
    min-height: 42px;
    font-size: 10px;
  }

  .swcompare-remove-button {
    margin-top: 7px !important;
  }
}

@media (max-width: 420px) {
  .swcompare-slot {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  .swcompare-slot-image {
    height: 100%;
    min-height: 108px;
  }

  .swcompare-slot-copy > span {
    font-size: 9px;
  }

  .swcompare-slot-title strong {
    font-size: 14px;
  }
}

/* =========================================================
   StayWhere KTO v5.1.9 — 모바일 비교 카드·선택 버튼 재정렬
   ========================================================= */

/* 비교 선택 바는 body 바로 아래 생성되므로 테마와 기존 링크 스타일을 완전히 차단 */
body > .swcompare-tray,
body > .swcompare-tray * {
  box-sizing: border-box !important;
}

body > .swcompare-tray {
  width: min(600px, calc(100vw - 20px)) !important;
  min-height: 72px !important;
  padding: 10px 11px 10px 17px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  overflow: visible !important;
  border-radius: 18px !important;
}

body > .swcompare-tray .swcompare-tray-copy {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body > .swcompare-tray .swcompare-tray-copy span {
  display: block !important;
  color: #788397 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
}

body > .swcompare-tray .swcompare-tray-copy strong {
  display: block !important;
  margin-top: 3px !important;
  color: #172946 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body > .swcompare-tray .swcompare-tray-actions {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: 58px 108px !important;
  gap: 7px !important;
  align-items: center !important;
}

body > .swcompare-tray button.swcompare-tray-clear,
body > .swcompare-tray button.swcompare-tray-go {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border-radius: 10px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
  box-shadow: none !important;
}

body > .swcompare-tray button.swcompare-tray-clear {
  border: 1px solid #d7dee7 !important;
  background: #ffffff !important;
  color: #657287 !important;
  cursor: pointer !important;
}

body > .swcompare-tray button.swcompare-tray-go,
body > .swcompare-tray button.swcompare-tray-go:disabled {
  border: 1px solid #c5cdd8 !important;
  background: #c5cdd8 !important;
  color: #ffffff !important;
  cursor: default !important;
  -webkit-text-fill-color: #ffffff !important;
}

body > .swcompare-tray.is-ready button.swcompare-tray-go,
body > .swcompare-tray button.swcompare-tray-go.is-enabled,
body > .swcompare-tray button.swcompare-tray-go:not(:disabled) {
  border-color: #082b5c !important;
  background: #082b5c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 7px 17px rgba(8, 43, 92, .22) !important;
  cursor: pointer !important;
}

/* 비교페이지 숙소 카드: 데스크톱 정렬 보정 */
.swcompare-slot {
  min-width: 0 !important;
  overflow: hidden !important;
}

.swcompare-slot-copy {
  width: 100% !important;
  min-width: 0 !important;
}

.swcompare-slot-title,
.swcompare-slot-title strong {
  width: 100% !important;
  min-width: 0 !important;
}

.swcompare-slot-actions {
  margin-top: auto !important;
  padding-top: 14px !important;
}

/* 실제 모바일에서는 작은 좌측 사진 구조를 버리고 완전한 세로 카드로 표시 */
@media (max-width: 768px) {
  .swcompare-slots {
    gap: 14px !important;
  }

  .swcompare-slot:not(.is-empty) {
    min-height: 0 !important;
    padding: 13px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    border-radius: 16px !important;
  }

  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 14px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #e9edf2 !important;
  }

  .swcompare-slot-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .swcompare-slot-image > .swkto-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 12px !important;
  }

  .swcompare-slot-copy {
    width: 100% !important;
    display: block !important;
  }

  .swcompare-slot-copy > span {
    display: block !important;
    color: #748094 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .swcompare-slot-title strong {
    margin-top: 5px !important;
    color: #142945 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
  }

  .swcompare-slot-actions {
    width: 100% !important;
    margin-top: 14px !important;
    padding-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .swcompare-slot-actions > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .swcompare-remove-button {
    float: none !important;
    align-self: auto !important;
    margin: 9px 0 0 auto !important;
    padding: 4px 0 !important;
    display: block !important;
    color: #8b94a2 !important;
    font-size: 9px !important;
    text-align: right !important;
  }

  body > .swcompare-tray {
    bottom: 10px !important;
    width: calc(100vw - 16px) !important;
    min-height: 68px !important;
    padding: 9px 9px 9px 14px !important;
    gap: 7px !important;
    border-radius: 16px !important;
  }

  body > .swcompare-tray .swcompare-tray-actions {
    grid-template-columns: 52px 102px !important;
    gap: 6px !important;
  }

  body > .swcompare-tray button.swcompare-tray-clear,
  body > .swcompare-tray button.swcompare-tray-go {
    height: 43px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 380px) {
  .swcompare-slot-actions {
    grid-template-columns: 1fr !important;
  }

  body > .swcompare-tray .swcompare-tray-copy strong {
    font-size: 12px !important;
  }

  body > .swcompare-tray .swcompare-tray-actions {
    grid-template-columns: 46px 92px !important;
  }

  body > .swcompare-tray button.swcompare-tray-clear,
  body > .swcompare-tray button.swcompare-tray-go {
    font-size: 8px !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.10 — 모바일 비교 카드 소형 가로형 복구
   ========================================================= */

@media (max-width: 768px) {
  /* 이전 버전의 큰 세로 사진 레이아웃을 덮어씁니다. */
  .swcompare-slot:not(.is-empty) {
    width: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-areas: "compare-image compare-copy" !important;
    gap: 12px !important;
    align-items: stretch !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
    grid-area: compare-image !important;
    width: 112px !important;
    height: 100% !important;
    min-height: 142px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    display: block !important;
    align-self: stretch !important;
    overflow: hidden !important;
    border-radius: 11px !important;
    background: #e9edf2 !important;
  }

  /* 핵심: 이미지 박스 양옆의 여백 없이 완전히 채웁니다. */
  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image > .swkto-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 0 !important;
  }

  .swcompare-slot-copy {
    grid-area: compare-copy !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .swcompare-slot-copy > span {
    display: block !important;
    margin: 0 !important;
    color: #748094 !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  .swcompare-slot-title {
    display: block !important;
    min-width: 0 !important;
  }

  .swcompare-slot-title strong {
    margin: 5px 0 0 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #142945 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .swcompare-slot-actions {
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 10px 0 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .swcompare-slot-actions > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 7px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  .swcompare-remove-button {
    margin: 7px 0 0 auto !important;
    padding: 2px 0 !important;
    display: block !important;
    align-self: flex-end !important;
    color: #8b94a2 !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    text-align: right !important;
  }
}

@media (max-width: 410px) {
  .swcompare-slot:not(.is-empty) {
    grid-template-columns: 102px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 11px !important;
  }

  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
    width: 102px !important;
    min-height: 136px !important;
  }

  .swcompare-slot-title strong {
    font-size: 15px !important;
  }

  .swcompare-slot-actions > a {
    min-height: 38px !important;
    font-size: 8.5px !important;
  }
}

@media (max-width: 360px) {
  .swcompare-slot:not(.is-empty) {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
    width: 92px !important;
    min-height: 132px !important;
  }

  .swcompare-slot-title strong {
    font-size: 14px !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.12 — 비교 이미지 좌우 남색 여백 제거
   ========================================================= */

/*
 * 이전 버전의 `.swcompare-slot > a` 버튼 스타일이 이미지 링크에도
 * padding: 0 16px, background: accent를 적용하던 문제를 완전히 차단합니다.
 */
.swcompare-slot > a.swcompare-slot-image,
.swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
  padding: 0 !important;
  min-height: 0 !important;
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #edf0f3 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: normal !important;
  box-shadow: none !important;
  text-align: initial !important;
}

.swcompare-slot > a.swcompare-slot-image img,
.swcompare-slot:not(.is-empty) > a.swcompare-slot-image img {
  position: static !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 대체 이미지 역시 사진 영역 전체를 빈틈없이 채웁니다. */
.swcompare-slot > a.swcompare-slot-image > .swkto-image-placeholder,
.swcompare-slot:not(.is-empty) > a.swcompare-slot-image > .swkto-image-placeholder {
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* 빈 비교 슬롯의 '숙소 선택하기' 링크에만 버튼 디자인 적용 */
.swcompare-slot.is-empty > a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--sw-accent);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .swcompare-slot:not(.is-empty) > a.swcompare-slot-image {
    padding: 0 !important;
    background: #edf0f3 !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.13 — 여기어때·야놀자 제휴 버튼
   ========================================================= */

.swx-affiliate-buttons {
  display: grid;
  grid-template-columns: repeat(var(--swx-affiliate-count, 1), minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}

.swx-affiliate-buttons:has(.swx-affiliate-button:nth-child(2)) {
  --swx-affiliate-count: 2;
}

.swx-affiliate-button {
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--sw-accent);
  color: #fff !important;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.swx-affiliate-button.is-yanolja {
  background: #5d35d6;
}

.swx-affiliate-button.is-yeogi {
  background: #de2f4f;
}

.swx-affiliate-buttons.is-room {
  width: 210px;
}

.swx-primary-room > .swx-affiliate-buttons {
  align-self: center;
}

.swx-affiliate-buttons.is-sidebar {
  margin-top: 10px;
}

.swx-booking-box .swx-affiliate-button {
  min-height: 44px;
  font-size: 10px;
}

.swx-mobile-sticky > .swx-affiliate-buttons {
  grid-column: 1 / -1;
}

.swx-mobile-sticky .swx-affiliate-button {
  height: 45px;
  min-height: 45px;
  font-size: 9px;
}

.swcompare-slot-actions {
  align-content: end;
}

.swcompare-slot-actions .swcompare-booking-link {
  width: 100%;
}

.swcompare-action-links {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 6px;
}

.swcompare-action-links .swcompare-booking-link {
  margin: 0 !important;
}

@media (max-width: 768px) {
  .swx-primary-room {
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  .swx-primary-room > .swx-affiliate-buttons {
    grid-column: 1 / -1;
    width: 100%;
  }

  .swx-mobile-sticky {
    height: auto !important;
    min-height: 68px;
    grid-template-columns: 1fr !important;
  }

  .swx-mobile-sticky > .swx-affiliate-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swx-mobile-sticky > .swx-affiliate-buttons:has(.swx-affiliate-button:only-child) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  .swx-affiliate-buttons,
  .swx-mobile-sticky > .swx-affiliate-buttons {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.15 — 비교페이지 제휴 버튼 2개 보장
   ========================================================= */

/* 상단 비교 숙소 카드: 상세 버튼 한 줄 + 제휴 버튼 최대 2개 */
.swcompare-slot-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

.swcompare-slot-actions .swcompare-detail-link {
  grid-column: 1 / -1;
  width: 100%;
}

.swcompare-slot-actions .swcompare-booking-link {
  width: 100% !important;
  min-width: 0 !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* 제휴 링크가 하나뿐이면 카드 폭 전체 사용 */
.swcompare-slot-actions .swcompare-booking-link:nth-child(2):last-child {
  grid-column: 1 / -1;
}

/* 여기어때·야놀자 제공처 구분 */
.swcompare-booking-link.is-yeogi {
  border-color: #de2f4f !important;
  background: #de2f4f !important;
  box-shadow: 0 6px 16px rgba(222, 47, 79, .18) !important;
}

.swcompare-booking-link.is-yanolja {
  border-color: #5d35d6 !important;
  background: #5d35d6 !important;
  box-shadow: 0 6px 16px rgba(93, 53, 214, .18) !important;
}

/* 아래 비교표: 링크 2개면 나란히, 1개면 전체 폭 */
.swcompare-action-links {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.swcompare-action-links .swcompare-booking-link {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 7px 6px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
}

.swcompare-action-links .swcompare-booking-link:only-child {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  /*
   * 작은 비교 카드에서도 두 제휴사가 한눈에 보이도록
   * 상세 버튼은 전체 폭, 제휴 버튼은 두 칸으로 유지합니다.
   */
  .swcompare-slot-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .swcompare-slot-actions .swcompare-detail-link {
    grid-column: 1 / -1;
  }

  .swcompare-slot-actions .swcompare-booking-link {
    min-height: 39px !important;
    font-size: 9px !important;
  }

  .swcompare-action-links {
    grid-template-columns: 1fr !important;
  }

  .swcompare-action-links .swcompare-booking-link {
    grid-column: 1 !important;
    min-height: 42px !important;
  }
}

@media (max-width: 365px) {
  .swcompare-slot-actions {
    grid-template-columns: 1fr !important;
  }

  .swcompare-slot-actions .swcompare-detail-link,
  .swcompare-slot-actions .swcompare-booking-link {
    grid-column: 1 !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.16 — 메인 숙소 목록 좌우 여백 축소
   ========================================================= */

/*
 * 초기 목록 CSS의 .swkto-local-home { padding:24px; }가
 * 모바일 목록 영역의 15px 여백과 겹쳐 총 39px씩 생기던 문제를 제거합니다.
 */
.swkto-local-home.swkto-app-shell {
  max-width: none !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* 모바일 앱 폭에서는 숙소 카드가 화면을 더 넓게 사용하도록 조정 */
@media (max-width: 768px) {
  .swkto-local-home .swkto-region-section,
  .swkto-local-home .swkto-stay-section {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .swkto-local-home .swkto-stay-grid {
    width: 100%;
  }

  .swkto-local-home .swkto-stay-card {
    width: 100%;
  }
}

/* 아주 작은 화면에서도 좌우 공간을 과도하게 차지하지 않도록 축소 */
@media (max-width: 390px) {
  .swkto-local-home .swkto-region-section,
  .swkto-local-home .swkto-stay-section {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

/* =========================================================
   StayWhere KTO v5.1.17 — 제휴 버튼 CTR 문구 및 모바일 최적화
   ========================================================= */

/* 상세페이지 공통 */
.swx-affiliate-button {
  min-height: 48px !important;
  padding: 9px 10px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

/* 객실 카드 오른쪽 버튼 영역 */
.swx-affiliate-buttons.is-room {
  width: 230px !important;
}

.swx-affiliate-buttons.is-room .swx-affiliate-button {
  min-height: 46px !important;
}

/* 사이드 예약 영역 */
.swx-affiliate-buttons.is-sidebar .swx-affiliate-button {
  min-height: 50px !important;
  font-size: 11px !important;
}

/* 비교페이지 상단 선택 카드 */
.swcompare-slot-actions .swcompare-booking-link {
  min-height: 46px !important;
  padding: 8px 7px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 9px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

/* 비교표 예약 영역 */
.swcompare-action-links .swcompare-booking-link {
  min-height: 48px !important;
  padding: 8px 7px !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

/* 모바일 상세페이지 */
@media (max-width: 768px) {
  .swx-affiliate-buttons.is-room {
    width: 100% !important;
  }

  .swx-affiliate-buttons.is-room,
  .swx-affiliate-buttons.is-sidebar,
  .swx-mobile-sticky > .swx-affiliate-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .swx-affiliate-buttons.is-room .swx-affiliate-button,
  .swx-affiliate-buttons.is-sidebar .swx-affiliate-button,
  .swx-mobile-sticky .swx-affiliate-button {
    min-width: 0 !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 8px 6px !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  /* 링크가 하나만 있으면 모바일에서도 전체 폭 사용 */
  .swx-affiliate-buttons .swx-affiliate-button:only-child {
    grid-column: 1 / -1 !important;
  }

  .swcompare-slot-actions .swcompare-booking-link {
    min-height: 48px !important;
    padding: 7px 5px !important;
    font-size: 8.5px !important;
  }

  .swcompare-action-links .swcompare-booking-link {
    min-height: 46px !important;
    font-size: 9px !important;
  }
}

/* 아주 작은 휴대폰에서는 제휴 버튼을 세로 배치해 글자 잘림 방지 */
@media (max-width: 370px) {
  .swx-affiliate-buttons.is-room,
  .swx-affiliate-buttons.is-sidebar,
  .swx-mobile-sticky > .swx-affiliate-buttons,
  .swcompare-slot-actions,
  .swcompare-action-links {
    grid-template-columns: 1fr !important;
  }

  .swx-affiliate-buttons .swx-affiliate-button,
  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    grid-column: 1 !important;
    min-height: 44px !important;
    font-size: 9.5px !important;
  }
}


/* StayWhere KTO v5.1.22 exact-safe */

.swkto-region-section--illustrated{position:relative;overflow:hidden;margin-top:34px;padding:44px 0 34px!important;border-radius:28px;background:linear-gradient(180deg,#fbfaf7 0%,#f8f6f1 100%)}
.swkto-region-heading{position:relative;z-index:2;align-items:flex-end!important;margin:0 48px 28px!important}
.swkto-region-heading h2{margin-top:11px!important;color:#15243d;font-family:Georgia,"Noto Serif KR","Batang",serif;font-size:clamp(32px,3.4vw,45px)!important;font-weight:500;line-height:1.05;letter-spacing:-.055em}
.swkto-region-heading p{margin-top:14px!important;color:#737e8c!important;font-size:13px!important}
.swkto-region-all{margin-bottom:5px;padding:7px 0;border-bottom:1px solid #bca36f;color:#9c7e43!important;font-size:13px;font-weight:850}
.swkto-region-carousel{position:relative;z-index:2;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:14px;align-items:center;padding:0 20px}
.swkto-region-nav{width:48px;height:48px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#b28d45;box-shadow:0 9px 24px rgba(30,39,53,.1);font-size:31px;cursor:pointer}
.swkto-region-icon-cards{display:flex!important;gap:12px!important;width:100%;padding:4px 4px 17px!important;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.swkto-region-icon-cards::-webkit-scrollbar{display:none}
.swkto-region-icon-cards>a{flex:0 0 110px!important;min-width:110px!important;min-height:174px;padding:22px 10px 19px!important;display:flex;flex-direction:column;align-items:center;border:1px solid #e4e0d8!important;border-radius:28px!important;background:#fff!important;box-shadow:0 10px 24px rgba(28,38,55,.07);text-align:center}
.swkto-region-card-icon{width:54px;height:54px;display:grid;place-items:center;color:#c1ad83}
.swkto-region-card-icon svg{width:44px!important;height:44px!important}
.swkto-region-icon-cards strong{display:block;margin-top:13px;color:#18253c;font-size:17px;font-weight:850}
.swkto-region-icon-cards>a>span:last-child{display:block;margin-top:9px;color:#7c8695;font-size:13px}
.swkto-region-icon-cards>a.is-active,.swkto-region-icon-cards>a.is-featured{border-color:#b89b61!important;background:linear-gradient(155deg,#223149 0%,#18263d 100%)!important;box-shadow:0 15px 31px rgba(17,31,53,.22)}
.swkto-region-icon-cards>a.is-active .swkto-region-card-icon,.swkto-region-icon-cards>a.is-featured .swkto-region-card-icon{color:#e1c98f}
.swkto-region-icon-cards>a.is-active strong,.swkto-region-icon-cards>a.is-featured strong{color:#fff}
.swkto-region-icon-cards>a.is-active>span:last-child,.swkto-region-icon-cards>a.is-featured>span:last-child{color:#d5b66f}

.swx-hero{overflow:hidden;isolation:isolate;background-image:none!important;background-color:#d9e0e3;touch-action:pan-y}
.swx-hero-slider-viewport{position:absolute;inset:0;z-index:0;overflow:hidden}
.swx-hero-slider-track{display:flex;width:100%;height:100%;transform:translate3d(0,0,0);transition:transform .42s cubic-bezier(.22,.78,.2,1)}
.swx-hero-slide{flex:0 0 100%;min-width:100%;height:100%;margin:0}
.swx-hero-slide img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.swx-hero-shade{z-index:1;pointer-events:none}
.swx-breadcrumbs,.swx-hero-copy,.swx-hero-buttons{z-index:3}
.swx-hero-arrow{position:absolute;top:50%;z-index:5;width:44px;height:44px;padding:0;display:grid;place-items:center;transform:translateY(-50%);border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(6,20,40,.43);color:#fff;font-size:31px;cursor:pointer}
.swx-hero-arrow.is-prev{left:18px}
.swx-hero-arrow.is-next{right:18px}
.swx-hero-counter{position:absolute;top:16px;right:18px;z-index:5;min-width:57px;padding:6px 10px;display:flex;justify-content:center;gap:5px;border-radius:999px;background:rgba(7,21,43,.64);color:#fff;font-size:10px;font-weight:850}
.swx-hero-carousel-dots{position:absolute;left:50%;bottom:14px;z-index:5;max-width:58%;padding:5px 7px;display:flex;gap:5px;overflow-x:auto;transform:translateX(-50%);border-radius:999px;background:rgba(7,21,43,.24)}
.swx-hero-carousel-dots button{flex:0 0 auto;width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.52)}
.swx-hero-carousel-dots button.is-active{width:19px;border-radius:999px;background:#fff}

@media(max-width:768px){
 .swkto-region-section--illustrated{margin-top:18px;padding:31px 0 24px!important;border-radius:0}
 .swkto-region-heading{margin:0 13px 20px!important}
 .swkto-region-heading h2{font-size:29px!important}
 .swkto-region-carousel{grid-template-columns:1fr;padding:0}
 .swkto-region-nav{display:none}
 .swkto-region-icon-cards{gap:9px!important;padding:3px 13px 13px!important}
 .swkto-region-icon-cards>a{flex-basis:96px!important;min-width:96px!important;min-height:148px;padding:17px 7px 15px!important;border-radius:24px!important}
 .swkto-region-card-icon{width:45px;height:45px}
 .swkto-region-card-icon svg{width:38px!important;height:38px!important}
 .swkto-region-icon-cards strong{font-size:15px}
 .swx-hero-arrow{width:37px;height:37px;font-size:26px}
 .swx-hero-arrow.is-prev{left:9px}
 .swx-hero-arrow.is-next{right:9px}
 .swx-hero-counter{top:12px;right:12px}
}


/* =========================================================
   StayWhere KTO v5.2.0 — 후기요약 및 일반형 예약 버튼
   ========================================================= */

.swx-review-card {
  overflow: hidden;
  border-color: #dbe4ef !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(214, 178, 92, .12), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.swx-review-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.swx-review-heading h2 {
  margin: 3px 0 5px !important;
}

.swx-review-heading p {
  margin: 0;
  color: #66758a;
  font-size: 12px;
  line-height: 1.65;
}

.swx-review-heading time {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #e3e9f0;
  border-radius: 999px;
  background: #fff;
  color: #7b8797;
  font-size: 9px;
  font-weight: 800;
}

.swx-review-eyebrow {
  color: #b58a31;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
}

.swx-review-tags,
.swx-review-recommended > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.swx-review-tags {
  padding-bottom: 18px;
  border-bottom: 1px solid #edf1f5;
}

.swx-review-tags span,
.swx-review-recommended span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid #dbe5ef;
  border-radius: 999px;
  background: #f3f7fb;
  color: #163a66;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
}

.swx-review-tags span::before {
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: #c8a24a;
  content: '';
}

.swx-review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.swx-review-panel {
  padding: 17px 18px;
  border: 1px solid #e2e8ef;
  border-radius: 14px;
  background: #fff;
}

.swx-review-panel.is-good {
  border-color: #d9e8e2;
  background: #fbfefd;
}

.swx-review-panel.is-check {
  border-color: #eee2cb;
  background: #fffdf9;
}

.swx-review-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.swx-review-panel-title > span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #edf5f2;
  color: #31765f;
}

.swx-review-panel.is-check .swx-review-panel-title > span {
  background: #faf2e4;
  color: #a87722;
}

.swx-review-panel-title svg,
.swx-review-subtitle svg,
.swx-review-compare-note svg {
  width: 17px;
  height: 17px;
}

.swx-review-panel h3 {
  margin: 0;
  color: #142a48;
  font-size: 13px;
  font-weight: 950;
}

.swx-review-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swx-review-panel li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: #47566a;
  font-size: 11px;
  line-height: 1.6;
}

.swx-review-panel li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a9b85;
  content: '';
}

.swx-review-panel.is-check li::before {
  background: #c69845;
}

.swx-review-recommended {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  padding: 15px 17px;
  border: 1px solid #e0e7ef;
  border-radius: 14px;
  background: #fff;
}

.swx-review-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #162e50;
  font-size: 11px;
}

.swx-review-recommended span {
  min-height: 25px;
  padding: 4px 9px;
  background: #eef4fa;
  font-size: 9px;
}

.swx-review-compare-note {
  display: flex;
  gap: 11px;
  margin-top: 13px;
  padding: 14px 16px;
  border-left: 3px solid #caa44e;
  border-radius: 3px 12px 12px 3px;
  background: #f8f4ea;
  color: #2e3c4e;
}

.swx-review-compare-note > svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #9c7420;
}

.swx-review-compare-note strong {
  display: block;
  margin-bottom: 3px;
  color: #74530d;
  font-size: 10px;
}

.swx-review-compare-note p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.55;
}

.swx-review-source {
  margin: 12px 2px 0;
  color: #8994a2;
  font-size: 8.5px;
  line-height: 1.55;
}

/* 예약처 상표명 대신 사용자 행동을 기준으로 표시 */
.swx-affiliate-button.is-primary,
.swcompare-booking-link.is-primary {
  border: 1px solid var(--sw-accent, #082b5c) !important;
  background: var(--sw-accent, #082b5c) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(8, 43, 92, .16) !important;
}

.swx-affiliate-button.is-secondary,
.swcompare-booking-link.is-secondary {
  border: 1px solid #b9c6d6 !important;
  background: #fff !important;
  color: var(--sw-accent, #082b5c) !important;
  box-shadow: none !important;
}

.swx-affiliate-button > span,
.swcompare-booking-link > span {
  margin-left: 5px;
  font-size: .95em;
}

/* 비교 페이지 후기 카드 */
.swcompare-row--reviews {
  align-items: stretch !important;
}

.swcompare-row--reviews > div {
  padding: 12px !important;
  background: #fbfcfe;
}

.swcompare-review-card {
  min-height: 100%;
  padding: 13px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  background: #fff;
}

.swcompare-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.swcompare-review-chips span {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: #edf3f9;
  color: #173a64;
  font-size: 8px;
  font-weight: 850;
  line-height: 1.2;
}

.swcompare-review-block {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #edf1f5;
}

.swcompare-review-block > strong,
.swcompare-review-recommended > strong,
.swcompare-review-note > strong {
  display: block;
  margin-bottom: 5px;
  color: #17304f;
  font-size: 8.5px;
  font-weight: 950;
}

.swcompare-review-block ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swcompare-review-block li {
  position: relative;
  margin: 0;
  padding-left: 10px;
  color: #526174;
  font-size: 8.5px;
  line-height: 1.45;
}

.swcompare-review-block li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5d9984;
  content: '';
}

.swcompare-review-block.is-check li::before {
  background: #c79c4d;
}

.swcompare-review-recommended {
  margin-top: 10px;
}

.swcompare-review-recommended .swcompare-review-chips span {
  background: #f3f0e9;
  color: #725718;
}

.swcompare-review-note {
  margin: 10px 0 0;
  padding: 8px 9px;
  border-left: 2px solid #c9a24a;
  border-radius: 2px 8px 8px 2px;
  background: #faf6ed;
  color: #5d5032;
  font-size: 8.5px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .swx-review-heading {
    display: block;
  }

  .swx-review-heading time {
    display: inline-flex;
    margin-top: 10px;
  }

  .swx-review-columns {
    grid-template-columns: 1fr;
  }

  .swx-review-recommended {
    grid-template-columns: 1fr;
  }

  .swx-review-panel,
  .swx-review-recommended {
    padding: 14px;
  }

  .swcompare-row--reviews > div {
    padding: 8px !important;
  }

  .swcompare-review-card {
    padding: 9px;
  }

  .swcompare-review-block li,
  .swcompare-review-note {
    font-size: 8px;
  }
}


/* =========================================================
   StayWhere KTO v5.2.1 — 3단계 예약 행동 버튼
   1) 숙소 상세정보 확인 → 야놀자
   2) 객실 가격 확인 → 야놀자
   3) 다른 예약처 비교 → 여기어때
   ========================================================= */

/* 상세페이지 기본: 위 두 버튼을 나란히, 비교 버튼은 전체 폭 */
.swx-affiliate-buttons:has(.swx-affiliate-button:nth-child(3)) {
  --swx-affiliate-count: 2;
}

.swx-affiliate-buttons .swx-affiliate-button.is-action-compare {
  grid-column: 1 / -1;
}

.swx-affiliate-button.is-action-price,
.swcompare-booking-link.is-action-price {
  border-color: var(--sw-accent, #082b5c) !important;
  background: var(--sw-accent, #082b5c) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(8, 43, 92, .16) !important;
}

.swx-affiliate-button.is-action-detail,
.swcompare-booking-link.is-action-detail {
  border-color: #b9c6d6 !important;
  background: #fff !important;
  color: var(--sw-accent, #082b5c) !important;
  box-shadow: none !important;
}

.swx-affiliate-button.is-action-compare,
.swcompare-booking-link.is-action-compare {
  border-color: #d5dde8 !important;
  background: #f4f7fb !important;
  color: #30425a !important;
  box-shadow: none !important;
}

/* 좁은 PC 사이드바에서는 세 버튼을 세로로 읽기 쉽게 배치 */
.swx-affiliate-buttons.is-sidebar {
  grid-template-columns: 1fr !important;
}

.swx-affiliate-buttons.is-sidebar .swx-affiliate-button {
  grid-column: 1 !important;
}

/* 객실 카드 안에서는 버튼이 너무 좁아지지 않게 폭을 조금 확장 */
.swx-affiliate-buttons.is-room {
  width: min(270px, 100%);
}

/* 모바일 하단 고정 영역: 두 개 + 전체 폭 한 개 */
.swx-mobile-sticky > .swx-affiliate-buttons:has(.swx-affiliate-button:nth-child(3)) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.swx-mobile-sticky > .swx-affiliate-buttons .swx-affiliate-button.is-action-compare {
  grid-column: 1 / -1 !important;
}

/* 비교 상단 카드: 내부 상세 버튼 아래 외부 행동 버튼 2개 + 1개 */
.swcompare-slot-actions .swcompare-booking-link.is-action-compare {
  grid-column: 1 / -1;
}

/* 비교표 하단도 동일한 2 + 1 배열 */
.swcompare-action-links {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.swcompare-action-links .swcompare-booking-link.is-action-compare {
  grid-column: 1 / -1 !important;
}

@media (max-width: 768px) {
  .swcompare-action-links {
    grid-template-columns: 1fr !important;
  }

  .swcompare-action-links .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link.is-action-compare {
    grid-column: 1 !important;
  }
}

@media (max-width: 370px) {
  .swx-affiliate-buttons,
  .swx-mobile-sticky > .swx-affiliate-buttons {
    grid-template-columns: 1fr !important;
  }

  .swx-affiliate-buttons .swx-affiliate-button,
  .swx-mobile-sticky > .swx-affiliate-buttons .swx-affiliate-button {
    grid-column: 1 !important;
  }
}

/* =========================================================
   StayWhere KTO v5.2.2 — PC 예약 버튼 정렬 및 기존 제휴 색상 복원
   야놀자: #5d35d6 / 여기어때: #de2f4f
   ========================================================= */

/* 모든 예약 행동 버튼이 부모 너비를 정확히 채우도록 고정 */
.swx-affiliate-buttons .swx-affiliate-button,
.swcompare-slot-actions .swcompare-booking-link,
.swcompare-action-links .swcompare-booking-link {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* PC 우측 예약 요약: 상단 2개 나란히 + 하단 비교 버튼 전체 폭 */
.swx-affiliate-buttons.is-sidebar {
  width: 100% !important;
  margin-top: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

.swx-affiliate-buttons.is-sidebar .swx-affiliate-button {
  grid-column: auto !important;
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 9px 7px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  word-break: keep-all !important;
}

.swx-affiliate-buttons.is-sidebar .swx-affiliate-button.is-action-compare {
  grid-column: 1 / -1 !important;
}

/* 야놀자 연결 버튼: 기존 보라색 유지 */
.swx-affiliate-button.is-yanolja.is-action-price,
.swcompare-booking-link.is-yanolja.is-action-price {
  border-color: #5d35d6 !important;
  background: #5d35d6 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(93, 53, 214, .2) !important;
}

.swx-affiliate-button.is-yanolja.is-action-detail,
.swcompare-booking-link.is-yanolja.is-action-detail {
  border: 1.5px solid #5d35d6 !important;
  background: #fff !important;
  color: #4f2fc1 !important;
  box-shadow: none !important;
}

/* 여기어때 연결 버튼: 기존 분홍·빨강색 유지 */
.swx-affiliate-button.is-yeogi.is-action-compare,
.swcompare-booking-link.is-yeogi.is-action-compare {
  border-color: #de2f4f !important;
  background: #de2f4f !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(222, 47, 79, .18) !important;
}

/* 외부 링크 화살표도 버튼 글자색을 그대로 따름 */
.swx-affiliate-button > span,
.swcompare-booking-link > span {
  color: inherit !important;
}

/* 넓은 본문 객실 카드와 비교페이지도 동일한 2 + 1 구조 */
.swx-affiliate-buttons.is-room,
.swcompare-slot-actions,
.swcompare-action-links {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.swx-affiliate-buttons.is-room .is-action-compare,
.swcompare-slot-actions .is-action-compare,
.swcompare-action-links .is-action-compare {
  grid-column: 1 / -1 !important;
}

/* 모바일 역시 두 버튼 + 아래 비교 버튼 구조 유지 */
@media (max-width: 768px) {
  .swx-affiliate-buttons.is-sidebar,
  .swx-affiliate-buttons.is-room,
  .swx-mobile-sticky > .swx-affiliate-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .swx-affiliate-buttons.is-sidebar .swx-affiliate-button,
  .swx-affiliate-buttons.is-room .swx-affiliate-button,
  .swx-mobile-sticky .swx-affiliate-button {
    min-height: 50px !important;
    padding: 8px 5px !important;
    font-size: 9px !important;
  }

  .swx-affiliate-buttons .swx-affiliate-button.is-action-compare,
  .swx-mobile-sticky .swx-affiliate-button.is-action-compare {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 370px) {
  .swx-affiliate-buttons.is-sidebar,
  .swx-affiliate-buttons.is-room,
  .swx-mobile-sticky > .swx-affiliate-buttons,
  .swcompare-slot-actions,
  .swcompare-action-links {
    grid-template-columns: 1fr !important;
  }

  .swx-affiliate-buttons .swx-affiliate-button,
  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    grid-column: 1 !important;
  }
}


/* =========================================================
   StayWhere KTO v5.2.3 — 후기요약 위치 및 전체 폭 보정
   ========================================================= */

/* PC: 개요/기본정보 다음에 후기요약을 한 줄 전체 폭으로 배치 */
.swx-main {
  grid-template-areas:
    "overview basic"
    "review review"
    "time facility"
    "room room"
    "location location"
    "related related"
    "recommend recommend"
    "faq faq"
    "source source" !important;
}

.swx-review-card {
  grid-area: review !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* 태블릿에서도 후기 카드가 한쪽 열에 갇히지 않도록 유지 */
@media (min-width: 769px) {
  .swx-main > .swx-review-card {
    grid-column: 1 / -1 !important;
  }
}

/* 모바일: 개요와 기본정보 다음에 후기요약 표시 */
@media (max-width: 768px) {
  .swx-overview-card { order: 1 !important; }
  .swx-basic-card { order: 2 !important; }
  .swx-review-card { order: 3 !important; }
  .swx-room-card-block { order: 4 !important; }
  .swx-facility-card { order: 5 !important; }
  .swx-location-card { order: 6 !important; }
  .swx-related-card { order: 7 !important; }
  .swx-faq-card { order: 8 !important; }
  .swx-source-note { order: 9 !important; }
}

/* =========================================================
   StayWhere KTO v5.2.4 — 기존 제휴 링크 버튼 디자인 그대로 재사용
   - 야놀자 링크: 기존 보라색
   - 여기어때 링크: 기존 분홍·빨강색
   - 행동 문구만 바꾸고 버튼 컴포넌트/색상은 기존과 동일
   ========================================================= */
.swx-affiliate-button.is-yanolja,
.swcompare-booking-link.is-yanolja {
  border: 1px solid #5d35d6 !important;
  background: #5d35d6 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(93, 53, 214, .20) !important;
}

.swx-affiliate-button.is-yeogi,
.swcompare-booking-link.is-yeogi {
  border: 1px solid #de2f4f !important;
  background: #de2f4f !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(222, 47, 79, .18) !important;
}

.swx-affiliate-button.is-yanolja:hover,
.swcompare-booking-link.is-yanolja:hover {
  filter: brightness(.96);
}

.swx-affiliate-button.is-yeogi:hover,
.swcompare-booking-link.is-yeogi:hover {
  filter: brightness(.96);
}


/* v5.2.6: 모바일 중복 H1 제거 후 기존 제목 시각 스타일 유지 */
.swx-mobile-title-row .swx-mobile-page-title{font-weight:900;letter-spacing:-.035em;color:inherit}

/* =========================================================
   StayWhere KTO v5.2.7 — UI요약 + 비교추천 전환형 상세페이지
   ========================================================= */
:root{
  --swx-hot:#ff2f6d;
  --swx-hot-dark:#d91954;
  --swx-soft:#f7f8fb;
  --swx-soft-card:#ffffff;
  --swx-text:#14161f;
  --swx-sub:#757b8a;
  --swx-hair:#eceef3;
}
.swx-mobile-conversion{display:none}
.swx-compact-review-card,.swx-smart-compare-card{grid-column:1/-1}
.swx-compact-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.swx-compact-review-head h2{margin:0 0 4px!important;font-size:19px!important;letter-spacing:-.04em;color:var(--swx-text)}
.swx-compact-review-head span{display:block;color:#8a909c;font-size:12px;font-weight:700}
.swx-compact-review-head button{height:36px;padding:0 14px;border:1px solid var(--swx-hair);border-radius:999px;background:#fff;color:#2f3645;font-size:12px;font-weight:800;cursor:pointer}
.swx-compact-review-card blockquote{margin:0 0 16px;padding:0;text-align:center;color:#222733;font-size:22px;font-weight:800;line-height:1.55;letter-spacing:-.04em}
.swx-compact-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.swx-compact-review-grid>div{padding:16px;border-radius:18px;background:#f8fbff;border:1px solid #edf1f8}
.swx-compact-review-grid>div.is-check{background:#fff9f5;border-color:#f6eae1}
.swx-compact-review-grid strong{display:block;margin-bottom:10px;font-size:13px;letter-spacing:-.02em;color:#171a23}
.swx-compact-review-grid p{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;color:#4f5868;font-size:13px;line-height:1.45}
.swx-compact-review-grid p span{flex:0 0 auto;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-size:11px;font-weight:900;color:#22a260;background:#eaf8ef}
.swx-compact-review-grid .is-check p span{color:#ec6b29;background:#fff0e7}
.swx-smart-compare-card .swx-card-heading a{color:#5d6472!important;font-size:13px;font-weight:800;text-decoration:none!important}
.swx-smart-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.swx-smart-compare-item{display:grid;grid-template-columns:124px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid #edf0f4;border-radius:20px;background:#fff;box-shadow:0 10px 26px rgba(31,42,68,.06);text-decoration:none!important;color:inherit!important}
.swx-smart-compare-image{display:block;width:124px;height:96px;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#e9edf4,#f8f9fb)}
.swx-smart-compare-image img{width:100%;height:100%;object-fit:cover;display:block}
.swx-smart-compare-image em{width:100%;height:100%;display:grid;place-items:center;font-size:10px;font-weight:900;color:#9aa1af}
.swx-smart-compare-copy{min-width:0;display:block}
.swx-smart-compare-copy strong{display:block;margin-bottom:4px;color:#181b24;font-size:17px;line-height:1.2;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.swx-smart-compare-copy small{display:block;color:#9096a2;font-size:12px;font-weight:700}
.swx-smart-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.swx-smart-tags b{padding:5px 8px;border-radius:999px;background:#f0edff;color:#7157e7;font-size:11px;line-height:1;font-weight:850}
.swx-smart-tags b:nth-child(2){background:#eaf4ff;color:#2679d9}
.swx-smart-compare-copy em{display:block;margin-top:9px;color:#495366;font-size:12px;line-height:1.45;font-style:normal}

@media(max-width:680px){
  html,body.swkto-local-body{background:#f4f6f9!important}
  body.swkto-local-body{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Pretendard","Segoe UI",sans-serif!important;color:var(--swx-text)}
  .swkto-exact{max-width:430px;margin:0 auto!important;background:#fff;min-height:100vh;box-shadow:0 0 0 1px rgba(17,24,39,.03)}
  .swx-topbar{height:58px!important;padding:0 18px!important;display:grid!important;grid-template-columns:36px 1fr 72px!important;background:#fff!important;border:0!important}
  .swx-topbar:before{content:'‹';display:grid;place-items:center;width:36px;height:36px;color:#111827;font-size:38px;font-weight:300;line-height:1}
  .swx-topbar .swx-logo{justify-self:center!important;color:#111827!important;font-size:26px!important;font-weight:900!important;letter-spacing:-.055em;text-decoration:none!important}
  .swx-topbar .swx-wishlist-link{justify-self:end!important;width:72px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;border:0!important;background:transparent!important;color:#111827!important;box-shadow:none!important}
  .swx-topbar .swx-wishlist-link span,.swx-topbar .swx-wishlist-link b{display:none!important}
  .swx-topbar .swx-wishlist-link svg{width:26px!important;height:26px!important;stroke-width:1.9!important}
  .swx-simple-spacer{display:none!important}

  .swx-hero{height:208px!important;margin:0 14px 0!important;border-radius:18px!important;overflow:hidden!important;background:#e9edf3!important;box-shadow:none!important}
  .swx-hero-shade,.swx-breadcrumbs,.swx-hero-copy,.swx-hero-buttons,.swx-hero-arrow,.swx-hero-carousel-dots{display:none!important}
  .swx-hero-counter{right:12px!important;bottom:12px!important;top:auto!important;min-width:50px!important;padding:6px 9px!important;background:rgba(17,24,39,.68)!important;font-size:12px!important;backdrop-filter:blur(8px)}

  .swx-mobile-summary{display:block!important;padding:18px 18px 6px!important;background:#fff!important}
  .swx-mobile-title-row{display:block!important}
  .swx-mobile-title-row>div{display:none!important}
  .swx-mobile-page-title{margin:0!important;color:#111827!important;font-size:28px!important;font-weight:900!important;line-height:1.18!important;letter-spacing:-.06em}
  .swx-mobile-source{display:inline-flex!important;margin:9px 0 0!important;padding:4px 8px!important;border-radius:999px;background:#f2f4f7!important;color:#6b7280!important;font-size:11px!important;font-weight:800!important}
  .swx-mobile-summary>p{margin:9px 0 0!important;color:#747b88!important;font-size:13px!important;line-height:1.45!important}
  .swx-mobile-summary>p svg{width:16px!important;height:16px!important;color:#8b93a3!important}

  .swx-mobile-conversion{display:block;padding:8px 14px 8px;background:#fff}
  .swx-ai-summary-card{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:flex-start;margin:0 0 10px;padding:15px 16px;border:1px solid var(--swx-hair);border-radius:18px;background:linear-gradient(135deg,#ffffff 0%,#fbfbff 100%);box-shadow:0 10px 28px rgba(17,24,39,.06)}
  .swx-ai-summary-card>span{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:#f0ecff;color:#7c52ff}
  .swx-ai-summary-card svg{width:22px;height:22px;stroke-width:2}
  .swx-ai-summary-card strong{display:block;margin-bottom:5px;color:#6d45ee;font-size:14px;font-weight:900;letter-spacing:-.02em}
  .swx-ai-summary-card p{margin:0;color:#1f2531;font-size:14px;font-weight:700;line-height:1.48;letter-spacing:-.025em}
  .swx-ui-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 0 10px;padding:12px 6px;border:1px solid var(--swx-hair);border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(17,24,39,.045)}
  .swx-ui-badge{min-width:0;display:grid;place-items:center;gap:7px;padding:2px 4px;text-align:center;color:#242936;border-right:1px solid #f0f1f4}
  .swx-ui-badge:last-child{border-right:0}
  .swx-ui-badge svg{width:22px;height:22px;stroke-width:1.8}
  .swx-ui-badge.is-1 svg{color:#ff7043}.swx-ui-badge.is-2 svg{color:#3478f6}.swx-ui-badge.is-3 svg{color:#24a466}.swx-ui-badge.is-4 svg{color:#8b5cf6}
  .swx-ui-badge em{display:block;max-width:100%;font-size:12px;font-weight:850;font-style:normal;line-height:1.22;letter-spacing:-.03em;word-break:keep-all}
  .swx-top-cta-box{padding:12px 12px 10px;border:1px solid var(--swx-hair);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(17,24,39,.07)}
  .swx-top-cta-box .swx-affiliate-buttons{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
  .swx-top-cta-box .swx-affiliate-button{height:50px!important;border-radius:12px!important;font-size:17px!important;font-weight:900!important;letter-spacing:-.03em;box-shadow:none!important}
  .swx-top-cta-box .swx-affiliate-button.is-yanolja{background:linear-gradient(135deg,var(--swx-hot),var(--swx-hot-dark))!important;color:#fff!important;border:0!important}
  .swx-top-cta-box .swx-affiliate-button.is-yeogi{background:#fff!important;color:var(--swx-hot)!important;border:1.5px solid var(--swx-hot)!important}
  .swx-top-cta-box .swx-affiliate-button>span{font-size:18px!important;opacity:.95}
  .swx-top-cta-box>p{margin:9px 0 0;color:#8b92a0;text-align:center;font-size:12px;font-weight:600;letter-spacing:-.02em}

  .swx-gallery,.swx-mobile-facts{display:none!important}
  .swx-layout{display:flex!important;flex-direction:column!important;gap:10px!important;padding:4px 14px 92px!important;background:#fff!important}
  .swx-main{display:flex!important;flex-direction:column!important;gap:10px!important}
  .swx-sidebar{display:none!important}
  .swx-card{border:1px solid var(--swx-hair)!important;border-radius:18px!important;background:#fff!important;padding:16px!important;box-shadow:0 8px 24px rgba(17,24,39,.045)!important}
  .swx-card h2{margin:0 0 12px!important;color:#171b25!important;font-size:18px!important;font-weight:900!important;line-height:1.25!important;letter-spacing:-.05em}
  .swx-overview-card{display:none!important}
  .swx-compact-review-card{order:1!important}
  .swx-smart-compare-card{order:2!important}
  .swx-review-card{order:3!important}
  .swx-basic-card{order:4!important}
  .swx-time-card{display:none!important}
  .swx-room-card-block{order:5!important}.swx-facility-card{order:6!important}.swx-location-card{order:7!important}.swx-related-card{display:none!important}.swx-recommend-card{display:none!important}.swx-faq-card{order:8!important}

  .swx-compact-review-head{margin-bottom:10px}.swx-compact-review-head h2{font-size:18px!important}.swx-compact-review-head span{font-size:11px}.swx-compact-review-head button{height:32px;padding:0 10px;font-size:11px;background:#fafafa}
  .swx-compact-review-card blockquote{margin:3px 0 12px;font-size:18px;line-height:1.5;letter-spacing:-.05em;text-align:center}
  .swx-compact-review-grid{grid-template-columns:1fr 1fr;gap:8px}
  .swx-compact-review-grid>div{padding:12px 10px;border-radius:14px}.swx-compact-review-grid strong{margin-bottom:8px;font-size:12px}.swx-compact-review-grid p{margin-top:7px;font-size:11px;line-height:1.38;letter-spacing:-.025em}.swx-compact-review-grid p span{width:16px;height:16px;font-size:10px}

  .swx-smart-compare-card .swx-card-heading{margin-bottom:10px}.swx-smart-compare-card .swx-card-heading h2{margin:0!important}.swx-smart-compare-card .swx-card-heading a{font-size:12px!important;color:#6b7280!important}
  .swx-smart-compare-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .swx-smart-compare-item{display:block!important;padding:0!important;border-radius:16px!important;overflow:hidden!important;box-shadow:none!important;border:1px solid #edf0f4!important}
  .swx-smart-compare-image{width:100%!important;height:112px!important;border-radius:0!important}.swx-smart-compare-copy{display:block;padding:11px 11px 12px}.swx-smart-compare-copy strong{font-size:14px!important;letter-spacing:-.045em}.swx-smart-compare-copy small{font-size:10px}.swx-smart-tags{gap:5px;margin-top:8px}.swx-smart-tags b{padding:5px 7px;font-size:10px}.swx-smart-compare-copy em{margin-top:8px;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

  .swx-review-card .swx-review-heading h2{font-size:18px!important}.swx-review-eyebrow{font-size:10px!important}.swx-review-heading p{font-size:12px!important;line-height:1.45}.swx-review-columns{grid-template-columns:1fr!important;gap:9px!important}.swx-review-panel{padding:13px!important;border-radius:15px!important}.swx-review-panel h3{font-size:13px!important}.swx-review-panel li{font-size:12px!important;line-height:1.45!important}.swx-review-tags span{font-size:11px!important}
  .swx-info-table>div{grid-template-columns:86px 1fr!important;font-size:12px!important}.swx-primary-room{grid-template-columns:96px 1fr!important}.swx-primary-room-image{width:96px!important;height:78px!important}.swx-primary-room-copy h3{font-size:14px!important}.swx-primary-room-copy p{font-size:11px!important}.swx-facilities{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.swx-facilities>div{min-height:78px;border-radius:14px!important}.swx-location-map,.swx-naver-map,.swx-map-placeholder{height:210px!important;border-radius:15px!important}
  .swx-faq details{border-color:#edf0f4!important}.swx-faq summary{font-size:13px!important;font-weight:850!important}.swx-faq p{font-size:12px!important;line-height:1.5!important}

  .swx-mobile-sticky{left:50%!important;right:auto!important;bottom:0!important;width:min(430px,100vw)!important;transform:translateX(-50%)!important;height:72px!important;display:grid!important;grid-template-columns:132px 1fr!important;gap:10px!important;align-items:center!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(17,24,39,.08)!important;border-left:0!important;border-right:0!important;box-shadow:0 -10px 30px rgba(17,24,39,.12)!important;backdrop-filter:blur(14px)!important}
  .swx-mobile-sticky:before{content:'가격은 예약처에서\A실시간 확인';white-space:pre-line;color:#606776;font-size:12px;font-weight:800;line-height:1.35;letter-spacing:-.025em}
  .swx-mobile-sticky>.swx-affiliate-buttons{display:block!important;margin:0!important}.swx-mobile-sticky .swx-affiliate-button{height:52px!important;border-radius:13px!important;background:linear-gradient(135deg,var(--swx-hot),var(--swx-hot-dark))!important;color:#fff!important;border:0!important;font-size:16px!important;font-weight:900!important}.swx-mobile-sticky .swx-affiliate-button.is-yeogi,.swx-mobile-sticky .swx-affiliate-button:nth-child(n+2){display:none!important}.swx-mobile-sticky>a.is-secondary{display:none!important}
}


/* v5.3.27 — 상세페이지 톤에 맞춘 비교 페이지 카드/표 */
.swcompare-slot--detail {
  border-radius: 20px !important;
  border: 1px solid #e9edf4 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.065) !important;
  overflow: hidden !important;
}

.swcompare-slot--detail .swcompare-slot-image {
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.swcompare-location-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8,24,49,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.swcompare-ai-summary {
  margin: 8px 0 10px !important;
  color: #5f6b7a !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  word-break: keep-all;
}

.swcompare-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.swcompare-mini-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #4b5563;
  font-size: 10.5px;
  font-weight: 850;
  white-space: nowrap;
}

.swcompare-table--detail {
  border: 1px solid #e9edf4 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.055);
}

.swcompare-table--detail .swcompare-row {
  border-bottom-color: #edf0f4 !important;
}

.swcompare-table--detail .swcompare-row > strong {
  background: #f8fafc !important;
  color: #111827 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.swcompare-table--detail .swcompare-row > div {
  color: #4b5563 !important;
  word-break: keep-all !important;
}

.swcompare-table--detail .swcompare-row--head > strong,
.swcompare-table--detail .swcompare-row--head > div {
  background: #111827 !important;
  color: #fff !important;
}

.swcompare-data-note {
  border-radius: 16px !important;
  background: #fff7fb !important;
  border: 1px solid #ffe1ec !important;
}

@media (max-width: 768px) {
  .swcompare-table--detail .swcompare-row {
    grid-template-columns: 96px repeat(2, minmax(0,1fr)) !important;
  }

  .swcompare-table--detail .swcompare-row > strong,
  .swcompare-table--detail .swcompare-row > div {
    padding: 12px 10px !important;
    font-size: 11.5px !important;
  }

  .swcompare-slot--detail {
    grid-template-columns: 112px minmax(0,1fr) !important;
  }
}

@media (max-width: 420px) {
  .swcompare-slot--detail {
    grid-template-columns: 104px minmax(0,1fr) !important;
  }

  .swcompare-ai-summary {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .swcompare-mini-badges span {
    font-size: 10px;
  }
}


/* v5.3.28 — 비교 트레이가 홈 하단 메뉴에 가려지지 않도록 보정 */
body.swkto-home-app-body > .swcompare-tray,
body:has(.swm-home-tabbar) > .swcompare-tray {
  bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  z-index: 100000 !important;
}

/* v5.3.28 — 비교 페이지 글자량 축소 및 버튼 정리 */
.swcompare-ai-summary {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.swcompare-mini-badges span {
  max-width: 100%;
}

.swcompare-slot-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 7px !important;
}

.swcompare-slot-actions > a {
  min-height: 40px !important;
  padding: 0 10px !important;
  border-radius: 13px !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.swcompare-slot-actions .swcompare-booking-link.is-secondary {
  background: #fff !important;
  color: #ff2b72 !important;
  border-color: #ff2b72 !important;
}

.swcompare-table--detail .swcompare-row > div {
  line-height: 1.5 !important;
}

.swcompare-row--actions .swcompare-action-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
}

.swcompare-row--actions .swcompare-booking-link {
  min-height: 42px !important;
  border-radius: 12px !important;
  font-size: 10.5px !important;
}

@media (max-width: 768px) {
  body.swkto-home-app-body > .swcompare-tray,
  body:has(.swm-home-tabbar) > .swcompare-tray {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .swcompare-slot-actions {
    grid-template-columns: 1fr !important;
  }

  .swcompare-table--detail .swcompare-row {
    grid-template-columns: 82px repeat(2, minmax(0, 1fr)) !important;
  }

  .swcompare-table--detail .swcompare-row > strong,
  .swcompare-table--detail .swcompare-row > div {
    padding: 11px 8px !important;
    font-size: 10.5px !important;
  }
}


/* v5.3.29 — 홈 사진 하단 자연스러운 그라데이션 */
.swm-home-hero::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 96px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.82) 62%, #fff 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* v5.3.29 — 비교 트레이가 하단 메뉴에 가려지지 않게 */
body > .swcompare-tray,
body.swkto-home-app-body > .swcompare-tray,
body:has(.swm-home-tabbar) > .swcompare-tray {
  bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  z-index: 100005 !important;
  width: min(410px, calc(100vw - 24px)) !important;
}

/* v5.3.29 — 비교 상단 카드: 사진이 잘 보이도록 전면 재정렬 */
.swcompare-slots {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.swcompare-slot--top-image,
.swcompare-slot--detail.swcompare-slot--top-image,
.swcompare-slot--detail.swcompare-slot--top-image:not(.is-empty) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-height: 0 !important;
  padding: 12px !important;
  gap: 0 !important;
  border-radius: 20px !important;
  border: 1px solid #e9edf4 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.065) !important;
  overflow: hidden !important;
}

.swcompare-slot--top-image > a.swcompare-slot-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  margin: 0 0 11px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #edf0f3 !important;
  position: relative !important;
}

.swcompare-slot--top-image .swcompare-slot-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.swcompare-slot--top-image .swcompare-location-badge {
  position: absolute !important;
  left: 9px !important;
  bottom: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  max-width: calc(100% - 18px) !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(8,24,49,.78) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.swcompare-slot--top-image .swcompare-slot-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  width: 100% !important;
}

.swcompare-slot--top-image .swcompare-slot-title strong {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 950 !important;
  word-break: keep-all !important;
}

.swcompare-slot--top-image .swcompare-ai-summary {
  min-height: 36px !important;
  margin: 7px 0 8px !important;
  color: #5f6b7a !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  -webkit-line-clamp: 2 !important;
}

.swcompare-slot--top-image .swcompare-mini-badges {
  gap: 5px !important;
  margin-bottom: 8px !important;
}

.swcompare-slot--top-image .swcompare-mini-badges span {
  min-height: 24px !important;
  padding: 0 7px !important;
  font-size: 9.5px !important;
}

.swcompare-slot--top-image .swcompare-slot-actions.is-simple {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.swcompare-slot--top-image .swcompare-detail-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 36px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e5eaf1 !important;
  color: #111827 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.swcompare-slot--top-image .swcompare-remove-button {
  margin: 6px 0 0 auto !important;
  font-size: 9px !important;
}

/* v5.3.29 — 비교 내용: 표 대신 상세페이지형 요약 카드 */
.swcompare-table--detail {
  display: none !important;
}

.swcompare-data-note--simple {
  margin: 0 0 12px !important;
  padding: 13px 14px !important;
  border-radius: 18px !important;
  background: #fff7fb !important;
  border: 1px solid #ffe1ec !important;
}

.swcompare-data-note--simple strong {
  display: block !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.swcompare-data-note--simple span {
  display: block !important;
  margin-top: 4px !important;
  color: #7b8493 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

.swcompare-brief-list {
  display: grid !important;
  gap: 12px !important;
}

.swcompare-brief-section {
  padding: 14px !important;
  border-radius: 20px !important;
  background: #fff !important;
  border: 1px solid #e9edf4 !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.045) !important;
}

.swcompare-brief-section h3 {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
}

.swcompare-brief-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 10px !important;
}

.swcompare-brief-card {
  min-width: 0 !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  border: 1px solid #edf1f6 !important;
}

.swcompare-brief-card > strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  word-break: keep-all !important;
}

.swcompare-brief-card p {
  margin: 0 !important;
  color: #4b5563 !important;
  font-size: 11.5px !important;
  line-height: 1.52 !important;
  word-break: keep-all !important;
}

.swcompare-brief-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.swcompare-brief-badges span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #5b21b6 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.swcompare-info-line {
  display: grid !important;
  gap: 4px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #edf1f6 !important;
}

.swcompare-info-line:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.swcompare-info-line span {
  color: #8a93a3 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
}

.swcompare-info-line b {
  color: #111827 !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
  word-break: keep-all !important;
}

.swcompare-brief-actions {
  display: grid !important;
  gap: 8px !important;
}

.swcompare-brief-actions .swcompare-booking-link {
  width: 100% !important;
  min-height: 40px !important;
  border-radius: 13px !important;
  font-size: 11px !important;
}

@media (max-width: 768px) {
  .swcompare-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .swcompare-slot--top-image,
  .swcompare-slot--detail.swcompare-slot--top-image,
  .swcompare-slot--detail.swcompare-slot--top-image:not(.is-empty) {
    padding: 10px !important;
  }

  .swcompare-slot--top-image .swcompare-slot-title strong {
    font-size: 13px !important;
  }

  .swcompare-slot--top-image .swcompare-ai-summary {
    font-size: 10.8px !important;
  }

  .swcompare-brief-section {
    padding: 13px !important;
  }

  .swcompare-brief-grid {
    gap: 8px !important;
  }

  .swcompare-brief-card {
    padding: 10px !important;
  }

  body > .swcompare-tray,
  body.swkto-home-app-body > .swcompare-tray,
  body:has(.swm-home-tabbar) > .swcompare-tray {
    bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 420px) {
  .swcompare-slots {
    gap: 9px !important;
  }

  .swcompare-slot--top-image > a.swcompare-slot-image {
    aspect-ratio: 1 / .78 !important;
    margin-bottom: 9px !important;
  }

  .swcompare-brief-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .swcompare-brief-card p {
    font-size: 11px !important;
  }
}


/* v5.3.31 — 비교페이지를 상세페이지 카드형 비교로 재구성 */
.swcompare-data-note,
.swcompare-data-note--simple,
.swcompare-brief-list,
.swcompare-table--detail,
.swcompare-compact-wrap {
  display: none !important;
}

/* 상단 숙소 카드 */
.swcompare-slots {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

.swcompare-slot--visual {
  display: block !important;
  padding: 12px !important;
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid #e9edf4 !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  overflow: hidden !important;
}

.swcompare-slot--visual .swcompare-slot-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #edf0f4 !important;
}

.swcompare-slot--visual .swcompare-slot-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.swcompare-slot--visual .swcompare-location-badge {
  position: absolute !important;
  left: 10px !important;
  bottom: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: rgba(8,24,49,.78) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.swcompare-slot--visual .swcompare-slot-copy {
  padding-top: 12px !important;
}

.swcompare-slot--visual .swcompare-slot-title strong {
  display: block !important;
  margin: 0 !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  word-break: keep-all !important;
}

.swcompare-slot--visual .swcompare-slot-summary {
  margin: 8px 0 10px !important;
  color: #667085 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.swcompare-slot--visual .swcompare-mini-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}

.swcompare-slot--visual .swcompare-mini-badges span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #f3f6fb !important;
  color: #5b21b6 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.swcompare-slot--visual .swcompare-slot-actions.is-simple {
  margin-top: 0 !important;
}

.swcompare-slot--visual .swcompare-detail-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  width: 100% !important;
  border-radius: 14px !important;
  border: 1px solid #dbe2eb !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.swcompare-slot--visual .swcompare-remove-button {
  display: block !important;
  margin: 7px 0 0 auto !important;
  color: #94a3b8 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

/* 상세페이지형 섹션 */
.swcompare-showcase {
  display: grid !important;
  gap: 16px !important;
}

.swcompare-showcase-section {
  padding: 16px !important;
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid #e9edf4 !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.045) !important;
}

.swcompare-showcase-section > h3 {
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
}

.swcompare-showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.swcompare-visual-card {
  min-width: 0 !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: #fbfcfe !important;
  border: 1px solid #edf1f6 !important;
}

.swcompare-visual-card > h4 {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
  word-break: keep-all !important;
}

.swcompare-visual-ai {
  border-radius: 16px !important;
  background: #faf8ff !important;
  padding: 12px !important;
}

.swcompare-visual-ai-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #efe8ff !important;
  color: #7c3aed !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  margin-bottom: 8px !important;
}

.swcompare-visual-ai p {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  word-break: keep-all !important;
}

.swcompare-visual-quote {
  margin: 0 0 12px !important;
  padding: 0 4px !important;
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 800 !important;
  font-style: italic !important;
  text-align: center !important;
  word-break: keep-all !important;
}

.swcompare-visual-two-boxes {
  display: grid !important;
  gap: 10px !important;
}

.swcompare-visual-mini-box {
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid #edf1f6 !important;
  background: #fff !important;
}

.swcompare-visual-mini-box.is-good {
  background: #f9fcfb !important;
}

.swcompare-visual-mini-box.is-check {
  background: #fffaf8 !important;
}

.swcompare-visual-mini-box h5 {
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.swcompare-visual-mini-box ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 8px !important;
}

.swcompare-visual-mini-box li {
  position: relative !important;
  padding-left: 18px !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
}

.swcompare-visual-mini-box ul.is-good li:before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #22c55e !important;
  font-weight: 900 !important;
}

.swcompare-visual-mini-box ul.is-check li:before {
  content: '!' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: #fb923c !important;
  font-weight: 900 !important;
}

.swcompare-visual-detail-list,
.swcompare-visual-precheck {
  display: grid !important;
  gap: 10px !important;
}

.swcompare-visual-info {
  display: grid !important;
  grid-template-columns: 44px minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid #edf1f6 !important;
}

.swcompare-visual-icon {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.swcompare-visual-info.is-blue .swcompare-visual-icon {
  background: #eff6ff !important;
}

.swcompare-visual-info.is-red .swcompare-visual-icon {
  background: #fff2f4 !important;
}

.swcompare-visual-info.is-indigo .swcompare-visual-icon {
  background: #eef2ff !important;
}

.swcompare-visual-copy b {
  display: block !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  margin-bottom: 4px !important;
}

.swcompare-visual-copy strong {
  display: block !important;
  color: #111827 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  word-break: keep-all !important;
}

.swcompare-visual-copy small {
  display: block !important;
  color: #94a3b8 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
}

.swcompare-visual-booking {
  display: grid !important;
  gap: 10px !important;
}

.swcompare-visual-booking .swcompare-booking-link {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}

.swcompare-visual-booking .swcompare-booking-link.is-secondary {
  background: #fff !important;
  border-color: #ff2b72 !important;
  color: #ff2b72 !important;
}

@media (max-width: 768px) {
  .swcompare-slot--visual .swcompare-slot-title strong {
    font-size: 15px !important;
  }
  .swcompare-showcase-section {
    padding: 14px !important;
  }
}

@media (max-width: 420px) {
  .swcompare-slots {
    gap: 10px !important;
  }

  .swcompare-slot--visual {
    padding: 10px !important;
  }

  .swcompare-slot--visual .swcompare-slot-title strong {
    font-size: 14px !important;
  }

  .swcompare-slot--visual .swcompare-slot-summary {
    font-size: 11.5px !important;
  }

  .swcompare-showcase-grid {
    gap: 10px !important;
  }

  .swcompare-visual-card {
    padding: 12px !important;
  }

  .swcompare-visual-card > h4 {
    font-size: 13px !important;
  }

  .swcompare-visual-ai p,
  .swcompare-visual-quote,
  .swcompare-visual-mini-box li,
  .swcompare-visual-copy strong {
    font-size: 11.5px !important;
  }
}


/* v5.3.32 — 비교페이지 가독성 재정렬: 모바일에서는 무조건 넓게 읽히게 */
.swcompare-slots {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.swcompare-slot--visual,
.swcompare-slot--detail.swcompare-slot--visual,
.swcompare-slot--visual:not(.is-empty) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 12px !important;
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid #e9edf4 !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  overflow: hidden !important;
}

.swcompare-slots .swcompare-slot--visual:nth-child(1)::before,
.swcompare-slots .swcompare-slot--visual:nth-child(2)::before {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  box-shadow: 0 6px 14px rgba(15,23,42,.18) !important;
}

.swcompare-slots .swcompare-slot--visual:nth-child(1)::before {
  content: 'A' !important;
  background: #ff2b72 !important;
}

.swcompare-slots .swcompare-slot--visual:nth-child(2)::before {
  content: 'B' !important;
  background: #2563eb !important;
}

.swcompare-slot--visual .swcompare-slot-image,
.swcompare-slot--visual > a.swcompare-slot-image {
  position: relative !important;
  display: block !important;
  width: 132px !important;
  height: 132px !important;
  min-height: 132px !important;
  max-height: 132px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #edf0f4 !important;
}

.swcompare-slot--visual .swcompare-slot-image img,
.swcompare-slot--visual > a.swcompare-slot-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.swcompare-slot--visual .swcompare-location-badge {
  left: 8px !important;
  right: auto !important;
  bottom: 8px !important;
  max-width: calc(100% - 16px) !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  font-size: 9.5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.swcompare-slot--visual .swcompare-slot-copy {
  min-width: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.swcompare-slot--visual .swcompare-slot-title strong {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
  word-break: keep-all !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.swcompare-slot--visual .swcompare-slot-summary {
  margin: 7px 0 9px !important;
  font-size: 12px !important;
  line-height: 1.48 !important;
  color: #667085 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.swcompare-slot--visual .swcompare-mini-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin: 0 0 10px !important;
}

.swcompare-slot--visual .swcompare-mini-badges span {
  min-height: 24px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.swcompare-slot--visual .swcompare-detail-link {
  min-height: 38px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
}

.swcompare-slot--visual .swcompare-remove-button {
  margin-top: 6px !important;
  font-size: 9.5px !important;
}

/* 상세페이지처럼 보이되, 비교 카드가 좁아지지 않도록 1열로 */
.swcompare-showcase {
  display: grid !important;
  gap: 14px !important;
}

.swcompare-showcase-section {
  padding: 15px !important;
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid #e9edf4 !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.045) !important;
}

.swcompare-showcase-section > h3 {
  margin: 0 0 12px !important;
  color: #111827 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

.swcompare-showcase-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.swcompare-visual-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: #fbfcfe !important;
  border: 1px solid #edf1f6 !important;
}

.swcompare-showcase-grid .swcompare-visual-card:nth-child(1) {
  border-left: 4px solid #ff2b72 !important;
}

.swcompare-showcase-grid .swcompare-visual-card:nth-child(2) {
  border-left: 4px solid #2563eb !important;
}

.swcompare-visual-card > h4 {
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
  word-break: keep-all !important;
}

/* AI 요약 */
.swcompare-visual-ai {
  padding: 12px !important;
  border-radius: 16px !important;
  background: #faf8ff !important;
}

.swcompare-visual-ai-badge {
  margin-bottom: 8px !important;
}

.swcompare-visual-ai p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  word-break: keep-all !important;
}

/* 후기 요약: 상세페이지처럼 박스는 유지하되 읽기 폭 확보 */
.swcompare-visual-quote {
  margin: 0 0 12px !important;
  padding: 0 6px !important;
  font-size: 13px !important;
  line-height: 1.58 !important;
  text-align: center !important;
  word-break: keep-all !important;
}

.swcompare-visual-two-boxes {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.swcompare-visual-mini-box {
  padding: 12px !important;
  border-radius: 16px !important;
}

.swcompare-visual-mini-box h5 {
  font-size: 13px !important;
}

.swcompare-visual-mini-box li {
  font-size: 12px !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
}

/* 후기 자세히 / 예약 전 체크 */
.swcompare-visual-detail-list,
.swcompare-visual-precheck {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

.swcompare-visual-info {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 12px !important;
  border-radius: 16px !important;
}

.swcompare-visual-icon {
  width: 40px !important;
  height: 40px !important;
}

.swcompare-visual-copy b {
  font-size: 13px !important;
}

.swcompare-visual-copy strong {
  font-size: 13px !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
}

.swcompare-visual-copy small {
  font-size: 11px !important;
  line-height: 1.4 !important;
}

/* 예약 버튼 */
.swcompare-visual-booking {
  display: grid !important;
  gap: 8px !important;
}

.swcompare-visual-booking .swcompare-booking-link {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}

.swcompare-visual-booking .swcompare-booking-link.is-secondary {
  background: #fff !important;
  border-color: #ff2b72 !important;
  color: #ff2b72 !important;
}

/* 기존 표/압축 비교가 섞여 보이지 않게 */
.swcompare-data-note,
.swcompare-data-note--simple,
.swcompare-compact-wrap,
.swcompare-table--detail,
.swcompare-brief-list {
  display: none !important;
}

@media (max-width: 420px) {
  .swcompare-slot--visual,
  .swcompare-slot--detail.swcompare-slot--visual,
  .swcompare-slot--visual:not(.is-empty) {
    grid-template-columns: 118px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .swcompare-slot--visual .swcompare-slot-image,
  .swcompare-slot--visual > a.swcompare-slot-image {
    width: 118px !important;
    height: 126px !important;
    min-height: 126px !important;
    max-height: 126px !important;
    border-radius: 16px !important;
  }

  .swcompare-slot--visual .swcompare-slot-title strong {
    font-size: 14px !important;
  }

  .swcompare-slot--visual .swcompare-slot-summary {
    font-size: 11.5px !important;
  }

  .swcompare-slot--visual .swcompare-mini-badges span {
    font-size: 9px !important;
    padding: 0 7px !important;
  }

  .swcompare-showcase-section {
    padding: 14px !important;
  }

  .swcompare-visual-card {
    padding: 13px !important;
  }
}


/* v5.3.33 — compare page hero, bottom nav, booking button alignment */
.swkto-utility-app-body,
.swkto-utility-app-body .site,
.swkto-utility-app-body .site-content,
.swkto-utility-app-body .content-area,
.swkto-utility-app-body .inside-article,
.swkto-utility-app-body .entry-content {
  background: #fff !important;
}

.swkto-utility-page {
  padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}

.swkto-utility-page .swapp-content {
  padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
}

.swkto-utility-page .swm-home-tabbar {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  z-index: 100020 !important;
  pointer-events: auto !important;
}

.swkto-utility-page .swm-home-tabbar,
.swkto-utility-page .swm-home-tabbar * {
  box-sizing: border-box !important;
}

.swkto-utility-page .swm-home-tabbar a {
  pointer-events: auto !important;
}

.swutil-hero--media {
  position: relative !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 250px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  box-shadow: 0 20px 34px rgba(17,24,39,.12) !important;
}

.swutil-hero--media > span,
.swutil-hero--media h1,
.swutil-hero--media p {
  position: relative;
  z-index: 1;
}

.swutil-hero--media > span {
  color: #9ef0d7 !important;
}

.swutil-hero--media p {
  color: rgba(255,255,255,.9) !important;
  max-width: 460px;
}

.swcompare-slots {
  align-items: stretch !important;
}

.swcompare-slot {
  align-items: stretch !important;
}

.swcompare-slot-image {
  min-height: 132px !important;
}

.swcompare-slot-copy {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.swcompare-slot-title strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.32 !important;
}

.swcompare-slot-copy > span,
.swcompare-slot-copy > p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.swcompare-visual-booking,
.swcompare-action-links,
.swcompare-slot-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

.swcompare-booking-link,
.swcompare-visual-booking .swcompare-booking-link,
.swcompare-action-links .swcompare-booking-link,
.swcompare-slot-actions .swcompare-booking-link {
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.swcompare-booking-link .swcompare-booking-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.15 !important;
}

.swcompare-booking-link .swcompare-booking-icon {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.swcompare-booking-link.is-yanolja {
  background: linear-gradient(135deg, var(--swm-hot, #ff2b72), var(--swm-hot-dark, #e61e63)) !important;
  color: #fff !important;
  border: 0 !important;
}

.swcompare-booking-link.is-yeogi {
  background: #fff !important;
  color: var(--swm-hot, #ff2b72) !important;
  border: 1.5px solid var(--swm-hot, #ff2b72) !important;
  box-shadow: 0 6px 18px rgba(255,43,114,.08) !important;
}

.swcompare-booking-link.is-yeogi:hover {
  background: #fff5f8 !important;
}

body > .swcompare-tray.has-bottom-nav {
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  z-index: 100030 !important;
}

body > .swcompare-tray {
  pointer-events: auto !important;
}

body > .swcompare-tray .swcompare-tray-go,
body > .swcompare-tray .swcompare-tray-clear {
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .swkto-utility-page .swm-home-tabbar {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    transform: none !important;
  }

  .swutil-hero--media {
    min-height: 214px !important;
    padding: 22px 18px !important;
    border-radius: 0 0 24px 24px !important;
  }

  .swutil-hero--media h1 {
    font-size: 42px !important;
    line-height: 1.08 !important;
  }

  .swutil-hero--media p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .swcompare-slots {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .swcompare-slot {
    grid-template-columns: 110px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 13px !important;
  }

  .swcompare-slot-image {
    min-height: 120px !important;
    height: 120px !important;
  }

  .swcompare-slot-actions {
    margin-top: auto !important;
  }

  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-visual-booking .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    min-height: 50px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 430px) {
  .swcompare-showcase-grid {
    gap: 10px !important;
  }

  .swcompare-visual-card {
    padding: 12px !important;
  }

  .swcompare-visual-card-head strong {
    font-size: 14px !important;
    line-height: 1.28 !important;
  }

  .swcompare-booking-link,
  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-visual-booking .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    min-height: 48px !important;
    font-size: 13.5px !important;
    border-radius: 13px !important;
    padding: 0 10px !important;
  }
}


/* v5.3.34 — 하단 메뉴/비교 버튼/사진 태그 최종 보정 */
.swkto-local {
  --swm-hot: #ff2b72;
  --swm-hot-dark: #e61e63;
}

/* 하단 앱 메뉴: 홈 외 비교/찜 페이지에서도 동일하게 적용 */
.swm-home-tabbar,
.swkto-utility-page .swm-home-tabbar {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  z-index: 100040 !important;
  width: min(430px, 100vw) !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 8px !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  background: rgba(255,255,255,.96) !important;
  border-top: 1px solid #edf0f4 !important;
  box-shadow: 0 -12px 30px rgba(17,24,39,.12) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  pointer-events: auto !important;
}

.swm-home-tabbar *,
.swkto-utility-page .swm-home-tabbar * {
  box-sizing: border-box !important;
}

.swm-home-tabbar a,
.swkto-utility-page .swm-home-tabbar a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0 !important;
  height: 58px !important;
  padding: 6px 4px !important;
  border: 1px solid #e8edf4 !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  color: #6b7280 !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(15,23,42,.045) !important;
  pointer-events: auto !important;
}

.swm-home-tabbar a .swm-tab-icon,
.swkto-utility-page .swm-home-tabbar a .swm-tab-icon {
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: currentColor !important;
  box-shadow: 0 4px 10px rgba(15,23,42,.08) !important;
}

.swm-home-tabbar a .swm-tab-icon svg,
.swkto-utility-page .swm-home-tabbar a .swm-tab-icon svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.swm-home-tabbar a .swm-tab-label,
.swkto-utility-page .swm-home-tabbar a .swm-tab-label {
  display: block !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
}

.swm-home-tabbar a.is-active,
.swkto-utility-page .swm-home-tabbar a.is-active {
  background: linear-gradient(180deg,#fff1f6 0%,#ffe7ef 100%) !important;
  border-color: #ffd3e1 !important;
  color: #ff2b72 !important;
  box-shadow: 0 10px 20px rgba(255,43,114,.16) !important;
}

.swm-home-tabbar a.is-active .swm-tab-icon,
.swkto-utility-page .swm-home-tabbar a.is-active .swm-tab-icon {
  background: #ff2b72 !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(255,43,114,.28) !important;
}

/* 비교 트레이가 숨겨졌을 때 하단 메뉴 클릭을 막지 않게 */
body > .swcompare-tray:not(.is-visible) {
  pointer-events: none !important;
}

body > .swcompare-tray.has-bottom-nav,
body.swkto-home-app-body > .swcompare-tray,
body.swkto-utility-app-body > .swcompare-tray,
body:has(.swm-home-tabbar) > .swcompare-tray {
  bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  z-index: 100050 !important;
  pointer-events: auto !important;
}

/* 비교페이지 이미지 위 지역은 넓은 검은 띠가 아니라 작은 태그처럼만 */
.swcompare-slot-image,
.swcompare-slot--visual .swcompare-slot-image {
  position: relative !important;
  overflow: hidden !important;
}

.swcompare-slot-image::before,
.swcompare-slot-image::after,
.swcompare-slot--visual .swcompare-slot-image::before,
.swcompare-slot--visual .swcompare-slot-image::after {
  content: none !important;
  display: none !important;
}

.swcompare-slot-image .swcompare-location-badge,
.swcompare-slot--visual .swcompare-location-badge,
.swcompare-slot--detail .swcompare-location-badge {
  position: absolute !important;
  left: 9px !important;
  right: auto !important;
  top: auto !important;
  bottom: 9px !important;
  width: auto !important;
  max-width: calc(100% - 18px) !important;
  height: auto !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(8,24,49,.78) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* 비교페이지 예약 버튼은 상세페이지 CTA와 동일한 감각으로 정렬 */
.swcompare-visual-booking,
.swcompare-slot-actions,
.swcompare-action-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

.swcompare-booking-link,
.swcompare-visual-booking .swcompare-booking-link,
.swcompare-slot-actions .swcompare-booking-link,
.swcompare-action-links .swcompare-booking-link {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.swcompare-booking-link .swcompare-booking-text,
.swcompare-booking-link .swcompare-booking-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.swcompare-booking-link.is-yanolja {
  background: linear-gradient(135deg, var(--swm-hot, #ff2b72), var(--swm-hot-dark, #e61e63)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(233,30,99,.20) !important;
}

.swcompare-booking-link.is-yeogi {
  background: #fff !important;
  color: var(--swm-hot, #ff2b72) !important;
  border: 1.5px solid var(--swm-hot, #ff2b72) !important;
  box-shadow: 0 6px 18px rgba(255,43,114,.08) !important;
}

/* 세로 카드 레이아웃에서 사진이 과하게 좁아지지 않게 */
@media (max-width: 768px) {
  .swm-home-tabbar,
  .swkto-utility-page .swm-home-tabbar {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    transform: none !important;
    gap: 7px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .swm-home-tabbar a,
  .swkto-utility-page .swm-home-tabbar a {
    height: 56px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .swcompare-slot {
    grid-template-columns: 116px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .swcompare-slot-image,
  .swcompare-slot--visual .swcompare-slot-image {
    width: 116px !important;
    min-width: 116px !important;
    height: 132px !important;
    min-height: 132px !important;
    border-radius: 16px !important;
  }

  .swcompare-booking-link,
  .swcompare-visual-booking .swcompare-booking-link,
  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 430px) {
  .swcompare-slot {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }

  .swcompare-slot-image,
  .swcompare-slot--visual .swcompare-slot-image {
    width: 108px !important;
    min-width: 108px !important;
    height: 126px !important;
    min-height: 126px !important;
  }

  .swcompare-booking-link,
  .swcompare-visual-booking .swcompare-booking-link,
  .swcompare-slot-actions .swcompare-booking-link,
  .swcompare-action-links .swcompare-booking-link {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    font-size: 13.5px !important;
    border-radius: 13px !important;
  }
}


/* v5.3.35 — 하단 메뉴 클릭 방해 레이어 차단 */
.swm-home-tabbar,
.swkto-utility-page .swm-home-tabbar {
  z-index: 2147482000 !important;
  pointer-events: auto !important;
  isolation: isolate !important;
  touch-action: manipulation !important;
}

.swm-home-tabbar a,
.swkto-utility-page .swm-home-tabbar a,
.swm-home-tabbar a *,
.swkto-utility-page .swm-home-tabbar a * {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

/* 비교 선택 트레이는 하단 메뉴보다 낮게 두고, 숨김 상태에서는 완전히 클릭 차단 */
body > .swcompare-tray {
  z-index: 2147481000 !important;
}

body > .swcompare-tray:not(.is-visible) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 160%) !important;
}

body > .swcompare-tray.is-visible {
  visibility: visible !important;
  pointer-events: auto !important;
}

body > .swcompare-tray.has-bottom-nav,
body.swkto-home-app-body > .swcompare-tray,
body.swkto-utility-app-body > .swcompare-tray,
body:has(.swm-home-tabbar) > .swcompare-tray {
  bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  z-index: 2147481000 !important;
}

/* 일부 테마/엘리멘터/카드 pseudo 요소가 화면 하단 클릭을 먹는 경우 방지 */
.swkto-local::before,
.swkto-local::after,
.swkto-app-shell::before,
.swkto-app-shell::after,
.swm-home-page::before,
.swm-home-page::after,
.swapp-content::before,
.swapp-content::after,
.swm-home-content::before,
.swm-home-content::after {
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .swm-home-tabbar,
  .swkto-utility-page .swm-home-tabbar {
    z-index: 2147482000 !important;
  }

  body > .swcompare-tray.has-bottom-nav,
  body.swkto-home-app-body > .swcompare-tray,
  body.swkto-utility-app-body > .swcompare-tray,
  body:has(.swm-home-tabbar) > .swcompare-tray {
    bottom: calc(98px + env(safe-area-inset-bottom)) !important;
  }
}
