/*
Theme Name: Vinfast
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* product-detail */
ul.tabs.wc-tabs li a {
  display: inline-block;
  max-width: 10ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* custom product-tabs */
.product-title{
	color: #011f6a;
}

ul.tabs.wc-tabs.product-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
   border-bottom: 2px solid #ccc;
  scrollbar-width: auto;
  overflow-y: hidden; /* Ẩn thanh cuộn dọc */
}
ul.tabs.wc-tabs.product-tabs a{
	color: #011f6a;
}

.myedit-product-detail-left{ /* border ben trai cuar khuyen mai */
	border-left:3px dashed #e9e9e9;
}

.myedit-product-detail-left .col{ /* Thay doi lai padding */
	padding: 0 0 15px 0p;
}
.myedit-product-detail-left p {
  padding-bottom: 0 !important;
  margin-bottom: 6px; /* có thể chỉnh nhỏ lại thay vì bị đè quá sát */
}

/* product card */
.vinfast-product-card a:hover {
    text-decoration: underline;
}

.vinfast-product-card .price ins {
    text-decoration: none !important;
}
.product-name{
	color:#011f6a;
	font-size:18px !important;
	font-weight:bold;
}

body.post-type-archive-product .box-image,
body.woocommerce .box-image {
  padding: 10px !important;
}
/* product page */
.woocommerce ul.products.columns-4 li.product {
    margin-bottom: 20px !important;
    padding: 0 10px;
}
.products .product {
  padding: 0 20px; /* chỉnh khoảng cách theo chiều dọc */ 
}

/* Home button primary contact */
a.button.primary.lowercase {
  margin:0;
}

/* Blog Page */
.ux-search-submit{
	background-color: #011a6f !important;
}

/* Home page  */
.section-title-normal span{
	margin:0;
}

/* Blog title */
.post-title a{
	display: -webkit-box;
  -webkit-line-clamp: 3;     /* Số dòng muốn hiển thị */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

form.wpcf7-form .form-full:last-of-type p {
    height: 10px !important;
}

/* CSS cho máy tính bảng (tablet) */
@media only screen and (min-width: 48em) and (max-width: 64em) {
  /*************** CSS CHO TABLET  ***************/
	#menu-menu-chinh-1 .menu-item a{
		padding-left: 0 !important;
	}
	#block_widget-2 img{
		width:100px;
	}
	.product-name{
		flex-direction:column;
		text-align: center;
	}
	.product-detail{
		flex-direction:column;
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.myedit-button-chatzalo{
		margin-top:8px !important;
	}
	#menu-menu-chinh-1 .menu-item a{
		padding-left: 0 !important;
	}
	.product-name{
		flex-direction:column;
		text-align: center;
	}
	.product-detail{
		flex-direction:column;
	}
	  .only-desktop { display: none !important; }
  .only-mobile { display: block !important; }
  }
}

.only-desktop { display: block; }
.only-mobile { display: none; }

