/*
Theme Name: Kim Khi Son My
Theme URI: https://kimkhisonmy.webmau68.com
Author: webmau68
Author URI: https://webmau68.com
Description: Kim Khí Sơn Mỹ.
Version: 1.0.1
Requires at least: 5.0
Tested up to: 6.5
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: kimkhisonmy
Tags: blank, custom
*/
:root {
  --navy: #0b2e4a;
  --navy-darker: #061a2c;
  --navy-light: #15466e;
  --navy-soft: rgba(11, 46, 74, 0.08);

  --orange: #f58220;
  --orange-dark: #d96e10;
  --orange-light: #ffa64d;
  --orange-soft: rgba(245, 130, 32, 0.1);

  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --text: #1f2933;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --border: #e5e7eb;
  --border-2: #d1d5db;

  --shadow-sm: 0 1px 2px rgba(11, 46, 74, 0.06);
  --shadow: 0 4px 16px rgba(11, 46, 74, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 46, 74, 0.14);

  --radius: 10px;
  --radius-lg: 14px;
  --container: 1300px;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Be Vietnam Pro",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 6px;
  border: 2px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ===== UTILITY: REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.topbar-info {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.ti-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ti-item svg {
  color: var(--orange-light);
  flex-shrink: 0;
  position: relative;
  top: 1px;
}
.topbar-social {
  display: flex;
  gap: 8px;
}
.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: all 0.2s;
}
.topbar-social a[aria-label="Facebook"] {
  background: #1877f2;
}
.topbar-social a[aria-label="Facebook"]:hover {
  background: #0d65d9;
}
.topbar-social a[aria-label="Youtube"] {
  background: #ff0000;
}
.topbar-social a[aria-label="Youtube"]:hover {
  background: #cc0000;
}
.topbar-social a:hover {
  transform: scale(1.08);
}
.topbar-social .ts-zalo {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.topbar-social .ts-zalo img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  transition: background 0.25s;
}
.header.scrolled {
  background: rgba(11, 46, 74, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 15px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  height: 50px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav a:hover,
.nav li.current-menu-item a,
.nav li.active a {
  color: #fff;
}
.nav a:hover::after,
.nav li.current-menu-item a::after,
.nav li.active a::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 700;
}
.header-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.header-cta svg {
  flex-shrink: 0;
}
.header-cta small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.header-cta strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: url("images/banner.png") center/cover no-repeat;
  padding: 150px 0;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.85) 35%,
    rgba(255, 255, 255, 0.4) 65%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  width: 100%;
  max-width: var(--container);
  z-index: 1;
}
.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245, 130, 32, 0);
  }
}

.hero h1 {
  font-size: clamp(26px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 22px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-desc strong {
  color: var(--navy);
  font-weight: 700;
}

/* Hero feature icons row */
.hero-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-feature .hf-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.hero-feature .hf-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.hero-feature .hf-text span {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  padding: 13px 22px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn svg {
  transition: transform 0.25s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(245, 130, 32, 0.32);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.btn-zalo {
  background: #0068ff;
  color: #fff;
}
.btn-zalo:hover {
  background: #004fc7;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 104, 255, 0.3);
}
.btn-zalo-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* ===== SECTION ===== */
.section {
  padding: 60px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  position: relative;
  padding-left: 30px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-title em {
  color: var(--orange);
  font-style: normal;
}
.section-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  display: block;
  padding: 0 0 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.cat-card:hover h3 {
  color: var(--orange);
}

.cat-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 14px;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cat-card:hover .cat-thumb img {
  transform: scale(1.06);
}

.cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 18px 6px;
  transition: color 0.3s;
}
.cat-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.cat-card:hover .cat-link {
  color: var(--orange-dark);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  background: var(--navy);
  padding: 0;
  border: none;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s,
    filter 0.3s;
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 46, 74, 0) 40%,
    rgba(11, 46, 74, 0.65) 100%
  );
  pointer-events: none;
}
.video-thumb:hover img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.45);
  transition:
    transform 0.25s,
    background 0.25s;
}
.video-play::before,
.video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(245, 130, 32, 0.55);
  animation: video-ping 2.2s ease-out infinite;
}
.video-play::after {
  animation-delay: 1.1s;
}
@keyframes video-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.video-play svg {
  margin-left: 4px;
}
.video-thumb:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--orange-dark);
}

.video-label {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.about-content .section-label,
.about-content .section-title {
  text-align: left;
}
.about-content .section-label {
  padding-left: 30px;
}
.about-content .lead {
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.55;
}
.about-content > p {
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 14px;
}

.about-list {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.about-list .check {
  width: 20px;
  height: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.about-quote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.about-quote svg {
  color: var(--orange);
  flex-shrink: 0;
  opacity: 0.85;
  width: 28px;
  height: 28px;
}
.about-quote p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.about-quote strong {
  color: var(--navy);
  font-weight: 700;
}

/* ===== PRODUCTS ===== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tab {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.25s;
}
.tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

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

/* AJAX tab loading state */
.products-grid-wrap {
  position: relative;
  min-height: 200px;
  transition: opacity 0.25s ease;
}
.products-grid-wrap.is-loading {
  opacity: 0.4;
  pointer-events: none;
}
.products-grid-wrap.is-loading::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border: 3px solid var(--border, #e5e7eb);
  border-top-color: var(--orange, #f58220);
  border-radius: 50%;
  animation: products-spin 0.8s linear infinite;
  z-index: 5;
}
@keyframes products-spin {
  to {
    transform: rotate(360deg);
  }
}
.filter-tabs .tab {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}
.filter-tabs .tab:active {
  transform: scale(0.96);
}
.products-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-3, #9ca3af);
  font-size: 14px;
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.product-card.hidden {
  display: none;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card .card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 4;
}
.product-badge.badge-new {
  background: #16a34a;
}

.product-body {
  padding: 14px 16px;
}
.product-cat {
  display: block;
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.product-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}
.product-card:hover .product-body h3 {
  color: var(--orange);
}
.product-card:hover .product-body h3 a {
  color: inherit;
}

.products-cta {
  text-align: center;
  margin-top: 32px;
}

/* ===== WHY ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.why-card {
  position: relative;
  padding: 16px 18px;
  background: transparent;
  border: none;
  text-align: center;
  transition: transform 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
}

.why-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
}
.why-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.why-card:hover .why-icon img {
  transform: scale(1.08);
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cert-card {
  padding: 16px 12px;
  background: transparent;
  border: none;
  text-align: center;
  transition: transform 0.3s;
}
.cert-card:hover {
  transform: translateY(-4px);
}

.cert-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.cert-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.cert-card:hover .cert-icon img {
  transform: scale(1.08);
}

.cert-card strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cert-card p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.cert-card p strong {
  display: inline;
  font-size: inherit;
  color: var(--navy);
  font-weight: 700;
  margin: 0;
}
@media (max-width: 1100px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-icon {
    width: 80px;
    height: 80px;
  }
}

/* ===== STATS ===== */
.stats-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 32px 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(245, 130, 32, 0.18),
      transparent 45%
    ),
    radial-gradient(circle at 85% 70%, rgba(245, 130, 32, 0.1), transparent 45%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #fff 0%, var(--orange-light) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-image {
  display: block;
  position: relative;
  height: 180px;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-image img {
  transform: scale(1.06);
}
.news-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.1;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.news-date strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.news-body {
  padding: 16px 18px;
}
.news-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-body h3 a {
  color: var(--navy);
  transition: color 0.25s;
}
.news-card:hover h3 a {
  color: var(--orange);
}
.news-body p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.6;
}
.news-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  overflow: hidden;
}
/* Color blobs */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 100%,
      rgba(245, 130, 32, 0.28),
      transparent 42%
    ),
    radial-gradient(circle at 95% 5%, rgba(11, 46, 74, 0.7), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
/* Pattern: dots + blueprint grid + diagonal stripes */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.6px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    repeating-linear-gradient(
      135deg,
      rgba(245, 130, 32, 0.07) 0 8px,
      transparent 8px 22px
    );
  background-size:
    24px 24px,
    48px 48px,
    48px 48px,
    auto;
  background-position: 0 0;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 95% 85% at center,
    #000 25%,
    transparent 90%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 95% 85% at center,
    #000 25%,
    transparent 90%
  );
  z-index: 0;
}
.cta > .container {
  position: relative;
  z-index: 1;
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: center;
}
.cta-label {
  color: var(--orange-light) !important;
}
.cta-label::before {
  background: var(--orange-light) !important;
}
.cta h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.cta p {
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 540px;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-form {
  background: #fff;
  color: var(--text);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.cta-form h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
}
.form-desc {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  margin-bottom: 10px;
  font-size: 14px;
}
.form-row input {
  margin-bottom: 0;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: var(--orange);
}
.cta-form textarea {
  resize: vertical;
  min-height: 76px;
}
.cta-form .btn {
  margin-top: 2px;
}
.cta-form-result {
  font-size: 14px;
  font-weight: 600;
}
.cta-form-result[class*="is-"] {
  margin-top: 10px;
}
.reveal .product-card {
  height: 100%;
}
.cta-form-result.is-success {
  color: #16a34a;
}
.cta-form-result.is-error {
  color: #dc2626;
}
.cta-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== Generic data-devvn-form: shared form UI helpers ===== */
.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cf-response {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
}
.cf-response[hidden] {
  display: none;
}
.cf-response--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.cf-response--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
form[data-devvn-form] .cf-submit[disabled],
form[data-devvn-form].cf-loading .cf-submit {
  opacity: 0.7;
  cursor: not-allowed;
}
.cf-field--error input,
.cf-field--error select,
.cf-field--error textarea,
.form-field.cf-field--error input,
.form-field.cf-field--error select,
.form-field.cf-field--error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* ===== FOOTER ===== */
.footer {
  background: #06192c;
  color: rgba(255, 255, 255, 0.72);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-logo img {
  height: 52px;
  background: #fff;
  padding: 5px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: auto;
}
.footer-about {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
}
.footer-social a[aria-label="Facebook"] {
  background: #1877f2;
}
.footer-social a[aria-label="Facebook"]:hover {
  background: #0d65d9;
}
.footer-social a[aria-label="Youtube"] {
  background: #ff0000;
}
.footer-social a[aria-label="Youtube"]:hover {
  background: #cc0000;
}
.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.footer-social .fs-zalo {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.footer-social .fs-zalo img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--orange);
}
.footer .widget_nav_menu ul.menu,
.footer-links {
  display: grid;
  gap: 8px;
}
.footer .widget_nav_menu ul.menu li a,
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s;
  display: inline-block;
}
.footer .widget_nav_menu ul.menu li a:hover,
.footer-links a:hover {
  color: var(--orange-light);
  transform: translateX(4px);
}
[class*="dev_icon"] {
  width: 16px;
  height: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.dev_icon_location {
  background-image: url("./images/location.svg");
}
.dev_icon_phone {
  background-image: url("./images/phone.svg");
}
.dev_icon_email {
  background-image: url("./images/email.svg");
}
.dev_icon_clock {
  background-image: url("./images/time.svg");
}
.footer-contact {
  display: grid;
  gap: 11px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.footer-contact svg {
  color: var(--orange-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  padding: 16px 0;
  background: #03101e;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom strong {
  color: #fff;
}
.footer-iso {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-iso svg {
  color: var(--orange-light);
}

/* ===== FLOATING ACTIONS ===== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s;
  position: relative;
  cursor: pointer;
}
.float-btn:hover {
  transform: scale(1.08);
}
.float-zalo {
  background: transparent;
  box-shadow: 0 10px 26px rgba(0, 104, 255, 0.3);
  overflow: hidden;
}
.float-zalo img {
  width: 100%;
  height: 100%;
  display: block;
}

.float-phone {
  background: #16a34a;
  animation: phone-ring 1.6s infinite;
}
@keyframes phone-ring {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(22, 163, 74, 0.6),
      0 10px 26px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(22, 163, 74, 0),
      0 10px 26px rgba(0, 0, 0, 0.18);
  }
}

.float-top {
  background: var(--navy);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s;
}
.float-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-top:hover {
  background: var(--orange);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal[hidden] {
  display: none;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  transform: scale(0.96);
  transition: transform 0.3s;
}
.video-modal.open .video-modal-inner {
  transform: scale(1);
}
.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
}
.video-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

@media (max-width: 640px) {
  .video-modal {
    padding: 12px;
  }
  .video-modal-close {
    top: -44px;
    width: 36px;
    height: 36px;
  }
  .video-play {
    width: 64px;
    height: 64px;
  }
  .video-label {
    font-size: 13px;
    bottom: 14px;
    left: 16px;
  }
}

/* ===========================================================
   SUB-PAGES: Category & Product Detail
   =========================================================== */

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb svg {
  color: var(--border-2);
  flex-shrink: 0;
}
.breadcrumb span {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

/* ===== PAGE HEAD ===== */
.page-head {
  position: relative;
  background: linear-gradient(135deg, #f7f9fb 0%, #eef2f7 100%);
  padding: 15px 0 15px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 130, 32, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
.page-head .breadcrumb {
  margin-bottom: 14px;
}
.page-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.page-subtitle {
  font-size: 15px;
  color: var(--text-2);
  max-width: 720px;
  line-height: 1.65;
}

/* ===== SHOP (Category) ===== */
.shop {
  padding: 50px 0 60px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar */
.shop-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
  order: -1;
}
.sidebar-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.widget_categories ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
}
.widget_categories ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
}

span.devvnpvc-ajax-counter {
  display: none;
}
.widget_categories ul li span {
  font-size: 12px;
  color: var(--text-3);
}
aside#secondary .sidebar-block:last-child {
  background: var(--navy);
  color: #fff;
  text-align: center;
  border-color: var(--navy);
}

aside#secondary .sidebar-block:last-child h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

aside#secondary .sidebar-block:last-child p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  line-height: 1.5;
}
.sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.sidebar-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--orange);
}
.product-categories,
.sidebar-cats {
  display: grid;
  gap: 4px;
}

.product-categories li,
.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
}
.product-categories li:hover,
.sidebar-cats a:hover {
  background: var(--bg-soft);
  color: var(--orange);
  padding-left: 14px;
}
.product-categories li.current-cat,
.sidebar-cats a.active {
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
}
.product-categories span.count,
.sidebar-cats a span {
  font-size: 12px;
  color: var(--text-3);
}
.product-categories li.current-cat span.count,
.sidebar-cats a.active span {
  color: var(--orange);
}

.filter-group {
  margin-bottom: 14px;
}
.filter-group:last-child {
  margin-bottom: 0;
}
.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s;
}
.check-line input {
  accent-color: var(--orange);
  cursor: pointer;
}
.check-line:hover {
  color: var(--orange);
}
#shop-sidebar .widget:last-child,
.sidebar-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  border-color: var(--navy);
}
#shop-sidebar .widget:last-child h4,
.sidebar-banner h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
#shop-sidebar .widget:last-child p,
.sidebar-banner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
  line-height: 1.5;
}
#shop-sidebar .widget:last-child .btn,
.sidebar-banner .btn {
  width: 100%;
}
.woocommerce
  .woocommerce-widget-layered-nav-list
  .woocommerce-widget-layered-nav-list__item
  span.count {
  display: none;
}

.woocommerce
  .woocommerce-widget-layered-nav-list
  .woocommerce-widget-layered-nav-list__item
  a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s;
}

.woocommerce
  .woocommerce-widget-layered-nav-list
  .woocommerce-widget-layered-nav-list__item
  a::before {
  width: 13px;
  height: 13px;
  border: 1px solid #999;
  border-radius: 2px;
  content: "";
  display: inline-block;
  margin: unset;
}
.woocommerce
  .woocommerce-widget-layered-nav-list
  .woocommerce-widget-layered-nav-list__item--chosen
  a::before {
  content: "✔";
  font-size: 12px;
  color: rgb(75, 85, 99);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: unset;
}

.woocommerce nav.woocommerce-pagination ul {
  border: unset;
  flex-wrap: wrap;
}
.woocommerce
  .woocommerce-widget-layered-nav-list
  .woocommerce-widget-layered-nav-list__item--chosen
  a::before {
  background-color: var(--orange);
  border-color: var(--orange);
}
/* Shop main */
.shop-main {
  min-width: 0;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.shop-count {
  font-size: 13px;
  color: var(--text-2);
}
.shop-count strong {
  color: var(--navy);
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.shop-sort label {
  color: var(--text-3);
}
.shop-sort select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}
.shop-products {
  grid-template-columns: repeat(var(--col, 3), 1fr);
}
.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
  display: none;
}
/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.2s;
  padding: 0 8px;
}
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  margin-bottom: unset;
}
nav.rank-math-breadcrumb {
  margin-bottom: 14px;
}
.breadcrumb-bar nav.rank-math-breadcrumb {
  margin-bottom: inherit;
}
nav.rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
nav.rank-math-breadcrumb span.last {
  color: var(--navy);
  font-weight: 600;
}
/* nav.rank-math-breadcrumb p span.separator {
  width: 12px;
  height: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("./images/nav_right.svg");
} */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.pagination a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.pagination a.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.pagination .pg-dots {
  background: transparent;
  border: none;
  color: var(--text-3);
}
.pg-prev,
.pg-next {
  padding: 0;
}
.single-product .shop-grid {
  grid-template-columns: 1fr;
  display: block;
}
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
  float: none;
  width: 100%;
}
.entry-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
  border: 2px solid var(--border);
  border-radius: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}
.woocommerce-product-details__short-description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.woocommerce-product-details__short-description p {
  margin-bottom: 10px;
}
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: unset;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:hover {
  border-radius: var(--radius-lg);
}
ul#nav li.menu-item:hover > ul.sub-menu {
  opacity: 1;
  pointer-events: all;
}
ul#nav li.menu-item > ul.sub-menu {
  position: absolute;
  background-color: #fff;
  width: 260px;
  max-width: 100%;
  padding: 10px 10px 10px;
  box-shadow: var(--shadow-lg);
  border-radius: 10px;
  top: 100%;
  opacity: 0;
  pointer-events: none;
}

/* Chevron arrow on parent menu items (desktop + mobile rotates when open) */
.nav .menu-item-has-children > a {
  padding-right: 28px;
}
.nav .menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 8 10 13 15 8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav .menu-item-has-children:hover > a::before,
.nav .menu-item-has-children.is-open > a::before {
  opacity: 1;
  transform: rotate(-180deg);
}

ul#nav li.menu-item ul.sub-menu > li > a {
  padding: 10px 14px;
  display: block;
  color: var(--navy);
}

ul#nav li.menu-item ul.sub-menu > li > a:after {
  opacity: 0;
  width: 0;
  transition: 0.4s ease all;
}

ul#nav li.menu-item ul.sub-menu > li > a:hover:after {
  opacity: 1;
  width: calc(100% - 28px);
}

ul#nav li.menu-item > ul.sub-menu:before {
  content: "";
  height: 20px;
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
  top: -20px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto;
  float: unset;
  background: var(--bg-soft);
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  transition: all 0.2s;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
  opacity: 1;
}
.entry-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.entry-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}

.entry-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
  position: relative;
}
/* ===== CATEGORY DESCRIPTION (collapsible) ===== */
.cat-desc {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px 18px;
  box-shadow: var(--shadow-sm);
}
.cat-desc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cat-desc-content {
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  max-height: 140px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.cat-desc-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cat-desc[data-collapsed="false"] .cat-desc-content {
  max-height: 4000px;
}
.cat-desc[data-collapsed="false"] .cat-desc-content::after {
  opacity: 0;
}
.cat-desc-content p {
  margin-bottom: 12px;
}
.cat-desc-content p:last-child {
  margin-bottom: 0;
}
.cat-desc-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 10px;
}
.cat-desc-content ul {
  margin: 0 0 14px;
  padding-left: 0;
}
.cat-desc-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.cat-desc-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.cat-desc-content strong {
  color: var(--text);
}

.cat-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}
.cat-desc-toggle:hover {
  background: var(--orange);
  color: #fff;
}
.cat-desc-toggle svg {
  transition: transform 0.25s;
}
.cat-desc[data-collapsed="false"] .cat-desc-toggle svg {
  transform: rotate(180deg);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  padding: 36px 0 50px;
}
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Gallery */
.pd-gallery {
  position: sticky;
  top: 90px;
}
.pd-main {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 12px;
}
.pd-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.pd-main .product-badge {
  z-index: 2;
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pd-thumb {
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  transition: all 0.2s;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-thumb:hover {
  border-color: var(--orange-light);
}
.pd-thumb.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

/* Info */
.pd-cat {
  display: inline-block;
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.pd-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-2);
}
.pd-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pd-rating .stars {
  color: #facc15;
  letter-spacing: 1px;
  font-size: 14px;
}
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16a34a;
  font-weight: 600;
}
.pd-sku strong {
  color: var(--navy);
}

.pd-price {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fde4ba;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.pd-price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
}
.pd-price-label {
  display: block;
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.pd-price-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.pd-price-note {
  font-size: 12px;
  color: var(--text-3);
}

.pd-features {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.pd-features li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.pd-features .check {
  width: 20px;
  height: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}
.pd-features strong {
  color: var(--navy);
  font-weight: 700;
}

.pd-quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pd-quantity label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.qty-input {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 38px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
  transition: background 0.2s;
}
.qty-btn:hover {
  background: var(--orange);
  color: #fff;
}
.qty-input input {
  width: 50px;
  height: 38px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input input::-webkit-outer-spin-button,
.qty-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.pd-actions .btn {
  flex: 1;
  min-width: 200px;
}

.pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}
.pd-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.pd-trust-item span {
  font-size: 11px;
  color: var(--text-3);
}

.pd-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.pd-share > span {
  font-weight: 600;
  margin-right: 4px;
}
.pd-share a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}
.pd-share a:hover {
  transform: translateY(-2px);
}
.pd-share a[aria-label="Facebook"] {
  background: #1877f2;
}
.pd-share a[aria-label="Twitter"] {
  background: #1da1f2;
}
.pd-share a[aria-label="Email"] {
  background: var(--text-2);
}
.pd-share a[aria-label="Zalo"] {
  background: transparent;
  overflow: hidden;
}
.pd-share a[aria-label="Zalo"] img {
  width: 100%;
  height: 100%;
}

/* ===== TABS ===== */

.woocommerce div.product .woocommerce-tabs ul.tabs,
.pd-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar,
.pd-tabs::-webkit-scrollbar {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.pd-tab {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a,
.pd-tab:hover {
  color: var(--orange);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.pd-tab.active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: unset;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: unset;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: unset;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  display: none;
}

.pd-tab-content {
  display: none;
}
.pd-tab-content.active {
  display: block;
}
.pd-tab-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.pd-tab-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}
.pd-tab-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.pd-tab-content p strong {
  color: var(--navy);
}
.pd-tab-content ul {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
}
.pd-tab-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.pd-tab-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs-table tr:nth-child(even) {
  background: var(--bg-soft);
}
.specs-table th,
.specs-table td {
  padding: 12px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table th {
  width: 32%;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
}
.specs-table td {
  color: var(--text-2);
}

/* Cert strip in tab */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cert-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--orange);
}
.cert-item svg {
  color: var(--orange);
  flex-shrink: 0;
}
.cert-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 4px;
}
.cert-item p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
  margin: 0;
}

/* Reviews */
.reviews-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.rs-score {
  text-align: center;
}
.rs-score strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stars-large {
  color: #facc15;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.rs-score span {
  font-size: 13px;
  color: var(--text-3);
}
.rs-bars {
  display: grid;
  gap: 6px;
}
.rs-bar {
  display: grid;
  grid-template-columns: 30px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.rs-bar > span {
  color: var(--text-2);
  font-weight: 600;
}
.rs-bar .bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.rs-bar .bar > div {
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
}
.rs-bar em {
  font-style: normal;
  color: var(--text-3);
  text-align: right;
  font-size: 12px;
}

.review-list {
  display: grid;
  gap: 14px;
}
.review-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.rv-body {
  flex: 1;
}
.rv-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.rv-head strong {
  color: var(--navy);
  font-size: 14px;
}
.rv-head .stars {
  color: #facc15;
  font-size: 12px;
  letter-spacing: 1px;
}
.rv-head small {
  color: var(--text-3);
  font-size: 12px;
}
.rv-body p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ===== ARTICLE PAGE (News detail) ===== */
.article-page {
  padding: 30px 0 50px;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.article-main {
  min-width: 0;
}

.article-head {
  margin-bottom: 22px;
}
.article-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--orange-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.article-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-meta svg {
  color: var(--orange);
}

.article-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 22px 0 26px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.article-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-content,
.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.entry-content > .lead,
.article-content > .lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  margin-bottom: 22px;
}
.entry-content h2,
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
  position: relative;
  padding-left: 16px;
}
.entry-content h2::before,
.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}
.entry-content h3,
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}
.entry-content p,
.article-content p {
  margin-bottom: 14px;
  color: var(--text-2);
}
.entry-content p strong,
.article-content p strong {
  color: var(--navy);
  font-weight: 700;
}
.entry-content ul,
.article-content ul {
  list-style: none;
  margin: 12px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.entry-content ul li,
.article-content ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  line-height: 1.6;
}
.entry-content ul li::before,
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
figcaption.wp-caption-text {
  text-align: center;
  padding: 5px;
  background-color: #f3f3f3;
  margin-bottom: 10px;
}
.entry-content blockquote,
.article-content blockquote {
  margin: 20px 0;
  padding: 18px 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  position: relative;
}
.entry-content blockquote::before,
.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 60px;
  font-weight: 800;
  color: var(--orange);
  font-style: normal;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.tag-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-right: 4px;
}
.tag-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-soft);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s;
}
.tag-item:hover {
  background: var(--orange);
  color: #fff;
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-2);
}
.article-share > span {
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}
.article-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}
.article-share a:hover {
  transform: translateY(-2px);
}
.article-share a[aria-label="Facebook"] {
  background: #1877f2;
}
.article-share a[aria-label="Twitter"] {
  background: #1da1f2;
}
.article-share a[aria-label="Email"] {
  background: var(--text-2);
}
.article-share a[aria-label="Zalo"] {
  background: transparent;
  overflow: hidden;
}
.article-share a[aria-label="Zalo"] img {
  width: 100%;
  height: 100%;
}

/* Author box */
.author-box {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.author-box strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}
.author-box span {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Comment section */
.comment-section h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.comment-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--orange);
}
.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  font-size: 14px;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--orange);
}
.comment-form textarea {
  margin-bottom: 12px;
  resize: vertical;
  min-height: 100px;
}

/* Article sidebar */
.article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
}
.related-list {
  display: grid;
  gap: 12px;
}
.related-list a {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.related-list a:hover {
  background: var(--bg-soft);
}
.related-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.related-list h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.related-list a:hover h4 {
  color: var(--orange);
}
.related-list small {
  font-size: 11px;
  color: var(--text-3);
}

/* ===== ABOUT PAGE ===== */
.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mvv-card {
  position: relative;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  overflow: hidden;
}
.mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.mvv-card:hover::before {
  transform: scaleX(1);
}
.mvv-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.mvv-card:hover .mvv-icon {
  background: var(--orange);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.mvv-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.mvv-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.mvv-card p strong {
  color: var(--navy);
  font-weight: 700;
}
.mvv-list {
  display: grid;
  gap: 8px;
}
.mvv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.mvv-list li > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Capability stats */
.cap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.cap-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cap-stat strong sup {
  font-size: 18px;
}
.cap-stat span {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* Highlight product (CDR-EI70) */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: center;
}
.hl-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.hl-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hl-image[data-lightbox] {
  cursor: zoom-in;
}
.hl-image[data-lightbox]:hover img {
  transform: scale(1.04);
}
.hl-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.4);
  z-index: 2;
}
.hl-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(11, 46, 74, 0.85);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s;
  z-index: 2;
}
.hl-image[data-lightbox]:hover .hl-zoom {
  background: var(--orange);
  transform: scale(1.1);
}

/* ===== IMAGE LIGHTBOX ===== */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.img-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.img-modal[hidden] {
  display: none;
}
.img-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.img-modal img {
  position: relative;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.3s;
}
.img-modal.open img {
  transform: scale(1);
}
.img-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 1;
  cursor: pointer;
}
.img-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}
@media (max-width: 640px) {
  .img-modal {
    padding: 16px;
  }
  .img-modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .hl-zoom {
    width: 36px;
    height: 36px;
    bottom: 12px;
    right: 12px;
  }
}
.hl-content .section-label,
.hl-content .section-title {
  text-align: left;
}
.hl-content .section-label {
  padding-left: 30px;
}
.hl-content .lead {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.65;
}
.hl-content .lead strong {
  color: var(--orange);
  font-weight: 700;
}
.hl-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
}
.hl-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.hl-features svg {
  flex-shrink: 0;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  padding: 4px;
}
.hl-features strong {
  color: var(--navy);
  font-weight: 700;
}

/* ===== CONTACT PAGE ===== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.contact-card .contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s;
  overflow: hidden;
}
.contact-card:hover .contact-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.08);
}
/* Icon wrapper khi chứa img đã có sẵn vòng tròn (vd Zalo SVG) — bỏ background, để img fill */
.contact-icon-fill,
.contact-card:hover .contact-icon-fill {
  background: transparent !important;
  border: none;
  padding: 0;
}
.contact-icon-fill img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  display: block;
  word-break: break-word;
}
.contact-card .contact-sub {
  font-size: 12px;
  color: var(--text-3);
}

/* Contact form layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-info .section-label,
.contact-info .section-title {
  text-align: left;
}
.contact-info .section-label {
  padding-left: 30px;
}
.contact-info p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 22px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.contact-list li:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list li > div {
  flex: 1;
  min-width: 0;
}
.contact-list li strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.contact-list li span {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.contact-list li a {
  color: var(--orange);
  font-weight: 600;
}
.contact-list li a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.contact-socials > span {
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}
.contact-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}
.contact-socials a:hover {
  transform: translateY(-2px);
}
.contact-socials a[aria-label="Facebook"] {
  background: #1877f2;
}
.contact-socials a[aria-label="Youtube"] {
  background: #ff0000;
}
.contact-socials .cs-zalo {
  background: transparent;
  overflow: hidden;
}
.contact-socials .cs-zalo img {
  width: 100%;
  height: 100%;
}

/* Contact form (full version) */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-form .form-desc {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  font-size: 14px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  margin-bottom: 14px;
}
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.5;
}
.form-note svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Map section */
.map-section {
  background: var(--bg-soft);
}
.map-head {
  padding: 50px 0 28px;
  text-align: center;
}
.map-head .section-label {
  display: inline-block;
}
.map-head .section-title {
  margin-bottom: 8px;
}
.map-frame {
  height: 460px;
  width: 100%;
  background: var(--border);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}
.specs-table table {
  width: 100%;
  border: unset;
  border-collapse: collapse;
}
.woocommerce table.shop_attributes th {
  width: 32%;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 12px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  font-style: normal;
}
div#tab-tskt_tab .specs-table {
  border: unset;
}
.woocommerce table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-template-page-inroduce .section-soft {
  background-color: #fff;
}
.section-val_vision,
.page-template-page-inroduce .certs {
  background: var(--bg-soft);
}
/* Page-specific responsive */
@media (max-width: 1100px) {
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hl-image {
    max-width: 540px;
    margin: 0 auto;
  }
  .contact-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cap-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .map-frame {
    height: 360px;
  }
}
@media (max-width: 640px) {
  .contact-strip {
    grid-template-columns: 1fr;
  }
  .cap-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .cap-stat strong {
    font-size: 28px;
  }
  .contact-form {
    padding: 20px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .map-frame {
    height: 280px;
  }
}

/* Article responsive */
@media (max-width: 1100px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
  .article-meta {
    gap: 10px;
    font-size: 12px;
  }
  .article-content > .lead {
    font-size: 15px;
    padding: 12px 14px;
  }
  .article-content h2 {
    font-size: 18px;
  }
}

/* Sub-page responsive */
@media (max-width: 1100px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shop-sidebar {
    position: static;
    order: 0;
  }
  .shop-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-gallery {
    position: static;
    max-width: 540px;
    margin: 0 auto;
  }
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cert-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .shop-products {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Mobile: submenu chỉ hiện khi <li> có class .is-open (do JS thêm khi tap) */
  ul#nav li.menu-item > ul.sub-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding: 4px 0 4px 14px;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }
  ul#nav li.menu-item.is-open > ul.sub-menu {
    display: block;
  }
  /* Tắt hover-open trên mobile (touch không có :hover thật, nhưng chặn cho chắc) */
  ul#nav li.menu-item:hover > ul.sub-menu {
    display: none;
  }
  ul#nav li.menu-item.is-open:hover > ul.sub-menu {
    display: block;
  }

  ul#nav li.menu-item ul.sub-menu > li > a {
    color: #fff;
    padding: 8px 14px;
    font-size: 13.5px;
    text-transform: none;
    opacity: 0.9;
  }
  /* Arrow indicator white-ish on mobile drawer too — chỉ chỉnh size cho thoáng */
  .nav .menu-item-has-children > a {
    padding-right: 36px;
  }
  .nav .menu-item-has-children > a::before {
    right: 14px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
  }
  .pd-trust {
    grid-template-columns: 1fr;
  }
  .pd-actions .btn {
    flex: 1 1 100%;
  }
}
@media (max-width: 640px) {
  .shop-products {
    grid-template-columns: 1fr;
  }
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-tab {
    padding: 10px 14px;
    font-size: 12px;
  }
  .specs-table th {
    width: 40%;
    padding: 10px 12px;
    font-size: 13px;
  }
  .specs-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .pagination a,
  .pagination span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero {
    padding: 70px 0;
    min-height: 460px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-form {
    max-width: 540px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .menu-menu-chinh-container ul#nav > li {
    width: 100%;
  }

  .menu-menu-chinh-container ul#nav > li a {
    display: block;
  }
  .topbar-info {
    gap: 16px;
    font-size: 12px;
  }
  .ti-hide-sm {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header-cta small {
    display: none;
  }
  .header-cta {
    padding: 8px 14px;
    gap: 6px;
  }
  .header {
    position: sticky;
  }

  .cat-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-visual {
    max-width: 540px;
    margin: 0 auto;
  }

  .section {
    padding: 48px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .stats-banner {
    padding: 26px 0;
  }
  .cta {
    padding: 44px 0;
  }
  .footer {
    padding: 40px 0 0;
  }
}

@media (max-width: 640px) {
  .topbar-info {
    width: 100%;
  }
  .topbar-info .ti-item:not(:first-child) {
    display: none;
  }
  .topbar-social {
    display: none;
  }
  .logo img {
    height: 42px;
  }
  .header-cta {
    display: none;
  }

  .hero {
    padding: 56px 0;
    min-height: 380px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 60%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }
  .stats-banner {
    padding: 22px 0;
  }
  .hero-desc {
    font-size: 13px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    flex: 1;
    min-width: 130px;
    padding: 10px 14px;
    font-size: 13px;
  }
  .hero-image-main {
    height: 260px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .why-card {
    padding: 10px 8px;
  }
  .why-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 8px;
  }
  .why-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .why-card p {
    font-size: 12px;
    line-height: 1.5;
  }
  .products-grid,
  .shop-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-body {
    padding: 10px 10px;
  }
  .product-cat {
    font-size: 10px;
    margin-bottom: 3px;
    letter-spacing: 0.05em;
  }
  .product-body h3 {
    font-size: 13px;
    line-height: 1.35;
  }
  .product-badge {
    top: 8px;
    left: 8px;
    font-size: 9px;
    padding: 3px 7px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }
  .footer-grid > .footer-col:first-child,
  .footer-grid > .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-form {
    padding: 24px;
  }
  .floating-actions {
    bottom: 16px;
    right: 14px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
  }
}

/* ===========================================================
   PAGE: Máy hút mùi Kim Sơn
   =========================================================== */

/* Banner */
.mhm-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1022 / 400;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mhm-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 46, 74, 0) 60%,
    rgba(11, 46, 74, 0.18) 100%
  );
  pointer-events: none;
}

/* Intro section: gallery + info */
.mhm-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: flex-start;
}
.mhm-gallery {
  position: sticky;
  top: 100px;
}
.mhm-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.mhm-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.mhm-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.mhm-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.mhm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mhm-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--orange-light);
}
.mhm-thumb.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.18);
}

/* Info */
.mhm-info {
  padding-top: 4px;
}
.mhm-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mhm-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 14px;
}
.mhm-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 14px 18px;
  background: var(--orange-soft);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.mhm-price-label {
  font-size: 14px;
  color: var(--text-2);
}
.mhm-price {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--orange-dark);
  letter-spacing: -0.01em;
}
.mhm-price-old {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: line-through;
}
.mhm-model {
  margin-left: auto;
  font-size: 13px;
  color: var(--navy);
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.mhm-model strong {
  color: var(--orange-dark);
}

.mhm-note {
  padding: 12px 16px;
  background: #eaf2fb;
  color: #0e4975;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.mhm-note p {
  margin: 0;
}
.mhm-note strong {
  color: var(--navy);
  font-weight: 700;
}

.mhm-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.mhm-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.mhm-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  margin-top: 1px;
}
.mhm-check-navy {
  background: var(--navy);
}
.mhm-list-policies li {
  color: var(--navy);
  font-weight: 600;
}

.mhm-badge {
  margin: 6px 0 16px;
}
.mhm-badge img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.mhm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mhm-actions .btn {
  padding: 12px 22px;
  font-size: 14px;
}

/* Specs blocks */
.mhm-specs-grid {
  display: grid;
  gap: 18px;
}
.mhm-spec {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.mhm-spec--orange {
  border-left-color: var(--orange);
}
.mhm-spec--blue {
  border-left-color: #237ce8;
}
.mhm-spec-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.mhm-spec--orange .mhm-spec-title {
  color: var(--orange-dark);
}
.mhm-spec--blue .mhm-spec-title {
  color: #0876ff;
}
.mhm-spec-content {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}
.mhm-spec-content ul {
  display: grid;
  gap: 8px;
}
.mhm-spec-content li {
  position: relative;
  padding-left: 28px;
  list-style: none;
}
.mhm-spec-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mhm-spec--blue .mhm-spec-content li::before {
  background: #0876ff;
}
.mhm-spec--navy .mhm-spec-content li::before {
  background: var(--navy);
}

/* Video */
.mhm-video-frame {
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.mhm-video-frame iframe,
.mhm-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Variants */
.mhm-variants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mhm-variant-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.mhm-variant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.mhm-variant-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.mhm-variant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.mhm-variant-card:hover .mhm-variant-image img {
  transform: scale(1.06);
}
.mhm-variant-body {
  padding: 14px 16px;
  text-align: center;
}
.mhm-variant-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.mhm-variant-code {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.mhm-variant-sold {
  font-size: 13px;
  color: var(--orange-dark);
  font-weight: 600;
  margin: 0;
}

/* Form section */
.mhm-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.mhm-form-iframe {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mhm-form-iframe iframe {
  width: 100%;
  display: block;
  border: 0;
}
.mhm-form-headline {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.mhm-form-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.mhm-form-benefits {
  display: grid;
  gap: 10px;
}
.mhm-form-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}

/* Real product gallery */
.mhm-real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mhm-real-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.mhm-real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.mhm-real-item:hover img {
  transform: scale(1.06);
}

/* Commitments */
.mhm-commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mhm-commit-card {
  text-align: center;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.mhm-commit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.mhm-commit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mhm-commit-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mhm-commit-card p {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* Image lightbox */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.img-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.img-modal[hidden] {
  display: none;
}
.img-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#imgModalSrc {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #000;
}
.img-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
}
.img-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 992px) {
  .mhm-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mhm-gallery {
    position: static;
  }
  .mhm-variants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mhm-form-grid {
    grid-template-columns: 1fr;
  }
  .mhm-commit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mhm-real-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .mhm-title {
    font-size: 20px;
  }
  .mhm-price {
    font-size: 22px;
  }
  .mhm-model {
    margin-left: 0;
  }
  .mhm-variants-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mhm-real-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mhm-commit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mhm-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .mhm-spec {
    padding: 18px 18px;
  }
}

/* ===== Gallery popup: prev/next + counter ===== */
.img-modal-prev,
.img-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.img-modal-prev:hover,
.img-modal-next:hover {
  background: var(--orange);
  transform: translateY(-50%) scale(1.08);
}
.img-modal-prev {
  left: 22px;
}
.img-modal-next {
  right: 22px;
}
.img-modal-prev[hidden],
.img-modal-next[hidden] {
  display: none;
}

.img-modal-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.img-modal-counter:empty {
  display: none;
}

#imgModalSrc {
  transition: opacity 0.18s ease;
}

@media (max-width: 640px) {
  .img-modal-prev,
  .img-modal-next {
    width: 40px;
    height: 40px;
  }
  .img-modal-prev {
    left: 10px;
  }
  .img-modal-next {
    right: 10px;
  }
}

/* ===== Commit icons: SVG variant ===== */
.mhm-commit-icon--svg {
  background: var(--orange-soft);
  border-radius: 50%;
  color: var(--orange-dark);
}
.mhm-commit-icon--svg svg {
  width: 44px;
  height: 44px;
  display: block;
}
.mhm-commit-card:hover .mhm-commit-icon--svg {
  background: var(--orange);
  color: #fff;
  transition:
    background 0.25s,
    color 0.25s;
}

/* ===========================================================
   AUTHOR ARCHIVE PAGE
   =========================================================== */

.author-profile-section {
  padding: 20px 0;
}
.author-profile {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.author-profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 46px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(245, 130, 32, 0.25);
}
.author-profile-name {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.author-profile-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.author-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
}
.author-profile-meta svg {
  color: var(--orange);
}
.author-profile-meta strong {
  color: var(--navy);
  font-weight: 700;
}
.author-profile-bio {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.author-profile-bio p {
  margin: 0 0 8px;
}
.author-profile-bio p:last-child {
  margin-bottom: 0;
}

.author-posts-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.author-posts-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--orange);
}
.author-posts-title em {
  color: var(--orange);
  font-style: normal;
}

.author-posts-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-3);
  font-size: 14px;
}

/* ===== author-box (single.php): clickable variant ===== */
.author-box a.author-avatar {
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.author-box a.author-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.32);
}
.author-box-name {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.author-box-name:hover strong {
  color: var(--orange);
}
.about-visual .video-play svg {
  margin: unset;
}
.woocommerce div.product div.summary p.price {
  margin-bottom: 18px;
}

.woocommerce div.product div.summary p.price .amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
}
.woocommerce-product-details__short-description {
  margin-bottom: 18px;
}
.woocommerce div.product form.cart .button {
  float: unset;
  flex-grow: 1;
  height: 50px;
  background-color: var(--navy);
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 16px;
}
.single-product .woocommerce-message {
  margin-bottom: unset;
}
.woocommerce div.product form.cart {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: unset;
}
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
  display: none;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt {
  min-height: 50px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt {
  background: var(--navy);
  color: #fff !important;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  #respond
  input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
  input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  #respond
  input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(
    :not(.edit-post-visual-editor)
  )
  .woocommerce
  input.button.alt:hover {
  background-color: var(--orange, #f58220);
  color: #fff;
}

.woocommerce div.product form.cart .qty-btn {
  height: 50px;
}
.woocommerce-product-details__short-description ul li {
  margin-bottom: 9px;
}
@media (max-width: 640px) {
  .author-profile {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
    gap: 18px;
  }
  .author-profile-avatar {
    width: 110px;
    height: 110px;
    font-size: 38px;
    margin: 0 auto;
  }
  .author-profile-meta {
    justify-content: center;
  }
  .hero {
    padding: 26px 0;
    min-height: 380px;
    background-position: 0 0;
  }
  .hero h1 {
    font-size: 18px;
  }
  .hero-badge {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 100%;
  }
}

/* ===========================================================
   WOOCOMMERCE CART PAGE  (/gio-hang/)
   =========================================================== */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  padding: 32px 0 60px;
  background: var(--bg-soft);
}
.woocommerce-cart .entry-content .container,
.woocommerce-checkout .entry-content .container {
  max-width: var(--container);
}

.woocommerce-cart .section,
.woocommerce-checkout .section {
  padding: 0;
}

/* Notices (info / error / success) */
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  position: relative;
  padding: 14px 18px 14px 48px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--text);
  list-style: none;
}
.woocommerce-message {
  border-left: 4px solid #16a34a;
}
.woocommerce-info {
  border-left: 4px solid var(--orange);
}
.woocommerce-error {
  border-left: 4px solid #dc2626;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "i";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
}
.woocommerce-message::before {
  content: "✓";
  background: #16a34a;
  font-family: inherit;
  font-style: normal;
}
.woocommerce-error::before {
  content: "!";
  background: #dc2626;
  font-family: inherit;
  font-style: normal;
}
.woocommerce-info a,
.woocommerce-message a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}
.woocommerce-info a:hover,
.woocommerce-message a:hover {
  color: var(--orange-dark);
}

/* Cart form layout */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 26px;
  align-items: start;
}
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}
.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
  grid-column: 1 / 2;
  min-width: 0;
}
.woocommerce-cart .woocommerce > .cart-collaterals {
  grid-column: 2 / 3;
  position: sticky;
  top: 90px;
}

/* Cart table */
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.woocommerce-cart table.shop_table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 14px 16px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: none;
}
.woocommerce-cart table.shop_table tbody td {
  padding: 18px 16px;
  vertical-align: middle;
  border-top: 1px solid var(--border);
  background: #fff;
}
.woocommerce-cart table.shop_table tbody tr.cart_item:first-child td {
  border-top: none;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cart cells */
.woocommerce-cart .product-remove {
  width: 50px;
  text-align: center;
}
.woocommerce-cart .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.woocommerce-cart .product-remove a.remove:hover {
  background: #dc2626;
  color: #fff !important;
  transform: rotate(90deg);
}
.woocommerce-cart .product-thumbnail {
  width: 100px;
}
.woocommerce-cart .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.woocommerce-cart .product-name a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.2s;
}
.woocommerce-cart .product-name a:hover {
  color: var(--orange);
}
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
}
.woocommerce-cart .product-subtotal {
  color: var(--orange-dark);
  font-weight: 700;
}
.woocommerce-Price-amount {
  font-weight: inherit;
  color: inherit;
}
.woocommerce-Price-currencySymbol {
  margin-left: 1px;
}

/* Cart qty (uses theme's .pd-quantity from product page) */
.woocommerce-cart .product-quantity .pd-quantity {
  margin: 0;
  gap: 0;
}
.woocommerce-cart .product-quantity .pd-quantity > label[for^="quantity_"] {
  display: none;
}
.woocommerce-cart .product-quantity .qty-input {
  border: 1.5px solid var(--border);
}
.woocommerce-cart .product-quantity .qty-btn {
  width: 32px;
  height: 34px;
  font-size: 16px;
}
.woocommerce-cart .product-quantity .qty-input input {
  width: 42px;
  height: 34px;
  font-size: 14px;
}

/* Actions row (coupon + update) */
.woocommerce-cart table.shop_table td.actions {
  padding: 18px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.woocommerce-cart .coupon {
  display: inline-flex;
  gap: 8px;
  margin-right: 12px;
  vertical-align: middle;
}
.woocommerce-cart .coupon input#coupon_code {
  height: 42px;
  min-width: 220px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce-cart .coupon input#coupon_code:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
  outline: none;
}
.woocommerce-cart .coupon button.button,
.woocommerce-cart button[name="update_cart"] {
  height: 42px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.woocommerce-cart .coupon button.button:hover,
.woocommerce-cart button[name="update_cart"]:not([disabled]):hover {
  background: var(--orange);
}
.woocommerce-cart button[name="update_cart"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.woocommerce-cart button[name="update_cart"] {
  float: right;
}

/* Cart totals sidebar */
.cart-collaterals .cart_totals {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.cart-collaterals .cart_totals h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.cart-collaterals .cart_totals table.shop_table {
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  background: transparent;
  font-size: 14px;
  text-align: left;
}
.cart-collaterals .cart_totals table tr:first-child th,
.cart-collaterals .cart_totals table tr:first-child td {
  border-top: none;
}
.cart-collaterals .cart_totals table td {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}
.cart-collaterals .cart_totals .cart-subtotal th {
  color: var(--text-2);
  font-weight: 500;
}
.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}
.cart-collaterals .cart_totals .order-total td strong {
  font-size: 20px;
  color: var(--orange-dark);
}

/* Proceed to checkout */
.wc-proceed-to-checkout {
  margin-top: 18px;
}
.wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: var(--orange);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.wc-proceed-to-checkout a.checkout-button::after {
  content: "→";
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.2s;
}
.wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.45);
}
.wc-proceed-to-checkout a.checkout-button:hover::after {
  transform: translateX(4px);
}

/* Empty cart */
.cart-empty.woocommerce-info {
  text-align: center;
  padding: 40px 24px;
  font-size: 16px;
}
.return-to-shop {
  text-align: center;
  margin-top: 18px;
}
.return-to-shop a.wc-backward {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 24px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.return-to-shop a.wc-backward:hover {
  background: var(--orange);
}

/* ===========================================================
   WOOCOMMERCE CHECKOUT PAGE  (/thanh-toan/)
   =========================================================== */
/* Login + Coupon toggles */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
  margin-bottom: 14px;
}

/* Login form (collapsed) */
.woocommerce-form-login,
.checkout_coupon {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.woocommerce-form-login p {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-2);
}
.woocommerce-form-login .form-row,
.checkout_coupon .form-row,
.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}
.woocommerce-form-login .form-row-first,
.checkout_coupon .form-row-first,
.woocommerce-checkout .form-row-first {
  width: 49%;
  float: left;
  margin-right: 2%;
}
.woocommerce-form-login .form-row-last,
.checkout_coupon .form-row-last,
.woocommerce-checkout .form-row-last {
  width: 49%;
  float: right;
}
.woocommerce-form-login::after,
.checkout_coupon::after,
.woocommerce-form-login p::after,
.woocommerce-checkout .form-row::after {
  content: "";
  display: table;
  clear: both;
}
.lost_password {
  font-size: 13px;
}
.lost_password a {
  color: var(--orange);
  font-weight: 600;
}
.lost_password a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

/* Login submit button */
.woocommerce-form-login__submit,
.woocommerce-form-login .button {
  height: 44px;
  padding: 0 22px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.woocommerce-form-login__submit:hover {
  background: var(--orange);
}

/* Checkout 2-col layout */
.woocommerce-checkout form.checkout {
  display: block;
}
.woocommerce-checkout #customer_details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}
.woocommerce-checkout #customer_details::after,
.woocommerce-checkout #customer_details::before {
  content: none;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  float: none;
}

/* Section headings */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: block;
}
#order_review_heading {
  margin-top: 26px;
}
.woocommerce-shipping-fields:empty {
  display: none;
}

/* Form fields */
.woocommerce form .form-row {
  margin: 0 0 14px;
  padding: 0;
}
.woocommerce form .form-row label,
.woocommerce-checkout form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.woocommerce form .form-row label .required {
  color: #dc2626;
  margin-left: 2px;
  text-decoration: none;
}
.woocommerce form .form-row label .optional {
  color: var(--text-3);
  font-weight: 400;
  font-size: 12px;
}
.woocommerce-input-wrapper {
  display: block;
  width: 100%;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.woocommerce form .form-row textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: var(--text-3);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
  border-color: #dc2626;
}
.woocommerce form .form-row.woocommerce-validated input.input-text {
  border-color: var(--border);
}

/* Password reveal */
.password-input {
  position: relative;
  display: block;
}
.password-input input {
  padding-right: 42px !important;
}
.show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  cursor: pointer;
  border-radius: 4px;
  background: transparent;
  border: none;
  padding: 0;
}
.show-password-input::after {
  content: "👁";
  font-size: 14px;
  color: var(--text-3);
}
.show-password-input.display-password::after {
  color: var(--orange);
}

/* Checkbox / radio rows */
.woocommerce-form__label-for-checkbox,
.woocommerce form .create-account label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500 !important;
  color: var(--text) !important;
  cursor: pointer;
  margin-bottom: 0 !important;
}
.woocommerce-form__input-checkbox,
.woocommerce form .form-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Select2 (country) */
.select2-container--default .select2-selection--single {
  height: 44px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  background: #fff !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.select2-container--default.select2-container--focus
  .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px !important;
  padding-left: 14px !important;
  color: var(--text) !important;
  font-size: 14px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 42px !important;
  right: 8px !important;
}
.select2-dropdown {
  border-color: var(--orange) !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
  background-color: var(--orange) !important;
  color: #fff !important;
}
.select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  outline: none;
}

/* Account-creation block */
.woocommerce-account-fields .create-account {
  margin-top: 12px;
}
.woocommerce-account-fields > .form-row {
  margin-bottom: 6px;
}

/* Order review */
#order_review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.woocommerce-checkout-review-order-table {
  width: 100%;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-collapse: separate;
  border-spacing: 0;
}
.woocommerce-checkout-review-order-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: left;
}
.woocommerce-checkout-review-order-table thead th:first-child {
  border-radius: 8px 0 0 8px;
}
.woocommerce-checkout-review-order-table thead th:last-child {
  border-radius: 0 8px 8px 0;
  text-align: right;
}
.woocommerce-checkout-review-order-table tbody td {
  padding: 14px;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  color: var(--text);
  vertical-align: top;
}
.woocommerce-checkout-review-order-table .product-name {
  font-weight: 600;
  color: var(--navy);
}
.woocommerce-checkout-review-order-table .product-quantity {
  font-weight: 700;
  color: var(--orange-dark);
  margin-left: 4px;
}
.woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  padding: 12px 14px;
  font-size: 14px;
  border-top: 1px dashed var(--border);
  text-align: left;
}
.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 600;
}
.woocommerce-checkout-review-order-table tfoot .cart-subtotal th {
  font-weight: 500;
  color: var(--text-2);
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border-top: 2px solid var(--navy);
  padding-top: 14px;
}
.woocommerce-checkout-review-order-table tfoot .order-total td strong {
  font-size: 20px;
  color: var(--orange-dark);
}

/* Payment methods */
.woocommerce-checkout-payment {
  margin-top: 22px;
  background: transparent;
  border-radius: 0;
}
.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
  border-bottom: 1px solid var(--border);
  padding: 0;
  background: #fff;
  list-style: none;
}
.woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:last-child {
  border-bottom: none;
}
.woocommerce-checkout-payment ul.payment_methods li input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.woocommerce-checkout-payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  padding: 16px 18px 16px 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: background 0.2s;
}
.woocommerce-checkout-payment ul.payment_methods li label::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-2);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s;
}
.woocommerce-checkout-payment ul.payment_methods li label::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform 0.2s;
}
.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"]:checked
  + label {
  background: var(--orange-soft);
  color: var(--navy);
}
.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"]:checked
  + label::before {
  border-color: var(--orange);
}
.woocommerce-checkout-payment
  ul.payment_methods
  li
  input[type="radio"]:checked
  + label::after {
  transform: translateY(-50%) scale(1);
}
.woocommerce-checkout-payment ul.payment_methods li .payment_box {
  background: var(--bg-soft);
  margin: 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  border-top: 1px dashed var(--border);
}
.woocommerce-checkout-payment ul.payment_methods li .payment_box p {
  margin: 0;
}
.woocommerce-checkout-payment ul.payment_methods li .payment_box::before {
  content: none;
}

/* Place-order button */
.woocommerce-checkout-payment .form-row.place-order {
  margin: 0;
  padding: 0;
}
.woocommerce #place_order,
.woocommerce-page #place_order {
  display: block;
  width: 100%;
  height: 56px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(245, 130, 32, 0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  float: none;
}
.woocommerce #place_order:hover,
.woocommerce-page #place_order:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 130, 32, 0.5);
}
.woocommerce #place_order:active,
.woocommerce-page #place_order:active {
  transform: translateY(0);
}

/* T&C wrapper */
.woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-2);
}
.woocommerce-terms-and-conditions-wrapper:empty {
  display: none;
}
.woocommerce-privacy-policy-text:empty {
  display: none;
}

/* AJAX loading overlay */
.blockUI.blockOverlay {
  position: relative;
}
.blockUI.blockOverlay::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid var(--orange-soft);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: wc-spin 0.7s linear infinite;
  z-index: 9999;
}
@keyframes wc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===========================================================
   RESPONSIVE  — Cart & Checkout
   =========================================================== */
@media (max-width: 992px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
  }
  .woocommerce-cart .woocommerce > form.woocommerce-cart-form,
  .woocommerce-cart .woocommerce > .cart-collaterals {
    grid-column: 1 / -1;
    position: static;
  }
  .woocommerce-checkout #customer_details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content {
    padding: 20px 0 40px;
  }

  /* Stacked cart rows on mobile */
  .woocommerce-cart table.shop_table thead {
    display: none;
  }
  .woocommerce-cart table.shop_table tbody tr.cart_item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
      "thumb name remove"
      "thumb price price"
      "qty qty subtotal";
    gap: 8px 14px;
    padding: 16px;
    border-top: 1px solid var(--border);
    align-items: center;
  }
  .woocommerce-cart table.shop_table tbody tr.cart_item:first-child {
    border-top: none;
  }
  .woocommerce-cart table.shop_table tbody td {
    border: none;
    padding: 0;
  }
  .woocommerce-cart .product-remove {
    grid-area: remove;
    width: auto;
    text-align: right;
  }
  .woocommerce-cart .product-thumbnail {
    grid-area: thumb;
    width: 80px;
  }
  .woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: 80px;
  }
  .woocommerce-cart .product-name {
    grid-area: name;
  }
  .woocommerce-cart .product-price {
    grid-area: price;
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
  }
  .woocommerce-cart .product-price[data-title]::before {
    content: attr(data-title) ": ";
    color: var(--text-3);
  }
  .woocommerce-cart .product-quantity {
    grid-area: qty;
  }
  .woocommerce-cart .product-subtotal {
    grid-area: subtotal;
    text-align: right;
    font-size: 16px;
  }
  .woocommerce-cart table.shop_table td.actions {
    display: block;
    padding: 16px;
  }
  .woocommerce-cart .coupon {
    display: flex;
    width: 100%;
    margin: 0 0 12px;
  }
  .woocommerce-cart .coupon input#coupon_code {
    flex: 1;
    min-width: 0;
  }
  .woocommerce-cart button[name="update_cart"] {
    float: none;
    width: 100%;
  }

  /* Checkout form rows full width on mobile */
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-form-login .form-row-first,
  .woocommerce-form-login .form-row-last,
  .checkout_coupon .form-row-first,
  .checkout_coupon .form-row-last {
    width: 100%;
    float: none;
    margin: 0 0 14px;
  }
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2,
  #order_review,
  .cart-collaterals .cart_totals,
  .woocommerce-form-login,
  .checkout_coupon {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    font-size: 13px;
    padding: 12px 14px 12px 42px;
  }
  .wc-proceed-to-checkout a.checkout-button,
  .woocommerce #place_order {
    font-size: 14px;
    letter-spacing: 0.3px;
  }
  .cart-collaterals .cart_totals h2,
  #order_review_heading,
  .woocommerce-billing-fields h3,
  .woocommerce-additional-fields h3 {
    font-size: 16px;
  }
  .woocommerce-cart .product-thumbnail img {
    width: 64px;
    height: 64px;
  }
  .woocommerce-cart table.shop_table tbody tr.cart_item {
    grid-template-columns: 64px 1fr auto;
  }
}

/* ===========================================================
   WOOCOMMERCE OVERRIDES — high specificity to beat woo defaults
   (woocommerce.css, woocommerce-layout.css, wc-blocks.css)
   =========================================================== */

/* --- CART: thumb size --- */
/* Woo default: .woocommerce table.cart img { width: 32px } */
body.woocommerce-cart .woocommerce table.cart img,
body.woocommerce-cart .woocommerce table.shop_table.cart img,
body.woocommerce-cart table.cart .product-thumbnail img {
  width: 80px !important;
  max-width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

/* --- CART: remove button --- */
body.woocommerce-cart .woocommerce a.remove {
  width: 28px;
  height: 28px;
  line-height: 24px;
  font-size: 16px;
  font-weight: 700;
  color: #dc2626 !important;
  background: #fef2f2;
  border-radius: 50%;
  text-align: center;
}
body.woocommerce-cart .woocommerce a.remove:hover {
  background: #dc2626;
  color: #fff !important;
}

/* --- CART: collaterals + cart_totals full width --- */
/* Woo default: .woocommerce .cart-collaterals .cart_totals { width: 48%; float: right } */
body.woocommerce-cart .woocommerce .cart-collaterals {
  width: 100% !important;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100% !important;
  float: none !important;
}
body.woocommerce-cart .woocommerce .cart-collaterals .cross-sells {
  display: none;
}

/* --- CART: "Tiến hành thanh toán" button --- */
/* Woo default: .woocommerce .cart-collaterals .checkout-button { display:block; padding:1em; font-size:1.25em } */
body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .woocommerce .cart-collaterals .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px;
  padding: 12px 18px !important;
  margin-top: 18px !important;
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 15px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.35);
  text-align: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
body.woocommerce-cart
  .cart-collaterals
  .wc-proceed-to-checkout
  a.checkout-button:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.45);
}

/* --- CART: coupon + update cart buttons --- */
/* Woo default: button.button { background:#ebe9eb; color:#515151 } */
body.woocommerce-cart .woocommerce .coupon button.button,
body.woocommerce-cart .woocommerce button[name="update_cart"],
body.woocommerce-cart .woocommerce button.button[name="apply_coupon"] {
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  height: 42px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
body.woocommerce-cart .woocommerce .coupon button.button:hover,
body.woocommerce-cart
  .woocommerce
  button[name="update_cart"]:not([disabled]):hover {
  background: var(--orange) !important;
  color: #fff !important;
}
body.woocommerce-cart .woocommerce button[name="update_cart"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- CART: table header force navy bg --- */
body.woocommerce-cart .woocommerce table.shop_table thead th {
  background: var(--navy) !important;
  color: #fff !important;
}

/* --- CART: collaterals heading --- */
body.woocommerce-cart .cart_totals h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--orange) !important;
  display: inline-block !important;
  text-transform: none !important;
}

/* ===========================================================
   CHECKOUT — 2-column layout: LEFT info | RIGHT order review
   =========================================================== */
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  grid-template-rows: auto 1fr;
  gap: 0 26px;
  align-items: start;
}

/* Left column: all customer details — span both rows so heading + review
   on the right stack tightly at top instead of pushed to row 2 bottom */
body.woocommerce-checkout #customer_details {
  display: block !important;
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
  margin: 0;
}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
body.woocommerce-checkout #customer_details .col-2:empty,
body.woocommerce-checkout #customer_details .col-2:has(.woocommerce-shipping-fields:empty):has(.woocommerce-additional-fields:empty) {
  display: none;
}
body.woocommerce-checkout #customer_details .woocommerce-shipping-fields:empty {
  display: none;
}

/* Right column: order review + payment */
body.woocommerce-checkout #order_review_heading {
  grid-column: 2 / 3;
  grid-row: 1;
  align-self: start;
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  display: block;
}
body.woocommerce-checkout #order_review {
  grid-column: 2 / 3;
  grid-row: 2;
  align-self: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

/* Notices + login/coupon toggles span full width above the grid */
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login,
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce > .checkout_coupon {
  grid-column: 1 / -1;
}

/* ===========================================================
   CHECKOUT — form-row label/input stacking
   Woo wc-blocks.css sets .form-row { display: grid } putting
   label + input side-by-side. Override to stack.
   =========================================================== */
body.woocommerce-checkout .woocommerce form.checkout .form-row,
body.woocommerce-checkout .woocommerce form.woocommerce-form-login .form-row,
body.woocommerce-checkout .woocommerce form.checkout_coupon .form-row,
body.woocommerce form .form-row {
  display: block !important;
  grid-template-columns: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce form.checkout .form-row > label,
body.woocommerce-checkout .woocommerce form .form-row > label,
body.woocommerce form .form-row > label {
  display: block !important;
  width: auto !important;
  float: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout .woocommerce form .form-row .woocommerce-input-wrapper,
body.woocommerce form .form-row .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  float: none !important;
}

/* Two-column rows (form-row-first / form-row-last) */
body.woocommerce-checkout .woocommerce form .form-row.form-row-first,
body.woocommerce form .form-row-first {
  width: 48% !important;
  float: left !important;
  margin-right: 4% !important;
  clear: left;
  display: block !important;
}
body.woocommerce-checkout .woocommerce form .form-row.form-row-last,
body.woocommerce form .form-row-last {
  width: 48% !important;
  float: right !important;
  margin-right: 0 !important;
  clear: right;
  display: block !important;
}
body.woocommerce-checkout .woocommerce form .form-row.form-row-wide,
body.woocommerce form .form-row-wide {
  width: 100% !important;
  float: none !important;
  clear: both;
}
/* Clearfix for billing fields wrapper that holds floated rows */
.woocommerce-billing-fields__field-wrapper::after,
.woocommerce-additional-fields__field-wrapper::after,
form.woocommerce-form-login::after,
form.checkout_coupon::after {
  content: "";
  display: block;
  clear: both;
}

/* Form inputs unified */
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce form .form-row input.input-text,
body.woocommerce form .form-row textarea,
body.woocommerce form .form-row select {
  width: 100% !important;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
  line-height: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce form .form-row textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  line-height: 1.5;
}
body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
  outline: none;
}

/* Section headings inside cards */
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--orange) !important;
  display: block !important;
  text-transform: none !important;
}

/* Order review table inside the sticky card */
body.woocommerce-checkout #order_review .shop_table {
  width: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.woocommerce-checkout #order_review .shop_table thead th {
  background: var(--navy) !important;
  color: #fff !important;
}

/* Place-order button — beat Woo .button.alt */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order.button.alt,
body.woocommerce #place_order {
  display: block !important;
  width: 100% !important;
  height: 56px;
  margin-top: 8px;
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(245, 130, 32, 0.4);
  float: none !important;
  text-shadow: none !important;
}
body.woocommerce-checkout #place_order:hover {
  background: var(--orange-dark) !important;
}

/* Login submit button */
body.woocommerce-checkout .woocommerce-form-login .button {
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  height: 44px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
body.woocommerce-checkout .woocommerce-form-login .button:hover {
  background: var(--orange) !important;
}

/* Coupon "Áp dụng" button on checkout */
body.woocommerce-checkout form.checkout_coupon button.button {
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  height: 44px !important;
  border-radius: 8px !important;
  padding: 0 22px !important;
  font-weight: 600 !important;
}
body.woocommerce-checkout form.checkout_coupon button.button:hover {
  background: var(--orange) !important;
}

/* Select2 — bump to win over Woo's select2 styling */
body.woocommerce-checkout
  .select2-container--default
  .select2-selection--single {
  height: 44px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  background: #fff !important;
}
body.woocommerce-checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px !important;
  padding-left: 14px !important;
  padding-right: 30px !important;
  color: var(--text) !important;
}
body.woocommerce-checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 42px !important;
  right: 8px !important;
}

/* ===========================================================
   PAYMENT METHODS — kill theme's generic `.entry-content ul li::before`
   bullet leak + redesign the radio
   =========================================================== */
/* Strip theme bullet from any Woo list inside .entry-content */
body.woocommerce-cart .entry-content ul.payment_methods,
body.woocommerce-checkout .entry-content ul.payment_methods,
body.woocommerce-cart .entry-content ul.wc_payment_methods,
body.woocommerce-checkout .entry-content ul.wc_payment_methods {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}
body.woocommerce-cart .entry-content ul.payment_methods li,
body.woocommerce-checkout .entry-content ul.payment_methods li,
body.woocommerce-cart .entry-content ul.wc_payment_methods li,
body.woocommerce-checkout .entry-content ul.wc_payment_methods li,
body.woocommerce-cart .entry-content .wc_payment_method,
body.woocommerce-checkout .entry-content .wc_payment_method {
  padding-left: 0 !important;
  position: relative;
  color: var(--text) !important;
  line-height: normal;
}
body.woocommerce-cart .entry-content ul.payment_methods li::before,
body.woocommerce-checkout .entry-content ul.payment_methods li::before,
body.woocommerce-cart .entry-content ul.wc_payment_methods li::before,
body.woocommerce-checkout .entry-content ul.wc_payment_methods li::before,
body.woocommerce-cart .entry-content .wc_payment_method::before,
body.woocommerce-checkout .entry-content .wc_payment_method::before,
body.woocommerce-cart .entry-content .wc_payment_method::after,
body.woocommerce-checkout .entry-content .wc_payment_method::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

/* Same kill-switch for cart-form rows inside .entry-content (just in case) */
body.woocommerce-cart .entry-content .woocommerce-cart-form li::before,
body.woocommerce-cart .entry-content .shop_table li::before,
body.woocommerce-checkout .entry-content .woocommerce-checkout-review-order-table li::before {
  content: none !important;
  display: none !important;
}

/* Payment methods list container */
body.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods,
body.woocommerce-checkout .woocommerce-checkout-payment ul.wc_payment_methods {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

/* Each payment-method LI */
body.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_method {
  display: block !important;
  border-bottom: 1px solid var(--border);
  padding: 0 !important;
  margin: 0 !important;
  background: #fff;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method:last-child {
  border-bottom: none;
}

/* Hide native radio but keep it focusable */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 20px;
  height: 20px;
  margin: 0;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Label = the visible row */
body.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_method > label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 50px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  cursor: pointer;
  position: relative;
  width: 100%;
  line-height: 1.4;
  transition: background 0.2s;
  text-transform: none;
}

/* Custom radio — outer ring on the LABEL */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > label::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid var(--border-2) !important;
  border-radius: 50% !important;
  background: #fff !important;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
/* Inner dot */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > label::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 23px !important;
  top: 50% !important;
  transform: translateY(-50%) scale(0) !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: var(--orange) !important;
  transition: transform 0.2s;
  box-sizing: border-box;
}

/* Checked state */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  ~ label,
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  + label {
  background: var(--orange-soft) !important;
  color: var(--navy) !important;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  ~ label::before,
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  + label::before {
  border-color: var(--orange) !important;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  ~ label::after,
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:checked
  + label::after {
  transform: translateY(-50%) scale(1) !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: transparent !important;
}

/* Focus ring for keyboard */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  > input[type="radio"]:focus-visible
  + label::before {
  box-shadow: 0 0 0 3px var(--orange-soft);
}

/* Payment description box under the radio */
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  .payment_box {
  background: var(--bg-soft) !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  font-size: 13px !important;
  color: var(--text-2) !important;
  line-height: 1.6;
  border-top: 1px dashed var(--border);
  border-radius: 0 !important;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  .payment_box::before {
  content: none !important;
  display: none !important;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  .payment_box p {
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout
  .woocommerce-checkout-payment
  .wc_payment_method
  .payment_box p::before {
  content: none !important;
}

/* Responsive — collapse checkout to single column */
@media (max-width: 992px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
  }
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: 1 / -1;
  }
  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce form .form-row.form-row-first,
  body.woocommerce-checkout .woocommerce form .form-row.form-row-last,
  body.woocommerce form .form-row-first,
  body.woocommerce form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

/* ===== 404 Not Found ===== */
.error-404.not-found {
  max-width: 640px;
  margin: 60px auto 80px;
  padding: 48px 40px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.error-404 .page-header {
  margin-bottom: 18px;
}
.error-404 .page-title {
  position: relative;
  margin: 0;
  padding-top: 96px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
}
.error-404 .page-title::before {
  content: "404";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--orange);
  opacity: 0.9;
}
.error-404 .page-content p {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--text-2);
}
.error-404 .search-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}
.error-404 .search-form label {
  flex: 1;
  margin: 0;
}
.error-404 .search-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.error-404 .search-field:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.error-404 .search-submit {
  flex-shrink: 0;
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.error-404 .search-submit:hover {
  background: var(--orange-dark);
}

@media (max-width: 540px) {
  .error-404.not-found {
    margin: 32px 16px 56px;
    padding: 36px 22px;
  }
  .error-404 .page-title {
    font-size: 21px;
    padding-top: 78px;
  }
  .error-404 .page-title::before {
    font-size: 58px;
  }
  .error-404 .search-form {
    flex-direction: column;
  }
  .error-404 .search-submit {
    width: 100%;
  }
}
