*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f7f5ef;
    color:#2c2c2c;
    line-height:1.6;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.topbar{
    background:#ffffff;
    padding:20px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}

.brand{
    display:flex;
    align-items:center;
}

.header-logo{
    height:130px;
    width:auto;
    max-width:none;
}


.brand-main{
    font-size:28px;
    font-weight:700;
    color:#00695c;
}

.brand-sub{
    font-size:13px;
    color:#777;
}

.language-switcher{
    display:flex;
    gap:10px;
}

.language-switcher button{
    border:none;
    padding:10px 15px;
    border-radius:30px;
    background:#00695c;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.language-switcher button:hover{
    background:#00897b;
}

.main-nav{
    background:#004d40;
    padding:15px;
    text-align:center;
}

.main-nav a{
    color:white;
    margin:0 15px;
    font-weight:600;
}

.main-nav a:hover{
    color:#ffd54f;
}

.hero{
    height:90vh;
    background:none !important;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}
.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:0;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    text-align:center;
    color:white;
    padding:20px;
}

.hero-kicker{
    font-size:18px;
    letter-spacing:2px;
    margin-bottom:20px;
}

.hero h1{
    font-size:64px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 30px;
    border-radius:40px;
    font-weight:700;
}

.primary{
    background:#ffb300;
    color:white;
}

.secondary{
    background:white;
    color:#004d40;
}

.section{
    padding:90px 8%;
}

.section-heading{
    text-align:center;
    max-width:900px;
    margin:auto;
    margin-bottom:60px;
}

.section-label{
    color:#00897b;
    font-weight:700;
    margin-bottom:10px;
}

.section-heading h2{
    font-size:42px;
    margin-bottom:15px;
}

.section-heading p{
    color:#666;
}

.warm-section{
    background:#fffdf7;
}
.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.feature-card{
    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.3s;
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card img{
    height:230px;
    object-fit:cover;
}

.feature-card div{
    padding:25px;
}

.feature-card h3{
    color:#00695c;
    margin-bottom:10px;
    font-size:24px;
}

.rooms-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.room-card{
    background:white;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}

.room-card img{
    height:260px;
    object-fit:cover;
}

.room-info{
    padding:28px;
}

.room-info h3{
    font-size:26px;
    color:#00695c;
    margin-bottom:12px;
}

.room-info p{
    color:#666;
    margin-bottom:16px;
}

.room-info ul{
    list-style:none;
    margin-bottom:18px;
}

.room-info li{
    padding:6px 0;
    color:#444;
}

.room-info li::before{
    content:"✓ ";
    color:#00897b;
    font-weight:bold;
}

.room-info strong{
    color:#ff9800;
    font-size:18px;
}

.split-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.split-image img{
    border-radius:35px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    height:500px;
    object-fit:cover;
}

.split-content{
    display:grid;
    gap:20px;
}

.info-box{
    background:white;
    padding:25px;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.info-box h3{
    color:#00695c;
    margin-bottom:8px;
}

.tour-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.tour-card{
    background:white;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.09);
    transition:.3s;
}

.tour-card:hover{
    transform:translateY(-8px);
}

.tour-card img{
    height:230px;
    object-fit:cover;
}

.tour-content{
    padding:25px;
}

.tour-content h3{
    color:#00695c;
    font-size:23px;
    margin-bottom:10px;
}

.tour-content p{
    color:#666;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.service-card{
    background:white;
    padding:30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.service-icon{
    font-size:40px;
    margin-bottom:15px;
}

.service-card h3{
    color:#00695c;
    margin-bottom:10px;
}
.booking-section{
    background:#e0f2f1;
}

.booking-form{
    max-width:850px;
    margin:auto;
    display:grid;
    gap:18px;
    background:white;
    padding:40px;
    border-radius:30px;
    box-shadow:0 18px 45px rgba(0,0,0,.1);
}

.booking-form input,
.booking-form select,
.booking-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:14px;
    font-size:16px;
    font-family:inherit;
}

.booking-form textarea{
    min-height:140px;
    resize:vertical;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.footer{
    background:#004d40;
    color:white;
    text-align:center;
    padding:45px 8%;
}

.footer h3{
    font-size:26px;
    margin-bottom:10px;
}

.footer p{
    color:#d7fffa;
}

#chatbot{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:9999;
}

#chat-toggle{
    border:none;
    background:#ffb300;
    color:white;
    padding:15px 24px;
    border-radius:40px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

#chat-window{
    display:none;
    flex-direction:column;
    width:370px;
    max-width:calc(100vw - 40px);
    height:520px;
    background:white;
    border-radius:25px;
    overflow:hidden;
    margin-bottom:15px;
    box-shadow:0 20px 55px rgba(0,0,0,.25);
}

.chat-header{
    background:#00695c;
    color:white;
    text-align:center;
    padding:18px;
    font-weight:700;
}

#chat-messages{
    flex:1;
    padding:18px;
    overflow-y:auto;
    background:#f7f7f7;
}

.bot-message,
.user-message{
    padding:12px 14px;
    border-radius:16px;
    margin-bottom:12px;
    max-width:85%;
    white-space:pre-line;
}

.bot-message{
    background:white;
    color:#333;
    border:1px solid #e0e0e0;
}

.user-message{
    background:#00695c;
    color:white;
    margin-left:auto;
    text-align:right;
}

.chat-input-area{
    display:flex;
    gap:8px;
    padding:12px;
    border-top:1px solid #eee;
}

#chat-input{
    flex:1;
    padding:12px;
    border-radius:14px;
    border:1px solid #ddd;
}

#chat-send{
    border:none;
    background:#ffb300;
    color:white;
    padding:0 16px;
    border-radius:14px;
    font-weight:700;
    cursor:pointer;
}

@media(max-width:850px){
    .topbar{
        flex-direction:column;
        gap:15px;
    }

    .main-nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .main-nav a{
        margin:0;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:17px;
    }

    .section{
        padding:65px 5%;
    }

    .section-heading h2{
        font-size:32px;
    }

    .split-layout{
        grid-template-columns:1fr;
    }

    .split-image img{
        height:320px;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    #chatbot{
        left:10px;
        right:10px;
        bottom:10px;
    }

    #chat-window{
        width:100%;
        height:70vh;
    }

    #chat-toggle{
        width:100%;
    }
}
.tour-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.8);
    z-index:99999;
    overflow:auto;
}

.tour-modal-content{
    background:white;
    width:90%;
    max-width:1000px;
    margin:40px auto;
    border-radius:25px;
    overflow:hidden;
    position:relative;
}

.tour-modal-content img{
    width:100%;
    height:450px;
    object-fit:cover;
}

.tour-modal-content h2{
    padding:25px 30px 10px;
    color:#00695c;
}

#modalText{
    padding:0 30px 30px;
    line-height:1.8;
}

.tour-close{
    position:absolute;
    right:20px;
    top:10px;
    font-size:40px;
    cursor:pointer;
    color:white;
    font-weight:bold;
}

.tour-card{
    cursor:pointer;
}
.menu-section {
  margin-top: 50px;
}

.menu-section h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #006b5b;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.menu-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.menu-card h4 {
  color: #006b5b;
  font-size: 22px;
  margin-bottom: 18px;
}

.menu-card ul {
  padding-left: 20px;
}

.menu-card li {
  margin-bottom: 12px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

.floating-contact{
position:fixed;right:20px;bottom:90px;display:flex;flex-direction:column;gap:10px;z-index:999;
}
.floating-contact a{
padding:10px 14px;border-radius:10px;text-decoration:none;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2);
}

/* === GREEN BRAND OVERRIDE === */

.hero-btn.primary,
.btn.primary,
.submit-btn,
.booking-form button,
button[type="submit"],
.chat-toggle,
.ai-button,
#chatToggle,
.sabai-ai-btn {
  background: linear-gradient(135deg, #00ff88, #00cc66) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow:
    0 0 15px rgba(0, 255, 136, 0.5),
    0 0 30px rgba(0, 255, 136, 0.25) !important;
}

.hero-btn.primary:hover,
.btn.primary:hover,
.submit-btn:hover,
.booking-form button:hover,
button[type="submit"]:hover,
.chat-toggle:hover,
.ai-button:hover,
#chatToggle:hover,
.sabai-ai-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 25px rgba(0, 255, 136, 0.75),
    0 0 45px rgba(0, 255, 136, 0.4) !important;
}

.room-price,
.price,
[class*="price"] {
  color: #00cc66 !important;
}

.floating-contact {
  position: fixed !important;
  right: 20px !important;
  bottom: 90px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  z-index: 9999 !important;
}

.floating-contact a {
  width: 125px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #00ff88, #00cc66) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-shadow:
    0 0 15px rgba(0, 255, 136, 0.5),
    0 0 30px rgba(0, 255, 136, 0.25) !important;
}

.floating-contact a:hover {
  transform: translateY(-3px);
}
/* Green brand buttons */
.hero-buttons .btn-primary, .submit-btn, .chat-toggle, .booking-btn{background:linear-gradient(135deg,#00ff88,#00cc66)!important;color:#fff!important;border:none!important;box-shadow:0 0 15px rgba(0,255,136,.5)!important;border-radius:999px!important;}
.room-price{color:#00cc66!important;font-weight:700!important;}
/* Zöld fő gombok */
/* Zöld fő gombok */

.btn.primary,
.btn-primary,
.hero-buttons .btn.primary,
#hero-book,
.submit-btn,
.booking-btn {
    background: linear-gradient(135deg, #00c853, #009624) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(0,200,83,0.35) !important;
}

.btn.primary:hover,
.btn-primary:hover,
.hero-buttons .btn.primary:hover,
#hero-book:hover,
.submit-btn:hover,
.booking-btn:hover {
    background: linear-gradient(135deg, #00a844, #007d1f) !important;
    transform: translateY(-2px);
}
/* ===== SABAI RESORT GREEN THEME ===== */

:root{
    --main-green:#005b4f;
    --main-green-hover:#007060;
}

/* Fő gombok */
.btn.primary,
.btn-primary,
.submit-btn,
.booking-btn,
#hero-book,
.sabai-ai-btn {
    background: var(--main-green) !important;
    color:#fff !important;
    border:none !important;
    box-shadow:none !important;
}

.btn.primary:hover,
.btn-primary:hover,
.submit-btn:hover,
.booking-btn:hover,
#hero-book:hover,
.sabai-ai-btn:hover {
    background: var(--main-green-hover) !important;
}

/* Ár szövegek */
.room-price,
.price,
[class*="price"]{
    color:var(--main-green) !important;
    font-weight:700 !important;
}

/* LINE és WhatsApp maradjon ugyanilyen */
.floating-contact a{
    background:var(--main-green) !important;
    color:#fff !important;
}

.floating-contact a:hover{
    background:var(--main-green-hover) !important;
}

/* Sabai AI gomb */
.chat-toggle,
.ai-button,
#chatToggle{
    background:var(--main-green) !important;
    color:#fff !important;
}

.chat-toggle:hover,
.ai-button:hover,
#chatToggle:hover{
    background:var(--main-green-hover) !important;
}

/* Programok megtekintése */
.btn.secondary,
.btn-secondary,
#hero-tours{
    border:2px solid var(--main-green) !important;
    color:var(--main-green) !important;
}

.btn.secondary:hover,
.btn-secondary:hover,
#hero-tours:hover{
    background:var(--main-green) !important;
    color:#fff !important;
}
.room-price,
.room-price strong,
.price,
[class*="price"] {
    color: #005b4f !important;
    font-weight: 700 !important;
}
.chat-toggle,
.ai-button,
.sabai-ai-btn,
#chatToggle {
    background: #005b4f !important;
    color: #ffffff !important;
    border: none !important;
}

.chat-toggle:hover,
.ai-button:hover,
.sabai-ai-btn:hover,
#chatToggle:hover {
    background: #007060 !important;
}
/* FINAL FIX - Sabai AI és árak */

#chatToggle,
.chat-toggle,
.ai-button,
.sabai-ai-btn,
.floating-ai,
.floating-ai button {
    background: #005b4f !important;
    background-color: #005b4f !important;
    color: #ffffff !important;
    border: none !important;
}

#chatToggle:hover,
.chat-toggle:hover,
.ai-button:hover,
.sabai-ai-btn:hover,
.floating-ai:hover,
.floating-ai button:hover {
    background: #007060 !important;
    background-color: #007060 !important;
}

.room-card strong,
.room-price,
.price,
[class*="price"],
[id*="price"] {
    color: #005b4f !important;
}
/* Sabai AI gomb */
#chat-toggle {
    background: #005b4f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 0 20px rgba(0,91,79,.35) !important;
}

#chat-toggle:hover {
    background: #007060 !important;
}
.modal-gallery{
    position:relative;
    width:100%;
    height:450px;
    overflow:hidden;
}

.modal-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.55);
    color:white;
    font-size:38px;
    line-height:1;
    cursor:pointer;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.gallery-arrow:hover{
    background:rgba(0,105,92,.85);
}

.gallery-prev{
    left:18px;
}

.gallery-next{
    right:18px;
}

.price-list p{
    margin-bottom:8px;
}

@media(max-width:700px){
    .modal-gallery{
        height:260px;
    }

    .gallery-arrow{
        width:38px;
        height:38px;
        font-size:32px;
    }
}

/* Phuket property form */
.property-section,
#phuket-property{
    padding:80px 20px 90px;
    background:#f7f5ef;
}

.property-layout{
    max-width:1320px;
    margin:0 auto;
    display:block !important;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 22px 60px rgba(0,75,67,.18);

    background-image:url('assets/phuket-property-bg.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.property-visual{
    display:none !important;
}

.property-panel{
    background:transparent !important;
    
    box-shadow:none !important;
    padding:34px 42px 30px;

    background:transparent !important;
    box-shadow:none !important;
}

.property-heading{
    margin-bottom:24px;
    text-align:left;
}

.property-heading h2{
    color:#fff !important;
    margin-bottom:8px;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.property-heading p{
    color:#fff !important;
    max-width:760px;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.property-form label,
.property-form .choice-block p,
.property-form .form-note{
    font-weight:700;
    color:#fff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.55);
}

.property-form span{
    color:#ff5454;
    text-shadow:none;
}

.property-form input[type="text"],
.property-form input[type="email"],
.property-form input[type="tel"],
.property-form input[type="number"],
.property-form select,
.property-form textarea{
    width:100%;
    margin-top:8px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:rgba(255,255,255,.96);
    min-height:42px;
    padding:10px 14px;
    font:inherit;
    color:#102522;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
}

.property-form textarea{
    resize:vertical;
    min-height:76px;
}

.form-grid{
    display:grid;
    gap:18px 22px;
    margin-bottom:20px;
}

.form-grid.two{
    grid-template-columns:1fr 1fr;
}

.form-grid.three{
    grid-template-columns:1fr 1fr 1fr;
    align-items:end;
}

.property-mid-grid{
    align-items:start;
    min-height:170px;
}

.choice-block p{
    margin:0 0 8px;
}

.choice{
    display:flex;
    align-items:center;
    gap:9px;
    margin:8px 0;
    font-weight:700 !important;
    line-height:1.25;
    color:#fff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.55);
}

.choice input{
    width:17px;
    height:17px;
    accent-color:#006b5d;
    flex:0 0 auto;
}

.budget-row .form-note{
    align-self:center;
    font-size:16px;
    line-height:1.35;
}

.property-submit{
    display:flex;
    justify-content:flex-end;
    margin-top:6px;
}

.property-submit .btn{
    border:0;
    cursor:pointer;
    padding:13px 28px;
    border-radius:10px;
}

@media(max-width:980px){
    .property-section,
    #phuket-property{
        padding:50px 14px 60px;
    }
    .property-layout{
        margin:0;
    
    background-image:url('assets/phuket-property-bg.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
    .property-visual{
        display:none !important;
    }
    .property-panel{
        padding:28px 22px;
    }
    .form-grid.two,
    .form-grid.three{
        grid-template-columns:1fr;
    }
    .property-submit{
        justify-content:stretch;
    }
    .property-submit .btn{
        width:100%;
    }
}



/* Property form visual improvements */
.property-panel label,
.property-panel h2,
.property-panel p,
.property-panel .property-heading,
.property-panel .form-group label{
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.property-layout{
    position: relative;
}

.property-layout::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.12);
    pointer-events:none;
}

.property-panel{
    position:relative;
    z-index:1;
}

.property-panel input,
.property-panel select,
.property-panel textarea{
    background:rgba(255,255,255,0.92);
}


/* Flight booking background section */
.flight-section{
    padding:0 20px 70px;
    background:#f7f5ef;
}

.flight-layout{
    max-width:1320px;
    min-height:760px;
    margin:0 auto;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 22px 60px rgba(0,75,67,.18);
    background-image:url('assets/phuket-flight-bg.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.flight-panel{
    min-height:760px;
    padding:42px 42px 34px;
    background:transparent !important;
    border:1px solid rgba(255,255,255,.24);
    box-shadow:none !important;
}

.flight-heading{
    text-align:center;
    margin-bottom:52px;
}

.flight-heading h2{
    color:#fff !important;
    font-size:42px;
    line-height:1.1;
    margin:0 0 16px;
    text-shadow:0 3px 8px rgba(0,0,0,.65), 0 0 14px rgba(0,0,0,.4);
}

.flight-heading p{
    color:#fff !important;
    margin:0 auto;
    max-width:760px;
    font-weight:700;
    text-shadow:0 2px 6px rgba(0,0,0,.75), 0 0 10px rgba(0,0,0,.45);
}

.flight-form label,
.flight-form .choice-block p,
.flight-form .choice,
.flight-form span{
    color:#fff !important;
    font-weight:700;
    text-shadow:0 2px 6px rgba(0,0,0,.8), 0 0 10px rgba(0,0,0,.45);
}

.flight-form span{
    color:#ff6a5f !important;
}

.flight-options{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:18px 22px;
    margin-bottom:26px;
}

.flight-form input[type="text"],
.flight-form input[type="email"],
.flight-form input[type="tel"],
.flight-form input[type="number"],
.flight-form input[type="date"],
.flight-form select,
.flight-form textarea{
    width:100%;
    margin-top:8px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:rgba(255,255,255,.94);
    min-height:42px;
    padding:10px 14px;
    font:inherit;
    color:#102522 !important;
    text-shadow:none !important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
}

.flight-form textarea{
    resize:vertical;
    min-height:92px;
}

.flight-child-input{
    display:block;
    margin-top:14px;
}

.flight-mid-grid{
    align-items:start;
}

.flight-form .choice{
    display:flex;
    align-items:center;
    gap:9px;
    margin:8px 0;
    line-height:1.25;
}

.flight-form .choice input{
    width:17px;
    height:17px;
    accent-color:#006b5d;
    flex:0 0 auto;
}

.flight-submit{
    display:flex;
    justify-content:flex-end;
    margin-top:20px;
}

.flight-submit .btn{
    border:0;
    cursor:pointer;
    padding:15px 34px;
    border-radius:14px;
    background:#006b5d;
    color:#fff;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,70,58,.28);
}

@media(max-width:980px){
    .flight-section{
        padding:0 14px 55px;
    }

    .flight-panel{
        padding:30px 22px;
    }

    .flight-heading{
        margin-bottom:30px;
    }

    .flight-heading h2{
        font-size:32px;
    }

    .flight-options,
    .flight-form .form-grid.two,
    .flight-form .form-grid.three{
        grid-template-columns:1fr;
    }

    .flight-submit{
        justify-content:stretch;
    }

    .flight-submit .btn{
        width:100%;
    }
}


/* About / Rólunk section */
.about-section{
    background:#ffffff;
}

.about-layout{
    max-width:1200px;
    margin:0 auto;
}

.about-content{
    width:100%;
}

.about-content .section-label{
    text-align:center;
    color:#111827;
    font-size:26px;
    letter-spacing:4px;
    font-weight:800;
    margin-bottom:32px;
}

.about-content p{
    font-size:18px;
    line-height:1.75;
    color:#555;
    margin-bottom:22px;
}

.about-media{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:36px;
    align-items:stretch;
    margin:44px 0 34px;
}

.about-video,
.about-photo{
    width:100%;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 14px 34px rgba(0,0,0,.16);
    background:#f4f4f4;
}

.about-video iframe{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    min-height:360px;
    border:0;
    display:block;
}

.about-photo img{
    width:100%;
    aspect-ratio:16/9;
    min-height:360px;
    object-fit:cover;
    display:block;
}

.hero h1 span{
    display:block;
}

@media(max-width:900px){
    .about-media{
        grid-template-columns:1fr;
        gap:24px;
    }
    .about-video iframe,
    .about-photo img{
        min-height:260px;
    }
    .about-content .section-label{
        font-size:22px;
    }
}

/* SABAI RESORT + ROOMS GALLERY SYSTEM */
.resort-showcase-section{
    background:linear-gradient(180deg,#ffffff,#f3fbf8);
}

.resort-main-card{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:34px;
    background:white;
    border-radius:34px;
    padding:24px;
    box-shadow:0 18px 45px rgba(0,0,0,.10);
    align-items:stretch;
}

.resort-main-content{
    padding:12px 10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.resort-main-content h3{
    font-size:32px;
    color:#00695c;
    margin-bottom:14px;
}

.resort-main-content p{
    color:#555;
    line-height:1.8;
    margin-bottom:18px;
}


.resort-contact{
    font-weight:700;
    color:#00695c !important;
    margin-bottom:10px !important;
}

.resort-mini-map{
    margin-top:16px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(0,137,123,.18);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    background:#f0faf6;
}

.resort-mini-map iframe{
    display:block;
    width:100%;
    height:190px;
    border:0;
}

.resort-check-list{
    list-style:none;
    display:grid;
    gap:10px;
}

.resort-check-list li{
    background:#f0faf6;
    border:1px solid rgba(0,137,123,.14);
    border-radius:16px;
    padding:12px 14px;
    color:#234;
}

.resort-check-list li::before{
    content:"✓ ";
    color:#00897b;
    font-weight:800;
}

.simple-gallery{
    position:relative;
    overflow:hidden;
    border-radius:26px;
    background:#e8f3ef;
    min-height:420px;
    height:100%;
    touch-action:pan-y;
}

.room-gallery{
    border-radius:30px 30px 0 0;
    min-height:260px;
    height:260px;
}

.gallery-track{
    height:100%;
    display:flex;
    transition:transform .35s ease;
}

.gallery-track img{
    width:100%;
    min-width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.room-gallery .gallery-track img{
    height:100%;
}

.simple-gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.88);
    color:#00695c;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 22px rgba(0,0,0,.18);
    z-index:5;
}

.simple-gallery-arrow:hover{
    background:white;
}

.simple-gallery-prev{ left:14px; }
.simple-gallery-next{ right:14px; }

.gallery-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    z-index:6;
}

.gallery-dots button{
    width:9px;
    height:9px;
    padding:0;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.65);
    cursor:pointer;
}

.gallery-dots button.active{
    width:24px;
    border-radius:99px;
    background:#ffffff;
}

.rooms-gallery-grid{
    align-items:stretch;
}

.room-gallery-card{
    display:flex;
    flex-direction:column;
}

.room-gallery-card .room-info{
    flex:1;
}

@media(max-width:900px){
    .resort-main-card{
        grid-template-columns:1fr;
        padding:18px;
    }

    .simple-gallery{
        min-height:320px;
        height:320px;
    }
}

@media(max-width:600px){
    .simple-gallery{
        min-height:250px;
        height:250px;
    }

    .room-gallery{
        min-height:230px;
        height:230px;
    }

    .simple-gallery-arrow{
        width:38px;
        height:38px;
        font-size:28px;
    }

    .resort-main-content h3{
        font-size:26px;
    }

    .resort-mini-map iframe{
        height:170px;
    }
}



/* FULLSCREEN GALÉRIA / LIGHTBOX */
body.lightbox-open{
    overflow:hidden;
}

.gallery-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
    padding:24px;
}

.gallery-lightbox.open{
    display:flex;
}

.gallery-lightbox-img{
    max-width:92vw;
    max-height:86vh;
    object-fit:contain;
    border-radius:18px;
    box-shadow:0 24px 70px rgba(0,0,0,.45);
}

.gallery-lightbox-close{
    position:absolute;
    top:18px;
    right:24px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#062b26;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    z-index:2;
}

.gallery-lightbox-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#00695c;
    font-size:44px;
    line-height:1;
    cursor:pointer;
    z-index:2;
}

.gallery-lightbox-prev{ left:26px; }
.gallery-lightbox-next{ right:26px; }

.gallery-lightbox-counter{
    position:absolute;
    bottom:22px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(255,255,255,.92);
    color:#062b26;
    border-radius:999px;
    padding:8px 16px;
    font-weight:700;
}

@media(max-width:700px){
    .gallery-lightbox{
        padding:12px;
    }
    .gallery-lightbox-img{
        max-width:96vw;
        max-height:78vh;
    }
    .gallery-lightbox-arrow{
        width:46px;
        height:46px;
        font-size:36px;
    }
    .gallery-lightbox-prev{ left:10px; }
    .gallery-lightbox-next{ right:10px; }
    .gallery-lightbox-close{
        top:10px;
        right:10px;
        width:44px;
        height:44px;
    }
}

/* ===== ROOM DETAILS PREMIUM FIX ===== */
.detailed-room-info{
    padding:28px !important;
}

.detailed-room-info h3{
    margin-bottom:18px !important;
}

.room-detail-block{
    color:#4b5563;
    font-size:16px;
    line-height:1.65;
}

.room-detail-block p{
    margin:0 0 14px !important;
    color:#4b5563 !important;
}

.room-detail-block strong{
    color:#4b5563 !important;
    font-size:16px !important;
    font-weight:800;
}

.room-capacity{
    font-size:19px !important;
    font-weight:800;
    color:#00695c !important;
}

.room-price-box{
    background:linear-gradient(180deg,#f0fdfa,#ffffff);
    border:1px solid rgba(0,137,123,.22);
    border-radius:18px;
    padding:18px 20px;
    margin:18px 0;
}

.amenity-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
    list-style:none !important;
    margin:18px 0 !important;
    padding:0 !important;
}

.room-info .amenity-list li{
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px 12px !important;
    border-radius:14px;
    background:#f2fbf8;
    border:1px solid rgba(0,137,123,.16);
    color:#334155 !important;
    font-size:15px;
}

.room-info .amenity-list li::before{
    content:none !important;
}

.amenity-list li span{
    width:24px;
    height:24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#ffffff;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    flex:0 0 24px;
}

@media(max-width:600px){
    .amenity-list{
        grid-template-columns:1fr;
    }
    .room-detail-block{
        font-size:15px;
    }
}


/* ===== ROOM CARDS COMPACT FIX - no icons, smaller layout ===== */
.rooms-gallery-grid{
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr)) !important;
    gap:24px !important;
}

.room-gallery-card{
    border-radius:24px !important;
}

.room-gallery{
    min-height:210px !important;
    height:210px !important;
    border-radius:24px 24px 0 0 !important;
}

.room-gallery-card .room-info,
.detailed-room-info{
    padding:20px 22px !important;
}

.detailed-room-info h3{
    font-size:22px !important;
    margin:0 0 10px !important;
    line-height:1.2 !important;
}

.room-detail-block{
    font-size:14px !important;
    line-height:1.45 !important;
}

.room-detail-block p{
    margin:0 0 8px !important;
}

.room-detail-block strong{
    font-size:14px !important;
    font-weight:750 !important;
}

.room-capacity{
    font-size:16px !important;
    margin-bottom:6px !important;
}

.room-price-box{
    padding:12px 14px !important;
    margin:10px 0 12px !important;
    border-radius:14px !important;
}

.room-price-box p{
    margin:0 0 7px !important;
}

.amenity-list{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px 10px !important;
    margin:10px 0 12px !important;
    padding:0 !important;
}

.room-info .amenity-list li{
    display:block !important;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
    font-size:14px !important;
    line-height:1.35 !important;
    color:#4b5563 !important;
}

.room-info .amenity-list li::before{
    content:"✓ " !important;
    color:#00897b !important;
    font-weight:800 !important;
}

.amenity-list li span{
    display:none !important;
}

@media(max-width:700px){
    .rooms-gallery-grid{
        grid-template-columns:1fr !important;
        gap:20px !important;
    }
    .room-gallery{
        min-height:220px !important;
        height:220px !important;
    }
    .amenity-list{
        grid-template-columns:1fr !important;
    }
}


/* ===== FINAL CHECK FIXES: about video + resort gallery + compact rooms ===== */
.about-video iframe{
    width:100% !important;
    height:360px !important;
    border-radius:24px !important;
    display:block !important;
}
.about-media{
    align-items:stretch !important;
}
.about-video,
.about-photo{
    min-height:360px !important;
}
.about-photo img{
    height:360px !important;
    object-fit:cover !important;
    width:100% !important;
    display:block !important;
}
.resort-main-card{
    align-items:center !important;
}

.resort-main-card > .simple-gallery{
    height:420px !important;
    min-height:420px !important;
    align-self:center !important;
}

.resort-main-card > .simple-gallery .gallery-track,
.resort-main-card > .simple-gallery .gallery-track img{
    height:420px !important;
}
.resort-main-content{
    justify-content:flex-start !important;
    padding:10px 8px !important;
}
.resort-main-content h3{
    margin-top:0 !important;
}
.resort-main-content p{
    line-height:1.55 !important;
    margin-bottom:12px !important;
}
.resort-check-list{
    gap:8px !important;
    margin:12px 0 !important;
}
.resort-check-list li{
    padding:10px 12px !important;
}
.resort-mini-map{
    margin-top:12px !important;
}
.resort-mini-map iframe{
    height:150px !important;
}
.room-detail-block{
    font-size:13.5px !important;
    line-height:1.42 !important;
}
.room-price-box{
    padding:10px 12px !important;
    margin:9px 0 10px !important;
}
.amenity-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px 10px !important;
}
.room-info .amenity-list li{
    font-size:13.5px !important;
}
@media(max-width:900px){
    .resort-main-card > .simple-gallery,
    .resort-main-card > .simple-gallery .gallery-track,
    .resort-main-card > .simple-gallery .gallery-track img{
        height:360px !important;
        min-height:360px !important;
    }
    .about-video iframe,
    .about-photo img{
        height:320px !important;
    }
}
@media(max-width:600px){
    .resort-main-card > .simple-gallery,
    .resort-main-card > .simple-gallery .gallery-track,
    .resort-main-card > .simple-gallery .gallery-track img{
        height:260px !important;
        min-height:260px !important;
    }
    .about-video iframe,
    .about-photo img{
        height:260px !important;
    }
}

/* FINAL MOBILE OPTIMIZATION - Krabi Magyarul */
@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .header-logo {
    max-width: 210px;
    height: auto;
  }

  .language-switcher {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .main-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    justify-content: flex-start;
    padding: 10px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 80px 18px 50px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(34px, 10vw, 54px);
    line-height: 1.08;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn,
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 46px 16px;
  }

  .about-media,
  .resort-main-card,
  .property-layout,
  .flight-layout,
  .form-grid.two,
  .form-grid.three,
  .property-mid-grid,
  .flight-mid-grid,
  .bottom-row,
  .budget-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .about-video iframe {
    height: 230px !important;
  }

  .about-photo img,
  .simple-gallery,
  .simple-gallery img,
  .gallery-track img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .simple-gallery,
  .resort-main-card > .simple-gallery,
  .resort-main-card > .simple-gallery .gallery-track,
  .resort-main-card > .simple-gallery .gallery-track img {
    height: 260px !important;
    min-height: 260px !important;
  }

  .simple-gallery img,
  .gallery-track img {
    object-fit: cover !important;
  }

  .property-section,
  .flight-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .property-panel,
  .flight-panel,
  .property-form,
  .flight-form {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .property-form label,
  .flight-form label,
  .choice-block,
  .form-note {
    font-size: 14px;
    line-height: 1.45;
  }

  .property-form input,
  .property-form select,
  .property-form textarea,
  .flight-form input,
  .flight-form select,
  .flight-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .flight-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .choice {
    align-items: flex-start;
    gap: 8px;
  }

  .property-submit,
  .flight-submit {
    width: 100%;
  }

  .property-submit .btn,
  .flight-submit .btn {
    width: 100%;
    min-height: 48px;
  }

  .rooms-grid,
  .tours-grid,
  .services-grid,
  .restaurant-grid {
    grid-template-columns: 1fr !important;
  }

  .room-card,
  .tour-card,
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .header-logo {
    max-width: 180px;
  }

  .language-switcher button {
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-heading h2,
  .about-content h2,
  .property-heading h2,
  .flight-heading h2 {
    font-size: 26px !important;
    line-height: 1.15;
  }

  .property-form,
  .flight-form {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .simple-gallery,
  .resort-main-card > .simple-gallery,
  .resort-main-card > .simple-gallery .gallery-track,
  .resort-main-card > .simple-gallery .gallery-track img {
    height: 220px !important;
    min-height: 220px !important;
  }
}


/* Unified white labels for visual forms */
.property-form label,
.property-form .choice,
.property-form .choice-block p,
.property-form .form-note,
.property-form [data-i18n],
.flight-form label,
.flight-form .choice,
.flight-form .choice-block p,
.flight-form [data-i18n]{
    color:#fff !important;
    font-weight:800;
    text-shadow:0 2px 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55) !important;
}

.property-form span,
.flight-form span{
    color:#fff !important;
    text-shadow:0 2px 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55) !important;
}

/* Insurance form section */
.insurance-section{
    padding:0 20px 80px;
    background:#f7f5ef;
}

.insurance-layout{
    max-width:1320px;
    min-height:760px;
    margin:0 auto;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 22px 60px rgba(0,75,67,.18);

    background-image:
        linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)),
        url('assets/insurance-bg.jpg');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.insurance-panel{
    min-height:760px;
    padding:42px 42px 34px;
    background:transparent !important;
    border:1px solid rgba(255,255,255,.24);
    box-shadow:none !important;
}

.insurance-heading{
    text-align:center;
    margin-bottom:38px;
}

.insurance-heading h2{
    color:#fff !important;
    font-size:42px;
    line-height:1.1;
    margin:0 0 16px;
    text-shadow:0 3px 8px rgba(0,0,0,.75), 0 0 14px rgba(0,0,0,.45);
}

.insurance-heading p{
    color:#fff !important;
    margin:0 auto;
    max-width:850px;
    font-weight:800;
    text-shadow:0 2px 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55);
}

.insurance-form label,
.insurance-form .choice,
.insurance-form .choice-block p,
.insurance-form [data-i18n]{
    color:#fff !important;
    font-weight:800;
    text-shadow:0 2px 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55) !important;
}

.insurance-form span{
    color:#fff !important;
    text-shadow:0 2px 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55) !important;
}

.insurance-form input[type="text"],
.insurance-form input[type="email"],
.insurance-form input[type="tel"],
.insurance-form input[type="number"],
.insurance-form input[type="date"],
.insurance-form select,
.insurance-form textarea{
    width:100%;
    margin-top:8px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:rgba(255,255,255,.94);
    min-height:42px;
    padding:10px 14px;
    font:inherit;
    color:#102522 !important;
    text-shadow:none !important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
}

.insurance-form textarea{
    resize:vertical;
    min-height:92px;
}

.insurance-top-grid{
    align-items:start;
}

.insurance-form .choice{
    display:flex;
    align-items:center;
    gap:9px;
    margin:8px 0;
    line-height:1.25;
}

.insurance-form .choice input{
    width:17px;
    height:17px;
    accent-color:#006b5d;
    flex:0 0 auto;
}

.insurance-form .full-label{
    display:block;
    margin-bottom:20px;
}

.insurance-passenger-block{
    margin-top:8px;
}

.insurance-submit{
    display:flex;
    justify-content:flex-end;
    margin-top:20px;
}

.insurance-submit .btn{
    border:0;
    cursor:pointer;
    padding:15px 34px;
    border-radius:14px;
    background:#006b5d;
    color:#fff;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,70,58,.28);
}

@media(max-width:980px){
    .insurance-section{
        padding:0 14px 55px;
    }

    .insurance-panel{
        padding:30px 22px;
    }

    .insurance-heading{
        margin-bottom:30px;
    }

    .insurance-heading h2{
        font-size:32px;
    }

    .insurance-form .form-grid.two,
    .insurance-form .form-grid.three{
        grid-template-columns:1fr;
    }

    .insurance-submit{
        justify-content:stretch;
    }

    .insurance-submit .btn{
        width:100%;
    }
}

@media(max-width:640px){
    .property-panel,
    .flight-panel,
    .insurance-panel{
        padding:24px 16px;
    }

    .property-heading h2,
    .flight-heading h2,
    .insurance-heading h2{
        font-size:28px;
    }
}

/* === RESTAURANT SECTION UPDATE === */
.restaurant-main-block{
  align-items:stretch;
}

.restaurant-text-card{
  background:#ffffff;
  border-radius:24px;
  padding:32px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  line-height:1.75;
  color:#4b5563;
  font-size:17px;
}

.restaurant-text-card p{
  margin:0 0 14px;
}

.restaurant-text-card strong{
  color:#374151;
}

.restaurant-gallery-side{
  min-width:0;
}

.restaurant-gallery{
  width:100%;
  height:500px;
  border-radius:35px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.12);
  background:#e9f2ef;
}

.restaurant-gallery .gallery-track,
.restaurant-gallery .gallery-track img{
  height:500px;
}

.restaurant-gallery .gallery-track img{
  width:100%;
  object-fit:cover;
  background:#e9f2ef;
}

@media (max-width:900px){
  .restaurant-text-card{
    padding:24px;
    font-size:16px;
  }

  .restaurant-gallery{
    height:360px;
    border-radius:24px;
  }

  .restaurant-gallery .gallery-track,
  .restaurant-gallery .gallery-track img{
    height:360px;
  }
}

@media (max-width:560px){
  .restaurant-gallery{
    height:260px;
    border-radius:20px;
  }

  .restaurant-gallery .gallery-track,
  .restaurant-gallery .gallery-track img{
    height:260px;
  }
}


/* === PROGRAMOK 14 CSOMAG - kártyás, gyors betöltés === */
.programs-section{background:#f7f4ee;}
.program-tabs{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:28px auto 34px;}
.program-tab{border:1px solid rgba(0,91,79,.18);background:#fff;color:#005b4f;font-weight:800;border-radius:999px;padding:12px 18px;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.05);transition:.2s ease;}
.program-tab:hover,.program-tab.active{background:#005b4f;color:#fff;transform:translateY(-1px);}
.program-groups{max-width:1320px;margin:0 auto;display:flex;flex-direction:column;gap:46px;}
.program-group{display:block;}
.program-group.hidden{display:none;}
.program-group-head{text-align:center;margin-bottom:22px;}
.program-group-head .section-label{margin-bottom:8px;}
.program-group-head h3{font-size:clamp(24px,3vw,38px);margin:0;color:#111827;letter-spacing:.08em;text-transform:uppercase;}
.program-group-head p{max-width:820px;margin:12px auto 0;color:#5f6470;line-height:1.7;}
.program-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;}
.program-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.08);cursor:pointer;border:1px solid rgba(0,91,79,.08);transition:.25s ease;display:flex;flex-direction:column;min-height:360px;}
.program-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(0,91,79,.16);}
.program-card img{width:100%;height:190px;object-fit:cover;background:#eaf3f0;display:block;}
.program-card-content{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1;}
.program-badge{align-self:flex-start;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#005b4f;background:rgba(0,91,79,.09);padding:7px 10px;border-radius:999px;}
.program-card h4{font-size:20px;line-height:1.25;margin:0;color:#102033;}
.program-card p{margin:0;color:#596272;line-height:1.55;}
.program-meta{font-size:14px;color:#005b4f;font-weight:800;margin-top:auto;}
.program-details-btn{border:1px solid #005b4f;background:#fff;color:#005b4f;border-radius:12px;padding:11px 14px;font-weight:900;margin-top:6px;}
.program-card:hover .program-details-btn{background:#005b4f;color:#fff;}

/* Étterem: galéria és szövegkártya azonos magasság */
.restaurant-split,.restaurant-layout{align-items:stretch !important;}
.restaurant-gallery-card,.restaurant-text-card{height:540px !important;min-height:540px !important;}
.restaurant-gallery-card .simple-gallery,.restaurant-gallery-card .gallery-track,.restaurant-gallery-card .gallery-track img{height:100% !important;min-height:540px !important;}
.restaurant-text-card{overflow:auto;}
@media(max-width:1100px){.program-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.restaurant-gallery-card,.restaurant-text-card{height:auto !important;min-height:0 !important;}.restaurant-gallery-card .simple-gallery,.restaurant-gallery-card .gallery-track,.restaurant-gallery-card .gallery-track img{height:420px !important;min-height:420px !important;}}
@media(max-width:640px){.program-card-grid{grid-template-columns:1fr;}.program-tabs{justify-content:stretch}.program-tab{width:100%;}.program-card{min-height:auto}.program-card img{height:220px}.restaurant-gallery-card .simple-gallery,.restaurant-gallery-card .gallery-track,.restaurant-gallery-card .gallery-track img{height:300px !important;min-height:300px !important;}}


/* === MODERN SZOBÁK KÁRTYÁS RENDSZER === */
.rooms-modern-section .section-heading{margin-bottom:34px;}
.room-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1280px;margin:0 auto;}
.room-modern-card{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.08);border:1px solid rgba(0,91,79,.08);display:flex;flex-direction:column;transition:.25s ease;min-height:430px;}
.room-modern-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(0,91,79,.16);}
.room-modern-card img{width:100%;height:220px;object-fit:cover;display:block;background:#eaf3f0;}
.room-modern-content{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1;}
.room-badge{align-self:flex-start;background:#e8f5ef;color:#005b4f;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;}
.room-modern-content h3{font-size:22px;line-height:1.2;margin:0;color:#102033;}
.room-modern-content p{margin:0;color:#596272;line-height:1.55;}
.room-modern-meta{margin-top:auto;color:#005b4f;font-weight:800;font-size:14px;line-height:1.45;}
.room-modern-price{font-weight:800;color:#102033;font-size:15px;}
.room-details-btn{margin-top:8px;border:1.5px solid #005b4f;background:#fff;color:#005b4f;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;transition:.2s ease;width:100%;}
.room-details-btn:hover{background:#005b4f;color:#fff;}
.room-details-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:999999;overflow:auto;padding:28px 14px;}
.room-details-modal.open{display:block;}
.room-details-modal-content{background:#fff;width:min(1120px,94vw);margin:0 auto;border-radius:24px;overflow:hidden;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.35);}
.room-details-close{position:absolute;right:16px;top:12px;z-index:5;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;font-size:30px;cursor:pointer;box-shadow:0 8px 25px rgba(0,0,0,.18);}
.room-modal-gallery{height:520px !important;min-height:520px !important;border-radius:0 !important;}
.room-modal-gallery .gallery-track,.room-modal-gallery .gallery-track img{height:520px !important;}
.room-details-body{padding:28px 34px 34px;}
.room-details-body h2{margin:0 0 18px;color:#005b4f;font-size:32px;}
.room-details-body p{line-height:1.7;color:#2d3648;}
.room-details-body .amenity-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:18px 0;padding:0;list-style:none;}
.room-details-body .amenity-list li{background:#f1f7f5;border-radius:10px;padding:9px 11px;color:#005b4f;font-weight:700;}
@media(max-width:1100px){.room-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.room-modal-gallery,.room-modal-gallery .gallery-track,.room-modal-gallery .gallery-track img{height:420px !important;min-height:420px !important;}}
@media(max-width:640px){.room-card-grid{grid-template-columns:1fr;}.room-modern-card img{height:220px}.room-details-body{padding:22px 18px 28px}.room-details-body h2{font-size:26px}.room-details-body .amenity-list{grid-template-columns:1fr}.room-modal-gallery,.room-modal-gallery .gallery-track,.room-modal-gallery .gallery-track img{height:300px !important;min-height:300px !important;}}

.gallery-lightbox-counter,.gallery-counter{display:none !important;}


/* =========================================================
   MOBIL OPTIMALIZÁLÁS - Krabi Magyarul
   Telefon + tablet nézet végleges finomhangolás
   ========================================================= */

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

img, video, iframe{
    max-width:100%;
}

/* Galéria pöttyök eltüntetése minden nézetben */
.gallery-dots,
.simple-gallery-dots,
.gallery-dot,
.simple-gallery-dot,
.gallery-lightbox-counter,
.gallery-counter{
    display:none !important;
}

/* Tablet nézet */
@media (max-width: 1024px){
    .section,
    section{
        padding-left:18px !important;
        padding-right:18px !important;
    }

    .container,
    .content-wrap,
    .section-inner{
        width:100% !important;
        max-width:100% !important;
    }

    .resort-main-card,
    .restaurant-split,
    .restaurant-layout,
    .booking-grid,
    .property-form-grid,
    .flight-form-grid,
    .insurance-form-grid{
        grid-template-columns:1fr !important;
        display:grid !important;
        gap:24px !important;
    }

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

/* Telefon nézet */
@media (max-width: 768px){
    body{
        font-size:15px;
        line-height:1.6;
    }

    h1{
        font-size:clamp(30px, 9vw, 42px) !important;
        line-height:1.08 !important;
    }

    h2{
        font-size:clamp(26px, 7vw, 34px) !important;
        line-height:1.15 !important;
    }

    h3{
        font-size:clamp(21px, 5.6vw, 28px) !important;
    }

    p{
        font-size:15px;
    }

    .hero,
    .hero-section{
        min-height:auto !important;
        padding:80px 18px 50px !important;
    }

    .hero-content,
    .hero-text{
        width:100% !important;
        max-width:100% !important;
        text-align:center !important;
    }

    .language-switcher,
    .lang-switcher,
    .lang-buttons{
        justify-content:center !important;
        flex-wrap:wrap !important;
        gap:8px !important;
    }

    .top-nav,
    .main-nav,
    nav{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .resort-main-card,
    .restaurant-split,
    .restaurant-layout{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:22px !important;
        padding:0 !important;
    }

    .resort-main-card > .simple-gallery,
    .restaurant-gallery,
    .restaurant-gallery-card,
    .room-modal-gallery{
        width:100% !important;
        height:300px !important;
        min-height:300px !important;
        border-radius:20px !important;
    }

    .resort-main-card > .simple-gallery .gallery-track,
    .resort-main-card > .simple-gallery .gallery-track img,
    .restaurant-gallery .gallery-track,
    .restaurant-gallery .gallery-track img,
    .restaurant-gallery-card .simple-gallery,
    .restaurant-gallery-card .gallery-track,
    .restaurant-gallery-card .gallery-track img,
    .room-modal-gallery .gallery-track,
    .room-modal-gallery .gallery-track img{
        height:300px !important;
        min-height:300px !important;
        object-fit:cover !important;
    }

    .restaurant-text-card,
    .resort-main-content,
    .text-card,
    .info-card{
        height:auto !important;
        min-height:0 !important;
        overflow:visible !important;
        padding:22px 18px !important;
        border-radius:20px !important;
    }

    .program-card-grid,
    .room-card-grid{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .program-card,
    .room-modern-card{
        min-height:auto !important;
        border-radius:18px !important;
    }

    .program-card img,
    .room-modern-card img{
        height:210px !important;
    }

    .program-tabs{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:10px !important;
        margin:20px 0 28px !important;
    }

    .program-tab{
        width:100% !important;
        text-align:center !important;
        padding:13px 14px !important;
    }

    /* Űrlapok mobilon: egy oszlop, olvasható mezők */
    form,
    .form-grid,
    .property-form-grid,
    .flight-form-grid,
    .insurance-form-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    input,
    select,
    textarea,
    button{
        max-width:100% !important;
        font-size:16px !important;
    }

    input,
    select,
    textarea{
        min-height:46px !important;
    }

    textarea{
        min-height:110px !important;
    }

    .property-layout,
    .flight-layout,
    .insurance-layout{
        width:100% !important;
        max-width:100% !important;
        min-height:auto !important;
        border-radius:20px !important;
        padding:18px !important;
        background-position:center !important;
    }

    .property-layout label,
    .flight-layout label,
    .insurance-layout label{
        color:#fff !important;
        text-shadow:0 2px 6px rgba(0,0,0,.85) !important;
    }

    .floating-actions,
    .floating-contact,
    .chat-floating,
    .quick-contact{
        right:10px !important;
        bottom:10px !important;
        transform:scale(.88);
        transform-origin:right bottom;
    }

    .gallery-prev,
    .gallery-next,
    .simple-gallery-prev,
    .simple-gallery-next{
        width:40px !important;
        height:40px !important;
        font-size:22px !important;
    }

    .room-details-modal{
        padding:12px !important;
    }

    .room-details-modal-content{
        width:100% !important;
        border-radius:18px !important;
    }

    .room-details-body{
        padding:20px 16px 26px !important;
    }
}

/* Kis telefonok */
@media (max-width: 480px){
    .section,
    section{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .resort-main-card > .simple-gallery,
    .restaurant-gallery,
    .restaurant-gallery-card,
    .room-modal-gallery{
        height:240px !important;
        min-height:240px !important;
        border-radius:16px !important;
    }

    .resort-main-card > .simple-gallery .gallery-track,
    .resort-main-card > .simple-gallery .gallery-track img,
    .restaurant-gallery .gallery-track,
    .restaurant-gallery .gallery-track img,
    .restaurant-gallery-card .simple-gallery,
    .restaurant-gallery-card .gallery-track,
    .restaurant-gallery-card .gallery-track img,
    .room-modal-gallery .gallery-track,
    .room-modal-gallery .gallery-track img{
        height:240px !important;
        min-height:240px !important;
    }

    .program-card img,
    .room-modern-card img{
        height:190px !important;
    }

    .program-card-content,
    .room-modern-content{
        padding:16px !important;
    }

    .restaurant-text-card,
    .resort-main-content,
    .text-card,
    .info-card{
        padding:18px 14px !important;
    }

    .floating-actions,
    .floating-contact,
    .chat-floating,
    .quick-contact{
        transform:scale(.78);
    }
}


/* Automatikus szolgáltatás képek */
.service-card{
    overflow:hidden;
    cursor:pointer;
}
.service-cover{
    width:100%;
    height:190px;
    object-fit:cover;
    border-radius:18px;
    margin-bottom:18px;
    background:#eaf3f0;
    display:none;
}
.service-cover[src]:not([src=""]){
    display:block;
}
.service-cover[src]:not([src=""]) + .service-fallback-icon{
    display:none;
}

/* === DIRECT BOOKING + PAYMENT V3 === */
.modal-gallery{position:relative;background:#0b0f0e;min-height:260px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#modalImage{display:block;width:100%;height:min(62vh,560px);object-fit:cover;border:0;margin:0}
.tour-modal-content .modal-gallery img:not(#modalImage){display:none!important}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border:0;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:36px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer}
.gallery-prev{left:18px}.gallery-next{right:18px}
.gallery-arrow:hover{background:rgba(0,105,92,.9)}
.km-booking-box{margin:26px 0 0;padding:22px;border-radius:22px;background:linear-gradient(135deg,#eefaf6,#ffffff);border:1px solid rgba(0,105,92,.18);box-shadow:0 12px 30px rgba(0,0,0,.06)}
.km-booking-box h3{margin:0 0 12px;color:#00695c;font-size:22px}.km-booking-box p{margin:6px 0;color:#334155}.km-booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.km-booking-grid label{font-weight:700;font-size:13px;color:#0f3f39}.km-booking-grid input,.km-booking-grid select,.km-booking-grid textarea{width:100%;margin-top:6px;padding:12px 13px;border-radius:14px;border:1px solid #cbd5e1;font:inherit;background:#fff}.km-booking-grid textarea{min-height:84px;resize:vertical}.km-booking-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:14px;border-radius:16px;background:#fff;border:1px solid #d9eee9}.km-booking-total strong{font-size:22px;color:#00695c}.km-pay-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.km-pay-options label{border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#fff;cursor:pointer;font-weight:700}.km-pay-options input{margin-right:7px}.km-payment-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.km-primary-pay,.km-whatsapp-pay{border:0;border-radius:16px;padding:14px 16px;font-weight:900;cursor:pointer;text-align:center;text-decoration:none}.km-primary-pay{background:#00695c;color:#fff}.km-whatsapp-pay{background:#e7fff6;color:#00695c;border:1px solid #9ed8ca}.km-primary-pay:hover{filter:brightness(.95)}.km-booking-note{font-size:13px;color:#64748b;margin-top:12px!important}.km-hidden{display:none!important}.booking-status{margin-top:10px;font-weight:700;color:#00695c}.room-inline-booking{margin:24px 0 0}.room-details-body .km-booking-box{margin-top:24px}.room-details-modal-content .gallery-dots{display:none!important}
@media(max-width:760px){.tour-modal-content{width:96%;margin:16px auto;border-radius:18px}.tour-modal-content h2{padding:18px 18px 8px}.tour-close{right:14px;top:6px;font-size:34px}.modal-gallery{min-height:220px}#modalImage{height:42vh}.km-booking-grid,.km-pay-options,.km-payment-buttons{grid-template-columns:1fr}#modalText{padding:0 18px 22px}.gallery-arrow{width:42px;height:42px;font-size:30px}.gallery-prev{left:10px}.gallery-next{right:10px}}

/* =========================================================
   KRABI MAGYARUL v3.1 – PRÉMIUM FOGLALÁS + FIZETÉS
   ========================================================= */
.tour-modal-content{
  max-width:1120px!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 30px 90px rgba(0,0,0,.35)!important;
}
.modal-gallery{
  height:min(62vh,560px)!important;
  min-height:320px!important;
  background:#071312!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
#modalImage{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  margin:0!important;
  border:0!important;
}
.tour-modal-content .modal-gallery img:not(#modalImage),
#modalText > img,
#modalText .gallery-track,
#modalText .simple-gallery,
#modalText .gallery-dots,
.tour-modal-content .gallery-dots{
  display:none!important;
}
.gallery-arrow{
  z-index:4!important;
  width:56px!important;
  height:56px!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.45)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  backdrop-filter:blur(8px)!important;
}
.gallery-prev{left:28px!important}.gallery-next{right:28px!important}

.km-booking-box.km-booking-premium{
  margin:30px 0 0!important;
  padding:28px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(241,252,248,.97))!important;
  border:1px solid rgba(0,105,92,.16)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.12)!important;
  color:#0f172a!important;
}
.km-booking-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:18px}
.km-booking-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:#e6f7f2;color:#00695c;font-size:24px;box-shadow:inset 0 0 0 1px rgba(0,105,92,.12)}
.km-booking-box h3{margin:0!important;color:#00695c!important;font-size:30px!important;line-height:1.1!important}
.km-booking-note{margin:8px 0 0!important;color:#334155!important;font-size:15px!important;line-height:1.55!important}
.km-booking-grid-premium{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px 18px!important;margin:20px 0 22px!important}
.km-booking-grid-premium label{display:block!important;font-weight:900!important;font-size:14px!important;color:#0f172a!important}
.km-input-wrap{display:flex!important;align-items:center!important;gap:10px!important;margin-top:7px!important;padding:0 12px!important;border:1px solid #d5e3df!important;background:#fff!important;border-radius:14px!important;min-height:46px!important;box-shadow:0 4px 16px rgba(15,23,42,.04)!important}
.km-input-wrap input,.km-input-wrap textarea{width:100%!important;border:0!important;outline:0!important;background:transparent!important;padding:10px 0!important;margin:0!important;font:inherit!important;color:#0f172a!important;box-shadow:none!important}
.km-input-wrap textarea{min-height:44px!important;resize:vertical!important}.km-textarea-wrap{align-items:flex-start!important}
.km-choice-row{display:grid!important;gap:14px!important;margin:14px 0!important}.km-amount-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.km-method-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.km-choice-card{position:relative!important;display:flex!important;align-items:center!important;gap:14px!important;padding:18px!important;border:1px solid #d8e5e1!important;border-radius:18px!important;background:#fff!important;cursor:pointer!important;transition:.2s ease!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}
.km-choice-card:hover{border-color:#00806f!important;transform:translateY(-1px)!important;box-shadow:0 16px 32px rgba(0,105,92,.10)!important}
.km-choice-card input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.km-choice-card:has(input:checked){border-color:#00806f!important;background:linear-gradient(135deg,#eefaf6,#fff)!important;box-shadow:0 18px 40px rgba(0,105,92,.14)!important}
.km-choice-dot{width:26px!important;height:26px!important;border-radius:999px!important;border:2px solid #cbd5e1!important;display:inline-block!important;flex:0 0 26px!important;position:relative!important}.km-choice-card:has(input:checked) .km-choice-dot{border-color:#00806f!important;background:#00806f!important}.km-choice-card:has(input:checked) .km-choice-dot:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}
.km-method-icon{width:42px;height:42px;border-radius:14px;background:#e8f6f2;color:#00695c;display:grid;place-items:center;font-size:22px;flex:0 0 42px}.km-choice-card strong{display:block!important;color:#0f3f39!important;font-size:16px!important}.km-choice-card small{display:block!important;color:#64748b!important;margin-top:3px!important}.km-choice-card b{display:block!important;margin-top:8px!important;color:#00695c!important;font-size:20px!important}
.km-booking-action-row{display:grid!important;grid-template-columns:1.15fr 1fr 1fr!important;gap:16px!important;align-items:stretch!important;margin:22px 0!important}.km-booking-total{margin:0!important;padding:18px 20px!important;border-radius:18px!important;background:linear-gradient(135deg,#00695c,#009578)!important;color:#fff!important;border:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}.km-booking-total span{font-weight:800}.km-booking-total strong{color:#fff!important;font-size:26px!important;white-space:nowrap!important}
.km-primary-pay,.km-whatsapp-pay{border-radius:18px!important;padding:16px 18px!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;text-decoration:none!important;font-weight:950!important;font-size:16px!important;line-height:1.2!important;cursor:pointer!important}.km-primary-pay{background:linear-gradient(135deg,#00796b,#009c83)!important;color:#fff!important;border:0!important;box-shadow:0 15px 35px rgba(0,105,92,.22)!important}.km-whatsapp-pay{background:#fff!important;color:#00695c!important;border:1px solid #9ed8ca!important}.km-primary-pay:hover,.km-whatsapp-pay:hover{filter:brightness(.98);transform:translateY(-1px)}
.km-trust-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;background:#f5fbf9!important;border:1px solid #e1f0ec!important;border-radius:18px!important;padding:14px!important;margin-top:14px!important}.km-trust-row span{display:flex;gap:10px;align-items:flex-start;color:#00695c;font-weight:900}.km-trust-row small{display:block;color:#64748b;font-weight:600;margin-top:2px}.booking-status{color:#00695c!important;font-weight:900!important;margin-top:12px!important}

@media(max-width:980px){.km-booking-grid-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}.km-booking-action-row{grid-template-columns:1fr!important}.km-trust-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.tour-modal-content{width:96%!important;margin:14px auto!important;border-radius:20px!important}.modal-gallery{height:42vh!important;min-height:240px!important}.km-booking-box.km-booking-premium{padding:20px!important;border-radius:22px!important}.km-booking-box h3{font-size:24px!important}.km-booking-grid-premium,.km-amount-row,.km-method-row,.km-trust-row{grid-template-columns:1fr!important}.gallery-prev{left:10px!important}.gallery-next{right:10px!important}.gallery-arrow{width:44px!important;height:44px!important}}


/* === RC CLEAN FIX: mobil popup + form stabilizálás === */
.tour-close{
  position:absolute!important;
  right:18px!important;
  top:12px!important;
  z-index:10!important;
  width:44px!important;
  height:44px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(0,0,0,.55)!important;
  color:#fff!important;
  font-size:34px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.modal-gallery{position:relative!important;overflow:hidden!important;}
.gallery-arrow{display:flex!important;visibility:visible!important;opacity:1!important;}
#galleryPrev,#galleryNext{display:flex;}
@media(max-width:760px){
  .tour-modal{padding:0!important;overflow-y:auto!important;}
  .tour-modal-content{width:96%!important;margin:12px auto!important;border-radius:18px!important;max-height:none!important;}
  .modal-gallery{height:42vh!important;min-height:230px!important;}
  #modalImage{height:100%!important;width:100%!important;object-fit:cover!important;}
  .tour-close{right:10px!important;top:8px!important;width:42px!important;height:42px!important;font-size:32px!important;}
  .gallery-arrow{width:44px!important;height:44px!important;font-size:34px!important;top:50%!important;z-index:8!important;}
  .gallery-prev{left:10px!important;}
  .gallery-next{right:10px!important;}
  #modalText{padding:0 16px 22px!important;}
}

@media(max-width:900px){
  .property-section,.flight-section,.insurance-section{padding:48px 12px!important;overflow:hidden!important;}
  .property-layout,.flight-layout,.insurance-layout{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;gap:18px!important;}
  .property-panel,.flight-panel,.insurance-panel,.property-form,.flight-form,.insurance-form{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;}
  .property-panel,.flight-panel,.insurance-panel{padding:20px 14px!important;border-radius:22px!important;}
  .property-form .form-grid,.flight-form .form-grid,.insurance-form .form-grid,
  .property-mid-grid,.flight-mid-grid,.insurance-top-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .property-form input,.property-form select,.property-form textarea,
  .flight-form input,.flight-form select,.flight-form textarea,
  .insurance-form input,.insurance-form select,.insurance-form textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important;}
  .property-form .choice,.flight-form .choice,.insurance-form .choice,
  .property-form label.choice,.flight-form label.choice,.insurance-form label.choice{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;}
  .property-form input[type="checkbox"],.property-form input[type="radio"],
  .flight-form input[type="checkbox"],.flight-form input[type="radio"],
  .insurance-form input[type="checkbox"],.insurance-form input[type="radio"]{width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;margin-top:2px!important;}
  .property-submit,.flight-submit,.insurance-submit{width:100%!important;}
  .property-submit .btn,.flight-submit .btn,.insurance-submit .btn{width:100%!important;justify-content:center!important;}
}


/* =========================================================
   RC11 OWNER DEMO – MODERN PROGRAM DETAIL / DIRECT PAYMENT UI
   ========================================================= */
.tour-modal{background:rgba(7,17,22,.78)!important;backdrop-filter:blur(8px);padding:18px!important;}
.km-premium-tour-content{width:min(1500px,98vw)!important;margin:0 auto!important;border-radius:24px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important;position:relative!important;}
.km-premium-tour-layout{display:grid;grid-template-columns:1.15fr .95fr;gap:0;background:#fff;}
.km-premium-gallery-wrap{padding:14px 14px 0;background:#fff;}
.km-premium-gallery{height:min(57vh,560px)!important;min-height:460px!important;border-radius:18px!important;overflow:hidden!important;background:#071312!important;}
.km-premium-gallery #modalImage{height:100%!important;width:100%!important;object-fit:cover!important;}
.km-premium-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:12px 0 14px;}
.km-premium-thumb{height:88px;border:0;border-radius:12px;overflow:hidden;padding:0;cursor:pointer;background:#e5e7eb;box-shadow:inset 0 0 0 2px transparent;}
.km-premium-thumb.active{box-shadow:inset 0 0 0 3px #00796b;}
.km-premium-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.km-premium-summary{padding:34px 34px 28px;border-left:1px solid #e7efed;}
.km-premium-summary .program-badge{display:inline-flex;margin:0 0 14px;background:#e8f4f1;color:#00695c;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:900;letter-spacing:.02em;}
.km-premium-summary h2{margin:0 0 14px!important;padding:0!important;color:#00695c!important;font-size:clamp(34px,3.2vw,52px)!important;line-height:1.12!important;}
.km-premium-intro{font-size:17px;line-height:1.65;color:#334155;margin:0 0 26px;}
.km-tour-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:24px 0 28px;border-top:1px solid #dbe8e5;border-bottom:1px solid #dbe8e5;}
.km-tour-facts div{padding:18px 14px;display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;border-right:1px solid #dbe8e5;}
.km-tour-facts div:last-child{border-right:0}.km-fact-icon{grid-row:1/3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e6f7f2;color:#00695c}.km-tour-facts b{color:#00695c;font-size:14px}.km-tour-facts small{color:#0f172a;font-size:14px;line-height:1.35}
.km-premium-paybox{border:1px solid #d7e7e3;border-radius:22px;padding:22px;background:linear-gradient(135deg,#fbfffd,#f1fbf8);box-shadow:0 20px 50px rgba(15,23,42,.08)}
.km-pay-label{margin:0 0 4px;color:#00695c;font-weight:700}.km-premium-paybox h3{margin:0 0 14px;color:#00695c;font-size:32px;line-height:1.1}.km-pay-sub{font-weight:900;color:#0f3f39;margin:8px 0 12px}
.km-pay-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid #cbded9;border-radius:14px;background:#fff;padding:14px 16px;margin:10px 0;cursor:pointer}.km-pay-row input{display:none}.km-pay-row>span{width:22px;height:22px;border:2px solid #9ca3af;border-radius:50%;position:relative}.km-pay-row:has(input:checked){border-color:#00796b;background:#f5fffb}.km-pay-row:has(input:checked)>span{border-color:#00796b;background:#00796b}.km-pay-row:has(input:checked)>span:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}.km-pay-row b{color:#0f172a}.km-pay-row small{display:block;color:#64748b;margin-top:2px}.km-pay-row strong{color:#00695c;white-space:nowrap}
.km-pay-main{width:100%;border:0;border-radius:14px;background:linear-gradient(135deg,#00796b,#00695c);color:#fff;font-weight:950;font-size:18px;padding:18px;margin:14px 0 8px;cursor:pointer;box-shadow:0 16px 34px rgba(0,105,92,.22)}.km-pay-main:hover{filter:brightness(.97);transform:translateY(-1px)}.km-stripe-note,.km-safe-note{text-align:center;margin:6px 0;color:#475569}.km-pay-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.km-pay-methods span{border:1px solid #dbe4e1;background:#fff;border-radius:12px;text-align:center;padding:12px 8px;font-weight:800;color:#0f3f39;font-size:13px}
.km-premium-details{grid-column:1/3;padding:0 22px 26px!important;display:block!important}.km-tour-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.km-tour-info-card{border:1px solid #e2ebe8;border-radius:16px;padding:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.04)}.km-tour-info-card h3{margin:0 0 12px;color:#00695c;font-size:22px}.km-tour-info-card p,.km-tour-info-card li{color:#334155;line-height:1.75}.km-tour-info-card ul{list-style:none;margin:0;padding:0}.km-tour-info-card li{margin:7px 0}.km-premium-close{background:#f1f5f9!important;color:#0f172a!important;width:52px!important;height:52px!important;right:18px!important;top:18px!important;font-size:38px!important;z-index:30!important}.km-premium-tour-content .gallery-arrow{width:56px!important;height:56px!important;background:rgba(0,0,0,.42)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}.km-premium-tour-content .gallery-prev{left:28px!important}.km-premium-tour-content .gallery-next{right:28px!important}
.program-details-btn{font-size:0!important}.program-details-btn:after{content:"Bővebb leírás";font-size:16px!important}.program-card .program-card-content > .program-meta + .program-details-btn + *{} 
@media(max-width:1100px){.km-premium-tour-layout{grid-template-columns:1fr}.km-premium-summary{border-left:0;border-top:1px solid #e7efed}.km-premium-details{grid-column:1}.km-premium-gallery{min-height:360px!important}.km-tour-facts{grid-template-columns:1fr 1fr 1fr}.km-tour-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.tour-modal{padding:0!important}.km-premium-tour-content{width:100%!important;min-height:100vh!important;border-radius:0!important;margin:0!important}.km-premium-gallery-wrap{padding:0}.km-premium-gallery{height:42vh!important;min-height:300px!important;border-radius:0!important}.km-premium-thumbs{display:flex;overflow-x:auto;gap:8px;padding:0 12px 12px;margin-top:-58px;position:relative;z-index:5}.km-premium-thumb{min-width:86px;height:56px;border-radius:10px}.km-premium-summary{padding:22px 18px}.km-premium-summary h2{font-size:32px!important}.km-tour-facts{grid-template-columns:1fr;gap:8px;border:0}.km-tour-facts div{border:1px solid #dbe8e5;border-radius:14px;padding:14px}.km-pay-row{grid-template-columns:auto 1fr;}.km-pay-row strong{grid-column:2;margin-top:4px}.km-pay-methods{grid-template-columns:1fr 1fr}.km-tour-detail-grid{grid-template-columns:1fr}.km-premium-details{padding:0 16px 22px!important}.km-premium-close{right:12px!important;top:12px!important;background:rgba(15,23,42,.68)!important;color:#fff!important}.km-premium-tour-content .gallery-arrow{width:44px!important;height:44px!important;font-size:34px!important}.km-premium-tour-content .gallery-prev{left:10px!important}.km-premium-tour-content .gallery-next{right:10px!important}}


/* RC12 OWNER DEMO – premium popup: thumbnails removed, detailed description under gallery */
.km-premium-tour-content{
  width:min(1560px,98vw)!important;
  border-radius:24px!important;
  background:#fff!important;
}
.km-premium-tour-layout{
  display:grid!important;
  grid-template-columns:1.18fr .92fr!important;
  gap:0!important;
}
.km-premium-gallery-wrap{padding:14px 14px 0!important;background:#fff!important;}
.km-premium-gallery{
  height:min(56vh,560px)!important;
  min-height:440px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 10px 35px rgba(15,23,42,.08)!important;
}
.km-premium-thumbs{display:none!important;}
.km-premium-summary{padding:34px 34px 28px!important;border-left:1px solid #e7efed!important;}
.km-premium-summary h2{font-size:clamp(38px,3.4vw,54px)!important;color:#075f52!important;}
.km-premium-intro{font-size:17px!important;line-height:1.65!important;color:#263445!important;}
.km-tour-facts{margin:26px 0 30px!important;}
.km-premium-details{
  grid-column:1/2!important;
  grid-row:2!important;
  padding:24px 24px 30px!important;
}
.km-premium-long-desc h3{
  margin:0 0 16px!important;
  color:#075f52!important;
  font-size:30px!important;
  line-height:1.15!important;
}
.km-premium-long-desc p{
  margin:0 0 16px!important;
  color:#172033!important;
  font-size:16px!important;
  line-height:1.85!important;
}
.km-premium-bottom-info{
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  gap:18px!important;
  margin-top:34px!important;
}
.km-info-list{
  border-left:1px solid #dbe8e5!important;
  padding-left:22px!important;
}
.km-info-list:first-child{border-left:0!important;padding-left:0!important;}
.km-info-list h3{
  margin:0 0 16px!important;
  color:#075f52!important;
  font-size:20px!important;
}
.km-not-included h3{color:#a91515!important;}
.km-info-list ul{list-style:none!important;margin:0!important;padding:0!important;}
.km-info-list li{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin:10px 0!important;
  color:#172033!important;
  font-size:15px!important;
  line-height:1.55!important;
}
.km-info-list li span{
  width:18px!important;height:18px!important;min-width:18px!important;
  border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#00856f!important;color:#fff!important;font-weight:900!important;font-size:12px!important;margin-top:2px!important;
}
.km-not-included li span{background:#c91c1c!important;}
.km-important li span{background:#00856f!important;font-family:serif!important;font-style:italic!important;}
.km-pay-main{font-size:22px!important;letter-spacing:.02em!important;}
.km-pay-main::after{content:'\A Biztonságos fizetés Stripe rendszeren keresztül';white-space:pre;display:block;font-size:14px;font-weight:500;margin-top:6px;opacity:.9;}
@media(max-width:1100px){
  .km-premium-tour-layout{grid-template-columns:1fr!important;}
  .km-premium-summary{border-left:0!important;border-top:1px solid #e7efed!important;}
  .km-premium-details{grid-column:1!important;grid-row:auto!important;}
  .km-premium-bottom-info{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:700px){
  .km-premium-tour-content{width:100%!important;min-height:100vh!important;border-radius:0!important;}
  .km-premium-gallery-wrap{padding:0!important;}
  .km-premium-gallery{height:42vh!important;min-height:300px!important;border-radius:0!important;}
  .km-premium-summary{padding:22px 18px!important;}
  .km-premium-summary h2{font-size:32px!important;}
  .km-premium-details{padding:22px 18px 28px!important;}
  .km-premium-long-desc h3{font-size:26px!important;}
  .km-premium-long-desc p{font-size:15px!important;line-height:1.75!important;}
  .km-premium-bottom-info{grid-template-columns:1fr!important;gap:20px!important;margin-top:26px!important;}
  .km-info-list{border-left:0!important;border-top:1px solid #dbe8e5!important;padding-left:0!important;padding-top:18px!important;}
  .km-info-list:first-child{border-top:0!important;padding-top:0!important;}
}

/* =========================================================
   RC13 OWNER DEMO – final premium popup layout fix
   A bal oldali tartalom közvetlenül a kép alatt indul,
   a jobb oldali fizetési panel nem nyújtja meg az első sort.
   ========================================================= */
.km-premium-tour-layout{
  display:grid!important;
  grid-template-columns:minmax(0, 1.18fr) minmax(360px, .92fr)!important;
  grid-template-rows:auto auto!important;
  align-items:start!important;
  gap:0!important;
}
.km-premium-gallery-wrap{
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
}
.km-premium-summary{
  grid-column:2!important;
  grid-row:1 / span 2!important;
  align-self:start!important;
  border-left:1px solid #e7efed!important;
}
.km-premium-details{
  grid-column:1!important;
  grid-row:2!important;
  align-self:start!important;
  padding:24px 24px 30px!important;
  margin:0!important;
}
.km-premium-gallery{
  height:clamp(360px, 42vw, 560px)!important;
  min-height:0!important;
  margin:0!important;
}
.km-premium-long-desc{
  margin-top:0!important;
  padding-top:0!important;
}
.km-stripe-note{display:none!important;}
.km-pay-main{margin-top:18px!important;}

@media(max-width:1100px){
  .km-premium-tour-layout{
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  .km-premium-gallery-wrap,
  .km-premium-summary,
  .km-premium-details{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .km-premium-summary{
    border-left:0!important;
    border-top:1px solid #e7efed!important;
  }
}

@media(max-width:700px){
  .km-premium-gallery{height:42vh!important;min-height:300px!important;}
  .km-premium-details{padding:22px 18px 28px!important;}
}


/* =========================================================
   RC12 split popup: Bővebb leírás külön, fizetés külön
   ========================================================= */
.program-card{cursor:default!important;}
.program-card .program-details-btn,
.program-card .program-pay-btn{width:100%;border-radius:18px;padding:13px 18px;font-weight:900;cursor:pointer;margin-top:12px;transition:.2s ease;}
.program-card .program-details-btn{background:#fff!important;color:#00695c!important;border:1.5px solid #00796b!important;}
.program-card .program-pay-btn{background:#00796b!important;color:#fff!important;border:1.5px solid #00796b!important;box-shadow:0 10px 24px rgba(0,121,107,.18);}
.program-card .program-details-btn:hover,.program-card .program-pay-btn:hover{transform:translateY(-1px);filter:brightness(.98);}
.tour-modal{background:rgba(7,17,22,.78)!important;backdrop-filter:blur(8px);padding:18px!important;overflow-y:auto!important;}
.km-split-detail-content{width:min(1240px,96vw)!important;margin:0 auto!important;border-radius:24px!important;background:#fff!important;overflow:hidden!important;position:relative!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important;}
.km-detail-modal-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.8fr);gap:0;background:#fff;}
.km-detail-gallery-panel{padding:16px 16px 22px;border-right:1px solid #e4eeee;background:#fff;}
.km-detail-gallery{height:min(54vh,520px)!important;min-height:360px!important;border-radius:18px!important;overflow:hidden!important;background:#071312!important;position:relative!important;}
.km-detail-gallery #modalImage{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.km-detail-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px;}
.km-detail-thumb{height:76px;border:0;border-radius:12px;overflow:hidden;padding:0;cursor:pointer;background:#e5e7eb;box-shadow:inset 0 0 0 2px transparent;}
.km-detail-thumb.active{box-shadow:inset 0 0 0 3px #00796b;}
.km-detail-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.km-detail-text-panel{padding:32px 32px 28px!important;}
.km-detail-text-panel .program-badge{display:inline-flex;margin:0 0 14px;background:#e8f4f1;color:#00695c;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:900;letter-spacing:.02em;}
.km-detail-text-panel h2{margin:0 0 12px!important;padding:0!important;color:#00695c!important;font-size:clamp(30px,3vw,44px)!important;line-height:1.12!important;}
.km-detail-intro{font-size:17px;line-height:1.65;color:#334155;margin:0 0 24px;}
.km-detail-description{border:1px solid #e2ebe8;border-radius:18px;padding:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.04);}
.km-detail-description h3,.km-detail-info-grid h3{margin:0 0 12px;color:#00695c;font-size:22px;}
.km-detail-description p{line-height:1.75;color:#334155;margin:0 0 14px;}
.km-detail-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;}
.km-detail-info-grid article{border:1px solid #e2ebe8;border-radius:18px;padding:18px;background:#fff;}
.km-detail-info-grid ul{list-style:none;margin:0;padding:0;}
.km-detail-info-grid li{display:flex;gap:10px;margin:9px 0;line-height:1.55;color:#334155;}
.km-detail-info-grid li span{width:22px;height:22px;min-width:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#00796b;color:#fff;font-weight:900;font-size:13px;}
.km-detail-bottom-action{margin-top:18px;}
.km-open-pay-btn{width:100%;border:0;border-radius:18px;background:#00796b;color:#fff;font-size:18px;font-weight:1000;padding:17px 20px;cursor:pointer;box-shadow:0 16px 34px rgba(0,121,107,.2);}
.km-payment-only-content{width:min(560px,94vw)!important;margin:40px auto!important;border-radius:24px!important;background:#fff!important;position:relative!important;overflow:hidden!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important;}
.km-payment-only{padding:34px 30px 30px;text-align:left;}
.km-payment-only .program-badge{display:inline-flex;margin:0 0 12px;background:#e8f4f1;color:#00695c;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:900;}
.km-payment-only h2{margin:0 0 18px;color:#00695c;font-size:30px;line-height:1.18;}
.km-payment-card{border:1px solid #d7e7e3;border-radius:22px;padding:22px;background:linear-gradient(135deg,#fbfffd,#f1fbf8);}
.km-pay-label{margin:0 0 4px;color:#00695c;font-weight:800}.km-payment-card h3{margin:0 0 14px;color:#00695c;font-size:32px}.km-pay-sub{font-weight:900;color:#0f3f39;margin:8px 0 12px}.km-pay-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid #cfe2de;border-radius:14px;padding:14px 16px;background:#fff;margin:10px 0;cursor:pointer}.km-pay-row input{width:22px;height:22px;accent-color:#00796b}.km-pay-row b{display:block;color:#0f172a}.km-pay-row small{display:block;color:#64748b;margin-top:3px}.km-pay-row strong{color:#00695c}.km-pay-main{width:100%;border:0;border-radius:16px;background:#00796b;color:#fff;font-size:20px;font-weight:1000;padding:17px 20px;margin:16px 0 10px;cursor:pointer}.km-stripe-note,.km-safe-note{text-align:center;color:#475569}.km-pay-methods{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.km-pay-methods span{background:#fff;border:1px solid #dbe4e2;border-radius:12px;padding:12px 8px;text-align:center;font-weight:800;color:#0f3f39;font-size:13px}.km-split-close{background:#f1f5f9!important;color:#0f172a!important;width:50px!important;height:50px!important;right:16px!important;top:16px!important;font-size:36px!important;z-index:30!important}.km-split-detail-content .gallery-arrow{width:52px!important;height:52px!important;background:rgba(0,0,0,.45)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}.km-split-detail-content .gallery-prev{left:24px!important}.km-split-detail-content .gallery-next{right:24px!important}
@media(max-width:980px){.km-detail-modal-layout{grid-template-columns:1fr}.km-detail-gallery-panel{border-right:0;border-bottom:1px solid #e4eeee}.km-detail-info-grid{grid-template-columns:1fr}.km-detail-gallery{min-height:320px!important}.km-pay-methods{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.tour-modal{padding:0!important}.km-split-detail-content,.km-payment-only-content{width:100%!important;min-height:100vh!important;margin:0!important;border-radius:0!important}.km-detail-gallery-panel{padding:0 0 14px}.km-detail-gallery{height:42vh!important;min-height:290px!important;border-radius:0!important}.km-detail-thumbs{display:flex;overflow-x:auto;gap:8px;padding:0 12px;margin-top:10px}.km-detail-thumb{min-width:86px;height:58px}.km-detail-text-panel{padding:22px 18px 26px!important}.km-detail-text-panel h2{font-size:31px!important}.km-split-close{right:12px!important;top:12px!important;background:rgba(15,23,42,.68)!important;color:#fff!important}.km-split-detail-content .gallery-arrow{width:44px!important;height:44px!important;font-size:34px!important}.km-split-detail-content .gallery-prev{left:10px!important}.km-split-detail-content .gallery-next{right:10px!important}.km-payment-only{padding:80px 18px 24px}.km-pay-row{grid-template-columns:auto 1fr}.km-pay-row strong{grid-column:2}.program-card .program-details-btn,.program-card .program-pay-btn{padding:14px 16px}}


/* =========================================================
   V4 CLEAN SPLIT UI – mobile friendly details + payment
   ========================================================= */
.program-details-btn:after{content:none!important;display:none!important}.program-details-btn{font-size:16px!important}.room-pay-btn,.program-pay-btn{width:100%;border-radius:18px;padding:13px 18px;font-weight:900;cursor:pointer;margin-top:12px;transition:.2s ease;background:#00796b!important;color:#fff!important;border:1.5px solid #00796b!important;box-shadow:0 10px 24px rgba(0,121,107,.18)}.room-details-btn,.program-details-btn{width:100%;border-radius:18px;padding:13px 18px;font-weight:900;cursor:pointer;margin-top:12px;background:#fff!important;color:#00695c!important;border:1.5px solid #00796b!important}.room-pay-btn:hover,.program-pay-btn:hover,.room-details-btn:hover,.program-details-btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.km-v4-detail-content{width:min(760px,94vw)!important;margin:34px auto!important;border-radius:24px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 30px 90px rgba(0,0,0,.4)!important;position:relative!important}.km-v4-detail-wrap{display:block;background:#fff}.km-v4-hero{margin:0}.km-v4-gallery{height:min(48vh,430px)!important;min-height:300px!important;border-radius:0!important;background:#071312!important;overflow:hidden!important}.km-v4-gallery #modalImage{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.km-v4-info{padding:32px 34px 36px!important}.km-v4-info .program-badge{display:inline-flex;background:#e8f4f1;color:#00695c;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:900;margin-bottom:14px}.km-v4-info h2{padding:0!important;margin:0 0 16px!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.13!important;color:#00695c!important}.km-v4-info h3{margin:22px 0 10px!important;color:#0f3f39!important;font-size:20px!important}.km-v4-info p,.km-v4-richtext{font-size:16px;line-height:1.75;color:#334155}.km-v4-pill{display:inline-flex;border-radius:999px;background:#e8f4f1;color:#00695c;font-weight:900;padding:7px 13px}.km-v4-icon-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #e1ece9;border-radius:18px;margin:22px 0;padding:18px;background:#fbfffd}.km-v4-icon-row>div{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;border-right:1px solid #d9e7e3;padding:0 16px}.km-v4-icon-row>div:last-child{border-right:0}.km-v4-icon-row span{font-size:26px;grid-row:1/3}.km-v4-icon-row b{color:#00695c}.km-v4-icon-row small{color:#0f172a;font-weight:700}.km-v4-lists{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.km-v4-lists article{border-top:1px solid #dfeae7;padding-top:18px}.km-v4-lists ul{list-style:none;margin:0;padding:0}.km-v4-lists li{display:flex;gap:10px;margin:9px 0;line-height:1.55;color:#334155}.km-v4-lists li span{width:22px;height:22px;min-width:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:13px}.km-v4-lists .ok{background:#00796b}.km-v4-lists .info{background:#334155}.km-detail-thumbs,.km-detail-bottom-action{display:none!important}.km-split-close{background:#f1f5f9!important;color:#0f172a!important;width:50px!important;height:50px!important;right:16px!important;top:16px!important;font-size:36px!important;z-index:40!important}.km-v4-detail-content .gallery-arrow{width:52px!important;height:52px!important;background:rgba(0,0,0,.46)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important}.km-v4-detail-content .gallery-prev{left:22px!important}.km-v4-detail-content .gallery-next{right:22px!important}
.km-v4-payment-content{width:min(1050px,96vw)!important;margin:30px auto!important;border-radius:24px!important;background:#fff!important;position:relative!important;overflow:hidden!important;box-shadow:0 30px 90px rgba(0,0,0,.4)!important}.km-v4-pay-wrap{padding:34px 30px 30px}.km-v4-pay-head h2{margin:0 0 8px;color:#00695c;font-size:30px;line-height:1.15}.km-v4-pay-head p{margin:0 0 24px;color:#475569}.km-v4-pay-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.km-v4-form-card{border:1px solid #dbe7e4;border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbfa);padding:22px}.km-v4-form-card h3{margin:0 0 14px;color:#00695c;font-size:26px}.km-v4-form-card label{display:block;font-weight:900;color:#172554;margin:12px 0 8px}.km-v4-form-card input,.km-v4-form-card textarea{width:100%;box-sizing:border-box;border:1px solid #ccd8d5;border-radius:14px;padding:14px 15px;background:#fff;font:inherit;font-weight:700}.km-v4-form-card textarea{min-height:120px;resize:vertical}.km-v4-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.km-v4-toggle{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.km-v4-toggle button,.km-v4-methods button{border:1px solid #cfe1dd;background:#fff;border-radius:14px;padding:14px 12px;font-weight:1000;color:#00695c;cursor:pointer}.km-v4-toggle button.active,.km-v4-methods button.active{background:#00796b;color:#fff;border-color:#00796b}.km-v4-summary{border:1px solid #dbe4e2;border-radius:18px;background:#fff;padding:18px;margin-bottom:20px}.km-v4-summary p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #dbe4e2;margin:0;padding:12px 0;color:#64748b;font-weight:800}.km-v4-summary p:first-child{padding-top:0}.km-v4-summary p.payable{border-bottom:0}.km-v4-summary strong{color:#00695c}.km-v4-summary small{display:block;color:#64748b;margin-top:8px}.km-v4-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.km-v4-methods button:last-child{grid-column:1/-1}.km-v4-direct{width:100%;border:0;border-radius:18px;background:#00796b;color:#fff;font-size:18px;font-weight:1000;padding:17px;margin:18px 0 10px;cursor:pointer}.km-v4-next{color:#475569;line-height:1.6}.km-v4-secure{text-align:center;color:#64748b;margin-top:28px}
@media(max-width:900px){.km-v4-pay-grid{grid-template-columns:1fr}.km-v4-payment-content{width:94vw!important}.km-v4-lists{grid-template-columns:1fr}.km-v4-icon-row{grid-template-columns:1fr}.km-v4-icon-row>div{border-right:0;border-bottom:1px solid #d9e7e3;padding:12px 0}.km-v4-icon-row>div:last-child{border-bottom:0}}
@media(max-width:640px){.tour-modal{padding:0!important}.km-v4-detail-content,.km-v4-payment-content{width:100%!important;min-height:100vh!important;margin:0!important;border-radius:0!important}.km-v4-gallery{height:42vh!important;min-height:280px!important}.km-v4-info{padding:24px 18px 32px!important}.km-v4-info h2{font-size:30px!important}.km-v4-detail-content .gallery-arrow{width:44px!important;height:44px!important;font-size:34px!important}.km-v4-detail-content .gallery-prev{left:10px!important}.km-v4-detail-content .gallery-next{right:10px!important}.km-split-close{right:12px!important;top:12px!important;background:rgba(15,23,42,.68)!important;color:#fff!important}.km-v4-pay-wrap{padding:78px 16px 22px}.km-v4-pay-head h2{font-size:27px}.km-v4-two{grid-template-columns:1fr}.km-v4-methods{grid-template-columns:1fr 1fr}.km-v4-form-card{padding:18px}.floating-contact{z-index:20!important}}

/* V5 visible prices inside details popup */
.km-v5-detail-content .km-v5-price-block{margin:24px 0 18px;padding:20px;border:1px solid rgba(0,121,107,.18);border-radius:18px;background:linear-gradient(180deg,#f8fffd,#ffffff);box-shadow:0 10px 28px rgba(15,23,42,.05)}
.km-v5-detail-content .km-v5-price-block>h3{margin:0 0 16px!important;color:#00695c!important;font-size:24px!important}
.km-v5-season{margin-top:14px}.km-v5-season h4{margin:0 0 9px;color:#00796b;font-size:17px;font-weight:1000}.km-v5-price-table{border:1px solid #d9e8e4;border-radius:13px;overflow:hidden;background:#fff}.km-v5-price-table>div{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:11px 14px;border-bottom:1px solid #e6efec;color:#334155;font-weight:700}.km-v5-price-table>div:last-child{border-bottom:0}.km-v5-price-table strong{white-space:nowrap;color:#0f3f39;font-weight:1000}.km-v5-detail-content .room-price-box{display:none!important}.km-v5-detail-content .km-v4-richtext .room-capacity{margin-top:0!important}
@media(max-width:640px){.km-v5-detail-content .km-v5-price-block{padding:15px;margin:18px 0}.km-v5-price-table>div{display:block;padding:10px 12px}.km-v5-price-table strong{display:block;margin-top:4px}.km-v5-detail-content .km-v5-price-block>h3{font-size:22px!important}}

/* V5 RC1 gallery click fix */
.gallery-arrow,
.simple-gallery-arrow{
  pointer-events:auto !important;
  z-index:9999 !important;
}
.km-v4-gallery,
.modal-gallery,
.simple-gallery{
  touch-action:pan-y !important;
}

/* =========================================================
   FINAL POSITION FIX - Sabai AI bal oldalon, WhatsApp/LINE jobb oldalon
   LINE gomb egyvonalban a Sabai AI gombbal
   ========================================================= */
#chatbot{
  position:fixed !important;
  left:16px !important;
  right:auto !important;
  bottom:16px !important;
  z-index:9999 !important;
}

#chat-window{
  margin-bottom:14px !important;
}

.floating-contact{
  position:fixed !important;
  right:20px !important;
  bottom:16px !important;
  left:auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
  z-index:9998 !important;
  transform:none !important;
  transform-origin:right bottom !important;
}

.floating-contact a{
  width:125px !important;
  height:46px !important;
  border-radius:999px !important;
}

@media(max-width:850px){
  #chatbot{
    left:10px !important;
    right:auto !important;
    bottom:10px !important;
    width:auto !important;
  }
  #chat-toggle{
    width:auto !important;
    min-width:116px !important;
    padding:13px 20px !important;
  }
  #chat-window{
    width:min(370px, calc(100vw - 20px)) !important;
    max-width:calc(100vw - 20px) !important;
    height:min(520px, 72vh) !important;
  }
  .floating-contact{
    right:10px !important;
    bottom:10px !important;
    transform:none !important;
    gap:10px !important;
  }
  .floating-contact a{
    width:118px !important;
    height:44px !important;
  }
}

/* FINAL ROOM DETAIL FIX – szoba információ + felszereltség */
.km-room-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 26px;
}
.km-room-info-grid div {
  border: 1px solid rgba(0, 112, 94, 0.16);
  background: rgba(232, 247, 242, 0.72);
  color: #06463d;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 700;
  line-height: 1.35;
}
.km-room-desc-text {
  color: #53606d;
  line-height: 1.75;
  margin: 0 0 22px;
}
.km-room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 24px;
}
.km-room-amenities span {
  background: #eef9f5;
  border: 1px solid rgba(0, 112, 94, 0.15);
  color: #06463d;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.92rem;
}
.km-room-booking-note {
  margin-top: 20px;
  color: #53606d;
  line-height: 1.65;
}
@media (max-width: 700px) {
  .km-room-info-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   FINAL MOBILE VIEW FIX - 2026-07
   Ezt a blokkot a fájl végén hagyd, mert felülírja a régi mobil szabályokat.
   ========================================================= */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  width:100%;
  overflow-x:hidden;
}
body{
  width:100%;
  overflow-x:hidden;
}
*, *::before, *::after{
  box-sizing:border-box;
}
img, video, iframe, canvas, svg{
  max-width:100%;
}
input, select, textarea, button{
  font-family:inherit;
}

@media (max-width: 1100px){
  .program-card-grid,
  .room-card-grid,
  .services-grid,
  .feature-grid,
  .tour-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }

  .resort-main-card,
  .split-layout,
  .about-media,
  .property-layout,
  .flight-layout,
  .insurance-layout{
    grid-template-columns:1fr !important;
  }
}

@media (max-width: 768px){
  body{
    font-size:15px !important;
    line-height:1.6 !important;
    background:#f7f5ef !important;
  }

  .topbar{
    position:sticky !important;
    top:0 !important;
    z-index:99999 !important;
    padding:8px 12px 9px !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:8px !important;
  }

  .brand{
    width:100% !important;
    justify-content:center !important;
  }

  .header-logo{
    height:72px !important;
    width:auto !important;
    max-width:min(260px, 92vw) !important;
    object-fit:contain !important;
  }

  .language-switcher{
    width:100% !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:6px !important;
  }

  .language-switcher button{
    width:100% !important;
    min-height:38px !important;
    padding:8px 6px !important;
    font-size:12px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    border-radius:999px !important;
  }

  .main-nav{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x proximity !important;
    padding:10px 10px !important;
    white-space:nowrap !important;
    scrollbar-width:none !important;
  }

  .main-nav::-webkit-scrollbar{
    display:none !important;
  }

  .main-nav a{
    flex:0 0 auto !important;
    margin:0 !important;
    padding:8px 12px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.10) !important;
    font-size:13px !important;
    line-height:1.1 !important;
    scroll-snap-align:start !important;
  }

  .hero{
    height:auto !important;
    min-height:calc(100svh - 164px) !important;
    padding:72px 16px 60px !important;
  }

  .hero-content{
    width:100% !important;
    max-width:680px !important;
    padding:0 !important;
  }

  .hero-kicker{
    font-size:13px !important;
    letter-spacing:1.2px !important;
    margin-bottom:12px !important;
  }

  .hero h1{
    font-size:clamp(34px, 11vw, 46px) !important;
    line-height:1.05 !important;
    margin-bottom:14px !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }

  .hero p{
    font-size:15px !important;
    line-height:1.55 !important;
    margin-bottom:22px !important;
  }

  .hero-buttons{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    justify-items:center !important;
  }

  .hero-buttons .btn,
  .btn{
    width:100% !important;
    max-width:320px !important;
    min-height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    padding:13px 18px !important;
    line-height:1.2 !important;
  }

  .section,
  section{
    padding:52px 16px !important;
  }

  .section-heading{
    margin-bottom:30px !important;
    max-width:100% !important;
  }

  .section-label{
    font-size:12px !important;
    letter-spacing:.08em !important;
  }

  .section-heading h2,
  .about-content h2,
  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2{
    font-size:clamp(26px, 8vw, 34px) !important;
    line-height:1.15 !important;
  }

  .section-heading p,
  .about-content p,
  .resort-main-content p,
  .restaurant-text-card p{
    font-size:15px !important;
    line-height:1.7 !important;
  }

  .about-layout,
  .about-content{
    width:100% !important;
    max-width:100% !important;
  }

  .about-media{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin:24px 0 !important;
  }

  .about-video{
    width:100% !important;
    border-radius:18px !important;
    overflow:hidden !important;
  }

  .about-video iframe{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    min-height:0 !important;
  }

  .about-photo img,
  .split-image img{
    height:auto !important;
    max-height:360px !important;
    object-fit:cover !important;
    border-radius:20px !important;
  }

  .resort-main-card{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:0 !important;
    padding:12px !important;
    border-radius:24px !important;
    overflow:hidden !important;
  }

  .resort-main-content{
    padding:20px 8px 8px !important;
  }

  .resort-check-list{
    grid-template-columns:1fr !important;
  }

  .resort-mini-map iframe{
    height:210px !important;
  }

  .simple-gallery,
  .room-gallery,
  .restaurant-gallery,
  .resort-main-card > .simple-gallery{
    height:260px !important;
    min-height:260px !important;
    border-radius:18px !important;
  }

  .simple-gallery .gallery-track,
  .simple-gallery .gallery-track img,
  .room-gallery .gallery-track,
  .room-gallery .gallery-track img,
  .restaurant-gallery .gallery-track,
  .restaurant-gallery .gallery-track img{
    height:260px !important;
    min-height:260px !important;
    object-fit:cover !important;
  }

  .simple-gallery-arrow,
  .gallery-arrow{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    font-size:30px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  .gallery-dots{
    display:none !important;
  }

  .split-layout,
  .restaurant-main-block{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .restaurant-text-card{
    padding:20px 16px !important;
    border-radius:20px !important;
  }

  .program-tabs{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin:0 0 26px !important;
  }

  .program-tab{
    width:100% !important;
    padding:13px 14px !important;
    border-radius:999px !important;
    line-height:1.25 !important;
  }

  .program-card-grid,
  .room-card-grid,
  .services-grid,
  .feature-grid,
  .tour-grid,
  .rooms-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .program-card,
  .room-modern-card,
  .room-card,
  .service-card,
  .feature-card,
  .tour-card{
    width:100% !important;
    min-height:auto !important;
    border-radius:20px !important;
  }

  .program-card img,
  .room-modern-card img,
  .room-card img,
  .service-cover,
  .feature-card img,
  .tour-card img{
    height:210px !important;
    object-fit:cover !important;
  }

  .program-card-content,
  .room-modern-content,
  .room-info,
  .tour-content{
    padding:17px !important;
  }

  .program-card h4,
  .room-modern-content h3,
  .room-info h3{
    font-size:21px !important;
    line-height:1.25 !important;
  }

  .program-details-btn,
  .program-pay-btn,
  .room-details-btn,
  .room-pay-btn{
    min-height:46px !important;
  }

  .property-section,
  .flight-section,
  .insurance-section{
    padding:48px 12px !important;
  }

  .property-layout,
  .flight-layout,
  .insurance-layout{
    width:100% !important;
    min-height:auto !important;
    padding:14px !important;
    border-radius:24px !important;
    background-position:center !important;
    overflow:hidden !important;
  }

  .property-layout::before,
  .flight-layout::before,
  .insurance-layout::before{
    background:rgba(0,0,0,.42) !important;
  }

  .property-panel,
  .flight-panel,
  .insurance-panel{
    width:100% !important;
    max-width:100% !important;
    padding:20px 14px !important;
    border-radius:20px !important;
    backdrop-filter:blur(8px) !important;
  }

  .form-grid,
  .form-grid.two,
  .form-grid.three,
  .property-mid-grid,
  .flight-mid-grid,
  .insurance-top-grid,
  .bottom-row,
  .budget-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:13px !important;
  }

  .property-form input,
  .property-form select,
  .property-form textarea,
  .flight-form input,
  .flight-form select,
  .flight-form textarea,
  .insurance-form input,
  .insurance-form select,
  .insurance-form textarea,
  .booking-form input,
  .booking-form select,
  .booking-form textarea{
    width:100% !important;
    min-height:48px !important;
    font-size:16px !important;
    border-radius:14px !important;
  }

  .property-form textarea,
  .flight-form textarea,
  .insurance-form textarea{
    min-height:110px !important;
  }

  .choice-block,
  .flight-options{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .choice,
  label.choice{
    width:100% !important;
    display:flex !important;
    align-items:flex-start !important;
    gap:10px !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    line-height:1.35 !important;
  }

  input[type="checkbox"],
  input[type="radio"]{
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    flex:0 0 22px !important;
    margin-top:2px !important;
    accent-color:#00695c !important;
  }

  .property-submit,
  .flight-submit,
  .insurance-submit{
    width:100% !important;
  }

  .property-submit .btn,
  .flight-submit .btn,
  .insurance-submit .btn{
    width:100% !important;
    max-width:none !important;
  }

  .tour-modal{
    padding:0 !important;
    overflow-y:auto !important;
  }

  .tour-modal-content,
  .km-v4-detail-content,
  .km-split-detail-content,
  .km-v4-payment-content,
  .km-payment-only-content,
  .room-details-modal-content{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    border-radius:0 !important;
    min-height:100svh !important;
  }

  .modal-gallery,
  .km-v4-gallery,
  .km-detail-gallery,
  .room-modal-gallery{
    height:42svh !important;
    min-height:250px !important;
    border-radius:0 !important;
  }

  #modalImage,
  .modal-gallery img,
  .km-v4-gallery img,
  .km-detail-gallery img,
  .room-modal-gallery img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .tour-close,
  .km-split-close,
  .room-details-close{
    right:12px !important;
    top:12px !important;
    width:44px !important;
    height:44px !important;
    border-radius:999px !important;
    background:rgba(15,23,42,.72) !important;
    color:#fff !important;
    z-index:1000000 !important;
  }

  #modalText,
  .km-v4-info,
  .km-detail-text-panel,
  .room-details-body,
  .km-payment-only,
  .km-v4-pay-wrap{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .km-booking-grid-premium,
  .km-booking-grid,
  .km-amount-row,
  .km-method-row,
  .km-pay-options,
  .km-payment-buttons,
  .km-v4-pay-grid,
  .km-v4-two,
  .km-v4-methods,
  .km-pay-methods,
  .km-trust-row,
  .km-v4-icon-row,
  .km-v4-lists{
    grid-template-columns:1fr !important;
  }

  .km-booking-action-row{
    grid-template-columns:1fr !important;
  }

  .km-pay-row{
    grid-template-columns:auto 1fr !important;
  }

  .km-pay-row strong{
    grid-column:2 !important;
    white-space:normal !important;
  }

  #chatbot{
    left:8px !important;
    bottom:8px !important;
    z-index:9998 !important;
  }

  #chat-window{
    width:calc(100vw - 16px) !important;
    max-width:360px !important;
    height:min(540px, 72svh) !important;
    border-radius:20px !important;
  }

  #chat-toggle{
    min-width:106px !important;
    min-height:42px !important;
    padding:11px 16px !important;
    font-size:14px !important;
  }

  .floating-contact{
    right:8px !important;
    bottom:8px !important;
    gap:7px !important;
    z-index:9997 !important;
  }

  .floating-contact a{
    width:104px !important;
    height:40px !important;
    font-size:13px !important;
  }
}

@media (max-width: 420px){
  .header-logo{
    height:62px !important;
  }

  .language-switcher button{
    font-size:11px !important;
    padding-left:4px !important;
    padding-right:4px !important;
  }

  .main-nav a{
    font-size:12px !important;
    padding:8px 10px !important;
  }

  .hero{
    min-height:calc(100svh - 150px) !important;
    padding-top:58px !important;
    padding-bottom:50px !important;
  }

  .section,
  section{
    padding:44px 12px !important;
  }

  .simple-gallery,
  .room-gallery,
  .restaurant-gallery,
  .resort-main-card > .simple-gallery,
  .simple-gallery .gallery-track,
  .simple-gallery .gallery-track img{
    height:230px !important;
    min-height:230px !important;
  }

  .program-card img,
  .room-modern-card img,
  .room-card img,
  .service-cover{
    height:188px !important;
  }

  .property-layout,
  .flight-layout,
  .insurance-layout{
    padding:10px !important;
    border-radius:20px !important;
  }

  .property-panel,
  .flight-panel,
  .insurance-panel{
    padding:18px 12px !important;
  }

  .floating-contact a{
    width:96px !important;
    height:38px !important;
    font-size:12px !important;
  }

  #chat-toggle{
    min-width:96px !important;
    height:38px !important;
    font-size:13px !important;
  }
}


/* === PARTNER FORMS V6 - egységes 4 űrlap + mobil === */
.main-nav a#nav-hotel{color:#fff;}

.km-partner-form-section{
    position:relative;
    padding:80px 5%;
    overflow:hidden;
    background:#f7f5ef;
}

.property-section,
.flight-section,
.insurance-section,
.hotel-booking-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background-size:cover !important;
    background-position:center !important;
    background-repeat:no-repeat !important;
}

.property-section{
    background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)),url("assets/phuket-property-bg.jpg") !important;
}
.flight-section{
    background-image:linear-gradient(rgba(0,0,0,.22),rgba(0,0,0,.22)),url("assets/phuket-flight-bg.jpg") !important;
}
.insurance-section{
    background-image:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)),url("assets/insurance-bg.jpg") !important;
}
.hotel-booking-section{
    background-image:linear-gradient(rgba(0,0,0,.22),rgba(0,0,0,.22)),url("assets/hotel-booking-bg.png") !important;
}

.property-layout,
.flight-layout,
.insurance-layout{
    width:100%;
    max-width:1520px;
    display:block !important;
}

.property-visual{display:none !important;}

.km-service-form-panel,
.property-panel.km-service-form-panel,
.flight-panel.km-service-form-panel,
.insurance-panel.km-service-form-panel{
    width:100%;
    max-width:1520px;
    margin:0 auto;
    padding:42px 46px 36px;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.45);
    background:rgba(12,27,40,.34);
    backdrop-filter:blur(5px);
    box-shadow:0 28px 70px rgba(0,0,0,.28);
    color:#fff;
}

.km-service-form-panel .section-heading,
.property-heading,
.flight-heading,
.insurance-heading,
.km-service-form-heading{
    text-align:left !important;
    max-width:none !important;
    margin:0 0 24px !important;
    color:#fff !important;
}

.km-service-form-panel h2,
.property-heading h2,
.flight-heading h2,
.insurance-heading h2{
    color:#fff !important;
    font-size:clamp(34px,4vw,62px) !important;
    line-height:1.05 !important;
    margin:0 0 8px !important;
    text-shadow:0 4px 16px rgba(0,0,0,.38);
}

.km-service-form-panel p,
.km-service-form-panel label,
.km-service-form-panel span,
.km-service-form-panel .choice-block p,
.property-panel label,
.flight-panel label,
.insurance-panel label{
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.km-service-form-panel .section-heading p,
.property-heading p,
.flight-heading p,
.insurance-heading p{
    color:rgba(255,255,255,.94) !important;
    font-size:17px;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.km-partner-form,
.property-form,
.flight-form,
.insurance-form,
.hotel-booking-form{
    width:100%;
}

.km-service-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:34px 58px;
}

.km-service-form-col{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.km-service-form-panel .form-grid.two,
.km-service-form-panel .form-grid.three{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px 44px;
}

.km-service-form-panel label,
.property-form label,
.flight-form label,
.insurance-form label,
.hotel-booking-form label{
    font-weight:800;
    font-size:16px;
}

.km-service-form-panel input[type="text"],
.km-service-form-panel input[type="email"],
.km-service-form-panel input[type="tel"],
.km-service-form-panel input[type="number"],
.km-service-form-panel input[type="date"],
.km-service-form-panel select,
.km-service-form-panel textarea,
.property-form input,
.property-form select,
.property-form textarea,
.flight-form input,
.flight-form select,
.flight-form textarea,
.insurance-form input,
.insurance-form select,
.insurance-form textarea,
.hotel-booking-form input,
.hotel-booking-form select,
.hotel-booking-form textarea{
    width:100%;
    min-height:46px;
    margin-top:6px;
    padding:12px 16px;
    border-radius:8px;
    border:2px solid rgba(255,255,255,.72);
    background:rgba(255,255,255,.86);
    color:#233;
    font-size:16px;
    font-weight:600;
    box-shadow:inset 0 1px 8px rgba(0,0,0,.06);
    text-shadow:none;
}

.km-service-form-panel textarea{
    min-height:96px;
    resize:vertical;
}

.choice-block{
    margin:0;
}

.choice-block p{
    font-weight:900;
    margin:0 0 6px;
}

.choice,
.km-service-form-panel .choice{
    display:flex !important;
    align-items:center;
    gap:10px;
    margin:6px 0;
    line-height:1.25;
    cursor:pointer;
}

.choice input[type="checkbox"],
.choice input[type="radio"],
.km-service-form-panel input[type="checkbox"],
.km-service-form-panel input[type="radio"]{
    width:20px !important;
    min-width:20px;
    height:20px !important;
    min-height:20px;
    margin:0;
    padding:0;
    accent-color:#00695c;
    box-shadow:none;
}

.km-inline-choice-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2px 24px;
    margin-top:-4px;
}

.km-choice-two-cols{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.km-service-submit-row,
.property-submit,
.flight-submit,
.insurance-submit{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center;
    margin-top:24px;
}

.km-submit-green,
.property-submit .km-submit-green,
.flight-submit .km-submit-green,
.insurance-submit .km-submit-green{
    border:0;
    min-width:190px;
    padding:16px 34px;
    border-radius:999px;
    background:linear-gradient(135deg,#00796b,#004d40);
    color:#fff !important;
    font-size:22px;
    line-height:1;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 14px 28px rgba(0,77,64,.35);
    transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    text-shadow:0 2px 6px rgba(0,0,0,.32);
}

.km-submit-green:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 34px rgba(0,77,64,.45);
}

.km-submit-green:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

.km-form-status{
    margin-top:14px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(255,255,255,.88);
    color:#004d40 !important;
    font-weight:800;
    text-shadow:none !important;
}

.km-form-status.error{
    color:#9a2500 !important;
}

/* régi háromoszlopos részek javítása */
.flight-options,
.insurance-top-grid,
.budget-row{
    max-width:100%;
}

@media(max-width:1050px){
    .km-service-form-panel,
    .property-panel.km-service-form-panel,
    .flight-panel.km-service-form-panel,
    .insurance-panel.km-service-form-panel{
        padding:34px 28px 30px;
    }
    .km-service-form-grid{
        gap:26px;
    }
    .km-choice-two-cols{
        grid-template-columns:1fr;
    }
}

@media(max-width:820px){
    .km-partner-form-section{
        padding:32px 12px;
        min-height:auto;
        align-items:flex-start;
        background-position:center top !important;
    }

    .property-layout,
    .flight-layout,
    .insurance-layout{
        width:100% !important;
        max-width:100% !important;
    }

    .km-service-form-panel,
    .property-panel.km-service-form-panel,
    .flight-panel.km-service-form-panel,
    .insurance-panel.km-service-form-panel{
        padding:24px 16px 22px !important;
        border-radius:22px !important;
        background:rgba(10,24,34,.50);
        max-width:100% !important;
        overflow:hidden;
    }

    .km-service-form-panel h2,
    .property-heading h2,
    .flight-heading h2,
    .insurance-heading h2{
        font-size:32px !important;
        line-height:1.08 !important;
    }

    .km-service-form-panel .section-heading p,
    .property-heading p,
    .flight-heading p,
    .insurance-heading p{
        font-size:14px;
    }

    .km-service-form-grid,
    .km-service-form-panel .form-grid.two,
    .km-service-form-panel .form-grid.three,
    .property-form .form-grid,
    .flight-form .form-grid,
    .insurance-form .form-grid{
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    .km-inline-choice-list{
        grid-template-columns:1fr;
        gap:0;
    }

    .km-choice-two-cols{
        grid-template-columns:1fr;
        gap:12px;
    }

    .km-service-submit-row,
    .property-submit,
    .flight-submit,
    .insurance-submit{
        justify-content:flex-end !important;
        margin-top:18px;
    }

    .km-submit-green{
        min-width:150px;
        padding:14px 26px;
        font-size:18px;
    }
}

@media(max-width:480px){
    .km-partner-form-section{
        padding:22px 8px;
    }

    .km-service-form-panel,
    .property-panel.km-service-form-panel,
    .flight-panel.km-service-form-panel,
    .insurance-panel.km-service-form-panel{
        padding:20px 12px 18px !important;
        border-radius:18px !important;
    }

    .km-service-form-panel h2,
    .property-heading h2,
    .flight-heading h2,
    .insurance-heading h2{
        font-size:28px !important;
    }

    .km-service-form-panel input,
    .km-service-form-panel select,
    .km-service-form-panel textarea{
        min-height:44px;
        font-size:15px;
        padding:10px 12px;
    }

    .choice input[type="checkbox"],
    .choice input[type="radio"],
    .km-service-form-panel input[type="checkbox"],
    .km-service-form-panel input[type="radio"]{
        width:22px !important;
        height:22px !important;
        min-width:22px;
    }

    .km-submit-green{
        width:auto;
        min-width:140px;
        font-size:17px;
    }
}


/* === FIX: ne jelenjen meg második nagy űrlapkép a háttérben === */
.property-visual,
.flight-visual,
.insurance-visual,
.hotel-visual,
.km-form-visual,
.km-service-form-visual{
    display:none !important;
    background-image:none !important;
}

.property-layout::before,
.property-layout::after,
.flight-layout::before,
.flight-layout::after,
.insurance-layout::before,
.insurance-layout::after,
.hotel-booking-section::before,
.hotel-booking-section::after,
.km-partner-form-section::before,
.km-partner-form-section::after{
    content:none !important;
    display:none !important;
    background:none !important;
}

/* A hotel űrlap háttere most tiszta resort kép, nem űrlapos mockup */
.hotel-booking-section{
    background-image:linear-gradient(rgba(0,0,0,.28),rgba(0,0,0,.30)),url("assets/hotel-booking-bg.png") !important;
    background-size:cover !important;
    background-position:center center !important;
}


/* === FIX: a háttérkép mérete egyezzen az űrlap panel méretével mind a 4 formnál === */
.property-section,
.flight-section,
.insurance-section,
.hotel-booking-section{
    background:none !important;
    min-height:auto !important;
}

.property-panel.km-service-form-panel,
.flight-panel.km-service-form-panel,
.insurance-panel.km-service-form-panel,
.hotel-booking-panel.km-service-form-panel,
.hotel-booking-panel{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    background:rgba(10,24,34,.26) !important;
}

.property-panel.km-service-form-panel::before,
.flight-panel.km-service-form-panel::before,
.insurance-panel.km-service-form-panel::before,
.hotel-booking-panel.km-service-form-panel::before,
.hotel-booking-panel::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    transform:scale(1.02);
}

.property-panel.km-service-form-panel::after,
.flight-panel.km-service-form-panel::after,
.insurance-panel.km-service-form-panel::after,
.hotel-booking-panel.km-service-form-panel::after,
.hotel-booking-panel::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(rgba(8,24,36,.38), rgba(8,24,36,.38));
    backdrop-filter:blur(5px);
}

.property-panel.km-service-form-panel::before{background-image:url("assets/phuket-property-bg.jpg");}
.flight-panel.km-service-form-panel::before{background-image:url("assets/phuket-flight-bg.jpg");}
.insurance-panel.km-service-form-panel::before{background-image:url("assets/insurance-bg.jpg");}
.hotel-booking-panel.km-service-form-panel::before,
.hotel-booking-panel::before{background-image:url("assets/hotel-booking-bg.png");}

.property-panel.km-service-form-panel > *,
.flight-panel.km-service-form-panel > *,
.insurance-panel.km-service-form-panel > *,
.hotel-booking-panel.km-service-form-panel > *,
.hotel-booking-panel > *{
    position:relative;
    z-index:2;
}


/* === FIX: egységes 4 partner űrlap fejléc + beküldés gomb === */
.property-heading,
.flight-heading,
.insurance-heading,
.km-service-form-heading{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:8px !important;
    min-height:126px;
    margin:0 0 26px !important;
    padding:0 !important;
}

.property-heading h2,
.flight-heading h2,
.insurance-heading h2,
.km-service-form-heading h2,
.km-service-form-panel h2{
    font-size:clamp(32px,4.2vw,64px) !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    letter-spacing:-0.02em !important;
    margin:0 !important;
    text-align:left !important;
    min-height:auto !important;
}

.property-heading p,
.flight-heading p,
.insurance-heading p,
.km-service-form-heading p,
.km-service-form-panel .section-heading p{
    max-width:880px !important;
    width:100% !important;
    margin:0 !important;
    text-align:left !important;
    font-size:17px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
    opacity:1 !important;
}

.flight-heading::before,
.insurance-heading::before,
.property-heading::before,
.km-service-form-heading::before{
    content:none !important;
    display:none !important;
}

/* form panel spacing egységes */
.property-panel.km-service-form-panel,
.flight-panel.km-service-form-panel,
.insurance-panel.km-service-form-panel,
.hotel-booking-panel.km-service-form-panel,
.hotel-booking-panel{
    padding:34px 42px 30px !important;
}

/* Beküldés gomb szín egységes a többi zöld gombbal */
.km-submit-green,
.property-submit .km-submit-green,
.flight-submit .km-submit-green,
.insurance-submit .km-submit-green,
.km-service-submit-row .km-submit-green{
    background:linear-gradient(135deg,#00695c 0%, #005246 100%) !important;
    color:#ffffff !important;
    box-shadow:0 14px 26px rgba(0,89,76,.34) !important;
    border:0 !important;
}
.km-submit-green:hover{
    background:linear-gradient(135deg,#007867 0%, #005c4f 100%) !important;
}

@media(max-width:820px){
  .property-heading,
  .flight-heading,
  .insurance-heading,
  .km-service-form-heading{
      min-height:auto;
      gap:6px !important;
      margin:0 0 18px !important;
  }
  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2,
  .km-service-form-heading h2,
  .km-service-form-panel h2{
      font-size:32px !important;
  }
  .property-heading p,
  .flight-heading p,
  .insurance-heading p,
  .km-service-form-heading p,
  .km-service-form-panel .section-heading p{
      font-size:15px !important;
      line-height:1.4 !important;
  }
  .property-panel.km-service-form-panel,
  .flight-panel.km-service-form-panel,
  .insurance-panel.km-service-form-panel,
  .hotel-booking-panel.km-service-form-panel,
  .hotel-booking-panel{
      padding:24px 16px 22px !important;
  }
}

@media(max-width:480px){
  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2,
  .km-service-form-heading h2,
  .km-service-form-panel h2{
      font-size:27px !important;
  }
  .property-heading p,
  .flight-heading p,
  .insurance-heading p,
  .km-service-form-heading p,
  .km-service-form-panel .section-heading p{
      font-size:14px !important;
  }
}


/* === Mangrove részletek: felesleges felső program információ elrejtése === */
body.km-mangrove-open .km-v4-info > h3:first-of-type,
body.km-mangrove-open .km-v4-info > .km-v4-pill:first-of-type{
    display:none !important;
}


/* === Program foglalás: csak a megfelelő heti nap választható === */
.km-program-day-hint{
  display:block;
  margin-top:7px;
  font-size:13px;
  line-height:1.35;
  font-weight:800;
  color:#00695c;
}
.km-v4-next{
  min-height:22px;
}


/* === Program foglalás: csak 100% fizetés + Emerald VIP Mini Van ár === */
.km-v4-program-full-only{
  grid-template-columns:1fr !important;
}
.km-v4-program-full-only button{
  width:100%;
}
.km-choice-card.km-full-only{
  width:100%;
}


/* === Program fizetési módok: csak Visa, Mastercard, Bank Transfer === */
.km-v4-payment-content [data-v4-pay][data-type="program"] .km-v4-methods{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.km-v4-payment-content [data-v4-pay][data-type="program"] .km-v4-methods button[data-method="bank-transfer"]{
  grid-column:1 / -1;
}
@media(max-width:640px){
  .km-v4-payment-content [data-v4-pay][data-type="program"] .km-v4-methods{
    grid-template-columns:1fr;
  }
  .km-v4-payment-content [data-v4-pay][data-type="program"] .km-v4-methods button[data-method="bank-transfer"]{
    grid-column:auto;
  }
}


/* === Emerald fizetés: VIP Mini Van ár választó + felesleges fennmaradó szöveg nélkül === */
.km-v4-emerald-choice{
  border:1px solid rgba(0,105,92,.18);
  border-radius:18px;
  padding:16px;
  margin:0 0 18px;
  background:rgba(248,255,253,.78);
}
.km-v4-emerald-choice h3{
  margin:0 0 12px;
  color:#00695c;
}
.km-v4-emerald-choice label{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid rgba(0,105,92,.22);
  border-radius:14px;
  padding:13px 14px;
  margin:10px 0;
  cursor:pointer;
  background:#fff;
}
.km-v4-emerald-choice input{
  width:20px;
  height:20px;
  accent-color:#00796b;
}
.km-v4-emerald-choice span{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  width:100%;
}
.km-v4-emerald-choice b{
  color:#314157;
}
.km-v4-emerald-choice strong{
  color:#00695c;
  white-space:nowrap;
}
@media(max-width:560px){
  .km-v4-emerald-choice span{
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
}


/* === HOTEL SZÁLLÁS FOGLALÁS MOBIL JAVÍTÁS === */
@media (max-width: 820px){
  .hotel-booking-section,
  .hotel-booking-panel,
  .hotel-booking-panel.km-service-form-panel,
  section[id*="hotel"],
  .km-hotel-form,
  .km-service-form-panel{
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hotel-booking-section{
    padding: 18px 12px !important;
    overflow-x: hidden !important;
    background-position: center center !important;
  }

  .hotel-booking-panel,
  .hotel-booking-panel.km-service-form-panel{
    margin: 0 auto !important;
    padding: 22px 14px 24px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .hotel-booking-panel h2,
  .hotel-booking-panel.km-service-form-panel h2,
  .hotel-booking-section h2{
    font-size: 34px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 8px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hotel-booking-panel p,
  .hotel-booking-section p{
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }

  .hotel-booking-panel form,
  .hotel-booking-section form,
  .hotel-booking-panel .form-grid,
  .hotel-booking-section .form-grid,
  .hotel-booking-panel .km-form-grid,
  .hotel-booking-section .km-form-grid,
  .hotel-booking-panel .km-service-form-grid,
  .hotel-booking-section .km-service-form-grid,
  .hotel-booking-panel .hotel-form-grid,
  .hotel-booking-section .hotel-form-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hotel-booking-panel label,
  .hotel-booking-section label,
  .hotel-booking-panel input,
  .hotel-booking-section input,
  .hotel-booking-panel select,
  .hotel-booking-section select,
  .hotel-booking-panel textarea,
  .hotel-booking-section textarea{
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hotel-booking-panel input,
  .hotel-booking-section input,
  .hotel-booking-panel select,
  .hotel-booking-section select{
    height: 46px !important;
    font-size: 15px !important;
  }

  .hotel-booking-panel .checkbox-grid,
  .hotel-booking-section .checkbox-grid,
  .hotel-booking-panel .radio-grid,
  .hotel-booking-section .radio-grid,
  .hotel-booking-panel .km-checkbox-grid,
  .hotel-booking-section .km-checkbox-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .hotel-booking-panel .form-actions,
  .hotel-booking-section .form-actions,
  .hotel-booking-panel .km-service-submit-row,
  .hotel-booking-section .km-service-submit-row{
    justify-content: stretch !important;
    width: 100% !important;
  }

  .hotel-booking-panel button,
  .hotel-booking-section button,
  .hotel-booking-panel .km-submit-green,
  .hotel-booking-section .km-submit-green{
    width: 100% !important;
    max-width: 100% !important;
  }

  body{
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px){
  .hotel-booking-section{
    padding: 14px 8px !important;
  }

  .hotel-booking-panel,
  .hotel-booking-panel.km-service-form-panel{
    padding: 18px 12px 22px !important;
    border-radius: 18px !important;
  }

  .hotel-booking-panel h2,
  .hotel-booking-panel.km-service-form-panel h2,
  .hotel-booking-section h2{
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  .hotel-booking-panel p,
  .hotel-booking-section p{
    font-size: 13px !important;
  }
}


/* === FINAL FIX: 4 partner űrlap mobil + egységes zöld Beküldés gomb === */

/* Egységes Beküldés gomb mind a 4 partner űrlapon */
.property-section button[type="submit"],
.flight-section button[type="submit"],
.insurance-section button[type="submit"],
.hotel-booking-section button[type="submit"],
.property-section .km-submit-green,
.flight-section .km-submit-green,
.insurance-section .km-submit-green,
.hotel-booking-section .km-submit-green,
.km-service-form-panel button[type="submit"],
.km-partner-form-section button[type="submit"]{
  background:linear-gradient(135deg,#00695c 0%,#004f45 100%) !important;
  color:#ffffff !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 12px 28px rgba(0,105,92,.32) !important;
  font-weight:900 !important;
  text-shadow:0 1px 2px rgba(0,0,0,.25) !important;
}

.property-section button[type="submit"]:hover,
.flight-section button[type="submit"]:hover,
.insurance-section button[type="submit"]:hover,
.hotel-booking-section button[type="submit"]:hover,
.property-section .km-submit-green:hover,
.flight-section .km-submit-green:hover,
.insurance-section .km-submit-green:hover,
.hotel-booking-section .km-submit-green:hover,
.km-service-form-panel button[type="submit"]:hover,
.km-partner-form-section button[type="submit"]:hover{
  background:linear-gradient(135deg,#00796b 0%,#005f54 100%) !important;
}

/* Mobilon a 4 űrlap biztosan ne csússzon ki */
@media (max-width: 820px){
  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .property-section,
  .flight-section,
  .insurance-section,
  .hotel-booking-section,
  .km-partner-form-section,
  section:has(.hotel-booking-panel),
  section:has(.property-panel),
  section:has(.flight-panel),
  section:has(.insurance-panel){
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding:18px 10px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  .property-panel,
  .flight-panel,
  .insurance-panel,
  .hotel-booking-panel,
  .property-panel.km-service-form-panel,
  .flight-panel.km-service-form-panel,
  .insurance-panel.km-service-form-panel,
  .hotel-booking-panel.km-service-form-panel,
  .km-service-form-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 auto !important;
    padding:22px 14px 24px !important;
    box-sizing:border-box !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }

  .property-panel *,
  .flight-panel *,
  .insurance-panel *,
  .hotel-booking-panel *,
  .km-service-form-panel *{
    box-sizing:border-box !important;
    max-width:100% !important;
  }

  .property-heading,
  .flight-heading,
  .insurance-heading,
  .km-service-form-heading,
  .hotel-booking-panel .section-heading,
  .hotel-booking-panel header{
    width:100% !important;
    max-width:100% !important;
    text-align:left !important;
    align-items:flex-start !important;
    margin:0 0 18px !important;
    padding:0 !important;
  }

  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2,
  .km-service-form-heading h2,
  .hotel-booking-panel h2,
  .property-panel h2,
  .flight-panel h2,
  .insurance-panel h2,
  .hotel-booking-section h2{
    font-size:clamp(28px,9vw,42px) !important;
    line-height:1.08 !important;
    letter-spacing:-.03em !important;
    text-align:left !important;
    margin:0 0 10px !important;
    width:100% !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    color:#ffffff !important;
    text-shadow:0 3px 14px rgba(0,0,0,.55) !important;
  }

  .property-heading p,
  .flight-heading p,
  .insurance-heading p,
  .km-service-form-heading p,
  .hotel-booking-panel p,
  .property-panel p,
  .flight-panel p,
  .insurance-panel p{
    font-size:14px !important;
    line-height:1.45 !important;
    text-align:left !important;
    margin:0 !important;
    color:#ffffff !important;
    text-shadow:0 2px 10px rgba(0,0,0,.55) !important;
  }

  .property-panel form,
  .flight-panel form,
  .insurance-panel form,
  .hotel-booking-panel form,
  .km-service-form-panel form,
  .property-panel .km-service-form-grid,
  .flight-panel .km-service-form-grid,
  .insurance-panel .km-service-form-grid,
  .hotel-booking-panel .km-service-form-grid,
  .property-panel .km-form-grid,
  .flight-panel .km-form-grid,
  .insurance-panel .km-form-grid,
  .hotel-booking-panel .km-form-grid,
  .property-panel .form-grid,
  .flight-panel .form-grid,
  .insurance-panel .form-grid,
  .hotel-booking-panel .form-grid,
  .property-panel .hotel-form-grid,
  .flight-panel .hotel-form-grid,
  .insurance-panel .hotel-form-grid,
  .hotel-booking-panel .hotel-form-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    width:100% !important;
    max-width:100% !important;
  }

  .property-panel label,
  .flight-panel label,
  .insurance-panel label,
  .hotel-booking-panel label,
  .km-service-form-panel label{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    color:#ffffff !important;
    font-size:15px !important;
    line-height:1.35 !important;
    text-shadow:0 2px 10px rgba(0,0,0,.58) !important;
  }

  .property-panel input:not([type="checkbox"]):not([type="radio"]),
  .flight-panel input:not([type="checkbox"]):not([type="radio"]),
  .insurance-panel input:not([type="checkbox"]):not([type="radio"]),
  .hotel-booking-panel input:not([type="checkbox"]):not([type="radio"]),
  .property-panel select,
  .flight-panel select,
  .insurance-panel select,
  .hotel-booking-panel select,
  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .hotel-booking-panel textarea,
  .km-service-form-panel input:not([type="checkbox"]):not([type="radio"]),
  .km-service-form-panel select,
  .km-service-form-panel textarea{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:46px !important;
    display:block !important;
    margin:6px 0 0 !important;
    font-size:15px !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
  }

  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .hotel-booking-panel textarea,
  .km-service-form-panel textarea{
    min-height:96px !important;
    height:auto !important;
  }

  .property-panel input[type="checkbox"],
  .flight-panel input[type="checkbox"],
  .insurance-panel input[type="checkbox"],
  .hotel-booking-panel input[type="checkbox"],
  .property-panel input[type="radio"],
  .flight-panel input[type="radio"],
  .insurance-panel input[type="radio"],
  .hotel-booking-panel input[type="radio"],
  .km-service-form-panel input[type="checkbox"],
  .km-service-form-panel input[type="radio"]{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    max-width:20px !important;
    margin:0 8px 0 0 !important;
    vertical-align:middle !important;
  }

  .property-panel .checkbox-grid,
  .flight-panel .checkbox-grid,
  .insurance-panel .checkbox-grid,
  .hotel-booking-panel .checkbox-grid,
  .property-panel .radio-grid,
  .flight-panel .radio-grid,
  .insurance-panel .radio-grid,
  .hotel-booking-panel .radio-grid,
  .property-panel .km-checkbox-grid,
  .flight-panel .km-checkbox-grid,
  .insurance-panel .km-checkbox-grid,
  .hotel-booking-panel .km-checkbox-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    width:100% !important;
  }

  .property-panel .checkbox-grid label,
  .flight-panel .checkbox-grid label,
  .insurance-panel .checkbox-grid label,
  .hotel-booking-panel .checkbox-grid label,
  .property-panel .radio-grid label,
  .flight-panel .radio-grid label,
  .insurance-panel .radio-grid label,
  .hotel-booking-panel .radio-grid label,
  .property-panel .km-checkbox-grid label,
  .flight-panel .km-checkbox-grid label,
  .insurance-panel .km-checkbox-grid label,
  .hotel-booking-panel .km-checkbox-grid label{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }

  .property-panel .form-actions,
  .flight-panel .form-actions,
  .insurance-panel .form-actions,
  .hotel-booking-panel .form-actions,
  .property-panel .km-service-submit-row,
  .flight-panel .km-service-submit-row,
  .insurance-panel .km-service-submit-row,
  .hotel-booking-panel .km-service-submit-row,
  .km-service-form-panel .km-service-submit-row{
    display:flex !important;
    justify-content:stretch !important;
    width:100% !important;
    margin-top:18px !important;
  }

  .property-panel button[type="submit"],
  .flight-panel button[type="submit"],
  .insurance-panel button[type="submit"],
  .hotel-booking-panel button[type="submit"],
  .property-panel .km-submit-green,
  .flight-panel .km-submit-green,
  .insurance-panel .km-submit-green,
  .hotel-booking-panel .km-submit-green,
  .km-service-form-panel button[type="submit"]{
    width:100% !important;
    max-width:100% !important;
    min-height:52px !important;
    font-size:17px !important;
  }
}

@media (max-width:480px){
  .property-section,
  .flight-section,
  .insurance-section,
  .hotel-booking-section,
  .km-partner-form-section{
    padding:14px 8px !important;
  }

  .property-panel,
  .flight-panel,
  .insurance-panel,
  .hotel-booking-panel,
  .km-service-form-panel{
    padding:18px 12px 22px !important;
    border-radius:18px !important;
  }

  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2,
  .km-service-form-heading h2,
  .hotel-booking-panel h2,
  .property-panel h2,
  .flight-panel h2,
  .insurance-panel h2,
  .hotel-booking-section h2{
    font-size:30px !important;
  }
}

/* iPhone nagyon keskeny nézet */
@media (max-width:390px){
  .property-heading h2,
  .flight-heading h2,
  .insurance-heading h2,
  .km-service-form-heading h2,
  .hotel-booking-panel h2,
  .property-panel h2,
  .flight-panel h2,
  .insurance-panel h2,
  .hotel-booking-section h2{
    font-size:27px !important;
  }
}


/* === Szoba és program fizetés: csak Visa, Mastercard, Bank Transfer === */
.km-v4-payment-content .km-v4-methods{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.km-v4-payment-content .km-v4-methods button[data-method="bank-transfer"]{
  grid-column:1 / -1 !important;
}
@media(max-width:640px){
  .km-v4-payment-content .km-v4-methods{grid-template-columns:1fr !important;}
  .km-v4-payment-content .km-v4-methods button[data-method="bank-transfer"]{grid-column:auto !important;}
}


/* === FINAL RESPONSIVE AUDIT FIX: mobil nézet általános javítás === */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

img, video, iframe{
  max-width:100%;
}

@media(max-width:820px){
  .tour-modal-content,
  .km-v4-payment-content,
  .km-v4-detail-wrap,
  .km-v4-pay-wrap{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    overflow-x:hidden !important;
  }

  .tour-modal-content{
    margin:0 !important;
    border-radius:0 !important;
  }

  .km-v4-detail-wrap{
    display:grid !important;
    grid-template-columns:1fr !important;
  }

  .km-v4-hero,
  .km-v4-info{
    width:100% !important;
    max-width:100% !important;
    padding-left:16px !important;
    padding-right:16px !important;
    box-sizing:border-box !important;
  }

  .km-v4-info h2,
  .km-v4-pay-head h2,
  .km-v4-form-card h3{
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }

  .km-v4-icon-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .km-v4-icon-row > div{
    border-right:0 !important;
    border-bottom:1px solid rgba(0,105,92,.15);
    padding-bottom:10px;
  }

  .km-v4-pay-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .km-v4-two{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .km-v4-form-card,
  .km-v4-payment-card{
    width:100% !important;
    max-width:100% !important;
    padding:18px 14px !important;
    box-sizing:border-box !important;
  }

  .km-v4-form-card input,
  .km-v4-form-card select,
  .km-v4-form-card textarea{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .km-v4-toggle,
  .km-v4-methods{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .km-v4-methods button,
  .km-v4-toggle button,
  .km-v4-direct{
    width:100% !important;
    max-width:100% !important;
  }

  .program-card-grid,
  .room-card-grid,
  .room-grid,
  .program-grid{
    grid-template-columns:1fr !important;
  }

  .program-card,
  .room-modern-card{
    max-width:100% !important;
  }

  .program-card img,
  .room-modern-card img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/10;
    object-fit:cover;
  }

  .modal-gallery,
  .km-v4-gallery,
  .km-detail-gallery{
    touch-action:pan-y !important;
    user-select:none !important;
  }

  .gallery-arrow{
    min-width:44px !important;
    min-height:44px !important;
    z-index:20 !important;
  }
}

@media(max-width:480px){
  .km-v4-hero,
  .km-v4-info{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .km-v4-info h2,
  .km-v4-pay-head h2{
    font-size:28px !important;
    line-height:1.12 !important;
  }

  .km-v4-richtext p,
  .km-v4-muted{
    font-size:15px !important;
    line-height:1.65 !important;
  }

  .km-v5-price-block,
  .km-v4-lists,
  .km-v4-summary{
    padding:14px !important;
  }
}

/* Partner űrlapok: mobilon fix egyoszlopos, ne legyen szétesett címke/input */
@media(max-width:820px){
  .property-panel form,
  .flight-panel form,
  .insurance-panel form,
  .hotel-booking-panel form,
  .km-service-form-panel form{
    display:block !important;
  }

  .property-panel label,
  .flight-panel label,
  .insurance-panel label,
  .hotel-booking-panel label,
  .km-service-form-panel label{
    display:block !important;
    margin-bottom:14px !important;
  }

  .property-panel .km-service-form-grid,
  .flight-panel .km-service-form-grid,
  .insurance-panel .km-service-form-grid,
  .hotel-booking-panel .km-service-form-grid,
  .property-panel .form-grid,
  .flight-panel .form-grid,
  .insurance-panel .form-grid,
  .hotel-booking-panel .form-grid{
    display:block !important;
  }

  .property-panel input:not([type="checkbox"]):not([type="radio"]),
  .flight-panel input:not([type="checkbox"]):not([type="radio"]),
  .insurance-panel input:not([type="checkbox"]):not([type="radio"]),
  .hotel-booking-panel input:not([type="checkbox"]):not([type="radio"]),
  .property-panel select,
  .flight-panel select,
  .insurance-panel select,
  .hotel-booking-panel select,
  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .hotel-booking-panel textarea{
    display:block !important;
    width:100% !important;
    margin-top:7px !important;
  }

  .property-panel input[type="checkbox"],
  .flight-panel input[type="checkbox"],
  .insurance-panel input[type="checkbox"],
  .hotel-booking-panel input[type="checkbox"],
  .property-panel input[type="radio"],
  .flight-panel input[type="radio"],
  .insurance-panel input[type="radio"],
  .hotel-booking-panel input[type="radio"]{
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    vertical-align:middle !important;
    margin-right:9px !important;
  }
}


/* === Thai nézet: hosszú szövegek és ár táblázatok stabil megjelenítése === */
html[lang="th"] .km-v5-price-table div,
body .km-v5-price-table div{
  gap:12px;
}
html[lang="th"] .km-v5-price-table span,
html[lang="th"] .km-v5-price-table strong{
  overflow-wrap:break-word;
}
html[lang="th"] .km-v4-richtext,
html[lang="th"] .km-v4-muted{
  line-height:1.75;
}
@media(max-width:640px){
  .km-v5-price-table div{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:center !important;
  }
  .km-v5-price-table strong{
    text-align:right !important;
    white-space:nowrap !important;
  }
}


/* === Thai translation readability fix === */
html[lang="th"] .km-v4-richtext,
html[lang="th"] .km-v4-muted,
html[lang="th"] .km-v5-price-table,
html[lang="th"] .km-v4-info{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[lang="th"] .km-v4-richtext p,
html[lang="th"] .km-v4-muted{
  line-height:1.85 !important;
}
html[lang="th"] .km-v5-price-table span,
html[lang="th"] .km-v5-price-table strong,
html[lang="th"] .km-v4-icon-row small{
  line-height:1.45 !important;
}


/* === Thai final text/layout readability === */
html[lang="th"] .km-v4-richtext,
html[lang="th"] .km-v4-muted,
html[lang="th"] .km-v5-price-table,
html[lang="th"] .km-v4-info,
html[lang="th"] .room-modern-card,
html[lang="th"] .program-card{
  line-height:1.65;
}
html[lang="th"] .km-v5-price-table span,
html[lang="th"] .km-v5-price-table strong{
  word-break:normal;
  overflow-wrap:anywhere;
}


/* === English final text/layout readability === */
html[lang="en"] .km-v4-richtext,
html[lang="en"] .km-v4-muted,
html[lang="en"] .km-v5-price-table,
html[lang="en"] .km-v4-info,
html[lang="en"] .room-modern-card,
html[lang="en"] .program-card{
  line-height:1.65;
}
html[lang="en"] .km-v5-price-table span,
html[lang="en"] .km-v5-price-table strong{
  word-break:normal;
  overflow-wrap:anywhere;
}


/* =========================================================
   FINAL MOBILE + BUTTON VISUAL FIX
   ========================================================= */
.property-section button[type="submit"],
.flight-section button[type="submit"],
.insurance-section button[type="submit"],
.hotel-booking-section button[type="submit"],
.property-panel button[type="submit"],
.flight-panel button[type="submit"],
.insurance-panel button[type="submit"],
.hotel-booking-panel button[type="submit"],
.km-service-form-panel button[type="submit"],
.km-submit-green{
  background:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 12px 28px rgba(0,105,92,.28) !important;
  font-weight:900 !important;
  text-shadow:0 1px 2px rgba(0,0,0,.25) !important;
}

@media(max-width:820px){
  html,body{max-width:100% !important; overflow-x:hidden !important;}
  .hotel-booking-section,
  .property-section,
  .flight-section,
  .insurance-section{
    width:100% !important;
    max-width:100% !important;
    padding:16px 10px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    background-size:cover !important;
    background-position:center center !important;
  }
  .hotel-booking-panel,
  .property-panel,
  .flight-panel,
  .insurance-panel,
  .km-service-form-panel{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:20px 14px 24px !important;
    border-radius:20px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .hotel-booking-panel form,
  .property-panel form,
  .flight-panel form,
  .insurance-panel form,
  .km-service-form-panel form,
  .hotel-booking-panel .form-grid,
  .property-panel .form-grid,
  .flight-panel .form-grid,
  .insurance-panel .form-grid,
  .km-service-form-panel .form-grid,
  .hotel-booking-panel .km-service-form-grid,
  .property-panel .km-service-form-grid,
  .flight-panel .km-service-form-grid,
  .insurance-panel .km-service-form-grid{
    display:block !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
  }
  .hotel-booking-panel label,
  .property-panel label,
  .flight-panel label,
  .insurance-panel label,
  .km-service-form-panel label{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 0 14px !important;
    box-sizing:border-box !important;
  }
  .hotel-booking-panel input:not([type="checkbox"]):not([type="radio"]),
  .property-panel input:not([type="checkbox"]):not([type="radio"]),
  .flight-panel input:not([type="checkbox"]):not([type="radio"]),
  .insurance-panel input:not([type="checkbox"]):not([type="radio"]),
  .km-service-form-panel input:not([type="checkbox"]):not([type="radio"]),
  .hotel-booking-panel select,
  .property-panel select,
  .flight-panel select,
  .insurance-panel select,
  .km-service-form-panel select,
  .hotel-booking-panel textarea,
  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .km-service-form-panel textarea{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    margin-top:7px !important;
  }
  .hotel-booking-panel h1,.hotel-booking-panel h2,
  .property-panel h1,.property-panel h2,
  .flight-panel h1,.flight-panel h2,
  .insurance-panel h1,.insurance-panel h2,
  .km-service-form-panel h1,.km-service-form-panel h2{
    font-size:clamp(28px,9vw,42px) !important;
    line-height:1.08 !important;
    overflow-wrap:break-word !important;
  }
}

html[lang="en"] .km-v4-richtext,
html[lang="th"] .km-v4-richtext,
html[lang="en"] .km-v4-muted,
html[lang="th"] .km-v4-muted{
  line-height:1.75 !important;
}


/* =========================================================
   FINAL HARD MOBILE FIX – 4 PARTNER FORMS / HOTEL BOOKING
   Fixes label/input side-by-side collapse on iPhone
   ========================================================= */
@media (max-width: 820px){

  body{
    overflow-x:hidden !important;
  }

  /* Main service form sections */
  .property-section,
  .flight-section,
  .insurance-section,
  .hotel-booking-section,
  .km-partner-form-section,
  .km-service-form-section,
  section[id*="property"],
  section[id*="flight"],
  section[id*="insurance"],
  section[id*="hotel"]{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:18px 10px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  /* Form panel */
  .property-panel,
  .flight-panel,
  .insurance-panel,
  .hotel-booking-panel,
  .km-service-form-panel,
  .km-partner-form-panel,
  .service-form-panel,
  .form-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 auto !important;
    padding:22px 14px 26px !important;
    box-sizing:border-box !important;
    border-radius:22px !important;
    overflow:hidden !important;
  }

  /* Any grid inside these forms must become one column */
  .property-panel form,
  .flight-panel form,
  .insurance-panel form,
  .hotel-booking-panel form,
  .km-service-form-panel form,
  .km-partner-form-panel form,
  .service-form-panel form,
  .form-panel form,
  .property-panel .form-grid,
  .flight-panel .form-grid,
  .insurance-panel .form-grid,
  .hotel-booking-panel .form-grid,
  .km-service-form-panel .form-grid,
  .km-partner-form-panel .form-grid,
  .service-form-panel .form-grid,
  .form-panel .form-grid,
  .property-panel .km-service-form-grid,
  .flight-panel .km-service-form-grid,
  .insurance-panel .km-service-form-grid,
  .hotel-booking-panel .km-service-form-grid,
  .km-service-form-panel .km-service-form-grid,
  .km-partner-form-panel .km-service-form-grid,
  .hotel-booking-panel .hotel-form-grid,
  .hotel-booking-section .hotel-form-grid{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:1fr !important;
    gap:0 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  /* If the form has inner div rows, force them to stack too */
  .property-panel form > *,
  .flight-panel form > *,
  .insurance-panel form > *,
  .hotel-booking-panel form > *,
  .km-service-form-panel form > *,
  .km-partner-form-panel form > *,
  .service-form-panel form > *,
  .form-panel form > *{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  /* Labels must not sit beside the input */
  .property-panel label,
  .flight-panel label,
  .insurance-panel label,
  .hotel-booking-panel label,
  .km-service-form-panel label,
  .km-partner-form-panel label,
  .service-form-panel label,
  .form-panel label{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    margin:0 0 8px !important;
    padding:0 !important;
    box-sizing:border-box !important;
    font-size:16px !important;
    line-height:1.35 !important;
  }

  /* Text/date/select inputs full width under their labels */
  .property-panel input:not([type="checkbox"]):not([type="radio"]),
  .flight-panel input:not([type="checkbox"]):not([type="radio"]),
  .insurance-panel input:not([type="checkbox"]):not([type="radio"]),
  .hotel-booking-panel input:not([type="checkbox"]):not([type="radio"]),
  .km-service-form-panel input:not([type="checkbox"]):not([type="radio"]),
  .km-partner-form-panel input:not([type="checkbox"]):not([type="radio"]),
  .service-form-panel input:not([type="checkbox"]):not([type="radio"]),
  .form-panel input:not([type="checkbox"]):not([type="radio"]),
  .property-panel select,
  .flight-panel select,
  .insurance-panel select,
  .hotel-booking-panel select,
  .km-service-form-panel select,
  .km-partner-form-panel select,
  .service-form-panel select,
  .form-panel select,
  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .hotel-booking-panel textarea,
  .km-service-form-panel textarea,
  .km-partner-form-panel textarea,
  .service-form-panel textarea,
  .form-panel textarea{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    box-sizing:border-box !important;
    margin:0 0 16px !important;
    height:48px !important;
    font-size:16px !important;
    border-radius:12px !important;
  }

  .property-panel textarea,
  .flight-panel textarea,
  .insurance-panel textarea,
  .hotel-booking-panel textarea,
  .km-service-form-panel textarea,
  .km-partner-form-panel textarea,
  .service-form-panel textarea,
  .form-panel textarea{
    height:auto !important;
    min-height:100px !important;
  }

  /* Checkbox/radio groups */
  .property-panel .checkbox-grid,
  .flight-panel .checkbox-grid,
  .insurance-panel .checkbox-grid,
  .hotel-booking-panel .checkbox-grid,
  .km-service-form-panel .checkbox-grid,
  .km-partner-form-panel .checkbox-grid,
  .service-form-panel .checkbox-grid,
  .form-panel .checkbox-grid,
  .property-panel .radio-grid,
  .flight-panel .radio-grid,
  .insurance-panel .radio-grid,
  .hotel-booking-panel .radio-grid,
  .km-service-form-panel .radio-grid,
  .km-partner-form-panel .radio-grid,
  .service-form-panel .radio-grid,
  .form-panel .radio-grid,
  .property-panel .km-checkbox-grid,
  .flight-panel .km-checkbox-grid,
  .insurance-panel .km-checkbox-grid,
  .hotel-booking-panel .km-checkbox-grid,
  .km-service-form-panel .km-checkbox-grid,
  .km-partner-form-panel .km-checkbox-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
  }

  .property-panel input[type="checkbox"],
  .flight-panel input[type="checkbox"],
  .insurance-panel input[type="checkbox"],
  .hotel-booking-panel input[type="checkbox"],
  .km-service-form-panel input[type="checkbox"],
  .km-partner-form-panel input[type="checkbox"],
  .service-form-panel input[type="checkbox"],
  .form-panel input[type="checkbox"],
  .property-panel input[type="radio"],
  .flight-panel input[type="radio"],
  .insurance-panel input[type="radio"],
  .hotel-booking-panel input[type="radio"],
  .km-service-form-panel input[type="radio"],
  .km-partner-form-panel input[type="radio"],
  .service-form-panel input[type="radio"],
  .form-panel input[type="radio"]{
    width:22px !important;
    min-width:22px !important;
    max-width:22px !important;
    height:22px !important;
    margin:0 10px 0 0 !important;
    vertical-align:middle !important;
  }

  .property-panel .checkbox-grid label,
  .flight-panel .checkbox-grid label,
  .insurance-panel .checkbox-grid label,
  .hotel-booking-panel .checkbox-grid label,
  .km-service-form-panel .checkbox-grid label,
  .km-partner-form-panel .checkbox-grid label,
  .property-panel .radio-grid label,
  .flight-panel .radio-grid label,
  .insurance-panel .radio-grid label,
  .hotel-booking-panel .radio-grid label,
  .km-service-form-panel .radio-grid label,
  .km-partner-form-panel .radio-grid label{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    margin:0 !important;
  }

  /* Hotel form currently appears on light area, so force readable text */
  .hotel-booking-panel,
  .hotel-booking-section{
    color:#222 !important;
  }

  .hotel-booking-panel label,
  .hotel-booking-panel .checkbox-grid label,
  .hotel-booking-panel .radio-grid label{
    color:#222 !important;
    text-shadow:none !important;
  }

  .hotel-booking-panel h1,
  .hotel-booking-panel h2,
  .hotel-booking-section h1,
  .hotel-booking-section h2{
    color:#2b2b2b !important;
    text-shadow:none !important;
    font-size:clamp(34px,10vw,52px) !important;
    line-height:1.05 !important;
    text-align:center !important;
  }

  .hotel-booking-panel p,
  .hotel-booking-section p{
    color:#666 !important;
    text-shadow:none !important;
    text-align:center !important;
    font-size:18px !important;
    line-height:1.45 !important;
  }

  /* Submit buttons: same green as site */
  .property-section button[type="submit"],
  .flight-section button[type="submit"],
  .insurance-section button[type="submit"],
  .hotel-booking-section button[type="submit"],
  .property-panel button[type="submit"],
  .flight-panel button[type="submit"],
  .insurance-panel button[type="submit"],
  .hotel-booking-panel button[type="submit"],
  .km-service-form-panel button[type="submit"],
  .km-submit-green{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:54px !important;
    margin-top:18px !important;
    background:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
    color:#fff !important;
    border:0 !important;
    border-radius:999px !important;
    box-shadow:0 12px 28px rgba(0,105,92,.28) !important;
    font-weight:900 !important;
    font-size:17px !important;
  }

  /* Keep floating buttons from covering form too badly */
  .floating-contact,
  .contact-floating,
  .whatsapp-line-floating{
    right:10px !important;
    bottom:80px !important;
    transform:scale(.88) !important;
    transform-origin:right bottom !important;
  }
}

@media (max-width:480px){
  .property-section,
  .flight-section,
  .insurance-section,
  .hotel-booking-section{
    padding:14px 8px !important;
  }

  .property-panel,
  .flight-panel,
  .insurance-panel,
  .hotel-booking-panel,
  .km-service-form-panel{
    padding:18px 12px 24px !important;
    border-radius:18px !important;
  }

  .hotel-booking-panel h1,
  .hotel-booking-panel h2,
  .hotel-booking-section h1,
  .hotel-booking-section h2{
    font-size:34px !important;
  }

  .hotel-booking-panel p,
  .hotel-booking-section p{
    font-size:16px !important;
  }
}


/* =========================================================
   EMERGENCY MOBILE PARTNER FORM FIX
   Hotel / property / flight / insurance forms
   ========================================================= */
@media (max-width: 820px){

  /* Every visible service/partner form must be one clean column */
  form[id*="hotel"],
  form[id*="property"],
  form[id*="flight"],
  form[id*="insurance"],
  form[class*="hotel"],
  form[class*="property"],
  form[class*="flight"],
  form[class*="insurance"],
  .hotel-booking-section form,
  .property-section form,
  .flight-section form,
  .insurance-section form,
  .km-service-form-panel form{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  form[id*="hotel"] *,
  form[id*="property"] *,
  form[id*="flight"] *,
  form[id*="insurance"] *,
  form[class*="hotel"] *,
  form[class*="property"] *,
  form[class*="flight"] *,
  form[class*="insurance"] *,
  .hotel-booking-section form *,
  .property-section form *,
  .flight-section form *,
  .insurance-section form *,
  .km-service-form-panel form *{
    box-sizing:border-box !important;
  }

  /* Force all field wrappers and labels to full width */
  form[id*="hotel"] > *,
  form[id*="property"] > *,
  form[id*="flight"] > *,
  form[id*="insurance"] > *,
  form[class*="hotel"] > *,
  form[class*="property"] > *,
  form[class*="flight"] > *,
  form[class*="insurance"] > *,
  .hotel-booking-section form > *,
  .property-section form > *,
  .flight-section form > *,
  .insurance-section form > *,
  .km-service-form-panel form > *,
  .hotel-booking-section form div,
  .property-section form div,
  .flight-section form div,
  .insurance-section form div,
  .km-service-form-panel form div{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
  }

  form[id*="hotel"] label,
  form[id*="property"] label,
  form[id*="flight"] label,
  form[id*="insurance"] label,
  form[class*="hotel"] label,
  form[class*="property"] label,
  form[class*="flight"] label,
  form[class*="insurance"] label,
  .hotel-booking-section label,
  .property-section label,
  .flight-section label,
  .insurance-section label,
  .km-service-form-panel label{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    color:#222 !important;
    text-shadow:none !important;
    font-size:16px !important;
    line-height:1.35 !important;
    margin:0 0 8px !important;
    padding:0 !important;
    font-weight:800 !important;
  }

  form[id*="hotel"] input:not([type="checkbox"]):not([type="radio"]),
  form[id*="property"] input:not([type="checkbox"]):not([type="radio"]),
  form[id*="flight"] input:not([type="checkbox"]):not([type="radio"]),
  form[id*="insurance"] input:not([type="checkbox"]):not([type="radio"]),
  form[class*="hotel"] input:not([type="checkbox"]):not([type="radio"]),
  form[class*="property"] input:not([type="checkbox"]):not([type="radio"]),
  form[class*="flight"] input:not([type="checkbox"]):not([type="radio"]),
  form[class*="insurance"] input:not([type="checkbox"]):not([type="radio"]),
  .hotel-booking-section input:not([type="checkbox"]):not([type="radio"]),
  .property-section input:not([type="checkbox"]):not([type="radio"]),
  .flight-section input:not([type="checkbox"]):not([type="radio"]),
  .insurance-section input:not([type="checkbox"]):not([type="radio"]),
  .km-service-form-panel input:not([type="checkbox"]):not([type="radio"]),
  form[id*="hotel"] select,
  form[id*="property"] select,
  form[id*="flight"] select,
  form[id*="insurance"] select,
  form[class*="hotel"] select,
  form[class*="property"] select,
  form[class*="flight"] select,
  form[class*="insurance"] select,
  .hotel-booking-section select,
  .property-section select,
  .flight-section select,
  .insurance-section select,
  .km-service-form-panel select,
  form[id*="hotel"] textarea,
  form[id*="property"] textarea,
  form[id*="flight"] textarea,
  form[id*="insurance"] textarea,
  form[class*="hotel"] textarea,
  form[class*="property"] textarea,
  form[class*="flight"] textarea,
  form[class*="insurance"] textarea,
  .hotel-booking-section textarea,
  .property-section textarea,
  .flight-section textarea,
  .insurance-section textarea,
  .km-service-form-panel textarea{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    margin:0 0 16px !important;
    height:48px !important;
    border-radius:12px !important;
    color:#222 !important;
    background:rgba(255,255,255,.92) !important;
  }

  .hotel-booking-section textarea,
  .property-section textarea,
  .flight-section textarea,
  .insurance-section textarea,
  .km-service-form-panel textarea{
    min-height:96px !important;
    height:auto !important;
  }

  /* Checkbox labels: black text, no white glow */
  form[id*="hotel"] input[type="checkbox"],
  form[id*="property"] input[type="checkbox"],
  form[id*="flight"] input[type="checkbox"],
  form[id*="insurance"] input[type="checkbox"],
  form[class*="hotel"] input[type="checkbox"],
  form[class*="property"] input[type="checkbox"],
  form[class*="flight"] input[type="checkbox"],
  form[class*="insurance"] input[type="checkbox"],
  .hotel-booking-section input[type="checkbox"],
  .property-section input[type="checkbox"],
  .flight-section input[type="checkbox"],
  .insurance-section input[type="checkbox"],
  .km-service-form-panel input[type="checkbox"],
  form[id*="hotel"] input[type="radio"],
  form[id*="property"] input[type="radio"],
  form[id*="flight"] input[type="radio"],
  form[id*="insurance"] input[type="radio"],
  .hotel-booking-section input[type="radio"],
  .property-section input[type="radio"],
  .flight-section input[type="radio"],
  .insurance-section input[type="radio"],
  .km-service-form-panel input[type="radio"]{
    width:22px !important;
    min-width:22px !important;
    max-width:22px !important;
    height:22px !important;
    margin:0 10px 0 0 !important;
    vertical-align:middle !important;
  }

  form[id*="hotel"] label:has(input[type="checkbox"]),
  form[id*="property"] label:has(input[type="checkbox"]),
  form[id*="flight"] label:has(input[type="checkbox"]),
  form[id*="insurance"] label:has(input[type="checkbox"]),
  form[class*="hotel"] label:has(input[type="checkbox"]),
  form[class*="property"] label:has(input[type="checkbox"]),
  form[class*="flight"] label:has(input[type="checkbox"]),
  form[class*="insurance"] label:has(input[type="checkbox"]),
  .hotel-booking-section label:has(input[type="checkbox"]),
  .property-section label:has(input[type="checkbox"]),
  .flight-section label:has(input[type="checkbox"]),
  .insurance-section label:has(input[type="checkbox"]),
  .km-service-form-panel label:has(input[type="checkbox"]),
  form[id*="hotel"] label:has(input[type="radio"]),
  form[id*="property"] label:has(input[type="radio"]),
  form[id*="flight"] label:has(input[type="radio"]),
  form[id*="insurance"] label:has(input[type="radio"]),
  .hotel-booking-section label:has(input[type="radio"]),
  .property-section label:has(input[type="radio"]),
  .flight-section label:has(input[type="radio"]),
  .insurance-section label:has(input[type="radio"]),
  .km-service-form-panel label:has(input[type="radio"]){
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    color:#222 !important;
    text-shadow:none !important;
    font-weight:800 !important;
    margin:0 0 12px !important;
  }

  /* Brutal fallback for checkbox text spans */
  .hotel-booking-section form span,
  .property-section form span,
  .flight-section form span,
  .insurance-section form span,
  .km-service-form-panel form span{
    color:#222 !important;
    text-shadow:none !important;
  }

  /* Submit button color: same dark green everywhere */
  form[id*="hotel"] button[type="submit"],
  form[id*="property"] button[type="submit"],
  form[id*="flight"] button[type="submit"],
  form[id*="insurance"] button[type="submit"],
  form[class*="hotel"] button[type="submit"],
  form[class*="property"] button[type="submit"],
  form[class*="flight"] button[type="submit"],
  form[class*="insurance"] button[type="submit"],
  .hotel-booking-section button[type="submit"],
  .property-section button[type="submit"],
  .flight-section button[type="submit"],
  .insurance-section button[type="submit"],
  .km-service-form-panel button[type="submit"],
  .km-submit-green{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:54px !important;
    margin:18px 0 0 !important;
    padding:0 24px !important;
    background:#00695c !important;
    background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
    color:#fff !important;
    border:0 !important;
    border-radius:999px !important;
    box-shadow:0 10px 24px rgba(0,105,92,.28) !important;
    text-shadow:none !important;
    font-size:17px !important;
    font-weight:900 !important;
  }

  /* Avoid footer/floating widgets covering the last submit button */
  .hotel-booking-section,
  .property-section,
  .flight-section,
  .insurance-section{
    padding-bottom:140px !important;
  }
}


/* FINAL INDEX CACHE + MOBILE FORM FIX */


@media (max-width: 820px){
  html,body{max-width:100%!important;overflow-x:hidden!important;}

  #hotel-booking,
  #phuket-property,
  #flight-booking,
  #insurance{
    width:100%!important;
    max-width:100%!important;
    padding:16px 10px 140px!important;
    margin:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  #hotel-booking .km-service-form-panel,
  #phuket-property .km-service-form-panel,
  #flight-booking .km-service-form-panel,
  #insurance .km-service-form-panel,
  #hotel-booking .hotel-booking-panel,
  #phuket-property .property-panel,
  #flight-booking .flight-panel,
  #insurance .insurance-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:20px 14px 26px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:20px!important;
  }

  #hotel-booking form,
  #phuket-property form,
  #flight-booking form,
  #insurance form,
  #hotel-booking .km-service-form-grid,
  #phuket-property .km-service-form-grid,
  #flight-booking .km-service-form-grid,
  #insurance .km-service-form-grid,
  #hotel-booking .form-grid,
  #phuket-property .form-grid,
  #flight-booking .form-grid,
  #insurance .form-grid,
  #hotel-booking .km-choice-two-cols,
  #phuket-property .km-choice-two-cols,
  #flight-booking .km-choice-two-cols,
  #insurance .km-choice-two-cols{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:1fr!important;
  }

  #hotel-booking form > *,
  #phuket-property form > *,
  #flight-booking form > *,
  #insurance form > *,
  #hotel-booking .km-service-form-col,
  #phuket-property .km-service-form-col,
  #flight-booking .km-service-form-col,
  #insurance .km-service-form-col,
  #hotel-booking .choice-block,
  #phuket-property .choice-block,
  #flight-booking .choice-block,
  #insurance .choice-block{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
  }

  #hotel-booking label,
  #phuket-property label,
  #flight-booking label,
  #insurance label,
  #hotel-booking .choice,
  #phuket-property .choice,
  #flight-booking .choice,
  #insurance .choice{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
    margin:0 0 12px!important;
    padding:0!important;
    color:#222!important;
    text-shadow:none!important;
    font-size:16px!important;
    line-height:1.35!important;
    font-weight:800!important;
  }

  #hotel-booking label > span,
  #phuket-property label > span,
  #flight-booking label > span,
  #insurance label > span,
  #hotel-booking .choice span,
  #phuket-property .choice span,
  #flight-booking .choice span,
  #insurance .choice span,
  #hotel-booking .choice-block p,
  #phuket-property .choice-block p,
  #flight-booking .choice-block p,
  #insurance .choice-block p{
    color:#222!important;
    text-shadow:none!important;
    font-weight:800!important;
  }

  #hotel-booking input:not([type="checkbox"]):not([type="radio"]),
  #phuket-property input:not([type="checkbox"]):not([type="radio"]),
  #flight-booking input:not([type="checkbox"]):not([type="radio"]),
  #insurance input:not([type="checkbox"]):not([type="radio"]),
  #hotel-booking select,
  #phuket-property select,
  #flight-booking select,
  #insurance select,
  #hotel-booking textarea,
  #phuket-property textarea,
  #flight-booking textarea,
  #insurance textarea{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    float:none!important;
    clear:both!important;
    margin:7px 0 16px!important;
    height:48px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.94)!important;
    color:#222!important;
    font-size:16px!important;
  }

  #hotel-booking textarea,
  #phuket-property textarea,
  #flight-booking textarea,
  #insurance textarea{
    min-height:100px!important;
    height:auto!important;
  }

  #hotel-booking input[type="checkbox"],
  #phuket-property input[type="checkbox"],
  #flight-booking input[type="checkbox"],
  #insurance input[type="checkbox"],
  #hotel-booking input[type="radio"],
  #phuket-property input[type="radio"],
  #flight-booking input[type="radio"],
  #insurance input[type="radio"]{
    width:22px!important;
    min-width:22px!important;
    max-width:22px!important;
    height:22px!important;
    margin:0 10px 0 0!important;
    vertical-align:middle!important;
  }

  #hotel-booking .choice,
  #phuket-property .choice,
  #flight-booking .choice,
  #insurance .choice{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    color:#222!important;
    text-shadow:none!important;
  }

  #hotel-booking h1,#hotel-booking h2,
  #phuket-property h1,#phuket-property h2,
  #flight-booking h1,#flight-booking h2,
  #insurance h1,#insurance h2{
    font-size:clamp(30px,9vw,44px)!important;
    line-height:1.08!important;
    color:#222!important;
    text-shadow:none!important;
    text-align:center!important;
  }

  #hotel-booking .section-heading p,
  #phuket-property .section-heading p,
  #flight-booking .section-heading p,
  #insurance .section-heading p{
    color:#666!important;
    text-shadow:none!important;
    text-align:center!important;
    font-size:16px!important;
    line-height:1.45!important;
  }

  #hotel-booking button[type="submit"],
  #phuket-property button[type="submit"],
  #flight-booking button[type="submit"],
  #insurance button[type="submit"],
  #hotel-booking .km-submit-green,
  #phuket-property .km-submit-green,
  #flight-booking .km-submit-green,
  #insurance .km-submit-green{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:54px!important;
    margin:20px 0 0!important;
    background:#00695c!important;
    background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%)!important;
    color:#fff!important;
    border:0!important;
    border-radius:999px!important;
    box-shadow:0 10px 24px rgba(0,105,92,.28)!important;
    text-shadow:none!important;
    font-size:17px!important;
    font-weight:900!important;
  }

  .floating-contact{
    right:10px!important;
    bottom:74px!important;
    transform:scale(.86)!important;
    transform-origin:right bottom!important;
  }
}



/* =========================================================
   FINAL MOBILE PARTNER FORM TEXT COLOR FIX
   4 partner űrlap: fehér betű + árnyék mobilon
   ========================================================= */
@media (max-width: 820px){

  #hotel-booking label,
  #phuket-property label,
  #flight-booking label,
  #insurance label,
  #hotel-booking .choice,
  #phuket-property .choice,
  #flight-booking .choice,
  #insurance .choice,
  #hotel-booking .choice span,
  #phuket-property .choice span,
  #flight-booking .choice span,
  #insurance .choice span,
  #hotel-booking .choice-block p,
  #phuket-property .choice-block p,
  #flight-booking .choice-block p,
  #insurance .choice-block p,
  #hotel-booking .km-service-form-panel label,
  #phuket-property .km-service-form-panel label,
  #flight-booking .km-service-form-panel label,
  #insurance .km-service-form-panel label,
  #hotel-booking .km-service-form-panel span,
  #phuket-property .km-service-form-panel span,
  #flight-booking .km-service-form-panel span,
  #insurance .km-service-form-panel span{
    color:#ffffff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.75), 0 1px 2px rgba(0,0,0,.9) !important;
    font-weight:900 !important;
  }

  #hotel-booking h1,
  #hotel-booking h2,
  #phuket-property h1,
  #phuket-property h2,
  #flight-booking h1,
  #flight-booking h2,
  #insurance h1,
  #insurance h2,
  #hotel-booking .section-heading h1,
  #hotel-booking .section-heading h2,
  #phuket-property .section-heading h1,
  #phuket-property .section-heading h2,
  #flight-booking .section-heading h1,
  #flight-booking .section-heading h2,
  #insurance .section-heading h1,
  #insurance .section-heading h2{
    color:#ffffff !important;
    text-shadow:0 3px 14px rgba(0,0,0,.8), 0 1px 2px rgba(0,0,0,.95) !important;
  }

  #hotel-booking .section-heading p,
  #phuket-property .section-heading p,
  #flight-booking .section-heading p,
  #insurance .section-heading p,
  #hotel-booking p,
  #phuket-property p,
  #flight-booking p,
  #insurance p{
    color:#ffffff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.9) !important;
  }

  /* A mezők maradjanak fehérek és jól olvashatóak */
  #hotel-booking input:not([type="checkbox"]):not([type="radio"]),
  #phuket-property input:not([type="checkbox"]):not([type="radio"]),
  #flight-booking input:not([type="checkbox"]):not([type="radio"]),
  #insurance input:not([type="checkbox"]):not([type="radio"]),
  #hotel-booking select,
  #phuket-property select,
  #flight-booking select,
  #insurance select,
  #hotel-booking textarea,
  #phuket-property textarea,
  #flight-booking textarea,
  #insurance textarea{
    color:#222222 !important;
    text-shadow:none !important;
    background:rgba(255,255,255,.94) !important;
  }

  #hotel-booking input::placeholder,
  #phuket-property input::placeholder,
  #flight-booking input::placeholder,
  #insurance input::placeholder,
  #hotel-booking textarea::placeholder,
  #phuket-property textarea::placeholder,
  #flight-booking textarea::placeholder,
  #insurance textarea::placeholder{
    color:rgba(40,40,40,.55) !important;
    text-shadow:none !important;
  }

  /* Checkbox/radio négyzetek maradjanak tiszták */
  #hotel-booking input[type="checkbox"],
  #phuket-property input[type="checkbox"],
  #flight-booking input[type="checkbox"],
  #insurance input[type="checkbox"],
  #hotel-booking input[type="radio"],
  #phuket-property input[type="radio"],
  #flight-booking input[type="radio"],
  #insurance input[type="radio"]{
    background:#ffffff !important;
    box-shadow:0 1px 6px rgba(0,0,0,.25) !important;
  }
}


/* FINAL WHITE TEXT INDEX OVERRIDE */


@media (max-width: 820px){
  html,body{max-width:100%!important;overflow-x:hidden!important;}

  #hotel-booking,
  #phuket-property,
  #flight-booking,
  #insurance{
    width:100%!important;
    max-width:100%!important;
    padding:16px 10px 140px!important;
    margin:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  #hotel-booking .km-service-form-panel,
  #phuket-property .km-service-form-panel,
  #flight-booking .km-service-form-panel,
  #insurance .km-service-form-panel,
  #hotel-booking .hotel-booking-panel,
  #phuket-property .property-panel,
  #flight-booking .flight-panel,
  #insurance .insurance-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:20px 14px 26px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:20px!important;
  }

  #hotel-booking form,
  #phuket-property form,
  #flight-booking form,
  #insurance form,
  #hotel-booking .km-service-form-grid,
  #phuket-property .km-service-form-grid,
  #flight-booking .km-service-form-grid,
  #insurance .km-service-form-grid,
  #hotel-booking .form-grid,
  #phuket-property .form-grid,
  #flight-booking .form-grid,
  #insurance .form-grid,
  #hotel-booking .km-choice-two-cols,
  #phuket-property .km-choice-two-cols,
  #flight-booking .km-choice-two-cols,
  #insurance .km-choice-two-cols{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:1fr!important;
  }

  #hotel-booking form > *,
  #phuket-property form > *,
  #flight-booking form > *,
  #insurance form > *,
  #hotel-booking .km-service-form-col,
  #phuket-property .km-service-form-col,
  #flight-booking .km-service-form-col,
  #insurance .km-service-form-col,
  #hotel-booking .choice-block,
  #phuket-property .choice-block,
  #flight-booking .choice-block,
  #insurance .choice-block{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
  }

  /* FEHÉR FELIRATOK ÁRNYÉKKAL A 4 PARTNER ŰRLAPON */
  #hotel-booking label,
  #phuket-property label,
  #flight-booking label,
  #insurance label,
  #hotel-booking .choice,
  #phuket-property .choice,
  #flight-booking .choice,
  #insurance .choice,
  #hotel-booking label span,
  #phuket-property label span,
  #flight-booking label span,
  #insurance label span,
  #hotel-booking .choice span,
  #phuket-property .choice span,
  #flight-booking .choice span,
  #insurance .choice span,
  #hotel-booking .choice-block p,
  #phuket-property .choice-block p,
  #flight-booking .choice-block p,
  #insurance .choice-block p,
  #hotel-booking .km-service-form-panel label,
  #phuket-property .km-service-form-panel label,
  #flight-booking .km-service-form-panel label,
  #insurance .km-service-form-panel label,
  #hotel-booking .km-service-form-panel span,
  #phuket-property .km-service-form-panel span,
  #flight-booking .km-service-form-panel span,
  #insurance .km-service-form-panel span{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
    margin:0 0 12px!important;
    padding:0!important;
    color:#ffffff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.78),0 1px 2px rgba(0,0,0,.95)!important;
    font-size:16px!important;
    line-height:1.35!important;
    font-weight:900!important;
  }

  #hotel-booking input:not([type="checkbox"]):not([type="radio"]),
  #phuket-property input:not([type="checkbox"]):not([type="radio"]),
  #flight-booking input:not([type="checkbox"]):not([type="radio"]),
  #insurance input:not([type="checkbox"]):not([type="radio"]),
  #hotel-booking select,
  #phuket-property select,
  #flight-booking select,
  #insurance select,
  #hotel-booking textarea,
  #phuket-property textarea,
  #flight-booking textarea,
  #insurance textarea{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    float:none!important;
    clear:both!important;
    margin:7px 0 16px!important;
    height:48px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.94)!important;
    color:#222!important;
    text-shadow:none!important;
    font-size:16px!important;
  }

  #hotel-booking textarea,
  #phuket-property textarea,
  #flight-booking textarea,
  #insurance textarea{
    min-height:100px!important;
    height:auto!important;
  }

  #hotel-booking input[type="checkbox"],
  #phuket-property input[type="checkbox"],
  #flight-booking input[type="checkbox"],
  #insurance input[type="checkbox"],
  #hotel-booking input[type="radio"],
  #phuket-property input[type="radio"],
  #flight-booking input[type="radio"],
  #insurance input[type="radio"]{
    width:22px!important;
    min-width:22px!important;
    max-width:22px!important;
    height:22px!important;
    margin:0 10px 0 0!important;
    vertical-align:middle!important;
    background:#fff!important;
    box-shadow:0 1px 6px rgba(0,0,0,.25)!important;
  }

  #hotel-booking .choice,
  #phuket-property .choice,
  #flight-booking .choice,
  #insurance .choice,
  #hotel-booking label:has(input[type="checkbox"]),
  #phuket-property label:has(input[type="checkbox"]),
  #flight-booking label:has(input[type="checkbox"]),
  #insurance label:has(input[type="checkbox"]),
  #hotel-booking label:has(input[type="radio"]),
  #phuket-property label:has(input[type="radio"]),
  #flight-booking label:has(input[type="radio"]),
  #insurance label:has(input[type="radio"]){
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    color:#ffffff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.78),0 1px 2px rgba(0,0,0,.95)!important;
  }

  #hotel-booking h1,#hotel-booking h2,
  #phuket-property h1,#phuket-property h2,
  #flight-booking h1,#flight-booking h2,
  #insurance h1,#insurance h2,
  #hotel-booking .section-heading h1,
  #hotel-booking .section-heading h2,
  #phuket-property .section-heading h1,
  #phuket-property .section-heading h2,
  #flight-booking .section-heading h1,
  #flight-booking .section-heading h2,
  #insurance .section-heading h1,
  #insurance .section-heading h2{
    font-size:clamp(30px,9vw,44px)!important;
    line-height:1.08!important;
    color:#ffffff!important;
    text-shadow:0 3px 14px rgba(0,0,0,.85),0 1px 2px rgba(0,0,0,.95)!important;
    text-align:center!important;
  }

  #hotel-booking .section-heading p,
  #phuket-property .section-heading p,
  #flight-booking .section-heading p,
  #insurance .section-heading p,
  #hotel-booking p,
  #phuket-property p,
  #flight-booking p,
  #insurance p{
    color:#ffffff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.75),0 1px 2px rgba(0,0,0,.95)!important;
    text-align:center!important;
    font-size:16px!important;
    line-height:1.45!important;
  }

  #hotel-booking button[type="submit"],
  #phuket-property button[type="submit"],
  #flight-booking button[type="submit"],
  #insurance button[type="submit"],
  #hotel-booking .km-submit-green,
  #phuket-property .km-submit-green,
  #flight-booking .km-submit-green,
  #insurance .km-submit-green{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:54px!important;
    margin:20px 0 0!important;
    background:#00695c!important;
    background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%)!important;
    color:#fff!important;
    border:0!important;
    border-radius:999px!important;
    box-shadow:0 10px 24px rgba(0,105,92,.28)!important;
    text-shadow:none!important;
    font-size:17px!important;
    font-weight:900!important;
  }

  .floating-contact{
    right:10px!important;
    bottom:74px!important;
    transform:scale(.86)!important;
    transform-origin:right bottom!important;
  }
}



/* Email confirmation helper text */
.km-email-help{
  display:block;
  margin-top:6px;
  font-size:12px;
  line-height:1.35;
  color:rgba(255,255,255,.72);
  font-weight:600;
}
.property-form .km-email-help,
.km-service-form-panel .km-email-help{
  color:rgba(255,255,255,.82);
}
.km-booking-grid .km-email-help,
.km-v4-form-card .km-email-help{
  color:rgba(226,232,240,.78);
}

/* Room capacity helper under guest count */
.km-room-capacity-help{
  display:block;
  margin-top:6px;
  font-size:12px;
  line-height:1.35;
  color:#66758f;
  font-weight:700;
}



/* ===== THAI INFO BUTTONS ONLY SECTION ===== */
.thai-info-buttons-only-section{
  background:linear-gradient(180deg,#f7fbf8 0%,#ffffff 100%);
  padding-top:70px;
  padding-bottom:70px;
}
.thai-info-simple-heading{
  max-width:880px;
  margin:0 auto 28px;
  text-align:center;
}
.thai-info-buttons-only-section #thai-info-title{
  color:#10281f;
}
.thai-info-buttons-only-section #thai-info-text{
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
  color:#526259;
}
.thai-info-buttons-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  max-width:1320px;
  margin:0 auto;
}
.thai-info-chip{
  border:1px solid rgba(14,94,72,.14);
  background:#fff;
  border-radius:18px;
  padding:18px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:flex-start;
  text-align:left;
  font-weight:900;
  color:#132820;
  cursor:pointer;
  min-height:76px;
  box-shadow:0 10px 26px rgba(18,45,35,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.thai-info-chip:hover,
.thai-info-chip:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(181,150,79,.55);
  box-shadow:0 16px 34px rgba(18,45,35,.10);
  outline:none;
}
.thai-info-chip.active{
  background:linear-gradient(135deg,#0b6b58 0%,#118466 100%);
  color:#fff;
  border-color:#0b6b58;
}
.thai-info-chip-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#f4f0e6;
  color:#b18b3d;
  flex:0 0 42px;
  font-size:1.18rem;
}
.thai-info-chip.active .thai-info-chip-icon{
  background:rgba(255,255,255,.17);
  color:#fff;
}
.thai-info-chip-text{
  line-height:1.25;
}
@media (max-width:1180px){
  .thai-info-buttons-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:760px){
  .thai-info-buttons-only-section{
    padding-top:46px;
    padding-bottom:54px;
  }
  .thai-info-buttons-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .thai-info-chip{
    min-height:64px;
    padding:14px 15px;
    border-radius:16px;
  }
  .thai-info-chip-icon{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
}




/* ===== BOOKING HELPER TEXT GREEN FINAL ===== */
.room-capacity-help-final,
#room-capacity-hard-help,
#room-capacity-help-final,
.booking-email-note,
.email-helper-text,
.email-note,
.form-help,
.form-hint,
.booking-form small,
.direct-payment-form small,
.booking-panel small,
.payment-form small,
.room-booking-form small,
.km-service-form-panel small {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 700 !important;
}

input[type="email"] + small,
input[name="email"] + small,
#booking-email + small,
#direct-booking-email + small {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 700 !important;
}




/* ===== FORCE GREEN FOR ROOM CAPACITY MAXIMUM TEXT ===== */
.room-capacity-help-final,
#room-capacity-hard-help,
#room-capacity-help-final,
.capacity-note,
.room-capacity-note,
.km-room-capacity-note,
.km-capacity-note,
.booking-capacity-note,
.guest-capacity-note,
[data-capacity-note],
[data-room-capacity-note],
[data-v4-capacity-note],
[data-v4-note],
[data-helper="capacity"],
[data-help="capacity"],
[data-note="capacity"] {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}

/* Direct booking form helper texts under Vendégek / email */
.km-v4-field small,
.km-v4-field .hint,
.km-v4-field .note,
.km-v4-field .help,
.km-v4-field .helper,
.km-v4-field [class*="note"],
.km-v4-field [class*="hint"],
.km-v4-field [class*="help"],
.km-v4-field [class*="capacity"],
.booking-form [class*="capacity"],
.direct-payment-form [class*="capacity"],
.room-booking-form [class*="capacity"],
.payment-form [class*="capacity"],
.booking-panel [class*="capacity"] {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}

/* If the text is rendered as a generic div directly after the guest input */
input[data-v4-field="adults"] + *,
input[name="guests"] + *,
input[name="guestCount"] + *,
#booking-guests + *,
#direct-booking-guests + *,
#guests + * {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}

/* Email helper text under email field */
input[type="email"] + *,
input[name="email"] + *,
#booking-email + *,
#direct-booking-email + * {
  color: #00796b !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}




/* ===== THAI INFO DETAILS MODAL LIKE ROOMS / PROGRAMS ===== */
.thai-info-detail-modal-content{
  max-width:1120px!important;
  width:min(1120px,94vw)!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:#ffffff!important;
  box-shadow:0 28px 90px rgba(0,0,0,.35)!important;
}

.thai-info-detail-head{
  display:flex;
  align-items:center;
  gap:18px;
  padding:30px 82px 24px 30px;
  background:linear-gradient(135deg,#fbfcf8 0%,#ffffff 100%);
  border-bottom:1px solid rgba(0,91,79,.12);
}

.thai-info-detail-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  display:grid;
  place-items:center;
  flex:0 0 64px;
  background:#f4f0e6;
  color:#b18b3d;
  font-size:1.7rem;
}

.thai-info-detail-label{
  margin:0 0 4px;
  color:#9a762e;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.86rem;
}

.thai-info-detail-head h2{
  padding:0!important;
  margin:0!important;
  color:#062820!important;
  font-size:clamp(1.8rem,4vw,2.8rem)!important;
  line-height:1.05!important;
}

.thai-info-detail-close{
  position:absolute!important;
  top:18px!important;
  right:18px!important;
  z-index:10!important;
  width:46px!important;
  height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:999px!important;
  background:#f2f5f2!important;
  color:#063027!important;
  font-size:32px!important;
  line-height:1!important;
  cursor:pointer!important;
}

.thai-info-detail-close:hover{
  background:#005b4f!important;
  color:#fff!important;
}

.thai-info-detail-gallery{
  height:460px!important;
  background:#f4f7f4!important;
  border-bottom:1px solid rgba(0,91,79,.10);
}

.thai-info-detail-track{
  width:100%;
  height:100%;
  position:relative;
}

.thai-info-detail-img{
  position:absolute;
  inset:0;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#f4f7f4;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.thai-info-detail-img.active{
  opacity:1;
  pointer-events:auto;
}

.thai-info-detail-count{
  position:absolute;
  right:18px;
  bottom:16px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-weight:800;
  font-size:.92rem;
  z-index:7;
}

.thai-info-detail-body{
  padding:30px;
  color:#40534a;
  line-height:1.8;
  font-size:1.04rem;
}

.thai-info-detail-body p{
  margin:0 0 16px;
}

.thai-info-detail-body ul{
  margin:0 0 18px 22px;
}

.thai-info-detail-body li{
  margin-bottom:8px;
}

.thai-info-detail-note{
  margin:20px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#fff8e8;
  border:1px solid rgba(181,150,79,.38);
  color:#5f522e;
}

.thai-info-detail-note strong{
  color:#765b24;
}

.thai-info-no-image{
  display:none!important;
}

@media(max-width:760px){
  .thai-info-detail-modal-content{
    width:100%!important;
    max-width:100%!important;
    min-height:auto!important;
    margin:10px auto!important;
    border-radius:22px!important;
  }

  .thai-info-detail-head{
    padding:22px 62px 18px 18px!important;
    gap:13px;
  }

  .thai-info-detail-icon{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:15px;
    font-size:1.35rem;
  }

  .thai-info-detail-gallery{
    height:280px!important;
  }

  .thai-info-detail-body{
    padding:20px 18px 28px;
    font-size:.98rem;
  }

  .thai-info-detail-close{
    top:12px!important;
    right:12px!important;
    width:42px!important;
    height:42px!important;
    font-size:30px!important;
  }

  .thai-info-detail-count{
    right:12px;
    bottom:12px;
  }
}



/* Csabi módosítások – Facebook gomb, program szállás mező, gyerek életkorok */
.hero-facebook-follow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin:22px auto 16px;
  padding:12px 16px;
  width:fit-content;
  max-width:100%;
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;
  background:rgba(2,6,23,.34);
  backdrop-filter:blur(10px);
  box-shadow:0 14px 34px rgba(0,0,0,.25);
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}
.hero-facebook-follow span:first-child{
  font-weight:800;
  letter-spacing:.02em;
}
.hero-facebook-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#1877f2,#0f4fb8);
  font-weight:800;
  box-shadow:0 12px 28px rgba(24,119,242,.38);
}
.hero-facebook-link:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}
.hero-facebook-icon{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  color:#1877f2;
  font-family:Arial,sans-serif;
  font-weight:900;
  font-size:18px;
  line-height:1;
}
.km-v4-child-ages{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:10px;
  margin-top:-4px;
}
.km-v4-child-ages label{
  margin:0!important;
}
.km-v4-age-note,
.km-v4-accommodation-note,
.km-program-advance-hint{
  display:block;
  margin-top:6px;
  color:#806000;
  font-size:.82rem;
  line-height:1.35;
}
.km-v4-accommodation-warning{
  color:#b42318!important;
  font-weight:700;
}
@media (max-width:680px){
  .hero-facebook-follow{
    width:100%;
    border-radius:24px;
    padding:12px;
    gap:10px;
  }
  .hero-facebook-link{
    width:100%;
    justify-content:center;
  }
}


/* =========================================================
   KRABI MAGYARUL: MR. RIZ TRANSZFER VIDEÓK ÉS RÉSZLETES LEÍRÁS
   ========================================================= */
#transfer .section-heading{
  margin-bottom:42px;
}

.transfer-showcase{
  width:min(1500px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(320px,520px) minmax(280px,1fr);
  grid-template-areas:"video-left service video-right";
  gap:28px;
  align-items:stretch;
}

.transfer-service-card{
  grid-area:service;
  width:100%;
  height:100%;
  min-height:330px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}

.transfer-service-card:hover,
.transfer-service-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 20px 46px rgba(0,77,64,.16);
  outline:none;
}

.transfer-service-card:focus-visible{
  box-shadow:0 0 0 4px rgba(0,105,92,.22),0 20px 46px rgba(0,77,64,.16);
}

.transfer-video-left{grid-area:video-left;}
.transfer-video-right{grid-area:video-right;}

.transfer-video-card{
  min-width:0;
  height:100%;
  min-height:330px;
  display:flex;
  align-items:center;
  padding:12px;
  border:1px solid rgba(0,105,92,.1);
  border-radius:25px;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.transfer-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:17px;
  background:#0b1d1a;
}

.transfer-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.transfer-details-card{
  width:min(1050px,100%);
  margin:38px auto 0;
  padding:34px 38px;
  border:1px solid rgba(0,105,92,.1);
  border-radius:26px;
  background:#fff;
  box-shadow:0 16px 42px rgba(0,0,0,.075);
  color:#35443f;
  font-size:1.04rem;
  line-height:1.8;
  text-align:left;
}

.transfer-details-card p{
  margin:0 0 18px;
}

.transfer-details-card p:last-of-type{
  margin-bottom:12px;
}

.transfer-details-card a{
  color:#00695c;
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.transfer-details-card a:hover{
  color:#004d40;
}

.transfer-highlight{
  padding:16px 18px;
  border-left:5px solid #00695c;
  border-radius:14px;
  background:#edf8f5;
  color:#004d40;
  font-weight:850;
}

.transfer-details-card ul{
  margin:8px 0 0;
  padding-left:24px;
}

.transfer-details-card li{
  margin:7px 0;
  padding-left:4px;
}

@media(max-width:1180px){
  .transfer-showcase{
    width:min(980px,100%);
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:
      "service service"
      "video-left video-right";
  }

  .transfer-service-card{
    width:min(520px,100%);
    justify-self:center;
  }
}

@media(max-width:760px){
  #transfer .section-heading{
    margin-bottom:30px;
  }

  .transfer-showcase{
    grid-template-columns:1fr;
    grid-template-areas:
      "service"
      "video-left"
      "video-right";
    gap:18px;
  }

  .transfer-service-card{
    width:100%;
    min-height:0;
  }

  .transfer-video-card{
    min-height:0;
    padding:9px;
  }

  .transfer-service-card,
  .transfer-video-card{
    border-radius:20px;
  }

  .transfer-video-frame{
    border-radius:14px;
  }

  .transfer-details-card{
    margin-top:26px;
    padding:24px 20px 26px;
    border-radius:20px;
    font-size:.98rem;
    line-height:1.72;
  }

  .transfer-highlight{
    padding:14px 15px;
  }
}


/* === Nálunk foglalható programok: előző napi 19:00 thai idő szerinti határidő === */
.program-booking-policy{
  width:min(980px,100%);
  margin:18px auto 0;
  padding:16px 18px;
  border:1px solid rgba(0,105,92,.18);
  border-left:5px solid #00695c;
  border-radius:16px;
  background:#edf8f5;
  color:#17483f;
  font-weight:700;
  line-height:1.65;
  text-align:left;
  box-shadow:0 10px 26px rgba(0,77,64,.07);
}

.km-v4-bookable-policy{
  display:grid;
  gap:7px;
  margin:18px 0 22px;
  padding:16px 18px;
  border:1px solid rgba(0,105,92,.2);
  border-radius:16px;
  background:#edf8f5;
  color:#17483f;
  line-height:1.55;
}

.km-v4-bookable-policy strong{
  color:#005f52;
  font-size:1rem;
}

.km-v4-bookable-policy span{
  font-size:.94rem;
}

.km-program-cutoff-hint{
  display:block;
  margin-top:8px;
  padding:10px 12px;
  border-radius:11px;
  background:#f1f8f6;
  color:#245f55;
  font-size:.82rem;
  font-weight:650;
  line-height:1.45;
}

@media(max-width:760px){
  .program-booking-policy,
  .km-v4-bookable-policy{
    padding:14px 15px;
    border-radius:14px;
    font-size:.92rem;
  }
}

/* Dupla kattintás elleni foglalásvédelem */
.km-v4-direct:disabled,
[data-km-submit]:disabled,
#booking-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  filter: saturate(0.75);
  transform: none !important;
  box-shadow: none !important;
}

/* Kötelező szállásnév a programfoglalásoknál */
.km-required-star{
  color:#b42318;
  font-weight:900;
}
.km-accommodation-required-label,
.km-v4-accommodation-label{
  position:relative;
}
.km-accommodation-required-help{
  display:block;
  margin-top:6px;
  color:#806000;
  font-size:.82rem;
  line-height:1.35;
}
.km-required-field-error,
.km-v4-accommodation-warning{
  border-color:#b42318!important;
  box-shadow:0 0 0 3px rgba(180,35,24,.14)!important;
  background:#fff7f6!important;
}


/* Csabi közvetlen repülőjegy-űrlap jelzés */
.flight-direct-note{
  margin:14px 0 22px;
  padding:13px 16px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:14px;
  background:rgba(7,54,42,.88);
  color:#fff;
  font-weight:800;
  line-height:1.45;
  text-align:center;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
@media (max-width:700px){
  .flight-direct-note{margin:12px 0 18px;padding:12px 13px;font-size:14px;}
}


/* Dual flight booking: external partner + Csabi additional option */
#csabi-flight-booking {
  margin-top: 44px;
  scroll-margin-top: 24px;
}
#csabi-flight-booking .flight-panel {
  position: relative;
}
#csabi-flight-booking .flight-panel::before {
  content: "PLUSZ LEHETŐSÉG";
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
@media (max-width: 820px) {
  #csabi-flight-booking { margin-top: 28px; }
}


/* Hero közösségi gombok – Facebook + TikTok */
.hero-tiktok-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#111827,#050505);
  font-weight:800;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
  text-decoration:none;
  transition:transform .2s ease, filter .2s ease;
}
.hero-tiktok-link:hover{
  transform:translateY(-1px);
  filter:brightness(1.12);
}
.hero-tiktok-icon{
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  color:#111827;
  font-family:Arial,sans-serif;
  font-weight:900;
  font-size:18px;
  line-height:1;
  text-shadow:1px 0 #25f4ee,-1px 0 #fe2c55;
}
@media (max-width:680px){
  .hero-tiktok-link{
    width:100%;
    justify-content:center;
  }
}

/* =========================================================
   TRANSFER REQUEST MODAL – added without changing existing content
   ========================================================= */
.transfer-request-open-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:18px;
  padding:12px 22px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#008b77,#00695c);
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(0,105,92,.25);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.transfer-request-open-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,105,92,.32);
  filter:brightness(1.04);
}
.transfer-request-open-btn:focus-visible{
  outline:3px solid rgba(0,105,92,.28);
  outline-offset:3px;
}

body.transfer-request-modal-open{overflow:hidden;}
.transfer-request-modal{
  position:fixed;
  inset:0;
  z-index:1000000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(3,25,22,.76);
  backdrop-filter:blur(7px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}
.transfer-request-modal.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.transfer-request-dialog{
  position:relative;
  width:min(1040px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:28px;
  background:#fff;
  box-shadow:0 34px 100px rgba(0,0,0,.38);
  transform:translateY(16px) scale(.985);
  transition:transform .2s ease;
}
.transfer-request-modal.open .transfer-request-dialog{transform:translateY(0) scale(1);}
.transfer-request-close{
  position:absolute;
  top:18px;
  right:18px;
  z-index:4;
  width:46px;
  height:46px;
  border:1px solid rgba(5,74,63,.15);
  border-radius:50%;
  background:#fff;
  color:#082f29;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.transfer-request-close:hover{background:#00695c;color:#fff;}
.transfer-request-header{
  padding:34px 82px 25px 34px;
  background:linear-gradient(135deg,#f4fbf8,#fff);
  border-bottom:1px solid rgba(0,105,92,.12);
}
.transfer-request-badge{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#e3f4ef;
  color:#00695c;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.08em;
}
.transfer-request-header h2{
  margin:13px 0 8px;
  color:#073c33;
  font-size:clamp(1.9rem,4vw,2.8rem);
  line-height:1.05;
}
.transfer-request-header p{
  margin:0;
  max-width:760px;
  color:#526760;
  line-height:1.55;
}
.transfer-request-form{padding:28px 34px 34px;}
.transfer-request-fieldset{
  margin:0 0 24px;
  padding:0;
  border:0;
}
.transfer-request-fieldset legend{
  width:100%;
  margin:0 0 15px;
  padding:0 0 9px;
  border-bottom:1px solid rgba(0,105,92,.14);
  color:#073c33;
  font-size:1.12rem;
  font-weight:900;
}
.transfer-request-grid{
  display:grid;
  gap:18px;
}
.transfer-request-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));}
.transfer-request-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;}
.transfer-request-form label{
  display:block;
  min-width:0;
  color:#173f37;
  font-weight:800;
  line-height:1.35;
}
.transfer-request-form label>b{color:#c62828;}
.transfer-request-form input,
.transfer-request-form select{
  display:block;
  width:100%;
  min-width:0;
  height:50px;
  margin-top:8px;
  padding:0 14px;
  border:1px solid #bfd8d1;
  border-radius:13px;
  background:#fff;
  color:#102f29;
  font:inherit;
  box-sizing:border-box;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.transfer-request-form input:focus,
.transfer-request-form select:focus{
  outline:none;
  border-color:#007d6b;
  box-shadow:0 0 0 4px rgba(0,125,107,.12);
}
.transfer-request-form.km-was-validated input:invalid,
.transfer-request-form.km-was-validated select:invalid{
  border-color:#c62828;
  background:#fff8f8;
  box-shadow:0 0 0 3px rgba(198,40,40,.09);
}
.transfer-request-validation{
  margin:0 0 16px;
  padding:12px 15px;
  border:1px solid rgba(198,40,40,.25);
  border-radius:12px;
  background:#fff3f3;
  color:#9f1f1f;
  font-weight:800;
}
.transfer-request-validation[hidden],
#transfer-flight-field[hidden]{display:none!important;}
.transfer-request-submit{
  width:100%;
  min-height:54px;
  margin:0;
  border-radius:999px;
  font-size:1.03rem;
}
.transfer-request-privacy{
  margin:13px 0 0;
  color:#61736d;
  text-align:center;
  font-size:.9rem;
}

@media(max-width:860px){
  .transfer-request-grid-three{grid-template-columns:1fr 1fr;}
  .transfer-request-grid-three label:last-child{grid-column:1/-1;}
}
@media(max-width:640px){
  .transfer-request-modal{align-items:flex-end;padding:0;}
  .transfer-request-dialog{width:100%;max-height:95vh;border-radius:24px 24px 0 0;}
  .transfer-request-header{padding:27px 66px 20px 20px;}
  .transfer-request-form{padding:22px 18px 30px;}
  .transfer-request-grid-three,
  .transfer-request-grid-two{grid-template-columns:1fr;gap:15px;}
  .transfer-request-grid-three label:last-child{grid-column:auto;}
  .transfer-request-grid-two{margin-top:15px;}
  .transfer-request-close{top:13px;right:13px;width:42px;height:42px;}
  .transfer-request-open-btn{width:100%;}
}
@media(prefers-reduced-motion:reduce){
  .transfer-request-modal,
  .transfer-request-dialog,
  .transfer-request-open-btn{transition:none!important;}
}

.transfer-request-success{margin:0 0 16px;padding:12px 15px;border:1px solid rgba(0,105,92,.22);border-radius:12px;background:#edf9f5;color:#00695c;font-weight:800;}
.transfer-request-success[hidden]{display:none!important;}
.transfer-request-submit[disabled]{opacity:.68;cursor:wait;transform:none!important;}


/* Transfer modal submit button: always dark green */
.transfer-request-form .transfer-request-submit,
.transfer-request-dialog .transfer-request-submit,
button.transfer-request-submit,
button.transfer-request-submit:not(:hover),
button.transfer-request-submit:focus,
button.transfer-request-submit:active{
  background:#00695c !important;
  background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
  color:#ffffff !important;
  border:0 !important;
  box-shadow:0 10px 24px rgba(0,105,92,.28) !important;
}
button.transfer-request-submit:hover{
  background:#00695c !important;
  background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
  color:#ffffff !important;
  box-shadow:0 16px 30px rgba(0,105,92,.34) !important;
}


/* Transfer card action buttons: equal size */
.transfer-card-actions{
  width:100%;
  margin-top:auto;
  padding-top:18px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.transfer-card-actions .transfer-details-open-btn,
.transfer-card-actions .transfer-request-open-btn{
  width:100%;
  min-width:0;
  min-height:46px;
  margin:0 !important;
  padding:11px 14px;
  border-radius:999px;
  font:inherit;
  font-size:.94rem;
  line-height:1.2;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}
.transfer-card-actions .transfer-details-open-btn{
  border:2px solid #00695c;
  background:#ffffff;
  color:#00695c;
  box-shadow:0 8px 20px rgba(0,105,92,.12);
}
.transfer-card-actions .transfer-details-open-btn:hover,
.transfer-card-actions .transfer-details-open-btn:focus-visible{
  transform:translateY(-2px);
  background:#edf8f5;
  box-shadow:0 12px 26px rgba(0,105,92,.18);
  outline:none;
}
.transfer-card-actions .transfer-request-open-btn,
.transfer-card-actions .transfer-request-open-btn:not(:hover),
.transfer-card-actions .transfer-request-open-btn:focus,
.transfer-card-actions .transfer-request-open-btn:active{
  border:0 !important;
  background:#00695c !important;
  background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
  color:#ffffff !important;
  box-shadow:0 10px 24px rgba(0,105,92,.28) !important;
}
.transfer-card-actions .transfer-request-open-btn:hover{
  transform:translateY(-2px);
  background:#00695c !important;
  background-image:linear-gradient(135deg,#00796b 0%,#00695c 100%) !important;
  box-shadow:0 16px 30px rgba(0,105,92,.34) !important;
}
@media(max-width:520px){
  .transfer-card-actions{grid-template-columns:1fr;gap:10px;}
  .transfer-card-actions .transfer-details-open-btn,
  .transfer-card-actions .transfer-request-open-btn{min-height:48px;font-size:.92rem;}
}

/* === FINAL PAYMENT METHODS: Visa, Mastercard, Apple Pay, Google Pay, bank transfer === */
.km-method-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.km-method-row .km-method-bank{grid-column:1/-1!important}
.km-v4-payment-content .km-v4-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.km-v4-payment-content .km-v4-methods button[data-method="bank_transfer"]{grid-column:1/-1!important}
.km-v4-methods button.active,.km-choice-card:has(input:checked){background:#00695c!important;color:#fff!important;border-color:#00695c!important}
@media(max-width:640px){.km-method-row,.km-v4-payment-content .km-v4-methods{grid-template-columns:1fr!important}.km-method-row .km-method-bank,.km-v4-payment-content .km-v4-methods button[data-method="bank_transfer"]{grid-column:auto!important}}


/* === DESKTOP MAIN NAV: one line, no broken menu labels === */
@media (min-width: 901px){
  .main-nav{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    gap:clamp(8px, .85vw, 18px) !important;
    padding:15px 18px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .main-nav::-webkit-scrollbar{
    display:none !important;
  }

  .main-nav a{
    flex:0 0 auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    font-size:clamp(12px, .73vw, 15px) !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
  }

  #nav-thai-info,
  #nav-hotel,
  #nav-flight,
  #nav-property{
    white-space:nowrap !important;
  }
}
