/* Header controls share one layout instead of mixing floats and wrapping rows. */
.headertop .top_head .jasmine-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px 24px; padding: 9px 0; box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}
.headertop .jasmine-topbar > .left_top,
.headertop .jasmine-topbar > .right_top {
    display: flex; align-items: center; float: none; width: auto;
    max-width: 100%; min-width: 0; padding: 0; margin: 0;
}
.headertop .jasmine-topbar > .left_top { gap: 12px 20px; flex: 1 1 auto; text-align: left; }
.headertop .jasmine-topbar > .right_top { gap: 14px; flex: 0 0 auto; }
.headertop .jasmine-topbar > ul > li {
    float: none; width: auto; height: auto; min-height: 32px;
    margin: 0 !important; padding: 0 !important; position: relative; inset: auto;
    display: flex; align-items: center; line-height: 1.4; box-sizing: border-box;
}
.headertop .jasmine-topbar .t-address { flex-direction: column; align-items: flex-start; min-width: 0; }
.headertop .jasmine-topbar .jasmine-street {
    display: block; color: #e0d1c1; font: 400 11px/1.5 'Poppins', Arial, sans-serif;
    margin: 0 0 0 8px; max-width: 240px; text-wrap: pretty;
}
.headertop .jasmine-topbar .t-tel { flex: 0 0 auto; }
.headertop .jasmine-topbar .t-tel a {
    color: #fff; font: 500 14px/1.4 'Poppins', Arial, sans-serif;
    margin: 0; padding: 7px 0; white-space: nowrap; position: static;
}
.headertop .jasmine-topbar .t-tel a::before { display: none; }
.headertop .jasmine-topbar .right_top .inst { order: 1; }
.headertop .jasmine-topbar .right_top .face { order: 2; }
.headertop .jasmine-topbar .right_top .book-m { order: 3; }
.headertop .jasmine-topbar .right_top .user_shop { order: 4; }
.headertop .jasmine-topbar .right_top .cart_shop { order: 5; }
.headertop .jasmine-topbar .right_top .lang_box { order: 6; }
.headertop .jasmine-topbar .book-m > a,
.headertop .jasmine-topbar .drop-booksy { display: flex; align-items: center; gap: 6px; min-height: 34px; }
.headertop .jasmine-topbar .book-m img { display: block; width: 86px; height: auto; margin: 0; }
.headertop .jasmine-topbar .book-m > a > span,
.headertop .jasmine-topbar .drop-booksy > span { display: none; }
.headertop .jasmine-topbar .book-m > a { font: 500 13px/1.4 'Poppins', Arial, sans-serif; color: #fff; }
.headertop .jasmine-topbar .inst a,
.headertop .jasmine-topbar .face a { display: flex; align-items: center; justify-content: center; min-width: 28px; min-height: 34px; }
.headertop .jasmine-topbar .inst a::before,
.headertop .jasmine-topbar .face a::before { font-size: 23px; color: #fff; line-height: 1; }
.headertop .jasmine-topbar .user_shop .usicon { font-size: 0; display: inline-block; min-width: 28px; line-height: 34px; }
.headertop .jasmine-topbar .user_shop .usicon::before { font-size: 23px !important; line-height: 1; color: #fff; }
.headertop .jasmine-topbar .top_cart { display: inline-block; position: relative; min-width: 28px; line-height: 34px; }
.headertop .jasmine-topbar .top_cart::before { font-size: 25px !important; color: #fff; }
.headertop .jasmine-topbar .lang_box select {
    width: 58px !important; min-width: 58px !important; max-width: 58px !important;
    height: 32px; box-sizing: border-box; margin: 0 !important; padding: 4px 3px !important;
    border: 1px solid #6b5847 !important; border-radius: 5px;
    background: #21180f !important; color: #fff !important;
    font: 500 12px/1.4 'Poppins', Arial, sans-serif !important;
}
.headertop .jasmine-topbar .lang_box option { color: #fff; background: #21180f; }
.headertop .jasmine-topbar .lang_box #google_translate_element,
.headertop .jasmine-topbar .lang_box #google_translate_element2 { width: auto !important; }
.headertop .menu_head { padding-top: 20px; padding-bottom: 20px; }

/* Keep the existing consent controls and behavior; only change presentation. */
#cookie-notice { background: transparent !important; color: #30251e !important; font-family: 'Poppins', Arial, sans-serif; }
#cookie-notice .cookie-notice-container {
    position: relative; box-sizing: border-box; max-width: 720px;
    width: calc(100% - 28px); margin: 14px auto; padding: 18px 38px 18px 20px;
    background: #fffdfa; border: 1px solid #ddc5a5; border-radius: 12px;
    box-shadow: 0 5px 28px rgba(34, 22, 10, .18); text-align: left;
    color: #30251e; font: 400 12px/1.65 'Poppins', Arial, sans-serif;
}
#cookie-notice .cn-text-container { display: block; color: #30251e; margin: 0 0 12px; }
#cookie-notice .cn-buttons-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
#cookie-notice .cn-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 36px;
    margin: 0 !important; padding: 7px 14px !important; box-sizing: border-box;
    border: 1px solid #ac753c !important; border-radius: 5px !important;
    color: #fff !important; background: #a96e38 !important;
    font: 500 12px/1.4 'Poppins', Arial, sans-serif !important; text-decoration: none;
}
#cookie-notice .cn-more-info { color: #5f442a !important; background: transparent !important; border-color: #d9c3a6 !important; }
#cookie-notice .cn-close-icon { top: 10px; right: 10px; margin: 0; transform: none; width: 20px; height: 20px; }
#cookie-notice .cn-close-icon::before,
#cookie-notice .cn-close-icon::after { background-color: #6f5841; }

/* The map must not paint over the contact details below it. */
#light_contact .lcontactmap { height: auto; overflow: hidden; }
#light_contact .lcontactmap iframe { display: block; width: 100%; max-width: 100%; }
.jasmine-map-address { font: 400 15px/1.7 'Poppins', Arial, sans-serif; margin: 0 0 18px; }
#light_contact .jasmine-map-address { padding: 14px 18px; margin: 0; background: #f5eee5; color: #30251e; }

@media (max-width: 1100px) and (min-width: 786px) {
    .headertop .top_head .jasmine-topbar { flex-wrap: wrap; gap: 8px; }
    .headertop .jasmine-topbar > .left_top { flex-basis: 100%; justify-content: space-between; }
    .headertop .jasmine-topbar > .right_top { margin-left: auto; }
}
@media (max-width: 785px) {
    .home header.headertop { position: absolute; background: transparent; }
    .home .headertop .menu_head { background: transparent; }
    .headertop .top_head { padding: 0; overflow: visible; }
    .headertop .top_head > .container { width: auto; margin: 0 16px; }
    .headertop .top_head .jasmine-topbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 10px 0 6px; border-bottom: 1px solid rgba(229, 196, 155, .18); }
    .headertop .jasmine-topbar > .left_top {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
        gap: 8px; width: 100%; padding: 0; margin: 0;
    }
    .headertop .jasmine-topbar .t-address { display: flex !important; }
    .headertop .jasmine-topbar .t-tel { display: flex !important; padding-top: 1px !important; }
    .headertop .jasmine-topbar .t-tel a { font-size: 12px; padding: 7px 0; }
    .headertop .jasmine-topbar .jasmine-street { margin-left: 7px; max-width: 100%; font-size: 10px; }
    .headertop .jasmine-topbar .jasmine-location-switcher__summary { min-height: 32px; padding-left: 0; padding-right: 0; gap: 5px; }
    .headertop .jasmine-topbar .jasmine-location-switcher__pin { width: 16px; height: 18px; }
    .headertop .jasmine-topbar .jasmine-location-switcher__current { white-space: normal; text-wrap: balance; }
    .headertop .jasmine-topbar > .right_top { display: flex; flex-wrap: wrap; width: 100%; gap: 8px; margin: 0; justify-content: flex-end; }
    .headertop .jasmine-topbar .right_top .book-m { margin-left: auto !important; }
    .headertop .jasmine-topbar .right_top .logoutw { display: none; }
    .headertop .menu_head { padding: 20px 0; }
    .headertop .menu_head > .container { min-height: 72px; }
    .headertop .menu_head .logo { width: 130px; height: auto !important; display: block; position: static; margin-left: 0; }
    .headertop .menu_head #menu { margin-top: 16px; }

    /* Content sets the height on phones. A long title cannot overlap its buttons. */
    #slider, #slider .slick-list, #slider .slick-track, #slider .slick-list .slick-track,
    #slider .slide { height: auto !important; min-height: 0; }
    #slider .container-inslide { position: relative; height: auto; min-height: 0; isolation: isolate; }
    #slider .container-inslide > img,
    #slider .container-inslide > video { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 100%; max-width: none; min-width: 100%; object-fit: cover; object-position: center; z-index: -2; }
    #slider .container-inslide::before { z-index: -1; }
    #slider .slide-in { position: relative; top: auto; left: auto; bottom: auto; right: auto; transform: none; width: 100%; margin: 0; box-sizing: border-box; padding: calc(var(--jasmine-header-height, 200px) + 32px) 24px 48px; z-index: 2; }
    #slider .upslide { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: #e5c49b; }
    #slider .slide-title { font-size: clamp(28px, 7vw, 36px); line-height: 1.24; margin: 0 0 22px; }
    #slider .slide-title span { display: block; font-size: .72em; line-height: 1.35; margin: 0 0 14px; }
    #slider .slide-title::after { display: none; }
    #slider .slide-in p { width: 100%; margin: 0 auto 24px; font-size: 14px; line-height: 1.75; }
    #slider .hero-booksy { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    #slider .hero-booksy > a,
    #slider .hero-booksy > select,
    #slider .hero-booksy > .choose-top { margin: 0; max-width: 100%; box-sizing: border-box; }
    #slider .hero-booksy > a { display: inline-flex; align-items: center; justify-content: center; line-height: 1.5; min-height: 44px; height: auto; padding: 12px 18px; }
    #slider .slick-arrow { display: none !important; }
    #slider .slick-dots { display: none !important; }

    #home-wybor { padding-top: 36px; padding-bottom: 28px; }
    #home-wybor .wybor-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    #home-wybor .wybor-content > .block-wybor { float: none; width: 100%; margin: 0; min-width: 0; }
    #home-wybor .wybor-content > .block-wybor:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; max-width: 340px; }
    #home-wybor .block-wybor h4 { margin-top: 12px; margin-bottom: 8px; }
    #home-wybor .block-wybor p { margin-bottom: 0; line-height: 1.65; }
    #home { padding-top: 28px; }
    #home #home-txt { margin-top: 0; }
    #home_vouchers { padding-top: 40px; padding-bottom: 44px; }
    #home_vouchers p { margin-bottom: 22px; }
    #home_vouchers .color-button { display: inline-block; margin-bottom: 0; }

    #light_contact .in_lcontact { display: flex; flex-direction: column; }
    #light_contact .in_lcontact > .col48 { float: none; width: 100%; height: auto; box-sizing: border-box; }
    #light_contact .lcontactmap iframe { height: 300px; }
    #light_contact .lcont_in { padding: 28px 20px; box-sizing: border-box; }
    #light_contact .lcont_in h4 { margin: 0 0 20px; line-height: 1.35; }
    #light_contact .lightCont li { overflow-wrap: anywhere; }
    #dark_contact .container .col5:first-child { display: block; }
    #dark_contact .coldark_left iframe { width: 100%; height: 300px; display: block; }
    #dark_contact .coldark_left { margin: 0 0 32px; }
    .cont-map iframe { max-width: 100%; height: 300px; display: block; }
    #foot1 .foot1-col.fc1, #foot1 .foot1-col.fc3 { display: block; }
    #foot1 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-bottom: 28px; }
    #foot1 .foot1-col { width: 100%; max-width: 100%; text-align: center; }
    #foot1 .foot1-col p { margin-bottom: 0; line-height: 1.7; }
    #foot2 { font: 400 14px/1.7 'Poppins', Arial, sans-serif; }
    #foot2 ul li { width: 100%; margin: 12px 0; }
    #foot2 .foot-mail, #foot2 a { font-size: 14px; overflow-wrap: anywhere; }
    #cookie-notice .cookie-notice-container { padding: 16px 32px 16px 16px; margin-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* Keep each shop icon inside its own link and beside the other shop control. */
.headertop .jasmine-topbar .right_top > .user_shop,
.headertop .jasmine-topbar .right_top > .cart_shop {
    flex: 0 0 36px; width: 36px; min-width: 36px; max-width: 36px;
    top: auto; right: auto; bottom: auto; left: auto; transform: none;
    align-self: center; justify-content: center;
}
.headertop .jasmine-topbar .right_top > .user_shop { margin-left: 8px !important; }
.headertop .jasmine-topbar .right_top .user_shop > .usicon,
.headertop .jasmine-topbar .right_top .cart_shop > .top_cart {
    display: flex; align-items: center; justify-content: center;
    position: relative; top: auto; right: auto; bottom: auto; left: auto;
    float: none; transform: none; width: 36px; height: 36px;
    min-width: 36px; min-height: 36px; box-sizing: border-box;
    padding: 0 !important; margin: 0 !important; line-height: 1;
    pointer-events: auto; cursor: pointer; z-index: 1;
}
.headertop .jasmine-topbar .right_top .usicon::before,
.headertop .jasmine-topbar .right_top .top_cart::before {
    display: block; position: static; top: auto; right: auto;
    bottom: auto; left: auto; margin: 0; padding: 0;
    transform: none; line-height: 1; vertical-align: baseline;
    pointer-events: none;
}
.headertop .jasmine-topbar .right_top .top_cart > span {
    top: 0; right: 0; line-height: 1; font-size: 11px; pointer-events: none;
}
@media (max-width: 785px) {
    .headertop .jasmine-topbar > .right_top { flex-wrap: nowrap; gap: 6px; }
    .headertop .jasmine-topbar .right_top > .inst,
    .headertop .jasmine-topbar .right_top > .face { flex: 0 0 22px; width: 22px; min-width: 22px; }
    .headertop .jasmine-topbar .right_top .inst a,
    .headertop .jasmine-topbar .right_top .face a { min-width: 22px; width: 22px; }
    .headertop .jasmine-topbar .right_top .book-m img { width: 72px; }
    .headertop .jasmine-topbar .right_top .drop-booksy { gap: 2px; }
    .headertop .jasmine-topbar .right_top > .lang_box { flex: 0 0 48px; width: 48px; min-width: 0; max-width: 48px; }
    .headertop .jasmine-topbar .right_top > .lang_box:empty { display: none; }
    .headertop .jasmine-topbar .right_top .lang_box select { width: 48px !important; min-width: 48px !important; max-width: 48px !important; }
}

@media (min-width: 786px) {
    .logged-in .headertop .jasmine-topbar .right_top > .user_shop { flex: 0 0 auto; width: auto; max-width: none; gap: 8px; }
}

/* Contact templates must not shrink the shared header containers. */
.headertop .top_head > .container,
.headertop .menu_head > .container { float: none; }

/* Keep each contact icon in one column and all details in the other. */
.contDark.jasmine-contact-details,
.lightCont.jasmine-contact-details {
    display: flex; flex-direction: column; gap: 20px;
    width: 100%; max-width: 480px; margin: 0 auto; padding: 0;
}
.jasmine-contact-details > li {
    display: grid; grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 14px; align-items: start; width: 100%;
    margin: 0; padding: 0; box-sizing: border-box; text-align: left;
    font: 400 18px/1.7 'Poppins', Arial, sans-serif;
}
.jasmine-contact-details > li::before {
    display: flex; align-items: center; justify-content: center;
    grid-column: 1; grid-row: 1; position: static;
    width: 28px; height: 30px; margin: 0; padding: 0;
    font-size: 26px; line-height: 1; vertical-align: baseline;
}
.jasmine-contact-details .jasmine-contact-value {
    grid-column: 2; grid-row: 1; min-width: 0; line-height: inherit;
    overflow-wrap: anywhere; text-align: left;
}
.jasmine-contact-details .jasmine-contact-value > span {
    display: block; margin: 0 0 3px; font-size: 12px; line-height: 1.5;
}
.jasmine-contact-details .jasmine-contact-value p { margin: 0; font: inherit; color: inherit; }
.jasmine-contact-details .jasmine-contact-value a { font: inherit; line-height: inherit; }
.jasmine-contact-details .jasmine-contact-value .maplink { margin: 6px 0 0; }

.jasmine-contact-maps { padding: 16px 0 0; }
.jasmine-contact-maps .jasmine-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jasmine-contact-maps .jasmine-map-card { min-width: 0; }
.jasmine-contact-maps h2 { font-size: 23px; line-height: 1.35; margin: 0 0 8px; }
.jasmine-contact-maps p { margin: 0 0 16px; font-size: 15px; }
.jasmine-contact-maps iframe { display: block; width: 100%; height: 340px; border: 0; }

@media (max-width: 785px) {
    .headertop .menu_head > .container {
        display: flex; align-items: center; justify-content: space-between;
        position: relative; gap: 16px;
    }
    .headertop .menu_head > .container > .col2,
    .headertop .menu_head > .container > .col3 {
        float: none; width: auto; flex: 0 0 auto;
    }
    .headertop .menu_head > .container > .col7,
    .headertop .menu_head > .container > .col8 {
        float: none; width: auto; min-width: 0; flex: 1 1 auto;
    }
    .headertop .menu_head .logo { margin: 0; position: static; }
    .headertop .menu_head #menu { display: flex; align-items: center; justify-content: flex-end; margin-top: 0; }
    .headertop .menu_head .menu-toggle { margin: 0; float: none; }
    .headertop .menu_head #menu > #pull { position: relative; top: auto; right: auto; width: 36px; height: 36px; }
    .headertop .menu_head #menu > #pull::after { display: block; position: static; font-size: 36px; line-height: 1; }

    #slider .upslide { margin-bottom: 26px; font-size: 14px; line-height: 1.6; }
    #slider .slide-title { font-size: clamp(29px, 7.4vw, 37px); line-height: 1.28; }
    #slider .slide-title span { font-size: 1em; line-height: inherit; margin-bottom: 12px; }

    .jasmine-contact-details > li { font-size: 16px; column-gap: 12px; }
    .jasmine-contact-details > li::before { font-size: 24px; height: 28px; }
    .jasmine-contact-maps .jasmine-map-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .jasmine-contact-maps iframe { height: 300px; }
}

/* Compact the mobile hero copy while preserving its current type sizes. */
@media (max-width: 785px) {
    #slider .upslide { margin-bottom: 14px; }
    #slider .slide-title { margin-bottom: 16px; }
    #slider .slide-title span { margin-bottom: 4px; }
    #slider .slide-in p { margin-bottom: 18px; }
}

/* Screenshot corrections 222: footer components retain their original links. */
#foot-social > ul { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 0; }
#foot-social > ul > li { display: flex; align-items: center; margin: 0; padding: 0; }
#foot-social > ul > li > a { display: flex; align-items: center; justify-content: center; }
#foot-social .logoprezent { position: static; left: auto; top: auto; }
#foot-social .logoprezent::before { position: static; margin: 0; }
#foot-social .foot-face::before, #foot-social .foot-inst::before { display: block; line-height: 1; }
#foot1 address, #foot1 address p, #foot1 .foot1-col p { font-size: 16px; line-height: 1.65; }
#foot3 ul li a, #foot3 .vouch-reg a { font-size: 15px; line-height: 1.65; }
@media (max-width: 785px) {
    #foot2 .foot-mail, #foot2 .foot-tel, #foot2 .foot-time,
    #foot2 .foot-mail a, #foot2 .foot-tel a, #foot2 .foot-time a { font-size: 17px; }
}

/* Matching map/contact panels: readable heading and a white contact surface. */
#light_contact .in_lcontact > .cont_color { background-color: #fbf9f7; }
#light_contact .in_lcontact .lcont_in { box-sizing: border-box; width: 100%; padding: 36px 28px; text-align: left; }
#light_contact .in_lcontact .lcont_in > h4 { font-family: 'DM Serif Display', Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.3; letter-spacing: 0; margin: 0 0 26px; text-align: left; overflow-wrap: normal; text-wrap: balance; }
#light_contact .lcont_in > h4 > .jasmine-contact-location { display: block; margin-top: 10px; font: 500 16px/1.5 'Poppins', Arial, sans-serif; color: #786148; }
#light_contact .in_lcontact .lcont_in > .maplink { display: table; margin: 20px auto 0; }
@media (max-width: 785px) {
    #light_contact .in_lcontact .lcont_in { padding: 28px 20px; }
    #light_contact .in_lcontact .lcont_in > h4 { font-size: 24px; margin-bottom: 24px; }
    #light_contact .lcont_in > h4 > .jasmine-contact-location { font-size: 15px; margin-top: 8px; }
}
