:root {
  --bg: #FAFBFC;
  --surface: #ffffff;
  --surface-muted: #f1f3f5;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #0F5C4D;
  --brand-dark: #0a4237;
  --accent: #F04E3E;
  --gold: #d89f24;
  --radius: 16px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: 1920px;
  background-color: var(--bg);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

main {
  overflow: hidden;
}

[x-cloak] {
  display: none !important;
}

.topbar {
  align-items: center;
  background: var(--brand-dark);
  color: #f8fffc;
  display: flex;
  font-size: 0.85rem;
  gap: 32px;
  justify-content: center;
  min-height: 40px;
  padding: 8px 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar span {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.topbar span,
.nav-cta,
.button,
.card-actions a,
.row-actions,
.address-block {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 92, 77, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 100%;
  min-height: 88px;
  padding: 0 24px;
  gap: 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(15, 92, 77, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo-wrapper {
  transform: scale(1.05);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  width: 56px;
  box-shadow: 0 4px 12px rgba(15, 92, 77, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 550;
  margin-top: 2px;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

.main-nav-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0 16px;
}

.nav-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid rgba(15, 92, 77, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: var(--brand);
  transition: all 0.2s ease;
}

.nav-scroll-btn:hover {
  background: var(--brand);
  color: white;
}

.nav-scroll-btn.left {
  left: -16px;
}

.nav-scroll-btn.right {
  right: -16px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 32px;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 8px; /* padding so focus rings are not cut off */
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  color: #2b362f;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 4px;
  position: relative;
  transition: color 0.15s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  outline: none;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a:focus-visible::after {
  transform: scaleX(1);
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Header Search Styles */
.header-search {
  display: block;
}

.search-input-wrapper {
  position: relative;
  width: 140px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 36px 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
  background: rgba(15, 92, 77, 0.03);
  border: 1px solid rgba(15, 92, 77, 0.12);
  border-radius: 30px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrapper input::placeholder {
  color: #8c9b96;
  font-weight: 500;
}

.search-input-wrapper input:focus,
.search-input-wrapper input:focus-visible {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.15);
  outline: none;
}

.search-input-wrapper:focus-within {
  width: 220px;
}

.search-input-wrapper button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--brand);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.search-input-wrapper button:hover {
  background: rgba(15, 92, 77, 0.08);
}

/* Cart Icon Button Styles */
.header-cart-btn {
  background: transparent;
  border: 1px solid rgba(15, 92, 77, 0.12);
  cursor: pointer;
  padding: 10px;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.header-cart-btn:hover,
.header-cart-btn:focus-visible {
  background: rgba(15, 92, 77, 0.04);
  border-color: rgba(15, 92, 77, 0.25);
  transform: translateY(-1px);
  outline: none;
}

.header-cart-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.15);
}

.cart-icon-wrapper {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 3px 8px rgba(240, 78, 62, 0.25);
}

/* Quick Order & Zalo buttons in Header */
.quick-order-btn,
.nav-cta,
.button {
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  background: var(--brand);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(15, 92, 77, 0.2);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 92, 77, 0.25);
}

.nav-cta:active,
.button.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 92, 77, 0.15);
}

.nav-cta:focus-visible,
.button.primary:focus-visible {
  outline: 3px solid rgba(15, 92, 77, 0.3);
  outline-offset: 2px;
}

.button.secondary,
.quick-order-btn {
  background: white;
  border: 1px solid rgba(15, 92, 77, 0.15);
  color: var(--brand-dark);
}

.button.secondary:hover,
.quick-order-btn:hover {
  background: rgba(15, 92, 77, 0.03);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Mobile Navigation Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  width: 100%;
  height: calc(100vh - 88px);
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  border-top: 1px solid rgba(15, 92, 77, 0.08);
}

.mobile-menu-search form {
  position: relative;
  width: 100%;
}

.mobile-menu-search input {
  width: 100%;
  padding: 12px 48px 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(15, 92, 77, 0.15);
  background: white;
  font-family: inherit;
  font-weight: 550;
  outline: none;
  font-size: 1rem;
}

.mobile-menu-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--brand);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  background: rgba(15, 92, 77, 0.05);
  color: var(--brand);
  padding-left: 18px;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.mobile-menu-actions .button {
  width: 100%;
  min-height: 48px;
}

/* Cart Drawer UI styling */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: var(--surface);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.close-drawer-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-drawer-btn:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--muted);
  gap: 16px;
}

.cart-empty-state p {
  font-size: 1rem;
  font-weight: 500;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-muted);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.cart-item-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--brand);
}

.cart-item-unit {
  font-size: 0.78rem;
  color: var(--muted);
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  background: var(--surface-muted);
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-control button:hover {
  background: #e2e8f0;
}

.qty-control span {
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

.remove-item-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.remove-item-btn:hover {
  background: rgba(240, 78, 62, 0.05);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.cart-subtotal span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-subtotal strong {
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--brand);
}

.checkout-btn {
  width: 100%;
  min-height: 50px;
}

/* Quick Order Modal UI */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1010;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1011;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
}

.close-modal-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  display: flex;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.modal-body {
  padding: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 92, 77, 0.15);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 92, 77, 0.1);
}

.submit-btn {
  width: 100%;
  min-height: 48px;
  border: none;
  margin-top: 8px;
}

.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 680px;
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}

.hero-visual {
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  height: 560px;
  overflow: hidden;
  position: relative;
  width: 100%;
  animation: floatImage 6s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    animation: none;
  }
}

.hero-image {
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero-image-placeholder {
  background: rgba(255, 255, 255, 0.1);
  height: 100%;
  width: 100%;
}

.animate-entrance {
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-glass-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  gap: 16px;
  margin-top: 48px;
  padding: 8px 16px;
}

.hero-glass-nav button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  padding: 4px;
  transition: transform 0.2s ease;
}

.hero-glass-nav button:hover {
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  background: rgba(255, 255, 255, 0.4) !important;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  height: 8px;
  padding: 0 !important;
  transition: all 0.3s ease;
  width: 8px;
}

.hero-dot.active {
  background: white !important;
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.article-detail h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 16px 0 24px;
}

.hero h1 {
  margin: 24px 0 32px;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  font-size: 1.08rem;
  max-width: 680px;
}

.hero p:not(.eyebrow) {
  font-size: 1.12rem;
  line-height: 1.6;
}

.hero-actions,
.contact-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero .hero-actions {
  margin-top: 36px;
}

.hero-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-rating {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-rating .stars {
  color: #fbbf24;
  letter-spacing: 3px;
}

.trust-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.trust-features li {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.trust-features svg {
  color: #34d399;
}

.commitments {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commitments article {
  border-right: 1px solid var(--line);
  padding: 28px;
}

.commitments svg {
  color: var(--brand);
}

.commitments h3 {
  font-size: 1rem;
  margin-top: 10px;
}

.commitments p,
.product-body p,
.post-card p,
.category-card p,
.site-footer p,
.article-body,
.lead {
  color: var(--muted);
}

.page-section,
.site-footer,
.product-detail,
.article-detail,
.page-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 64px 24px;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.section-header > a {
  color: var(--brand);
  font-weight: 800;
}

.product-grid,
.post-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-card,
.post-card,
.policy-panel,
.address-block,
.empty-state {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.12);
}

.post-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.post-card span {
  color: var(--brand);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 24px 24px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card p,
.post-card h3 {
  padding: 0 24px 24px;
}

/* Premium Vertical Category Cards */
.category-card.horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(15, 92, 77, 0.08);
  border-radius: var(--radius);
  padding: 24px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}

.category-card.horizontal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 92, 77, 0.02) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-card.horizontal .category-card-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(15, 92, 77, 0.12);
  background: var(--surface-muted);
  border: 3px solid white;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.category-card.horizontal .category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.horizontal .category-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: center;
  z-index: 1;
}

.category-card.horizontal h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.category-card.horizontal .product-count {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--brand);
  margin-top: 6px;
  background: rgba(15, 92, 77, 0.06);
  padding: 4px 12px;
  border-radius: 20px;
}

.category-card.horizontal:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 92, 77, 0.2);
  box-shadow: 0 16px 40px rgba(15, 92, 77, 0.08);
}

.category-card.horizontal:hover::before {
  opacity: 1;
}

.category-card.horizontal:hover h3 {
  color: var(--brand);
}

.category-card.horizontal:hover .category-card-image {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 92, 77, 0.2);
}

.category-card.horizontal:hover .category-card-image img {
  transform: scale(1.15);
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(15, 92, 77, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-muted);
}

.product-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badges Overlay */
.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card-badges .badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card-badges .badge.bestseller {
  background: var(--gold);
}

.product-card-badges .badge.discount {
  background: var(--accent);
}

.product-card-badges .badge.new {
  background: var(--brand);
}

/* Favorite Button Overlay */
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fav-btn:hover {
  background: white;
  transform: scale(1.1);
  color: var(--accent);
}

.fav-btn.active {
  background: white;
  color: var(--accent);
}

/* Quick Add Button Overlay */
.quick-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--brand);
  color: white;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(15, 92, 77, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-add-btn:hover {
  background: var(--brand-dark);
  transform: translateY(0) scale(1.05);
  box-shadow: 0 6px 16px rgba(15, 92, 77, 0.35);
}

.product-card:hover .quick-add-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Card Body Info */
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-stock {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card-title {
  display: block;
  margin-bottom: 6px;
}

.product-card-title h3 {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-card-title:hover h3 {
  color: var(--brand);
}

.product-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-card-price-row {
  margin-top: auto;
  margin-bottom: 14px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.price-wrapper .retail-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.price-wrapper .sale-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.price-wrapper .original-price {
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
  text-decoration: line-through;
}

.price-wrapper .price-unit {
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--muted);
}

/* Card Actions (Zalo, Gọi buttons) */
.product-card-body .card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.product-card-body .card-actions a {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 750;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 92, 77, 0.15);
  background: white;
  color: var(--brand-dark);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card-body .card-actions a:hover {
  background: rgba(15, 92, 77, 0.03);
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Hover Animations */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(15, 92, 77, 0.06);
  border-color: rgba(15, 92, 77, 0.18);
}

.product-card:hover .product-card-image-wrapper img {
  transform: scale(1.04);
}

.product-meta {
  align-items: baseline;
  display: flex;
  gap: 5px;
  margin-top: 14px;
}

.product-meta strong,
.detail-price strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.card-actions a,
.row-actions a {
  background: var(--surface-muted);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

/* --- PRICE TABLE (TRADING DASHBOARD REDESIGN) --- */
.price-table-wrapper {
  background: var(--surface);
  border: 1px solid rgba(15, 92, 77, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(15, 92, 77, 0.06);
  vertical-align: middle;
}

.price-table th {
  background: var(--brand-dark);
  color: white;
  font-weight: 750;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.price-table tbody tr {
  transition: all 0.2s ease;
}

/* Zebra striping */
.price-table tbody tr:nth-child(even) {
  background: rgba(15, 92, 77, 0.015);
}

/* Hover effects */
.price-table tbody tr:hover {
  background: rgba(15, 92, 77, 0.04);
}

/* Alignment utilities */
.price-table .text-right {
  text-align: right;
}
.price-table .text-center {
  text-align: center;
}
.price-table .justify-end {
  justify-content: flex-end;
}

/* Product Info Cell */
.product-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-new-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 3px rgba(240, 78, 62, 0.2);
}

.product-details {
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1rem;
  font-weight: 750;
  color: var(--brand-dark);
}

.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-name a:hover {
  color: var(--brand);
}

.product-unit {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 550;
  margin-top: 2px;
}

.note-divider {
  margin: 0 4px;
  color: rgba(15, 92, 77, 0.15);
}

.price-note {
  color: var(--brand);
  background: rgba(15, 92, 77, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Price Cell */
.price-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-trend {
  font-size: 0.72rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 800;
}

.price-trend.up {
  color: var(--accent);
  background: rgba(240, 78, 62, 0.1);
}

.price-trend.down {
  color: var(--brand);
  background: rgba(15, 92, 77, 0.1);
}

.price-value {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-value.wholesale {
  color: var(--brand);
}

/* Zalo Action Button */
.action-cell {
  display: flex;
  justify-content: center;
}

.zalo-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0068FF;
  color: white;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 104, 255, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.zalo-order-btn:hover {
  background: #0056D2;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 104, 255, 0.25);
}

.zalo-order-btn svg {
  flex-shrink: 0;
}

/* Mobile responsive styles */
@media (max-width: 640px) {
  .price-table th,
  .price-table td {
    padding: 12px 14px;
  }
  
  .product-name {
    font-size: 0.92rem;
  }
  
  .price-value {
    font-size: 0.98rem;
  }
  
  .zalo-order-btn {
    padding: 6px 10px;
  }
  
  .zalo-order-btn span {
    display: none; /* Hide 'Zalo' text on small mobile screens to keep the row compact */
  }
}

.page-hero.compact {
  padding-bottom: 42px;
  padding-top: 70px;
}

.page-hero h1 {
  color: var(--brand-dark);
}

.contact-band {
  align-items: center;
  background: var(--brand-dark);
  color: white;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-top: 64px;
  padding: 64px max(24px, calc((100% - 1180px) / 2));
}

.contact-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  max-width: 720px;
}

.product-detail {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-gallery-main {
  position: relative;
  touch-action: pan-y;
}

.detail-gallery-expand {
  align-items: center;
  background: rgba(8, 20, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  bottom: 12px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 12px;
  width: 44px;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .detail-gallery-expand {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .detail-gallery-main:hover .detail-gallery-expand,
  .detail-gallery-main:focus-within .detail-gallery-expand {
    opacity: 1;
  }
}

.detail-gallery-main img,
.detail-media img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  object-fit: cover;
  width: 100%;
}

.detail-gallery-fullscreen {
  background: rgba(8, 20, 19, 0.94);
  display: grid;
  gap: 16px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  inset: 0;
  overscroll-behavior: contain;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  position: fixed;
  z-index: 100;
}

.detail-gallery-fullscreen-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.detail-gallery-fullscreen-count {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.detail-gallery-fullscreen-close,
.detail-gallery-fullscreen-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.detail-gallery-fullscreen-stage {
  align-items: center;
  display: flex;
  gap: 12px;
  min-height: 0;
  touch-action: pan-y;
}

.detail-gallery-fullscreen-nav {
  flex-shrink: 0;
}

.detail-gallery-fullscreen-slides {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: calc(100vh - 220px);
  min-width: 0;
}

.detail-gallery-fullscreen-slide {
  display: block;
  height: auto;
  max-height: calc(100vh - 220px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.detail-gallery-fullscreen-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 4px;
}

.detail-gallery-fullscreen-thumb {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 64px;
  overflow: hidden;
  padding: 0;
}

.detail-gallery-fullscreen-thumb.active {
  border-color: white;
}

.detail-gallery-fullscreen-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.detail-gallery-thumbs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

.detail-gallery-thumb {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.detail-gallery-thumb.active {
  border-color: var(--brand);
}

.detail-gallery-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.detail-content h1 {
  color: var(--brand-dark);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  margin: 12px 0 16px;
}

.detail-price {
  align-items: baseline;
  display: flex;
  gap: 6px;
  margin: 22px 0;
}

.spec-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  margin: 0;
}

.spec-list dt,
.spec-list dd {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 12px 0;
}

.spec-list dt {
  color: var(--muted);
}

.two-column,
.contact-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column article,
.policy-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.article-detail {
  max-width: 900px;
}

.article-detail > img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin-bottom: 32px;
  width: 100%;
}

.article-detail h1 {
  color: var(--brand-dark);
}

.article-body {
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  margin-top: 28px;
  padding-top: 28px;
}

.empty-state {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 64px 24px;
  text-align: center;
}

/* --- SITE FOOTER REDESIGN (DARK GREEN / PREMIUM) --- */
.site-footer-wrapper {
  background: #082B23; /* Rich dark green background */
  color: rgba(255, 255, 255, 0.7);
  width: 100%;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top: none;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  padding: 80px 24px 60px;
}

.footer-col h3 {
  color: white;
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brand); /* Rich green accent line */
}

/* Column 1: Brand Column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.footer-col-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-name {
  color: white !important;
  font-size: 1.25rem !important;
  font-weight: 800;
  display: block;
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.78rem;
  display: block;
  margin-top: 2px;
}

.footer-address {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-socials .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials .social-icon:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
  border-color: var(--brand);
}

/* Links columns styles */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: 0 !important;
}

.footer-links a:hover {
  color: white !important;
  transform: translateX(4px);
}

.footer-contact-info li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-info strong {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-contact-info span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Newsletter styles */
.footer-col-newsletter {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.newsletter-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 20px;
}

.footer-newsletter-form {
  width: 100%;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  padding: 4px;
  transition: all 0.2s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.25);
}

.newsletter-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: white;
  font-size: 0.88rem;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-submit-btn {
  background: var(--brand);
  color: white;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.newsletter-submit-btn:hover {
  background: var(--brand-dark);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-bottom-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-container p {
  margin: 0;
  color: inherit !important;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: white !important;
}

.footer-bottom-links .divider {
  color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .commitments,
  .category-grid,
  .product-grid,
  .post-grid,
  .product-detail,
  .two-column,
  .contact-layout,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

.search-form .search-input:focus {
  border-color: var(--brand);
  outline: none;
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .nav-shell {
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .hero-grid {
    gap: 32px;
    min-height: auto;
    padding: 40px 16px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-visual {
    height: 320px;
  }

  .page-section,
  .site-footer,
  .product-detail,
  .article-detail,
  .page-hero {
    padding: 40px 16px 32px;
  }

  .page-hero.compact {
    padding-bottom: 24px;
    padding-top: 32px;
  }

  .section-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .contact-band {
    gap: 16px;
    margin-top: 32px;
    padding: 32px 16px;
  }

  .empty-state {
    padding: 40px 16px;
  }

  .commitments,
  .category-grid,
  .product-grid,
  .post-grid,
  .product-detail,
  .two-column,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .commitments article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .section-header,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .post-grid {
    gap: 16px;
  }

  .price-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .price-head {
    display: none;
  }

  .product-body p {
    min-height: auto;
  }
}

.category-grid.home-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-grid.home-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 680px) {
  .detail-gallery-fullscreen {
    gap: 12px;
  }

  .detail-gallery-fullscreen-stage {
    position: relative;
  }

  .detail-gallery-fullscreen-slides {
    flex: none;
    min-height: calc(100dvh - 140px);
    width: 100%;
  }

  .detail-gallery-fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .detail-gallery-fullscreen-nav.prev {
    left: 4px;
  }

  .detail-gallery-fullscreen-nav.next {
    right: 4px;
  }

  .detail-gallery-fullscreen-slide {
    max-height: calc(100dvh - 140px);
  }

  .detail-gallery-fullscreen-thumbs {
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-inline: 2px;
  }

  .detail-gallery-fullscreen-thumb {
    flex-basis: 56px;
  }

  .detail-gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }

  .category-grid.home-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.home-grid {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.home-grid .product-body {
    padding: 16px;
  }

  .product-grid.home-grid .product-body h3 {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .product-grid.home-grid .product-body p {
    font-size: 0.82rem;
    margin-top: 6px;
    min-height: 0;
  }

  .product-grid.home-grid .product-meta {
    margin-top: 8px;
  }

  .product-grid.home-grid .product-meta strong {
    font-size: 1rem;
  }

  .product-grid.home-grid .card-actions {
    gap: 6px;
    margin-top: 10px;
  }

  .product-grid.home-grid .card-actions a {
    flex: 1 1 calc(50% - 4px);
    font-size: 0.78rem;
    justify-content: center;
    min-height: 32px;
    padding: 6px 8px;
    text-align: center;
  }

  .product-grid.home-grid .product-image span {
    font-size: 0.68rem;
    left: 8px;
    padding: 4px 8px;
    top: 8px;
  }
}

@media (max-width: 1024px) {
  .brand small {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .header-search {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-menu-overlay {
    display: flex;
  }
  .category-grid.home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .category-grid.home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .nav-shell {
    min-height: 72px;
    padding: 0 16px;
  }
  .brand-logo-wrapper {
    width: 48px;
    height: 48px;
  }
  .brand strong {
    font-size: 1.15rem;
  }
  .header-actions .quick-order-btn,
  .header-actions .nav-cta {
    display: none;
  }
  .mobile-menu-overlay {
    top: 72px;
    height: calc(100vh - 72px);
  }
  
  /* Touch Target Optimizations for Mobile */
  .button, 
  .nav-cta, 
  .quick-order-btn, 
  .header-cart-btn, 
  .hamburger-btn,
  .cart-item-actions button,
  .qty-control button,
  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    min-height: 48px;
  }
  
  .search-input-wrapper input {
    padding: 14px 48px 14px 20px;
  }
  
  /* Sticky Bottom CTA for Mobile */
  body {
    padding-bottom: 72px; /* Prevent content from hiding behind sticky bar */
  }
  
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding: 0 16px;
  }
  
  .category-card.horizontal {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
  }
  
  .mobile-sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 700;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
  }
  
  .mobile-sticky-btn.primary {
    background: var(--brand);
    color: white;
    flex-direction: row;
    height: 48px;
    font-size: 0.9rem;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 92, 77, 0.2);
  }
  
  .mobile-sticky-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .mobile-sticky-btn.primary svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-sticky-cart-badge {
    position: absolute;
    top: 6px;
    right: 20%;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid white;
  }
}

/* Hide Mobile CTA on Desktop */
@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out;
  }
  .hero-fade-in.is-visible {
    opacity: 1;
  }
}

/* Global Zalo Color Override */
a[href*="zalo.me"].button.primary,
a[href*="zalo.me"].nav-cta,
button[class*="checkout-btn"],
button[class*="submit-btn"],
.btn-zalo,
.zalo-order-btn {
  background: #0A68FE !important;
  border-color: #0A68FE !important;
  color: white !important;
}

/* Zalo Hover State */
a[href*="zalo.me"].button.primary:hover,
a[href*="zalo.me"].nav-cta:hover,
button[class*="checkout-btn"]:hover,
button[class*="submit-btn"]:hover,
.btn-zalo:hover,
.zalo-order-btn:hover {
  background: #0855d4 !important;
  border-color: #0855d4 !important;
  box-shadow: 0 6px 20px rgba(10, 104, 254, 0.2) !important;
}

/* Zalo Button inside Mobile Sticky Bar */
.mobile-sticky-cta button[class="mobile-sticky-btn"][onclick*="zalo.me"],
.mobile-sticky-cta button[class="mobile-sticky-btn"][x-on\:click*="zalo.me"],
.mobile-sticky-cta button[class="mobile-sticky-btn"][x-on\:click*="zalo_url"],
.mobile-sticky-cta button[class="mobile-sticky-btn"] {
  /* We will specifically target the first button since it's the Zalo one based on order */
}

.mobile-sticky-cta button.mobile-sticky-btn:nth-child(1) {
  color: #0A68FE !important;
}
.mobile-sticky-cta button.mobile-sticky-btn:nth-child(1) svg {
  color: #0A68FE !important;
.quick-add {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 0;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
  transition: transform .1s ease, background .1s;
}
.quick-add:hover {
  background: var(--brand);
  color: white;
  transform: scale(1.05);
}
.product-image { position: relative; } /* ensure for quick add */

.add-cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-ctrl button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: var(--brand-dark);
}
.qty-ctrl button:hover { background: var(--surface-muted); }
.qty-ctrl span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  padding: 0 4px;
}
.add-cart-btn { font-weight: 700; padding-left: 14px; padding-right: 14px; }

.row-actions .add-cart-row,
.row-actions button.add-cart-row {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--brand-dark);
  cursor: pointer;
  min-height: 28px;
}
.row-actions button.add-cart-row:hover {
  background: var(--brand);
  color: white;
}

/* Cart Drawer / Sheet */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 22, 0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--surface);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .12s ease;
}
.cart-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.cd-head strong { font-size: 15.5px; }
.cd-count { margin-left: 8px; color: var(--muted); font-weight: 500; font-size: 13px; }
.cd-close {
  font-size: 24px; line-height: 1; border: none; background: transparent; color: var(--muted);
  padding: 0 6px; cursor: pointer;
}

.cd-body {
  overflow: auto;
  padding: 6px 0;
  flex: 1 1 auto;
  min-height: 80px;
}

.cd-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: start;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.cd-info { min-width: 0; }
.cd-name {
  display: block;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
  line-height: 1.25;
}
.cd-name:hover { text-decoration: underline; }
.cd-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.cd-plabel { color: var(--accent); font-weight: 600; }

.cd-qty {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  align-self: start;
  margin-top: 2px;
}
.cd-qty button {
  width: 26px; height: 26px; line-height: 1; font-weight: 800;
  border: none; background: transparent; cursor: pointer; color: var(--brand-dark);
}
.cd-qty button:hover { background: var(--surface-muted); }
.cd-qty input {
  width: 32px; text-align: center; border: none; background: transparent;
  font: inherit; font-weight: 700; padding: 0; outline: none;
}

.cd-subtotal {
  font-weight: 700;
  text-align: right;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 66px;
}
.cd-remove {
  background: transparent; border: none; color: var(--muted); font-size: 18px;
  line-height: 1; padding: 0 2px; cursor: pointer;
}
.cd-remove:hover { color: var(--accent); }

.cd-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.cd-summary {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  background: var(--surface-muted);
}
.cd-summary strong { font-size: 15px; color: var(--accent); }

.cd-actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
}
.cd-btn {
  flex: 1;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  font-size: 14px;
}
.cd-btn-clear:hover { background: #f8f1f1; }
.cd-btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.cd-btn-primary:hover { filter: brightness(0.95); }

.cd-note {
  padding: 0 16px 14px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

/* Desktop refinements for cart */
@media (min-width: 820px) {
  .cart-drawer {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 380px;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  }
  .cd-head { padding: 12px 14px 8px; }
  .cd-actions { padding: 10px 14px; }
}

/* Quick add button on mobile cards */
@media (max-width: 680px) {
  .quick-add { width: 22px; height: 22px; top: 8px; right: 8px; }
  .quick-add svg { width: 12px; height: 12px; }
}
