.joint-event-area.style-one {
    padding: 30px 0 30px;
}

.search-catalog-container {
	max-width: 1320px !important;
}

.header-top-area {
	background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%) !important;
	position: relative;
	z-index: 2003;
}

.row.header-top {
	padding: 13px 0px 13px 5px;
}

.header-top-welcome {
  padding: 10px 0px;
}

.header-top-right {
	display: flex;
	justify-content: flex-end;
}

.active_logo img {
	max-height: 85px;
	padding:7px;
}

.sticky a.logo_two {
	display: block;
	float: left;
}

.sticky {
	background: #FDFDFE !important;
}

.logo_two img {
	height: 70px; 
	width: auto;
	padding:7px;
}

.logo_two p {
	padding-left: 90px;
	margin-top: -60px;
}

.header-menu ul li {
    position: relative; 
}

.header-menu ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; 
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.header-menu ul li a:hover::before {
    width: 100%;
}

.header-menu ul li a:hover {
    color: var(--primary-color); 
}

.shop-detials .appoinment-tab {
	padding: 25px 0 105px;
}

#sticky-header .header-menu ul li a {
  position: relative;
  display: inline-block;     
  padding-bottom: 8px;       
}


#sticky-header .header-menu ul li a::before {
  content: "";
  position: absolute;
  left: 0 !important;        
  bottom: 4px;              
  width: 0;
  height: 2px !important;    
  background: var(--primary-color) !important;
  border-radius: 0 !important;
  top: auto !important;      
  z-index: 1;
  transition: width .25s ease;
}


#sticky-header .header-menu ul li a:hover::before,
#sticky-header .header-menu ul li a:focus::before,
#sticky-header .header-menu ul li.current-menu-item > a::before,
#sticky-header .header-menu ul li.active > a::before {
  width: 100% !important;
}


#sticky-header .header-menu ul li a:hover {
  color: inherit;  
}

/* Smaller desktop header tuning: prevent nav wrapping and keep header compact. */
@media (min-width: 1200px) and (max-width: 1600px) {
  #sticky-header .row.header-wrap {
    padding: 0 16px;
  }

  #sticky-header .row.header-wrap > .col-lg-3 {
    flex: 0 0 20%;
    max-width: 20%;
  }

  #sticky-header .row.header-wrap > .col-lg-7 {
    flex: 0 0 64%;
    max-width: 64%;
  }

  #sticky-header .row.header-wrap > .col-lg-2 {
    flex: 0 0 16%;
    max-width: 16%;
  }

  #sticky-header .header-menu {
    margin-top: 0;
    text-align: center;
  }

  #sticky-header .header-menu .nav_scroll {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
  }

  #sticky-header .header-menu ul li {
    flex: 0 0 auto;
  }

  #sticky-header .header-menu ul li a {
    padding: 12px 10px 12px 10px;
    font-size: 15px;
    line-height: 20px;
  }

  #sticky-header .active_logo img {
    max-height: 72px;
    padding: 4px;
  }

  #sticky-header .header-btn a {
    padding: 8px 18px;
    font-size: 16px;
  }
}



section.hero_area.style-one {
	/*background: url(../images/home/hero1-bg.png) center center / cover no-repeat;*/
	height: 724px;
}
.section-title-space {
	margin-bottom: 25px;
}
.shop-section .products-thumb img {
	width:80%;
}

.shop-section .thumb-2 img {
	width:100%;
}

.shop-section .product-title h3 {
    font-size: 20px;
    line-height: 30px;
    color: #1e1e1e;
    font-weight: 500;
    margin: 13px 0 8px;
}

.shop-section .product-title.box-v2 h2 {
    font-size: 18px;
    line-height: 20px;
    color: #1e1e1e;
    font-weight: 500;
    margin: 0px !important;
	text-align: left;
}

.shop-section .product-title.box-v2 h3 {
    font-size: 16px;
    line-height: 20px;
    color: #1e1e1e;
    font-weight: 500;
    margin: 0px !important;
	text-align: left;
}

.shop-section .product-content.box-v2{
	text-align: left;
}

.shop-section .product-btn.box-v2{
	position: absolute; 
  	bottom: 20px; 
  	right: 20px;
    left: auto;
 	z-index: 1;             
  	pointer-events: none; 
	opacity:1;
}

.shop-section .product-btn a,
.shop-section .product-btn.box-v2 a {
   	pointer-events: auto;
  	z-index: 2;
  	position: relative;
}

.shop-section .single-products-box {
    min-height: 550px;
}

.shop-section .single-products-box.box-v2 {
    min-height: 300px;
	position: relative;
}

.product-thumb img {
	width:100%;
}


.bg-style{
    background: url(../images/backs/choose-bg1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
    padding: 105px 0 125px;
}

.call-to-logo img {
	float:left;
}

.call-rating {
	margin-left: 20px;
    float: left;
}

.call-to-action.style-two {
    background: url(../images/home/call-to-bg2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
    padding: 50px 0 60px;
}

.style-two .call-to-shape31 {
    right: 589px;
}

.call-to-action.style-one{
	margin-top: 35px;
}

section.hero_area.style-one .hero_content {
	padding-top: 0px;
}


section.hero_area.style-one {
	background: none;
}
.hero_area {
	margin-top: 60px;
}

#heroCarousel {
    height: 700px !important;
    overflow: hidden;
    margin-top: 100px;
}

/* Всеки елемент в карусела */
#heroCarousel .carousel-item {
    visibility: visible;
    width: 100% !important;
    height: 700px; /* Височината на целия карусел */
    position: relative !important;
}

#heroCarousel .carousel-item {
  display: none;
}

#heroCarousel .carousel-item.active,
#heroCarousel .carousel-item-next,
#heroCarousel .carousel-item-prev {
  display: block;
}

/* Самото изображение */
#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* важно – не разтяга снимката */
    object-position: center;  /* центрира */
    display: block;
}
#heroCarousel .carousel-indicators {
    position: absolute !important;
    bottom: 15px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}
#heroCarousel .carousel-indicators [data-bs-target] {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    opacity: 0.7 !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    margin: 0 4px !important;
    cursor: pointer !important;
    visibility: visible !important;
    display: inline-block !important;
}
#heroCarousel .carousel-indicators .active {
    opacity: 1 !important;
    background-color: #fff !important;
}
#heroCarousel.carousel {
    min-height: auto !important;
    perspective: none !important;
    transform-style: flat !important;
}
#heroCarousel .carousel-item {
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

.icon-box1 {
	font-size: 46px;
	color: var(--primary-color);
}

.icon-box2 {
	font-size: 46px;
	color: var(--secondary-color);
}

.icon-box3 {
	font-size: 46px;
	color: var(- -tertiary-color);
}

.icon-box4 {
	font-size: 46px;
	color: #FFEA81;
}

.style-one .case-study-single-box {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.style-one .course-btn {
	margin-top: auto;
}

.style-one .course-btn a {
	position: static;
	opacity: 1;
}

.section_title {
	text-align: right;
}

.single-feature-box .feature-icon, .single-feature-box .feature-content
	{
	display: inline-flex;
	align-items: center;
}

.mobile_view {
	display: none;
}

.large_view {
	display: block;
}

.contact-list {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-direction: row;
    justify-content: space-evenly;
}


.contact-list li {
	border-right: 2px solid var(- -white);
	padding-right: 5px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.contact-list li i {
	color: #fff !important;
	margin-right: 5px;
}

.contact-list li a, .contact-list li span {
	color: #fff !important;
	font-size: 14px;
	text-decoration: none;
}

.style-one .about-item-box h3.counter {
	font-size: 46px;
}

.style-one .about-item-desc p {
	margin-left: 20px;
}

.style-one .about-thumb-wrapper {
	position: relative;
	margin-left: 5px;
	margin-top: -118px;
}

.style-one .about-shape4 {
	bottom: -25px;
	right: 38px;
}

.blog-area.style-one {
	padding: 50px 0 30px;
}

.style-one .choose-thumb {
	position: relative;
	margin-left: 85px;
}

.style-one .choose-skill-box {
	right: -24px;
	bottom: -75px;
}

.style-one .single-course-offer-box {
	padding: 12px 0 0px 20px;
}

.style-one .choose-item-menu {
	margin-top: 11px;
}

.style-one .course-offer-btn a {
	float: right;
	margin-top: -80px;
	margin-right: 20px;
}

.footer-logo a img {
	height: 90px;
}

.row.subscribe {
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.07058823529411765);
	padding: 25px 25px 25px 25px;
	margin-bottom: 40px;
}

.footer-widget-blog-thumb img {
	height: 76px;
}

.search-popup form .form-group {
	display: flex;
	align-items: stretch;
	border: 2px solid var(- -theme-color, #054A49);
	border-radius: 14px;
	overflow: hidden; 
	background: #fff;
	max-width: 1100px;
	margin: 0 auto;
}

.search-popup .form-group .category {
	height: 56px !important;
	line-height: 56px !important;
	padding: 0 44px 0 16px !important;
	font-size: 16px !important;
	border: 0 !important;
	background: #f9fffc !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.search-popup .form-group input[type="search"] {
	height: 56px !important;
	line-height: 56px !important;
	flex: 1;
	font-size: 16px;
	padding: 0 16px !important;
	border: 0 !important;
	border-left: 1px solid var(- -theme-color, #054A49); ! important;
	border-radius: 0 !important;
	outline: none;
}

.search-popup .form-group button[type="submit"] {
	height: 56px !important;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	/* background: var(--theme-color, #054A49); */
	color: var(- -theme-color, #054A49);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	right: 0;
}

.search-popup .form-group button[type="submit"] i {
	font-size: 18px;
}

.search-popup .form-group:focus-within {
	box-shadow: 0 0 0 3px rgba(30, 194, 142, .2);
}

.nav-logo a img {
	height: 70px;
	float: left;
}

.nav-logo p {
	color: #fff;
}

.cart_sidebar {
	width: 480px;
	right: -500px;
}

.cart_sidebar .btns_group li {
	width: 50%;
	padding: 5px;
	float: left;
}

.shop-section {
	padding: 20px 0 20px;
}

.main-home-carousel {
	height: auto !important;
	width: auto !important;
}

.main-home-carousel .owl-item {
	transform: scale(0.96);
	transform-origin: left center;
}

/* Equal card heights for home news carousel */
.selected-carousel.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.selected-carousel.owl-carousel .owl-item {
  display: flex;
}

.selected-carousel .item {
  display: flex;
  width: 100%;
}

.selected-carousel .single-blog-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.selected-carousel .blog-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.selected-carousel .blog-title h3 {
  min-height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.selected-carousel .blog-content > p {
  min-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.selected-carousel .blog-btn {
  margin-top: auto;
}

.main-home-carousel .owl-dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	gap: 8px;
}

.main-home-carousel .owl-dots .owl-dot span {
	display: block;
	width: 30px;
	height: 4px;
	background: #ccc;
	border-radius: 2px;
	transition: background 0.3s;
}

.main-home-carousel .owl-dots .owl-dot.active span {
	background: #054A49;
}

.main-home-carousel .owl-item .blog-btn img {
	width: auto;
}

.cat-header {
	background: #fff;
	box-shadow: var(--shadow);
}

.cat-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 18px 20px;
}

.cat-brand h1 {
	font-size: 18px;
	margin: 0;
	font-weight: 700
}

.cat-hero {
	padding: 36px 0 18px;
	text-align:center;
}

.cat-hero h2 {
	margin: 0 0 8px;
	font-size: 28px
}

.cat-hero p {
	margin: 0 0 22px;
	color: var(--text-color)
}

/* Form */
.type-search {
	display: flex;
	align-items: stretch;
	border: 1px solid #ccc;
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
	width:33%;
}

.cat-search {
	display: flex;
	align-items: stretch;
	border: 2px solid var(--primary-color);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
}

.cat-hero .cat-form {
  display: inline-flex;   
  justify-content: center;
  align-items: center;
  gap: 10px; 
  width:70%;
}

.cat-hero .cat-search {
  flex: 1;
  display: flex;
  justify-content: center; 
  align-items: stretch;
}

/* Cover image */
.cat-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #155724;
}

.cat-cover-fallback i {
    font-size: 48px;
    color: rgba(255,255,255,0.8);
}


.lib-active-filters {
    background: linear-gradient(135deg, #f0fff4 0%, #e6f7ed 100%);
    border: 1px solid #b8e6c9;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(40,167,69,0.08);
}

.lib-active-filters h5 {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e7e34;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lib-active-filters h5 i {
    color: #28a745;
}

#libFilterTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.lib-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(40,167,69,0.25);
    transition: all 0.2s ease;
    animation: tagAppear 0.3s ease;
}

.lib-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lib-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.lib-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-width: 720px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lib-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
    color: white;
}

.lib-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lib-modal-header h3 i {
    font-size: 22px;
    opacity: 0.9;
}

.lib-modal-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lib-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.lib-modal-body {
    padding: 25px;
    max-height: calc(90vh - 160px);
    overflow-y: auto;
}

.lib-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Form Styles */
.lib-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .lib-form-row {
        grid-template-columns: 1fr;
    }
}

.lib-form-group {
    display: flex;
    flex-direction: column;
}

.lib-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lib-form-group label i {
    color: #1a936f;
    font-size: 14px;
}

.lib-form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.lib-form-control:focus {
    outline: none;
    border-color: #1a936f;
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 147, 111, 0.1);
}

.lib-form-control::placeholder {
    color: #aaa;
}

select.lib-form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Year Range */
.lib-form-group-split .lib-year-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lib-year-range input {
    flex: 1;
    text-align: center;
}

.lib-year-separator {
    color: #666;
    font-weight: 600;
}

/* Checkbox */
.lib-form-checkbox-group {
    justify-content: flex-end;
}

.lib-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.lib-checkbox-label:hover {
    border-color: #1a936f;
    background: #f0fff4;
}

.lib-checkbox-label input {
    display: none;
}

.lib-checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.lib-checkbox-label input:checked + .lib-checkbox-custom {
    background: #1a936f;
    border-color: #1a936f;
}

.lib-checkbox-label input:checked + .lib-checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lib-checkbox-label span i {
    color: #1a936f;
}

/* Buttons */
.lib-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.lib-btn-primary {
    background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.lib-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 147, 111, 0.4);
}

.lib-btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.lib-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

/* Quick Links Active State */
.cat-quick a.active {
    background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%) !important;
    color: white !important;
    border-color: transparent !important;
}

/* ========================================
   КЛАСИФИКАТОР MODAL
   ======================================== */
.lib-modal-classifier {
    max-width: 800px;
}

.lib-modal-header-classifier {
    background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
}

.lib-classifier-body {
    padding: 0;
}

/* Търсене в класификатора */
.lib-classifier-search {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lib-classifier-search i {
    color: #6930c3;
    font-size: 18px;
}

.lib-classifier-search input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.lib-classifier-search input:focus {
    outline: none;
    border-color: #6930c3;
    box-shadow: 0 0 0 4px rgba(105, 48, 195, 0.1);
}

/* Избрани класове */
.lib-classifier-selected {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede7f6 100%);
    border-bottom: 1px solid #d1c4e9;
    padding: 15px 20px;
}

.lib-classifier-selected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lib-classifier-selected-header span {
    font-weight: 600;
    color: #5e35b1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lib-classifier-clear-btn {
    background: transparent;
    border: 1px solid #7c4dff;
    color: #7c4dff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lib-classifier-clear-btn:hover {
    background: #7c4dff;
    color: white;
}

#classifierSelectedTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lib-classifier-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c4dff 0%, #6930c3 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
}

.lib-classifier-tag-code {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.lib-classifier-tag-remove {
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.lib-classifier-tag-remove:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Дърво на класификатора */
.lib-classifier-tree {
    padding: 15px 20px;
    max-height: calc(70vh - 200px);
    overflow-y: auto;
}

.lib-classifier-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
    gap: 15px;
}

.lib-classifier-empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

.lib-classifier-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Главен клас */
.lib-udc-main {
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.lib-udc-main:hover {
    border-color: #d1c4e9;
}

.lib-udc-main-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lib-udc-main-header:hover {
    background: linear-gradient(135deg, #ede7f6 0%, #e8eaf6 100%);
}

.lib-udc-expand {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lib-udc-expand i {
    font-size: 12px;
    color: #666;
}

.lib-udc-main.expanded .lib-udc-expand {
    transform: rotate(90deg);
}

.lib-udc-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(26, 147, 111) 0%, rgb(17, 75, 95) 100%);
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.lib-udc-main-header .lib-udc-code {
    font-weight: 700;
    color: #114b5f;
    font-size: 18px;
    min-width: 30px;
}

.lib-udc-main-header .lib-udc-name {
    flex: 1;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* Деца (подкласове) */
.lib-udc-children {
    display: none;
    padding: 5px 10px 10px 10px;
    background: white;
}

.lib-udc-main.expanded .lib-udc-children {
    display: block;
}

.lib-udc-child {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.lib-udc-child:hover {
    background: #f3e8ff;
    border-color: #d1c4e9;
}

.lib-udc-child.selected {
    background: linear-gradient(135deg, #ede7f6 0%, #e8eaf6 100%);
    border-color: #7c4dff;
}

.lib-udc-child .lib-udc-code {
    background: #e8eaf6;
    color: #114b5f;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
}

.lib-udc-child.selected .lib-udc-code {
    background: #7c4dff;
    color: white;
}

.lib-udc-child .lib-udc-name {
    flex: 1;
    color: #444;
    font-size: 14px;
}

.lib-udc-child .lib-udc-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lib-udc-child .lib-udc-check i {
    display: none;
    color: white;
    font-size: 12px;
}

.lib-udc-child.selected .lib-udc-check {
    background: #7c4dff;
    border-color: #7c4dff;
}

.lib-udc-child.selected .lib-udc-check i {
    display: block;
}

/* Scrollbar styling */
.lib-classifier-tree::-webkit-scrollbar {
    width: 8px;
}

.lib-classifier-tree::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lib-classifier-tree::-webkit-scrollbar-thumb {
    background: #c5cae9;
    border-radius: 4px;
}

.lib-classifier-tree::-webkit-scrollbar-thumb:hover {
    background: #9fa8da;
}


@keyframes tagAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lib-filter-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.35);
}

.lib-filter-tag .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.lib-filter-tag .remove:hover {
    background: rgba(255,255,255,0.95);
    color: #dc3545;
    transform: rotate(90deg);
}

.lib-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lib-clear-all:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}

.lib-clear-all i {
    font-size: 12px;
}

.popular-badge {
    color: #dc3545;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.popular-badge i {
    color: #ff6b35;
}

/* Автор */
.cat-author {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.cat-author strong {
    color: #007bff;
}

/* Мета ред с иконки */
.cat-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.cat-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.cat-meta-item i {
    color: #999;
    font-size: 14px;
}

/* Наличност */
.cat-meta-item.cat-available {
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.cat-meta-item.cat-available i {
    color: #155724;
}

.cat-meta-item.cat-unavailable {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.cat-meta-item.cat-unavailable i {
    color: #721c24;
}

/* Теми/Subjects като тагове */
.cat-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cat-subject-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e8f4fc;
    color: #0077b6;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cat-subject-tag:hover {
    background: #0077b6;
    color: white;
    border-color: #0077b6;
}

/* Card body */
.cat-card-body {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}

.cat-card-body .cat-title {
    margin-bottom: 8px;
}

.cat-card-body .cat-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.cat-card-body .cat-title a:hover {
    color: #007bff;
}

.cat-hero .cat-quick {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cat-select-wrap{
  position: relative;
}
.cat-select{
  height:56px;
  line-height:56px;
  border:0;
  outline:none;
  padding:0 40px 0 16px;
  font-size:16px;
  background:#f9fffc;
  border-right:1px solid var(--primary-color);
  appearance:none; 
  -webkit-appearance:none; 
  -moz-appearance:none;
}

.cat-select-wrap i{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  color:#222;
  font-size:14px;
}

.cat-select:focus {
	outline: none;
	box-shadow: none
}

.search-input {
	height: 42px;
	line-height: 42px;
	flex: 1;
	border: 0;
	outline: none;
	padding: 0 16px;
	font-size: 16px;
	min-width: 60%;
}

.cat-input {
	height: 56px;
	line-height: 56px;
	flex: 1;
	border: 0;
	outline: none;
	padding: 0 16px;
	font-size: 16px;
	border-left: 1px solid var(--primary-color);
	min-width: 60%;
}

.cat-btn {
	height: 56px;
	border: 0;
	padding: 0 22px;
	cursor: pointer;
	background: var(--primary-color);
	color: #fff;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 1px solid var(--primary-color);
}

.cat-btn:focus-visible {
	outline: 3px solid rgba(30, 194, 142, .25)
}

/* Quick links */
.cat-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 14px;
}

.cat-quick a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	background: #eafaf5;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--primary-color);
}

.cat-quick a:hover {
	background: #dcf6ee
}

/* Results header */
.cat-results-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 28px 0 12px;
}

.cat-results-head h3 {
	margin: 0;
	font-size: 20px
}

.cat-sort {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--text-color);
}

.cat-sort select {
	border: 1px solid var(--primary-color);
	border-radius: 8px;
	padding: 8px 12px;
	background: #fff;
}

/* Result cards */
.cat-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(1, 1fr);
}

.cat-card {
	background: #fff;
	border: 1px solid var(--primary-color);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	gap: 14px;
	min-height: 120px;
}

.cat-cover, .cat-cover img {
	width: 72px;
	height: 96px;
	background: #f3f7f6;
	border: 1px solid #e9f2f0;
	border-radius: 6px;
	display: grid;
	place-items: center;
	color: var(--primary-color);
	flex: 0 0 72px;
}

.cat-cover {
	width: 72px;
	height: 96px;
	background: #f3f7f6;
	border: 1px solid #e9f2f0;
	border-radius: 6px;
	display: grid;
	place-items: center;
	color: var(--primary-color);
	flex: 0 0 72px;
}

.cat-search-container{
	width:100%;
}
.cat-title {
	font-size: 16px;
    line-height: 26px;
    color: #616161;
    font-weight: bold;
    font-family: "Open Sans";
    margin: 0;
}

.cat-meta {
	color: var(- -text);
	font-size: 14px;
	margin-top: 6px
}

.cat-badges {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap
}

.cat-badge {
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid var(--primary-color);
	background: #f4fbf8;
	color: #128c67;
}

.cat-badge-warning {
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid var(--coming-soon-label-bg);
	background: #ffeae6;
	color: var(--coming-soon-label-bg);
}

.cat-cta {
  display: flex;
  justify-content: space-between; /* ляво/дясно */
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cat-cta-left a {
  margin-right: 10px;
}

.cat-cta-right {
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;   
}

.cat-action {
  font-size: 14px;
  color: #0077cc;       /* синьо за разграничаване */
  text-decoration: none;
  transition: color 0.3s;
}

.cat-action:hover {
  color: #005999;       /* по-тъмно при hover */
  text-decoration: underline;
}

.cat-link {
	text-decoration: none;
	color: #fff;
	background: var(--primary-color);
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 14px;
}

.cat-link--ghost {
	background: transparent;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.user-menu{
  position: relative;
}

.header-right-wrapper{
  display:flex;
  justify-content:flex-end;
}


.header-right-wrapper .header-sidebar{
  display:flex;
  align-items:center;
  gap: 18px;  
}


.header-right-wrapper .header-src-btn .search-box-btn,
.header-right-wrapper button.cart_btn.headers-button,
.header-right-wrapper .user-menu__btn,
.header-right-wrapper .domain-menu__btn{
  width:46px;
  height:46px;
  line-height:46px;
  border-radius:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0);
  border:1px solid rgba(30,30,30,0.15);
  padding:0;
}


.user-menu__btn, .domain-menu__btn{ margin:0; }


.user-menu{ position:relative; }
.user-menu__dropdown, .domain-menu__dropdown{
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  z-index: 1000;
  min-width: 300px;
  background:#fff;
  border:1px solid #e6f4ef;
  border-radius:10px;
  box-shadow:0 12px 28px rgba(0,0,0,.10);
  border-top:3px solid var(--theme-color, #054A49);
  display:none;
  padding:8px 0;
}
.user-menu.open .user-menu__dropdown, .domain-menu.open .domain-menu__dropdown{ display:block; }


.user-menu__dropdown a, .domain-menu__dropdown a{
  display:block;
  padding:14px 22px;
  text-decoration:none;
  color:#1e1e1e;
  font-size:18px;
}
.user-menu__dropdown a:hover, .domain-menu__dropdown a:hover{
  color:var(--theme-color, #054A49);
  background:#f6fbf9;
}
.user-menu__dropdown hr, .domain-menu__dropdown hr {
  margin:6px 0;
  border:0;
  border-top:1px solid #e6f4ef;
}

.header-right-wrapper .header-src-btn .search-box-btn, .header-right-wrapper button.cart_btn.headers-button, .header-right-wrapper .user-menu__btn, .header-right-wrapper .domain-menu__btn {
    margin-right: 0px;
	margin-left: 0px;
}

.mean-container .mean-bar{
  position: relative;
  min-height: 56px; 
}

/* Keep mobile user dropdown above hero/banner and prevent clipping by meanmenu wrapper. */
.mobile-menu.mean-container{
  overflow: visible;
  position: relative;
  z-index: 1200;
}

.mobile-menu.mean-container .mean-bar{
  position: relative;
  z-index: 1201;
}

.mobile-logo{
  position: absolute;
  left: 8px;
  top: 10px;
  z-index: 10;
}

.mobile-actions{
  position: absolute;
  right: 58px; 
  top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.meanmenu-reveal{
  position: absolute !important;
  right: 8px !important;
  top: 10px !important;
  z-index: 13;  
}

.mobile-actions .header-src-btn .search-box-btn,
.mobile-actions .cart_btn,
.mobile-actions .user-menu__btn{
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  color: #111; 
  padding: 0;
  line-height: 1;
}

.mobile-actions .cart_btn{
  position: relative;
}
.mobile-actions .cart_btn .cart_counter{
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--theme-color, #054A49);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 999px;
}

.mobile-actions .user-menu{
  position: relative;
}
.mobile-actions .user-menu__dropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  padding: 8px 0;
  display: none;
  z-index: 1200;
}
.mobile-actions .user-menu.open .user-menu__dropdown{
  display: block;
}
.mobile-actions .user-menu__dropdown a{
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
}
.mobile-actions .user-menu__dropdown a:hover{
  background: #f3f7f6; 
}
.mobile-actions .user-menu__dropdown hr{
  margin: 6px 0;
  border: none;
  border-top: 1px solid #eee;
}

.mobile-actions i{
  font-size: 18px;
}

.middle_view {
	display:none;
}

.book-actions {
  display: flex;
  justify-content: center;
  gap: 5px; 
  margin-top: 10px;
  position: relative; z-index: 5;	
  line-height: 1;	
}

.action-btn {
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
}

.action-btn i {
  font-size: 18px;
  color: inherit;
  pointer-events: none; 
}

.action-btn:hover,
.action-btn:focus {
  color: var(--secondary-color);
  outline: none;
}

.action-btn.active {
  color: var(--primary-color);
}

.book-price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
}

.availability-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.availability-row {
  display: table-row;
  border-bottom: 1px solid #e0e0e0;
}

.availability-row.header {
  font-weight: 600;
  background: #f9f9f9;
}

.availability-cell {
  display: table-cell;
  padding: 12px 15px;
  vertical-align: middle;
}

.in-stock {
  color: var(--primary-color);
  font-weight: 600;
}

.out-stock {
  color: #d9534f;
  font-weight: 600;
}

.back-btn-wrap {
  margin-top: 15px;
  text-align: right;
}

.back-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--secondary-color);
  border-radius: 8px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.book-actions-details {
  margin-top: 15px;
  text-align: left;  /* подравняваме вляво */
}

.shop-detials .row.shop-bgd {
    margin-top: 20px;
}

.book-actions-details .book-actions {
  display: flex;
  justify-content: flex-start; /* вместо center → вляво */
  gap: 12px; /* разстояние между бутоните */
  margin-bottom: 10px;
  margin-left: 25%;
}

.book-actions-details .book-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color); /* зеления цвят от сайта */
  margin-top: 8px;
}

.book-actions-details .back-btn-wrap {
  margin-top: 15px;
}

.book-actions-details .back-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-actions-details .back-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

@media ( max-width : 576px) {
	
	.type-search {	    
	    width: 80%;
	}

  .image-toolbar .tool-btn {
    font-size: 0; /* скрива текста */
  }

  .image-toolbar .tool-btn i {
    font-size: 22px;  /* малко по-големи иконки */
    margin: 0;        /* махаме разстоянието */
  }
  
   .blog-details-area .blog-thumb img {
     width: 100%;   /* пълна ширина на мобилен */
     height: auto;
     max-height: none;
   }

	.breadcumb-area {
	    padding: 10px 0 0px;
	}
	
	.blog-area.style-one.blog {
	    padding: 10px 0 20px;
	}

	.shop-section .product-btn a {
	    display: inline-block;
	    font-size: 16px;
	    line-height: 19px;
	    color: #ffffff;
	    font-weight: 500;
	    font-family: "Open Sans";
	    border-radius: 21px;
	    background-color: #054A49;
	    padding: 7px 15px;
	    transition: 0.5s;
	}

	.availability-table {
	    display: block;
	  }
	
	  .availability-row {
	    display: block;
	    margin-bottom: 12px;
	    border: 1px solid #eee;
	    border-radius: 8px;
	    overflow: hidden;
	  }
	
	  .availability-cell {
	    display: block;
	    padding: 10px;
	    text-align: right;
	    border-bottom: 1px solid #f1f1f1;
	  }
	
	  .availability-cell:last-child {
	    border-bottom: none;
	  }
	
	  .availability-cell::before {
	    content: attr(data-label);
	    float: left;
	    font-weight: 600;
	    color: #555;
	  }
	.mean-container a.meanmenu-reveal {
       padding: 8px;
	}
	button.cart_btn.headers-button {
	    display: inline-block;
	    font-size: 16px;
	    position: relative;
	    transition: 0.5s;
	    outline: none;
	    margin: 0 12px 0 10px;
	    width: 32px;
	    height: 32px;
	    line-height: 32px;
	    border-radius: 23px;
	    background-color: rgba(255, 255, 255, 0);
	    border: 1px solid rgba(30, 30, 30, 0.15);
	}
	
	button.cart_btn.headers-button .cart_counter {
	    top: -8px;
	    right: -12px;
	    color: #fff;
	    font-size: 12px;
	    text-align: center;
	    position: absolute;
	    width: 6px;
	    height: 11px;
	    line-height: 11px;
	    border-radius: 9px;
	    background-color: #1e1e1e;
	    text-transform: uppercase;
	    font-weight: 500;
	    font-family: "Open Sans";
	}
	
	.sticky .search-box-btn.search-box-outer i {	    
	    border: 0px solid rgba(255, 255, 255); 
	}
	
	.cart_sidebar {
	    width: 100%;
	    /*right: 0px;*/
	}

	.user-menu__dropdown{ min-width: 240px; right: -4px; }
	
	.mobile_view {
		display: block;
	}
	.large_view {
		display: none;
	}
	section.feature-area.style-one, .case-study-area.style-one, .blog-area.style-one,
		.course-design-offer-area.style-one, .team-area.style-one,
		.call-to-action.style-one, .testimonial-area.style-oneÑ€, .shop-section {
		padding: 20px 0 20px;
	}
	.call-to-action.style-one {
		margin-top: 20px;
	}
	.carousel-item img {
		object-fit: contain;
		background: #000;
	}
	.mobile-logo {
		width: 20%;
	}
	.mobile-logo a img {
		height: 50px;
		margin-top: -7px;
	}
	.logo_img img {
		float: left;
	}
	.logo_img p {
		float: left;
		width: 50%;
		font-size: 15px;
		margin-left: 15px;
		margin-top: -7px;
	}
	.mean-container .mean-bar {
		background-color: var(--primary-color) !important;
	}
	.search-popup form .form-group {
		max-width: 100%;
	}
	.search-popup form .form-group .category, .search-popup form .form-group input[type="search"]
		{
		font-size: 15px;
	}
	
	.main-home-carousel .owl-item {
		transform: scale(0.94);
		transform-origin: left center;
	}
	.style-one .case-study-single-box {
		padding: 24px 26px 32px;
	}
	.style-one .choose-thumb {
		margin-left: 0px;
	}
	.style-one .course-offer-btn a {
		margin-top: 0px;
		margin-bottom: 10px;
	}
	
	.cat-hero h2 {
		font-size: 24px
	}
	.cat-search {
		flex-direction: column
	}
	.cat-select {
		border-right: 0;
		border-bottom: 1px solid var(--primary-color)
	}
	.cat-input {
		border-left: 0
	}
	.cat-grid {
		grid-template-columns: 1fr
	}
	
	#heroCarousel {
	    margin-top: -34px;
	}
	
}

/* Responsive */
@media (min-width: 576px) and (max-width: 996px) {
	
	.shop-section .product-btn a {
	    display: inline-block;
	    font-size: 16px;
	    line-height: 19px;
	    color: #ffffff;
	    font-weight: 500;
	    font-family: "Open Sans";
	    border-radius: 21px;
	    background-color: #054A49;
	    padding: 7px 15px;
	    transition: 0.5s;
	}

	#heroCarousel {
		margin-top:0px;
	}
	
	.cat-form {
		width:100%;
	}

	.cat-grid {
		grid-template-columns: repeat(1, 1fr)
	}
	.header-top-area {
	  display: none;
	}
	.mean-container .mean-nav {
	    float: left;
	    width: 100%;
	    background: var(--primary-color);
	}
	
	.logo_img img {
	  height:50px;
	}
	
	.sticky .search-box-btn.search-box-outer i {	    
	    border: 0px solid rgba(255, 255, 255); 
	}
	
	.mean-container a.meanmenu-reveal {
       padding: 8px;
	}
	button.cart_btn.headers-button {
	    display: inline-block;
	    font-size: 16px;
	    position: relative;
	    transition: 0.5s;
	    outline: none;
	    margin: 0 12px 0 10px;
	    width: 32px;
	    height: 32px;
	    line-height: 32px;
	    border-radius: 23px;
	    background-color: rgba(255, 255, 255, 0);
	    border: 1px solid rgba(30, 30, 30, 0.15);
	}
	
	button.cart_btn.headers-button .cart_counter {
	    top: -8px;
	    right: -12px;
	    color: #fff;
	    font-size: 12px;
	    text-align: center;
	    position: absolute;
	    width: 6px;
	    height: 11px;
	    line-height: 11px;
	    border-radius: 9px;
	    background-color: #1e1e1e;
	    text-transform: uppercase;
	    font-weight: 500;
	    font-family: "Open Sans";
	}
	
	.mean-container .mean-bar {
		background: var(--primary-color);
	}
	.middle_view {
		display:block;
	}  
	
	#heroCarousel {
	    margin-top: 60px;
	}

}

@media (min-width: 960px) and (max-width: 1400px) {
  .smaill_view {
    width: 35%;
  }
	#heroCarousel {
		margin-top:80px;
		max-height: 420px;
	}

	.middle_view {
		display:block;
	}  
	.shop-section .product-btn a {
	    display: inline-block;
	    font-size: 16px;
	    line-height: 19px;
	    color: #ffffff;
	    font-weight: 500;
	    font-family: "Open Sans";
	    border-radius: 21px;
	    background-color: #054A49;
	    padding: 7px 15px;
	    transition: 0.5s;
	}
}

.home-carousele {
	
}

@media (min-width: 320px) and (max-width: 479px) {
  .sticky {
    position: relative !important;
  }
}
@media (min-width: 480px) and (max-width: 599px) {
  .sticky {
    position: relative !important;
  }
}


.carousel-wrapper { 
	position: relative; 
	width: 100%; 
	margin: auto; 
}
.carousel-prev, .carousel-next {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    font-size: 2.5rem; 
    color: rgba(255,255,255,0.8); 
    cursor: pointer; 
    z-index: 10;
    text-shadow: 0 0 5px rgba(0,0,0,0.5); 
    transition: color 0.3s;
}
.carousel-prev:hover, .carousel-next:hover { 
	color: rgba(255,255,255,1); 
}
.carousel-prev {
	left: 10px; 
}
.carousel-next { 
	right: 10px; 
}
.carousel-container {
 height: 900px !important;
	margin-top:-50px !important;	
}

/* set to flexbox to center the images with the indicator icons */
.carousel-container .carousel-item {
  display: flex;
  align-items: start;
  justify-content: center;
}

.carousel-container .carousel-item img {
 	width: 100% !important;
}
.carousel-container {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}
.carousel-container .carousel-item {
    top: -150px !important;
}
.carousel-container .carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}
.carousel-container .carousel-item {
  transition: transform 0.3s ease-in-out !important;
}
.carousel-main {
	
	position:relative;
}
.carousel-main .indicators {
	position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  
  display: flex;
  gap: 10px; 
  
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10; 
}

.carousel-main .indicator-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-main .indicator-item.active {
  background-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

.carousel-main .indicator-item:hover {
  background-color: rgba(255, 255, 255, 0.8);
}


.home-search-wrapper {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

/* Обвивка на секцията */
.home-search-wrapper {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

/* Самата форма */
.home-cat-form {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
}


.home-cat-form .search-tabs {
    display: flex;
    margin-bottom: -2px;
    margin-left: 16px;
    height: 37px;
}


.home-cat-form .tab-btn {
    border: 1px solid var(--primary-color);
    border-bottom: none;
    background: var(--primary-color);
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 6px 6px 0 0;
    margin-right: 4px;
    color: #fff;
	line-height: normal;
}


.home-cat-form .tab-btn.active {
    background: #fff;
    color: var(--primary-color);
    position: relative;
    z-index: 2; 
}


.home-cat-form .search-row {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 0 6px 6px 6px; 
    overflow: hidden;
    background: #fff;
}


.home-cat-form .cat-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
}

/* Бутон за търсене */
.home-cat-form .cat-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-cat-form .cat-btn:hover {
    background: #046e6c; /* по-тъмен оттенък */
}

.home-cat-form .tab-btn:focus,
.home-cat-form .cat-input:focus,
.home-cat-form .cat-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.subscribe-box button {
    background-color:var(--secondary-color);   
}

.subscribe-box span,
.footer-subcribe-title h3 span,
.footer-contact-address span i,
.footer-widget-blog-content p,
.footer-bottom-desc p a,
.footer-contact-phone p i  {
   
    color: var(--secondary-color);
}

.footer-widget-menu ul li {
  list-style: none;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-widget-menu ul li i {
  color: var(--secondary-color); /* ще е жълто */
  margin-right: 8px;
  font-size: 14px;
}

section.about-area.style-one {
    padding: 0px 0 0px;
}

.style-one .about-thumb-wrapper {
    margin-top: 0;
}

.style-one .calendar-btn {
    display: inline-block;
    margin-top: 20px;
}

.fc .fc-day-today {
  background-color: var(--secondary-color); !important; /* светложълт фон */
  border: 2px solid #febe58 !important; /* жълта рамка */
  font-weight: bold;
}


.fc .fc-today-button {
  background: var(--primary-color) !important;
  border: none !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
}


.fc .fc-today-button:hover {
  background: #046e6c !important; 
}


.fc .fc-prev-button,
.fc .fc-next-button {
  background: var(--primary-color) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 6px 12px;
}


.fc .fc-prev-button:hover,
.fc .fc-next-button:hover {
  background: #046e6c !important;
}



.home-events-list {
  display: flex;
  flex-direction: column;
  gap: 20px; /* разстояние между събитията */
}


.home-event-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  border: 1px solid #eee;
}

.home-event-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.home-event-thumb {
  flex: 0 0 120px; /* фиксирана ширина */
  height: 100%;
  overflow: hidden;
}

.home-event-thumb img {
  width: 120px;
  height: 100%;
  object-fit: cover;
  display: block;
}


.home-event-details {
  padding: 12px 16px;
  flex: 1;
}


.home-event-details h5 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
}

.home-event-details h5 a {
  color: #222;
  text-decoration: none;
  transition: 0.3s;
}

.home-event-details h5 a:hover {
  color: var(--primary-color);
}

/* Метадата – дата, час, място */
.home-event-meta {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px;
  line-height: 1.4;
}

/* Кратко описание */
.home-event-desc {
  font-size: 14px;
  color: #444;
  margin: 0;
  line-height: 1.5;
}

.fc-event-title {
  margin-left: 5px;
}
.fc-event i {
  color: var(--primary-color);
  margin-right: 3px;
}

.fc-event-title, 
.fc-event-main,
.fc-event i  {
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fc-daygrid-event {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: block !important; /* махаме flex-а */
}

.fc-daygrid-event .fc-event-title {
  white-space: normal !important;
}


/* Responsive за мобилни */
@media (max-width: 768px) {
  .home-event-item {
    flex-direction: column;
  }

  .home-event-thumb {
    width: 100%;
    flex: none;
  }

  .home-event-thumb img {
    width: 100%;
    height: 180px; /* фиксирана височина на мобилни */
  }
}

.calendar-legend {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.calendar-legend h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color, #004d40);
}

.calendar-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calendar-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 15px;
  color: #333;
}

.calendar-legend .legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 3px;
}

/* --- Филтри --- */
.filter-select {
  width: 100%;
  padding: 10px 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2300695c' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color, #00695c);
  box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
}

.filter-select option {
  padding: 10px;
  font-size: 15px;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  font-size: 15px;
}

.custom-select {
  position: relative;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select:hover {
  border-color: var(--primary-color, #00695c);
}

.custom-select:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #00695c;
}

.custom-select.open {
  border-color: var(--primary-color, #00695c);
  box-shadow: 0 0 0 3px rgba(0,105,92,0.15);
}

.custom-select-trigger {
  display: block;
  color: #333;
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 10000;
}

.custom-select.open .custom-options {
  display: block;
}

.custom-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-option:hover {
  background: rgba(0,105,92,0.1);
}

.custom-option.selected {
  background: rgba(0,105,92,0.15);
  font-weight: bold;
}

/* --- Събития в календара --- */
.fc-event-title-wrapper {
  position: relative;
  display: block;
  border: 1px solid var(--primary-color);
  padding: 4px 6px 18px 6px; /* оставя място долу за иконките */
  font-size: 0.9rem;
  line-height: 1.3;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
 }

.fc-event-title-text {
  word-wrap: break-word;
  white-space: normal;
	color: #333;
}

.fc-event-icons {
  position: absolute;
  bottom: 3px;
  right: 5px;
  display: flex;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.fc-event-icons i {
  font-size: 13px;
  opacity: 0.9;
}

/* фиксирам височината на клетката за днешния ден */
.fc-daygrid-day.fc-day-today {
  background: #fffde7 !important; /* лек фон ако искаш акцент */
  border: 2px solid var(--primary-color, #00695c) !important;
}

/* махаме излишното разтягане */
.fc .fc-daygrid-day.fc-day-today,
.fc .fc-daygrid-day-frame {
   min-height: auto !important;
   height: auto !important;
}

/* Общ стил за събитията в седмичен/дневен изглед */
.fc-timegrid-event .fc-event-main {
  display: flex;
  flex-direction: column;
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
  background-color: #fff; /* бяло вътре, за четимост */
  border: 1px solid var(--primary-color);
  border-left: 4px solid var(--primary-color); /* индикатор за цвят */
  border-radius: 4px;
}

/* Заглавие */
.fc-timegrid-event .fc-event-title {
  flex: 1;                /* взема свободното място */
  font-weight: 500;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis; /* при прекалено дълъг текст */
  margin-bottom: 2px;
}

/* Контейнер за иконките */
.fc-timegrid-event .fc-event-icons {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--primary-color);
  flex-shrink: 0; /* не се свива */
  margin-top: auto; /* отива най-долу */
}

.fc-timegrid-event {
  min-height: 40px;
}


.fc .fc-timegrid-slot {
  height: 2.5rem; 
}

.floating-menu {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: var(--float-gap, 12px);
  z-index: 10000;
  align-items: flex-end;	
}

.floating-item {
  display: flex;
  align-items: center;
  height: 60px;
  width: 60px; /* старт – само иконка */
  padding: 0 16px 0 18px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  overflow: hidden;
  transition: width .3s ease, box-shadow .3s ease;
}

.floating-item i {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.floating-item span {
  font-size: 16px;
  white-space: nowrap;
  opacity: 0;
  margin-left: 10px;       /* разстояние от иконата */
  visibility: hidden;      /* скриване, за да не бута ширината */
  transition: opacity .3s ease .1s, visibility 0s linear .1s;
}

/* Само текущия бутон */
.floating-item:hover {
  width: 180px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.floating-item:hover span {
  opacity: 1;
  visibility: visible;     /* показва текста */
  transition-delay: .2s;   /* появява се след разширяването */
}



/* По желание – скриване на бутоните на малки екрани */
@media (max-width: 768px){
  .floating-menu{ display: none; }
}

.event-actions-details {
  margin-top: 15px;
  text-align: left;
}

.event-actions {
  display: flex;
  justify-content: right;
  gap: 5px; 
  margin-top: 0px;
  position: relative; 
  z-index: 5;	
  line-height: 1;	
}

.event-btn {
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
}

.event-btn i {
  font-size: 18px;
  color: inherit;
  pointer-events: none; 
}

.event-btn:hover,
.event-btn:focus {
  color: var(--secondary-color);
  outline: none;
}

.event-btn.active {
  color: var(--primary-color);
}

.home-event-actions-details {
  margin-top: 0px;
  text-align: left;
  float:left;
}

.home-event-actions {
  display: flex;
  justify-content: right;
  gap: 5px; 
  margin-top: 0px;
  position: relative; 
  z-index: 5;	
  line-height: 1;	
}

.home-event-btn {
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aaa;
}

.home-event-btn i {
  font-size: 18px;
  color: inherit;
  pointer-events: none; 
}

.home-event-btn:hover,
.home-event-btn:focus {
  color: var(--secondary-color);
  outline: none;
}

.home-event-btn.active {
  color: var(--primary-color);
}

.event-badge {
    display: inline-block;
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
#homeCalendar td {
    position: relative; /* за да може badge да се позиционира вътре */
}

/* Важно: родителят трябва да е relative */
.fc-daygrid-day-frame {
  position: relative;
}

/* Центриране на блока */
.mini-event-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  display: flex;
  flex-direction: column;  /* текст отгоре, иконки отдолу */
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 12px;
  line-height: 1.2;
  gap: 4px;
}

/* Бройката */
.mini-event-badges {
  position: absolute;
  bottom: 2px;
  right: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 90%; /* за да не излизат извън клетката */
}

.mini-event-badge {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.badge-info {
	float:left;
	margin-top: 8px;
    margin-right: 5px;
}
.calendar-legend {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

/* Иконките */
.mini-event-icons i {
  font-size: 14px;
  color: #444;
  margin-left: 6px;
}


.style-inner .event-info-title h3 {
    line-height: 35px;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Показване */
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Съдържание */
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: popupIn 0.3s ease;
}

.popup-content h3 {
  margin-top: 0;
  color: var(--primary-color, #00695c);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #000;
}

/* Анимация */
@keyframes popupIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.popup-toast {
  position: fixed;
  bottom: 100px;
  right: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.popup-toast.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* съдържание */
.popup-toast .popup-content {
  background: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  max-width: 320px;
  text-align: left;
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-left: 5px solid var(--primary-color, #00695c);
  animation: slideIn 0.4s ease;
}

/* заглавие */
.popup-toast .popup-content h3 {
  margin: 0 0 8px;
  color: var(--primary-color, #00695c);
  font-size: 18px;
}

/* close бутон */
.popup-toast .popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.popup-toast .popup-close:hover {
  color: #000;
}

/* анимация */
@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}


/* ОТ ТУК ТРЯБВА ДА СЕ ИЗТРИЕ АКО ЩЕ СЕ ВЪРНАТ БУТОНИТЕ ДОЛУ */
.search-box-btn.search-box-outer i {
    color: white;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid white;
}

button.cart_btn.headers-button {
    background-color: white;
    border: 1px solid rgba(30, 30, 30, 0.15);
}

button.cart_btn.headers-button i {
	color: white;
    background-color: rgba(255, 255, 255, 0);
}

button.cart_btn.headers-button .cart_counter {
    color: var(--primary-color);
    background-color: white;
}


.header-right-wrapper button.cart_btn.headers-button, .header-right-wrapper .user-menu__btn, .header-right-wrapper .domain-menu__btn {
    background: rgba(255, 255, 255, 0);
    border: 1px solid white;
}

.header-right-wrapper .user-menu__btn i, .header-right-wrapper .domain-menu__btn i {
    color: white;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 17px; /* или колкото искаш */
}

.row.header-wrap {
    padding: 0 0px 0 0px;
}

@media ( max-width : 576px) {
	button.cart_btn.headers-button i {
		color: #111;
	}
}

/* ДО ТУК ТРЯБВА ДА СЕ ИЗТРИЕ АКО ЩЕ СЕ ВЪРНАТ БУТОНИТЕ ДОЛУ */

.news-filter-form,
.search-filter-form {
  display: flex;
  gap: 12px;
  align-items: stretch; /* всички еднаква височина */
  flex-wrap: wrap;
}

.search-input,
.news-search-input,
.date-input,
.btn-submit {
  height: 44px;            /* фиксирана височина */
  border-radius: var(--radius);
  font-size: 15px;
  box-sizing: border-box;
}

/* поле за търсене */
.news-search-input {
  flex: 2;
  min-width: 200px;
  padding: 0 14px;
  border:1px solid #ccc;
  border-radius: var(--radius);
  max-width:410px;
}

/* поле за дата */
.date-input {
  flex: 1;
  min-width: 150px;
  padding: 0 12px;
  border: 1px solid #ddd;
  color: #333;
}

/* бутон */
.btn-submit {
  flex: 0;
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  border: none;
  padding: 0 24px;        /* хоризонтално */
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;    /* центриране по височина */
  justify-content: center;
  min-width:150px;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.news-filter-form .btn-submit-right {
  margin-left: auto;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #178a67 0%, #0f4253 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(17, 75, 95, 0.35);
}

/* News listing page spacing: keep enough desktop offset below header. */

/* News filters: make controls wider and easier to use. */
.blog-area.style-one.blog .news-filter-form .news-search-input {
  flex: 1 1 100%;
  max-width: none;
  min-width: 0;
}

.blog-area.style-one.blog .news-filter-form .date-input {
  flex: 1 1 220px;
}

/* News list page: harden top spacing so responsive theme rules do not re-introduce a large gap. */
.news-list-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}

#sticky-header {
  z-index: 2002 !important;
}

#sticky-header .header-menu ul .sub_menu {
  z-index: 2003 !important;
}

.news-list-breadcumb .container.news-container,
.news-list-breadcumb .row,
.news-list-breadcumb .col-lg-12,
.news-list-breadcumb .breadcumb-content,
.news-list-breadcumb .breadcumb-content ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}

.news-list-breadcumb .event-details-title {
  margin: 12px 0 0 !important;
  line-height: 1.15;
}

.news-listing-area {
  margin-top: 0 !important;
  padding-top: 16px !important;
}

.news-listing-area .blog-right-sidebar {
  margin-top: 0 !important;
}
/* News detail page: mirror list-page spacing behavior and isolate mobile fixes. */
.breadcumb-area.news-detail-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}

.news-detail-breadcumb .container.news-container,
.news-detail-breadcumb .row,
.news-detail-breadcumb .col-lg-12,
.news-detail-breadcumb .breadcumb-content,
.news-detail-breadcumb .breadcumb-content ul,
.news-detail-breadcumb .event-details-title,
.news-detail-breadcumb .blog-author {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}

.news-detail-area {
  margin-top: 0 !important;
  padding-top: 8px !important;
}

@media (max-width: 768px) {
  .blog-area.style-one.blog .news-filter-form .date-input,
  .blog-area.style-one.blog .news-filter-form .btn-submit {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  .news-list-breadcumb {
    padding: 10px 0 0 !important;
  }

  .news-list-breadcumb .breadcumb-content,
  .news-list-breadcumb .event-details-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .news-listing-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .news-listing-area .blog-right-sidebar {
    margin-top: 0 !important;
  }

  .news-detail-breadcumb {
    padding: 10px 0 0 !important;
  }

  .news-detail-area {
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .news-detail-breadcumb {
    padding-top: 8px !important;
  }

  .news-detail-breadcumb .breadcumb-content {
    display: block !important;
  }

  .news-detail-breadcumb .breadcumb-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  .news-detail-breadcumb .event-details-title {
    margin-top: 6px !important;
    line-height: 1.15;
  }

  .news-detail-breadcumb .blog-author {
    margin-top: 8px !important;
  }
}

/* ===== Events listing breadcrumb ===== */
.breadcumb-area.events-list-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.events-list-breadcumb .container.news-container,
.events-list-breadcumb .row,
.events-list-breadcumb .col-lg-12,
.events-list-breadcumb .breadcumb-content,
.events-list-breadcumb .breadcumb-content ul,
.events-list-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.events-listing-area { margin-top: 0 !important; padding-top: 16px !important; }

@media (max-width: 768px) {
  .events-list-breadcumb { padding: 10px 0 0 !important; }
  .events-listing-area { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .events-list-breadcumb { padding-top: 8px !important; }
  .events-list-breadcumb .breadcumb-content { display: block !important; }
  .events-list-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .events-list-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

/* ===== Events detail breadcrumb ===== */
.breadcumb-area.events-detail-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.events-detail-breadcumb .container.news-container,
.events-detail-breadcumb .row,
.events-detail-breadcumb .col-lg-12,
.events-detail-breadcumb .breadcumb-content,
.events-detail-breadcumb .breadcumb-content ul,
.events-detail-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.events-detail-area { margin-top: 0 !important; padding-top: 8px !important; }

@media (max-width: 768px) {
  .events-detail-breadcumb { padding: 10px 0 0 !important; }
  .events-detail-area { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .events-detail-breadcumb { padding-top: 8px !important; }
  .events-detail-breadcumb .breadcumb-content { display: block !important; }
  .events-detail-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .events-detail-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

/* ===== Services listing breadcrumb ===== */
.breadcumb-area.services-list-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.services-list-breadcumb .container.news-container,
.services-list-breadcumb .row,
.services-list-breadcumb .col-lg-12,
.services-list-breadcumb .breadcumb-content,
.services-list-breadcumb .breadcumb-content ul,
.services-list-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.educate-details-course-area { margin-top: 0 !important; padding-top: 16px !important; }

@media (max-width: 768px) {
  .services-list-breadcumb { padding: 10px 0 0 !important; }
  .educate-details-course-area { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .services-list-breadcumb { padding-top: 8px !important; }
  .services-list-breadcumb .breadcumb-content { display: block !important; }
  .services-list-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .services-list-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

/* ===== Services detail breadcrumb ===== */
.breadcumb-area.services-detail-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.services-detail-breadcumb .container.news-container,
.services-detail-breadcumb .row,
.services-detail-breadcumb .col-lg-12,
.services-detail-breadcumb .breadcumb-content,
.services-detail-breadcumb .breadcumb-content ul,
.services-detail-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.event-details-area { margin-top: 0 !important; padding-top: 8px !important; }

@media (max-width: 768px) {
  .services-detail-breadcumb { padding: 10px 0 0 !important; }
  .event-details-area { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .services-detail-breadcumb { padding-top: 8px !important; }
  .services-detail-breadcumb .breadcumb-content { display: block !important; }
  .services-detail-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .services-detail-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

  /* ===== Register breadcrumb ===== */
  .breadcumb-area.register-breadcumb {
    display: block !important;
    padding: 96px 0 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    position: relative;
    z-index: 0;
  }
  .register-breadcumb .container.news-container,
  .register-breadcumb .row,
  .register-breadcumb .col-lg-12,
  .register-breadcumb .breadcumb-content,
  .register-breadcumb .breadcumb-content ul,
  .register-breadcumb .event-details-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
  }
  .register-page { margin-top: 0 !important; padding-top: 8px !important; }

  @media (max-width: 768px) {
    .register-breadcumb { padding: 10px 0 0 !important; }
    .register-page { padding-top: 0 !important; }
  }

  @media (max-width: 480px) {
    .register-breadcumb { padding-top: 8px !important; }
    .register-breadcumb .breadcumb-content { display: block !important; }
    .register-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
    .register-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
  }

  /* ===== Login breadcrumb ===== */
  .breadcumb-area.login-breadcumb {
    display: block !important;
    padding: 96px 0 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    position: relative;
    z-index: 0;
  }
  .login-breadcumb .container.news-container,
  .login-breadcumb .row,
  .login-breadcumb .col-lg-12,
  .login-breadcumb .breadcumb-content,
  .login-breadcumb .breadcumb-content ul,
  .login-breadcumb .event-details-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
  }
  .login-page { margin-top: 0 !important; padding-top: 8px !important; }

  @media (max-width: 768px) {
    .login-breadcumb { padding: 10px 0 0 !important; }
    .login-page { padding-top: 0 !important; }
  }

  @media (max-width: 480px) {
    .login-breadcumb { padding-top: 8px !important; }
    .login-breadcumb .breadcumb-content { display: block !important; }
    .login-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
    .login-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
  }

  /* ===== Catalog breadcrumb ===== */
  .breadcumb-area.catalog-breadcumb {
    display: block !important;
    padding: 96px 0 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    position: relative;
    z-index: 0;
  }
  .catalog-breadcumb .container.news-container,
  .catalog-breadcumb .row,
  .catalog-breadcumb .col-lg-12,
  .catalog-breadcumb .breadcumb-content,
  .catalog-breadcumb .breadcumb-content ul,
  .catalog-breadcumb .event-details-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 0 !important;
  }

  @media (max-width: 768px) {
    .catalog-breadcumb { padding: 10px 0 0 !important; }
  }

  @media (max-width: 480px) {
    .catalog-breadcumb { padding-top: 8px !important; }
    .catalog-breadcumb .breadcumb-content { display: block !important; }
    .catalog-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
    .catalog-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
  }

/* ===== Collections listing breadcrumb ===== */
.breadcumb-area.collections-list-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.collections-list-breadcumb .container.news-container,
.collections-list-breadcumb .row,
.collections-list-breadcumb .col-lg-12,
.collections-list-breadcumb .breadcumb-content,
.collections-list-breadcumb .breadcumb-content ul,
.collections-list-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.blog-area.style-one.blog { margin-top: 0 !important; padding-top: 16px !important; }

@media (max-width: 768px) {
  .collections-list-breadcumb { padding: 10px 0 0 !important; }
  .blog-area.style-one.blog { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .collections-list-breadcumb { padding-top: 8px !important; }
  .collections-list-breadcumb .breadcumb-content { display: block !important; }
  .collections-list-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .collections-list-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

/* ===== Collections detail breadcrumb ===== */
.breadcumb-area.collections-detail-breadcumb {
  display: block !important;
  padding: 96px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
}
.collections-detail-breadcumb .container.news-container,
.collections-detail-breadcumb .row,
.collections-detail-breadcumb .col-lg-12,
.collections-detail-breadcumb .breadcumb-content,
.collections-detail-breadcumb .breadcumb-content ul,
.collections-detail-breadcumb .event-details-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}
.blog-details-area { margin-top: 0 !important; padding-top: 8px !important; }

@media (max-width: 768px) {
  .collections-detail-breadcumb { padding: 10px 0 0 !important; }
  .blog-details-area { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .collections-detail-breadcumb { padding-top: 8px !important; }
  .collections-detail-breadcumb .breadcumb-content { display: block !important; }
  .collections-detail-breadcumb .breadcumb-content ul { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .collections-detail-breadcumb .event-details-title { margin-top: 6px !important; line-height: 1.15; }
}

.header-btn a {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.header-btn a:hover {
  background: linear-gradient(135deg, #178a67 0%, #0f4253 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 75, 95, 0.35);
}

.style-one .about-btn a {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.style-one .about-btn a:hover {
  background: linear-gradient(135deg, #178a67 0%, #0f4253 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 75, 95, 0.35);
}

.style-one .about-btn a::before,
.style-one .about-btn a:hover::before {
  background: transparent;
}

.shop-section .product-btn a {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%) !important;
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.shop-section .product-btn a:hover {
  background: linear-gradient(135deg, #178a67 0%, #0f4253 100%) !important;
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 75, 95, 0.35);
}

.blog-right-sidebar::before {
	background: none;
}

/*.style-one .single-blog-thumb img {
	height:241px;
}*/

.style-one .single-blog-box {
	min-height:441px;
}


.single-blog-box {
  display: flex;
  flex-direction: column;
  height: 100%; /* всички да са еднакво високи */
}

.blog-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* да заема останалата височина */
}

.blog-btn {
  margin-top: auto; /* избутва бутона най-долу */
}

/* News listing visual refresh */
.blog-area.style-one.blog .single-blog-box {
  background: linear-gradient(160deg, #eef8f4 0%, #f5fbf9 45%, #ecf6f5 100%);
  border: 1px solid rgba(17, 75, 95, 0.12);
  box-shadow: 0 10px 28px rgba(17, 75, 95, 0.08);
}

.blog-area.style-one.blog .single-blog-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 75, 95, 0.14);
}

.blog-area.style-one.blog .blog-meta-top span {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.blog-area.style-one.blog .blog-btn a {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
  font-weight: 600;
}

.blog-area.style-one.blog .blog-btn a img {
  filter: brightness(0) invert(1);
}

.blog-area.style-one.blog .blog-btn a:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 75, 95, 0.35);
  transform: translateY(-2px);
}

/* Years-ago badge (rubrics calendar category) */
.years-ago-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

.years-ago-badge span {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #c0832a 0%, #8b5e1a 100%);
  border-radius: 16px;
  padding: 2px 14px;
  box-shadow: 0 4px 12px rgba(192, 131, 42, 0.45);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Archive badge for past competitions */
.competition-archive-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.competition-archive-badge span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
  border-radius: 16px;
  padding: 3px 14px;
  box-shadow: 0 4px 10px rgba(55, 65, 81, 0.40);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Years-ago badge on detail page */
.detail-years-ago {
  list-style: none;
}

.years-ago-badge-detail {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #c0832a 0%, #8b5e1a 100%);
  border-radius: 16px;
  padding: 3px 16px;
  box-shadow: 0 4px 12px rgba(192, 131, 42, 0.40);
  letter-spacing: 0.3px;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 10px;
  font-size: 16px;
}

/* Home page: Последно в новини */
.blog-area.style-one .main-home-carousel .single-blog-box {
  background: linear-gradient(160deg, #eef8f4 0%, #f5fbf9 45%, #ecf6f5 100%);
  border: 1px solid rgba(17, 75, 95, 0.12);
  box-shadow: 0 10px 28px rgba(17, 75, 95, 0.08);
}

.blog-area.style-one .main-home-carousel .single-blog-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 75, 95, 0.14);
}

.blog-area.style-one .main-home-carousel .blog-meta-top span {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
}

.blog-area.style-one .main-home-carousel .blog-btn a {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(26, 147, 111, 0.3);
  font-weight: 600;
}

.blog-area.style-one .main-home-carousel .blog-btn a img {
  filter: brightness(0) invert(1);
}

.blog-area.style-one .main-home-carousel .blog-btn a:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 75, 95, 0.35);
  transform: translateY(-2px);
}

.educate-details-course-area.style-inner.details {
    background-color: #fff;
    padding: 30px 0 30px;
}

.style-inner .event-info-btn a {
    padding: 13px 55px;
}

.style-inner .event-info-btn {
    margin: 37px 0 40px;
    text-align: center;
}

.news-gallery {
  margin-top: 20px;
}

.news-gallery .main-image {
  text-align: center;
}

.news-gallery .main-image img {
  max-width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s;
}

.blog-details-area .blog-thumb {
  text-align: center;       /* Центрира съдържанието */
}

.blog-details-area .blog-thumb img {
  display: block;
  margin: 0 auto;
  max-height: 550px;
  width: auto;         /* нормално – пази пропорции */
  max-width: 100%;     /* да не излиза от контейнера */
  height: auto;
}

.image-wrapper {
  max-height: 550px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.news-gallery .thumbs
 {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;     /* хоризонтален скрол */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.news-gallery .thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s;
}

.news-gallery .thumbs img {
  flex: 0 0 auto;       /* да не се свиват */
  scroll-snap-align: start;
}

.news-gallery .thumbs img:hover,
.news-gallery .thumbs img.active {
  opacity: 1;
  transform: scale(1.05);   /* лека анимация */
  border: 2px solid var(--primary-color);
}

.image-toolbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  padding: 10px 0;
  background: var(--primary-color);
  border-radius: 8px;
}

.tool-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.3s;
}

.tool-btn i {
  font-size: 20px;
  color: #fff;
}

/* popup */
.image-popup {
  display: none;
  position: fixed;
  z-index: 20000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
}

.image-popup img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.image-popup .close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.image-popup .prev,
.image-popup .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  user-select: none;
  transition: 0.3s;
}

.image-popup .prev { left: 20px; }
.image-popup .next { right: 20px; }

.image-popup .prev:hover,
.image-popup .next:hover {
  color: #ddd;
}

.style-inner .event-details-thumb-smal img {
    width: auto;
}

.fc .fc-toolbar-title {
	font-size: 1.25em;
}


.event-buy-area {
  padding: 50px 0;
}

.event-summary-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-summary-box .event-thumb img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.event-info {
  flex: 1;
}

.event-info .event-title {
  margin: 0 0 15px;
  font-size: 26px;
  color: var(--title-color, #222);
  font-weight: 600;
}

.event-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #555;
}

.event-meta li {
  margin-bottom: 8px;
}

.event-meta i {
  color: var(--primary-color, #054A49);
  margin-right: 8px;
}

/* Форма */
.ticket-form-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ticket-form-box h3 {
  margin-bottom: 20px;
  color: var(--primary-color, #054A49);
}

.ticket-form .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.ticket-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus {
  border-color: var(--primary-color, #054A49);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5,74,73,0.15);
}

.buy-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color, #054A49);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s ease;
}

.buy-btn:hover {
  background: #046e6c;
}

.buy-btn2 {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #aaa;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s ease;
}

.buy-btn2:hover {
  color:var(--secondary-color);
}


.success-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


.style-inner .event-info-btn-small a {
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--color-white);
    font-weight: 500;
    border-radius: 30px;
    background-color: var(--primary-color);
    padding: 3px 25px;
    position: relative;
    z-index: 1;
}

#freeRooms {
	margin-top:15px;
}

.event-cover {
    width: 72px;
    height: 96px;
    background: #f3f7f6;
    border: 1px solid #e9f2f0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--primary-color);
    flex: 0 0 72px;
	margin: 15px 15px;
}

.room-schedule .schedule-label {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-color);
}

.schedule-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-timeline .slot {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 13px;
  min-width: 50px;
  text-align: center;
  cursor: default;
  position:relative;
}

.schedule-timeline .slot.free {
  background: #e8f9f3;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.schedule-timeline .slot.busy {
  background: #fcebea;
  color: #dc3545;
  border: 1px solid #dc3545;
}

/* tooltip */
.schedule-timeline .slot[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%; /* над елемента */
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}

.schedule-timeline .slot[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.collection-section {
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  border: 1px solid #d7efe5;
}

.box-1 {
	background-color:#f1f9fc;
}

.box-2 {
	background-color:#f0fbf8;
}

.section-sub-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collection-section .section-sub-title h6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 4px;
  margin: 0;
}

/* Align the decorative bullet with heading text across the default section subtitle pattern. */
body .section-sub-title.section-sub-title:not(.four):not(.six) h6 {
  line-height: 1.2;
}

body .section-sub-title.section-sub-title:not(.four):not(.six) h6::before {
  top: 50%;
  transform: translateY(-50%);
}

/*.section-sub-title h6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 4px;
}*/

.section-sub-title .btn-view-all {
  margin-left: auto; /* осигурява изместване вдясно */
}

.btn-view-all {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #046e6c; /* по-тъмен нюанс */
  color: #fff;
}

.collection-footer {
	margin-top:-10px;
}

.fc-daygrid-day.fc-day-today {
    background: #fffde7 !important;
    outline: 2px solid var(--primary-color, #00695c) !important;
    outline-offset: -2px; /* за да стои като border */
}
.collection-section {
  position: relative;
}
.collection-section .row{
  position: relative;
}

.collection-section .col-xl-4 {
   position: absolute;
  width: 25%;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.single-blog-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.single-blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.style-inner .event-sidebar::before {
	max-width:100%;
}
.style-one .single-blog-thumb {
	/*height:100%;*/
}
.blog-author {
	margin-top:20px;
	font-size:14px;
}
.number-wrapper {
  position: relative;
  display: inline-block;
}

.number-wrapper input[type=number] {
  -moz-appearance: textfield; /* премахва Firefox стрелките, защото ще имаме свои */
}

.number-wrapper input::-webkit-inner-spin-button,
.number-wrapper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.arrows {
  position: absolute;
  right: 10px;
  top: 2px;
  bottom: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 10px;
  user-select: none;
}

.arrows div {
  cursor: pointer;
  line-height: 1;
  text-align: center;
}
.blog-author li {
	width: auto;
	float: left;
	margin-right: 20px;
}
.blog-author li.detail-calender-share {
	float: right;
	margin-right: 0;
}

.blog-author .detail-calender-share button,
.blog-author .detail-calender-share a {
	float:right;
	margin-right:10px;
	cursor: pointer;
	font-size: 14px;
	color: #555;
    transition: color 0.2s;
}
.custom-option-template {
	display:none;
}


.style-one .single-collection-box {
    border-radius: 20px;
    transition: 0.5s;
    padding: 5px;
    overflow: hidden;
}

.style-one .single-collection-box.box-2 {
    background-color: #f0fbf8;
}

.style-one .single-collection-box.box-3 {
    background-color: #fdf7f3;
}

.style-one .single-collection-thumb {
   transition: 0.5s;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.style-one .single-collection-thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
}

.style-one .single-collection-box:hover .single-blog-thumb::before {
    animation: shine 800ms;
}

.style-one .single-collection-thumb img {
    border-radius: 20px;
    width: 100%;
}

.style-one .collection-meta-top span {
    display: inline-block;
    font-size: 14px;
    color:var(--color-white);
    font-weight: 500;
    font-family: "Open Sans";
    border-radius: 16px;
    background-color:var(--tertiary-color);
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 2px 18px;
}

.style-one .single-collection-box.box-2 .blog-meta-top span {
    background-color:var(--primary-color);
}

.single-collection-box.box-3 .collection-meta-top span {
    background-color:var(--secondary-color);
}

.style-one .collection-content {
    padding: 0 10px 0;
}

.style-one .collection-author h4 {
    font-size: 16px;
    line-height: 30px;
    color:var(--title-color);
    font-weight: 500;
    margin: 30px 0 18px;
}

.style-one .collection-author h4 img {
    margin-right: 10px;
}

.style-one .collection-title h3 a {
    display: inline-block;
    font-size: 18px;
    line-height: 28px;
    color:var(--title-color);
    font-weight: 600;
    font-family: "Open Sans";
    transition: 0.5s;
}

.style-one .collection-title p {
    font-size: 12px;
}

.style-one .collection-title h3 a:hover{
    color: var(--tertiary-color);
}

.style-one .single-collection-box.box-2 .collection-title h3 a:hover{
    color: var(--primary-color);
}

.style-one .single-collection-box.box-3 .collectiong-title h3 a:hover{
    color: var(--secondary-color);
}

.style-one .single-collection-box .collection-btn {
  display: flex;
  justify-content: flex-end; /* стрелката да е вдясно */
}

.style-one .single-collection-box .collection-btn a {
  background: none;         /* махаме зеления фон */
  border: none;             /* без рамка */
  color: #054A49;           /* тъмнозелен цвят на стрелката */
  font-size: 22px;          /* малко по-голяма стрелка */
  padding: 0;
  margin: 0;
  transition: color 0.3s ease;
  box-shadow: none;
}

.style-one .single-collection-box .collection-btn a::before {
  display: none; /* махаме декоративния фон от before */
}

.style-one .single-collection-box .collection-btn a:hover {
  color: #20C997; /* по-светлозелена стрелка при hover (по желание) */
  transform: translateX(2px); /* леко движение надясно при hover */
}

.style-one .single-collection-box .collection-btn a i {
  margin: 0;
}

.style-one .single-collection-box.box-2 .collection-btn a::before {
    background:var(--primary-color);
}

.style-one .single-collection-box.box-3 .collection-btn a::before {
    background:var(--secondary-color);
}

.style-one .collection-btn a:hover{
    color:var(--color-white);  
}

.style-one .collection-btn a:hover img{
    filter: brightness(0) invert(1);  
}

.event-adult { background-color: var(--event-adult); }
.event-children { background-color: var(--event-children); }
.event-all-ages { background-color: var(--event-all-ages); }
.event-training { background-color: var(--event-training); }

.element-error {
	color:red;
}

.page-details-content {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.page-details-content h1,
.page-details-content h2,
.page-details-content h3,
.page-details-content h4 {
  color: var(--title-color);
  font-weight: 600;
  margin: 1.5em 0 0.6em;
}

.page-details-content h1 { font-size: 36px; }
.page-details-content h2 { font-size: 28px; border-bottom: 2px solid var(--primary-color); padding-bottom: 6px; }
.page-details-content h3 { font-size: 22px; color: var(--primary-color); }
.page-details-content h4 { font-size: 18px; color: var(--secondary-color); }

.page-details-content p {
  margin-bottom: 1.2em;
  color: var(--text-color);
}

.page-details-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-details-content a:hover {
  color: var(--secondary-color);
}

.page-details-content ul,
.page-details-content ol {
  margin: 1em 0 1.2em 2em;
  padding: 0;
}

.page-details-content ul li,
.page-details-content ol li {
  margin-bottom: 0.5em;
  line-height: 1.6;
  position: relative;
}

.page-details-content ul li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -1.2em;
}

.page-details-content ol {
  list-style: decimal;
}

.page-details-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 10px 20px;
  margin: 20px 0;
  background: #f9fdfb;
  color: #333;
  font-style: italic;
  border-radius: 6px;
}

.page-details-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 15px 0;
  display: block;
}

.page-details-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.page-details-content th,
.page-details-content td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
}

.page-details-content th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.page-details-content td {
  background: #fafafa;
}

.page-details-content hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

.page-details-content a.button-link {
  display: inline-block;
  background: var(--primary-color);
  color: #fff !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-details-content a.button-link:hover {
  background: var(--secondary-color);
}
.sa-button-container .btn-default {
	background-color:#054A49;
}
.sa-button-container .btn-primary {
	background-color:red;
}
.sweet-alert {
	width:500px !important;
}
a.btn.btn-dark {
  background: var(--primary-color);
}
.inner_section .profile .form-box input {
	margin-top:0px;
}

/* ---------- Language Switch ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn.active {
  background: #fff;
  color: var(--primary-color);
}

/* Когато хедърът стане sticky (светъл фон) */
.sticky .lang-btn {
  border: 1px solid rgba(30, 30, 30, 0.15);
  color: var(--title-color);
}

.sticky .lang-btn:hover,
.sticky .lang-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.course-details-thumb img {
	width:100%;
}
.select2 {
  width: 100% !important;
}
.select2-container .select2-selection--single {
	height:45px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height:40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height:45px !important;
}
.table-step-2 tr, .table-step-2 td {
	border:1px solid #0a7572;
}
/* Services carousel — equal card heights, fixed image, clamped text */
.services-carousel.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.services-carousel.owl-carousel .owl-item {
  display: flex;
}

.services-carousel .item {
  display: flex;
  width: 100%;
}

.services-carousel .single-team-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.services-carousel .team-thumb {
  height: 200px;
  flex-shrink: 0;
}

.services-carousel .team-thumb::before {
  background-image: linear-gradient(0deg, rgba(17, 75, 95, 0.95) 0%, rgba(26, 147, 111, 0.85) 40%, rgba(26, 147, 111, 0) 100%);
}

.services-carousel .team-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-carousel .team-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 12px;
}

.services-carousel .team-title h3 {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.services-carousel .team-sub-title p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  min-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* News type filter buttons (Национални / Световни) */
.news-type-filter {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.news-type-filter .type-btn {
  padding: 6px 20px;
  border-radius: 20px;
  border: 2px solid #1a936f;
  background: transparent;
  color: #1a936f;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-type-filter .type-btn:hover,
.news-type-filter .type-btn.active {
  background: linear-gradient(135deg, #1a936f 0%, #114b5f 100%);
  color: #fff;
  border-color: transparent;
}
