


   :root{
      --bg:#ffffff;
      --text:#1f2937;            /* gray-800 */
      --muted:#6b7280;           /* gray-500 */
      --brand:#ff4e45;           /* primary */
      --brand-700:#e63b33;
      --accent:#fff3ef;          /* soft brand tint */
      --card:#ffffff;
      --border:#e5e7eb;          /* gray-200 */
      --shadow: 0 12px 28px rgba(0,0,0,.08);
      --radius-xl:24px;
      --radius-lg:16px;
      --radius-md:12px;
      --event-slider-gap:16px;
    }

    /* Reset & base */
    *,*::before,*::after{box-sizing:border-box}
    html,body{height:100%}
    body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Apple SD Gothic Neo,Noto Sans KR,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.5}
    img{max-width:100%;display:block}
    a{color:inherit;text-decoration:none}
    .sz_container{width:min(1200px,92%);margin-inline:auto}

    /* Utility */
    .chip{display:inline-flex;align-items:center;gap:.5rem;padding:.38rem .8rem;border-radius:999px;border:1px solid var(--border);font-size:.875rem;background:#fff}
    .sz_btn{appearance:none;border:0;border-radius:12px;padding:.85rem 1.05rem;font-weight:700;cursor:pointer}
    .sz_btn-primary{background:var(--brand);color:#fff}
    .sz_btn-ghost{background:#fff;border:1px solid var(--border)}

    /* Header */
    header.site-header{position:sticky;top:0;z-index:50;background:#fff;backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--border)}
    .sz_nav{display:flex;align-items:center;justify-content:space-between;padding:14px 14px}
    .brand{display:flex;align-items:center;gap:.6rem;font-weight:800}
    .brand-badge{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;font-size:.85rem;box-shadow:var(--shadow)}
    .nav-actions{display:flex;gap:.6rem}
    .sz_btn-login{border:1.5px solid var(--brand);color:var(--brand);background:#fff;border-radius:12px;padding:.6rem 1rem;font-weight:800}
    .sz_btn-guest{border:1.5px solid var(--border);color:#374151;background:#fff;border-radius:12px;padding:.6rem 1rem;font-weight:800}

    /* Hero */
    .sz_hero{position:relative;border-radius:var(--radius-xl);overflow:hidden;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.25)),url('/letsnowgo/img/main.jpg') center/cover;height:54vw;max-height:420px;margin-top:14px}
    .sz_hero-content{inset:0;display:grid;place-content:center;text-align:center;color:#fff;padding:1.5rem}
    .sz_hero h1{font-size:clamp(1.3rem,2.6vw,2.2rem);margin:0 0 .3rem}
    .sz_hero p{margin:0 0 .6rem;opacity:.85}

    .sz_container.hero-wide{width:min(1800px,96%);margin-inline:auto}
    .search-card{
      position:relative;
      left:50%;
      transform:translateX(-50%);
      display:flex;
      flex-direction:column;
      
      background:#fff;
      padding:32px 36px 24px;
      border-radius:12px;
      box-shadow:0 30px 60px rgba(15,23,42,.12);
      width:min(800px,92%);
      border:1px solid rgba(0,0,0,.04);
    }
    .sz_tabs.sz_search-tabs{
      display:flex;
      align-items:flex-end;
      gap:32px;
      background:transparent;
      border-radius:0;
      padding:0;
      
    }
    .sz_tabs.sz_search-tabs .sz_tab-btn{
      border:0;
      background:transparent;
      font-size:1.2rem;
      font-weight:800;
      color:#9ca3af;
      padding:0 0 10px;
      position:relative;
      min-width: 100px;
    }
    .sz_tabs.sz_search-tabs .sz_tab-btn.active{
      color:var(--brand);
    }
    .sz_tabs.sz_search-tabs .sz_tab-btn::after{
      content:"";
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      height:3px;
      background:transparent;
      border-radius:999px;
    }
    .sz_tabs.sz_search-tabs .sz_tab-btn.active::after{
      background:var(--brand);
    }
    .tab-badge{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:.68rem;
      font-weight:800;
      background:var(--brand);
      color:#fff;
      border-radius:6px;
      padding:1px 4px;
      margin-left:6px;
    }
    .tabs-divider{
      width:100%;
      height:2px;
      background:#e5e7eb;
      margin-top:-1px;
    }
    .search-inputs{
      display:grid;
      grid-template-columns:0.8fr 1.0fr 0.6fr;
      gap:16px;
      align-items:center;
      width:100%;
      margin-top: 10px;
    }
    .sz_search-field{
      position:relative;
      display:flex;
      align-items:center;
      gap:10px;
      background:#f6f7fb;
      border-radius:10px;
      padding:0 10px;
      height:45px;
      border:2px solid transparent;
      transition:border-color .2s, box-shadow .2s;
    }
    .sz_search-field:focus-within{
      border-color:#2f80ff;
      box-shadow:0 0 0 2px rgba(47,128,255,.15);
    }
    .sz_search-field .field-icon{
      color:#9ca3af;
      font-size:1.2rem;
    }
    .sz_search-field input{
      border:0;
      background:transparent;
      font-size:1.05rem;
      font-weight:600;
      width:100%;
      color:#374151;
      outline:none;
    }
    .sz_search-field input::placeholder{
      color:#a7afb8;
      font-weight:500;
    }
    .btn.search-btn{
      height:45px;
      border-radius:10px;
      padding:0 34px;
      font-size:1.05rem;
      font-weight:800;
      background:#050505;
    }
    .btn.search-btn:hover{
      background:#111;
    }
    @media(max-width:900px){
      .search-inputs{
        grid-template-columns:1fr 1fr;
      }
      .btn.search-btn{
        width:100%;
        grid-column:1 / -1;
      }
    }
    @media(max-width:640px){
      .search-card{
        position:relative;
        
        width:80%;
        padding:16px;
        border-radius:12px;
        
      }
      .sz_hero{height:auto;min-height:420px;padding-bottom:180px}
      .sz_tabs.sz_search-tabs{width:100%;gap:18px}
      .sz_tabs.sz_search-tabs .sz_tab-btn{flex:1;text-align:center;font-size:1rem;padding-bottom:6px}
      .tabs-divider{display:none}
      .search-inputs{
        grid-template-columns:1fr;
        gap:12px;
      }
      .sz_search-field{width:100%}
      .btn.search-btn{
        width:100%;
        height:58px;
      }
    }

    /* Section */
    section{padding:48px 0}
    .section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}
    .section-title{font-size:1.25rem;font-weight:900}
    .section-title .mark{color:var(--brand)}
    .section-sub{color:var(--muted);font-size:.95rem}

    /* Cards */
    .grid{display:grid;gap:14px}
    .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
    .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
    @media (min-width:800px){.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
    @media (min-width:1100px){.grid-3{grid-template-columns:repeat(4,minmax(0,1fr))}}

    .card{background:var(--card);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
    .card-media{aspect-ratio:16/10;background:#eef1f5;overflow:hidden}
    .card-body{padding:12px 14px}
    .card-title{font-weight:800}
    .card-meta{margin-top:4px;color:var(--muted);font-size:.9rem}
    .price{margin-top:8px;font-weight:800}
    .price em{font-style:normal;color:var(--brand)}

    /* Event banner cards */
    .event-slider{position:relative}
    .event-grid{
      height: 288px;
      grid-auto-flow:column;
      grid-auto-columns:calc((100% - var(--event-slider-gap))/2);
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      scroll-behavior:smooth;
      gap:var(--event-slider-gap);
      padding:6px 4px 12px;
      scrollbar-width:none;
      -ms-overflow-style:none;
      cursor:grab;
      user-select:none;
    }
    .event-grid::-webkit-scrollbar{display:none}
    .event-grid.is-dragging{cursor:grabbing}
    @media(max-width:768px){
      .event-grid{grid-auto-columns:100%}
    }
    @media(min-width:900px){
      .event-slider{padding:0 0px}
      .event-grid{
        width:min(100%,1200px);
        margin:0 auto;
      }
      .event-nav.prev{left:calc((100% - min(100%,960px))/2 - 18px)}
      .event-nav.next{right:calc((100% - min(100%,960px))/2 - 18px)}
    }
    .event{position:relative;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border)}
    .event{scroll-snap-align:start}
    .event img{height:288px;width:100%;object-fit:cover}
    .event .event-text{position:absolute;inset:auto 0 0 0;padding:16px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.66));color:#fff}
    .event .badge{position:absolute;top:10px;left:10px;background:#111827;color:#fff;border-radius:999px;padding:.35rem .6rem;font-weight:800;font-size:.8rem}
    .event-nav{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      border:0;
      background:#fff;
      width:40px;
      height:40px;
      border-radius:50%;
      box-shadow:var(--shadow);
      display:grid;
      place-items:center;
      color:#111827;
      cursor:pointer;
      z-index:2;
    }
    .event-nav.prev{left:-18px}
    .event-nav.next{right:-18px}
    .event-nav[disabled]{opacity:.35;cursor:not-allowed}
    

    /* tabs under 인기 객실 */
    .pill-tabs{display:flex;gap:.5rem;margin:.4rem 0 1rem}
    .pill-tabs button{border:1px solid var(--border);background:#fff;padding:.4rem .8rem;border-radius:999px;cursor:pointer;font-weight:700;color:#374151}
    .pill-tabs button.active{background:var(--brand);color:#fff;border-color:var(--brand)}

    /* More divider */
    .more-wrap{display:flex;align-items:center;gap:10px;margin:18px 0}
    .more-wrap::before,.more-wrap::after{content:"";height:1px;background:var(--border);flex:1}
    .more-btn{border:1px solid var(--border);background:#fff;border-radius:999px;padding:.45rem .9rem;font-weight:800;cursor:pointer}

    /* Promo strip */
    .promo{border-radius:24px;background:linear-gradient(140deg,#fff,var(--accent));border:1px solid var(--border);padding:22px;display:flex;flex-wrap:wrap;align-items:center;gap:16px;box-shadow:var(--shadow)}
    .promo h3{margin:0;font-size:1.1rem}
    .promo .promo-copy{min-width:240px;max-width:360px}
    .promo .community-slider{display:flex;align-items:center;gap:10px;margin-left:auto;flex:1;min-width:360px}
    .promo .community-window{flex:1;overflow:hidden}
    .promo .community-track{--community-gap:14px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - var(--community-gap)*2)/3);gap:var(--community-gap);padding:4px 2px 10px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;user-select:none}
    .promo .community-track::-webkit-scrollbar{display:none}
    .promo .community-track.is-dragging{cursor:grabbing}
    .promo .community-card{scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
    .promo .community-thumb{width:118px;height:118px;border-radius:50%;background:radial-gradient(circle at 30% 30%, #fff7f3, #ffe5dc);border:4px solid #fff;box-shadow:var(--shadow);position:relative;overflow:hidden;display:grid;place-items:center;background-repeat:no-repeat;background-position:center;background-size:cover}
    .promo .community-thumb.no-image{background:linear-gradient(135deg,#fff7f2,#ffe0d4)}
    .promo .community-brand{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);background:var(--brand);color:#fff;padding:.25rem .75rem;border-radius:999px;font-weight:800;font-size:.78rem;box-shadow:0 10px 20px rgba(255,78,69,.25)}
    .promo .community-name{margin:0;font-weight:800;color:#111827}
    .promo .community-nav{border:1px solid var(--border);background:#fff;width:38px;height:38px;border-radius:50%;box-shadow:var(--shadow);display:grid;place-items:center;color:#111827;cursor:pointer}
    .promo .community-nav[disabled]{opacity:.4;cursor:not-allowed}
    @media(max-width:960px){
      .promo .community-slider{width:100%;min-width:0;margin-left:0}
      .promo .community-track{grid-auto-columns:calc((100% - var(--community-gap))/2)}
    }
    @media(max-width:640px){
      .promo .community-track{grid-auto-columns:50%}
      .promo .community-nav{display:none}
    }
    .promo .icons{display:flex;gap:10px;margin-left:auto}
    .promo .icons span{width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid var(--border);display:grid;place-items:center;box-shadow:var(--shadow)}

    /* Footer */
    footer{margin-top:40px}
    .footer-outer{background:#0b0b0c;border-radius:18px 18px 0 0}
    .footer-inner{padding:36px 0;display:grid;gap:12px;color:#e5e7eb}
    @media(min-width:900px){.footer-inner{grid-template-columns:1.5fr 1fr 1fr}}
    .footer-note{color:#a1a1aa;font-size:.85rem}

    

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

/* Touch and Focus Improvements */
* {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.3);
}

button, 
input, 
select, 
textarea, 
a {
    touch-action: manipulation;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 클릭 시 테두리 제거 */
*:focus,
*:active,
button:focus,
button:active,
a:focus,
a:active,
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    /* keep existing card shadows to avoid flicker on click */
}

/* Scroll smoothing */
html {
    scroll-behavior: smooth;
}

/* Container for better mobile margins */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: #ff4e45;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #ff4e45;
}

.btn-outline {
    border: 2px solid #ff4e45;
    color: #ff4e45;
    background: transparent;
}

.btn-outline:hover {
    background: #ff4e45;
    color: white;
}

.btn-secondary {
    background: #ff4e45;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.lznav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand h2 {
    background:#ff4e45;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand h2 i {
    color:#ff4e45;
    font-size: 1.2em;
    -webkit-text-fill-color: #ff4e45;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff4e45;
}

.nav-link.active {
    color: #ff4e45;
}

.nav-auth {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-btn i {
    font-size: 12px;
}

.nav-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-btn:hover:before {
    left: 100%;
}

.nav-btn-outline {
    color: #ff4e45;
    border-color: #ff4e45;
    background: transparent;
}

.nav-btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-btn-primary {
    background: #ff4e45;
    color: white;
    border-color: transparent;
    
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-btn-primary.active {
    background: #ff4e45;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-btn-secondary {
    color: #6b7280;
    border-color: #d1d5db;
    background: #f9fafb;
}

.nav-btn-secondary:hover {
    background: #ff4e45;
    color: white;
    border-color: #ff4e45;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Section */
.hero {
    background: #ff4e45,
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Search Form */
.search-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: white;
    border-color: #ff4e45;
    background-color: #ff4e45;
    border-radius: 25px;
}

.search-fields {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr auto;
    gap: 1rem;
    align-items: center;
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #ff4e45;
}

.search-field i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    margin-top: 12px;
}

.date-inputs {
    display: flex;
    gap: 8px;
}

.date-inputs input {
    flex: 1;
    padding-right: 12px;
}

.guest-selector {
    position: relative;
}

.guest-dropdown {
    position: absolute;
    top: 100%;
    width:200px;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    display: none;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.guest-dropdown.active {
    display: block;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    color: #666;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    border-color: #ff4e45;
    color: #ff4e45;
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.count {
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.search-btn {
    background: #ff4e45;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* Event Banners */
.event-banners {
    padding: 4rem 0;
    background: #f8f9fa;
}

.event-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.event-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.event-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.event-slide.active {
    opacity: 1;
}

.event-banner {
    position: relative;
    height: 400px;
    display: flex;
    background: white;
    overflow: hidden;
}

.banner-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-banner:hover .banner-image img {
    transform: scale(1.05);
}

.banner-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ff4e45;
}

.banner-content > * {
    position: relative;
    z-index: 1;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.banner-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.discounted-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
}

.discount-rate {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.banner-btn {
    background: white;
    color: #ff4e45;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

/* 슬라이더 네비게이션 */
.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slider-btn i {
    color: #ff4e45;
    font-size: 1.2rem;
}

/* 슬라이더 인디케이터 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Featured Properties */
.featured-properties {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.property-categories {
    max-width: 1200px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 80px;
}

.category-tab:hover {
    border-color: #ff4e45;
    color: #ff4e45;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #ff4e45;
    border-color: #ff4e45;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
}

.property-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.property-payment-image{
	position: relative;
    overflow: hidden;
}
 .property-payment-image img{
     width: 100px;
    object-fit: cover;
    height: 100px;
    border-radius: 10px;
 }
 
.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4e45;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-favorite {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.property-favorite:hover {
    background: white;
    color: #e74c3c;
    transform: scale(1.1);
}

.property-favorite.favorited i {
    color: #e74c3c;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.view-more .btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid #999999;
    color: #000;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width:70%;
}

.view-more .btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.view-more .btn i {
    transition: transform 0.3s ease;
}

.view-more .btn:hover i {
    transform: translateX(4px);
}

/* 더보기 버튼 로딩 상태 */
.view-more .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.view-more .btn:disabled:hover {
    background: transparent;
    color: #e74c3c;
    box-shadow: none;
}

.view-more .btn .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-more .btn .btn-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.view-more .btn.completed {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.view-more .btn.completed:hover {
    background: #e74c3c;
    color: white;
}

/* 새로운 카드 애니메이션 */
.property-card {
    transition: all 0.5s ease;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.property-info {
    padding: 1.5rem;
}

.property-type-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.property-type-label ~ .property-badge {
    top: 60px;
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    
}

.rating-score {
    font-weight: 600;
    color: #e74c3c;
}

.rating-stars {
    color: #ffc107;
    font-size: 12px;
}

.rating-count {
    color: #666;
    font-size: 12px;
}

.property-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.property-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.property-amenities {
    color: #888;
    font-size: 12px;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 300px;
    min-height: 20px;
}

.property-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--item-price-color, #333);
}

.per-night {
    color: #666;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    
}
.modal-calendar{
	opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.modal.hiding {
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: auto;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);;
}
.modal-content-calendar{
	transform: translateY(-50px) scale(1);
}


.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal.hiding .modal-content {
    transform: translateY(-50px) scale(0.9);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
    
    overflow-y: auto;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.user-btn:hover {
    background-color: #f8f9fa;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: none;
    z-index: 100;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

/* Responsive Design */

/* Tablet (768px ~ 1023px) */
@media (max-width: 1023px) {
    .container {
        padding: 0 16px;
    }
    
    .properties-grid,
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
}

/* Mobile Large (768px ~ 767px) */
@media (max-width: 767px) {
    /* Navigation */
    .lznav-container {
        padding: 0.75rem 1rem;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Navigation buttons mobile responsive */
    .nav-auth {
        gap: 0.25rem;
    }
    
    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .nav-btn i {
        font-size: 14px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
        color: #333;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-brand h2 {
        font-size: 1.5rem;
    }
    
    .nav-auth {
        gap: 0.5rem;
    }
    
    .nav-auth .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        background: #f8f9fa;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-auth .nav-link:hover {
        background: #e9ecef;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Search Form */
    .search-form {
        max-width: 100%;
        margin: 0 1rem;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .search-tabs {
        
        display: flex;
        flex-wrap:wrap;
    }
    
    .tab-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 8px;
        flex: 1;
        text-align: center;
        min-height: 48px; /* Touch-friendly size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-field {
        min-height: 60px; /* Touch-friendly size */
        border-radius: 12px;
        padding: 1rem;
    }
    
    .search-field input {
        font-size: 1rem;
        padding: 1rem 0;
        min-height: 24px;
    }
    
    .search-field label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .search-btn {
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1rem;
        min-height: 56px; /* Touch-friendly size */
        border-radius: 12px;
    }
    
    /* Content Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Featured Properties Mobile */
    .featured-properties {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .category-tabs {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .category-tab {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        min-width: auto;
        flex-shrink: 0;
    }
    
    .view-more {
        padding: 0 1rem;
    }
    
    .view-more .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Event Banners Mobile */
    .event-banners {
        padding: 3rem 0;
    }
    
    .event-banner {
        flex-direction: column;
        max-height: 300px;
    }
    
    .banner-image {
        height: 250px;
    }
    
    .banner-content {
        padding: 2rem;
    }
    
    .banner-content h3 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-price {
        gap: 0.75rem;
    }
    
    .discounted-price {
        font-size: 1.5rem;
    }
    
    /* Property Cards */
    .property-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-info {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .property-location {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .property-rating {
        margin-bottom: 0.75rem;
    }
    
    .property-price {
        font-size: 1.125rem;
    }
    
    /* Destination Cards */
    .destination-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .destination-image {
        height: 150px;
    }
    
    .destination-info {
        padding: 1rem;
    }
    
    .destination-name {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    /* Base */
    .container {
        padding: 0 12px;
    }
    
    /* Navigation */
    .lznav-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1.25rem;
    }
    
    .nav-auth .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Search Form */
    .search-form {
        margin: 0 0.5rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .search-tabs {
        margin-bottom: 1rem;
    }
    
    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        border-radius: 6px;
        min-width:80px;
    }
    
    .search-field {
        min-height: 3rem;
    }
    
    .search-field input {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .search-field label {
        font-size: 0.8rem;
    }
    
    .search-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* Content */
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Featured Properties Small Mobile */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .category-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .properties-grid {
        gap: 1rem;
    }
    
    /* Event Banners Small Mobile */
    .event-banners {
        padding: 2rem 0;
    }
    
    .event-slider-container {
        border-radius: 12px;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    .banner-content h3 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-price {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .original-price {
        font-size: 1rem;
    }
    
    .discounted-price {
        font-size: 1.3rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Cards */
    .property-card {
        border-radius: 8px;
    }
    
    .property-image {
        height: 180px;
    }
    
    .property-info {
        padding: 0.875rem;
    }
    
    .property-title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .property-location {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .property-rating {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .property-price {
        font-size: 1rem;
    }
    
    .destination-name {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        font-size: 0.875rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

/* Payment Help Modal Styles */
.payment-help-modal {
    max-width: 700px;
}

.payment-help-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.payment-help-modal .modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.payment-help-modal .modal-header .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.payment-help-modal .modal-header .close-modal:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.payment-help-modal .modal-body {
    max-height: 70vh;
    padding: 2rem;
}

.help-section {
    margin-bottom: 2.5rem;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-section h4 i {
    color: #667eea;
}

.help-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ff4e45;
}

.help-item:last-child {
    margin-bottom: 0;
}

.help-item h5 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.help-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.security-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f0f8ff;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
}

.security-item i {
    color: #2196f3;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.security-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.security-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.troubleshoot {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff8e1;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.step-number {
    background: #ffc107;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.contact-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.help-contact-btn {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.help-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.help-contact-btn i {
    font-size: 1rem;
}

/* Mobile responsiveness for payment help modal */
@media (max-width: 768px) {
    .payment-help-modal {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .payment-help-modal .modal-body {
        padding: 1.5rem;
        max-height: 75vh;
    }
    
    .help-section {
        margin-bottom: 2rem;
    }
    
    .help-section h4 {
        font-size: 1.1rem;
    }
    
    .security-info {
        gap: 0.75rem;
    }
    
    .security-item {
        padding: 0.875rem;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .help-contact-btn {
        padding: 1rem;
    }
}

/* Search Results Section */
.search-results-section {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 50vh;
}

.search-results-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.search-results-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.search-results-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.close-search-results {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-search-results:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.search-results-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-results-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag i {
    font-size: 0.75rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-weight: 500;
    color: #333;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-options select:focus {
    outline: none;
    border-color: #667eea;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.search-result-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.search-result-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-card:hover .search-result-image img {
    transform: scale(1.05);
}

.result-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.result-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.result-favorite:hover {
    background: white;
    color: #e74c3c;
    transform: scale(1.1);
}

.search-result-info {
    padding: 1.5rem;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-score {
    font-weight: 600;
    color: #667eea;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.875rem;
}

.rating-count {
    color: #666;
    font-size: 0.875rem;
}

.search-result-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333;
}

.result-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.result-amenities {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.result-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--item-price-color, #333);
}

.per-night {
    color: #666;
    font-size: 0.9rem;
}

.search-results-empty {
    text-align: center;
    
    color: #666;
}

.search-results-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.search-results-empty h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.search-results-empty p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.search-results-fallback {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.search-results-fallback-header {
    margin-bottom: 1.5rem;
}

.search-results-fallback-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.search-results-fallback-header p {
    margin: 0.35rem 0 0;
    color: #6b7280;
}

.fallback-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.fallback-view-more {
    margin-top: 1.5rem;
}

/* Mobile responsiveness for search results */
@media (max-width: 768px) {
    .search-results-section {
        padding: 2rem 0;
    }
    
    .search-results-header {
        text-align: left;
    }
    
    .close-search-results {
        position: static;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .search-results-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-summary {
        justify-content: center;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-result-image {
        height: 200px;
    }
    
    .search-result-info {
        padding: 1.25rem;
    }
}

/* Properties Loading Skeleton */
.properties-loading {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.skeleton-property-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-info {
    padding: 1.5rem;
}

.skeleton-rating {
    width: 60%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-title {
    width: 80%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-location {
    width: 50%;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-amenities {
    width: 90%;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-price {
    width: 40%;
    height: 18px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes skeleton-pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Loading States */
.properties-grid.loading .properties-content {
    display: none !important;
}

.properties-grid.loading .properties-loading {
    display: grid;
}

.properties-grid:not(.loading) .properties-loading {
    display: none;
}

.properties-grid:not(.loading) .properties-content {
    display: grid !important;
}

/* 01-05 유형: 초기 로딩 시 스켈레톤 카드 대신 로딩 스피너 표시 */
.home-main-section:not([data-ui-type="00"]) .properties-grid.loading .properties-loading {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}
.home-main-section:not([data-ui-type="00"]) .properties-grid.loading .properties-loading .skeleton-property-card {
    display: none;
}
.home-main-section:not([data-ui-type="00"]) .properties-grid.loading .properties-loading::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid #eee;
    border-top: 3px solid #999;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* 카테고리 변경 시 콘텐츠 페이드 효과 (화면 깨짐 방지) */
#properties-content {
    transition: opacity 0.3s ease;
}
#properties-content.loading-fade {
    opacity: 0.4;
    pointer-events: none;
}

/* Category Tab Loading Effect */
.category-tab.loading {
    opacity: 0.6;
    pointer-events: none;
}

.category-tab.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Today's Recommended Properties */
.today-properties {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.today-properties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.today-properties .container {
    position: relative;
    z-index: 1;
}

.today-properties .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.today-properties .section-header h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.today-properties .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.today-properties .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Today Properties Content */
.today-properties-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.today-property-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.today-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.today-property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.today-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.today-property-card:hover .today-property-image img {
    transform: scale(1.05);
}

.today-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.today-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e74c3c;
    color: white;
    padding: 0.325rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.today-discount-badgeleft {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 0.325rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.today-favorite {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.today-favorite:hover {
    background: #fff;
    transform: scale(1.1);
}

.today-favorite i {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.today-favorite.favorited i {
    color: #e74c3c;
}

.today-property-info {
    padding: 1.5rem;
}

.today-property-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.today-property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.today-property-location i {
    color: #667eea;
}

.today-property-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.today-price-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.today-original-price {
    color: #999;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.today-current-price {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
}

.today-current-price .per-night {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.today-discount-percent {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.today-property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.today-feature-tag {
    background: #f8f9fa;
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.today-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.today-availability i {
    color: #28a745;
}

/* Today Properties Loading Skeleton */
.today-properties-loading {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skeleton-today-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-today-card .skeleton-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-today-card .skeleton-info {
    padding: 1.5rem;
}

.skeleton-today-card .skeleton-badge {
    width: 60px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.skeleton-today-card .skeleton-title {
    width: 80%;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-today-card .skeleton-location {
    width: 60%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-today-card .skeleton-price {
    width: 50%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-today-card .skeleton-discount {
    width: 40%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

/* Today View More Button */
.today-view-more {
    text-align: center;
    margin-top: 2rem;
}

.today-view-more .btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.today-view-more .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Loading States */
.today-properties.loading .today-properties-content {
    display: none !important;
}

.today-properties.loading .today-view-more {
    display: none !important;
}

.today-properties.loading .today-properties-loading {
    display: grid;
}

.today-properties:not(.loading) .today-properties-loading {
    display: none;
}

.today-properties:not(.loading) .today-properties-content {
    display: grid !important;
}

.today-properties:not(.loading) .today-view-more {
    display: block !important;
}

/* Responsive Design for Today Properties */
@media (max-width: 768px) {
    .today-properties {
        padding: 3rem 0;
    }
    
    .today-properties .section-header h2 {
        font-size: 2rem;
    }
    
    .today-properties-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .today-property-image {
        height: 200px;
    }
    
    .today-property-info {
        padding: 1.2rem;
    }
    
    .today-property-title {
        font-size: 1.2rem;
    }
    
    .today-view-more .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 이미지 로딩 실패 시 스타일 */
.error-state {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
}

.error-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.error-text {
    font-size: 12px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
    line-height: 1.3;
}


/* Property image containers when error occurs */
.property-image.image-error,
.today-property-image.image-error,
.search-result-image.image-error {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.property-image.image-error .error-placeholder {
    height: 220px;
}

.today-property-image.image-error .error-placeholder {
    height: 220px;
}

.search-result-image.image-error .error-placeholder {
    height: 200px;
}

/* No Rating Style */
.property-rating.no-rating {
    display: flex;
    align-items: center;
    
}

.no-rating-text {
    font-size: 0.9rem;
    color: #fff;
    font-style: italic;
    padding: 0.2rem 0.5rem;
    background: #c9c9c9;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Search Results Loading Skeleton */
.search-results-loading {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skeleton-search-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-search-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-search-info {
    padding: 1.5rem;
}

.skeleton-search-title {
    width: 75%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-search-location {
    width: 50%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-search-rating {
    width: 40%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-search-amenities {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.skeleton-search-amenity {
    width: 60px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
}

.skeleton-search-price {
    width: 35%;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

/* Search Results Loading States */
.search-results-section.loading .search-results-grid {
    display: none !important;
}

.search-results-section.loading .search-results-empty {
    display: none !important;
}

.search-results-section.loading .search-results-loading {
    display: grid !important;
}

.search-results-section:not(.loading) .search-results-loading {
    display: none !important;
}

.search-results-section:not(.loading) .search-results-grid {
    display: grid !important;
}

/* Mobile Responsive for Search Results Skeleton */
@media (max-width: 768px) {
    .search-results-loading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skeleton-search-info {
        padding: 1.2rem;
    }
    
    .skeleton-search-amenities {
        gap: 0.3rem;
    }
    
    .skeleton-search-amenity {
        width: 50px;
        height: 20px;
    }
}
.property-card.new-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Video Content (Always First) */
.video-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Info Badge */
.video-info {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.video-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-badge i {
    font-size: 0.9rem;
    color: #ff4757;
}

/* 프로필 사진 변경 모달 */
.profile-img-upload-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.profile-img-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    box-shadow: 0 2px 12px rgba(102,126,234,0.15);
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.profile-img-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(102,126,234,0.2);
}
.profile-img-upload-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.profile-img-upload-guide {
    text-align: center;
    color: #888;
    font-size: 0.92rem;
}
#saveProfileImgBtn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 디폴트 프로필 이미지 스타일 개선 */
.profile-image img,
.user-avatar {
    transition: all 0.3s ease;
}

/* 이름 기반 아바타 스타일 */
.profile-image img[src*="data:image/svg"],
.user-avatar[src*="data:image/svg"] {
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-img-preview[src*="data:image/svg"] {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 프로필 이미지 호버 효과 */
.profile-image:hover img {
    transform: scale(1.05);
}

.profile-image:hover .edit-profile-btn {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/* 아바타 로딩 상태 */
.user-avatar:not([src]),
#sidebarProfileImg:not([src]),
#profileImgPreview:not([src]) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
}

/* 텍스트 기반 아바타 반응형 */
@media (max-width: 768px) {
    .profile-image img[src*="data:image/svg"] text,
    .user-avatar[src*="data:image/svg"] text {
        font-size: 1.8rem;
    }
}


/* Header User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    display: none;
    z-index: 1000;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dropdown-menu a i {
    width: 16px;
    font-size: 12px;
}

.dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    color: #e74c3c;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.dropdown-menu a:last-child:hover {
    background-color: rgba(231, 76, 60, 0.1);
}


/* Import navigation styles from auth.css */
.nav-brand h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.nav-brand h2 i {
    color: #667eea;
    font-size: 1.2em;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-auth {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-btn i {
    font-size: 12px;
}

.nav-btn-outline {
    color: #667eea;
    border-color: #667eea;
    background: transparent;
}

.nav-btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-btn-primary {
    
    color: #000;
    
    border: 1px solid #ff4e45;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}




/* 알림 메시지 */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.del_text{
	text-decoration: line-through;
}


/* =========================================================
   NowGo Member UI Home Redesign Overrides
   ========================================================= */
:root {
    --nowgo-accent: #ff5d2d;
    --nowgo-accent-dark: #f04a0c;
    --nowgo-charcoal: #1f1f28;
    --nowgo-soft: #fff6f0;
    --nowgo-soft-alt: #fdf2ea;
    --nowgo-line: #f0f0f3;
    --nowgo-card-radius: 16px;
}

body.home-page {
    font-family: 'Pretendard', 'Noto Sans KR', 'Segoe UI', sans-serif;
    color: var(--nowgo-charcoal);
    background: #fff;
}

.home-page .container {
    max-width: 1240px;
}

.primary-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--nowgo-line);
}

.primary-header .header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 0;
}

.primary-header .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nowgo-charcoal);
}

.primary-header .brand-text {
    letter-spacing: -0.5px;
}

.primary-header .nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-header .nav-link {
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    color: #7c7c84;
    transition: background 0.3s ease, color 0.3s ease;
}

.primary-header .nav-link:hover,
.primary-header .nav-link.active {
    color: var(--nowgo-accent);
    background: rgba(255, 93, 45, 0.12);
}

.primary-header .nav-btn {
    border-radius: 999px;
    font-weight: 600;
}

.primary-header .nav-btn-outline {
    border-color: rgba(255, 93, 45, 0.4);
    color: var(--nowgo-accent);
    background: #fff;
}

.primary-header .nav-btn-outline:hover {
    background: rgba(255, 93, 45, 0.08);
}

.primary-header .nav-btn-primary {
    background: linear-gradient(135deg, var(--nowgo-accent) 0%, var(--nowgo-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 93, 45, 0.25);
}

.primary-header .nav-btn-primary:hover {
    transform: translateY(-1px);
}

.primary-header .user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.25rem;
}

.primary-header .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.primary-header .mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--nowgo-line);
    background: #fff;
}

.home-page .hero {
    position: relative;
    background: linear-gradient(115deg, rgba(14, 18, 29, 0.65), rgba(4, 8, 14, 0.35)),
                url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2000&q=80') center/cover;
    color: #fff;
    padding: 140px 0 120px;
    min-height: 720px;
}

.hero-inner {
    max-width: 900px;
}

.hero-topline {
    display: inline-flex;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.hero-tags span {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

.search-form.elevated {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 30px 70px rgba(12, 18, 34, 0.25);
    color: var(--nowgo-charcoal);
}

.search-form .search-tabs {
    border-bottom: none;
    gap: 1rem;
}

.search-form .tab-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    background: #f3f3f6;
    font-weight: 600;
}

.search-form .tab-btn.active {
    background: rgba(255, 93, 45, 0.15);
    color: var(--nowgo-accent);
    border-color: transparent;
}

.search-fields {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #85858f;
    margin-bottom: 0.35rem;
    display: block;
}

.search-field input {
    border-radius: 18px;
    border: 2px solid #ededf2;
    padding: 0 1.1rem;
    height: 58px;
    font-size: 1rem;
}

.guest-selector {
    width: 100%;
}

.guest-display {
    width: 100%;
    border-radius: 18px;
    border: 2px solid #ededf2;
    padding: 0 1.1rem;
    height: 58px;
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}

.guest-dropdown {
    top: calc(100% + 8px);
    border-radius: 18px;
}

.search-btn {
    align-self: stretch;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--nowgo-accent), var(--nowgo-accent-dark));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.search-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #767686;
}

.search-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.section-header {
    margin-bottom: 1.8rem;
}

.section-eyebrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nowgo-accent);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.search-results-section {
    padding: 90px 0;
    background: #fff;
}

.search-results-section .section-header.compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.close-search-results {
    border: none;
    background: #f7f7fb;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    color: #4a4a52;
}

.filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #f5f5fa;
    color: #5e5e66;
    font-weight: 500;
}

.sort-options select {
    border-radius: 14px;
    border: 1px solid #ddd;
    padding: 0.45rem 1rem;
}

.search-results-grid,
.properties-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 24px;
}

.event-banners {
    padding: 90px 0;
    background: var(--nowgo-soft);
}

.event-slider-container {
    position: relative;
    margin-top: 2rem;
}

.event-slider {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.event-slide {
    min-width: 100%;
}

.event-banner {
    background: #fff;
    border-radius: var(--nowgo-card-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 320px;
    box-shadow: 0 30px 60px rgba(9, 16, 29, 0.15);
}

.event-banner .banner-image {
    position: relative;
    height: 100%;
}

.event-banner img,
.event-banner iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-label {
    color: var(--nowgo-accent);
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}

.banner-content h3 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #d1d1d6;
}

.slider-indicators .indicator.active {
    width: 32px;
    background: var(--nowgo-accent);
}

.home-main-section {
    padding: 0px 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* PC: 배경 이미지 적용 */
@media (min-width: 769px) {
    .home-main-section {
        background-image: var(--pc-bg-image, none);
    }
}

/* 모바일: 배경 이미지 적용 */
@media (max-width: 768px) {
    .home-main-section {
        background-image: var(--mo-bg-image, none);
    }
}

/* 헤더 높이만큼 컨텐츠 영역 아래로 밀기 */
.home-main-section > .sz_container {
    padding-top: var(--header-height, 0px);
}

/* =========================================================
   아이템 텍스트 색상 (CSS 변수: --item-title-color, --item-subtitle-color, --item-price-color)
   모든 ui_type (00~05) 공통 적용
   ========================================================= */

/* --- Type 00 (기본 그리드) --- */
.home-main-section .property-info h3 {
    color: var(--item-title-color, #1f1f28);
}
.home-main-section .property-location,
.home-main-section .property-amenities {
    color: var(--item-subtitle-color, #666);
}
.home-main-section .property-price .price {
    color: var(--item-price-color, #1f1f28);
}

/* --- Type 01 (쇼케이스) --- */
.home-main-section .showcase-name {
    color: var(--item-title-color, #222);
}
.home-main-section .showcase-thumb-label,
.home-main-section .showcase-tags {
    color: var(--item-subtitle-color, #888);
}

/* --- Type 02 (가로 스크롤) --- */
.home-main-section .type02-card-name {
    color: var(--item-title-color, #222);
}
.home-main-section .type02-price-value {
    color: var(--item-price-color, #333);
}

/* --- Type 03 (3열 그리드) --- */
.home-main-section .type03-card-location {
    color: var(--item-title-color, #222);
}
.home-main-section .type03-card-name {
    color: var(--item-subtitle-color, #555);
}

/* --- Type 04 (좌우 레이아웃) --- */
.home-main-section .type04-card-name {
    color: var(--item-title-color, #222);
}
.home-main-section .type04-card-desc {
    color: var(--item-subtitle-color, #666);
}

/* --- Type 05 (세로이미지 좌우 레이아웃) --- */
.home-main-section .type05-card-name {
    color: var(--item-title-color, #222);
}
.home-main-section .type05-card-desc {
    color: var(--item-subtitle-color, #666);
}
.home-main-section .type05-price-value {
    color: var(--item-price-color, #333);
}

/* --- Type 06 (랭킹) --- */
.home-main-section .type06-name {
    color: var(--item-title-color, #222);
}
.home-main-section .type06-location {
    color: var(--item-subtitle-color, #888);
}
.home-main-section .type06-price-value {
    color: var(--item-price-color, #222);
}

.home-main-section.highlight {
    background: #fff;
}

.home-main-section.soft {
    background: var(--nowgo-soft-alt);
}

.category-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    width: 100%;
}

.category-tab {
    border: none;
    background: transparent;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    color: #7a7a84;
}

.category-tab.active {
    background: var(--nowgo-accent);
    color: #fff;
}

.property-card {
    border-radius: var(--nowgo-card-radius);
    background: #fff;
    box-shadow: 0 25px 45px rgba(9, 9, 21, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(9, 9, 21, 0.12);
}

.property-image {
    position: relative;
    height: 220px;
}

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

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.property-location {
    color: #7e7e88;
    margin-bottom: 0.4rem;
}

.property-price .price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--item-price-color, #1f1f28);
}

.view-more .btn {
    border-radius: 16px;
}

.marketing-section {
    padding: 90px 0 120px;
    background: #fff;
}

.marketing-banner {
    border-radius: 32px;
    padding: 3rem;
    background: linear-gradient(130deg, #ffe1d2, #ffd2b9);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

.marketing-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.marketing-bubbles .bubble {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 31, 40, 0.08);
    font-weight: 600;
    background: #fff8f3;
}

@media (max-width: 1024px) {
    .primary-header .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 80vw);
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        padding: 4rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .primary-header .nav-menu.active {
        transform: translateX(0);
    }

    .primary-header .mobile-menu-btn {
        display: flex;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .search-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 110px 0 80px;
    }

    .search-form.elevated {
        padding: 1.5rem;
    }

    .event-banner {
        grid-template-columns: 1fr;
    }

    .marketing-banner {
        flex-direction: column;
        text-align: center;
    }

.search-results-section {
    padding: 10px 0;
    background: #fff;
}
}

/* =========================================================
   Showcase Layout (ui_type 01)
   ========================================================= */

/* 01 유형: properties-content 그리드 해제 */
.home-main-section[data-ui-type="01"] .properties-content {
    display: block !important;
    grid-template-columns: none;
}

/* PC: 01 유형 쇼케이스 800px 중앙 정렬 */
.showcase-layout {
    max-width: 100%;
    margin: 0 auto;
}

/* === PC: 메인 이미지 상단 크게 + 썸네일 하단 가로 스크롤 === */
.showcase-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 540px;
}

.showcase-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.showcase-main:hover .showcase-main-img {
    transform: scale(1.03);
}

.showcase-discount {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(231, 76, 60, 0.92);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* PC: 썸네일 가로 스크롤 */
.showcase-thumbs {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 4px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.showcase-thumbs::-webkit-scrollbar {
    height: 5px;
}

.showcase-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.showcase-thumbs::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.showcase-thumbs::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.showcase-thumb {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    width: 170px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.25s ease;
    scroll-snap-align: start;
}

.showcase-thumb:hover {
    opacity: 0.85;
}

/* 썸네일 이미지 영역 */
.showcase-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.25s ease;
}

.showcase-thumb.active .showcase-thumb-img {
    border-color: #e74c3c;
}

.showcase-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 업체명 라벨: 이미지 하단 오버레이 */
.showcase-thumb-label {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 하단 정보 영역 */
.showcase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px 0;
}

.showcase-info-left {
    flex: 1;
    min-width: 0;
}

.showcase-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1f1f28;
}

.showcase-tags {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.showcase-event-tag {
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 600;
}

.showcase-event-tag i {
    margin-right: 2px;
}

.showcase-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.showcase-link:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.05);
}

/* === 모바일: 메인 이미지 왼쪽 + 썸네일 오른쪽 세로 배치 === */
@media (max-width: 768px) {
    .showcase-body {
        flex-direction: row;
        gap: 8px;
    }

    .showcase-main {
        flex: 1;
        height: 380px;
        width: auto;
        min-width: 0;
        border-radius: 14px;
    }

    /* 모바일: 썸네일 세로 배치, 고정 높이 + 스크롤 */
    .showcase-thumbs {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: auto;
        gap: 8px;
        flex-shrink: 0;
        width: 120px;
        max-height: 380px;
    }

    /* 모바일: 썸네일 고정 크기 (납작하지 않게) */
    .showcase-thumb {
        width: 120px;
        height: 110px;
        flex: none;
    }

    .showcase-thumb-img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .showcase-thumb-label {
        bottom: 4px;
        left: 4px;
        right: 4px;
        font-size: 0.68rem;
        padding: 2px 4px;
    }

    .showcase-name {
        font-size: 1.1rem;
    }
}

/* === 소형 모바일 === */
@media (max-width: 480px) {
    .showcase-main {
        height: 320px;
    }

    .showcase-thumbs {
        width: 100px;
        max-height: 320px;
    }

    .showcase-thumb {
        width: 100px;
        height: 95px;
    }

    .showcase-thumb-label {
        font-size: 0.6rem;
        padding: 1px 3px;
    }

    .showcase-name {
        font-size: 1rem;
    }
}

/* Letsnowgo footer refresh */
.footer {
    background: #0b0b0c;
    color: #e5e7eb;
    padding: 2.5rem 0 5.5rem;
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.footer-panel {
    background: #121218;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-section h3,
.footer-section h4 {
    margin: 0 0 0.65rem;
    color: #ffffff;
}

.footer-desc {
    margin: 0;
    color: #c8cbd8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-section ul li {
    color: #c5c7d3;
    line-height: 1.5;
}

.footer-section ul li a {
    color: inherit;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: left;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer {
    margin: 0;
    color: #9ca3af;
    line-height: 1.6;
}

.footer-copy {
    margin: 0.5rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (min-width: 900px) {
    .footer {
        padding: 3rem 0 3.5rem;
    }

    .footer-panel {
        padding: 30px 32px;
    }

    .footer-content {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .footer-panel {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-section h4 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2rem 0 7rem;
        padding-bottom: calc(7rem + env(safe-area-inset-bottom));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        font-size: 0.95rem;
    }

    .footer-section ul li {
        font-size: 0.95rem;
    }
}

/* =========================================================
   Horizontal Scroll Card Layout (ui_type 02)
   ========================================================= */

/* 02 유형: properties-content 그리드 해제 + 오버플로 방지 */
.home-main-section[data-ui-type="02"] .properties-content {
    display: block !important;
    grid-template-columns: none;
    overflow: hidden;
    max-width: 100%;
}

/* 스크롤 래퍼 */
.type02-scroll-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    cursor: grab;
    /* 스크롤바 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.type02-scroll-wrap::-webkit-scrollbar {
    display: none;
}

/* 카드 트랙 (flex row) */
.type02-scroll-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-shrink: 0;
}

/* 개별 카드 */
.type02-card {
    flex-shrink: 0;
    width: 220px;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
    user-select: none;
}

.type02-card:hover {
    transform: translateY(-4px);
}

/* 카드 이미지 영역 */
.type02-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
}

.type02-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.type02-card:hover .type02-card-image img {
    transform: scale(1.05);
}

/* 이벤트(할인) 뱃지 */
.type02-event-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(231, 76, 60, 0.92);
    color: white;
    padding: 4px 10px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.78rem;
    backdrop-filter: blur(4px);
    z-index: 2;
    line-height: 1.3;
}

/* 카드 정보 영역 */
.type02-card-info {
    padding: 10px 4px 4px;
}

.type02-card-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--item-title-color, #222);
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.type02-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.type02-price-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--item-price-color, #333);
}

/* 더보기 아이템 (스크롤 끝) */
.type02-more-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    min-height: 280px;
    cursor: pointer;
    gap: 8px;
    padding: 0 8px;
    user-select: none;
    transition: opacity 0.2s ease;
}

.type02-more-item:hover {
    opacity: 0.7;
}

.type02-more-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.type02-more-item:hover .type02-more-circle {
    border-color: #e74c3c;
    background: #fff5f5;
}

.type02-more-circle i {
    font-size: 1.1rem;
    color: #888;
    transition: color 0.2s ease;
}

.type02-more-item:hover .type02-more-circle i {
    color: #e74c3c;
}

.type02-more-item > span {
    font-size: 0.78rem;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}

/* 카드 등장 애니메이션 */
.type02-card.new-item {
    opacity: 0;
    transform: translateX(20px);
    animation: type02CardIn 0.35s ease forwards;
}

@keyframes type02CardIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === 모바일 (768px 이하) === */
@media (max-width: 768px) {
    .type02-card {
        width: 180px;
    }

    .type02-card-image {
        height: 240px;
        border-radius: 14px;
    }

    .type02-card-name {
        font-size: 0.85rem;
    }

    .type02-price-value {
        font-size: 0.82rem;
    }

    .type02-event-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.72rem;
    }

    .type02-more-item {
        width: 65px;
        min-height: 240px;
    }

    .type02-more-circle {
        width: 42px;
        height: 42px;
    }

    .type02-more-circle i {
        font-size: 0.95rem;
    }

    .type02-more-item > span {
        font-size: 0.72rem;
    }
}

/* === 작은 모바일 (480px 이하) === */
@media (max-width: 480px) {
    .type02-scroll-track {
        gap: 12px;
    }

    .type02-card {
        width: 160px;
    }

    .type02-card-image {
        height: 210px;
        border-radius: 12px;
    }

    .type02-card-name {
        font-size: 0.8rem;
    }

    .type02-price-value {
        font-size: 0.78rem;
    }

    .type02-more-item {
        width: 55px;
        min-height: 210px;
    }

    .type02-more-circle {
        width: 38px;
        height: 38px;
    }
}

/* =========================================================
   3-Column Grid Card Layout (ui_type 03)
   ========================================================= */

/* 03 유형: properties-content 그리드 해제 */
.home-main-section[data-ui-type="03"] .properties-content {
    display: block !important;
    grid-template-columns: none;
}

/* 3열 그리드 */
.type03-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* 개별 카드 */
.type03-card {
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

.type03-card:hover {
    transform: translateY(-3px);
}

/* 카드 이미지 영역 */
.type03-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
}

.type03-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.type03-card:hover .type03-card-image img {
    transform: scale(1.05);
}

/* 이벤트 뱃지 */
.type03-event-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(100, 149, 237, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.72rem;
    backdrop-filter: blur(4px);
    z-index: 2;
    line-height: 1.3;
    white-space: nowrap;
}

/* 카드 정보 영역 */
.type03-card-info {
    padding: 8px 2px 4px;
}

.type03-card-location {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--item-title-color, #222);
    margin: 0 0 2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type03-card-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--item-subtitle-color, #555);
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 카드 등장 애니메이션 */
.type03-card.new-item {
    opacity: 0;
    transform: translateY(12px);
    animation: type03CardIn 0.3s ease forwards;
}

@keyframes type03CardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 03 유형 더보기 버튼 스타일 */
.home-main-section[data-ui-type="03"] .view-more .btn-outline {
    border-radius: 30px;
    border: 1.5px solid #ddd;
    padding: 10px 28px;
    font-size: 0.88rem;
    color: #444;
}

/* === PC (기본) === */
@media (min-width: 769px) {
    .type03-grid {
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    .type03-card-image {
        border-radius: 16px;
    }

    .type03-card-location {
        font-size: 0.88rem;
    }

    .type03-card-name {
        font-size: 0.82rem;
    }

    .type03-event-badge {
        top: 10px;
        left: 10px;
        padding: 5px 12px;
        font-size: 0.76rem;
        border-radius: 10px;
    }
}

/* === 모바일 (768px 이하) === */
@media (max-width: 768px) {
    .type03-grid {
        gap: 12px;
    }

    .type03-card-image {
        border-radius: 12px;
    }

    .type03-card-location {
        font-size: 0.78rem;
    }

    .type03-card-name {
        font-size: 0.72rem;
    }

    .type03-event-badge {
        top: 6px;
        left: 6px;
        padding: 3px 8px;
        font-size: 0.65rem;
        border-radius: 6px;
    }
}

/* === 작은 모바일 (480px 이하) === */
@media (max-width: 480px) {
    .type03-grid {
        gap: 8px;
    }

    .type03-card-image {
        border-radius: 10px;
    }

    .type03-card-info {
        padding: 5px 1px 2px;
    }

    .type03-card-location {
        font-size: 0.72rem;
    }

    .type03-card-name {
        font-size: 0.66rem;
    }

    .type03-event-badge {
        padding: 2px 6px;
        font-size: 0.6rem;
    }
}

/* =========================================================
   Left-Image + Right-Text Card Layout (ui_type 04)
   ========================================================= */

/* 04 유형: properties-content 그리드 해제 */
.home-main-section[data-ui-type="04"] .properties-content {
    display: block !important;
    grid-template-columns: none;
}

/* 그리드: 모바일 1열, PC 3열 */
.type04-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* 개별 카드 */
.type04-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.type04-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 카드 이미지 영역 */
.type04-card-image {
    flex-shrink: 0;
    width: 50%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.type04-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 카드 텍스트 영역 */
.type04-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.type04-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--item-title-color, #222);
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type04-card-desc {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--item-subtitle-color, #666);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 카드 등장 애니메이션 */
.type04-card.new-item {
    opacity: 0;
    transform: translateY(10px);
    animation: type04CardIn 0.3s ease forwards;
}

@keyframes type04CardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 04 유형 더보기 버튼 스타일 */
.home-main-section[data-ui-type="04"] .view-more .btn-outline {
    border-radius: 30px;
    border: 1.5px solid #ddd;
    padding: 10px 28px;
    font-size: 0.88rem;
    color: #444;
}

/* === PC (769px 이상): 3열 그리드 === */
@media (min-width: 769px) {
    .type04-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .type04-card {
        padding: 14px;
        border-radius: 16px;
    }

    .type04-card-image {
        border-radius: 12px;
    }

    .type04-card-name {
        font-size: 0.95rem;
    }

    .type04-card-desc {
        font-size: 0.84rem;
    }
}

/* === 모바일 (768px 이하): 1열 === */
@media (max-width: 768px) {
    .type04-grid {
        gap: 12px;
    }

    .type04-card {
        gap: 12px;
        padding: 10px;
        border-radius: 12px;
    }

    .type04-card-image {
        border-radius: 10px;
    }

    .type04-card-name {
        font-size: 0.88rem;
    }

    .type04-card-desc {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

/* === 작은 모바일 (480px 이하) === */
@media (max-width: 480px) {
    .type04-card {
        gap: 10px;
        padding: 8px;
    }

    .type04-card-image {
        border-radius: 8px;
    }

    .type04-card-name {
        font-size: 0.82rem;
    }

    .type04-card-desc {
        font-size: 0.75rem;
    }
}

/* =========================================================
   Left-Portrait-Image + Right-Text Card Layout (ui_type 05)
   ========================================================= */

/* 05 유형: properties-content 그리드 해제 */
.home-main-section[data-ui-type="05"] .properties-content {
    display: block !important;
    grid-template-columns: none;
}

/* 그리드: 모바일 1열, PC 3열 */
.type05-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* 개별 카드 */
.type05-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.type05-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 카드 이미지: 좁고 세로로 긴 비율 */
.type05-card-image {
    flex-shrink: 0;
    width: 35%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
}

.type05-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 카드 텍스트 영역 */
.type05-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
}

.type05-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--item-title-color, #222);
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type05-card-desc {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--item-subtitle-color, #666);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.type05-card-price {
    margin-top: 2px;
}

.type05-price-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--item-price-color, #333);
}

/* 카드 등장 애니메이션 */
.type05-card.new-item {
    opacity: 0;
    transform: translateY(10px);
    animation: type05CardIn 0.3s ease forwards;
}

@keyframes type05CardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 05 유형 더보기 버튼 스타일 */
.home-main-section[data-ui-type="05"] .view-more .btn-outline {
    border-radius: 30px;
    border: 1.5px solid #ddd;
    padding: 10px 28px;
    font-size: 0.88rem;
    color: #444;
}

/* === PC (769px 이상): 3열 === */
@media (min-width: 769px) {
    .type05-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .type05-card-image {
        border-radius: 16px;
    }

    .type05-card-name {
        font-size: 1rem;
    }

    .type05-card-desc {
        font-size: 0.84rem;
    }
}

/* === 모바일 (768px 이하): 1열 === */
@media (max-width: 768px) {
    .type05-grid {
        gap: 12px;
    }

    .type05-card {
        gap: 12px;
    }

    .type05-card-image {
        border-radius: 12px;
    }

    .type05-card-name {
        font-size: 0.9rem;
    }

    .type05-card-desc {
        font-size: 0.8rem;
    }
}

/* === 작은 모바일 (480px 이하) === */
@media (max-width: 480px) {
    .type05-card {
        gap: 10px;
    }

    .type05-card-image {
        border-radius: 10px;
    }

    .type05-card-name {
        font-size: 0.85rem;
    }

    .type05-card-desc {
        font-size: 0.75rem;
    }

    .type05-price-value {
        font-size: 0.82rem;
    }
}

/* =========================================================
   Type 06: 랭킹 레이아웃
   모바일: 세로 리스트 (순위 + 이미지 + 정보)
   PC: 가로 스크롤 카드
   ========================================================= */

/* 06 유형: properties-content 그리드 해제 */
.home-main-section[data-ui-type="06"] .properties-content {
    display: block !important;
    grid-template-columns: none;
    overflow: hidden;
    max-width: 100%;
}

/* 컨테이너 */
.type06-container {
    width: 100%;
}

/* === 랭킹 아이템 === */
.type06-item {
    cursor: pointer;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.type06-item:first-child {
    padding-top: 8px;
}
.type06-item:last-child {
    border-bottom: none;
}
.type06-item:hover {
    background: rgba(0,0,0,0.015);
}

/* 랭킹 헤더 (순위 + 뷰카운트) */
.type06-rank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.type06-rank-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.type06-rank-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--item-title-color, #222);
    line-height: 1;
}

/* 순위 변동 */
.type06-rank-change {
    font-size: 0.72rem;
    font-weight: 600;
}
.type06-rank-change.up {
    color: #e74c3c;
}
.type06-rank-change.down {
    color: #3498db;
}
.type06-rank-change.same {
    color: #bbb;
    font-weight: 400;
}

/* 조회수 배지 */
.type06-view-badge {
    font-size: 0.68rem;
    color: #888;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 3px 10px;
    background: #fafafa;
    white-space: nowrap;
}

/* 아이템 본문 (이미지 + 정보) */
.type06-item-body {
    display: flex;
    flex-direction: row;
    gap: 14px;
}

/* 이미지 */
.type06-item-image {
    flex-shrink: 0;
    width: 130px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
}
.type06-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 텍스트 정보 */
.type06-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.type06-location {
    font-size: 0.78rem;
    color: var(--item-subtitle-color, #888);
}

.type06-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--item-title-color, #222);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.type06-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
}

.type06-discount {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e74c3c;
}

.type06-price-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--item-price-color, #222);
}

/* 더보기 버튼 */
.type06-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    margin: 20px auto 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    max-width: 300px;
    background: #fff;
    transition: background 0.2s;
    user-select: none;
}
.type06-expand-btn:hover {
    background: #f5f5f5;
}
.type06-expand-btn i {
    font-size: 0.75rem;
}

/* 카드 등장 애니메이션 */
.type06-item.new-item {
    opacity: 0;
    transform: translateY(10px);
    animation: type06ItemIn 0.3s ease forwards;
}

@keyframes type06ItemIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === PC (769px 이상): 가로 스크롤 카드 === */
@media (min-width: 769px) {
    .type06-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: thin;
    }
    .type06-container::-webkit-scrollbar {
        height: 6px;
    }
    .type06-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    .type06-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .type06-item {
        flex-shrink: 0;
        width: 240px;
        border: 1px solid #eee;
        border-radius: 14px;
        padding: 14px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }
    .type06-item:first-child {
        padding-top: 14px;
    }
    .type06-item:hover {
        background: #fafafa;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    .type06-item-body {
        flex-direction: column;
        gap: 10px;
    }

    .type06-item-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .type06-rank-header {
        margin-bottom: 8px;
    }

    .type06-rank-num {
        font-size: 1.1rem;
    }

    .type06-expand-btn {
        flex-shrink: 0;
        min-width: 100px;
        height: auto;
        flex-direction: column;
        align-self: stretch;
        margin: 0;
        border-radius: 14px;
    }

    /* PC에서 등장 애니메이션: 좌측에서 슬라이드 */
    .type06-item.new-item {
        transform: translateX(20px);
        animation: type06ItemInPC 0.35s ease forwards;
    }

    @keyframes type06ItemInPC {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* === 모바일 (768px 이하) === */
@media (max-width: 768px) {
    .type06-item-image {
        width: 115px;
    }

    .type06-rank-num {
        font-size: 1.15rem;
    }

    .type06-name {
        font-size: 0.88rem;
    }

    .type06-price-value {
        font-size: 0.88rem;
    }

    .type06-discount {
        font-size: 0.82rem;
    }
}

/* === 작은 모바일 (480px 이하) === */
@media (max-width: 480px) {
    .type06-item-image {
        width: 100px;
    }

    .type06-rank-num {
        font-size: 1rem;
    }

    .type06-name {
        font-size: 0.82rem;
    }

    .type06-price-value {
        font-size: 0.82rem;
    }

    .type06-view-badge {
        font-size: 0.62rem;
        padding: 2px 7px;
    }
}
