/* Làm mượt font chữ trên mọi trình duyệt */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Chỉnh khoảng cách chữ cho font Inter trông gọn hơn giống IKEA */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em !important;
}
/* Flat Craft — footer com marca, links e redes */

.flat-craft-footer {
  font-family: inherit;
  color: #0f172a;
}

.flat-craft-brand {
  max-width: 22rem;
}

.flat-craft-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  margin-bottom: 18px;
}

.flat-craft-logo__mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.flat-craft-logo__sq {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.flat-craft-logo__sq--yellow {
  background: #facc15;
  left: 0;
  top: 0;
  z-index: 1;
}

.flat-craft-logo__sq--blue {
  background: #2563eb;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.flat-craft-logo__text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.flat-craft-lead {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
}

.flat-craft-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.flat-craft-chat-btn:hover {
  background: #1d4ed8;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.flat-craft-chat-btn__icon {
  display: flex;
  line-height: 0;
}

.flat-craft-nav__title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.flat-craft-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flat-craft-nav__list li {
  margin: 0 0 10px;
}

.flat-craft-nav__list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.flat-craft-nav__list a:hover {
  color: #2563eb;
}

.flat-craft-bottom-row {
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
}

.flat-craft-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flat-craft-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.flat-craft-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flat-craft-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  transition: background 0.15s ease, color 0.15s ease;
}

.flat-craft-social__link:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@media (max-width: 849px) {
  .flat-craft-brand {
    max-width: none;
  }

  .flat-craft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*Button with a thin font*/

.btn-thin {
    font-weight: 300 !important;
}

/*Item changes on hover*/

.it-menu:hover {
    background-color: #f8f8f8; /*change color of background here*/
    border-radius: 10px;
}

.it-menu:hover h3 {
    color: #2589E8; /*change color of heading here*/
}
/* Hiệu ứng đổ bóng và bo góc cho Mega Menu */
.nav-dropdown {
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: none !important;
    padding: 0 !important;
}

/* Thêm mũi tên nhỏ bên cạnh menu có dropdown */
.nav-top > li.has-dropdown > a:after {
    content: "\f107";
    font-family: "Flatsome-Icons";
    margin-left: 5px;
    opacity: .6;
}
/* 1. Thiết lập cơ bản cho các mục link */
.ux-menu-link a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: inline-block;
    color: #666 !important; /* Màu xám nhẹ lúc bình thường */
    text-decoration: none !important; /* Chắc chắn không có gạch chân */
}

/* 2. Hiệu ứng khi di chuột vào từng mục con */
.ux-menu-link a:hover {
    color: #000 !important; /* Chữ chuyển sang đen hẳn */
    transform: translateX(6px); /* Chữ nhích sang phải 6px cực mượt */
}

/* 3. Làm cho các tiêu đề (Clothing, Accessories...) đứng yên và đậm hơn */
.ux-menu-title {
    color: #000 !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    cursor: default;
}

/* 4. Hiệu ứng cho các nhãn đi kèm (NEW, POPULAR) */
.ux-menu-link a:hover span.badge {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Đổ bóng nhẹ cho nhãn khi hover */
}
/*Changes on Product Page components for Flat Pea*/

.product_meta>span {
	border-top: none !important;
}

.social-style .tooltip {
	border: none !important;
}

.social-style a.plain {
	color: #dedede !important;
}

.social-style a.plain:hover {
	color: black !important;
}

.social-style a.icon:not(.button), button.icon:not(.button) {
	margin-right: 0.5em;
	margin-left: 0.5em;
}

.tabs-mgn-20 .nav>li {
    margin: 0 20px;
}
/* Tạo khung chứa cho dòng cuối cùng của Card */
.tvb-card-footer {
    display: flex;
    justify-content: space-between; /* Đẩy 2 phần tử về 2 đầu */
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0; /* Đường kẻ mờ ngăn cách */
}

/* Định dạng số lượt tải */
.tvb-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Định dạng nút Download (Giống mẫu bạn gửi) */
.woocommerce ul.products li.product .button {
    margin-top: 0 !important;
    border: 1.5px solid #a855f7 !important; /* Màu tím */
    background: transparent !important;
    color: #a855f7 !important;
    border-radius: 25px !important;
    padding: 6px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

/* Tạo khung chứa cho dòng cuối cùng của Card */
.tvb-card-footer {
    display: flex;
    justify-content: space-between; /* Đẩy 2 phần tử về 2 đầu */
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0; /* Đường kẻ mờ ngăn cách */
}

/* Định dạng số lượt tải */
.tvb-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Định dạng nút Download (Giống mẫu bạn gửi) */
.woocommerce ul.products li.product .button {
    margin-top: 0 !important;
    border: 1.5px solid #a855f7 !important; /* Màu tím */
    background: transparent !important;
    color: #a855f7 !important;
    border-radius: 25px !important;
    padding: 6px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi di chuột vào nút */
.woocommerce ul.products li.product .button:hover {
    background: #a855f7 !important;
    color: #fff !important;
	}
/*Flat Clops style*/

.btn-thin {
    font-weight: 300 !important;
}

.custom-shadow-clops .col-inner:hover {
  box-shadow: 0 0px 44px 5px rgba(0,0,0,.05) !important;
  background: #fff  !important;
}