/* Kaukaz Bazar Home V2 0.13 — consolidated layout and carousel layer. */

/* The Blocksy shop archive emits an empty hero. Remove it at every viewport. */
body.woocommerce-shop.kbh-global-shell #main>.hero-section{display:none!important;min-height:0!important;margin:0!important;padding:0!important}

.kbh-popular-tastes{padding:12px 0;background:#fff;border-top:1px solid #eee7e1;border-bottom:1px solid #eee7e1}
.kbh-popular-tastes__inner{display:flex;align-items:center;gap:16px}
.kbh-v2 .kbh-popular-tastes h2{flex:0 0 auto;margin:0!important;font-size:18px!important;line-height:1.2!important;letter-spacing:0!important}
.kbh-popular-tastes__links{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.kbh-popular-tastes__links a{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;color:#242424;background:#faf7f3;border:1px solid #e8ded5;border-radius:999px;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none}
.kbh-popular-tastes__links a:hover,.kbh-popular-tastes__links a:focus-visible{color:#a90f18;border-color:#a90f18}
.kbh-footer .kbh-footer__column h2{font-size:19px!important;line-height:1.2!important;letter-spacing:-.02em!important}

/* Protect storefront links from malformed global Elementor line-height values. */
body.kbh-global-shell :where(.kbh-site-header,.kbh-v2,.kbh-subcategory-nav) a{
	-webkit-text-size-adjust:100%;
	text-size-adjust:100%;
}

@media (min-width:1181px){
	/* Desktop homepage only. Mobile and WooCommerce archives are untouched. */
	.kbh-v2 .kbh-hero{padding-top:22px!important;padding-bottom:22px!important}
	.kbh-v2 .kbh-hero__grid{min-height:0!important;height:286px!important;align-items:center!important}
	.kbh-v2 .kbh-hero__visual,.kbh-v2 .kbh-hero__visual img{height:286px!important;min-height:0!important}
	.kbh-v2 .kbh-hero__visual img{object-fit:cover!important}
	.kbh-v2 .kbh-hero h1{max-width:650px!important;font-size:36px!important;line-height:1.06!important}
	.kbh-v2 .kbh-hero__copy>.kbh-lead{margin-top:12px!important;margin-bottom:14px!important;font-size:16px!important;line-height:1.45!important}
	.kbh-v2 .kbh-actions{margin-top:14px!important;gap:10px!important}
	.kbh-v2 .kbh-hero .kbh-button{min-height:42px!important;padding:9px 18px!important;font-size:14px!important}

	.kbh-v2 .kbh-service{margin-top:0!important}
	.kbh-v2 .kbh-service__grid>div{min-height:78px!important;padding:13px 18px!important;column-gap:11px!important}
	.kbh-v2 .kbh-service__grid strong{font-size:15px!important;line-height:1.2!important}
	.kbh-v2 .kbh-service__grid small{font-size:12px!important;line-height:1.3!important}

	.kbh-v2 #kategorie.kbh-section,.kbh-v2 .kbh-section,.kbh-v2 .kbh-intents{padding-top:48px!important;padding-bottom:48px!important}
	.kbh-v2 #kategorie.kbh-section{padding-top:36px!important}
	.kbh-v2 .kbh-heading{margin-bottom:22px!important}
	.kbh-v2 .kbh-category{min-height:90px!important;grid-template-columns:66px 1fr auto!important;padding:10px 12px!important}
	.kbh-v2 .kbh-category__image,.kbh-v2 .kbh-category__image img{width:66px!important;height:66px!important}
	.kbh-v2 .kbh-intents__list a{min-height:46px!important;padding:9px 14px!important}

	.kbh-v2 #bestsellery.kbh-section,.kbh-v2 .kbh-new-products.kbh-section{padding-top:40px!important;padding-bottom:40px!important}
	.kbh-v2 #bestsellery .kbh-heading,.kbh-v2 .kbh-new-products .kbh-heading{margin-bottom:18px!important}
	.kbh-v2 .kbh-product{position:relative!important;isolation:isolate!important;background:#fff!important}
	.kbh-v2 .kbh-product__image{position:relative!important;z-index:1!important;display:block!important;aspect-ratio:1.3/1!important;min-height:0!important;overflow:hidden!important;background:#fff!important}
	.kbh-v2 .kbh-product__image img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:contain!important;object-position:center!important}
	.kbh-v2 .kbh-product__body{position:relative!important;z-index:2!important;flex:1 1 auto!important;padding:11px 13px 12px!important;background:#fff!important}
	.kbh-v2 .kbh-product h3{min-height:2.5em!important;max-height:2.5em!important;display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;margin-bottom:6px!important;font-size:15px!important;line-height:1.25!important}
	.kbh-v2 .kbh-product__meta{display:none!important}
	.kbh-v2 .kbh-product__bottom{padding-top:7px!important}
	.kbh-v2 .kbh-product .kbh-price{font-size:19px!important;line-height:1.15!important}
	.kbh-v2 .kbh-product .kbh-button{min-height:39px!important;padding:8px 13px!important;font-size:14px!important}
	.kbh-v2 .kbh-story-section{padding-top:34px!important;padding-bottom:34px!important}
	.kbh-v2 .kbh-story{gap:38px!important}
	.kbh-v2 .kbh-story__panel{padding:28px!important}
	.kbh-v2 .kbh-story__facts>div{padding:12px 14px!important}
}

@media (max-width:768px){
	.kbh-v2>.kbh-popular-tastes{order:6!important}
	.kbh-v2>.kbh-new-products{order:7!important}
	.kbh-v2>.kbh-story-section{order:8!important;padding-top:22px!important;padding-bottom:22px!important}
	.kbh-popular-tastes{padding:13px 0!important;overflow:hidden!important}
	.kbh-popular-tastes__inner{display:block!important}
	.kbh-v2 .kbh-popular-tastes h2{margin:0 0 9px!important;font-size:17px!important;line-height:1.2!important}
	.kbh-popular-tastes__links{display:flex!important;flex-wrap:nowrap!important;gap:7px!important;width:100%!important;overflow-x:auto!important;padding:0 22px 3px 0!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
	.kbh-popular-tastes__links::-webkit-scrollbar{display:none!important}
	.kbh-popular-tastes__links a{flex:0 0 auto!important;min-height:34px!important;padding:7px 11px!important;font-size:13px!important;white-space:nowrap!important;scroll-snap-align:start!important}
	/* Homepage main-category carousel. */
	.kbh-homecat-carousel{position:relative!important;width:100%!important;max-width:100%!important}
	.kbh-homecat-carousel .kbh-categories{display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 36px 5px 0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:smooth!important;scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
	.kbh-homecat-carousel .kbh-categories::-webkit-scrollbar{display:none!important}
	.kbh-homecat-carousel .kbh-category{display:flex!important;align-items:center!important;flex:0 0 150px!important;width:150px!important;min-width:150px!important;max-width:150px!important;min-height:72px!important;gap:9px!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;scroll-snap-align:start!important}
	.kbh-homecat-carousel .kbh-category__image{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important}
	.kbh-homecat-carousel .kbh-category__image :where(img,svg){width:44px!important;height:44px!important;object-fit:cover!important}
	.kbh-homecat-carousel .kbh-category strong{font-size:12px!important;font-weight:700!important;line-height:1.18!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
	.kbh-homecat-carousel .kbh-category__arrow{display:none!important}

	/* Existing subcategory rail remains compact and swipeable. */
	.kbh-subcategory-nav{position:relative!important;display:block!important;width:100%!important;max-width:100%!important}
	.kbh-subcategory-nav__list{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:smooth!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;padding-right:38px!important;margin:0!important;scrollbar-width:none!important}
	.kbh-subcategory-nav__list::-webkit-scrollbar{display:none!important}
	.kbh-subcategory-nav__list>a{flex:0 0 128px!important;width:128px!important;min-width:128px!important;max-width:128px!important;margin:0!important;scroll-snap-align:start!important}

	/* Mobile native-sort mirror shown directly below subcategories. */
	form.woocommerce-ordering.kbh-original-ordering{display:none!important}
	.woo-listing-top{display:block!important;width:100%!important;max-width:100%!important;grid-template-columns:none!important;grid-template-areas:none!important;overflow:visible!important}
	.kbh-mobile-sorting{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:6px 0 14px!important;padding:0 6px!important;box-sizing:border-box!important;position:static!important;float:none!important;clear:both!important}
	.kbh-mobile-sorting__label{flex:0 0 auto!important;margin:0!important;padding:0!important;color:#202020!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important}
	.kbh-mobile-sorting__select{flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:38px!important;margin:0!important;padding:0 32px 0 11px!important;box-sizing:border-box!important;background:#fff!important;color:#202020!important;border:1px solid #e6e1dc!important;border-radius:8px!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:38px!important;box-shadow:none!important;outline:none!important}

	/* Arrows for both carousel types. */
	.kbh-subcat-arrow,.kbh-homecat-arrow{position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:38px!important;padding:0!important;margin:0!important;background:rgba(255,255,255,.96)!important;color:#202020!important;border:1px solid #e6e1dc!important;border-radius:8px!important;box-shadow:0 1px 5px rgba(0,0,0,.08)!important;font-size:22px!important;line-height:1!important;z-index:20!important;cursor:pointer!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}
	.kbh-subcat-arrow{top:68px!important}.kbh-homecat-arrow{top:50%!important;transform:translateY(-50%)!important}
	.kbh-subcat-arrow--prev,.kbh-homecat-arrow--prev{left:5px!important}.kbh-subcat-arrow--next,.kbh-homecat-arrow--next{right:5px!important}
	.kbh-subcat-arrow[disabled],.kbh-homecat-arrow[disabled]{opacity:0!important;pointer-events:none!important}

	/* Real Android browsers may enlarge text; never collapse wrapped intent lines. */
	.kbh-v2 .kbh-intents__list a{height:auto!important;min-height:48px!important;line-height:1.25!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;align-items:center!important}
	.kbh-v2 .kbh-story{gap:12px!important}
	.kbh-v2 .kbh-story__panel{padding:18px!important}
	.kbh-v2 .kbh-story__panel .kbh-eyebrow{margin-bottom:5px!important;font-size:11px!important}
	.kbh-v2 .kbh-story__panel h2{font-size:22px!important;line-height:1.1!important}
	.kbh-v2 .kbh-story__panel>p:not(.kbh-eyebrow){margin:8px 0 12px!important;font-size:13px!important;line-height:1.4!important}
	.kbh-v2 .kbh-story__panel .kbh-button{min-height:40px!important;padding:8px 13px!important;font-size:13px!important}
	.kbh-v2 .kbh-story__facts>div{flex-basis:185px!important;padding:10px!important}
	.kbh-v2 .kbh-story__facts strong{font-size:14px!important}
	.kbh-v2 .kbh-story__facts span{font-size:12px!important;line-height:1.35!important}
	.kbh-footer .kbh-footer__contact h2{font-size:18px!important;line-height:1.2!important}
	#cmplz-manage-consent .cmplz-manage-consent,.cmplz-manage-consent,.cmplz-btn.cmplz-manage-consent{left:8px!important;right:auto!important;top:auto!important;bottom:8px!important;display:block!important;width:auto!important;min-width:0!important;max-width:124px!important;height:auto!important;min-height:30px!important;max-height:none!important;padding:7px 9px!important;box-sizing:border-box!important;font-size:10px!important;line-height:1.1!important;letter-spacing:0!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important;border-radius:6px!important;box-shadow:0 4px 12px rgba(0,0,0,.14)!important}
}
