/*
Theme Name: Thai Online Theme
Theme URI: https://thai-online.org
Author: Thai Online
Description: Original Thai Online visual layer with WordPress-managed content.
Version: 4.4.58
Text Domain: thai-online-theme
*/


@font-face{
    font-family:'Flaticon';
    src:url('/fonts/Flaticon.eot');
    src:url('/fonts/Flaticon.eot?#iefix') format('embedded-opentype'),
        url('/fonts/Flaticon.woff') format('woff'),
        url('/fonts/Flaticon.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:block;
}
.flaticon-phone-call:before,
.flaticon-envelope:before,
.flaticon-customer-service:before,
.flaticon-avatar:before{
    font-family:'Flaticon';
    font-style:normal;
    font-weight:400;
    font-size:18px;
    margin-left:0;
}
.flaticon-phone-call:before{content:'\f1a5'}
.flaticon-envelope:before{content:'\f166'}
.flaticon-customer-service:before{content:'\f156'}
.flaticon-avatar:before{content:'\f10a'}

@font-face{font-family:'FontAwesome';src:url('/css/fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('/css/fonts/fontawesome-webfont.woff?v=4.3.0') format('woff');font-weight:normal;font-style:normal;font-display:block}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;text-rendering:auto;-webkit-font-smoothing:antialiased}.fa-phone:before{content:'\f095'}.fa-envelope:before{content:'\f0e0'}.fa-user:before{content:'\f007'}.fa-language:before{content:'\f1ab'}.fa-search:before{content:'\f002'}.fa-eye:before{content:'\f06e'}.fa-cart-arrow-down:before{content:'\f218'}.fa-globe:before{content:'\f0ac'}.fa-car:before{content:'\f1b9'}.fa-camera:before{content:'\f030'}.fa-list-alt:before{content:'\f022'}.fa-comments:before{content:'\f086'}.fa-book:before{content:'\f02d'}.fa-info-circle:before{content:'\f05a'}.fa-chevron-circle-right:before{content:'\f138'}.fa-facebook:before{content:'\f09a'}.fa-instagram:before{content:'\f16d'}.fa-youtube-play:before{content:'\f16a'}.fa-mobile:before{content:'\f10b'}.fa-calendar:before{content:'\f073'}.fa-shield:before{content:'\f132'}.fa-money:before{content:'\f0d6'}
body{margin:0;background-color:#fff}
body.lazyload.replacex{background-image:url('/img/bgx.webp')!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:50% 50%!important;background-attachment:fixed!important}
.top-wp-runtime{min-height:360px}.admin-bar .header{margin-top:32px}#preloader{transition:opacity .2s ease}.thai-preloader-hidden{opacity:0!important;pointer-events:none!important;visibility:hidden!important}.videox{background-image:url('/img/bgmain.webp')!important;background-position:center!important;background-size:cover!important}.thai-vk{font-family:Arial,sans-serif!important;font-weight:700;font-size:13px}.searchSbmFl{cursor:pointer}

/* uCoz product tile compatibility */
.product-url{display:block;position:relative;background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;overflow:hidden}.product-url .sml-img{position:relative}.product-url .sml-meta{position:absolute;left:0;right:0;bottom:0}.product-url .sml-price{position:relative;z-index:2}.buy-it-now .flaticon-search:before{content:'\f002';font-family:'FontAwesome'}.wish:before{content:'\f005';font-family:'FontAwesome'}

/* Shop/all keeps the original content width and layout instead of generic plugin cards */
.thai-shop-page{width:100%}.thai-shop-page .content-view{width:100%}.thai-shop-page .topbar{margin-bottom:20px}.thai-shop-page .shop-sort-selector{text-align:center;margin:25px 0 18px}.thai-shop-page #slider-range{max-width:50%;margin:0 auto 20px}.thai-shop-page .flist{display:block;text-align:center;margin-bottom:25px}.thai-shop-page .flist-item{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:center}.thai-shop-page .price_filter{width:110px;padding:8px}.thai-filter-reset{display:inline-block;padding:8px 12px;text-decoration:none}.shop-page-wrap{text-align:center;padding:25px 0}.shop-page-wrap .page-numbers{display:inline-block;margin:0 3px;padding:5px 9px}
body.thai-module-shop_all .thai-shop-page{margin-top:-27px!important}

.goods-tab>ul{list-style:none}.goods-tab>.tab-body{width:100%}.category-main{clear:both}.category-main>h2{text-align:center!important}.whywe{clear:both}.thai-home-reviews{clear:both;padding-top:30px}.thai-home-reviews #allEntries>div{width:75%;float:none;background:#fafafa;color:#424242;padding:20px;border-radius:15px;box-shadow:0 1px 4px -1px #9a9fad;margin:0 auto 20px}.thai-home-seo{margin-top:78.75px!important}
.thai-photo-detail #adv.thai-visual-shell-fixed{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100vw!important;margin:0!important;z-index:1000!important}

@media(max-width:834px){body.thai-module-shop_all .thai-shop-page{margin-top:0!important}}
@media(max-width:782px){.admin-bar .header{margin-top:46px}}
@media(max-width:760px){
    #navigation .uMenuRoot{display:none}
    #navigation.top-menu-open #uNMenuDiv1,
    #navigation.active-mobile #uNMenuDiv1{display:block!important}
    #navigation.top-menu-open .uMenuRoot,
    #navigation.active-mobile .uMenuRoot{display:block}
    #navigation .sub-menu,
    #navigation .subM{position:static!important;width:auto!important}
    #mobile-navigation-button:focus-visible,
    #navigation .uMenuRoot a:focus-visible{outline:2px solid #fff;outline-offset:2px}
    .thai-shop-page .flist-item{display:flex}
    .thai-home-reviews #allEntries>div{width:90%}
}
@media(min-width:761px){
    #navigation>.width>#uNMenuDiv1{display:block!important}
    #navigation>.width>#mobile-navigation-button{display:none!important}
}


/* Legacy single-product parity */
.thai-product-hero .bread a,
.thai-product-hero .bread span{color:#fff}
.thai-legacy-order-block .button-container{position:relative}
.thai-legacy-order-block .basket.now,
.thai-legacy-order-block .altorder{
    display:none;
    width:100%;
    box-sizing:border-box;
    color:#fff;
    text-align:center;
    border-radius:0 0 20px 20px;
    margin:0 0 -24px;
    font-size:14pt;
    line-height:26.1333px;
    cursor:pointer;
    box-shadow:0 3px 2px 2px #860d0d;
    background:#cc1818;
    padding:16px 40px;
    border-bottom:3px solid transparent;
    border-top:2px solid #cc1818;
    text-decoration:none;
}
.thai-legacy-order-block .altorder:hover,
.thai-legacy-order-block .basket.now:hover{color:#fff}
.thai-legacy-order-block .thai-order-method-icon{width:20px;height:20px;margin-right:8px;vertical-align:middle}
.thai-legacy-order-block .type-select{
    display:none;
    position:absolute;
    inset:0;
    background:#cc1818;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    width:100%;
    height:100%;
    box-sizing:border-box;
}
.thai-legacy-order-block .button-container:hover .type-select.visible{display:flex}
.thai-legacy-order-block .type-select.hidden{display:none!important}
.thai-legacy-order-block .type-select select{
    font-size:14pt;
    padding:10px;
    border-radius:5px;
}
.thai-person-pricing .form-group{
    width:170px;
    margin:auto;
}
.thai-legacy-reviews{
    clear:both;
    padding-top:0;
}

@media(max-width:1024px){
    .thai-legacy-order-block{width:100%!important}
}
@media(max-width:834px){
    #navigation{margin-top:-2px!important}
    #topsearch{left:31%!important;margin-top:15px!important;margin-bottom:0!important}
    #topsearch .searchForm{padding-top:0!important}
    .thai-product-hero .infoBl .colIco.left{width:calc(25% - 1px)!important}
    .thai-product-hero .infoBl .colIco.right{width:calc(100% - 1px)!important}
}
@media(max-width:500px){
    #topsearch{left:0!important}
    .thai-legacy-reviews #acform{min-height:0}
    .thai-comment-form .uf-form li:last-child{margin-bottom:0}
}


/* Product page additions that replace dead uCoz backend widgets without changing the legacy layout. */
.thai-legacy-reviews #acform{
    background:#fafafa;
    border:1px solid #cecece;
    padding:2%;
    margin:0;
    min-height:230.375px;
    box-sizing:border-box;
}
.thai-comment-form .uForm.uComForm{
    width:100%;
    height:178.375px;
    margin:10px 0;
    padding:0;
}
.thai-comment-form .uauth-small-links{
    height:52.390625px;
    margin:0 0 10px 60px;
    padding:0;
}
.thai-comment-form .login-with.local{
    display:block;
    position:relative;
    color:#2269b0;
    width:30px;
    height:30px;
    margin:0;
    padding:0;
}
.thai-comment-form .login-with.local i{
    display:block;
    width:30px;
    height:30px;
    background:#fff;
}
.thai-comment-form .uComForm-inner{
    width:100%;
    height:115.984375px;
    margin:0;
    padding:0;
}
.thai-comment-form .ucf-avatar{
    display:block;
    float:left;
    width:50px;
    height:50px;
    margin:0;
    padding:0;
}
.thai-comment-form .ucf-avatar img{
    display:inline;
    width:50px;
    height:50px;
    margin:0;
    padding:0;
}
.thai-comment-form .ucf-content{
    position:relative;
    height:115.984375px;
    margin:0 0 0 60px;
    padding:0;
}
.thai-comment-form .uf-form{
    width:100%;
    height:115.984375px;
    margin:0;
    padding:0;
    list-style:none;
}
.thai-comment-form .uf-form li{
    margin:0 0 10px;
    padding:0;
    list-style:none;
}
.thai-comment-form .uf-txt-input{
    display:inline-block;
    width:100%;
    height:50px;
    margin:0;
    padding:6px 10px;
    border:1px solid #d6d6d6;
    background:#fff;
    color:#848484;
    font:12px/20px arial;
    box-sizing:border-box;
}
.thai-comment-form .uf-btn{
    display:inline-block;
    margin:0;
    padding:14px 20px;
    border:1px solid #bfbfbf;
    background:#efefef;
    color:#000;
    font:14px/19.6px arial;
    cursor:pointer;
}
.thai-share-legacy{height:78px;position:relative;text-align:center;width:100%}
.thai-share-legacy .sharetxt{width:100%;height:54px;line-height:54px;margin-right:20px}
.thai-share-icons{
    position:absolute;left:0;right:0;top:54px;height:24px;
    display:flex;gap:4px;justify-content:center;margin:0
}
.thai-share-icons a{
    width:24px;height:24px;min-width:24px;padding:0;
    display:inline-flex;align-items:center;justify-content:center;
    font:10px/1 Arial,sans-serif;color:#fff!important;
    background:#2578c3;text-decoration:none;border-radius:2px;
}
.thai-share-icons a:nth-child(2){background:#f7931e}
.thai-share-icons a:nth-child(3){background:#229ed9}
.thai-share-icons a:nth-child(4){background:#25d366}
.thai-legacy-reviews .uComment{margin:15px 0!important}
.thai-legacy-reviews .cDate{float:right;color:#888;font-size:12px}
.thai-legacy-reviews .cMessage{margin-top:8px}
.thai-product-hero .infoBl .colIco{box-sizing:border-box}
/* Exact inline rules present on the original uCoz product page. */
#dscr h2{
    font-size:20px;
    font-weight:500;
    padding:0 0 0 29px;
    text-shadow:1px 1px 2px silver;
    background-image:url('/img/icons/thaflag1.png');
    background-size:25px;
    background-repeat:no-repeat;
    background-position-y:top;
}
#dscr h3{
    font-size:18px;
    font-weight:500;
    padding:0 0 0 27px;
    text-shadow:1px 1px 2px silver;
    background-image:url('/img/icons/thaflag1.png');
    background-size:23px;
    background-repeat:no-repeat;
    background-position-y:top;
}
#dscr .slideout{display:none}
.thai-legacy-order-block .basket.now{display:none}



/* Final narrow-screen parity: keep the uCoz comment form at its natural mobile height. */
@media(max-width:500px){
    .thai-legacy-reviews #acform{min-height:0}
    .thai-comment-form .uf-form li:last-child{margin-bottom:0}
}


@media(max-width:500px){
    .thai-share-legacy{height:83px}
}

/* Published review layout from the original comment stylesheet. */
.thai-legacy-reviews .uc-avatar{float:left;width:50px}
.thai-legacy-reviews .uc-avatar img{vertical-align:middle;width:50px;border-radius:4px}
.thai-legacy-reviews .uc-content{margin:0 0 0 65px}
.thai-legacy-reviews .uc-top img{vertical-align:middle}
.thai-legacy-reviews .uc-top-right{float:right;white-space:nowrap}
.thai-legacy-reviews .uc-top-left a,.thai-legacy-reviews .uc-top-left img,.thai-legacy-reviews .uc-top-left span{vertical-align:middle}
.thai-legacy-reviews .uc-message{margin:8px 0;padding:0}
.thai-legacy-reviews .uc-answer-link{margin:5px 0 0;text-align:right;font-size:8pt}
.thai-legacy-reviews .uc-opacity{opacity:.6;filter:alpha(opacity = 60)}
.thai-legacy-reviews .uComment:after,.thai-legacy-reviews .uComment:before{content:" ";display:table}
.thai-legacy-reviews .uComment:after{clear:both}
.thai-legacy-reviews .report-spam-wrap{display:none}

.thai-product-hero .infoBl .colIco .txt{padding-left:0}
.thai-product-page .thai-booking-form{text-align:center}.thai-booking-form input:not([type=checkbox]),.thai-booking-form textarea{max-width:95%;box-sizing:border-box}

.thai-product-page #order-form{height:335px;overflow:hidden}.thai-product-page #order-form:focus-within{height:auto;overflow:visible}
@media(hover:hover){.thai-product-page #order-form:hover{height:auto;overflow:visible}}

.thai-product-page #tabContainer .tabContent img,
.thai-product-page #dscr .tabs .tab img{
    max-width:100%!important;
    height:auto!important;
    box-sizing:border-box!important;
}

.thai-checkout-page #cont-shop-checkout{max-width:820px;margin:0 auto 40px}
.thai-checkout-page .thai-checkout-product,.thai-checkout-page .thai-checkout-form{box-sizing:border-box;margin:0 0 20px;padding:20px;background:#fafafa;border:1px solid #cecece}
.thai-checkout-page .thai-checkout-empty{text-align:center;padding:30px 10px}

.thai-table-dialog{border:0;padding:16px;max-width:94vw;box-sizing:border-box;max-height:90vh}.thai-table-dialog::backdrop{background:#0009}.thai-table-dialog>button{display:block;margin:0 0 12px auto}.thai-table-scroll{overflow:auto;max-height:75vh}.thai-table-scroll table{display:table!important;min-width:420px;max-width:none}.thai-table-open{cursor:pointer}
@media(min-width:768px){.thai-table-open{display:none!important}}

.thai-product-page .transport .form-group{width:170px;margin:auto}

/* Restored single-product interactions. */
.body-overflow{overflow:hidden!important}
.thai-product-page .slideout-sidebar{visibility:visible}
.thai-gallery-open{border:1px solid #0094fe;background:#fff;color:#0094fe;cursor:pointer;border-radius:10px;padding:0 21px;line-height:43px;font-size:16px}
.thai-gallery-open:hover{background:#0094fe;color:#fff}
.thai-found-cheaper-dialog{border:0;border-radius:10px;padding:28px 26px 24px;width:min(450px,calc(100vw - 32px));box-sizing:border-box;box-shadow:0 8px 40px rgba(0,0,0,.35)}
.thai-found-cheaper-dialog::backdrop{background:rgba(0,0,0,.62)}
.thai-found-cheaper-dialog h2{margin:0 35px 18px 0;color:#424242;text-align:center}
.thai-found-cheaper-dialog form{display:flex;flex-direction:column;gap:10px}
.thai-found-cheaper-dialog input{width:100%;box-sizing:border-box;padding:10px}
.thai-found-cheaper-dialog form button{display:block;margin:8px auto 0;padding:10px 24px}
.thai-dialog-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#555}
.thai-cheaper-success{margin-top:8px;color:#147d34;font-size:14px}


/* Preserve legacy product-card overlay geometry.
 * The imported catalog CSS expects the product link to stay out of positioning flow
 * and both price badges to remain absolute overlays. */
.goods-list .list-item .product-url,
.mnp-slider .list-item .product-url,
.shop-main-list .list-item .product-url {
  position: static !important;
  overflow: visible !important;
}
.goods-list .list-item .product-url .sml-price,
.mnp-slider .list-item .product-url .sml-price,
.shop-main-list .list-item .product-url .sml-price {
  position: absolute !important;
}


/* Product gallery/action controls: keep the legacy controls aligned and responsive. */
.thai-product-page .slideout-sidebar,
.thai-product-page .menu-icon {
  transition-delay: 0s !important;
}
.thai-product-page .thai-product-main-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.thai-product-page .thai-product-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  clear: both;
  margin-top: 12px;
}
.thai-product-page .thai-product-actions .photobuttonhidden,
.thai-product-page .thai-product-actions .thai-product-review-action,
.thai-product-page .thai-product-actions .contact-wrap {
  float: none;
  margin: 0;
}
.thai-product-page .thai-product-actions .feedback {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  box-sizing: border-box;
  white-space: nowrap;
}
.thai-product-page .thai-product-actions .contact-wrap {
  display: flex;
  justify-content: flex-start;
}
.thai-product-page .thai-product-actions .btn {
  margin-top: 0;
  box-sizing: border-box;
  white-space: nowrap;
}
.thai-product-page .thai-product-gallery-link-wrap {
  display: flex;
  justify-content: center;
  clear: both;
  min-height: 60px;
  padding-top: 8px;
}
.thai-product-page .thai-product-gallery-link-wrap .gall-icon {
  float: none;
  margin: 0;
  display: block;
}
@media (max-width: 600px) {
  .thai-product-page .thai-product-actions {
    flex-direction: column;
    gap: 8px;
  }
  .thai-product-page .thai-product-actions .feedback,
  .thai-product-page .thai-product-actions .contact-wrap,
  .thai-product-page .thai-product-actions .contact {
    width: 100%;
  }
  .thai-product-page .thai-product-actions .contact-wrap {
    flex-wrap: nowrap;
  }
  .thai-product-page .thai-product-actions .contact {
    flex: 1 1 auto;
  }
}
/* Managed product galleries keep the migrated sidebar as an exact fallback,
   but suppress it while an explicit WordPress-managed gallery is active. */
.thai-product-page .slideout-sidebar.thai-legacy-gallery-suppressed{display:none!important}

/* Final desktop navigation parity with the legacy uCoz menu. */
@media (min-width:761px){
  #navigation .uMenuRoot>li.uWithSubmenu>a:after{
    content:none!important;
    margin-left:0!important;
  }
  #navigation .uMenuRoot>li>ul.subM{
    box-sizing:border-box!important;
    width:320px!important;
    left:0!important;
    right:auto!important;
    top:50px!important;
    padding:10px 10px 10px 20px!important;
    margin-top:-1px!important;
    background:#ff832a!important;
    border:1px solid #fff!important;
    border-radius:0 0 10px 10px!important;
  }
  #navigation .uMenuRoot>li>ul.subM>li{
    display:list-item!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    font-size:10.6667px!important;
    line-height:14.9333px!important;
    text-align:left!important;
  }
  #navigation .uMenuRoot>li>ul.subM>li>a,
  #navigation .uMenuRoot>li>ul.subM>li>a:hover,
  #navigation .uMenuRoot>li>ul.subM>li>a.uMenuItemA{
    display:inline-block!important;
    box-sizing:border-box!important;
    width:100%!important;
    height:32px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
    font-size:10.6667px!important;
    line-height:32px!important;
    text-align:left!important;
  }
  #navigation .uMenuRoot>li>ul.subM>li>a:hover{color:#000!important}
}

/* The standalone round album shortcut was not present on the legacy product page.
   Album access remains available through “Смотреть фото” and from inside the drawer. */
.thai-product-page .thai-product-gallery-link-wrap{display:none!important}
/* The product wrapper must not trap the legacy drawer below the sticky menu. */
body.thai-module-shop_single #land-full.top-wp-runtime{z-index:auto}
.thai-legacy-order-block .tourVarS .form-group{width:170px;max-width:100%;margin:0 auto}

/* Checkout fields have visible labels and a responsive two-column layout. */
.thai-checkout-page .thai-checkout-product,
.thai-checkout-page .thai-checkout-form{margin-top:0!important}
.thai-checkout-page .thai-checkout-product h2{margin-top:0}
.thai-checkout-page .thai-checkout-form .thai-booking-form{margin:0}
.thai-checkout-page .thai-booking-fields{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;
}
.thai-checkout-page .thai-booking-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.thai-checkout-page .thai-booking-wide{grid-column:1/-1}
.thai-checkout-page .thai-booking-field input,
.thai-checkout-page .thai-booking-field select,
.thai-checkout-page .thai-booking-field textarea{
    box-sizing:border-box;width:100%;max-width:100%;min-width:0;
    margin:0;border-radius:6px;padding:10px 12px;font-size:16px;
}
.thai-checkout-page .thai-booking-field textarea{min-height:130px;resize:vertical}
.thai-checkout-page .thai-booking-field small{font-size:13px;color:#666}
.thai-checkout-page .thai-booking-policy{display:flex;align-items:flex-start;gap:8px;margin:20px 0}
.thai-checkout-page .thai-booking-policy input{flex:0 0 auto;width:auto;margin:4px 0 0}
.thai-checkout-page .thai-booking-submit{box-sizing:border-box;width:100%;margin:0}
@media(max-width:600px){
    .thai-checkout-page .thai-booking-fields{grid-template-columns:minmax(0,1fr)}
    .thai-checkout-page .thai-checkout-form,
    .thai-checkout-page .thai-checkout-product{padding:16px}
}
