/*
Theme Name: Linh Khí VN
Theme URI: https://linhkhi.vn
Author: Linh Khí Team
Author URI: https://linhkhi.vn
Description: Theme phong thủy linh khí - Viện Phong thủy Thế giới
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linhkhi
Tags: e-commerce, woocommerce, feng-shui
*/

/* ---------- RESET & BASE ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #ebd405;
  --gold-dark: #d4a004;
  --gold-light: #f5e84d;
  --brown: #401302;
  --brown-light: #6b3a1f;
  --red: #fc3003;
  --red-dark: #a8280c;
  --green: #07b513;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --gray: #cccccc;
  --gray-text: rgba(0,0,0,0.55);
  --text: #222222;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--gray-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  background: var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--brown);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
}

.header-search {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 42px;
  border: 2px solid var(--brown);
  border-radius: 24px;
  padding: 0 48px 0 20px;
  font-size: 14px;
  color: var(--brown);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.header-search input::placeholder { color: var(--brown-light); opacity: 0.6; }

.header-search input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(64,19,2,0.15);
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  background: var(--brown);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-search button:hover { background: var(--brown-light); transform: scale(1.05); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--brown);
  border-radius: 24px;
  background: transparent;
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.header-btn:hover { background: var(--brown); color: var(--gold); }
.header-btn .icon { font-size: 18px; }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
}

.cart-total { font-size: 11px; font-weight: 700; color: var(--red-dark); margin-left: 2px; }

/* ================================================================
   BLOCK COMMON
   ================================================================ */
.block { margin-bottom: 24px; }

.block-header {
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.block-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #ff6600;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 var(--brown),
     1px -1px 0 var(--brown),
    -1px  1px 0 var(--brown),
     1px  1px 0 var(--brown),
     0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

.block-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.block-link:hover { color: var(--red-dark); transform: translateX(3px); }

.block-body {
  background: var(--white);
  padding: 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ================================================================
   BLOCK 1: THƯ MỤC
   ================================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--white);
}

.category-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(235,212,5,0.2);
  transform: translateY(-2px);
}

.category-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
}

.category-img img { width: 100%; height: 100%; object-fit: cover; }

.category-info { flex: 1; min-width: 0; }

.category-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
  transition: var(--transition);
}

.category-card:hover .category-name { color: var(--red-dark); }

.category-count { font-size: 12px; color: var(--gray-text); }

/* ================================================================
   BLOCK 2: TABS
   ================================================================ */
.tabs-nav { display: flex; gap: 0; }

.tab-btn {
  padding: 10px 28px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--red-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.tab-btn.active { color: var(--red-dark); }
.tab-btn.active::after, .tab-btn:hover::after { width: 80%; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ================================================================
   PRODUCT SLIDER
   ================================================================ */
.product-slider-wrap { position: relative; overflow: hidden; }

.product-slider {
  display: flex;
  gap: 14px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.product-card {
  flex: 0 0 calc((100% - 70px) / 6);
  min-width: 0;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-name {
  padding: 10px 10px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 63px;
}

.product-name a { color: var(--brown); transition: var(--transition); }
.product-name a:hover { color: var(--red-dark); }

.product-img {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  background: var(--gray-light);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-bottom {
  display: flex;
  align-items: center;
  padding: 8px 10px 10px;
  margin-top: auto;
}

.product-prices { flex: 1; }

.price-old {
  font-size: 11px;
  color: var(--gray-text);
  text-decoration: line-through;
}

.price-sale { font-size: 15px; font-weight: 800; color: var(--red); }

.btn-add-cart {
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-add-cart:hover {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
  transform: scale(1.1);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--brown);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slider-nav:hover { background: var(--gold); }
.slider-prev { left: 4px; }
.slider-next { right: 4px; }

/* ================================================================
   BLOCK 3: ƯU ĐÃI GIẢM GIÁ
   ================================================================ */
.discount-block {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.discount-info {
  width: 16.667%;
  min-width: 180px;
  flex-shrink: 0;
  background: var(--gold);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.discount-holiday-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--red-dark);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
  max-width: 100%;
  word-wrap: break-word;
}

.discount-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 10px;
}

.discount-percent {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--red-dark);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

.discount-timer-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.discount-timer { display: flex; gap: 6px; }

.timer-unit {
  background: var(--brown);
  color: var(--gold);
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
  min-width: 42px;
}

.timer-num { font-size: 20px; font-weight: 800; display: block; line-height: 1; }
.timer-txt { font-size: 9px; text-transform: uppercase; opacity: 0.8; }

.discount-products {
  flex: 1;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

/* ================================================================
   BLOCK 4: 4 CỘT THƯ MỤC
   ================================================================ */
.four-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.col-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.col-block-header {
  background: var(--gold);
  padding: 12px 16px;
  text-align: center;
}

.col-block-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: #ff6600;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 var(--brown),
     1px -1px 0 var(--brown),
    -1px  1px 0 var(--brown),
     1px  1px 0 var(--brown),
     0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.col-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
}

.col-product { text-align: center; transition: var(--transition); }
.col-product:hover { transform: translateY(-2px); }

.col-product-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  background: var(--gray-light);
  border-radius: 6px;
  overflow: hidden;
}

.col-product-img img { width: 100%; height: 100%; object-fit: cover; }

.col-product-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col-product-name a { color: inherit; transition: var(--transition); }
.col-product-name a:hover { color: var(--red-dark); }

.col-block-footer { text-align: center; padding: 10px; border-top: 1px solid #eee; }

.btn-view-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-view-more:hover { color: var(--brown); transform: translateX(3px); }

/* ================================================================
   BLOCKS 5-8: CATEGORY PRODUCT SLIDES
   ================================================================ */
.split-header {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.split-header-left {
  background: var(--gold);
  width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
}

.split-header-right {
  width: 66.67%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 24px;
}

.cat-slide-body {
  background: var(--white);
  padding: 16px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cat-product-slider {
  display: flex;
  gap: 14px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.cat-product-card {
  flex: 0 0 150px;
  text-align: center;
  transition: var(--transition);
}

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

.cat-product-img {
  width: 150px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-light);
  margin-bottom: 6px;
}

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

.cat-product-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* ================================================================
   BLOCK 9: LINH KHÍ HOT
   ================================================================ */
.hot-block .split-header-right { justify-content: flex-start; }
.hot-block .split-header-right span { font-size: 14px; color: var(--text); font-weight: 400; }

.hot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hot-card { text-align: center; transition: var(--transition); }
.hot-card:hover { transform: translateY(-3px); }

.hot-card-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 10px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
}

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

.hot-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.hot-count { font-size: 13px; color: var(--gray-text); }

/* ================================================================
   BLOCK 10: BÀI MỚI ĐĂNG
   ================================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.blog-card { transition: var(--transition); }
.blog-card:hover { transform: translateY(-3px); }

.blog-img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  margin-bottom: 10px;
}

.blog-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-title a:hover { color: var(--red-dark); }

/* ================================================================
   BLOCK 11: PHẢN HỒI KHÁCH HÀNG
   ================================================================ */
.reviews-slider-wrap { position: relative; overflow: hidden; }

.reviews-slider {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.review-card {
  flex: 0 0 calc(33.33% - 11px);
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--gold);
}

.review-stars { color: var(--gold-dark); font-size: 16px; margin-bottom: 10px; }

.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}

.review-author { font-size: 13px; font-weight: 700; color: var(--brown); }

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter { background: var(--gold); padding: 28px 0; }

.newsletter-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.newsletter-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--brown);
  white-space: nowrap;
}

.newsletter-desc { font-size: 14px; color: var(--brown); flex: 1; }

.newsletter-form { display: flex; gap: 0; }

.newsletter-form input {
  width: 280px;
  height: 42px;
  border: 2px solid var(--brown);
  border-right: none;
  border-radius: 24px 0 0 24px;
  padding: 0 18px;
  font-size: 13px;
  outline: none;
  background: var(--white);
}

.newsletter-form input::placeholder { color: #999; }

.newsletter-form button {
  height: 42px;
  padding: 0 24px;
  background: var(--brown);
  color: var(--gold);
  border: 2px solid var(--brown);
  border-radius: 0 24px 24px 0;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: #8B6914; padding: 40px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 30px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.25);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.5;
}

.footer-col ul li a:hover { color: #fff; transform: translateX(4px); }

.footer-col p { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.65; margin-bottom: 8px; }

/* Cột 1: Liên hệ */
.footer-contact { margin-bottom: 12px; }
.footer-phone {
  font-size: 16px;
  font-weight: 800;
  color: #ffe066;
  letter-spacing: 0.5px;
}
.footer-phone:hover { text-decoration: underline; }
.footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.footer-awards {
  background: rgba(255,255,255,0.1);
  border-left: 3px solid #ffe066;
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
}
.footer-awards p { font-size: 12px; line-height: 1.6; margin: 0; }

.footer-consult {
  margin-bottom: 12px;
  padding: 8px 0;
  border-top: 1px dashed rgba(255,255,255,0.2);
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}
.footer-consult p { margin: 0; font-size: 13px; }

.footer-agent { margin-top: 10px; }
.footer-agent > p { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.footer-agent ul li { margin-bottom: 4px; }
.footer-agent ul li a { font-size: 12px; }

/* Cột 2: Thanh toán & Ship */
.footer-rules {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rule;
}
.footer-rules li {
  counter-increment: rule;
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}
.footer-rules li::before {
  content: counter(rule) ".";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: #ffe066;
  font-size: 13px;
}
.footer-rules li strong { color: #ffe066; }
.footer-rules li a {
  color: #ffe066;
  text-decoration: underline;
  font-weight: 600;
}
.footer-rules li a:hover { color: #fff; }

/* Cột 3: Kết nối - viewer count */
.footer-viewers {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.viewer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Footer bottom */
.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.footer-bottom-main {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 6px;
}
.footer-bottom-main a {
  color: #fff;
  font-weight: 600;
  transition: var(--transition);
}
.footer-bottom-main a:hover { color: #ffe066; text-decoration: underline; }
.footer-bottom-sep { margin: 0 6px; opacity: 0.4; }

.footer-bottom-policy { margin-top: 4px; }
.footer-bottom-policy a {
  font-size: 12px;
  font-weight: 600;
  color: var(--red-dark);
  transition: var(--transition);
}
.footer-bottom-policy a { color: #ffe066; }
.footer-bottom-policy a:hover { text-decoration: underline; color: #fff; }

/* Footer stats (elite-visitor shortcode) - override plugin CSS */
.site-footer .footer-col-stats .elite-visitor-modern {
  background: rgba(255,255,255,0.08) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 16px !important;
  text-align: center;
  color: #fff !important;
  box-shadow: none !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.site-footer .footer-col-stats .elite-visitor-header {
  font-size: 13px !important;
  font-weight: 700;
  color: #ffe066 !important;
  margin-bottom: 8px;
}
.site-footer .footer-col-stats .elite-visitor-total {
  font-size: 28px !important;
  font-weight: 900;
  color: #ffe066 !important;
  letter-spacing: 3px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.1) !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  box-shadow: none !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}
.site-footer .footer-col-stats .elite-stat-item {
  font-size: 12px !important;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 4px;
  line-height: 1.6;
}
.site-footer .footer-col-stats .elite-stat-item:first-child {
  color: #ffe066 !important;
}
.site-footer .footer-col-stats .elite-stat-item:nth-child(2),
.site-footer .footer-col-stats .elite-stat-item:nth-child(3) {
  color: rgba(255,255,255,0.8) !important;
}
.site-footer .footer-col-stats .elite-visitor-ip {
  font-size: 11px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* ================================================================
   PLACEHOLDER
   ================================================================ */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #bbb;
  font-size: 24px;
}

/* ================================================================
   SIDEBAR (dùng cho trang category/product, không dùng ở trang chủ)
   ================================================================ */
.has-sidebar { display: flex; gap: 24px; }
.has-sidebar .site-content { flex: 1; min-width: 0; }

.site-sidebar { width: 280px; flex-shrink: 0; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.widget-title {
  background: var(--gold);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--brown);
}

.widget-body { padding: 16px; }

.sidebar-categories { list-style: none; }
.sidebar-categories li { margin-bottom: 8px; }

.sidebar-categories li a {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--brown);
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.sidebar-categories li a:hover { color: var(--red-dark); padding-left: 8px; }
.sidebar-categories li a span { color: var(--gray-text); font-size: 12px; }

.sidebar-product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.sidebar-product-img { border-radius: 6px; flex-shrink: 0; }

.sidebar-product-info a {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  display: block;
  margin-bottom: 4px;
}

.sidebar-search { display: flex; gap: 0; }

.sidebar-search input {
  flex: 1;
  height: 36px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}

.sidebar-search button {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
}

.sidebar-price-filter { list-style: none; }

.sidebar-price-filter li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--brown);
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.sidebar-price-filter li a:hover { color: var(--red-dark); padding-left: 8px; }

/* ================================================================
   INNER PAGES - FULL WIDTH LAYOUT
   ================================================================ */
.page-fullwidth {
  max-width: 100%;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  padding: 14px 0;
}
.breadcrumb-trail {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}
.breadcrumb-trail a {
  color: var(--brown);
  transition: var(--transition);
}
.breadcrumb-trail a:hover { color: var(--red-dark); }
.bc-sep { margin: 0 6px; color: #ccc; }
.bc-current { color: var(--gray-text); }

/* ================================================================
   SEARCH PAGE
   ================================================================ */
.search-count {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.search-again { margin-bottom: 24px; }

.search-form-inline {
  display: flex;
  gap: 0;
  max-width: 500px;
}

.search-form-inline input {
  flex: 1;
  height: 42px;
  border: 2px solid var(--gold);
  border-right: none;
  border-radius: 24px 0 0 24px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--brown);
  outline: none;
}
.search-form-inline input:focus { border-color: var(--brown); }

.search-form-inline button {
  height: 42px;
  padding: 0 24px;
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 0 24px 24px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.search-form-inline button:hover { background: var(--brown); color: var(--gold); border-color: var(--brown); }

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.search-result-card {
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.search-result-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.search-result-link {
  display: flex;
  gap: 14px;
  padding: 14px;
}

.search-result-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }

.search-result-info { flex: 1; min-width: 0; }

.search-result-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}

.search-result-excerpt {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--gray-light);
  color: var(--brown);
}

/* No results */
.no-results {
  text-align: center;
  padding: 50px 20px;
}
.no-results-icon { font-size: 64px; margin-bottom: 16px; }
.no-results h3 { font-size: 22px; color: var(--brown); margin-bottom: 10px; }
.no-results p { font-size: 15px; color: var(--gray-text); margin-bottom: 24px; line-height: 1.6; }
.no-results .search-again { display: flex; justify-content: center; }
.no-results .search-form-inline { margin: 0 auto; }

.no-results-cats { margin-top: 30px; }
.no-results-cats h4 { font-size: 15px; color: var(--brown); margin-bottom: 12px; }

.no-results-cat-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.cat-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  transition: var(--transition);
}
.cat-tag:hover { background: var(--gold); color: var(--brown); }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination { margin-top: 30px; text-align: center; }

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  background: var(--white);
  transition: var(--transition);
}
.pagination .page-numbers:hover { border-color: var(--gold); background: var(--gold); }
.pagination .page-numbers.current {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--gold);
}
.pagination .prev, .pagination .next { font-size: 13px; }

/* ================================================================
   ARCHIVE / BLOG GRID
   ================================================================ */
.archive-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.archive-card {
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.archive-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.archive-card-link { display: block; }

.archive-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--gray-light);
}
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; }

.archive-card-body { padding: 14px; }

.archive-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card-excerpt {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card-meta { font-size: 11px; color: var(--gray-text); }
.meta-sep { margin: 0 4px; }

/* ================================================================
   SINGLE POST (BLOG)
   ================================================================ */
.single-post-title { font-size: 26px; line-height: 1.3; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.post-meta a { color: var(--brown); }
.post-meta a:hover { color: var(--red-dark); }

.post-featured-img {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-featured-img img { width: 100%; height: auto; display: block; }

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.entry-content h2 { font-size: 22px; margin: 28px 0 14px; color: var(--brown); }
.entry-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--brown); }
.entry-content p { margin-bottom: 16px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px 0; }
.entry-content ul, .entry-content ol { margin: 12px 0 16px 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--gray-light);
  padding: 16px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--brown);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content a { color: var(--red-dark); text-decoration: underline; }
.entry-content a:hover { color: var(--brown); }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.entry-content th, .entry-content td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
}
.entry-content th { background: var(--gold); color: var(--brown); font-weight: 700; }

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.tag-item {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-size: 12px;
  color: var(--brown);
  transition: var(--transition);
}
.tag-item:hover { border-color: var(--gold); background: var(--gold); }

/* Post share */
.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.share-label { font-size: 13px; font-weight: 600; color: var(--brown); }
.share-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}
.share-fb { background: #1877f2; }
.share-fb:hover { background: #0d5fc9; color: #fff; }
.share-tw { background: #1da1f2; }
.share-tw:hover { background: #0c85d0; color: #fff; }

/* Post nav prev/next */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.post-nav-prev, .post-nav-next {
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
}
.post-nav-next { text-align: right; }
.nav-label { display: block; font-size: 11px; color: var(--gray-text); margin-bottom: 4px; }
.post-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav a:hover { color: var(--red-dark); }

/* ================================================================
   SINGLE PRODUCT PAGE - 4 blocks
   Block 1+2: Image (left 50%) + Info (right 50%)
   Block 3: Description (full width)
   Block 4: Related products (4 columns)
   ================================================================ */
.lk-single-product { margin-bottom: 0; display: block !important; }

/* -- Block 1+2: Top row -- */
.lk-product-top {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 30px;
  margin-bottom: 24px;
  align-items: start;
}

/* -- Block 1: Gallery -- */
.lk-product-gallery { position: relative; }

.lk-gallery-main {
  position: relative;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
}
.lk-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 480px;
}
.lk-gallery-main .lk-product-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}
.lk-gallery-zoom { display: block; cursor: zoom-in; }

.lk-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.lk-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.lk-thumb:hover,
.lk-thumb.active {
  border-color: var(--gold);
}
.lk-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* -- Block 2: Summary -- */
.lk-product-summary { display: flex; flex-direction: column; }

.lk-sp-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brown);
  line-height: 1.3;
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
}

.lk-sp-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.lk-sp-price del {
  font-size: 16px;
  color: var(--gray-text);
  font-weight: 400;
  margin-right: 8px;
}
.lk-sp-price ins { text-decoration: none; }

.lk-sp-excerpt {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lk-sp-excerpt p { margin: 0 0 8px; }

/* Add to cart form styling */
.lk-sp-cart {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.lk-sp-cart .cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lk-sp-cart .quantity {
  display: flex;
  align-items: center;
}
.lk-sp-cart .quantity input {
  width: 80px;
  height: 54px;
  text-align: center;
  border: 2px solid var(--gold);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
  background: #fff;
}
.lk-sp-cart .quantity input:focus {
  border-color: var(--brown);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,155,60,0.2);
}
.lk-sp-cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(168,40,12,0.3);
}
.lk-sp-cart .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, #6d1a08 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168,40,12,0.4);
}
/* Variable product: variations table */
.lk-sp-cart .variations {
  width: 100%;
  margin-bottom: 12px;
}
.lk-sp-cart .variations td {
  padding: 6px 0;
}
.lk-sp-cart .variations td.label {
  font-weight: 600;
  color: var(--brown);
  font-size: 14px;
  padding-right: 12px;
  white-space: nowrap;
}
.lk-sp-cart .variations select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: var(--brown);
}
.lk-sp-cart .variations select:focus {
  border-color: var(--gold);
  outline: none;
}
.lk-sp-cart .reset_variations { font-size: 12px; color: var(--red); margin-left: 8px; }
.lk-sp-cart .woocommerce-variation-price { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: var(--red); }

/* Meta */
.lk-sp-meta { font-size: 13px; color: var(--gray-text); }
.lk-meta-row { margin-bottom: 6px; }
.lk-meta-label { font-weight: 600; color: var(--brown); }
.lk-meta-row a { color: var(--red-dark); }
.lk-meta-row a:hover { color: var(--red); }

/* -- Block 3: Description -- */
.lk-product-description { margin-top: 24px; }
.lk-desc-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.lk-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* -- Block 4: Related Products - 4 columns -- */
.lk-related-block { margin-top: 24px; }

.lk-related-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px;
}

.lk-related-card {
  display: block;
  text-decoration: none;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.lk-related-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.lk-related-img {
  width: 100%;
  max-width: 200px;
  max-height: 200px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-light);
  margin: 0 auto;
}
.lk-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lk-related-card:hover .lk-related-img img {
  transform: scale(1.05);
}

.lk-related-info { padding: 10px 12px; }

.lk-related-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.lk-related-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.lk-related-price del { font-size: 11px; color: var(--gray-text); font-weight: 400; }
.lk-related-price ins { text-decoration: none; }

/* ================================================================
   OLD RELATED PRODUCTS (legacy - keep for compat)
   ================================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-item {
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.related-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.related-item-link {
  display: flex;
  gap: 14px;
  padding: 12px;
}

.related-item-img {
  width: 90px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
}
.related-item-img img { width: 100%; height: 100%; object-fit: cover; }

.related-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

.related-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.related-item-price del { font-size: 11px; color: var(--gray-text); }
.related-item-price ins { text-decoration: none; }

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404 { text-align: center; padding: 40px 20px 50px; }

.error-404-icon {
  font-size: 80px;
  display: inline-block;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 20px;
  animation: float404 3s ease-in-out infinite;
}

@keyframes float404 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.error-404-code {
  font-family: var(--font-display);
  font-size: 100px;
  font-weight: 900;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 3px 3px 0 var(--gold);
}

.error-404-title {
  font-size: 24px;
  color: var(--brown);
  margin-bottom: 12px;
}

.error-404-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.error-404-search {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.error-404-search .search-form-inline { width: 100%; max-width: 480px; }

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-home, .btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-home {
  background: var(--brown);
  color: var(--gold);
  border: 2px solid var(--brown);
}
.btn-home:hover { background: transparent; color: var(--brown); }

.btn-shop {
  background: var(--gold);
  color: var(--brown);
  border: 2px solid var(--gold);
}
.btn-shop:hover { background: var(--brown); color: var(--gold); border-color: var(--brown); }

.error-404-suggest { margin-top: 30px; }
.error-404-suggest h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 16px;
}

/* ================================================================
   WOOCOMMERCE PAGES - COMPREHENSIVE CUSTOM STYLING
   ================================================================ */
.wc-page-body { min-height: 400px; }

/* ------ LK AUTH: Đăng nhập / Đăng ký / Quên MK ------ */
.lk-auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.lk-auth-wrapper.lk-auth-single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.lk-auth-box {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px 30px;
}

.lk-auth-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  font-size: 32px;
  text-align: center;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.lk-auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--brown);
  text-align: center;
  margin-bottom: 6px;
}

.lk-auth-subtitle {
  font-size: 14px;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Form groups */
.lk-form-group {
  margin-bottom: 20px;
}

.lk-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}
.lk-form-group label .required { color: var(--red); }

.lk-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lk-input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}

.lk-input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  color: var(--brown);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.lk-input-wrap input::placeholder { color: #bbb; }
.lk-input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(235,212,5,0.15);
}

.lk-form-row-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.lk-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--brown);
  cursor: pointer;
}
.lk-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.lk-forgot-link {
  font-size: 13px;
  color: var(--red-dark);
  font-weight: 600;
  transition: var(--transition);
}
.lk-forgot-link:hover { color: var(--brown); text-decoration: underline; }

/* Auth buttons */
.lk-btn {
  display: block;
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 50px;
}

.lk-btn-primary {
  background: var(--brown);
  color: var(--gold);
}
.lk-btn-primary:hover {
  background: var(--gold);
  color: var(--brown);
  box-shadow: 0 4px 16px rgba(64,19,2,0.2);
}

.lk-btn-gold {
  background: var(--gold);
  color: var(--brown);
}
.lk-btn-gold:hover {
  background: var(--brown);
  color: var(--gold);
}

.lk-btn-outline {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  line-height: 46px;
}
.lk-btn-outline:hover {
  background: var(--brown);
  color: var(--gold);
}

.lk-btn-lg { height: 54px; line-height: 54px; font-size: 17px; }

.lk-note {
  font-size: 13px;
  color: var(--gray-text);
  background: var(--gray-light);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Auth benefits */
.lk-auth-benefits {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #ddd;
}
.lk-auth-benefits p { font-size: 14px; color: var(--brown); margin-bottom: 10px; }
.lk-auth-benefits ul { list-style: none; padding: 0; }
.lk-auth-benefits li {
  font-size: 13px;
  color: var(--gray-text);
  padding: 4px 0;
  line-height: 1.5;
}

.lk-auth-footer-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.lk-auth-footer-link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  transition: var(--transition);
}
.lk-auth-footer-link a:hover { color: var(--red-dark); }

/* ------ LK CAPTCHA ------ */
.lk-captcha-group {
  margin-bottom: 24px;
}

.lk-captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lk-captcha-question {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 130px;
  white-space: nowrap;
}

.lk-captcha-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.lk-captcha-math {
  font-size: 18px;
  font-weight: 800;
  color: var(--brown);
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.lk-captcha-input {
  width: 80px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--brown);
  border: 2px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  -moz-appearance: textfield;
}
.lk-captcha-input::-webkit-outer-spin-button,
.lk-captcha-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.lk-captcha-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(235,212,5,0.2);
}

/* ------ LK CART: Giỏ hàng ------ */
.lk-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}
.lk-cart-actions .lk-btn {
  width: auto;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ------ LK CHECKOUT: Thanh toán ------ */
.lk-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 24px;
  background: var(--gray-light);
}

.lk-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lk-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lk-step.active .lk-step-num {
  background: var(--brown);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(64,19,2,0.3);
}
.lk-step.done .lk-step-num {
  background: var(--gold);
  color: var(--brown);
}

.lk-step-text {
  font-size: 13px;
  font-weight: 600;
  color: #999;
}
.lk-step.active .lk-step-text { color: var(--brown); }
.lk-step.done .lk-step-text { color: var(--brown); }

.lk-step-line {
  width: 60px;
  height: 2px;
  background: #ddd;
  margin: 0 12px;
}
.lk-step-line.done { background: var(--gold); }

/* ------ LK ORDER SUCCESS ------ */
.lk-order-success {
  text-align: center;
  padding: 30px 20px;
}

.lk-success-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.lk-success-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 10px;
}

.lk-success-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 20px;
}

/* ------ LK EMPTY STATE: Giỏ hàng trống / 404 ------ */
.lk-empty-state {
  text-align: center;
  padding: 50px 20px;
}

.lk-empty-icon { font-size: 72px; margin-bottom: 16px; }

.lk-empty-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 10px;
}

.lk-empty-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.lk-empty-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lk-empty-actions .lk-btn {
  width: auto;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Gợi ý sản phẩm */
.lk-empty-suggest { margin-top: 20px; }
.lk-empty-suggest h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 16px;
}

.lk-suggest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.lk-suggest-card {
  display: block;
  text-align: center;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  transition: var(--transition);
}
.lk-suggest-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.lk-suggest-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-light);
}
.lk-suggest-img img { width: 100%; height: 100%; object-fit: cover; }

.lk-suggest-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 4px;
  line-height: 1.3;
}

.lk-suggest-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.lk-suggest-price del { font-size: 10px; color: var(--gray-text); }
.lk-suggest-price ins { text-decoration: none; }

/* ------ WC DEFAULT ELEMENTS STYLING ------ */

/* WC Tables */
.wc-page-body table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.wc-page-body table.shop_table th,
.wc-page-body table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  color: var(--brown);
  vertical-align: middle;
}
.wc-page-body table.shop_table thead th {
  background: var(--gray-light);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brown);
}
.wc-page-body table.shop_table img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}
.wc-page-body table.shop_table .product-remove a {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}
.wc-page-body table.shop_table .product-name a {
  color: var(--brown);
  font-weight: 600;
}
.wc-page-body table.shop_table .product-name a:hover { color: var(--red-dark); }
.wc-page-body table.shop_table .quantity input {
  width: 60px;
  height: 36px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

/* WC Buttons */
.wc-page-body .button,
.wc-page-body button[type="submit"],
.wc-page-body input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  transition: var(--transition);
}
.wc-page-body .button:hover,
.wc-page-body button[type="submit"]:hover,
.wc-page-body input[type="submit"]:hover {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
}

.wc-page-body .button.alt,
.wc-page-body .checkout-button {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
  padding: 14px 36px;
  font-size: 16px;
}
.wc-page-body .button.alt:hover,
.wc-page-body .checkout-button:hover {
  background: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
}

/* WC Forms */
.wc-page-body .form-row { margin-bottom: 18px; }
.wc-page-body .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}
.wc-page-body .form-row label .required { color: var(--red); }
.wc-page-body .form-row input[type="text"],
.wc-page-body .form-row input[type="email"],
.wc-page-body .form-row input[type="tel"],
.wc-page-body .form-row input[type="password"],
.wc-page-body .form-row input[type="number"],
.wc-page-body .form-row textarea,
.wc-page-body .form-row select,
.wc-page-body .select2-container .select2-selection--single {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  color: var(--brown);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.wc-page-body .form-row textarea { height: auto; min-height: 100px; padding: 12px 16px; }
.wc-page-body .form-row input:focus,
.wc-page-body .form-row textarea:focus,
.wc-page-body .form-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(235,212,5,0.15);
}

/* WC two-column layout for checkout billing/shipping */
.wc-page-body .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.wc-page-body .col2-set h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

/* WC Cart totals */
.wc-page-body .cart_totals {
  max-width: 420px;
  margin-left: auto;
  margin-top: 24px;
  background: var(--gray-light);
  padding: 24px;
  border-radius: var(--radius);
}
.wc-page-body .cart_totals h2 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 16px;
}

/* WC Order review (checkout) */
.wc-page-body #order_review_heading {
  font-size: 18px;
  color: var(--brown);
  margin: 24px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.wc-page-body #payment {
  background: var(--gray-light);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 20px;
}
.wc-page-body #payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.wc-page-body #payment .payment_methods li {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--white);
}
.wc-page-body #payment .payment_methods li label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
}
.wc-page-body #payment .payment_box {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gray-text);
  background: var(--gray-light);
  border-radius: 6px;
  margin-top: 8px;
}

/* WC Coupon */
.wc-page-body .coupon {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.wc-page-body .coupon input {
  height: 42px;
  padding: 0 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  width: 200px;
}
.wc-page-body .coupon input:focus {
  border-color: var(--gold);
}

/* WC Notices */
.wc-page-body .woocommerce-message,
.woocommerce-message,
.wc-page-body .woocommerce-info,
.woocommerce-info {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-page-body .woocommerce-message,
.woocommerce-message {
  background: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
}
.wc-page-body .woocommerce-info,
.woocommerce-info {
  background: #d1ecf1;
  border-left: 4px solid #17a2b8;
  color: #0c5460;
}
.wc-page-body .woocommerce-error,
.woocommerce-error {
  background: #f8d7da;
  border-left: 4px solid #dc3545;
  color: #721c24;
  list-style: none;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
}

/* WC My Account dashboard nav */
.wc-page-body .woocommerce-MyAccount-navigation {
  float: left;
  width: 220px;
  margin-right: 30px;
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.wc-page-body .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-page-body .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  border-bottom: 1px solid #e5e5e5;
  transition: var(--transition);
}
.wc-page-body .woocommerce-MyAccount-navigation ul li a:hover,
.wc-page-body .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--gold);
  color: var(--brown);
}
.wc-page-body .woocommerce-MyAccount-content {
  overflow: hidden;
  min-height: 300px;
}

/* WC Address fields */
.wc-page-body .woocommerce-address-fields .form-row-first,
.wc-page-body .woocommerce-address-fields .form-row-last {
  width: 48%;
  display: inline-block;
}
.wc-page-body .woocommerce-address-fields .form-row-first { float: left; }
.wc-page-body .woocommerce-address-fields .form-row-last { float: right; }
.wc-page-body .woocommerce-address-fields .form-row-wide { clear: both; }

/* WC Order table */
.wc-page-body .woocommerce-orders-table .button {
  padding: 8px 18px;
  font-size: 12px;
}

/* Remove number spinner */
.wc-page-body input[type="number"]::-webkit-outer-spin-button,
.wc-page-body input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* ================================================================
   PRODUCT ARCHIVE GRID (Danh mục sản phẩm)
   Desktop: 3 cột, ảnh 200x200
   ================================================================ */
.lk-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lk-product-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.lk-product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.lk-product-link {
  display: block;
  text-decoration: none;
  flex: 1;
}

.lk-product-img {
  width: 100%;
  aspect-ratio: 1;
  max-height: 200px;
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lk-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lk-product-card:hover .lk-product-img img {
  transform: scale(1.05);
}

.lk-product-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lk-product-info {
  padding: 12px 14px 8px;
}

.lk-product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.lk-product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}
.lk-product-price del {
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 400;
  margin-right: 6px;
}
.lk-product-price ins {
  text-decoration: none;
  color: var(--red);
}

.lk-product-action {
  padding: 0 14px 14px;
}

.lk-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 8px 12px;
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.lk-btn-cart:hover {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
}
.lk-btn-cart.lk-out-of-stock {
  background: #eee;
  border-color: #ddd;
  color: var(--gray-text);
  cursor: default;
}
.lk-btn-cart.added::after {
  content: ' ✓';
}

/* Pagination - arrows style */
.lk-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.lk-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  transition: var(--transition);
}
.lk-pagination .page-numbers:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--brown);
}
.lk-pagination .page-numbers.current {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--gold);
}
.lk-pagination .page-numbers.prev,
.lk-pagination .page-numbers.next {
  font-size: 18px;
  font-weight: 700;
  border-color: var(--brown);
  color: var(--brown);
}
.lk-pagination .page-numbers.prev:hover,
.lk-pagination .page-numbers.next:hover {
  background: var(--brown);
  color: var(--gold);
}
.lk-pagination .page-numbers.dots {
  border: none;
  min-width: auto;
  padding: 0 4px;
  color: var(--gray-text);
}

/* ================================================================
   RESPONSIVE - IPAD (768px - 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }

  /* Header iPad: giữ search nhưng nhỏ hơn */
  .header-inner { gap: 14px; padding: 10px 16px; }
  .site-logo a { font-size: 22px; }
  .site-logo .logo-icon { width: 38px; height: 38px; font-size: 18px; }
  .header-search { max-width: 320px; }
  .header-search input { height: 38px; font-size: 13px; }
  .header-search button { width: 30px; height: 30px; }
  .header-btn { padding: 6px 12px; font-size: 12px; }
  .header-btn .icon { font-size: 16px; }

  /* Block chung */
  .block-header { padding: 12px 18px; }
  .block-title { font-size: 18px; }
  .block-body { padding: 16px; }

  /* Block 1: Thư mục - 2 cột */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-img { width: 70px; height: 70px; }
  .category-name { font-size: 14px; }

  /* Block 2: Tabs - 4 SP/slide */
  .tab-btn { padding: 8px 20px; font-size: 13px; }
  .product-card { flex: 0 0 calc((100% - 42px) / 4); }
  .product-img { width: 120px; height: 120px; }
  .product-name { font-size: 12px; min-height: 52px; padding: 8px 8px 4px; }
  .price-sale { font-size: 13px; }

  /* Block 3: Ưu đãi - giữ layout 1/6 + 5/6 nhưng tăng tỉ lệ trái */
  .discount-info { width: 20%; min-width: 160px; padding: 16px 12px; }
  .discount-percent { font-size: 52px; }
  .discount-label { font-size: 16px; }

  /* Block 4: 2x2 */
  .four-cols { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .col-product-img { width: 100px; height: 100px; }

  /* Block 5-8: Split header */
  .split-header-left { width: 35%; padding: 12px 16px; }
  .split-header-right { width: 65%; padding: 12px 16px; }
  .cat-product-card { flex: 0 0 130px; }
  .cat-product-img { width: 130px; height: 130px; }

  /* Block 9: Hot - 3 cột */
  .hot-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hot-card-img { width: 160px; height: 160px; }

  /* Block 10: Blog - 3 cột */
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .blog-img { height: 160px; }

  /* Block 11: Review - 2 card/view */
  .review-card { flex: 0 0 calc(50% - 8px); padding: 16px; }

  /* Newsletter */
  .newsletter-form input { width: 220px; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-col-title { font-size: 16px; }
  .footer-bottom-main { font-size: 11px; }
  .footer-bottom-sep { margin: 0 4px; }

  /* Sidebar layout */
  .has-sidebar { flex-direction: column; }
  .site-sidebar { width: 100%; }

  /* --- INNER PAGES iPad --- */
  .search-results-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .search-result-img { width: 90px; height: 90px; }
  .archive-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .archive-card-img { height: 160px; }

  /* Product archive iPad: vẫn 3 cột */
  .lk-products-grid { gap: 12px; }
  .lk-product-img { max-height: 180px; }
  .lk-product-title { font-size: 13px; min-height: 36px; }
  .lk-product-price { font-size: 14px; }
  .lk-btn-cart { padding: 7px 10px; font-size: 12px; }
  .lk-pagination .page-numbers { min-width: 36px; height: 36px; font-size: 13px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .related-item-img { width: 80px; height: 80px; }
  .post-nav { gap: 12px; }
  .error-404-code { font-size: 80px; }
  .wc-page-body .col2-set { gap: 18px; }

  /* Single product iPad */
  .lk-product-top { gap: 20px; }
  .lk-gallery-main img { max-height: 380px; }
  .lk-sp-title { font-size: 20px; margin-bottom: 12px; }
  .lk-sp-price { font-size: 19px; margin-bottom: 12px; padding-bottom: 12px; }
  .lk-sp-excerpt { font-size: 13px; }
  .lk-sp-cart .single_add_to_cart_button { padding: 10px 24px; font-size: 15px; }
  .lk-thumb { width: 54px; height: 54px; }
  .lk-related-grid { gap: 10px; }
  .lk-related-name { font-size: 12px; min-height: 32px; }
  .lk-related-price { font-size: 13px; }
  .lk-related-info { padding: 8px 10px; }

  /* WC Auth iPad */
  .lk-auth-wrapper { gap: 24px; max-width: 100%; }
  .lk-auth-box { padding: 28px 24px; }
  .lk-checkout-steps { padding: 16px 20px; }
  .lk-step-line { width: 40px; }
  .lk-suggest-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* ================================================================
   RESPONSIVE - MOBILE (max 767px)
   ================================================================ */
@media (max-width: 767px) {
  :root { --radius: 6px; }
  .container { padding: 0 12px; }

  /* ---- HEADER MOBILE ----
     Chỉ: Logo + icon Account + icon Cart
     Ẩn search, ẩn text "Tài khoản", "Giỏ hàng" */
  .header-inner {
    gap: 0;
    padding: 8px 12px;
    justify-content: space-between;
  }
  .site-logo a { font-size: 18px; gap: 6px; }
  .site-logo .logo-icon { width: 32px; height: 32px; font-size: 16px; }

  /* Ẩn search trên mobile */
  .header-search { display: none; }

  /* Header buttons: chỉ hiện icon */
  .header-actions { gap: 12px; margin-left: auto; }
  .header-btn {
    padding: 6px;
    border: none;
    background: transparent;
    font-size: 0; /* ẩn text */
    gap: 0;
  }
  .header-btn .icon {
    font-size: 22px;
  }
  .cart-total { display: none; }
  .cart-badge {
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    font-size: 9px;
    border-width: 1px;
  }

  /* ---- BLOCK CHUNG MOBILE ---- */
  .block { margin-bottom: 16px; }
  .block-header { padding: 10px 14px; border-radius: var(--radius) var(--radius) 0 0; }
  .block-title { font-size: 16px; letter-spacing: 0.5px; }
  .block-body { padding: 12px; border-radius: 0 0 var(--radius) var(--radius); }
  .block-link { font-size: 12px; }

  /* ---- BLOCK 1: THƯ MỤC MOBILE ----
     2 cột, 4 hàng = 8 item, KHÔNG có ảnh, chỉ text */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .category-card {
    padding: 10px 12px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #eee;
    gap: 0;
  }
  .category-card:hover { transform: none; box-shadow: none; }
  /* Ẩn ảnh thư mục trên mobile */
  .category-img { display: none; }
  .category-name { font-size: 14px; font-weight: 600; }
  .category-count { font-size: 11px; }
  /* Chỉ hiện 8 thư mục, ẩn từ item thứ 9 */
  .category-card:nth-child(n+9) { display: none; }

  /* ---- BLOCK 2: TABS MOBILE ---- */
  .tabs-nav { gap: 0; width: 100%; }
  .tab-btn {
    flex: 1;
    padding: 8px 6px;
    font-size: 12px;
    letter-spacing: 0;
    text-align: center;
  }
  /* Slide mobile: hiện 2 SP/lần */
  .product-card {
    flex: 0 0 calc(50% - 7px);
  }
  .product-img { width: 90px; height: 90px; }
  .product-name {
    font-size: 11px;
    min-height: 44px;
    padding: 6px 6px 4px;
    -webkit-line-clamp: 2;
  }
  .product-bottom { padding: 4px 6px 8px; }
  .price-old { font-size: 10px; }
  .price-sale { font-size: 12px; }
  .btn-add-cart { width: 28px; height: 28px; font-size: 14px; }

  /* Slider nav nhỏ hơn */
  .slider-nav { width: 28px; height: 28px; font-size: 14px; }
  .slider-prev { left: 2px; }
  .slider-next { right: 2px; }

  /* ---- BLOCK 3: ƯU ĐÃI MOBILE ----
     2 cột: 1 col info + 1 col SP (slide 2 SP/lần) */
  .discount-block {
    flex-direction: row;
  }
  .discount-info {
    width: 40%;
    min-width: 120px;
    padding: 14px 10px;
  }
  .discount-label { font-size: 13px; margin-bottom: 6px; }
  .discount-percent { font-size: 42px; margin-bottom: 8px; }
  .discount-timer-label { font-size: 10px; margin-bottom: 6px; }
  .timer-unit { min-width: 32px; padding: 4px 5px; }
  .timer-num { font-size: 15px; }
  .timer-txt { font-size: 8px; }
  .discount-products { padding: 10px 8px; }
  /* Trong discount, mỗi lần hiện 1 SP */
  .discount-products .product-card {
    flex: 0 0 100%;
  }
  .discount-products .product-img { width: 80px; height: 80px; }

  /* ---- BLOCK 4: 4 CỘT → XẾP DỌC MOBILE ----
     Mỗi block riêng, vẫn 4 sp chia 2x2 */
  .four-cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .col-block-header { padding: 10px 14px; }
  .col-block-title { font-size: 15px; }
  .col-products { gap: 8px; padding: 10px; }
  .col-product-img { width: 90px; height: 90px; }
  .col-product-name { font-size: 11px; }
  .col-block-footer { padding: 8px; }
  .btn-view-more { font-size: 12px; }

  /* ---- BLOCK 5-8: SLIDE DANH MỤC MOBILE ----
     Hiện 2 SP, ảnh 90x90 */
  .split-header { flex-direction: column; }
  .split-header-left {
    width: 100%;
    padding: 10px 14px;
    justify-content: flex-start;
  }
  .split-header-right {
    width: 100%;
    padding: 6px 14px;
    justify-content: flex-end;
    background: var(--gray-light);
  }
  .cat-slide-body { padding: 10px; }
  .cat-product-slider { gap: 10px; }
  .cat-product-card { flex: 0 0 90px; }
  .cat-product-img { width: 90px; height: 90px; }
  .cat-product-name { font-size: 10px; max-width: 90px; }

  /* ---- BLOCK 9: HOT MOBILE - 2 cột ---- */
  .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hot-card-img { width: 100%; height: auto; aspect-ratio: 1; max-width: 140px; }
  .hot-tag { font-size: 11px; padding: 2px 8px; }
  .hot-count { font-size: 11px; }

  /* ---- BLOCK 10: BLOG MOBILE - 2 cột ---- */
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .blog-img { height: 120px; }
  .blog-title { font-size: 12px; }

  /* ---- BLOCK 11: REVIEW MOBILE - 1 card/view ---- */
  .reviews-slider-wrap { overflow: hidden; }
  .review-card {
    flex: 0 0 100%;
    padding: 14px;
  }
  .review-stars { font-size: 14px; }
  .review-text { font-size: 13px; margin-bottom: 10px; }
  .review-author { font-size: 12px; }

  /* ---- NEWSLETTER MOBILE ---- */
  .newsletter { padding: 18px 0; }
  .newsletter-inner { flex-direction: column; text-align: center; gap: 10px; }
  .newsletter-title { font-size: 16px; }
  .newsletter-desc { font-size: 13px; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .newsletter-form input {
    width: 100%;
    border-right: 2px solid var(--brown);
    border-radius: 24px;
  }
  .newsletter-form button {
    border-radius: 24px;
    width: 100%;
  }

  /* ---- FOOTER MOBILE ---- */
  .site-footer { padding: 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-col-title { font-size: 16px; margin-bottom: 10px; padding-bottom: 8px; }
  .footer-col p { font-size: 12px; }
  .footer-col ul li a { font-size: 12px; }
  .footer-phone { font-size: 15px; }
  .footer-note { font-size: 11px; }
  .footer-awards { padding: 8px 10px; }
  .footer-awards p { font-size: 11px; }
  .footer-rules li { font-size: 12px; padding-left: 22px; margin-bottom: 8px; }
  .footer-rules li::before { font-size: 12px; }
  .footer-viewers { font-size: 12px; padding: 6px 10px; }
  .footer-bottom { padding: 14px 0; }
  .footer-bottom-main { font-size: 11px; line-height: 2; }
  .footer-bottom-sep { display: none; }
  .footer-bottom-main a { display: inline-block; margin: 0 4px; }
  .footer-bottom-policy a { font-size: 11px; }

  /* Sidebar mobile */
  .has-sidebar { flex-direction: column; }
  .site-sidebar { width: 100%; }

  /* --- INNER PAGES MOBILE --- */

  /* Breadcrumb */
  .breadcrumb { padding: 10px 0; }
  .breadcrumb-trail { font-size: 12px; }
  .bc-sep { margin: 0 4px; }

  /* Search page */
  .search-form-inline { flex-direction: column; gap: 8px; max-width: 100%; }
  .search-form-inline input { border-radius: 20px; border-right: 2px solid var(--gold); }
  .search-form-inline button { border-radius: 20px; width: 100%; }
  .search-results-grid { grid-template-columns: 1fr; gap: 10px; }
  .search-result-img { width: 80px; height: 80px; }
  .search-result-title { font-size: 14px; }
  .search-result-price { font-size: 13px; }
  .search-result-excerpt { font-size: 12px; }
  .no-results { padding: 30px 12px; }
  .no-results-icon { font-size: 48px; }
  .no-results h3 { font-size: 18px; }
  .no-results p { font-size: 13px; }
  .cat-tag { padding: 4px 12px; font-size: 12px; }

  /* Pagination */
  .pagination .page-numbers { min-width: 34px; height: 34px; font-size: 13px; padding: 0 10px; }

  /* Product archive mobile: 2 cột, ảnh 120x120 */
  .lk-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .lk-product-img { max-height: 120px; }
  .lk-product-sale { font-size: 9px; padding: 2px 6px; top: 4px; left: 4px; }
  .lk-product-info { padding: 8px 10px 6px; }
  .lk-product-title { font-size: 12px; min-height: 34px; margin-bottom: 4px; }
  .lk-product-price { font-size: 13px; }
  .lk-product-price del { font-size: 10px; }
  .lk-product-action { padding: 0 10px 10px; }
  .lk-btn-cart { padding: 6px 8px; font-size: 11px; border-radius: 6px; border-width: 1px; }
  .lk-pagination { gap: 4px; margin-top: 16px; padding-top: 14px; }
  .lk-pagination .page-numbers { min-width: 34px; height: 34px; font-size: 13px; padding: 0 8px; border-radius: 6px; }
  .lk-pagination .page-numbers.prev,
  .lk-pagination .page-numbers.next { font-size: 16px; }

  /* Single product mobile */
  .lk-product-top {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 16px;
  }
  .lk-gallery-main img { max-height: 300px; }
  .lk-sp-title { font-size: 18px; margin-bottom: 10px; }
  .lk-sp-price { font-size: 18px; margin-bottom: 10px; padding-bottom: 10px; }
  .lk-sp-price del { font-size: 14px; }
  .lk-sp-excerpt { font-size: 13px; margin-bottom: 12px; }
  .lk-sp-cart { margin-bottom: 14px; padding-bottom: 14px; }
  .lk-sp-cart .cart { gap: 10px; }
  .lk-sp-cart .quantity input { width: 64px; height: 48px; font-size: 18px; }
  .lk-sp-cart .single_add_to_cart_button { padding: 14px 24px; font-size: 16px; border-radius: 10px; flex: 1; }
  .lk-sp-cart .variations td.label { font-size: 13px; }
  .lk-sp-cart .variations select { height: 42px; font-size: 14px; }
  .lk-sp-meta { font-size: 12px; }
  .lk-thumb { width: 50px; height: 50px; }
  .lk-gallery-thumbs { gap: 6px; margin-top: 8px; }
  .lk-product-description { margin-top: 16px; }
  .lk-desc-content { font-size: 14px; }
  .lk-related-block { margin-top: 16px; }
  .lk-related-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .lk-related-img { max-width: 120px; max-height: 120px; }
  .lk-related-info { padding: 8px; }
  .lk-related-name { font-size: 11px; min-height: 30px; margin-bottom: 4px; }
  .lk-related-price { font-size: 11px; }
  .lk-related-price del { font-size: 9px; }

  /* Archive/blog */
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .archive-card-img { height: 120px; }
  .archive-card-body { padding: 10px; }
  .archive-card-title { font-size: 13px; margin-bottom: 4px; }
  .archive-card-excerpt { font-size: 11px; margin-bottom: 4px; }

  /* Single post */
  .single-post-title { font-size: 20px; }
  .post-meta { font-size: 12px; gap: 2px; flex-direction: column; }
  .meta-sep { display: none; }
  .entry-content { font-size: 15px; line-height: 1.7; }
  .entry-content h2 { font-size: 18px; }
  .entry-content h3 { font-size: 16px; }
  .post-tags { gap: 6px; }
  .tag-item { padding: 3px 10px; font-size: 11px; }
  .post-share { flex-wrap: wrap; gap: 8px; }
  .share-btn { padding: 5px 12px; font-size: 11px; }
  .post-nav { grid-template-columns: 1fr; gap: 10px; }
  .post-nav-next { text-align: left; }

  /* Related products */
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-item-link { padding: 10px; gap: 12px; }
  .related-item-img { width: 80px; height: 80px; }
  .related-item-name { font-size: 13px; }
  .related-item-price { font-size: 13px; }

  /* 404 page */
  .error-404 { padding: 30px 12px 40px; }
  .error-404-icon { font-size: 60px; width: 90px; height: 90px; line-height: 90px; }
  .error-404-code { font-size: 64px; }
  .error-404-title { font-size: 20px; }
  .error-404-desc { font-size: 14px; }
  .error-404-actions { flex-direction: column; align-items: center; gap: 10px; }
  .btn-home, .btn-shop { padding: 10px 24px; font-size: 14px; width: 100%; text-align: center; justify-content: center; }
  .error-404-suggest h3 { font-size: 16px; }

  /* WooCommerce pages */
  .wc-page-body table.shop_table th,
  .wc-page-body table.shop_table td { padding: 10px 8px; font-size: 13px; }
  .wc-page-body table.shop_table img { width: 50px; height: 50px; }
  .wc-page-body .button,
  .wc-page-body button[type="submit"],
  .wc-page-body input[type="submit"] { padding: 10px 20px; font-size: 13px; width: 100%; text-align: center; }
  .wc-page-body .form-row input[type="text"],
  .wc-page-body .form-row input[type="email"],
  .wc-page-body .form-row input[type="tel"],
  .wc-page-body .form-row input[type="password"],
  .wc-page-body .form-row input[type="number"],
  .wc-page-body .form-row textarea,
  .wc-page-body .form-row select { height: 42px; font-size: 13px; padding: 0 12px; }
  .wc-page-body .col2-set { grid-template-columns: 1fr; gap: 16px; }
  .wc-page-body .cart_totals { max-width: 100%; padding: 16px; }

  /* WC Auth mobile - stack */
  .lk-auth-wrapper { grid-template-columns: 1fr; gap: 20px; max-width: 100%; }
  .lk-auth-box { padding: 24px 18px; }
  .lk-auth-icon { width: 52px; height: 52px; line-height: 52px; font-size: 26px; }
  .lk-auth-title { font-size: 20px; }
  .lk-auth-subtitle { font-size: 13px; margin-bottom: 20px; }
  .lk-input-wrap input { height: 44px; padding: 0 14px 0 40px; font-size: 13px; }
  .lk-input-icon { left: 12px; font-size: 14px; }
  .lk-form-row-flex { flex-direction: column; gap: 10px; align-items: flex-start; }
  .lk-btn { height: 46px; line-height: 46px; font-size: 15px; border-radius: 10px; }
  .lk-btn-lg { height: 48px; line-height: 48px; font-size: 15px; }

  /* Captcha mobile */
  .lk-captcha-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .lk-captcha-question { justify-content: center; padding: 8px 14px; min-width: unset; }
  .lk-captcha-math { font-size: 16px; }
  .lk-captcha-input { width: 100%; height: 44px; font-size: 18px; }

  /* Checkout steps mobile */
  .lk-checkout-steps { padding: 14px 12px; flex-wrap: wrap; gap: 4px; }
  .lk-step-text { font-size: 11px; }
  .lk-step-num { width: 26px; height: 26px; font-size: 12px; }
  .lk-step-line { width: 30px; margin: 0 6px; }

  /* Cart actions mobile */
  .lk-cart-actions { flex-direction: column; gap: 10px; }
  .lk-cart-actions .lk-btn { width: 100%; padding: 0; }

  /* Empty state / suggest mobile */
  .lk-empty-state { padding: 30px 12px; }
  .lk-empty-icon { font-size: 56px; }
  .lk-empty-title { font-size: 20px; }
  .lk-empty-desc { font-size: 14px; }
  .lk-empty-actions { flex-direction: column; }
  .lk-empty-actions .lk-btn { width: 100%; padding: 0; }
  .lk-suggest-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lk-suggest-img { width: 80px; height: 80px; }
  .lk-suggest-name { font-size: 12px; }

  /* Order success mobile */
  .lk-success-icon { font-size: 48px; }
  .lk-success-title { font-size: 22px; }

  /* My Account nav mobile - horizontal */
  .wc-page-body .woocommerce-MyAccount-navigation {
    width: 100%;
    float: none;
    margin: 0 0 16px;
  }
  .wc-page-body .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .wc-page-body .woocommerce-MyAccount-navigation ul li a {
    padding: 8px 14px;
    font-size: 12px;
    border-bottom: none;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
  }

  /* WC Address fields mobile */
  .wc-page-body .woocommerce-address-fields .form-row-first,
  .wc-page-body .woocommerce-address-fields .form-row-last {
    width: 100%;
    float: none;
  }

  /* Coupon mobile */
  .wc-page-body .coupon { flex-direction: column; }
  .wc-page-body .coupon input { width: 100%; }

  /* Payment mobile */
  .wc-page-body #payment { padding: 16px; }
  .wc-page-body #payment .payment_methods li { padding: 10px 12px; }

  /* Responsive cart table: stack on mobile */
  .wc-page-body table.shop_table_responsive thead { display: none; }
  .wc-page-body table.shop_table_responsive tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px;
  }
  .wc-page-body table.shop_table_responsive td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 4px;
  }
  .wc-page-body table.shop_table_responsive td::before {
    content: attr(data-title);
    font-weight: 700;
    font-size: 12px;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-right: 10px;
  }
}

/* ================================================================
   RESPONSIVE - SMALL MOBILE (max 374px) - iPhone SE, etc.
   ================================================================ */
@media (max-width: 374px) {
  .header-inner { padding: 6px 8px; }
  .site-logo a { font-size: 16px; }
  .site-logo .logo-icon { width: 28px; height: 28px; font-size: 14px; }

  .categories-grid { grid-template-columns: 1fr 1fr; }
  .category-card { padding: 8px 10px; }
  .category-name { font-size: 13px; }

  .product-card { flex: 0 0 calc(50% - 5px); }
  .product-img { width: 80px; height: 80px; }
  .product-name { font-size: 10px; min-height: 38px; }

  .discount-info { width: 35%; min-width: 100px; padding: 10px 6px; }
  .discount-percent { font-size: 34px; }
  .discount-label { font-size: 11px; }

  .col-product-img { width: 80px; height: 80px; }

  .cat-product-card { flex: 0 0 80px; }
  .cat-product-img { width: 80px; height: 80px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-img { height: 160px; }

  .hot-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hot-card-img { max-width: 120px; }

  /* Inner pages small mobile */
  .archive-grid { grid-template-columns: 1fr; gap: 8px; }
  .archive-card-img { height: 160px; }
  .single-post-title { font-size: 18px; }
  .entry-content { font-size: 14px; }
  .error-404-code { font-size: 52px; }
  .related-item-img { width: 70px; height: 70px; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.block { animation: fadeInUp 0.5s ease both; }
.block:nth-child(2) { animation-delay: 0.05s; }
.block:nth-child(3) { animation-delay: 0.1s; }
.block:nth-child(4) { animation-delay: 0.15s; }
