/*
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.   ***************/
/* Card container */
.product-small.box {
  border: 1px solid rgba(215, 178, 76, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.product-small.box:hover {
  border-color: rgba(215, 178, 76, 0.6);
  box-shadow: 0 4px 16px rgba(215, 178, 76, 0.12);
}

/* Image — subtle gold overlay on hover */
.product-small.box .box-image {
  position: relative;
  overflow: hidden;
}

.product-small.box .box-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(215, 178, 76, 0.06);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.product-small.box:hover .box-image::after {
  opacity: 1;
}

/* Image zoom nhẹ */
.product-small.box .box-image img {
  transition: transform 0.3s ease;
}

.product-small.box:hover .box-image img {
  transform: scale(1.04);
}

/* Text area */
.product-small.box .box-text-products {
  padding: 10px 12px;
  border-top: 1px solid rgba(215, 178, 76, 0.15);
  background: linear-gradient(to bottom, #fff, rgba(215, 178, 76, 0.03));
}

/* Product title */
.product-small.box .product-title a {
  color: #3a3a3a;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.product-small.box .product-title a:hover {
  color: #d7b24c;
}

/* Price */
.product-small.box .price {
  color: #d7b24c;
  font-weight: 600;
  font-size: 14px;
}

.product-small.box .price bdi {
  color: #d7b24c;
}
/* Section title wrapper */
.section-title.section-title-center {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

/* Xóa border mặc định của Flatsome */
.section-title b {
  opacity: 0;
}

/* Main title */
.section-title-main {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 3px;
  color: #3a3a3a;
  text-transform: uppercase;
  display: inline-block;
  padding: 0 2rem;
  position: relative;
}

/* Đường kẻ vàng fade hai bên */
.section-title-center .section-title-main::before,
.section-title-center .section-title-main::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(215, 178, 76, 0.7));
}

.section-title-center .section-title-main::before {
  right: 100%;
  background: linear-gradient(to left, transparent, rgba(215, 178, 76, 0.7));
}

.section-title-main::after {
  left: 100%;
}
.section-title + a,
.button-section a[href],
a:has(.icon-angle-right) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a3a3a;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(215, 178, 76, 0.5);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.box-blog-post {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    transition: all 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.box-blog-post .box-text {
    padding: 10px 15px;
}
h5.post-title {
    height: 44px;
}
.box-blog-post .is-divider {
	display: none;
}
.post-sidebar {
    border: none !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
}
.post-sidebar #secondary {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.post-sidebar .widget {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 22px 22px 20px;
    overflow: hidden;
}
.post-sidebar .widget-title {
    display: block;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}
.post-sidebar .is-divider.small {
    height: 2px;
    width: 36px;
    background: #c9a96e;
    border-radius: 2px;
    margin-bottom: 16px;
    border: none;
}
.post-sidebar .rpwwt-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.post-sidebar .rpwwt-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.post-sidebar .rpwwt-widget ul li:first-child {
    padding-top: 0;
}
.post-sidebar .rpwwt-widget ul li a {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.post-sidebar .rpwwt-widget ul li img {
  
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
body.single .type-post {
  border: 0.5px solid rgba(215, 178, 76, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(215, 178, 76, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
  padding: 10px;
}

body.single.type-post:hover {
  border-color: rgba(215, 178, 76, 0.45);
  box-shadow: 0 4px 20px rgba(215, 178, 76, 0.1);
}
.product_meta {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ffffff, #f9faf9);
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    font-size: 14px;
    line-height: 1.7;
}
.product_meta > span {
    display: block;
    margin-bottom: 10px;
    color: #444;
    font-weight: 500;
}
.product_meta a {
    display: inline-block;
    margin: 3px 4px 3px 0;
    padding: 4px 10px;
    background: #f1f8f4;
    border: 1px solid #cfe8d9;
    border-radius: 999px;
    color: #1f7a4d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sw-product-consult-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.sw-zalo-btn {
    background: #0068ff;
    color: #fff !important;
}
.sw-consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.sw-phone-btn {
    background: #d70018;
    color: #fff !important;
}
.sw-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.sw-phone-icon {
    font-size: 16px;
}
.shop-page-title {
    background: #f5f5f5;
}
.woocommerce h1.product_title.entry-title {
  
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #1a1410;
  position: relative;
  padding-bottom: 1rem;
}

/* Đường kẻ vàng bên dưới */
.woocommerce h1.product_title.entry-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: #b8965a;
}
.product-main .is-divider {
	display: none;
}
ul.social {
  
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.social li {
  display: inline-block; 
	margin-left: 10px;
}

ul.social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

ul.social li img {
  max-width: 40px;
  height: auto;
  display: block;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}