@charset "UTF-8";
/**
 * PRODUCT & SHOP UI STYLES - THUY AN NHUNG
 * File: assets/css/product/product.css
 * Chuan 100% thiet ke Figma va anh chup thuc te
 * 100% comment dung ASCII khong dau de tranh loi ma hoa font UTF-8
 */

/* ==========================================================================
   0. RESET & LOAI BO CAC ELEMENT THUA CUA FLATSOME
   ========================================================================== */
.is-divider,
.is-divider.small,
.tan-shop-sidebar-col .is-divider {
  display: none !important;
}

.shop-page-title.category-page-title {
  display: none !important;
}

/* ==========================================================================
   1. BANNER DAU TRANG SAN PHAM (XANH NGOC THUONG HIEU #0e9494)
   ========================================================================== */
.tan-shop-banner {
  background: #0e9494;
  padding: 30px 0 26px;
  color: #ffffff;
  margin-bottom: 0;
}

.tan-shop-banner .container,
.tan-shop-banner .tan-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.tan-shop-banner-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-shop-banner-breadcrumb {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-shop-banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tan-shop-banner-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.tan-shop-banner-breadcrumb .divider {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.tan-shop-banner-breadcrumb span:last-child {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   2. KHUNG CHINH SHOP WRAPPER
   ========================================================================== */
.tan-shop-wrapper {
  background-color: #f8fafb;
  padding: 30px 0 60px;
  min-height: 650px;
}

.tan-shop-wrapper .tan-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.tan-container .category-page-row {
  padding-top: 0;
}

.tan-shop-row {
  margin-left: -12px;
  margin-right: -12px;
}

.tan-shop-row>[class*="col"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* ==========================================================================
   3. SIDEBAR BO LOC (COT TRAI - 4 CARD TRANG BO GOC 14PX)
   ========================================================================== */
.tan-shop-sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tan-shop-sidebar-wrapper form {
  gap: 18px;
  display: flex;
  flex-direction: column;
}

/* Card chung cho tung bo loc */
.tan-filter-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e9edef;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  padding: 18px 20px 20px;
  position: relative;
}

/* Tieu de Card */
.tan-filter-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #232a2c;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  border: none;
  padding: 0;
}

.tan-price-inputs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tan-price-dash {
  height: 34px;
  line-height: 100%;
  position: relative;
  top: 2px;
}

.tan-price-inputs-row input {
  height: 34px;
  border-radius: 6px;
  box-shadow: unset;
}

button.tan-btn-apply-filter,
.tan-filter-card-price .tan-btn-apply-filter,
.tan-btn-apply-filter {
  width: 100% !important;
  height: 38px !important;
  background-color: #0e9494 !important;
  background: #0e9494 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding: 0 16px !important;
  transition: all 0.2s ease !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(14, 148, 148, 0.2) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  outline: none !important;
}

button.tan-btn-apply-filter:hover,
.tan-filter-card-price .tan-btn-apply-filter:hover,
.tan-btn-apply-filter:hover {
  background-color: #0a7575 !important;
  background: #0a7575 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 148, 148, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* Loai bo hoan toan bat ky widget support hoac card thua nao */
.tan-widget-support,
.tan-filter-card-support,
.widget_support {
  display: none !important;
}



/* Icon 3 vach do nam ngang chuan anh 1 */
.tan-filter-icon-bars {
  flex-shrink: 0;
  width: 18px;
  height: 14px;
  display: block;
}

/* Icon chung trong tieu de sidebar */
.tan-sidebar-icon {
  width: 17px;
  height: 17px;
  stroke: #e31e24;
  flex-shrink: 0;
}

/* --- CARD 1: DANH MUC SAN PHAM --- */
.tan-cat-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tan-cat-item {
  padding: 8px 0;
  border-bottom: 1px solid #f3f5f6;
}

.tan-cat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tan-cat-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-cat-item-link:hover {
  color: #0e9494;
  transform: translateX(2px);
}

.tan-cat-item.current-cat>.tan-cat-item-link {
  color: #e31e24;
  font-weight: 700;
}

.tan-cat-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tan-cat-count {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 400;
}

/* An hoan toan icon mui ten theo yeu cau nguoi dung */
.tan-cat-arrow {
  display: none !important;
}

/* Cap 2 mac dinh an, chi hien khi co class is-open */
.tan-cat-children {
  display: none;
  list-style: none;
  padding-left: 14px;
  margin-top: 6px;
  border-left: 2px solid #e4f7f7;
  transition: all 0.2s ease;
}

.tan-cat-item.is-open>.tan-cat-children {
  display: block;
}

.tan-cat-children li {
  padding: 5px 0;
}

.tan-cat-children a {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tan-cat-children a:hover {
  color: #0e9494;
}

.tan-cat-children li.current-cat a {
  color: #e31e24;
  font-weight: 600;
}

/* --- CARD 2: KHOANG GIA --- */
.tan-price-filter-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tan-price-input-group {
  flex: 1;
}

.tan-price-input {
  width: 100%;
  border: 1px solid #dbe2e4;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #232a2c;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Be Vietnam Pro', sans-serif;
  box-sizing: border-box;
}

.tan-price-input:focus {
  border-color: #0e9494;
  box-shadow: 0 0 0 3px rgba(14, 148, 148, 0.12);
}

.tan-price-separator {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

.tan-price-filter-btn {
  width: 100%;
  background: #0e9494;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Be Vietnam Pro', sans-serif;
  box-shadow: 0 3px 8px rgba(14, 148, 148, 0.25);
  display: block;
  text-align: center;
}

.tan-price-filter-btn:hover {
  background: #0a7575;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 148, 148, 0.35);
  transform: translateY(-1px);
}

/* --- CARD 3 & 4: CHECKBOX THUONG HIEU & TINH TRANG --- */
.tan-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tan-checkbox-label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.tan-custom-checkbox {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.tan-checkbox-label:hover .tan-custom-checkbox {
  border-color: #0e9494;
}

.tan-checkbox-input:checked~.tan-custom-checkbox {
  background-color: #0e9494;
  border-color: #0e9494;
}

.tan-custom-checkbox:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tan-checkbox-input:checked~.tan-custom-checkbox:after {
  display: block;
}

.tan-checkbox-text {
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
  transition: color 0.15s ease;
}

.tan-checkbox-label:hover .tan-checkbox-text {
  color: #0e9494;
}

.tan-checkbox-input:checked~.tan-checkbox-text {
  color: #0e9494;
  font-weight: 600;
}

/* --- CARD 5: BOX HOTLINE TU VAN --- */
.tan-support-box {
  background: #fdf6f6;
  border: 1px solid #fae1e1;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.tan-support-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 10px rgba(227, 30, 36, 0.12);
}

.tan-support-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #232a2c;
  margin: 0 0 6px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-support-desc {
  font-size: 12px;
  color: #6b7480;
  line-height: 1.45;
  margin: 0 0 10px;
}

.tan-support-phone {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #e31e24;
  text-decoration: none;
  margin-bottom: 8px;
}

.tan-support-phone:hover {
  text-decoration: underline;
}

.tan-support-zalo {
  display: inline-block;
  background: #0e9494;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(14, 148, 148, 0.2);
}

.tan-support-zalo:hover {
  background: #0a7575;
  color: #ffffff;
}

/* ==========================================================================
   4. THANH CONG CU TOOLBAR (DEM KET QUA & SAP XEP)
   ========================================================================== */
.tan-shop-toolbar {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9edef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  padding: 12px 18px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tan-shop-toolbar-left .woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  font-family: 'Be Vietnam Pro', sans-serif;
  float: none;
}

/* In dam cac con so dem ket qua theo dung yeu cau */
.tan-shop-toolbar-left .woocommerce-result-count strong,
.tan-shop-toolbar-left .woocommerce-result-count b {
  font-weight: 700 !important;
}

.tan-shop-toolbar-right .woocommerce-ordering {
  margin: 0;
  float: none;
}

.tan-shop-toolbar-right select.orderby {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 32px 7px 12px;
  font-size: 13.5px;
  color: #232a2c;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  font-family: 'Be Vietnam Pro', sans-serif;
}

/* ==========================================================================
   5. LUOI SAN PHAM CHUAN 4 COT (large-columns-4)
   ========================================================================== */
.tan-shop-main-col .products.row,
.tan-shop-main-col .tan-products-grid {
  margin-left: -8px !important;
  margin-right: -8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Bat buoc moi san pham chiem dung 25% (4 cot) tren Desktop */
@media (min-width: 850px) {

  .tan-shop-main-col .products.row>.col,
  .tan-shop-main-col .products.row[class*="columns-"]>.col,
  .tan-shop-main-col .products.row .tan-product-col,
  .tan-shop-main-col .products.row .product.col,
  .tan-shop-main-col .tan-products-grid>.col {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
    flex-basis: 25% !important;
    box-sizing: border-box !important;
  }
}

.tan-product-col {
  padding-left: 8px !important;
  padding-right: 8px !important;
  margin-bottom: 0px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   6. THE CARD SAN PHAM CHUAN 100% THEO ANH FIGMA THUC TE
   ========================================================================== */
.tan-product-card {
  background: #ffffff;
  border: 1px solid #e9edef;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.tan-product-card:hover {
  transform: translateY(-4px);
  border-color: #0e9494;
  box-shadow: 0 8px 22px rgba(14, 148, 148, 0.12);
}

/* Khung hinh anh vuong 1:1 */
.tan-product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f9fbfc;
  overflow: hidden;
}

.tan-product-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.tan-product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.tan-product-card:hover .tan-product-thumb {
  transform: scale(1.06);
}

/* Badge giam gia va het hang bo tron theo anh */
.tan-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: 'Be Vietnam Pro', sans-serif;
  letter-spacing: 0.3px;
}

.tan-badge-sale {
  background: #e31e24;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(227, 30, 36, 0.28);
}

.tan-badge-outstock {
  background: #5b4d75;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.tan-badge-new {
  background: #0e9494;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Noi dung thong tin san pham */
.tan-product-content {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

/* Danh muc chu xanh ngoc #0e9494 viet hoa - cat 1 dong duy nhat co 3 cham */
.tan-product-cats-wrap {
  margin-bottom: 4px;
  width: 100%;
  overflow: hidden;
}

.tan-product-cat {
  font-size: 11px !important;
  color: #0e9494 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.15s ease;
}

.tan-product-cat:hover {
  color: #0a7575 !important;
  text-decoration: underline !important;
}

/* Ten san pham - 2 dong chu dam */
.tan-product-name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.tan-product-name a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tan-product-name a:hover {
  color: #0e9494;
}

/* 5 Ngoi sao SVG vang kim #ffb800 duoi ten san pham */
.tan-product-rating {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
}

.tan-stars-group {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.tan-star-icon {
  width: 13px;
  height: 13px;
  fill: #ffb800;
  stroke: #ffb800;
  flex-shrink: 0;
}

/* Khung gia tien flex nam ngang:
   - display flex nam ngang
   - Gia ban moi (ins) mau do to nam truoc (order: 1)
   - Gia goc (del) bi gach ngang xam thu nho 12px nam sau (order: 2) */
.tan-product-price-row {
  margin-top: auto;
  margin-bottom: 10px;
  min-height: 28px;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  line-height: 1.3;
}

/* Don gia mac dinh khi khong giam gia */
.tan-product-price-row .woocommerce-Price-amount,
.tan-product-price-row .woocommerce-Price-amount bdi {
  font-size: 15px;
  font-weight: 700;
  color: #e31e24;
}

/* An text an danh cho trinh doc man hinh (screen-reader) */
.tan-product-price-row .screen-reader-text {
  display: none !important;
}

/* Khoang gia cho san pham bien the */
.tan-product-price-row .woocommerce-Price-amount,
.tan-product-price-row .woocommerce-Price-amount bdi {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #e31e24 !important;
}

.tan-product-price-row > span[aria-hidden="true"]:not(.woocommerce-Price-amount) {
  display: inline-block !important;
  color: #e31e24 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin: 0 2px !important;
}

/* Gia moi ban ra (ins) mau do to nam truoc (order: 1) */
.tan-product-price-row ins {
  display: inline-block !important;
  order: 1 !important;
  text-decoration: none !important;
}

.tan-product-price-row ins *,
.tan-product-price-row ins .woocommerce-Price-amount,
.tan-product-price-row ins .woocommerce-Price-amount bdi {
  color: #e31e24 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Gia goc bi del gach ngang mau xam thu nho 12px nam sau (order: 2) */
.tan-product-price-row del {
  display: inline-block !important;
  order: 2 !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  line-height: 1.2 !important;
}

.tan-product-price-row del *,
.tan-product-price-row del .woocommerce-Price-amount,
.tan-product-price-row del .woocommerce-Price-amount bdi,
.tan-product-price-row del .amount {
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

/* ==========================================================================
   7. NUT HANH DONG CHAN CARD (HOP BO GOC 8PX, 2 DONG CHU CHUAN ANH 2)
   ========================================================================== */
.tan-product-action-row {
  margin-top: 0;
  width: 100%;
  display: block;
}

.tan-product-card .tan-product-action-row .tan-btn-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #1e293b !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.tan-btn-cart-icon {
  width: 16px;
  height: 16px;
  stroke: #475569;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
  margin-right: 10px;
}

/* Text trong nut hop 1 dong */
.tan-btn-box span {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.2s ease;
}

.tan-btn-box:hover {
  background-color: #f0faf9 !important;
  border-color: #0e9494 !important;
  color: #0e9494 !important;
  transform: translateY(-1px);
}

.tan-btn-box:hover span {
  color: #0e9494;
}

.tan-btn-box:hover .tan-btn-cart-icon {
  stroke: #0e9494;
}

.tan-btn-box.added {
  display: none !important;
}

.added_to_cart.wc-forward {
  display: block;
  font-size: 12px;
  color: #0e9494;
  margin-top: 6px;
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   8. PHAN TRANG WOOCOMMERCE CHUAN FIGMA (CAC O TRON 100% THEO ANH)
   ========================================================================== */
.woocommerce-pagination,
.tan-shop-main-col .woocommerce-pagination {
  margin-top: 20px !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.woocommerce-pagination ul.page-numbers,
.tan-shop-main-col .woocommerce-pagination ul.page-numbers,
.woocommerce-pagination ul.nav-pagination,
ul.nav-pagination.links {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: none !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce-pagination ul.page-numbers li,
.tan-shop-main-col .woocommerce-pagination ul.page-numbers li,
.woocommerce-pagination ul.nav-pagination li,
ul.nav-pagination.links li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: inline-flex !important;
  list-style: none !important;
}

/* Tat ca cac o phan trang: HINH VUONG BO GOC NHE 8PX CHUAN FIGMA */
.woocommerce-pagination ul.page-numbers li .page-number,
.woocommerce-pagination ul.page-numbers li .page-numbers,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
.woocommerce-pagination ul.nav-pagination li a,
.woocommerce-pagination ul.nav-pagination li span,
ul.nav-pagination.links li a,
ul.nav-pagination.links li span {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

/* Trang hien tai: O vuong bo goc NEN DO THUONG HIEU #e31e24 chu trang */
.woocommerce-pagination ul.page-numbers li .page-number.current,
.woocommerce-pagination ul.page-numbers li .page-numbers.current,
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.nav-pagination li span.current,
ul.nav-pagination.links li span.current {
  background: #e31e24 !important;
  background-color: #e31e24 !important;
  border-color: #e31e24 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25) !important;
}

/* Dau ba cham dots: o vuong bo goc vien xam nhat */
.woocommerce-pagination ul.page-numbers li .dots,
.woocommerce-pagination ul.page-numbers li span.dots,
.woocommerce-pagination ul.nav-pagination li span.dots,
ul.nav-pagination.links li span.dots {
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  background: #ffffff !important;
  cursor: default !important;
}

/* Nut Next & Prev: o vuong bo goc vien xam nhat */
.woocommerce-pagination ul.page-numbers li .next,
.woocommerce-pagination ul.page-numbers li .prev,
.woocommerce-pagination ul.nav-pagination li .next,
.woocommerce-pagination ul.nav-pagination li .prev,
ul.nav-pagination.links li .next,
ul.nav-pagination.links li .prev {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

.woocommerce-pagination ul.page-numbers li .next i,
.woocommerce-pagination ul.page-numbers li .prev i,
.woocommerce-pagination ul.page-numbers li .next svg,
.woocommerce-pagination ul.page-numbers li .prev svg {
  font-size: 12px !important;
  line-height: 1 !important;
}

/* Hover cac o khac: vien do nhe hoac xam dam */
.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce-pagination ul.nav-pagination li a:hover,
ul.nav-pagination.links li a:hover {
  border-color: #e31e24 !important;
  color: #e31e24 !important;
  background-color: #fff5f5 !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 849px) {
  .tan-shop-row {
    flex-direction: column;
  }

  .tan-shop-sidebar-col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
  }

  .tan-shop-main-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tan-shop-main-col .products.row>.col,
  .tan-shop-main-col .products.row[class*="columns-"]>.col,
  .tan-shop-main-col .products.row .tan-product-col,
  .tan-shop-main-col .products.row .product.col,
  .tan-shop-main-col .tan-products-grid>.col {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    flex-basis: 50% !important;
  }
}

@media (max-width: 549px) {
  .tan-shop-banner {
    padding: 22px 0 18px;
  }

  .tan-shop-banner-title {
    font-size: 22px;
  }

  .tan-shop-wrapper {
    padding: 20px 0 40px;
  }

  .tan-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .tan-shop-toolbar-right select.orderby {
    width: 100%;
  }

  .tan-shop-main-col .products.row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .tan-product-col {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: 12px !important;
  }

  .tan-shop-main-col .products.row>.col,
  .tan-shop-main-col .products.row[class*="columns-"]>.col,
  .tan-shop-main-col .products.row .tan-product-col,
  .tan-shop-main-col .products.row .product.col,
  .tan-shop-main-col .tan-products-grid>.col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
  }

  .tan-product-content {
    padding: 10px 10px 12px;
  }

  .tan-product-name {
    font-size: 13px;
    height: 36px;
    margin-bottom: 4px;
  }

  .tan-product-price-row .woocommerce-Price-amount {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   11. FIX KHUNG CHUAN 1240PX CHO TRANG CHI TIET SAN PHAM
   ========================================================================== */
.single-product .shop-container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.single-product .shop-container > .container,
.single-product .product-container,
.single-product .product-main,
.single-product .product-footer,
.single-product .product-main .row,
.single-product .product-footer .row {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}