/* Teremok Premium 1.0. Additive skin: keep legacy layout and JS hooks. */
:root{--tm-ink:#123d38;--tm-teal:#00584f;--tm-teal-dark:#003e38;--tm-gold:#efb532;--tm-line:#dce5df;--tm-muted:#536960;--tm-paper:#fffefa;--tm-soft:#edf4ee;--tm-shadow:0 3px 8px #133d3810,0 12px 24px #133d3806}
body.teremok-premium{background:#f8f8f3 url('../images/premium-wave.svg') center 105px/100% 400px no-repeat;color:var(--tm-ink);font-size:15px;line-height:1.5}
.teremok-premium h1,.teremok-premium h2,.teremok-premium .title-name{font-family:roboto-bold,Arial,sans-serif;letter-spacing:-.5px}
.teremok-premium h1{font-size:30px;line-height:1.2;margin-bottom:22px}
.teremok-premium #main>.container>.text-center{padding:22px 0 12px}
.teremok-premium #main>.container>.text-center h1{font-size:38px;text-transform:none;margin:10px 0}
.teremok-premium #main>.container>.text-center p{text-transform:none;font-size:18px;color:var(--tm-muted)}
.teremok-premium a{color:var(--tm-teal)}
.teremok-premium a:hover{color:#8a5c08}
.teremok-premium .c-7,.teremok-premium .c-a{color:var(--tm-muted)}
.teremok-premium .header{background:var(--tm-paper);box-shadow:0 4px 20px #163c3808}
.teremok-premium .header-top{padding:10px 0;border-color:var(--tm-line)}
.teremok-premium .header-bottom{padding:10px 0;border-color:var(--tm-line)}
.teremok-premium .logo-icon img{width:58px;height:58px;object-fit:contain;border-radius:50%;box-shadow:0 2px 6px #123d3820}
.teremok-premium .logo-text{font-size:19px;letter-spacing:-.3px}
.teremok-premium .footer-logo img{width:48px;height:48px;object-fit:contain;border-radius:50%;padding:0;margin-right:10px}
.teremok-premium .btn{border-radius:10px;padding:9px 17px;font-family:roboto-medium,Arial,sans-serif;line-height:1.35;transition:background-color .15s,box-shadow .15s,border-color .15s;box-shadow:0 3px 5px #123d3818,inset 0 1px 0 #ffffff70;white-space:normal}
.teremok-premium .btn-primary,.teremok-premium .btn-success,.teremok-premium .btn-info{color:#fff;background:linear-gradient(#136b60,#004a43);border:1px solid #00453d}
.teremok-premium .btn-primary:hover,.teremok-premium .btn-success:hover,.teremok-premium .btn-info:hover{color:#fff;background:#003d36;box-shadow:0 5px 12px #004a4330}
.teremok-premium .btn-warning,.teremok-premium .btn-add,.teremok-premium .btn-phone,.teremok-premium .btn100{color:#26321d;background:linear-gradient(#ffdb79,#efb532);border:1px solid #d29a20;text-shadow:none}
.teremok-premium .btn-warning:hover,.teremok-premium .btn-add:hover,.teremok-premium .btn-phone:hover,.teremok-premium .btn100:hover{color:#172c23;background:#f5c655;box-shadow:0 5px 12px #a9772430}
.teremok-premium .btn-default{background-color:#fffefa;border:1px solid #bfcfc5;color:var(--tm-ink)}
.teremok-premium .btn-default:hover{background-color:#e8f2e9;border-color:#4a8b7d}
.teremok-premium .btn-danger{background:#a62d33;color:#fff;border-color:#8f262a}
.teremok-premium .btn-link{background:none;box-shadow:none;border-color:transparent}
.teremok-premium .btn.disabled,.teremok-premium .btn[disabled]{opacity:.5;box-shadow:none;cursor:not-allowed}
.teremok-premium .btn:active{box-shadow:inset 0 2px 5px #123d3830}
.teremok-premium a:focus-visible,.teremok-premium button:focus-visible,.teremok-premium [tabindex]:focus-visible{outline:3px solid #b67c13;outline-offset:3px}
.teremok-premium .btn-group>.btn{border-radius:0}
.teremok-premium .btn-group>.btn:first-child{border-radius:9px 0 0 9px}
.teremok-premium .btn-group>.btn:last-child{border-radius:0 9px 9px 0}
.teremok-premium .form-control,.teremok-premium select:not(.select2-hidden-accessible),.teremok-premium input[type=text],.teremok-premium input[type=search],.teremok-premium input[type=email],.teremok-premium input[type=password],.teremok-premium input[type=tel],.teremok-premium input[type=number],.teremok-premium input[type=url],.teremok-premium textarea{color:#203d35;background-color:#fff;border:1px solid #b8cabe;border-radius:9px;box-shadow:inset 0 2px 4px #173f3812;min-height:40px}
.teremok-premium .form-control:focus,.teremok-premium input:focus,.teremok-premium textarea:focus,.teremok-premium select:focus{border-color:#277c6c;outline:2px solid #277c6c35;outline-offset:1px}
.teremok-premium input::placeholder,.teremok-premium textarea::placeholder{color:#64756e;opacity:1}
.teremok-premium .has-error .form-control,.teremok-premium input.error{border-color:#b02b32}
.teremok-premium .form-control[disabled],.teremok-premium .form-control[readonly]{background:#eef1ed}
.teremok-premium .search-form{padding:5px;background:#eaf1eb;border:1px solid var(--tm-line);border-radius:12px;width:320px}
.teremok-premium .search-form input{border-radius:7px 0 0 7px;height:40px;padding-left:12px}
.teremok-premium .btn-search{height:40px;width:47px;border-radius:0 7px 7px 0;background:#efb532 url('../images/ic-search.svg') center/18px no-repeat;border:1px solid #cf9b25}
.teremok-premium .header-menu .btn-nav,.teremok-premium .header-menu .btn-shop,.teremok-premium .header-menu .btn-user,.teremok-premium .header-menu .btn-notepad,.teremok-premium .header-menu .btn-chat{margin-right:17px}
.teremok-premium .dropdown-menu,.teremok-premium .modal-content,.teremok-premium .select2-dropdown{border:1px solid var(--tm-line);border-radius:13px;box-shadow:0 12px 35px #123d3826}
.teremok-premium .modal-header{background-color:#edf4ee;border-radius:13px 13px 0 0}
.teremok-premium .close{box-shadow:none}
.teremok-premium .bl-center.bl-pad{border:1px solid var(--tm-line);border-radius:16px;background:var(--tm-paper);padding:22px}
.teremok-premium .title-name{font-size:27px;margin:12px 0 16px}
.teremok-premium .categories{margin-top:8px}
.teremok-premium .categories-item a{display:flex;align-items:center;min-height:86px;padding:12px 30px 12px 12px;white-space:normal;line-height:1.25;font-family:roboto-medium,Arial,sans-serif;font-size:16px;color:#153f36;background:linear-gradient(135deg,#fff,#fffdf7);border:1px solid #e0e4d9;border-radius:13px;box-shadow:var(--tm-shadow)}
.teremok-premium .categories-item a:hover{background:#edf4e9;border-color:#6f9b86;box-shadow:0 5px 14px #163e381b}
.teremok-premium .img-circ{flex:0 0 67px;padding-right:10px}
.teremok-premium .img-circ img{width:57px;height:57px;object-fit:contain}
.teremok-premium .count-tree{font-size:10px;top:auto;bottom:6px;right:8px;height:auto;background:none;color:#61776b}
.teremok-premium .tree-l,.teremok-premium .tree2-l{background:#fff;border:1px solid var(--tm-line);border-radius:10px;box-shadow:var(--tm-shadow);padding:10px 35px 10px 12px;white-space:normal}
.teremok-premium .tree-l:before,.teremok-premium .tree2-l:before{display:none}
.teremok-premium .tree-l>a,.teremok-premium .tree2-l>a{display:block;background:none;font-family:roboto-medium,Arial,sans-serif}
.teremok-premium .count-tree1{right:9px;top:12px;background:none;font-size:11px}
.teremok-premium .imgcat{width:66px;height:66px;object-fit:contain;margin:0 14px 14px 0}
.teremok-premium .section-services{border:1px solid #dce5d6;border-radius:17px;background:#eff3e7 url('../images/premium-services.png') right top/auto 285px no-repeat;box-shadow:var(--tm-shadow);margin:22px 12px 30px 0}
.teremok-premium .section-services-present{padding:24px 46% 24px 28px;min-height:245px}
.teremok-premium .section-services-present-headline{font-size:29px;border:none;text-transform:none;font-family:roboto-bold,Arial,sans-serif}
.teremok-premium .section-services-present-t1{font-size:16px;padding:10px 0;line-height:1.45}
.teremok-premium .section-services-present-t2{font-size:14px}
.teremok-premium .section-services-present-button{font-size:14px;margin-top:14px}
.teremok-premium .section-services-present-button a{margin:6px 0 0 8px;padding:9px 14px}
.teremok-premium .section-services-item{background:#fffefaeb;border-top:1px solid #d6e0d3;border-radius:0 0 17px 17px;margin:0;padding:18px 20px;font-size:12px}
.teremok-premium .section-services-item-bl{padding:0 12px;line-height:1.5}
.teremok-premium .section-services-item-bl .s18{font-size:16px}
.teremok-premium .list_message_block>div{padding:0;border:1px solid #dde3d8;border-radius:15px;box-shadow:var(--tm-shadow);background:var(--tm-paper)}
.teremok-premium .list_message_block>div:hover{box-shadow:0 6px 18px #123d3820;border-color:#9cb8a5}
.teremok-premium .message_block_imag{border-radius:14px 14px 0 0}
.teremok-premium .message_block_tit{padding:0 14px 15px;min-height:114px}
.teremok-premium .message_block_tit h3{white-space:normal;line-height:1.35;margin:12px 0 7px;min-height:42px}
.teremok-premium .message_block_tit h3 a{font-family:roboto-medium,Arial,sans-serif;font-size:16px;color:#16372f}
.teremok-premium .message_block_tit>.sp-now{white-space:normal;overflow:visible}
.teremok-premium .message_block_tit>.sp-now>.s15{font-size:21px;font-family:roboto-bold,Arial,sans-serif;line-height:1.3;color:#103c33;display:block;overflow-wrap:anywhere}
.teremok-premium .message_block_tit .reg_cat{display:block;float:none;font-size:12px;margin-top:7px}
.teremok-premium .notepad-fav{right:9px;top:9px;background:#fffdf6;border:1px solid #d8dfd1;border-radius:50%;padding:6px;box-shadow:0 2px 7px #153b3825}
.teremok-premium .marked,.teremok-premium .list_message_block .marked,.teremok-premium .offer-price .marked{background-color:#fff2bf;border-radius:6px}
.teremok-premium .offerlist .cl-line{display:none}
.teremok-premium .offerlist .offer{margin:0 0 14px;border:1px solid var(--tm-line);border-radius:14px;background:var(--tm-paper);box-shadow:var(--tm-shadow);padding:0;width:100%;table-layout:fixed}
.teremok-premium .offerlist .offer.marked{background:#fff8dc;border-color:#dfc678}
.teremok-premium .offerlist .offer-photo{width:26%;border-radius:13px 0 0 13px}
.teremok-premium .offerlist .offer-title{width:49%;padding:12px 16px}
.teremok-premium .offerlist .offer-title h3{margin:0 0 8px;line-height:1.3;font-size:20px;overflow-wrap:anywhere}
.teremok-premium .offerlist .offer-price{width:25%;padding:12px 15px;border-left:1px solid #e8ece3}
.teremok-premium .offerlist .price{font-size:23px;font-family:roboto-bold,Arial,sans-serif;overflow-wrap:anywhere}
.teremok-premium .offerlist .offer-actions{right:15px;bottom:12px}
.teremok-premium .offerlist .offer-details{position:static;margin-top:12px}
.teremok-premium .tmb-wrap-table div.active{border-color:var(--tm-gold)}
.teremok-premium .block_search,.teremok-premium #search_form_cat,.teremok-premium .form-login,.teremok-premium .form-registr,.teremok-premium .password-recovery,.teremok-premium .contact_form{background-color:var(--tm-soft);border:1px solid var(--tm-line);border-radius:14px;padding:22px;margin-bottom:18px;max-width:100%}
.teremok-premium .form-login{padding-top:100px;background-position:center 20px}
.teremok-premium .form-registr h1{background:#00584f;border-radius:8px;font-size:24px;padding:12px}
.teremok-premium .page-add .form-group{background:#f0f5ef;border-radius:10px;padding:12px}
.teremok-premium .select2-container--default .select2-selection--multiple{background:#fff;border:1px solid #b8cabe;border-radius:9px;min-height:40px;box-shadow:inset 0 2px 4px #173f3812}
.teremok-premium .select2-container .select2-search--inline .select2-search__field{box-shadow:none;border:0;min-height:26px}
.teremok-premium .page-pokaz{padding:14px 0 20px;margin-bottom:18px;border-color:var(--tm-line)}
.teremok-premium .pagination>li>a,.teremok-premium .pagination>li>span{color:var(--tm-teal);border-color:#cbd9cb;border-radius:8px;margin:3px;padding:8px 13px;box-shadow:0 2px 4px #123d3810}
.teremok-premium .pagination>.active>a,.teremok-premium .pagination>.active>span{background:var(--tm-teal);color:#fff;border-color:var(--tm-teal)}
.teremok-premium .promo-subscribe{background:#e8f1e6;border:1px solid #d7e3d3;border-radius:14px;padding:20px;margin:24px 0}
.teremok-premium .product_header{border-radius:14px;border:1px solid var(--tm-line);padding-top:10px}
.teremok-premium .product_header h1{font-size:29px}
.teremok-premium .product_price{height:auto;margin:16px 0}
.teremok-premium .product_price .s19{font-size:29px;font-family:roboto-bold,Arial,sans-serif}
.teremok-premium .product_block{border:1px solid var(--tm-line);border-radius:14px;box-shadow:var(--tm-shadow);padding:20px}
.teremok-premium .product_params li{padding:8px 0;border-bottom:1px solid #e1e7dc}
.teremok-premium .product_params_title{font-family:roboto-bold,Arial,sans-serif;text-transform:none;font-size:23px}
.teremok-premium .fotorama__stage,.teremok-premium .fotorama__thumb{border-radius:12px;overflow:hidden}
.teremok-premium .fotorama__thumb-border{border-color:var(--tm-gold);border-radius:8px}
.teremok-premium .product_description{line-height:1.75}
.teremok-premium .product_list li>div{border:1px solid var(--tm-line);border-radius:13px;padding:10px;background:var(--tm-paper);box-shadow:var(--tm-shadow)}
.teremok-premium .product_list-price{font-family:roboto-bold,Arial,sans-serif;font-size:20px}
.teremok-premium .product_list .imgLiquidFill{border-radius:9px}
.teremok-premium .user-avatar{background:#00584f;color:#fff}
.teremok-premium .header-nav-user{background:#eaf2e9;border-bottom:1px solid var(--tm-line)}
.teremok-premium .active-p{background-color:#fff3c6}
.teremok-premium .list_shop,.teremok-premium .list-art,.teremok-premium .block-v{border-radius:13px;box-shadow:var(--tm-shadow)}
.teremok-premium .list-art a{color:#fff}
.teremok-premium .footable{border-color:#d3dfd2}
.teremok-premium .footable>thead>tr>th{background:#edf3e8;color:var(--tm-ink)}
.teremok-premium #footer{border-top:1px solid #dde5d7;background:var(--tm-paper);margin-top:45px}
.teremok-premium .footer-tit{font-family:roboto-bold,Arial,sans-serif;color:#143f35}
.teremok-premium .back-to-top{background-color:#00584f;box-shadow:0 4px 16px #003d3830}
.teremok-premium #next-prev .prevmes,.teremok-premium #next-prev .nextmes{background-image:linear-gradient(#136b60,#004a43)!important;border-radius:10px!important;box-shadow:0 3px 8px #123d3820!important;text-shadow:none!important;font-family:roboto-medium,Arial,sans-serif!important}
@media(min-width:992px){.teremok-premium .categories .categories-item{width:25%}.teremok-premium .list_message_block.col-md-3{width:25%}}
@media(max-width:1199px){.teremok-premium .header-menu .btn-nav,.teremok-premium .header-menu .btn-shop,.teremok-premium .header-menu .btn-user,.teremok-premium .header-menu .btn-notepad,.teremok-premium .header-menu .btn-chat{margin-right:10px}.teremok-premium .search-form{width:250px}.teremok-premium .categories-item a{font-size:14px}.teremok-premium .img-circ{flex-basis:53px}.teremok-premium .img-circ img{width:45px;height:45px}}
@media(max-width:991px){.teremok-premium .section-services-present{padding-right:36%;}.teremok-premium .section-services{background-size:auto 270px}.teremok-premium .logo-text{font-size:16px}.teremok-premium .btn-add{margin-left:14px}.teremok-premium .offerlist .offer-title h3{font-size:17px}.teremok-premium .offerlist .price{font-size:20px}}
@media(max-width:767px){.teremok-premium h1{font-size:26px}.teremok-premium #main>.container>.text-center h1{font-size:29px}.teremok-premium #main>.container>.text-center p{font-size:15px}.teremok-premium .header-bottom .bl-tb{display:flex;flex-wrap:wrap;gap:12px}.teremok-premium .header-bottom .bl-cell{display:block;width:100%}.teremok-premium .search-form{width:100%;margin:0}.teremok-premium #searchform_input input{display:block}.teremok-premium .header-menu{text-align:center!important}.teremok-premium .header-menu .btn-nav,.teremok-premium .header-menu .btn-shop,.teremok-premium .header-menu .btn-notepad,.teremok-premium .header-menu .btn-user{margin:0 16px}.teremok-premium .bl-center.bl-pad{padding:15px}.teremok-premium .categories-item{padding:0 5px 10px}.teremok-premium .categories .row{margin:0 -5px}.teremok-premium .wrapper-scroll-tree4{max-height:none;overflow:visible}.teremok-premium .section-services{margin-right:0;background-size:auto 230px}.teremok-premium .section-services-present{padding:22px 38% 22px 22px}.teremok-premium .section-services-item-bl{margin:8px 0}.teremok-premium .title-name{font-size:24px}.teremok-premium .offerlist .offer{display:block;padding:14px;position:relative}.teremok-premium .offerlist .offer-photo{display:inline-block;width:35%;vertical-align:top;border-radius:10px}.teremok-premium .offerlist .offer-title{display:inline-block;width:63%;padding:0 0 0 12px}.teremok-premium .offerlist .offer-price{display:block;width:100%;height:auto;border:0;padding:12px 0 0;position:relative;text-align:left}.teremok-premium .offerlist .offer-price .price{position:static;margin:0}.teremok-premium .offerlist .offer-actions{position:static;display:inline-block;float:right}.teremok-premium .offerlist .offer-price .ic-star,.teremok-premium .offerlist .offer-price .ic-star-act,.teremok-premium .offerlist .offer-actions .btn-group{position:static}.teremok-premium .offerlist .offer .carousel-img,.teremok-premium .offerlist .offer .imgLiquidFill,.teremok-premium .offerlist .offer .nofoto,.teremok-premium .offerlist .offer-photo{height:135px}.teremok-premium .product_header h1{font-size:25px}.teremok-premium .product_block{padding:14px}.teremok-premium .product_block_contacts .btn{margin-top:8px}.teremok-premium .promo-subscribe{padding:16px}.teremok-premium .editandremove{opacity:1;position:static;display:block;text-align:right;margin-top:5px}}
@media(max-width:514px){.teremok-premium .categories-item{float:left;width:50%}.teremok-premium .categories-item a{min-height:116px;flex-direction:column;text-align:center;padding:10px 8px 20px;gap:5px;font-size:14px}.teremok-premium .img-circ{padding:0;flex:0 0 auto}.teremok-premium .img-circ img{height:48px;width:48px}.teremok-premium .section-services{background-image:none}.teremok-premium .section-services-present{padding:20px}.teremok-premium .section-services-present-headline{font-size:26px}.teremok-premium .section-services-item{padding:10px}.teremok-premium .section-services-item-bl{width:100%}.teremok-premium .logo-icon img{width:48px;height:48px}.teremok-premium .btn-add{position:static;display:inline-block;text-indent:0;width:auto;height:auto;border-radius:10px!important;padding:10px;font-size:12px;margin-left:8px}.teremok-premium .selectRegion{margin:0;padding:0 25px 0 0;font-size:12px}.teremok-premium .selectRegion-name{max-width:85px}.teremok-premium .offerlist .offer-title h3{font-size:16px}.teremok-premium .offerlist .offer-photo{width:34%}.teremok-premium .offerlist .offer-title{width:64%}.teremok-premium .offerlist .offer-details{font-size:11px}.teremok-premium .product_price .s19{font-size:25px}.teremok-premium .footer-logo .logo-text{display:block}.teremok-premium .footer-logo img{display:block;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.teremok-premium *{transition:none!important;scroll-behavior:auto!important}}
/* Isolated iframe/map documents and secondary sections. */
body.teremok-premium.premium-embedded{background:#fffefa}
.teremok-premium .header-uslugi{background:#edf3e8 url('../images/premium-services.png') right center/auto 100% no-repeat}
.teremok-premium .header-uslugi-headline{font-size:30px;padding-top:35px;max-width:65%;line-height:1.3;margin-bottom:22px;border:0}
.teremok-premium .header-uslugi-description{font-size:18px;max-width:60%;padding-bottom:35px}
.teremok-premium .item-list{border-bottom:1px solid var(--tm-line);background:#fffefa;margin-bottom:12px;border-radius:12px;padding:10px;box-shadow:var(--tm-shadow)}
.teremok-premium .seller-profile{background:#fffefa;border:1px solid var(--tm-line);border-radius:14px;padding:16px}
.teremok-premium .uslugi_cont{background:#f1f5ec;border:1px solid var(--tm-line);border-radius:14px;padding:22px}
.teremok-premium .btn-xs,.teremok-premium .btn-group-xs>.btn{padding:4px 8px;font-size:12px}
.teremok-premium .btn-sm,.teremok-premium .btn-group-sm>.btn{padding:6px 11px;font-size:13px}
.teremok-premium .btn-lg{padding:12px 22px;font-size:18px}
.teremok-premium .table-action .btn{padding:4px 9px;font-size:12px}
.teremok-premium .list_message_block .editandremove .btn{padding:3px 6px}
@media(min-width:768px) and (max-width:894px){.teremok-premium .offerlist .offer-price{display:table-cell;height:auto;position:relative}.teremok-premium .offerlist .offer-price .price{position:static;margin:10px 0 0}.teremok-premium .offerlist .offer-actions{position:absolute}.teremok-premium .offerlist .offer-price .ic-star,.teremok-premium .offerlist .offer-price .ic-star-act,.teremok-premium .offerlist .offer-actions .btn-group{position:static}}
@media(max-width:767px){.teremok-premium .header-uslugi{background-image:none}.teremok-premium .header-uslugi-headline,.teremok-premium .header-uslugi-description{max-width:100%}.teremok-premium .header-uslugi-headline{font-size:25px}.teremok-premium .seller-profile-contact{width:100%}.teremok-premium .seller-profile{padding:12px}}
@media print{body.teremok-premium{background:white}.teremok-premium .btn,.teremok-premium .back-to-top{box-shadow:none}.teremok-premium .header,.teremok-premium #footer{display:none}}
/* Stable card rows with long user-supplied titles and regional names. */
.teremok-premium .message_block_tit h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;height:44px}
.teremok-premium .message_block_tit .reg_cat{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.teremok-premium .message_block_tit .shop_block_desc{font-size:13px;color:var(--tm-muted)}
/* Keep background-based icons on icon-only submit controls. */
.teremok-premium .comment-field2 button,.teremok-premium #pm-msgbtn{background-image:url('../images/ic-send.svg');background-repeat:no-repeat;background-position:center;background-color:#00584f;padding:0}
.teremok-premium .nofoto{background-color:#f1f4ea;background-size:90px 90px}
