/* ================================================================
   IN HOÀNG GIA – WOOCOMMERCE CSS  v3
   Bao gồm: archive, single product, cart, checkout, sidebar
   ================================================================ */

/* ── 1. Wrapper & Layout ── */
.woo-wrapper {
  padding: 40px 0 70px;
  background: linear-gradient(180deg, #f4f7fc 0%, #f8f9fd 100%);
}
.woo-main, .woo-main--full {
  width: 100%; max-width: 100%; min-width: 0;
}
.woo-sidebar { display: none !important; }

/* ── 2. Archive header – ẩn vì tiêu đề đã có trong hero ── */
.woocommerce-products-header { display: none !important; }
.woocommerce-result-count { display: none !important; }

/* ── Ẩn mọi plugin breadcrumb trên category/archive – theme dùng hg-bc-bar ── */
.woocommerce-breadcrumb,
.woocommerce-breadcrumbs,
.yoast-breadcrumb,
.rank-math-breadcrumb,
.rank-math-breadcrumb p,
nav.breadcrumb,
nav.woocommerce-breadcrumb,
#breadcrumb,
.bcn-breadcrumb-list,
.seopress-breadcrumbs-wrap { display: none !important; }
.woocommerce-ordering select {
  padding: 8px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 13px; outline: none; background: #fff; cursor: pointer;
}
.woocommerce-ordering select:focus { border-color: var(--primary); }

/* ── Pagination ── */
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: #fff; transition: .2s; text-decoration: none;
}
.woocommerce-pagination ul li a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.woocommerce-pagination ul li span.current {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.woocommerce-pagination ul li .page-numbers.dots {
  border: none; background: none; color: var(--text-muted);
  cursor: default; min-width: auto; padding: 0 4px;
}

/* ── Category description below products ── */
.woo-cat-desc {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px 32px; margin-top: 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06); border: 1px solid #eaecf0;
  font-size: 15px; line-height: 1.85; color: #333;
  word-break: break-word; overflow-wrap: break-word;
  position: relative;
}
/* Headings */
.woo-cat-desc h2 {
  font-size: clamp(1rem, 2.8vw, 1.22rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1.8em 0 .6em;
  padding: 10px 16px 10px 44px;
  background: linear-gradient(90deg, #eef3fb 0%, #f6f9ff 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  position: relative;
}
.woo-cat-desc h2::before {
  content: '\f105\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: -3px;
  opacity: .7;
}
.woo-cat-desc h3 {
  font-size: clamp(.9rem, 2.5vw, 1.07rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1.4em 0 .5em;
  padding-left: 14px;
  border-left: 3px solid var(--secondary);
  position: relative;
}
.woo-cat-desc h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.2em 0 .4em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.woo-cat-desc h4::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* Blockquote */
.woo-cat-desc blockquote {
  position: relative;
  margin: 1.6em 0;
  padding: 20px 24px 20px 64px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fb 100%);
  border-left: none;
  border-radius: 10px;
  font-style: italic;
  color: #2a3a5c;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 2px 12px rgba(4,20,45,.07);
}
.woo-cat-desc blockquote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--primary);
  opacity: .18;
  position: absolute;
  top: 8px;
  left: 16px;
}
.woo-cat-desc blockquote::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 4px 0 0 4px;
}
.woo-cat-desc blockquote p { margin: 0; }
.woo-cat-desc blockquote cite,
.woo-cat-desc blockquote footer {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  opacity: .8;
}

.woo-cat-desc p { margin-bottom: 1em; }
.woo-cat-desc ul { padding-left: 0; list-style: none; margin-bottom: 1em; }
.woo-cat-desc ul > li { position: relative; padding-left: 20px; margin-bottom: 5px; }
.woo-cat-desc ul > li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 3px; color: var(--secondary); font-size: 12px; }
.woo-cat-desc ol { padding-left: 22px; list-style: decimal; margin-bottom: 1em; }
.woo-cat-desc img { max-width: 100%; height: auto; display: block; margin: 1.2em auto; border-radius: 8px; }
.woo-cat-desc a { color: var(--primary); }

/* Collapsible state */
.woo-cat-desc--collapsible .woo-cat-desc__body {
  transition: max-height .45s ease;
}
.woo-cat-desc--collapsed .woo-cat-desc__body {
  max-height: 320px;
  overflow: hidden;
}
.woo-cat-desc--collapsed .woo-cat-desc__fade {
  display: block;
}
.woo-cat-desc__fade {
  display: none;
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  bottom: 52px; /* above the toggle button */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 85%);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.woo-cat-desc__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 9px 22px;
  background: #eef3fb;
  border: 1.5px solid #c8d8ef;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.woo-cat-desc__toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.woo-cat-desc__toggle-less { display: none; }
.woo-cat-desc--expanded .woo-cat-desc__toggle-more { display: none; }
.woo-cat-desc--expanded .woo-cat-desc__toggle-less { display: flex; align-items: center; gap: 6px; }

/* ── Category bottom content (custom WYSIWYG) ── */
.woo-cat-bottom-content {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px 36px; margin-top: 20px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06); border: 1px solid #eaecf0;
  font-size: 15px; line-height: 1.9; color: #333;
  word-break: break-word; overflow-wrap: break-word;
}
.woo-cat-bottom-content h2 {
  font-size: clamp(1rem, 2.8vw, 1.22rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1.8em 0 .6em;
  padding: 10px 16px 10px 44px;
  background: linear-gradient(90deg, #eef3fb 0%, #f6f9ff 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  position: relative;
}
.woo-cat-bottom-content h2::before {
  content: '\f105\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: -3px;
  opacity: .7;
}
.woo-cat-bottom-content h3 {
  font-size: clamp(.9rem, 2.5vw, 1.07rem);
  font-weight: 700;
  color: var(--dark);
  margin: 1.4em 0 .5em;
  padding-left: 14px;
  border-left: 3px solid var(--secondary);
}
.woo-cat-bottom-content h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.2em 0 .4em;
  display: flex; align-items: center; gap: 6px;
}
.woo-cat-bottom-content h4::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* Blockquote */
.woo-cat-bottom-content blockquote {
  position: relative;
  margin: 1.6em 0;
  padding: 20px 24px 20px 64px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fb 100%);
  border-radius: 10px;
  font-style: italic;
  color: #2a3a5c;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 2px 12px rgba(4,20,45,.07);
}
.woo-cat-bottom-content blockquote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--primary);
  opacity: .18;
  position: absolute;
  top: 8px; left: 16px;
}
.woo-cat-bottom-content blockquote::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 4px 0 0 4px;
}
.woo-cat-bottom-content blockquote p { margin: 0; }
.woo-cat-bottom-content blockquote cite,
.woo-cat-bottom-content blockquote footer {
  display: block; margin-top: 10px;
  font-size: 13px; font-style: normal;
  font-weight: 600; color: var(--primary); opacity: .8;
}

.woo-cat-bottom-content p { margin-bottom: 1em; }
.woo-cat-bottom-content ul { padding-left: 0; list-style: none; margin-bottom: 1em; }
.woo-cat-bottom-content ul > li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.woo-cat-bottom-content ul > li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 3px; color: var(--secondary); font-size: 12px; }
.woo-cat-bottom-content ol { padding-left: 22px; list-style: decimal; margin-bottom: 1em; }
.woo-cat-bottom-content img { max-width: 100%; height: auto; display: block; margin: 1.4em auto; border-radius: 8px; }
.woo-cat-bottom-content a { color: var(--primary); }
.woo-cat-bottom-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
.woo-cat-bottom-content table th,
.woo-cat-bottom-content table td { border: 1px solid #dde2ea; padding: 10px 14px; text-align: left; }
.woo-cat-bottom-content table th { background: var(--primary); color: #fff; font-weight: 600; }
.woo-cat-bottom-content table tr:nth-child(even) td { background: #f4f6fb; }

/* ── 3. Product grid – 4 columns ── */
/* ════ PRODUCT GRID ════ */
/* ── Toolbar trên grid ── */
.woocommerce-ordering { display: none !important; }

ul.products {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Reset WooCommerce float-based widths */
ul.products li.product,
ul.products.columns-2 li.product,
ul.products.columns-3 li.product,
ul.products.columns-4 li.product,
ul.products.columns-5 li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

/* ── Product card ── */
ul.products li.product {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1.5px solid #edf0f7 !important;
  box-shadow: 0 2px 10px rgba(4,20,45,.06) !important;
  transition: transform .25s, box-shadow .25s, border-color .25s !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}
ul.products li.product::after { display: none !important; }
ul.products li.product:hover {
  transform: translateY(-5px) !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 12px 36px rgba(4,20,45,.13) !important;
}

/* Sale badge */
ul.products li.product .onsale,
span.onsale {
  display: inline-block !important;
  position: absolute !important;
  top: 12px !important; left: 12px !important;
  background: #e53935 !important;
  color: #fff !important;
  font-size: 11px !important; font-weight: 800 !important;
  padding: 3px 10px !important; border-radius: 20px !important;
  z-index: 2 !important; letter-spacing: .04em !important;
  min-height: unset !important; min-width: unset !important;
  line-height: 1.6 !important;
}

/* Product image */
ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}
ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .45s ease !important;
}
ul.products li.product:hover a img { transform: scale(1.07) !important; }
ul.products li.product a.woocommerce-loop-product__link::after { display: none !important; }

/* Category label */
ul.products li.product .price-label {
  display: block !important;
  padding: 12px 14px 0 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: var(--secondary) !important;
  text-transform: uppercase !important;
  letter-spacing: .07em !important;
  margin-bottom: 0 !important;
}

/* Product title */
.woocommerce-loop-product__title {
  padding: 6px 14px 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--dark) !important;
  line-height: 1.45 !important;
  flex: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Price */
ul.products li.product .price {
  padding: 0 14px 14px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--secondary) !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
ul.products li.product .price del {
  font-size: 12px !important;
  color: #bbb !important;
  font-weight: 400 !important;
}
ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--secondary) !important;
}

/* ── Cart button – hidden by default on all loop cards ── */
ul.products li.product .button,
ul.products li.product .add_to_cart_button,
ul.products li.product a.button {
  display: none !important;
}
ul.products li.product .button::before,
ul.products li.product .add_to_cart_button::before,
ul.products li.product a.button::before {
  content: '\f07a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 15px !important;
  color: #fff !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}
ul.products li.product .add_to_cart_button.loading { opacity: .7 !important; cursor: wait !important; }
ul.products li.product .add_to_cart_button.loading::before { content: '\f110'; animation: fa-spin 1s linear infinite; }
ul.products li.product .add_to_cart_button.added { background: #2e7d32 !important; opacity: 1 !important; transform: scale(1) !important; }
ul.products li.product .add_to_cart_button.added::before { content: '\f00c'; }
/* Hide "View cart" link that appears after adding */
ul.products li.product .added_to_cart {
  display: none !important; text-align: center !important;
  font-size: 12px !important; color: var(--secondary) !important;
  margin: 0 14px 6px !important;
}

/* ── Quantity +/- widget (standee category) ── */

/* Hide default WC add-to-cart button when qty widget is shown */
.hg-has-qty .add_to_cart_button { display: none !important; }

/* ── View count ── */
.product-views {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 16px 10px !important;
  font-size: 12px !important;
  color: #aaa !important;
  line-height: 1 !important;
}
.product-views i { font-size: 11px !important; color: #ccc !important; }

/* ── Loop star rating (Font Awesome) ── */
.hg-loop-rating {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 0 16px 6px !important;
  line-height: 1 !important;
}
.hg-loop-rating i { font-size: 10px !important; }
.hg-loop-rating i.filled  { color: #f6c90e !important; }
.hg-loop-rating i.partial { color: #f6c90e !important; opacity: .55; }
.hg-loop-rating i.empty   { color: #ddd !important; }
.hg-loop-rating__count { font-size: 11px !important; color: #999 !important; margin-left: 3px !important; }

/* ── 4. Sidebar ── */
.woo-sidebar-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 22px; margin-bottom: 18px;
  box-shadow: 0 1px 8px rgba(0,0,0,.05); border: 1px solid #eaecf0;
}
.woo-sidebar-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--dark);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: flex; align-items: center; gap: 8px;
}
.woo-sidebar-title i { color: var(--secondary); }
.woo-sidebar-catlist { list-style: none; }
.woo-sidebar-catlist li { border-bottom: 1px solid #f2f3f5; }
.woo-sidebar-catlist li:last-child { border-bottom: none; }
.woo-sidebar-catlist li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 4px; font-size: 13.5px; color: var(--text);
  transition: .2s; border-radius: 5px;
}
.woo-sidebar-catlist li a:hover { color: var(--secondary); padding-left: 10px; background: #fff8f3; }
.woo-sidebar-catlist li a span {
  background: #eef3fb; color: var(--primary);
  font-size: 11px; font-weight: 700; padding: 1px 8px;
  border-radius: 20px; flex-shrink: 0;
}

/* legacy – kept for safety */
.woo-sidebar-cta { display: none; }

/* ── Premium Quote CTA card ── */
.woo-cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #0f2554 0%, #183565 55%, #1e4280 100%);
  border-radius: 16px; padding: 28px 22px 22px;
  text-align: center; color: #fff;
  box-shadow: 0 8px 32px rgba(24,53,101,.35);
}
.woo-cta-card__glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,135,44,.35) 0%, transparent 70%);
  pointer-events: none;
}
.woo-cta-card__icon-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  width: 60px; height: 60px; margin-bottom: 14px;
}
.woo-cta-card__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(246,135,44,.5);
  animation: hg-ring-pulse 2.4s ease-in-out infinite;
}
@keyframes hg-ring-pulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.18); opacity: 1; }
}
.woo-cta-card__icon {
  font-size: 28px; color: var(--secondary);
  background: rgba(246,135,44,.12); border-radius: 50%;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
}
.woo-cta-card__heading {
  font-size: 16px; font-weight: 800; color: #fff;
  margin-bottom: 8px; line-height: 1.3;
}
.woo-cta-card__sub {
  font-size: 12.5px; color: rgba(255,255,255,.7);
  line-height: 1.55; margin-bottom: 14px;
}
.woo-cta-card__badges {
  display: flex; flex-direction: column; gap: 5px;
  align-items: flex-start; margin-bottom: 18px;
}
.woo-cta-card__badges span {
  font-size: 12px; color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 6px;
}
.woo-cta-card__badges span i { color: #4ade80; font-size: 12px; }
.woo-cta-card__phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--secondary); color: #fff;
  border-radius: 50px; padding: 11px 20px;
  font-size: 18px; font-weight: 900; letter-spacing: .03em;
  margin-bottom: 12px; text-decoration: none;
  transition: .2s; box-shadow: 0 4px 14px rgba(246,135,44,.4);
}
.woo-cta-card__phone:hover { background: #e07520; transform: translateY(-1px); color: #fff; }
.woo-cta-card__phone i { font-size: 15px; animation: hg-phone-ring 2s ease infinite; }
@keyframes hg-phone-ring {
  0%,100% { transform: rotate(0); }
  10%      { transform: rotate(-15deg); }
  20%      { transform: rotate(15deg); }
  30%      { transform: rotate(-10deg); }
  40%      { transform: rotate(10deg); }
  50%      { transform: rotate(0); }
}
.woo-cta-card__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.woo-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; padding: 9px 10px; font-size: 12.5px; font-weight: 700;
  text-decoration: none; transition: .2s;
}
.woo-cta-btn--zalo {
  background: #0068ff; color: #fff;
}
.woo-cta-btn--zalo:hover { background: #0055d4; color: #fff; }
.woo-cta-btn--form {
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.woo-cta-btn--form:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Category sub-tabs (standee) ── */
.hg-cat-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.hg-cat-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 50px;
  border: 1.5px solid #dce3ef; background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: .2s;
}
.hg-cat-tab i { font-size: 12px; }
.hg-cat-tab__count {
  background: #eef3fb; color: var(--primary);
  font-size: 11px; font-weight: 700; padding: 1px 7px;
  border-radius: 50px;
}
.hg-cat-tab:hover {
  border-color: var(--secondary); color: var(--secondary);
}
.hg-cat-tab.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.hg-cat-tab.active .hg-cat-tab__count {
  background: rgba(255,255,255,.2); color: #fff;
}

/* WP widget in sidebar */
.woo-sidebar .widget {
  background: #fff; border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.woo-sidebar .widget-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary); color: var(--dark);
}
.product-categories li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.product-categories li:last-child { border-bottom: none; }
.product-categories li a { color: var(--text); transition: .2s; display: flex; justify-content: space-between; }
.product-categories li a:hover { color: var(--secondary); }
.product-categories .count {
  background: var(--primary); color: #fff;
  font-size: 11px; padding: 1px 7px; border-radius: 20px;
}

/* ── 5. Single Product ── */

/* Override WC's default product layout */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.woocommerce div.product > * { min-width: 0; }
.woocommerce div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.woocommerce div.product .summary.entry-summary       { grid-column: 2; grid-row: 1; }
.woocommerce div.product .woocommerce-tabs            { grid-column: 1 / -1; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.woocommerce div.product .related.products            { grid-column: 1 / -1; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--border); }
.woocommerce div.product .upsells.products            { grid-column: 1 / -1; }
.woocommerce div.product .cross-sells                 { grid-column: 1 / -1; }

/* Product gallery */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__image img {
  width: 100%; border-radius: var(--radius-lg);
  display: block; object-fit: cover;
}
.woocommerce-product-gallery__trigger {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: rgba(255,255,255,.9); width: 36px; height: 36px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: .2s; text-decoration: none;
  font-size: 14px; color: var(--dark);
}
.woocommerce-product-gallery__trigger:hover { background: var(--secondary); color: #fff; }

/* Thumbnails strip */
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 10px; }
.woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.woocommerce-product-gallery ol.flex-control-thumbs li { width: 68px !important; height: 68px !important; }
.woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 68px !important; height: 68px !important;
  object-fit: cover !important; border-radius: 8px !important;
  cursor: pointer !important; border: 2px solid transparent !important;
  transition: border-color .2s !important; display: block !important;
  opacity: .75;
}
.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
  border-color: var(--secondary) !important; opacity: 1;
}

/* Breadcrumb on single product */
.woocommerce-breadcrumb {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 18px; display: block;
}
.woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce-breadcrumb a:hover { color: var(--secondary); }
.woocommerce-breadcrumb .separator { margin: 0 4px; opacity: .5; }

/* Product summary */
.summary .product_title {
  font-size: 1.6rem; line-height: 1.3; color: var(--dark);
  margin-bottom: 10px;
}
.summary .woocommerce-product-rating {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.summary .star-rating { color: #f6c90e; font-size: 14px; }
.summary .woocommerce-review-link { font-size: 12.5px; color: var(--text-muted); }

.summary .price {
  font-size: 26px; font-weight: 800; color: var(--secondary) !important;
  margin: 14px 0; display: block; line-height: 1.2;
}
.summary .price del { font-size: 16px; color: #bbb !important; font-weight: 400; margin-right: 6px; }
.summary .price ins { text-decoration: none !important; }
.summary .woocommerce-variation-price .price { font-size: 22px; }

.summary .woocommerce-product-details__short-description {
  font-size: 15px; line-height: 1.75; color: #444;
  margin: 14px 0 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Quantity + add-to-cart */
.summary .cart {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap; margin: 18px 0;
}
.summary .quantity { display: inline-flex; align-items: center; }
.summary .quantity input[type=number] {
  width: 70px; padding: 12px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 16px; text-align: center; outline: none;
  transition: border-color .2s; font-family: inherit;
}
.summary .quantity input[type=number]:focus { border-color: var(--primary); }
.summary .single_add_to_cart_button {
  flex: 1; min-width: 180px; padding: 13px 24px;
  background: var(--secondary); color: #fff !important;
  font-weight: 700; font-size: 15px; border-radius: 8px;
  border: none; cursor: pointer; transition: .2s; text-align: center;
  white-space: nowrap;
}
.summary .single_add_to_cart_button:hover { background: var(--secondary-dk); transform: translateY(-2px); }
.summary .single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }

/* Product meta */
.summary .product_meta {
  font-size: 13px; color: var(--text-muted); margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.summary .product_meta > span {
  display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.summary .product_meta a { color: var(--primary); }
.summary .product_meta a:hover { color: var(--secondary); }

/* Tabs */
.woocommerce-tabs .wc-tabs-wrapper { border: none !important; }
.woocommerce-tabs ul.tabs {
  display: flex; flex-wrap: wrap; list-style: none;
  border-bottom: 2px solid var(--border); margin-bottom: 24px; padding: 0;
  background: none !important;
}
.woocommerce-tabs ul.tabs li {
  margin: 0 !important; border: none !important;
  background: none !important; border-radius: 0 !important;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a {
  display: block; padding: 11px 22px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  background: none !important; border: none !important;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li:hover a {
  color: var(--primary); border-bottom-color: var(--primary);
}
.woocommerce-tabs .panel {
  background: none !important; border: none !important;
  box-shadow: none !important; padding: 0 !important; margin: 0 !important;
  font-size: 15px; line-height: 1.85; color: #333;
}
.woocommerce-tabs .panel h2 { font-size: 1.2rem; margin: 0 0 16px; }
.woocommerce-tabs .panel table { width: 100%; border-collapse: collapse; margin: 0; }
.woocommerce-tabs .panel table th { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 13.5px; }
.woocommerce-tabs .panel table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; }
.woocommerce-tabs .panel table tr:nth-child(even) td { background: #f9f9f9; }

/* Related & Upsells */
.related h2, .upsells h2 { font-size: 1.2rem; margin-bottom: 18px; }

/* ── 6. Cart ── */
/* Cart page wrapper */
.woocommerce-cart-form { background: #fff; border-radius: var(--radius-lg); padding: 0; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border); margin-bottom: 24px; }
.woocommerce-cart table.cart {
  width: 100%; border-collapse: collapse;
}
.woocommerce-cart table.cart th {
  background: linear-gradient(90deg, var(--primary) 0%, #1e4a8a 100%); color: #fff;
  padding: 14px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.woocommerce-cart table.cart td {
  padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.woocommerce-cart table.cart tbody tr:last-child td { border-bottom: none; }
.woocommerce-cart table.cart .cart_item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.woocommerce-cart table.cart .product-name a { color: var(--dark); font-weight: 600; font-size: 14.5px; }
.woocommerce-cart table.cart .product-name a:hover { color: var(--secondary); }
.woocommerce-cart table.cart .product-thumbnail a { display: inline-block; }
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal { color: var(--secondary); font-weight: 700; font-size: 15px; }
/* Remove button */
.woocommerce-cart table.cart .product-remove a {
  background: #ffeeee; color: #e53935 !important; width: 28px; height: 28px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; transition: .2s;
}
.woocommerce-cart table.cart .product-remove a:hover { background: #e53935; color: #fff !important; }
.woocommerce-cart .actions {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 16px; background: #fafbfc; border-top: 1px solid var(--border);
}
.woocommerce-cart .coupon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.woocommerce-cart .coupon input {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; transition: border-color .2s; min-width: 200px;
}
.woocommerce-cart .coupon input:focus { border-color: var(--primary); }
.woocommerce-cart .button[name="apply_coupon"],
.woocommerce-cart .button[name="update_cart"] {
  padding: 10px 20px; background: var(--primary); color: #fff !important;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: .2s;
}
.woocommerce-cart .button[name="apply_coupon"]:hover,
.woocommerce-cart .button[name="update_cart"]:hover { background: var(--secondary) !important; }

/* Cart totals */
.cart-collaterals { margin-top: 0; }
.cart_totals {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  width: 100%; max-width: 460px; margin-left: auto;
  border: 1px solid var(--border);
}
.cart_totals h2 {
  font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border); color: var(--dark);
}
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th, .cart_totals table td {
  padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.cart_totals table .order-total td, .cart_totals table .order-total th {
  font-weight: 800; font-size: 18px; color: var(--dark);
}
.cart_totals table .order-total td { color: var(--secondary); }

/* Cart trust badges — removed emoji, handled by hg-cart__trust in template */
.cart_totals::after { display: none; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button {
  display: block; width: 100%; padding: 17px;
  background: linear-gradient(90deg, var(--secondary) 0%, #e07520 100%); color: #fff !important;
  text-align: center; font-weight: 800; font-size: 16px;
  border-radius: 8px; transition: .2s;
  box-shadow: 0 4px 18px rgba(246,135,44,.3);
  letter-spacing: .03em;
}
.wc-proceed-to-checkout .checkout-button:hover { background: linear-gradient(90deg, var(--secondary-dk) 0%, #c86010 100%); transform: translateY(-2px); }

/* ── 7. Checkout ── */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
#order_review_heading,
.woocommerce-checkout h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
  margin: 0 0 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: flex; align-items: center; gap: 8px;
}
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row { margin-bottom: 14px; }
.woocommerce-input-wrapper { width: 100%; }
.woocommerce-input-wrapper input[type=text],
.woocommerce-input-wrapper input[type=email],
.woocommerce-input-wrapper input[type=tel],
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; transition: border-color .2s;
  font-family: inherit; background: #fff;
}
.woocommerce-input-wrapper input:focus,
.woocommerce-input-wrapper select:focus,
.woocommerce-input-wrapper textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,53,101,.08); }
.woocommerce-form__label { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 5px; }
.woocommerce-form__label abbr { color: var(--secondary); text-decoration: none; }

/* Order review */
#order_review { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
#order_review table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
#order_review table th { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 13px; }
#order_review table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
#order_review .order-total th, #order_review .order-total td { font-weight: 700; font-size: 16px; color: var(--secondary); }

/* Payment section */
#payment { background: #f9f9f9; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
#payment .wc_payment_method label { font-size: 14px; font-weight: 600; }
#payment ul.wc_payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--border); }
#payment ul.wc_payment_methods li:last-child { border-bottom: none; }
#payment .payment_box { background: #eef3fb; border-radius: 6px; padding: 12px 14px; margin: 8px 0; font-size: 13.5px; color: #555; }

/* Place order button */
#place_order {
  width: 100%; padding: 18px; border: none; cursor: pointer;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dk) 100%);
  color: #fff; font-size: 17px; font-weight: 800; border-radius: 8px;
  transition: .2s; letter-spacing: .03em;
  box-shadow: 0 4px 20px rgba(246,135,44,.3);
  margin-top: 16px;
}
#place_order:hover { background: linear-gradient(90deg, var(--secondary-dk) 0%, #b85500 100%); transform: translateY(-2px); }

/* Checkout trust bar */
.woocommerce-checkout #payment + .trust-bar,
.checkout-trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  padding: 14px; background: #f9faff; border: 1px solid #dde8f5;
  border-radius: 8px; margin-top: 16px;
  font-size: 12px; color: #555;
}
.checkout-trust-bar span { display: flex; align-items: center; gap: 5px; }
.checkout-trust-bar i { color: var(--secondary); }

/* ── 8. Notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none; padding: 14px 18px;
  border-radius: 8px; margin-bottom: 18px; font-size: 14px;
}
.woocommerce-message { background: #e8f5e9; border-left: 4px solid #4caf50; color: #2e7d32; }
.woocommerce-info    { background: #e3f2fd; border-left: 4px solid #2196f3; color: #1565c0; }
.woocommerce-error   { background: #ffebee; border-left: 4px solid #f44336; color: #c62828; }

/* ── 9. Responsive ── */
@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 960px) {
  .woo-layout { grid-template-columns: 1fr !important; }
  .woo-sidebar { position: static !important; }
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .woocommerce div.product { grid-template-columns: 1fr !important; padding: 20px !important; }
  .woocommerce div.product .woocommerce-product-gallery { grid-column: 1 !important; grid-row: auto !important; }
  .woocommerce div.product .summary.entry-summary { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 600px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 7px !important; }
  ul.products li.product { border-right: none !important; border-bottom: none !important; border-radius: 8px !important; overflow: hidden !important; box-shadow: 0 1px 4px rgba(0,0,0,.08) !important; }
  .woocommerce-loop-product__title { padding: 8px 10px 4px !important; font-size: 12.5px !important; }
  ul.products li.product .price { padding: 2px 10px 4px !important; font-size: 13px !important; }
  .product-views { padding: 2px 10px 6px !important; font-size: 11px !important; }
  .hg-loop-rating { padding: 2px 10px 4px !important; }
  /* Nút Đặt in ngay trên mobile */
  ul.products li.product .button,
  ul.products li.product .add_to_cart_button,
  ul.products li.product a.button {
    display: block !important;
    margin: 0 8px 8px !important;
    padding: 7px 8px !important;
    background: var(--secondary) !important;
    color: #fff !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-size: 0 !important;
    border: none !important;
    width: calc(100% - 16px) !important;
    box-sizing: border-box !important;
  }
  ul.products li.product .button::before,
  ul.products li.product .add_to_cart_button::before,
  ul.products li.product a.button::before {
    content: 'Đặt in ngay' !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
  }
  .woocommerce div.product { padding: 16px !important; gap: 20px !important; }
  .cart-collaterals { justify-content: stretch; }
  .cart_totals { max-width: 100%; }
  .woo-archive-hero { padding: 36px 0 28px; }
  .woo-archive-hero__title { font-size: 1.4rem; }
}


/* ═══════════════════════════════════════════════════════
   STANDEE CATEGORY — SHOPEE-STYLE GRID  (.hg-standee-cat)
═══════════════════════════════════════════════════════ */

/* 3-column grid */
.hg-standee-cat ul.products {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

/* Card reset — Shopee style */
.hg-standee-cat ul.products li.product {
  border-radius: 10px !important;
  border: 1px solid #e8e8e8 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
  transition: box-shadow .2s, transform .2s !important;
  overflow: hidden !important;
  cursor: pointer;
}
.hg-standee-cat ul.products li.product:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12) !important;
  transform: translateY(-2px) !important;
  border-color: var(--secondary) !important;
}

/* Image — 1:1 */
.hg-standee-cat ul.products li.product a img {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

/* Sold / views badge */
.hg-standee-cat ul.products li.product .product-views {
  padding: 4px 12px 0 !important;
  font-size: 11.5px !important;
}

/* Title */
.hg-standee-cat .woocommerce-loop-product__title {
  padding: 10px 12px 4px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.45 !important;
}

/* Price */
.hg-standee-cat ul.products li.product .price {
  padding: 2px 12px 6px !important;
  font-size: 16px !important;
  color: var(--secondary) !important;
  font-weight: 800 !important;
}
.hg-standee-cat ul.products li.product .price del {
  font-size: 12px !important;
  color: #aaa !important;
}

/* Delivery badge — icon via FA, no emoji */
.hg-standee-cat ul.products li.product::before {
  content: none; /* handled below via ::after for clean icon */
}

/* Footer area */
}

/* Responsive */
@media (max-width: 768px) {
  .hg-standee-cat ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}
@media (max-width: 480px) {
  .hg-standee-cat ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .hg-standee-cat .woocommerce-loop-product__title { font-size: 12px !important; padding: 8px 8px 4px !important; }
  .hg-standee-cat ul.products li.product .price { font-size: 14px !important; padding: 2px 8px 4px !important; }
  .hg-spd-footer { padding: 0 6px 8px; }
}

/* ═══════════════════════════════════════════════════════
   CUSTOM CART  (.hg-cart*)
═══════════════════════════════════════════════════════ */
.hg-cart { padding: 40px 0 60px; background: #f5f6f8; }

/* ── Empty state ── */
.hg-cart__empty {
  text-align: center; padding: 80px 24px; background: #fff;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  max-width: 480px; margin: 0 auto;
}
.hg-cart__empty-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: #eef3fb; color: var(--primary); font-size: 34px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.hg-cart__empty h2 { font-size: 1.35rem; color: var(--dark); margin-bottom: 10px; }
.hg-cart__empty p  { color: var(--text-muted); margin-bottom: 24px; }
.hg-cart__btn-shop {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px; background: var(--primary); color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 15px; transition: .2s;
}
.hg-cart__btn-shop:hover { background: var(--secondary); color: #fff; }

/* ── Cart heading ── */
.hg-cart__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hg-cart__title {
  font-size: 1.55rem; color: var(--dark); margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.hg-cart__title i { color: var(--primary); }
.hg-cart__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 10px;
  background: var(--secondary); color: #fff;
  border-radius: 20px; font-size: 13px; font-weight: 700;
}

/* ── 2-column layout ── */
.hg-cart__layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 28px; align-items: start;
}
.hg-cart__items { min-width: 0; }

/* ── Item row ── */
.hg-cart-row {
  display: grid;
  grid-template-columns: 90px 1fr 130px 100px 38px;
  gap: 14px; align-items: center;
  background: #fff; border-radius: var(--radius-lg);
  padding: 16px 18px; margin-bottom: 10px;
  border: 1px solid var(--border); transition: box-shadow .2s;
}
.hg-cart-row:hover { box-shadow: var(--shadow-sm); }

.hg-cart-row__img a { display: block; border-radius: 10px; overflow: hidden; }
.hg-cart-row__img img {
  width: 90px; height: 90px; object-fit: cover;
  border-radius: 10px; display: block; transition: transform .3s;
}
.hg-cart-row:hover .hg-cart-row__img img { transform: scale(1.04); }

.hg-cart-row__info { min-width: 0; }
.hg-cart-row__name {
  display: block; font-size: 14px; font-weight: 700; color: var(--dark);
  margin-bottom: 5px; line-height: 1.4; transition: color .2s;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hg-cart-row__name:hover { color: var(--secondary); }
.hg-cart-row__unit-price { font-size: 12.5px; color: var(--text-muted); margin: 3px 0 0; }

.hg-cart-row__qty .quantity {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden;
}
.hg-cart-row__qty input[type=number] {
  width: 54px; padding: 8px 4px; border: none;
  text-align: center; font-size: 14px; font-weight: 600; outline: none; background: #fff;
  -moz-appearance: textfield;
}
.hg-cart-row__qty input::-webkit-outer-spin-button,
.hg-cart-row__qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.hg-cart-row__subtotal {
  font-size: 15px; font-weight: 800; color: var(--secondary); text-align: right;
}

.hg-cart-row__remove { text-align: center; }
.hg-cart-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff0f0; color: #e53935; border: 1.5px solid #fccfcf;
  font-size: 13px; text-decoration: none; transition: .2s;
}
.hg-cart-remove:hover { background: #e53935; color: #fff; border-color: #e53935; }

/* ── Actions bar ── */
.hg-cart__actions {
  background: #fff; border-radius: var(--radius-lg);
  padding: 14px 18px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.hg-coupon {
  display: flex; align-items: center; gap: 8px;
  background: #f8f9fc; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 4px 4px 4px 12px;
  flex: 1; max-width: 340px;
}
.hg-coupon > i { color: var(--secondary); flex-shrink: 0; font-size: 14px; }
.hg-coupon input[type=text] {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 14px; color: var(--text); min-width: 0;
}
.hg-coupon input::placeholder { color: var(--text-muted); }
.hg-coupon__btn {
  padding: 9px 16px; background: var(--primary); color: #fff !important;
  border-radius: 6px; font-size: 13.5px; font-weight: 700;
  border: none; cursor: pointer; transition: .2s; flex-shrink: 0; white-space: nowrap;
}
.hg-coupon__btn:hover { background: var(--secondary) !important; color: #fff !important; }

.hg-cart__update {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: #fff; color: var(--primary) !important;
  border: 1.5px solid var(--primary); border-radius: 8px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s;
  flex-shrink: 0;
}
.hg-cart__update:hover { background: var(--primary); color: #fff !important; }

/* ── Continue shopping ── */
.hg-cart__continue {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  margin-top: 6px; padding: 8px 0; transition: .2s;
}
.hg-cart__continue i { transition: transform .2s; }
.hg-cart__continue:hover { color: var(--secondary); }
.hg-cart__continue:hover i { transform: translateX(-4px); }

/* ── Sidebar ── */
.hg-cart__sidebar { position: sticky; top: 100px; min-width: 0; }

.hg-cart__totals-box {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 22px;
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.hg-cart__totals-title {
  font-size: 1rem; font-weight: 800; color: var(--dark);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.hg-cart__totals-title i { color: var(--secondary); }

/* WC cart collaterals rendered inside .hg-cart__totals-box */
.hg-cart__totals-box .cart_totals { background: none; border: none; box-shadow: none; padding: 0; max-width: 100%; margin: 0; }
.hg-cart__totals-box .cart_totals h2 { display: none; }
.hg-cart__totals-box .wc-proceed-to-checkout { margin-top: 0; }

.hg-cart__checkout-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; width: 100%; margin-top: 18px; padding: 16px 22px;
  background: linear-gradient(90deg, var(--secondary), #e07520);
  color: #fff !important; border-radius: 8px;
  font-weight: 800; font-size: 15px;
  transition: .2s; box-shadow: 0 4px 16px rgba(246,135,44,.28);
  letter-spacing: .02em; text-align: left;
}
.hg-cart__checkout-btn:hover {
  background: linear-gradient(90deg, var(--secondary-dk), #c86010);
  color: #fff !important; transform: translateY(-2px);
}

/* ── Trust badges ── */
.hg-cart__trust {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 14px 18px;
}
.hg-cart__trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.hg-cart__trust-item:last-child { border-bottom: none; padding-bottom: 0; }
.hg-cart__trust-item i { color: var(--primary); width: 18px; text-align: center; font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hg-cart__layout { grid-template-columns: 1fr; }
  .hg-cart__sidebar { position: static; }
}
@media (max-width: 640px) {
  .hg-cart-row { grid-template-columns: 72px 1fr 36px; gap: 10px; }
  .hg-cart-row__qty, .hg-cart-row__subtotal { display: none; }
  .hg-cart__actions { flex-direction: column; align-items: stretch; }
  .hg-coupon { max-width: 100%; }
}


/* ═══════════════════════════════════════════════════════
   CUSTOM CHECKOUT  (.hg-co*)
═══════════════════════════════════════════════════════ */
.hg-co { padding: 40px 0 60px; background: #f5f6f8; }

.hg-co__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 28px;
}
.hg-co__title {
  font-size: 1.55rem; color: var(--dark); margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.hg-co__title i { color: var(--primary); }
.hg-co__steps {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.hg-co__step { color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.hg-co__step--active { color: var(--primary); }
.hg-co__step--done { color: #aaa; text-decoration: line-through; }
.hg-co__step-sep { color: #bbb; }

.hg-co__layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 28px; align-items: start;
}
.hg-co__main { min-width: 0; }

.hg-co__card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 26px;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hg-co__card-title {
  font-size: 1.05rem; font-weight: 800; color: var(--dark);
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--secondary);
  display: flex; align-items: center; gap: 8px;
}
.hg-co__card-title i { color: var(--secondary); }

.hg-co__sidebar { position: sticky; top: 100px; }

/* Trust bar */
.hg-co__trust {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 14px 18px;
}
.hg-co__trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.hg-co__trust-item:last-child { border-bottom: none; padding-bottom: 0; }
.hg-co__trust-item i { color: var(--primary); width: 18px; text-align: center; }

/* WC form fields inside our cards */
.hg-co__card .woocommerce-billing-fields__field-wrapper,
.hg-co__card .woocommerce-shipping-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
}
.hg-co__card .form-row-wide { grid-column: 1 / -1; }
.hg-co__card .form-row { margin-bottom: 14px; }
.hg-co__card label { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 5px; }
.hg-co__card label abbr { color: var(--secondary); text-decoration: none; }
.hg-co__card input[type=text],
.hg-co__card input[type=email],
.hg-co__card input[type=tel],
.hg-co__card select,
.hg-co__card textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; transition: border-color .2s;
  font-family: inherit; background: #fff;
}
.hg-co__card input:focus,
.hg-co__card select:focus,
.hg-co__card textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24,53,101,.07); }

/* Order review table */
.hg-co__card table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hg-co__card table.shop_table th { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 13px; }
.hg-co__card table.shop_table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.hg-co__card table.shop_table .order-total td,
.hg-co__card table.shop_table .order-total th { font-weight: 800; font-size: 16px; color: var(--secondary); }

/* Payment section */
.hg-co__card #payment { background: none; border: none; padding: 0; }
.hg-co__card #payment ul.wc_payment_methods { list-style: none; }
.hg-co__card #payment ul.wc_payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.hg-co__card #payment ul.wc_payment_methods li:last-child { border-bottom: none; }
.hg-co__card #payment .payment_box { background: #eef3fb; border-radius: 6px; padding: 12px 14px; margin: 8px 0; font-size: 13.5px; color: #555; }
.hg-co__card #place_order {
  width: 100%; padding: 17px; border: none; cursor: pointer;
  background: linear-gradient(90deg, var(--secondary), #e07520); color: #fff;
  font-size: 16px; font-weight: 800; border-radius: 8px; transition: .2s;
  box-shadow: 0 4px 18px rgba(246,135,44,.28); margin-top: 16px; letter-spacing: .03em;
}
.hg-co__card #place_order:hover { background: linear-gradient(90deg, var(--secondary-dk), #c86010); transform: translateY(-2px); }

@media (max-width: 960px) {
  .hg-co__layout { grid-template-columns: 1fr; }
  .hg-co__sidebar { position: static; }
}
@media (max-width: 600px) {
  .hg-co__card .woocommerce-billing-fields__field-wrapper,
  .hg-co__card .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .hg-co__head { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   CHECKOUT — hg-checkout
   ================================================================ */
.hg-checkout { padding: 40px 0 64px; background: #f4f7fc; }

.hg-checkout__steps {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px; font-size: 13px;
}
.hg-checkout__step { display: flex; align-items: center; gap: 6px; color: #aab; font-weight: 600; }
.hg-checkout__step.is-active { color: var(--primary); }
.hg-checkout__step.is-done { color: #5cb85c; }
.hg-checkout__step-sep { color: #ccc; font-size: 11px; }

.hg-checkout__form {}

.hg-checkout__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.hg-checkout__card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(4,20,45,.07);
  border: 1px solid #e8edf5;
  margin-bottom: 20px;
  overflow: hidden;
}
.hg-checkout__card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  background: linear-gradient(90deg, #f0f4fb 0%, #f8faff 100%);
  border-bottom: 1px solid #e8edf5;
}
.hg-checkout__card-head i { color: var(--primary); font-size: 16px; }
.hg-checkout__card-head h2 {
  font-size: 15px; font-weight: 700; color: var(--dark); margin: 0;
}
.hg-checkout__card-body { padding: 20px 22px; }

/* WooCommerce form fields inside checkout */
.hg-checkout__card-body .form-row { margin-bottom: 14px; }
.hg-checkout__card-body label { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 4px; }
.hg-checkout__card-body label abbr { color: var(--secondary); text-decoration: none; }
.hg-checkout__card-body input[type=text],
.hg-checkout__card-body input[type=email],
.hg-checkout__card-body input[type=tel],
.hg-checkout__card-body input[type=number],
.hg-checkout__card-body select,
.hg-checkout__card-body textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--dark); outline: none;
  transition: border-color .2s;
  background: #fff;
}
.hg-checkout__card-body input:focus,
.hg-checkout__card-body select:focus,
.hg-checkout__card-body textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,53,101,.06);
}
.hg-checkout__card-body .woocommerce-billing-fields__field-wrapper,
.hg-checkout__card-body .woocommerce-shipping-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
}
.hg-checkout__card-body .form-row-wide { grid-column: 1 / -1; }

/* Order review table */
.hg-checkout__card-body table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.hg-checkout__card-body table.shop_table th { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 13px; text-align: left; }
.hg-checkout__card-body table.shop_table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.hg-checkout__card-body table.shop_table .order-total td,
.hg-checkout__card-body table.shop_table .order-total th { font-weight: 800; font-size: 16px; color: var(--secondary); }

/* Payment methods */
.hg-checkout__card-body #payment { background: none; border: none; padding: 0; }
.hg-checkout__card-body #payment ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
.hg-checkout__card-body #payment ul.wc_payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.hg-checkout__card-body #payment ul.wc_payment_methods li:last-child { border-bottom: none; }
.hg-checkout__card-body #payment .payment_box { background: #f0f5ff; border-radius: 6px; padding: 12px 14px; margin: 8px 0; font-size: 13.5px; color: #555; }

/* Place order button */
.hg-checkout__card-body #place_order {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(90deg, var(--secondary), #e06510);
  color: #fff; border: none; border-radius: 10px;
  font-size: 16px; font-weight: 800; cursor: pointer;
  letter-spacing: .02em; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(246,135,44,.4);
  margin-top: 8px;
}
.hg-checkout__card-body #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,135,44,.5);
}

/* Trust badges */
.hg-checkout__trust {
  background: #fff; border-radius: 12px; padding: 16px 20px;
  border: 1px solid #e8edf5; margin-bottom: 16px;
}
.hg-checkout__trust-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #444; padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}
.hg-checkout__trust-row:last-child { border-bottom: none; padding-bottom: 0; }
.hg-checkout__trust-row i { color: var(--secondary); font-size: 15px; width: 18px; text-align: center; }

/* Zalo fallback */
.hg-checkout__zalo-cta {
  background: linear-gradient(135deg, #e8f3ff 0%, #ddeeff 100%);
  border: 1px solid #b3d4ff; border-radius: 12px;
  padding: 16px 18px; text-align: center;
}
.hg-checkout__zalo-cta p { font-size: 13px; color: #444; margin-bottom: 10px; }
.hg-checkout__zalo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0068ff; color: #fff;
  padding: 11px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .2s;
  margin-bottom: 8px;
}
.hg-checkout__zalo-btn:hover { background: #0058dd; }
.hg-checkout__call-btn {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--primary); font-size: 13.5px; font-weight: 600;
  text-decoration: none;
}
.hg-checkout__call-btn:hover { color: var(--secondary); }

/* Responsive */
@media (max-width: 860px) {
  .hg-checkout__body { grid-template-columns: 1fr; }
  .hg-checkout__right { position: static; }
}
@media (max-width: 600px) {
  .hg-checkout { padding: 24px 0 40px; }
  .hg-checkout__card-body { padding: 16px; }
  .hg-checkout__card-body .woocommerce-billing-fields__field-wrapper,
  .hg-checkout__card-body .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* ================================================================
   TEAM SIDEBAR — woo-team-box
   ================================================================ */
.woo-team-box {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 10px rgba(4,20,45,.06);
  overflow: hidden;
  margin-top: 16px;
}
.woo-team-box__title {
  font-size: 13.5px; font-weight: 800; color: var(--dark);
  padding: 14px 18px; margin: 0;
  background: linear-gradient(90deg, #f0f4fb 0%, #f8faff 100%);
  border-bottom: 1px solid #eaecf0;
  display: flex; align-items: center; gap: 8px;
}
.woo-team-box__title i { color: var(--primary); }

.woo-team-member {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f7;
  transition: background .15s;
}
.woo-team-member:last-child { border-bottom: none; }
.woo-team-member:hover { background: #fafcff; }

.woo-team-member__avatar {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #1e4a8a 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
}
.woo-team-member__info { flex: 1; min-width: 0; }
.woo-team-member__name {
  display: block; font-size: 13.5px; font-weight: 700;
  color: var(--dark); margin-bottom: 2px;
}
.woo-team-member__role {
  display: block; font-size: 11.5px; color: var(--text-muted);
  margin-bottom: 8px; line-height: 1.4;
}
.woo-team-member__contacts { display: flex; gap: 7px; }
.woo-team-member__btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; padding: 5px 11px;
  border-radius: 20px; text-decoration: none; transition: .15s;
}
.woo-team-member__btn--call {
  background: var(--secondary); color: #fff;
}
.woo-team-member__btn--call:hover { background: #e06510; }
.woo-team-member__btn--zalo {
  background: #e8f3ff; color: #0068ff; border: 1px solid #b3d4ff;
}
.woo-team-member__btn--zalo:hover { background: #0068ff; color: #fff; }

/* ================================================================
   STANDEE LANDING PAGE  (std-)
   ================================================================ */

/* ── Ẩn breadcrumb plugin trên trang standee ── */
.term-cung-cap-standee .woocommerce-breadcrumb,
.term-cung-cap-standee .woocommerce-breadcrumbs,
.term-cung-cap-standee .hg-breadcrumbs,
.term-cung-cap-standee .yoast-breadcrumb,
.term-cung-cap-standee .rank-math-breadcrumb,
.term-cung-cap-standee nav.breadcrumb,
.term-cung-cap-standee .breadcrumbs:not(.std-hero__breadcrumb) { display: none !important; }
.term-cung-cap-standee .std-hero .std-hero__breadcrumb { display: flex !important; }

/* Hero */
.std-hero { position: relative; z-index: 0; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.std-hero__bg-img { position: absolute; inset: 0; }
.std-hero__bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.std-hero__overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(4,20,45,.82) 0%, rgba(24,53,101,.75) 100%); }
.std-hero__inner { position: relative; z-index: 2; padding: 60px 0; color: #fff; }
.std-hero__breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.std-hero__breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.std-hero__breadcrumb a:hover { color: #fff; }
.std-hero__breadcrumb span { opacity: .5; }
.std-hero__breadcrumb span:last-child { opacity: 1; color: #fff; font-weight: 600; }
.std-hero__title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin: 0 0 10px; line-height: 1.2; }
.std-hero__subtitle { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.std-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.std-hero__badges span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 5px 14px; font-size: 13px; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 6px; backdrop-filter: blur(4px); }
.std-hero__badges i { color: #f6872c; }
.std-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.std-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.std-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.std-btn--zalo { background: #0068FF; color: #fff; }
.std-btn--call { background: #f6872c; color: #fff; }

/* USP bar */
.std-usp { background: #fff; border-bottom: 1px solid #eee; padding: 18px 0; }
.std-usp__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.std-usp__item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #555; }
.std-usp__item i { font-size: 22px; color: #f6872c; flex-shrink: 0; }
.std-usp__item strong { display: block; color: #111; font-size: 13.5px; }

/* Section heading */
.std-section-head { text-align: center; margin-bottom: 36px; }
.std-section-head h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: #04142d; margin-bottom: 8px; }
.std-section-head p { color: #666; font-size: 15px; }
.std-section-head--light h2 { color: #fff; }
.std-section-head--light p { color: rgba(255,255,255,.75); }

/* Product grid */
.std-products { background: #f5f6f8; padding: 56px 0; }
.std-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.std-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.std-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.std-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f0f0f0; }
.std-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.std-card:hover .std-card__img img { transform: scale(1.05); }
.std-card__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #ccc; }
.std-card__badge { position: absolute; top: 10px; left: 10px; background: #f6872c; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.std-card__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.std-card__title { font-size: 14px; font-weight: 700; color: #04142d; line-height: 1.4; margin: 0; }
.std-card__price { font-size: 15px; font-weight: 800; color: #f6872c; }
.std-card__price del { font-size: 12px; color: #aaa; font-weight: 400; margin-left: 4px; }
.std-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #999; }
.std-card__cta { color: #f6872c; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 4px; }

/* Why choose */
.std-why { background: linear-gradient(135deg, #04142d 0%, #183565 100%); padding: 60px 0; }
.std-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.std-why__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 28px 22px; text-align: center; color: #fff; transition: background .2s; }
.std-why__card:hover { background: rgba(255,255,255,.12); }
.std-why__icon { width: 60px; height: 60px; background: rgba(246,135,44,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.std-why__icon i { font-size: 24px; color: #f6872c; }
.std-why__card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.std-why__card p { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.7; margin: 0; }

/* CTA bottom */
.std-cta-bottom { background: #f6872c; padding: 40px 0; }
.std-cta-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.std-cta-bottom h2 { font-size: 1.5rem; color: #fff; margin: 0 0 6px; }
.std-cta-bottom p { color: rgba(255,255,255,.85); margin: 0; font-size: 14px; }
.std-cta-bottom__btns { display: flex; gap: 12px; flex-shrink: 0; }
.std-cta-bottom .std-btn--zalo { background: #fff; color: #0068FF; }
.std-cta-bottom .std-btn--call { background: #04142d; color: #fff; }

/* SEO description */
.std-seo { background: #fff; padding: 48px 0; }
.std-seo__content { max-width: 860px; margin: 0 auto; font-size: 15px; line-height: 1.85; color: #444; }
.std-seo__content h2, .std-seo__content h3 { color: #04142d; }

/* Responsive */
@media (max-width: 1024px) {
  .std-grid { grid-template-columns: repeat(3, 1fr); }
  .std-why__grid { grid-template-columns: repeat(2, 1fr); }
  .std-usp__grid { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .std-hero__inner { padding: 40px 0; }
  .std-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .std-usp__grid { grid-template-columns: repeat(2, 1fr); display: grid; }
  .std-cta-bottom__inner { flex-direction: column; text-align: center; }
  .std-cta-bottom__btns { justify-content: center; }
}
@media (max-width: 480px) {
  .std-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .std-why__grid { grid-template-columns: 1fr; }
  .std-hero__ctas { flex-direction: column; }
}

@media (max-width: 1024px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; gap: 18px !important; }
}
@media (max-width: 768px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .woocommerce-loop-product__title { font-size: 13px !important; padding: 6px 12px 6px !important; }
  ul.products li.product .price { font-size: 13px !important; padding: 0 12px 12px !important; }
}
@media (max-width: 480px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  ul.products li.product { border-radius: 10px !important; }
}
/* ════ ARCHIVE LAYOUT NÂNG CẤP – không sidebar ════ */

/* Hero banner danh mục */
.woo-archive-hero {
  background: linear-gradient(135deg, #04142d 0%, #0d2a5e 55%, #1b4d90 100%) !important;
  padding: 44px 0 36px !important;
  position: relative !important;
  overflow: hidden !important;
}
.woo-archive-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.woo-archive-hero__inner { position: relative; z-index: 1; }
.woo-archive-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  font-weight: 900 !important; color: #fff !important;
  margin: 0 0 10px !important; line-height: 1.2 !important;
}
.woo-archive-hero__desc {
  font-size: 15px !important; color: rgba(255,255,255,.7) !important;
  margin: 0 0 20px !important; max-width: 560px !important;
}
.woo-archive-hero__meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  align-items: center;
}
.woo-archive-hero__count {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
}

/* Result count bar */
.woo-result-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding: 14px 20px;
  background: #fff; border-radius: 12px;
  border: 1.5px solid #edf0f7;
  box-shadow: 0 2px 8px rgba(4,20,45,.05);
  flex-wrap: wrap; gap: 10px;
}
.woo-result-bar__count {
  font-size: 14px; color: #555; font-weight: 500;
}
.woo-result-bar__count strong { color: var(--primary); font-weight: 800; }

/* Product card – đã nâng cấp, thêm view button */
ul.products li.product .woo-card-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 0 14px 14px;
  padding: 10px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .15s;
}
ul.products li.product .woo-card-btn:hover {
  background: var(--secondary); transform: translateY(-1px);
}
ul.products li.product .woo-card-btn i { font-size: 12px; }

/* Responsive */
@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .woo-wrapper { padding: 24px 0 48px; }
}
@media (max-width: 480px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  ul.products li.product { border-radius: 10px !important; }
  ul.products li.product a img { aspect-ratio: 1/1 !important; }
}
