/* ========================================
   BASE / RESET
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: #fff;
}

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

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

ul { list-style: none; }

/* ========================================
   VARIABLES
   ======================================== */
:root {
  --color-primary: #344c12;
  --color-primary-light: #446822;
  --color-primary-dark: #26390e;
  --color-accent: #d4a373;
  --color-bg-light: #f8f9fa;
  --color-divider: #eceee4;
  --color-text: var(--color-primary);
  --color-text-light: #666666;
  --color-white: #fff;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  --max-width: 1200px;
  --border-radius: 8px;
}

/* ========================================
   LAYOUT COMMON
   ======================================== */
.layout__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(50, 73, 17, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header__row {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: var(--spacing-md);
}

/* ========================================
   BRAND / LOGO
   ======================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s;
}

.brand:hover {
  opacity: 0.8;
}

.brand__mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.brand__logo {
  height: 50px;
  width: auto;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.brand__tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1.5px;
  opacity: 0.8;
  line-height: 1;
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav a:hover::after {
  width: 100%;
}

/* ========================================
   HEADER CTA & LANGUAGE SWITCHER
   ======================================== */
.site-header__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.language-switcher {
  position: relative;
}

.language-switcher__btn {
  display: flex;
  align-items: center;
  height: 40px;
  gap: 6px;
  padding: 0 0.75rem;
  background: rgba(50, 73, 17, 0.1);
  border: 1px solid rgba(50, 73, 17, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all 0.3s;
}

.language-switcher__btn:hover {
  background: rgba(50, 73, 17, 0.15);
  border-color: rgba(50, 73, 17, 0.3);
}

.language-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-switcher__current img,
.language-switcher__option img {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.language-switcher__arrow {
  transition: transform 0.3s;
}

.language-switcher__btn--active .language-switcher__arrow {
  transform: rotate(180deg);
}

.language-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 200px;
  max-width: min(280px, calc(100vw - 32px));
  max-height: min(480px, 85vh);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(50, 73, 17, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 1050;
}

.language-switcher__dropdown--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-switcher__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.language-switcher__option:hover {
  background: rgba(50, 73, 17, 0.1);
  color: var(--color-primary-dark);
}

.language-switcher__option--active {
  background: rgba(50, 73, 17, 0.15);
  color: var(--color-primary);
}

.language-switcher__dropdown {
  scrollbar-width: thin;
  scrollbar-color: rgba(50, 73, 17, 0.3) transparent;
}

.language-switcher__dropdown::-webkit-scrollbar {
  width: 6px;
}

.language-switcher__dropdown::-webkit-scrollbar-thumb {
  background: rgba(50, 73, 17, 0.3);
  border-radius: 3px;
}

/* ========================================
   MOBILE MENU TOGGLE
   ======================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle--active .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle--active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO BANNER
   ======================================== */
/* ========================================
   HERO BANNER
   ======================================== */
.hero {
  background: #fbfcf7;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-divider);
  position: relative;
  overflow: hidden;
}

.hero__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 90px 0 30px 0;
  position: relative;
  z-index: 1;
}

.hero__container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg-img, url('../img/hero.png')) right center / auto 100% no-repeat;
  z-index: 0;
  pointer-events: none;
  /* Fade bắt đầu từ 40%, chuyển tiếp sắc nét */
  mask-image: linear-gradient(to right, transparent 40%, rgba(0,0,0,0.6) 50%, black 60%);
  -webkit-mask-image: linear-gradient(to right, transparent 40%, rgba(0,0,0,0.6) 50%, black 60%);
}

/* --- Cột trái --- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Title — serif font via system fallback */
.hero__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* Tagline — in hoa nhỏ */
.hero__tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Description */
.hero__desc {
  font-size: 1.3rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Features — 5 icon nằm ngang */
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  list-style: none;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 72px;
}

.hero__feature-icon {
  flex-shrink: 0;
}

.hero__feature-text {
  font-size: 12px;
  font-weight: 500;
  color: #666666;
  line-height: 1.3;
  max-width: 80px;
}

/* Buttons */
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.hero__btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

.hero__btn--secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid #CCCCCC;
}

.hero__btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-choose-us {
  padding: 30px 80px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}

.why-choose-us__container {
  max-width: 1360px;
  margin: 0 auto;
}

.why-choose-us__heading {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.why-choose-us__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.why-choose-us__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.why-choose-us__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(50, 73, 17, 0.15);
}

.why-choose-us__item:nth-child(6n)::after {
  display: none;
}

.why-choose-us__icon {
  margin-bottom: 16px;
}

.why-choose-us__icon img {
  display: block;
}

.why-choose-us__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-choose-us__desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ========================================
   PRODUCT CATEGORIES
   ======================================== */
.product-categories {
  padding: 30px 80px;
  background: #fafaf7;
  border-bottom: 1px solid var(--color-divider);
}

.product-categories__container {
  max-width: 1360px;
  margin: 0 auto;
}

.product-categories__heading {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.product-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

/* --- Product Card (tái sử dụng cho related-products) --- */
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-card__body {
  padding: 16px;
}

.product-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-card__list {
  list-style: none;
  margin-bottom: 12px;
}

.product-card__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card__list li {
  font-size: 13px;
  color: var(--color-primary);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.product-card__list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.product-card__divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 12px;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-light);
}

.product-card__meta-item--price {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.product-card__meta-item img,
.product-card__meta-item iconify-icon {
  flex-shrink: 0;
}

/* --- CTA --- */
.product-categories__cta {
  text-align: center;
}

.product-categories__btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.product-categories__btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

/* ========================================
   OEM / PRIVATE LABEL
   ======================================== */
.oem-private-label {
  padding: 0 80px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}

.oem-private-label__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 0;
  align-items: center;
}

/* --- Cột trái --- */
.oem-private-label__content {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.oem-private-label__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.oem-private-label__intro {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.oem-private-label__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 24px;
}

.oem-private-label__check-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oem-private-label__check-item img,
.oem-private-label__check-item iconify-icon {
  flex-shrink: 0;
}

.oem-private-label__check-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.oem-private-label__closing {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.oem-private-label__closing strong {
  color: var(--color-primary);
}

/* --- Cột phải --- */
.oem-private-label__media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oem-private-label__image {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

/* ========================================
   MANUFACTURING PROCESS + PRODUCTION CAPACITY
   (gộp chung 1 section 3 cột)
   ======================================== */
.manufacturing-process {
  padding: 30px 80px;
  background: var(--color-white);
}

.manufacturing-process__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 22% 48% 30%;
  gap: 24px;
  align-items: center;
}

/* --- Cột trái: Danh sách --- */
.manufacturing-process__left {
  display: flex;
  flex-direction: column;
}

.manufacturing-process__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.manufacturing-process__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manufacturing-process__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.manufacturing-process__list-item img {
  flex-shrink: 0;
}

.manufacturing-process__list-item span {
  font-size: 14px;
  color: var(--color-primary);
}

/* --- Cột giữa: Gallery --- */
.manufacturing-process__center {
  display: flex;
  align-items: flex-start;
}

.manufacturing-process__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
}

.manufacturing-process__gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}

.manufacturing-process__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.manufacturing-process__gallery a:hover img {
  transform: scale(1.05);
}

/* --- Cột phải: Sản lượng --- */
.manufacturing-process__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.manufacturing-process__right-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.manufacturing-process__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manufacturing-process__stat-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.manufacturing-process__stat-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.manufacturing-process__icons {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--color-divider);
  padding-top: 20px;
  margin-top: 20px;
}

.manufacturing-process__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0 24px;
}

.manufacturing-process__icon-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--color-divider);
}

.manufacturing-process__icon-item img {
  flex-shrink: 0;
}

.manufacturing-process__icon-item span {
  font-size: 12px;
  color: var(--color-text-light);
  max-width: 80px;
  text-align: center;
  line-height: 1.3;
}

/* ========================================
   CERTIFICATIONS
   ======================================== */
.certifications {
  padding: 0 80px;
  background: #ffffff;
}

.certifications__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}

/* --- Card wrapper --- */
.certifications__card {
  background: #ffffff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.certifications__card:first-child {
  padding: 24px;
}

.certifications__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.certifications__logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
}

.certifications__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 0 12px;
}

.certifications__logo-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--color-divider);
}

.certifications__logo-item:nth-child(8n)::after {
  display: none;
}

.certifications__logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certifications__logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}

.certifications__logo-name {
  font-size: 12px;
  color: #666666;
  text-align: center;
  line-height: 1.3;
}

/* --- Đường kẻ phân cách --- */
.certifications__divider {
  display: none;
}

/* --- Card content --- */
/* --- Card content --- */
.certifications__content {
  display: flex;
  gap: 0;
  align-items: center;
  height: 100%;
}

/* --- Docs wrapper --- */
.certifications__docs {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 0 24px 24px;
}

.certifications__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.certifications__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.certifications__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.certifications__check-item img {
  flex-shrink: 0;
}

.certifications__check-item span {
  font-size: 14px;
  color: var(--color-primary);
}

/* --- Hình ảnh chứng nhận --- */
.certifications__image-wrapper {
  position: relative;
  width: auto;
  flex-shrink: 0;
  margin: 0;
  max-height: 250px;
}

.certifications__image {
  width: auto;
  max-height: 250px;
  object-fit: cover;
  display: block;
}

.certifications__leaf {
  position: absolute;
  pointer-events: none;
}

.certifications__leaf--top {
  top: -16px;
  right: -8px;
  transform: rotate(-15deg);
}

.certifications__leaf--bottom {
  bottom: -8px;
  left: -4px;
  transform: rotate(20deg);
}

/* ========================================
   FOOTER / CONTACT & INQUIRY FORM
   ======================================== */
.footer {
  background: #ffffff;
  overflow: hidden;
  position: relative;
  padding: 32px 0;
}

.footer__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
  /* Fade bắt đầu từ 70%, chuyển tiếp rất sắc nét */
  mask-image: linear-gradient(to right, transparent 70%, rgba(0,0,0,0.6) 78%, black 86%);
  -webkit-mask-image: linear-gradient(to right, transparent 70%, rgba(0,0,0,0.6) 78%, black 86%);
}

.footer__container {
  max-width: calc(1360px + 160px); /* 1360px + 2*80px padding */
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 35% 1px 1fr;
  gap: 0;
  align-items: center;
}

/* --- Cột trái: Thông tin liên hệ --- */
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 40px;
  position: relative;
  z-index: 1;
}

.footer__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer__info-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.footer__company {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.footer__company strong {
  display: block;
  font-size: 15px;
  color: #333333;
}

.footer__company span {
  display: block;
  font-size: 14px;
  color: #333333;
}

.footer__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.footer__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-top: 0;
}

/* QR Code và Social */
.footer__qr-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  align-self: center; /* Căn giữa trong container cha */
}

.footer__qr {
  display: flex;
  justify-content: center;
}

.footer__qr img {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 6px;
}

.footer__social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  color: #ffffff;
}

.footer__social-link--facebook { background: #1877f2; }
.footer__social-link--linkedin { background: #0a66c2; }
.footer__social-link--whatsapp { background: #25D366; }

.footer__social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* --- Đường kẻ phân cách --- */
.footer__divider {
  width: 1px;
  background: var(--color-divider);
  align-self: stretch;
}

/* --- Cột phải: Form liên hệ + Ảnh nền --- */
.footer__form-col {
  display: flex;
  flex-direction: column;
  padding: 0 48px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer__form-col > * {
  position: relative;
  z-index: 1;
}

.footer__form-intro {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 50%;
}

.footer__form-errors {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #a4292a;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
}

.footer__form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.footer__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer__form-row--recaptcha {
  display: flex;
  justify-content: center;
}

.footer__input--full {
  grid-column: 1 / -1;
}

.footer__form-row--recaptcha .g-recaptcha {
  transform: scale(0.95);
  transform-origin: center;
}

.footer__input,
.footer__textarea {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #DADADA;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #ffffff;
  transition: border-color 0.3s;
}

.footer__input::placeholder,
.footer__textarea::placeholder {
  color: #999999;
}

.footer__input:focus,
.footer__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.footer__textarea {
  height: auto;
  min-height: 80px;
  max-height: 200px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.5;
}

.footer__btn {
  height: 44px;
  padding: 0 36px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  align-self: center;
  margin-top: 6px;
}

.footer__btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 79, 58, 0.25);
}

/* --- Menu Footer (trái) + CTA liên hệ (phải) --- */
.footer__form-col-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer__menu {
  text-align: left;
  flex: 0 0 auto;
}

.footer__cta {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: center;
}

.footer__cta .footer__form-intro {
  margin-bottom: 20px;
}

.footer__menu-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer__menu-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__menu-link {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__menu-link:hover,
.footer__menu-item.active .footer__menu-link {
  color: var(--color-primary);
}

/* ========================================
   COPYRIGHT BAR (độc lập với footer)
   ======================================== */
.copyright-bar {
  background: #f5f4f0;
  border-top: 1px solid var(--color-divider);
}

.copyright-bar__container {
  max-width: calc(1360px + 160px);
  margin: 0 auto;
  padding: 16px 80px;
}

.copyright-bar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  text-align: center;
}

/* ========================================
   CONTACT MODAL
   ======================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
}

.contact-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--border-radius);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(-16px);
  transition: transform 0.3s ease;
}

.contact-modal.is-open .contact-modal__dialog {
  transform: translateY(0);
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--color-bg-light);
  border-radius: 50%;
  cursor: pointer;
  color: #333333;
  transition: background 0.3s;
}

.contact-modal__close:hover {
  background: var(--color-divider);
}

.contact-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 8px;
}

.contact-modal__intro {
  font-size: 15px;
  color: #333333;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-modal .footer__form {
  max-width: 100%;
}

body.modal-open {
  overflow: hidden;
}

/* ========================================
   PACKAGING & EXPORT
   ======================================== */
/* ========================================
   PACKAGING & EXPORT
   ======================================== */
.packaging-export {
  padding: 20px 80px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
}

.packaging-export__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 4fr 2fr;
  gap: 12px;
}

/* --- Card wrapper --- */
.packaging-export__card {
  background: #ffffff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* --- Card thứ 2: Worldwide Export với background image --- */
.packaging-export__card:nth-child(2) {
  position: relative;
  overflow: hidden;
}

.packaging-export__card:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/export-shipping.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  z-index: 0;
  pointer-events: none;
  /* Mask fade từ 50% trở đi */
  mask-image: linear-gradient(to right, transparent 50%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 75%, black 90%);
  -webkit-mask-image: linear-gradient(to right, transparent 50%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 75%, black 90%);
}

.packaging-export__card:nth-child(2) > * {
  position: relative;
  z-index: 1;
}

/* Ẩn img tag cũ trong card thứ 2 */
.packaging-export__card:nth-child(2) .packaging-export__export-image {
  display: none;
}

/* --- Đường kẻ phân cách --- */
.packaging-export__divider {
  display: none;
}

/* --- Heading chung --- */
.packaging-export__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* --- Checklist chung (dùng cho center + right) --- */
.packaging-export__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.packaging-export__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.packaging-export__check-item img {
  flex-shrink: 0;
}

.packaging-export__check-item span {
  font-size: 14px;
  color: #333333;
}

/* --- Label "We support" --- */
.packaging-export__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* === Cột trái: Packaging Solutions (35%) === */
/* --- Card content --- */
.packaging-export__products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.packaging-export__product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.packaging-export__product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.packaging-export__product-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.3;
}

.packaging-export__closing-bold {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.6;
}

.packaging-export__closing-light {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.6;
  margin-top: 6px;
}

/* --- Export image --- */
.packaging-export__export-image {
  width: 100%;
  margin-top: 20px;
}

.packaging-export__export-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f0e8, #d0e0d0);
}

.packaging-export__shipping-icons {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.packaging-export__shipping-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.packaging-export__shipping-icon {
  flex-shrink: 0;
}

.packaging-export__shipping-item span {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.3;
}

/* === Cột phải: Export Documents (25%) === */
.packaging-export__right {
  display: flex;
  flex-direction: column;
}

/* ========================================
   ORDERING PROCESS
   ======================================== */
.ordering-process {
  padding: 30px 80px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-divider);
}

.ordering-process__container {
  max-width: 1360px;
  margin: 0 auto;
}

.ordering-process__heading {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.ordering-process__timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

/* --- Mỗi bước --- */
.ordering-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
}

.ordering-process__icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ordering-process__icon-circle img {
  color: var(--color-primary);
}

.ordering-process__step-num {
  font-size: 10px;
  font-weight: 500;
  color: #999999;
  margin-bottom: 4px;
}

.ordering-process__step-name {
  font-size: 12px;
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* --- Mũi tên nối --- */
.ordering-process__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  padding-top: 24px; /* căn giữa với icon circle */
  position: relative;
}

.ordering-process__arrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #999999;
  position: relative;
}

.ordering-process__arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #999999;
}

/* ========================================
   CUSTOMER REVIEWS
   ======================================== */
.customer-reviews {
  padding: 20px 80px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-divider);
}

.customer-reviews__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

/* --- Cột trái: Heading --- */
.customer-reviews__left {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
}

.customer-reviews__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* --- Đường kẻ phân cách --- */
.customer-reviews__divider {
  display: none;
}

/* --- Cột phải: Cards --- */
.customer-reviews__cards {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.customer-reviews__cards--slider {
  display: block;
}

.customer-reviews__swiper {
  padding-bottom: 36px;
}

.customer-reviews__swiper .swiper-slide {
  height: auto;
}

.customer-reviews__swiper .swiper-slide .customer-reviews__card {
  height: 100%;
}

.customer-reviews__swiper .swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.25;
}

.customer-reviews__swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* --- Card --- */
.customer-reviews__card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.customer-reviews__card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.customer-reviews__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.customer-reviews__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.6;
}

.customer-reviews__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.customer-reviews__title {
  font-size: 12px;
  color: #999999;
  margin-bottom: 8px;
}

.customer-reviews__stars {
  font-size: 16px;
  color: #f5a623;
  letter-spacing: 2px;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 32px 80px;
  background: #fafaf7;
}

.faq__container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* --- Cột tiêu đề --- */
.faq__title-col {
  flex: 0 0 18%;
  display: flex;
  align-items: center;
}

.faq__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* --- Đường kẻ phân cách --- */
.faq__divider {
  display: none;
}

/* --- Mỗi cột FAQ --- */
.faq__item {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--color-primary-dark);
  margin-top: 1px;
}

.faq__question span {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

.faq__answer {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
}

/* ========================================
   CALL TO ACTION (CTA BANNER)
   ======================================== */
.cta {
  position: relative;
  width: 100%;
  min-height: 180px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: url('../img/cta-bg.png') center/cover no-repeat;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 59, 42, 0.85) 0%, rgba(26, 59, 42, 0.5) 40%, rgba(26, 59, 42, 0.1) 100%);
}

.cta__container {
  position: relative;
  z-index: 1;
  max-width: calc(1360px + 160px); /* 1360px + 2*80px padding */
  margin: 0 auto;
  padding: 0 80px;
}

.cta__content {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.cta__heading {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.cta__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta__badges {
  display: flex;
  gap: 32px;
}

.cta__badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta__badge img {
  flex-shrink: 0;
  color: #ffffff;
}

.cta__badge span {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.cta__btn {
  display: inline-block;
  padding: 14px 40px;
  background: rgba(52, 76, 18, 0.9);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta__btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

/* ========================================
   INFO BAR (Detail page — thanh thông tin)
   ======================================== */
.info-bar {
  padding-top: 70px; /* offset header fixed */
  background: #FAFAF7;
  border-bottom: 1px solid #e8e8e8;
}

.info-bar__container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 90px;
}

/* --- Trái: Logo + Thương hiệu --- */
.info-bar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.info-bar__logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.info-bar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-bar__brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 2px;
  line-height: 1;
}

.info-bar__brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: #999999;
  letter-spacing: 2px;
  line-height: 1;
}

/* --- Giữa: 3 cụm Icon-Text --- */
.info-bar__features {
  display: flex;
  align-items: center;
  gap: 48px;
}

.info-bar__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.info-bar__feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.info-bar__feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-bar__feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.info-bar__feature-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.2;
}

/* --- Phải: Nút CTA --- */
.info-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-bar__btn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(50, 73, 17, 0.25);
}

.info-bar__btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* ========================================
   PRODUCT DETAIL HERO
   ======================================== */
.detail-hero {
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
}

.detail-hero__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 40% 35% 25%;
  gap: 0;
  align-items: flex-start;
  min-height: 560px;
}

/* --- Cột trái: Hình ảnh sản phẩm ---
   aspect-ratio đặt trên chính ảnh chính (không tính cột thumbnail) để nó luôn
   vuông 1:1 theo chiều rộng của riêng nó, không phụ thuộc 2 cột kia dài/ngắn. */
.detail-hero__media {
  width: 100%;
}

.detail-hero__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 40%, #a5d6a7 100%);
}

/* --- Product image gallery (thumbnails + main image) ---
   Thumbnails được định vị absolute, cao bằng đúng ảnh chính (top:0;bottom:0),
   thay vì flex-stretch — vì ảnh chính vuông 1:1 theo chiều rộng của nó, còn
   thumbnails cần "bám" theo chiều cao đó và tự cuộn nếu nhiều ảnh hơn. */
.product-gallery {
  position: relative;
  width: 100%;
}

.product-gallery__thumbs {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 76px;
  overflow-y: auto;
}

.product-gallery__thumbs::-webkit-scrollbar {
  width: 4px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--color-divider);
  border-radius: 4px;
}

.product-gallery__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--color-bg-light);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

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

.product-gallery__thumb:hover {
  border-color: var(--color-primary-light);
}

.product-gallery__thumb.is-active {
  border-color: var(--color-primary);
}

.product-gallery__main {
  position: relative;
}

.product-gallery__main::before {
  content: "";
  display: block;
  padding-top: 100%; /* giữ khung vuông 1:1, không phụ thuộc phép đo kích thước của Swiper */
}

.product-gallery__thumbs + .product-gallery__main {
  margin-left: 88px;
}

.product-gallery__swiper {
  position: absolute;
  inset: 0;
}

.product-gallery__swiper .swiper-wrapper,
.product-gallery__swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.product-gallery__image-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.product-gallery__nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.product-gallery__nav--prev {
  left: 12px;
}

.product-gallery__nav--next {
  right: 12px;
}

/* --- Cột giữa: Nội dung sản phẩm + Order This Product --- */
.detail-hero__content {
  display: flex;
  flex-direction: column;
  padding-left: 28px;
  padding-right: 28px;
}

.detail-hero__content > .detail-hero__card {
  margin-top: 20px;
}

/* --- Cột phải: Quick Facts + Quantity-based Pricing --- */
.detail-hero__quick-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-hero__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
}

.detail-hero__subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.4;
}

.detail-hero__desc {
  font-size: 16px;
  color: #4D4D4D;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Hàng 4 icon feature --- */
.detail-hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detail-hero__feature-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.detail-hero__feature-circle img {
  display: block;
}

.detail-hero__feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-hero__feature-title {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
}

.detail-hero__feature-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.3;
}

.detail-hero__card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detail-hero__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.detail-hero__card-divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 20px;
}

.detail-hero__card-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-hero__card-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-hero__card-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.detail-hero__card-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  white-space: nowrap;
  min-width: 100px;
}

.detail-hero__card-value {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-left: auto;
  text-align: right;
}

/* --- Rich text (admin-authored) quick facts table --- */
.detail-hero__card-rows--richtext table {
  width: 100%;
  border-collapse: collapse;
}

.detail-hero__card-rows--richtext tr {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-hero__card-rows--richtext td {
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.4;
}

.detail-hero__card-rows--richtext td:first-child {
  color: var(--color-text-light);
  white-space: nowrap;
}

.detail-hero__card-rows--richtext td:last-child {
  font-weight: 700;
  color: #1A1A1A;
  margin-left: auto;
  text-align: right;
}

/* ========================================
   SPECIFICATIONS & PACKAGING
   ======================================== */
.spec-packaging {
  background: #FAFAF7;
}

.spec-packaging__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Card chung --- */
.spec-packaging__specs-card,
.spec-packaging__pkg-card {
  background: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 28px;
}

.spec-packaging__card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spec-packaging__card-divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 12px;
}

/* --- Card trái: Bảng specifications --- */
.spec-packaging__table {
  display: flex;
  flex-direction: column;
}

.spec-packaging__table-row {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid #F0F0F0;
}

.spec-packaging__table-row:last-child {
  border-bottom: none;
}

.spec-packaging__table-label {
  flex: 0 0 35%;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.4;
}

.spec-packaging__table-value {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.4;
}

/* --- Rich text (admin-authored) specifications table --- */
.spec-packaging__table--richtext table {
  width: 100%;
  border-collapse: collapse;
}

.spec-packaging__table--richtext tr {
  border-bottom: 1px solid #F0F0F0;
}

.spec-packaging__table--richtext tr:last-child {
  border-bottom: none;
}

.spec-packaging__table--richtext td {
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  vertical-align: top;
}

.spec-packaging__table--richtext td:first-child {
  width: 35%;
  color: var(--color-text-light);
  padding-right: 12px;
}

.spec-packaging__table--richtext td:last-child {
  font-weight: 700;
  color: #1A1A1A;
}

/* --- Card phải: Packaging Options --- */
.spec-packaging__pkg-card .spec-packaging__card-divider {
  margin-bottom: 24px;
}

.spec-packaging__pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.spec-packaging__pkg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec-packaging__pkg-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
  margin-bottom: 12px;
}

.spec-packaging__pkg-name {
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 4px;
}

.spec-packaging__pkg-weight {
  font-size: 13px;
  font-weight: 400;
  color: #999999;
  line-height: 1.3;
}

.spec-packaging__pkg-note {
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-light);
  text-align: center;
}

/* --- Rich text (admin-authored) packaging options --- */
.spec-packaging__pkg-grid--richtext {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.spec-packaging__pkg-grid--richtext ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-packaging__pkg-grid--richtext li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spec-packaging__pkg-grid--richtext li::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344c12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8v8a2 2 0 0 1-1 1.73l-7 4a2 2 0 0 1-2 0l-7-4A2 2 0 0 1 3 16V8'/%3E%3Cpath d='M12 12 3.3 7.3'/%3E%3Cpath d='M12 12v10'/%3E%3Cpath d='m21 7.3-8.7 4.7'/%3E%3Cpath d='M12 2 3.3 6.7'/%3E%3Cpath d='M20.7 6.7 12 2'/%3E%3Cpath d='M8 4.3 16.7 9'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
}

.spec-packaging__pkg-grid--richtext p {
  font-style: italic;
  margin: 0;
}

.spec-packaging__pkg-grid--richtext ul + p {
  padding-top: 12px;
  border-top: 1px dashed var(--color-divider);
}

/* ========================================
   CERTIFICATIONS & MANUFACTURING PROCESS
   ======================================== */
.cert-mfg {
  padding: 28px 0;
  background: #FAFAF7;
}

.cert-mfg__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Card chung --- */
.cert-mfg__cert-card,
.cert-mfg__mfg-card {
  background: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 28px;
}

.cert-mfg__card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cert-mfg__card-divider {
  height: 1px;
  background: #E0E0E0;
  margin-bottom: 20px;
}

/* --- Card trái: Certifications --- */
.cert-mfg__cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.cert-mfg__cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cert-mfg__cert-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.cert-mfg__cert-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.3;
}

.cert-mfg__cert-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Card phải: Manufacturing Process --- */
.cert-mfg__mfg-card .cert-mfg__card-divider {
  margin-bottom: 24px;
}

.cert-mfg__mfg-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.cert-mfg__mfg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.cert-mfg__mfg-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: #F5F1E8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.cert-mfg__mfg-circle img {
  display: block;
}

.cert-mfg__mfg-step-name {
  font-size: 12px;
  font-weight: 700;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.cert-mfg__mfg-step-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.3;
}

.cert-mfg__mfg-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  padding-top: 20px; /* căn giữa với icon circle */
}

.cert-mfg__mfg-arrow img {
  color: #CCCCCC;
}

/* ========================================
   FLOATING CONTACT BAR
   ======================================== */
/* Floating Contact Items Style (Nhã nhặn, dịu mắt, hiệu ứng mờ thanh lịch) */
.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  filter: drop-shadow(-2px 4px 12px rgba(0, 0, 0, 0.08));
}

/* Ẩn bằng opacity (không dùng display:none) để chiều cao cụm floating-contact
   không đổi khi ẩn/hiện — nhờ vậy nút toggle bên dưới luôn đứng yên một chỗ,
   không bị "nhảy" theo. Nội dung phía sau vẫn đọc/bấm được bình thường nhờ
   pointer-events: none. */
.floating-contact__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.floating-contact.is-collapsed .floating-contact__list {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-contact__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  border-radius: 12px 0 0 12px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(17, 24, 16, 0.08);
  border-right: none;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}

.floating-contact__item iconify-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* Toggle: nút ẩn/hiện thanh liên hệ — thiết kế cố tình khác hẳn các icon
   liên hệ (hình tròn, đặc, màu trung tính, không hiệu ứng hover) để không
   bị hiểu nhầm là một kênh liên hệ. */
.floating-contact__toggle {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background-color: rgba(74, 84, 68, 0.85);
  box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.15);
}
.floating-contact__toggle iconify-icon {
  color: inherit;
  transition: transform 0.3s ease;
}
.floating-contact.is-collapsed .floating-contact__toggle iconify-icon {
  transform: rotate(180deg);
}

/* Tooltip */
.floating-contact__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: rgba(35, 45, 25, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  will-change: opacity, transform;
}

.floating-contact__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(35, 45, 25, 0.92);
}

/* Hover */
.floating-contact__item:hover {
  transform: translateX(-10px);
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.12);
}

.floating-contact__item:hover iconify-icon {
  animation: floatingContactShake 0.5s ease-in-out infinite;
}

@keyframes floatingContactShake {
  0%, 100% { transform: scale(1.18) rotate(0deg); }
  20% { transform: scale(1.18) rotate(-14deg); }
  40% { transform: scale(1.18) rotate(12deg); }
  60% { transform: scale(1.18) rotate(-8deg); }
  80% { transform: scale(1.18) rotate(6deg); }
}

.floating-contact__item:hover .floating-contact__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Colors — nền brand đặc + icon trắng, đồng bộ kiểu app-icon cho mọi mục */

/* Send Inquiry: không thuộc brand nào → xanh lá đậm làm CTA chính */
.floating-contact__item--inquiry {
  background-color: #15803d;
}
.floating-contact__item--inquiry iconify-icon {
  color: #fff;
}
.floating-contact__item--inquiry:hover {
  background-color: #126d34;
}

/* Phone: xanh thương hiệu Vietherbs */
.floating-contact__item--phone {
  background-color: #446822;
}
.floating-contact__item--phone iconify-icon {
  color: #fff;
}
.floating-contact__item--phone:hover {
  background-color: #3a591d;
}

/* Email: xanh thương hiệu Vietherbs (sắc độ khác) */
.floating-contact__item--email {
  background-color: #6c8a48;
}
.floating-contact__item--email iconify-icon {
  color: #fff;
}
.floating-contact__item--email:hover {
  background-color: #5c763d;
}

/* WhatsApp: xanh brand WhatsApp */
.floating-contact__item--whatsapp {
  background-color: #25d366;
}
.floating-contact__item--whatsapp iconify-icon {
  color: #fff;
}
.floating-contact__item--whatsapp:hover {
  background-color: #1fb357;
}

/* LINE: nền xanh brand đặc, icon trắng — chữ "LINE" tự lộ ra màu xanh của nền
   (icon là dạng khoét chữ), đúng như logo app LINE chính thức */
.floating-contact__item--line {
  background-color: #06c755;
}
.floating-contact__item--line iconify-icon {
  color: #fff;
}
.floating-contact__item--line:hover {
  background-color: #05a648;
}

/* Viber: tím brand Viber */
.floating-contact__item--viber {
  background-color: #7360f2;
}
.floating-contact__item--viber iconify-icon {
  color: #fff;
}
.floating-contact__item--viber:hover {
  background-color: #6252ce;
}

/* ========================================
   EXPORT INFO & LOADING GUIDE
   ======================================== */
.export-loading {
  background: #FAFAF7;
}

.export-loading__container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Card chung --- */
.export-loading__card {
  background: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 24px;
}

.export-loading__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.export-loading__card-divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 12px;
}

/* --- Card trái: Export Information --- */
.export-loading__table {
  display: flex;
  flex-direction: column;
}

.export-loading__table-row {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid #F0F0F0;
}

.export-loading__table-row:nth-child(even) {
  background: #FAFAF7;
}

.export-loading__table-row:last-child {
  border-bottom: none;
}

.export-loading__table-label {
  flex: 0 0 40%;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.4;
  padding: 0 8px;
}

.export-loading__table-value {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.4;
  padding: 0 8px;
}

/* --- Rich text (admin-authored) export information table --- */
.export-loading__table--richtext table {
  width: 100%;
  border-collapse: collapse;
}

.export-loading__table--richtext tr:nth-child(even) {
  background: #FAFAF7;
}

.export-loading__table--richtext tr:last-child td {
  border-bottom: none;
}

.export-loading__table--richtext td {
  font-size: 14px;
  line-height: 1.4;
  padding: 8px;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: top;
}

.export-loading__table--richtext td:first-child {
  width: 40%;
  color: #666666;
}

.export-loading__table--richtext td:last-child {
  font-weight: 700;
  color: #1A1A1A;
}

/* --- Rich text (admin-authored) container loading guide --- */
.export-loading__loading-table-wrapper--richtext table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.export-loading__loading-table-wrapper--richtext thead tr {
  background: #FAFAF7;
}

.export-loading__loading-table-wrapper--richtext th {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid #E0E0E0;
}

.export-loading__loading-table-wrapper--richtext th:first-child {
  text-align: left;
  width: 30%;
  color: #333333;
}

.export-loading__loading-table-wrapper--richtext td {
  font-size: 14px;
  color: #1A1A1A;
  text-align: center;
  padding: 10px 8px;
  border-bottom: 1px solid #F0F0F0;
}

.export-loading__loading-table-wrapper--richtext td:first-child {
  text-align: left;
  font-weight: 700;
  color: #333333;
}

/* --- Card giữa: Container Loading Guide --- */
.export-loading__loading-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.export-loading__loading-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.export-loading__loading-table thead tr {
  background: #FAFAF7;
}

.export-loading__loading-table th {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid #E0E0E0;
}

.export-loading__loading-table th:first-child {
  text-align: left;
  width: 30%;
  color: #333333;
}

.export-loading__loading-table td {
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1A;
  text-align: center;
  padding: 10px 8px;
  min-height: 44px;
  border-bottom: 1px solid #F0F0F0;
}

.export-loading__loading-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: #333333;
}

/* --- Card phải: Why Choose Us --- */
.export-loading__checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.export-loading__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.export-loading__check-icon {
  flex-shrink: 0;
}

.export-loading__check-item span {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
}

/* ========================================
   ABOUT & CONTACT
   ======================================== */
.about-contact {
  padding: 28px 0;
  background: #FAFAF7;
}

.about-contact__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: center;
}

/* --- Đường kẻ phân cách --- */
.about-contact__divider {
  width: 1px;
  background: #E0E0E0;
  align-self: stretch;
}

/* --- Tiêu đề chung --- */
.about-contact__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* --- Cột trái: About --- */
.about-contact__about {
  display: flex;
  flex-direction: column;
}

.about-contact__desc {
  font-size: 15px;
  font-weight: 400;
  color: #4D4D4D;
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-contact__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-contact__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.about-contact__stat-icon {
  margin-bottom: 8px;
}

.about-contact__stat-number {
  font-size: 29px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 6px;
}

.about-contact__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: #999999;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

/* --- Cột phải: Contact --- */
.about-contact__contact {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  padding-right: 60px;
}

.about-contact__contact-content {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.about-contact__company-name {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.about-contact__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-contact__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-contact__contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.about-contact__contact-item span {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  line-height: 1.5;
}

.about-contact__contact-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-contact__contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   TAGLINE STRIP
   ======================================== */
.tagline-strip {
  background: var(--color-primary);
  padding: 20px 0;
}

.tagline-strip__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.tagline-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tagline-strip__icon {
  flex-shrink: 0;
}

.tagline-strip__text {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tagline-strip__divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ========================================
   PAGE CONTENT (trang tĩnh: giới thiệu, chính sách...)
   ======================================== */
.page-content {
  padding-top: 70px; /* offset header fixed */
  background: var(--color-white);
}

.page-content__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 80px 80px;
}

.page-content__header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-divider);
}

.page-content__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.page-content__body,
.post-article__content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.8;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4,
.post-article__content h2,
.post-article__content h3,
.post-article__content h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 16px;
}

.page-content__body h2, .post-article__content h2 { font-size: 26px; }
.page-content__body h3, .post-article__content h3 { font-size: 20px; }
.page-content__body h4, .post-article__content h4 { font-size: 17px; }

.page-content__body p,
.post-article__content p {
  margin-bottom: 18px;
}

.page-content__body ul,
.page-content__body ol,
.post-article__content ul,
.post-article__content ol {
  margin: 0 0 18px 20px;
}

.page-content__body ul, .post-article__content ul { list-style: disc; }
.page-content__body ol, .post-article__content ol { list-style: decimal; }
.page-content__body li, .post-article__content li { margin-bottom: 8px; }

.page-content__body a,
.post-article__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content__body a:hover,
.post-article__content a:hover {
  color: var(--color-primary-dark);
}

.page-content__body strong,
.post-article__content strong {
  color: var(--color-primary-dark);
}

.page-content__body img,
.post-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 24px 0;
}

.page-content__body blockquote,
.post-article__content blockquote {
  border-left: 3px solid var(--color-primary-light);
  padding: 4px 20px;
  margin: 24px 0;
  color: var(--color-primary);
  font-style: italic;
}

.page-content__body table,
.post-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.page-content__body th,
.page-content__body td,
.post-article__content th,
.post-article__content td {
  border: 1px solid var(--color-divider);
  padding: 10px 14px;
  text-align: left;
}

.page-content__body th,
.post-article__content th {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ========================================
   POST CARD (dùng chung: danh sách tin, bài viết liên quan)
   ======================================== */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(50, 73, 17, 0.12);
  border-color: var(--color-primary-light);
}

.post-card__image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-light);
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.06);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.post-card__date {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.post-card__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-card__excerpt {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   NEWS BANNER (trang danh mục / danh sách tin)
   ======================================== */
.news-banner {
  position: relative;
  padding: 70px 80px 0;
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
  overflow: hidden;
}

.news-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.news-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 57, 14, 0.85) 0%, rgba(38, 57, 14, 0.55) 100%);
}

.news-banner__container {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
}

.news-banner--has-image .news-banner__container {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.news-banner__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.news-banner--has-image .news-banner__title {
  color: var(--color-white);
}

/* ========================================
   NEWS LISTING (danh sách bài viết + phân trang)
   ======================================== */
.news-listing {
  padding: 48px 80px 80px;
  background: var(--color-white);
}

.news-listing__container {
  max-width: 1360px;
  margin: 0 auto;
}

.news-listing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ========================================
   SHOP LAYOUT — sidebar bộ lọc (chỉ dùng ở trang /product)
   ======================================== */
.shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.shop-layout__content {
  flex: 1;
  min-width: 0;
}

.news-listing__grid--with-sidebar {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-filters {
  flex: 0 0 260px;
  width: 260px;
}

.shop-filters__section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-divider);
}

.shop-filters__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-filters__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shop-filters__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-filters__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.shop-filters__input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #dadada;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: #1a1a1a;
}

.shop-filters__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.shop-filters__range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-filters__range-sep {
  flex-shrink: 0;
  color: var(--color-text-light);
}

.shop-filters__btn {
  padding: 10px 16px;
  background: var(--color-primary);
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-filters__btn:hover {
  background: var(--color-primary-dark);
}

.shop-filters__reset {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-light);
  text-decoration: underline;
}

.shop-filters__reset:hover {
  color: var(--color-primary-dark);
}

.shop-filters__categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
}

.shop-filters__category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #333333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-filters__category-link:hover {
  background: var(--color-bg-light);
}

.shop-filters__category-link.is-active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.shop-filters__category-count {
  font-size: 11px;
  opacity: 0.7;
}

/* --- Mobile/tablet: sidebar chuyển lên trên, full width --- */
@media (max-width: 1024px) {
  .shop-layout {
    flex-direction: column;
    gap: 32px;
  }

  .shop-filters {
    width: 100%;
    flex: 1 1 auto;
  }

  .shop-filters__form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .shop-filters__form > div {
    flex: 1 1 200px;
  }

  .shop-filters__heading {
    flex: 1 0 100%;
  }

  .shop-filters__categories {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.news-listing__pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* Laravel default pagination markup — style theo tag/attribute, không phụ thuộc class Tailwind */
.news-listing__pagination nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.news-listing__pagination nav > div:first-child {
  display: none;
}

.news-listing__pagination nav > div:last-child {
  width: 100%;
  display: flex;
  justify-content: center;
}

.news-listing__pagination nav > div:last-child > div:first-child {
  display: none;
}

.news-listing__pagination a,
.news-listing__pagination span[aria-current] span,
.news-listing__pagination span[aria-disabled] span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  margin: 0 4px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-divider);
  background: var(--color-white);
  transition: all 0.3s ease;
}

.news-listing__pagination a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.news-listing__pagination span[aria-current] span {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.news-listing__pagination span[aria-disabled] span {
  color: var(--color-divider);
  cursor: default;
}

.news-listing__pagination svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   POST ARTICLE (chi tiết bài viết)
   ======================================== */
.post-article {
  padding-top: 70px; /* offset header fixed */
  background: var(--color-white);
}

.post-article__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 80px 60px;
}

.post-article__header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-divider);
}

.post-article__meta {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.post-article__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.25;
}

.post-article__description {
  max-width: 900px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--color-divider);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.7;
}

.post-article__tags {
  max-width: 900px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-article__tags-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.post-article__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--color-bg-light);
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-article__tag:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ========================================
   POST RELATED (bài viết liên quan)
   ======================================== */
.post-related {
  padding: 48px 80px 80px;
  background: #fafaf7;
  border-top: 1px solid var(--color-divider);
}

.post-related__container {
  max-width: 1360px;
  margin: 0 auto;
}

.post-related__heading {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ========================================
   RESPONSIVE — TABLET (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
  /* Info Bar — tablet */
  .info-bar__container { padding: 16px 40px; gap: 24px; }
  .info-bar__features { gap: 32px; }
  .info-bar__feature-desc { display: none; }

  /* Detail Hero — tablet */
  .detail-hero__container { padding: 32px 40px; gap: 24px; }
  .detail-hero__title { font-size: 40px; }
  .product-gallery__thumbs { width: 64px; }
  .product-gallery__thumbs + .product-gallery__main { margin-left: 76px; }
  .detail-hero__feature-circle { width: 48px; height: 48px; }
  .detail-hero__feature-circle img { width: 24px; height: 24px; }
  .detail-hero__card { padding: 24px; }

  /* Spec & Packaging — tablet */
  .spec-packaging__container { padding: 0 40px; grid-template-columns: 1fr; gap: 24px; }
  .spec-packaging__pkg-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cert & Mfg — tablet */
  .cert-mfg__container { padding: 0 40px; grid-template-columns: 1fr; gap: 24px; }
  .cert-mfg__mfg-timeline { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .cert-mfg__mfg-arrow { display: none; }
  .cert-mfg__mfg-step { flex: 0 0 calc(33.333% - 12px); }

  /* Export & Loading — tablet */
  .export-loading__container { padding: 0 40px; grid-template-columns: 1fr; gap: 24px; }

  /* About & Contact — tablet */
  .about-contact__container { padding: 0 40px; gap: 32px; }
  .about-contact__contact { grid-template-columns: 1fr; }
  .about-contact__contact-content { padding-right: 0; margin-bottom: 24px; }
  .about-contact__contact-image { min-height: 250px; border-radius: 12px; }

  /* Tagline Strip — tablet */
  .tagline-strip__container { padding: 0 40px; gap: 28px; }
  .tagline-strip__text { font-size: 12px; letter-spacing: 1px; }

  /* Page Content — tablet */
  .page-content__container { padding: 40px 40px 60px; }
  .page-content__title { font-size: 32px; }

  /* News Banner / Listing — tablet */
  .news-banner { padding: 70px 40px 0; }
  .news-banner__container { padding: 40px 0; }
  .news-banner__title { font-size: 32px; }
  .news-listing { padding: 40px 40px 60px; }
  .news-listing__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .page-products .shop-hero { padding-left: 40px; padding-right: 40px; }

  /* Post Article — tablet */
  .post-article__container { padding: 40px 40px 48px; }
  .post-article__title { font-size: 30px; }

  /* Post Related — tablet */
  .post-related { padding: 40px 40px 60px; }
  .post-related__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* Header */
  .site-header__row { padding: 0 40px; }
  .site-nav { gap: var(--spacing-sm); }
  .site-nav a { font-size: 0.9rem; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { font-size: 0.6rem; }
  .brand__logo { height: 40px; }

  /* Hero */
  .hero__container { padding: 0 40px; }
  .hero__title { font-size: 38px; }

  /* Why Choose Us */
  .why-choose-us { padding: 30px 40px; }
  .why-choose-us__grid { grid-template-columns: repeat(3, 1fr); }
  .why-choose-us__item:nth-child(3n)::after { display: none; }

  /* Product Categories */
  .product-categories { padding: 30px 40px; }
  .product-categories__grid { grid-template-columns: repeat(3, 1fr); }

  /* OEM */
  .oem-private-label { padding: 0 40px; }
  .oem-private-label__heading { font-size: 24px; }

  /* Manufacturing */
  .manufacturing-process { padding: 40px 40px; }
  .manufacturing-process__container { grid-template-columns: 22% 48% 30%; gap: 24px; }

  /* Certifications */
  .certifications { padding: 40px 40px; }
  .certifications__logos { grid-template-columns: repeat(4, 1fr); }

  /* Packaging & Export */
  .packaging-export { padding: 40px 40px; }
  .packaging-export__container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .packaging-export__left { padding-right: 0; }
  .packaging-export__center { padding-left: 0; }
  .packaging-export__divider { display: none; }
  .packaging-export__right {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
  }
  .packaging-export__products { grid-template-columns: repeat(3, 1fr); }
  .packaging-export__export-image img { min-height: 160px; }

  /* Ordering Process */
  .ordering-process { padding: 40px 40px; }
  .ordering-process__timeline {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ordering-process__step {
    flex: 0 0 calc(25% - 30px);
    max-width: 140px;
  }
  .ordering-process__arrow {
    flex: 0 0 30px;
    width: 30px;
  }
  .ordering-process__icon-circle { width: 60px; height: 60px; }
  .ordering-process__icon-circle img { width: 26px; height: 26px; }

  /* Customer Reviews */
  .customer-reviews { padding: 40px 40px; }
  .customer-reviews__cards { grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .faq { padding: 32px 40px; }
  .faq__title-col { flex: 0 0 100%; }
  .faq__item { flex: 0 0 calc(50% - 12px); }

  /* CTA */
  .cta__container {
    max-width: calc(1360px + 80px); /* 1360px + 2*40px padding */
    padding: 0 40px;
  }
  .cta__heading { font-size: 24px; }
  .cta__badges { gap: 24px; flex-wrap: wrap; }

  /* Footer — tablet */
  .footer { padding: 40px 0; }
  .footer__container {
    max-width: calc(1360px + 80px); /* 1360px + 2*40px padding */
    padding: 0 40px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__qr-social { justify-content: flex-start; }

  /* Floating Contact — tablet */
  .floating-contact__item {
    width: 46px;
    height: 46px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (≤768px)
   ======================================== */
@media (max-width: 768px) {
  /* Page Content — mobile */
  .page-content__container { padding: 24px 24px 48px; }
  .page-content__header { margin-bottom: 24px; padding-bottom: 24px; }
  .page-content__title { font-size: 26px; }
  .page-content__body { font-size: 14px; }
  .page-content__body h2 { font-size: 21px; }
  .page-content__body h3 { font-size: 18px; }

  /* News Banner / Listing — mobile */
  .news-banner { padding: 70px 24px 0; }
  .news-banner__container { padding: 32px 0; }
  .news-banner__title { font-size: 24px; }
  .news-listing { padding: 32px 24px 48px; }
  .news-listing__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .page-products .shop-hero { padding-left: 24px; padding-right: 24px; }
  .post-card__title { font-size: 15px; }
  .post-card__excerpt { display: none; }

  /* Post Article — mobile */
  .post-article__container { padding: 24px 24px 40px; }
  .post-article__header { margin-bottom: 24px; padding-bottom: 24px; }
  .post-article__title { font-size: 24px; }
  .post-article__description { font-size: 14px; }
  .post-article__content { font-size: 14px; }
  .post-article__content h2 { font-size: 21px; }
  .post-article__content h3 { font-size: 18px; }

  /* Post Related — mobile */
  .post-related { padding: 32px 24px 48px; }
  .post-related__heading { font-size: 21px; margin-bottom: 24px; }
  .post-related__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Info Bar — mobile */
  #info-bar { display: none; }
  .info-bar__container {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  .info-bar__features {
    flex-direction: column;
    gap: 12px;
  }
  .info-bar__feature { justify-content: center; }
  .info-bar__feature-desc { display: none; }
  .info-bar__btn { width: 100%; justify-content: center; }

  /* Detail Hero — mobile */
  .detail-hero__container {
    grid-template-columns: 1fr;
    padding: 84px 24px 24px;
    gap: 24px;
    min-height: auto;
  }
  .product-gallery { display: flex; flex-direction: column; }
  .product-gallery__thumbs {
    position: static;
    order: 2;
    flex-direction: row;
    width: 100%;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: visible;
  }
  .product-gallery__thumbs::-webkit-scrollbar { width: auto; height: 4px; }
  .product-gallery__thumb { width: 56px; flex-shrink: 0; }
  .product-gallery__main { order: 1; }
  .product-gallery__thumbs + .product-gallery__main { margin-left: 0; }
  .product-gallery__nav {
    width: 34px;
    height: 34px;
    opacity: 0;
    pointer-events: none;
  }
  .product-gallery__main.is-nav-visible .product-gallery__nav {
    opacity: 1;
    pointer-events: auto;
  }
  .detail-hero__content { padding-left: 0; padding-right: 0; min-width: 0; }
  .detail-hero__title { font-size: 26px; }
  .detail-hero__subtitle { font-size: 13px; letter-spacing: 1px; }
  .detail-hero__desc { font-size: 14px; }
  .detail-hero__features {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 10px;
    padding-bottom: 6px;
  }
  .detail-hero__features::-webkit-scrollbar { height: 4px; }
  .detail-hero__feature {
    flex: 0 0 auto;
    width: 68px;
    scroll-snap-align: start;
  }
  .detail-hero__feature-circle { width: 36px; height: 36px; margin-bottom: 6px; }
  .detail-hero__feature-circle img { width: 18px; height: 18px; }
  .detail-hero__feature-title { font-size: 11px; }
  .detail-hero__feature-desc { font-size: 10px; }
  .detail-hero__card { padding: 20px; }
  .detail-hero__card-row { flex-wrap: wrap; gap: 6px; }
  .detail-hero__card-label { min-width: auto; }

  /* Spec & Packaging — mobile */
  .spec-packaging { padding: 24px 0; }
  .spec-packaging__container { padding: 0 24px; }
  .spec-packaging__table-label { flex: 0 0 40%; font-size: 12px; }
  .spec-packaging__table-value { font-size: 12px; }
  .spec-packaging__pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .spec-packaging__pkg-card { padding: 20px; }
  .spec-packaging__specs-card { padding: 20px; }

  /* Export & Loading — mobile */
  .export-loading { padding: 24px 0; }
  .export-loading__container { padding: 0 24px; }

  /* About & Contact — mobile */
  .about-contact { padding: 24px 0; }
  .about-contact__container { padding: 0 24px; grid-template-columns: 1fr; gap: 0; }
  .about-contact__divider { display: none; }
  .about-contact__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .about-contact__stat-number { font-size: 22px; }
  .about-contact__contact { grid-template-columns: 1fr; gap: 0; }
  .about-contact__contact-content { padding-right: 0; margin-bottom: 24px; }
  .about-contact__contact-image { min-height: 200px; border-radius: 12px; }

  /* Tagline Strip — mobile */
  .tagline-strip { padding: 16px 0; }
  .tagline-strip__container {
    flex-direction: column;
    gap: 12px;
    padding: 0 24px;
  }
  .tagline-strip__divider { display: none; }
  .tagline-strip__text { font-size: 11px; letter-spacing: 1px; }

  /* Cert & Mfg — mobile */
  .cert-mfg { padding: 24px 0; }
  .cert-mfg__container { padding: 0 24px; }
  .cert-mfg__cert-card,
  .cert-mfg__mfg-card { padding: 20px; }
  .cert-mfg__cert-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cert-mfg__mfg-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
  }
  .cert-mfg__mfg-step {
    flex-direction: row;
    align-items: flex-start;
    max-width: none;
    text-align: left;
    gap: 16px;
  }
  .cert-mfg__mfg-circle { width: 52px; height: 52px; margin-bottom: 0; }
  .cert-mfg__mfg-circle img { width: 24px; height: 24px; }
  .cert-mfg__mfg-step-name { font-size: 12px; }
  .cert-mfg__mfg-step-desc { font-size: 11px; }
  .cert-mfg__mfg-arrow {
    width: auto;
    padding-top: 0;
    padding-left: 22px;
    height: 28px;
  }
  .cert-mfg__mfg-arrow img { transform: rotate(90deg); }

  /* Header */
  .site-header__row { min-height: 60px; padding: 0 24px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__logo { height: 32px; }
  .brand__name { font-size: 1.2rem; }
  .brand__tag { font-size: 0.55rem; letter-spacing: 1px; }

  .site-nav {
    position: fixed;
    top: 60px; left: 0;
    width: 100%; height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: flex-start;
    padding: var(--spacing-md) 0; gap: 0;
    opacity: 0; visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
  }

  .site-nav--active { opacity: 1; visibility: visible; transform: translateX(0); }

  .site-nav a {
    width: 100%; padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.1rem; border-bottom: 1px solid rgba(50, 73, 17, 0.1);
  }

  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .language-switcher__btn { padding: 0.4rem 0.6rem; font-size: 0.85rem; }

  /* Hero */
  .hero {
    padding-top: 80px;
    padding-bottom: 0;
    background: #fbfcf7;
  }
  .hero__container::before {
    display: none; /* Ẩn gradient desktop */
  }
  .hero__container { padding: 0 24px; }
  .hero__title { font-size: 28px; }
  .hero__tagline { font-size: 11px; letter-spacing: 1.5px; }
  .hero__desc { font-size: 0.95rem; margin-bottom: 24px; }
  .hero__features {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 5px;
    margin-bottom: 24px;
    padding-bottom: 6px;
  }
  .hero__features::-webkit-scrollbar { height: 4px; }
  .hero__feature {
    flex: 0 0 auto;
    min-width: 64px;
    scroll-snap-align: start;
  }
  .hero__feature-text { font-size: 11px; max-width: 80px; }
  .hero__buttons { flex-direction: column; width: 100%; margin-bottom: 16px; }
  .hero__btn { width: 100%; text-align: center; }
  .hero__content::after {
    content: '';
    display: block;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    height: 240px;
    background: url('../img/hero.png') center bottom / cover no-repeat;
    margin-top: 8px;
    margin-bottom: 0;
  }

  /* Why Choose Us */
  .why-choose-us { padding: 24px 24px; }
  .why-choose-us__heading { font-size: 22px; }
  .why-choose-us__grid { grid-template-columns: repeat(2, 1fr); }
  .why-choose-us__item:nth-child(2n)::after { display: none; }

  /* Product Categories */
  .product-categories { padding: 24px 24px; }
  .product-categories__heading { font-size: 22px; }
  .product-categories__grid { grid-template-columns: repeat(2, 1fr); }

  /* OEM */
  .oem-private-label { padding: 0 24px; }
  .oem-private-label__container { grid-template-columns: 1fr; gap: 32px; }
  .oem-private-label__heading { font-size: 22px; }
  .oem-private-label__media { order: 6; }
  .oem-private-label__image { min-height: 260px; }

  /* Manufacturing */
  .manufacturing-process { padding: 40px 24px; }
  .manufacturing-process__container { grid-template-columns: 1fr; gap: 32px; }
  .manufacturing-process__heading { font-size: 20px; }
  .manufacturing-process__gallery { grid-template-columns: repeat(4, 1fr); }
  .manufacturing-process__right-heading { font-size: 16px; }
  .manufacturing-process__stat-number { font-size: 36px; }

  /* Certifications */
  .certifications { padding: 40px 24px; }
  .certifications__container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .certifications__card { padding: 20px; }
  .certifications__card:first-child { padding: 20px; }
  .certifications__heading { font-size: 16px; margin-bottom: 16px; }
  .certifications__logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 0;
  }
  .certifications__logo-item { padding: 0 8px; }
  .certifications__logo-item:not(:last-child)::after { height: 40px; }
  .certifications__logo-item:nth-child(4n)::after { display: none; }
  .certifications__logo { width: 48px; height: 48px; }
  .certifications__logo-name { font-size: 10px; }

  /* Card phải */
  .certifications__content { flex-direction: column; gap: 16px; }
  .certifications__docs { padding: 0; }
  .certifications__label { font-size: 13px; margin-bottom: 12px; }
  .certifications__checklist { gap: 8px; }
  .certifications__check-item span { font-size: 13px; }
  .certifications__image-wrapper {
    width: 100%;
    max-height: 200px;
    margin-top: 0;
  }
  .certifications__image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
  }

  /* Packaging & Export */
  .packaging-export { padding: 40px 24px; }
  .packaging-export__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .packaging-export__divider { display: block; width: 100%; height: 1px; margin: 0; }
  .packaging-export__center { grid-column: auto; }
  .packaging-export__right {
    grid-column: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .packaging-export__products { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .packaging-export__export-image img { min-height: 160px; }
  .packaging-export__shipping-icons { justify-content: center; }

  /* Ordering Process — mobile: timeline dọc */
  .ordering-process { padding: 40px 24px; }
  .ordering-process__timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
  }
  .ordering-process__step {
    flex-direction: row;
    align-items: center;
    max-width: none;
    text-align: left;
    gap: 16px;
  }
  .ordering-process__icon-circle {
    width: 56px; height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .ordering-process__icon-circle img { width: 24px; height: 24px; }
  .ordering-process__step-num { display: none; }
  .ordering-process__step-name { font-size: 13px; margin-bottom: 0; }
  .ordering-process__arrow {
    width: 56px;
    height: 28px;
    padding-top: 0;
    margin-left: 0;
    justify-content: center;
    position: relative;
  }
  .ordering-process__arrow::before {
    content: '';
    width: 1px;
    height: 100%;
    background: #999999;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .ordering-process__arrow::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #999999;
    border-bottom: none;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Customer Reviews — mobile */
  .customer-reviews { padding: 40px 24px; }
  .customer-reviews__container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
  .customer-reviews__left { flex: none; align-items: flex-start; }
  .customer-reviews__heading { text-align: left; }
  .customer-reviews__divider { width: 100%; height: 1px; margin: 0; }
  .customer-reviews__cards { flex: none; width: 100%; grid-template-columns: 1fr; }

  /* FAQ — mobile */
  .faq { padding: 32px 24px; }
  .faq__item { flex: 0 0 100%; }

  /* CTA — mobile */
  .cta__container {
    max-width: calc(1360px + 48px); /* 1360px + 2*24px padding */
    padding: 0 24px;
  }
  .cta__content {
    padding: 32px 0;
    align-items: center;
    text-align: center;
  }
  .cta__heading {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 24px;
  }
  .cta__bottom {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .cta__badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }
  .cta__badge {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .cta__badge span {
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }
  .cta__btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 32px;
    font-size: 13px;
  }

  /* Footer — mobile */
  .footer {
    padding: 32px 0 0;
    position: relative;
  }
  .footer__bg-image { display: none; } /* Ẩn ảnh nền desktop ở mobile */
  .footer__container {
    max-width: calc(1360px + 48px); /* 1360px + 2*24px padding */
    padding: 0 24px 220px 24px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title   title"
      "contact contact"
      "qr      menu"
      "cta     cta";
    align-items: start;
    gap: 24px;
  }
  /* "Gỡ" các wrapper trung gian (không còn tạo box riêng) để footer__qr-social
     và footer__menu trở thành grid item trực tiếp của footer__container,
     cho phép xếp lại vị trí độc lập với cấu trúc HTML gốc trên desktop. */
  .footer__info,
  .footer__info-row,
  .footer__form-col,
  .footer__form-col-row {
    display: contents;
  }
  .footer__title { grid-area: title; }
  .footer__contact-info { grid-area: contact; }
  .footer__qr-social { grid-area: qr; margin-top: 0; align-self: start; } /* Ghi đè align-self:center (base) để top khớp với footer__menu */
  .footer__divider { display: none; } /* Không cần đường kẻ dọc khi đã là grid 1 cột */
  .footer__menu { grid-area: menu; text-align: center; }
  .footer__menu-list { align-items: center; }
  .footer__cta { grid-area: cta; position: relative; z-index: 1; }
  .footer__form { max-width: 100%; } /* Form full width ở mobile */
  .footer::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background: url('../img/footer.png') center center / cover no-repeat;
    z-index: 0;
  }
  .footer__form-row { grid-template-columns: 1fr; }
  .footer__btn { width: 100%; }
  .copyright-bar__container {
    max-width: calc(1360px + 48px);
    padding: 14px 24px;
  }

  /* Contact Modal — mobile */
  .contact-modal { padding: 16px; }
  .contact-modal__dialog { padding: 28px 20px; }

  /* Floating Contact — mobile */
  .floating-contact {
    gap: 2px;
    filter: none;
  }
  .floating-contact__list {
    gap: 2px;
  }
  .floating-contact__item {
    width: 42px;
    height: 42px;
    border-radius: 8px 0 0 8px;
  }
  .floating-contact__tooltip {
    display: none;
  }
}

/* ========================================
   SCROLL REVEAL (fade in on scroll)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger > *:nth-child(2) { transition-delay: 90ms; }
  .reveal-stagger > *:nth-child(3) { transition-delay: 180ms; }
  .reveal-stagger > *:nth-child(4) { transition-delay: 270ms; }
  .reveal-stagger > *:nth-child(5) { transition-delay: 360ms; }
  .reveal-stagger > *:nth-child(6) { transition-delay: 450ms; }
  .reveal-stagger > *:nth-child(n+7) { transition-delay: 540ms; }
}

/* ========================================
   CART ICON (header)
   ======================================== */
.cart-icon-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(50, 73, 17, 0.1);
  border: 1px solid rgba(50, 73, 17, 0.2);
  border-radius: 6px;
  color: var(--color-primary-dark);
  transition: all 0.3s;
}

.cart-icon-link:hover {
  background: rgba(50, 73, 17, 0.15);
  border-color: rgba(50, 73, 17, 0.3);
}

.cart-icon-link__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}

/* ========================================
   PRODUCT ORDER BUY-BOX (detail-hero — cột giữa, dưới nội dung sản phẩm)
   ======================================== */
.product-order__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--color-primary);
}

.product-order__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-order__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.product-order__price {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.product-order__price--quote {
  font-size: 19px;
}

.product-order__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-order__sku {
  font-size: 13px;
  color: var(--color-text-light);
}

.product-order__moq {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}

.price-tiers__table {
  width: 100%;
  border-collapse: collapse;
}

.price-tiers__table th,
.price-tiers__table td {
  text-align: left;
  padding: 8px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-divider);
}

.price-tiers__table th {
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.price-tiers__table td {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.price-tiers__table tr:last-child td {
  border-bottom: none;
}

.product-order__form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-order__card .qty-stepper {
  flex-shrink: 0;
}

.product-order__card .qty-stepper__btn {
  width: 32px;
}

.product-order__card .qty-stepper__input {
  width: 56px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #DADADA;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.qty-stepper__btn {
  width: 38px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 19px;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s;
}

.qty-stepper__btn:hover {
  background: var(--color-divider);
}

.qty-stepper__input {
  width: 44px;
  height: 44px;
  border: none;
  border-left: 1px solid #DADADA;
  border-right: 1px solid #DADADA;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-order__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  height: 44px;
  padding: 0 14px;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.product-order__btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

/* ========================================
   SHOP PAGES — shared header band
   ======================================== */
.shop-hero {
  padding-top: 70px;
  background: #FAFAF7;
  border-bottom: 1px solid var(--color-divider);
}

.shop-hero__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 80px;
}

/* Products listing page: horizontal padding moves onto the section so the
   hero title lines up with .news-listing__grid below it (which pads at the
   section level, not the container level) instead of sitting 80px further in. */
.page-products .shop-hero {
  padding-left: 80px;
  padding-right: 80px;
}

.page-products .shop-hero__container {
  padding-left: 0;
  padding-right: 0;
}

.shop-hero__breadcrumb {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.shop-hero__breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.shop-hero__breadcrumb a:hover {
  color: var(--color-primary);
}

.shop-hero__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.shop-hero__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  max-width: 620px;
  line-height: 1.6;
}

.shop-alert {
  margin: 0 auto;
  max-width: 1360px;
  padding: 0 80px;
}

.shop-alert__inner {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
}

.shop-alert--success .shop-alert__inner {
  background: #eaf3e3;
  border: 1px solid #cfe3bd;
  color: var(--color-primary-dark);
}

.shop-alert--error .shop-alert__inner {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #a4292a;
}

.shop-alert--error ul {
  margin: 0;
  padding-left: 18px;
}

/* ========================================
   CART PAGE
   ======================================== */
.cart-page {
  background: #FAFAF7;
  padding: 40px 0 80px;
}

.cart-page__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: flex-start;
}

.cart-empty {
  grid-column: 1 / -1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 72px 24px;
}

.cart-empty__icon {
  color: var(--color-divider);
  margin-bottom: 16px;
}

.cart-empty__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.cart-empty__desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.cart-table {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  overflow: hidden;
}

.cart-table__head {
  display: grid;
  grid-template-columns: 1fr 130px 140px 120px 40px;
  gap: 16px;
  padding: 14px 24px;
  background: var(--color-bg-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.cart-table__row {
  display: grid;
  grid-template-columns: 1fr 130px 140px 120px 40px;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-top: 1px solid var(--color-divider);
}

.cart-table__product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-table__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--color-bg-light);
  flex-shrink: 0;
}

.cart-table__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
}

.cart-table__sku {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.cart-table__price,
.cart-table__total {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.cart-table__total {
  font-weight: 700;
}

.cart-table__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #b5453f;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.cart-table__remove:hover {
  background: #fdecea;
}

.cart-summary {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 90px;
}

.cart-summary__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-text-light);
  padding: 8px 0;
}

.cart-summary__row--total {
  border-top: 1px solid var(--color-divider);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cart-summary__btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 18px;
  height: 48px;
  line-height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.cart-summary__btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

.cart-summary__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.cart-summary__continue {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-page {
  background: #FAFAF7;
  padding: 40px 0 80px;
}

.checkout-page__container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: flex-start;
}

.checkout-section {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.checkout-section__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.checkout-section__desc {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.checkout-section__divider {
  height: 1px;
  background: var(--color-divider);
  margin-bottom: 20px;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-light);
}

.checkout-field label .required {
  color: #b5453f;
}

.checkout-field .field-error {
  font-size: 12px;
  color: #a4292a;
}

.searchable-select {
  position: relative;
}

.searchable-select__native {
  display: none;
}

.searchable-select__input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23999999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

.searchable-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #DADADA;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.searchable-select__option {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
}

.searchable-select__option--active {
  background: rgba(50, 73, 17, 0.08);
  color: var(--color-primary-dark);
}

.searchable-select__empty {
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.checkout-shipping-options,
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(50, 73, 17, 0.05);
}

.shipping-option input {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.shipping-option__body {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shipping-option__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.shipping-option__desc {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.shipping-option__price {
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  white-space: nowrap;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(50, 73, 17, 0.05);
}

.payment-option input {
  accent-color: var(--color-primary);
}

.payment-option span,
.payment-option__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.payment-option__desc {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.checkout-summary {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 90px;
}

.checkout-summary__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.checkout-summary__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.checkout-summary__item-name {
  color: #1A1A1A;
  line-height: 1.4;
}

.checkout-summary__item-qty {
  color: var(--color-text-light);
}

.checkout-summary__item-total {
  font-weight: 700;
  white-space: nowrap;
}

.checkout-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-text-light);
  padding: 8px 0;
  border-top: 1px solid var(--color-divider);
}

.checkout-summary__row--total {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.checkout-summary__submit {
  display: block;
  width: 100%;
  margin-top: 18px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.checkout-summary__submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(50, 73, 17, 0.25);
}

/* ========================================
   ORDER SUCCESS PAGE
   ======================================== */
.order-success {
  padding: 110px 0 100px;
  background: #FAFAF7;
}

.order-success__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.order-success__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

.order-success__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.order-success__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto 20px;
}

.order-success__no {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 8px 22px;
  margin-bottom: 36px;
}

.order-success__card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
}

.order-success__card-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.order-success__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 13px;
}

.order-success__row:last-child {
  border-bottom: none;
}

.order-success__row-total {
  font-weight: 700;
  white-space: nowrap;
}

.order-success__totals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-divider);
}

.order-success__totals .order-success__row {
  border-bottom: none;
  padding: 4px 0;
}

.order-success__totals .order-success__row--grand {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 4px;
}

.order-success__meta {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.order-success__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   SHOP PAGES — mobile
   ======================================== */
@media (max-width: 900px) {
  .cart-page__container,
  .checkout-page__container {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .shop-hero__container,
  .cart-page__container,
  .checkout-page__container,
  .shop-alert {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cart-table__head {
    display: none;
  }

  .cart-table__row {
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
  }

  .cart-table__remove {
    position: absolute;
    top: 14px;
    right: 0;
  }

  .checkout-field-row {
    grid-template-columns: 1fr;
  }

  .shipping-option__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
