/* 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 h1{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 h1 {
    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 h1 {
    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;
  }
}
