#pages .elementor-widget-text-editor p:not(:last-child),
#pages .elementor-widget-text-editor ul li:not(:last-child),
#pages .elementor-widget-text-editor ol li:not(:last-child){
    margin-bottom: 2.4rem;
}
 
.single .elementor-widget-text-editor p:not(:last-child),
.single .elementor-widget-text-editor ul li:not(:last-child),
.single .elementor-widget-text-editor ol li:not(:last-child){
    margin-bottom: 2.4rem;
}
.single .elementor-widget-text-editor img,
.single .elementor-widget-text-editor video,
.single .elementor-widget-text-editor iframe{
  max-width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.archive .elementor-widget-text-editor p:not(:last-child),
.archive .elementor-widget-text-editor ul li:not(:last-child),
.archive .elementor-widget-text-editor ol li:not(:last-child){
    margin-bottom: 2.4rem;
}
@media(min-width:1024px){
    #pages .elementor-widget-text-editor p:not(:last-child),
    #pages .elementor-widget-text-editor ul li:not(:last-child),
    #pages .elementor-widget-text-editor ol li:not(:last-child){
        margin-bottom: 2.8rem;
    } 
    .single .elementor-widget-text-editor p:not(:last-child),
    .single .elementor-widget-text-editor ul li:not(:last-child),
    .single .elementor-widget-text-editor ol li:not(:last-child){
        margin-bottom: 2.8rem;
    }
    .archive .elementor-widget-text-editor p:not(:last-child),
    .archive .elementor-widget-text-editor ul li:not(:last-child),
    .archive .elementor-widget-text-editor ol li:not(:last-child){
        margin-bottom: 2.8rem;
    }
}


/* Container chứa ảnh - cố định kích thước */
.container-images {
  position: relative;
  width: 100%;
  padding-bottom: 100%; 
  overflow: hidden;
}

/* Các ảnh nằm trong container và được căn chỉnh */
.container-images [id^="acor_"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: block; 
}
.elementor-element-6e51ea8{
    aspect-ratio: 1/1;
}

.container-images [id^="acor_"].active {
  opacity: 1;
}

.container-images [id^="acor_"] img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}
.khoi_acco  .elementskit-accordion .elementskit-card-header>.elementskit-btn-link{
    color: #fff!important;
    background-color: transparent!important;
}
@media (max-width: 1024px){
    .ekit-wid-con .ekit_accordion_icon_group{
        margin-right: 10px!important;
    }

}

	

.wpcf7-form .label-text{
    font-size: 16px;
    color: #000;
    font-weight: 500;
    margin-bottom: 12px;
}
.wpcf7-not-valid-tip {
  font-size: 16px;
  margin-bottom: 12px;
}	
.wpcf7-form .wpcf7-submit{
	background-color: rgb(53, 53, 53);
	height: 100%;
	width: 100%;
	border-radius: 6px;
	font-size:16px;
	color: #fff;
	font-weight: 600;
}
@media (min-width: 1024px){
  .wpcf7-form .label-text{
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .wpcf7-not-valid-tip {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }	
  .wpcf7-form .wpcf7-submit{
    font-size:1.4rem;
  }
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select{
    width: 100%;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.wpcf7-response-output{
    border: unset;
    margin: unset;
    padding: unset;	
}

#filter_sp .wpc-filters-scroll-container .wpc-filters-widget-wrapper{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#filter_sp .wpc-filter-title{
  font-size: 18px;
  font-family: initial;
  font-weight: 500;
}
#filter_sp .wpc-filters-widget-select{
  outline: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}


/* Popup overlay */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Nội dung popup */
.popup-inner {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

/* Nút đóng */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}


/* Ẩn popup mặc định */
.popup_map {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none!important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  
  
}


/* Khi active thì hiện */
.popup_map.active {
  display: flex!important;
  opacity: 1;
  top: 50%!important;
  left: 50%!important;
  transform: translate(-50%,-50%)!important;
}

/* Nội dung popup */
.popup_map .e-con-inner {
  background: #fff;
  padding: 0;
  border-radius: 12px;
  width: 70%;         
  height: 600px;   
  min-width: 320px;   
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: popupZoom 0.3s ease;
  text-align: center;
}

/* Nút đóng popup */
.close_popup_map {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 22px;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
	
    z-index: 99;
}
.close_popup_map svg{
	fill:#656565!important;
}

.close_popup_map:hover {
  color: #000;
}

/* Hiệu ứng xuất hiện nhẹ */
@keyframes popupZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Icon map (float ở góc) */
.icon_map {
  
  transition: background 0.3s ease, transform 0.3s ease;
}

.icon_map:hover {
  background: #005bb5;
  transform: scale(1.05);
}
.box_map_1{
    display: flex;
}
.box_map_1 div{
    text-align: left;
}
@media(max-width:1024px){
	.popup_map .e-con-inner {
	  width: 90%!important;         
	  height: 800px!important;   
	}
	.popup_map .elementkit-tab-wraper{
		display: flex;
    	flex-direction: column-reverse;
		padding: 0!important;
	}
	.popup_map.active {
		top: 40% !important;
	}
	.close_popup_map{
		position: absolute!important;
		right: 10px;
		top: 10px;
	}
}
.type-san_pham .elementor-post__thumbnail{
	aspect-ratio: 4 / 3;
	overflow: hidden;
	display:flex;
	justify-content: center;
	align-items: center;
}
.type-san_pham .elementor-post__thumbnail img{
	width: 100%;
    height: 100%;
    object-fit: contain;
}
p.wp-caption-text{
	text-align:center;
}
.elementor-widget-archive-posts .elementor-button{
	background-color: #333!important;
}