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

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


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.cat-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.cat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 0 auto;
}

.cat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-5px);
}

.cat-card-thumb {
  position: relative;
/*   height: 220px; */
	aspect-ratio: 4 / 3;
}

.cat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-thumb .price-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--navy, #0e315d);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.cat-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-card-title {
  margin: 0 0 12px 0;
  font-size: 20px;
}

.cat-card-title a {
  color: var(--navy, #0e315d);
  text-decoration: none;
}

.cat-card-desc {
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.cat-card-features {
  color: #8c9ba5;
  font-size: 13.5px;
  margin-bottom: 20px;
  margin-top: auto;
  line-height: 1.6;
}

.cat-card-btn {
  color: #e34234;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.cat-card-btn:hover {
	color: var(--navy);
}

/* Styling cho Thẻ sản phẩm */
ul.products li.product {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px !important;
  border: 1px solid #f0f0f0;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Ảnh sản phẩm */
ul.products li.product img {
  border-radius: 0 !important;
  margin-bottom: 15px !important;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* Tên sản phẩm */
.woocommerce-loop-product__title a {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--sky); /* Màu xanh đậm giống hình mẫu */
  padding: 0 !important;
  margin-bottom: 14px !important;
  line-height: 1.3;
}

/* Danh sách chi tiết Meta */
.product-custom-meta {
  list-style: none !important;
  padding: 0  !important;
  margin: 0 0 20px 0 !important;
}

.product-custom-meta li {
  display: flex !important;
  align-items: flex-start;
  font-size: 14px;
  color: #333333;
  margin-bottom: 8px !important;
  line-height: 1.5;
	margin-left: 0 !important;
}

.product-custom-meta li .icon {
  width: 20px;
  min-width: 20px;
  color: var(--navy);
  margin-right: 8px;
  margin-top: 3px;
  text-align: center;
  font-size: 14px;
}

.product-custom-meta li strong {
  font-weight: 600;
  color: var(--navy);
}

/* Nút Đọc Tiếp */
.product-card-action {
  padding: 0 18px;
}
.d-none {
	display: none;
}
.product-card-action .btn-readmore {
  display: inline-block;
  background-color: var(--navy); /* Màu xanh navy nút đọc tiếp */
  color: #ffffff !important;
  padding: 10px 22px;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.product-card-action .btn-readmore:hover {
  background-color: var(--sun);
}
.woocommerce-loop-product__title a:hover {
	color:  var(--sun);
}


.booking-form-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

.booking-form-wrapper .form-title {
  color: #0e315d;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-align: left;
}

.booking-form-wrapper .form-subtitle {
  color: #718096;
  font-size: 13.5px;
  margin: 0 0 16px 0;
  text-align: left;
}

.booking-form-wrapper label {
  display: block;
  font-weight: 700;
  color: #0e315d;
  font-size: 14px;
  margin-bottom: 6px;
}

.booking-form-wrapper .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;;
}

.booking-form-wrapper .form-col {
  flex: 1;
}

.booking-form-wrapper .form-group {
  margin-bottom: 16px;
}

.booking-form-wrapper input[type="text"],
.booking-form-wrapper input[type="tel"],
.booking-form-wrapper input[type="date"],
.booking-form-wrapper select,
.booking-form-wrapper textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #2d3748;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
	box-shadow: none;
	margin-bottom: 5px;
	    height: 45px;
}

.booking-form-wrapper input:focus,
.booking-form-wrapper select:focus,
.booking-form-wrapper textarea:focus {
  border-color: #38b6ff;
  background-color: #fff;
}

.booking-form-wrapper textarea {
  resize: vertical;
  min-height: 70px;
}

/* Custom nút Submit màu cam đỏ có Box Shadow */
.booking-form-wrapper input[type="submit"] {
  width: 100%;
  background: #ff4a38;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 14px 20px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 74, 56, 0.35);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.booking-form-wrapper input[type="submit"]:hover {
  background: #e03827;
  box-shadow: 0 10px 25px rgba(255, 74, 56, 0.45);
  transform: translateY(-1px);
}

.booking-form-wrapper .sub-note {
  text-align: center;
  color: #a0aec0;
  font-size: 12px;
  margin-top: 25px;
  margin-bottom: 0;
}

/* Định dạng lỗi Contact Form 7 */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
}

.wpcf7-response-output {
  border-radius: 10px !important;
  font-size: 13px !important;
  text-align: center;
}

.wpcf7-spinner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}



/* Tiêu đề cột */
.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #0e315d;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #eef2f5;
  padding-bottom: 12px;
}

.footer-title .icon {
  font-size: 16px;
}

/* Cột 1: Giới thiệu */
.footer-text p {
  margin-bottom: 12px;
  text-align: justify;
	font-size: 14px;
}
.footer-text strong {
	color: var(--sky);
}
/* Cột 2: Hotline & Chat */
.footer-contact .address {
  margin-bottom: 20px;
}
.footer-contact .address i, .footer-contact .address strong, .working-hours strong {
	color: var(--navy);
}
.hotline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hotline-box {
  border: 1.5px solid #0e315d;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hotline-box:hover {
  background-color: #0e315d;
}

.hotline-box .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #0e315d;
  letter-spacing: 0.5px;
}

.hotline-box .number {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0e315d;
}

.hotline-box:hover .label,
.hotline-box:hover .number {
  color: #ffffff;
}

/* Nút Chat Zalo & Facebook */
.chat-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-chat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f0f4f8;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 12.5px;
  transition: transform 0.2s;
}

.btn-chat:hover {
  transform: translateY(-2px);
}

.btn-chat img {
  width: 22px;
  height: 22px;
}

/* Mạng xã hội */
.working-hours {
  margin-bottom: 20px;
  color: #555;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.85;
	color: white !important;
}

.social-icon.facebook { background: #1877f2; }
.social-icon.tiktok { background: #000000; }
.social-icon.youtube { background: #ff0000; }

/* Cột 3: STK & Bộ công thương */
.bank-card {
  text-align: center;
}

.qr-code img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  margin-bottom: 12px;
}

.bank-info p {
  margin: 4px 0;
  font-size: 13.5px;
}

.stk-highlight {
  color: var(--sun);
  font-weight: 700;
  font-size: 15px;
}

.bocongthuong {
  margin-top: 20px;
  text-align: center;
}

.bocongthuong img {
  height: 45px;
}


