/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap");

/* --- CSS Variables --- */
:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d5a3d;
  --green-light: #4a8c5c;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #fdf6ed;
  --cream-mid: #f5e9d3;
  --red-promo: #c0392b;
  --text-dark: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Playfair Display", serif;
  --font-body: "Be Vietnam Pro", sans-serif;
  --transition: all 0.3s ease;

  /* Shared tokens for login/user/forms */
  --font-sans: var(--font-body);
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --color-background-primary: #ffffff;
  --color-background-secondary: #f6f8fb;
  --color-background-danger: #fff3f2;
  --color-text-primary: #1f2937;
  --color-text-secondary: #4b5563;
  --color-text-tertiary: #6b7280;
  --color-text-danger: #b42318;
  --color-border-secondary: #b8c3cf;
  --color-border-tertiary: #d3dbe5;
  --color-border-danger: #e18989;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition:
    color 0.35s ease,
    background-size 0.35s ease;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
}

a:hover {
  background-size: 100% 1px;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER*/

/* Topbar */
.topbar {
  background: var(--green-dark);
  color: var(--gold-light);
  font-size: 12.5px;
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
}

.topbar-right a {
  color: var(--gold-light);
  font-weight: 600;
}

/* Main nav */
.main-nav {
  background: var(--white);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.logo-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 1px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Search */
.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid var(--cream-mid);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--green-light);
}

.search-bar input {
  flex: 1;
  padding: 9px 18px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--cream);
}

.search-btn {
  background: var(--green-dark);
  color: white;
  border: none;
  padding: 9px 18px;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--green-mid);
}

/* Nav icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--text-mid);
  gap: 2px;
  position: relative;
  transition: var(--transition);
}

.nav-icon-item:hover {
  color: var(--green-dark);
}

.nav-icon-item .icon {
  font-size: 20px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--red-promo);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-order {
  background: var(--green-dark);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-order:hover {
  background: var(--gold);
  color: var(--green-dark);
}

/* Main menu */
.main-menu {
  background: var(--green-dark);
}

.menu-inner {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.menu-item {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 16px;
  display: block;
  transition: var(--transition);
  white-space: nowrap;
}

.menu-item:hover,
.menu-item.active {
  background: var(--green-mid);
  color: var(--gold-light);
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown .menu-item.active {
  background: var(--gold);
  color: var(--green-dark);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  z-index: 200;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--cream-mid);
  transition: var(--transition);
}

.dropdown-content a:hover {
  background: var(--cream);
  color: var(--green-dark);
  padding-left: 24px;
}

.menu-dropdown:hover .dropdown-content {
  display: block;
}

.menu-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  font-size: 13px;
}

.btn-hot {
  background: var(--red-promo);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-hot:hover {
  background: #e74c3c;
}

/*  FOOTER  */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  margin-top: 60px;
}

/* Partners bar */
.partners-bar {
  background: var(--cream-mid);
  padding: 14px 0;
  border-top: 3px solid var(--gold);
}

.partners-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.partner-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  padding: 4px 10px;
  border: 1.5px solid var(--green-light);
  border-radius: 5px;
  opacity: 0.85;
  transition: var(--transition);
}

.partner-text:hover {
  opacity: 1;
  border-color: var(--gold);
}

/* Footer main */
.footer-main {
  padding: 44px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
}

/* Footer brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  font-size: 36px;
}

.footer-logo-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-brand-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-contact p {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 7px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.social-btn.fb {
  background: #1877f2;
  color: white;
}

.social-btn.yt {
  background: #ff0000;
  color: white;
}

.social-btn.tk {
  background: #000;
  color: white;
  border: 1px solid #333;
}

.social-btn.zl {
  background: #0068ff;
  color: white;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer columns */
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-mid);
}

.footer-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}

.footer-collapsible-content {
  display: block;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #bbb;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

/* Payment icons */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.pay-icon {
  background: transparent;
  padding: 0;
  border: 0;
  min-width: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-icon img {
  width: auto;
  height: 24px;
  max-width: 78px;
  object-fit: contain;
  display: block;
}

.pay-icon-money {
  background: #fff;
  border-radius: 4px;
  padding: 2px 4px;
}

.pay-icon-money img {
  height: 20px;
  max-width: 70px;
}

.cert-badge {
  font-size: 12px;
  color: var(--gold-light);
}

/* Footer bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  color: #999;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* HOME PAGE - HERO BANNER */
.hero-banner {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}

.hero-slide-bg-1 {
  background: linear-gradient(135deg, #1a3a2a 0%, #4a8c5c 50%, #c9a84c 100%);
}

.hero-slide-bg-2 {
  background: linear-gradient(135deg, #2d1b4e 0%, #4a1942 50%, #c9a84c 100%);
}

.hero-slide-bg-3 {
  background: linear-gradient(135deg, #0d2233 0%, #1a4a6e 50%, #c9a84c 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 640px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.hero-arrows {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* Quick promo bar */
.promo-bar {
  background: var(--green-dark);
  padding: 0;
}

.promo-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.promo-item:last-child {
  border-right: none;
}

.promo-item:hover {
  background: var(--green-mid);
}

.promo-icon {
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  line-height: 1;
}

.promo-icon .cms-icon-img--promo {
  height: 26px;
  width: auto;
  max-width: 40px;
  display: block;
  object-fit: contain;
}

.promo-texts {
}

.promo-label {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-value {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* SECTION COMMONS */
section {
  padding: 52px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  color: var(--text-mid);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.btn-view-all {
  display: inline-block;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-view-all:hover {
  background: var(--green-dark);
  color: white;
}

.center {
  text-align: center;
}

/* GIFT COLLECTION */
.gift-section {
  background: var(--cream);
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gift-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.gift-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}

.gift-card-img-1 {
  background: linear-gradient(135deg, #f5e9d3, #e8c97a);
}

.gift-card-img-2 {
  background: linear-gradient(135deg, #d4e8d4, #4a8c5c);
}

.gift-card-img-3 {
  background: linear-gradient(135deg, #e8d4c4, #c9843c);
}

.gift-card-img-4 {
  background: linear-gradient(135deg, #d4d4e8, #5c5ca8);
}

.gift-card-body {
  padding: 14px 16px;
}

.gift-card-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.gift-card-code {
  font-size: 12px;
  color: var(--text-light);
}

/* SPECIAL DEALS */
.deals-section {
  background: var(--white);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-mid);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  font-size: 64px;
  line-height: 1;
  background: #f5f0e8;
}

.product-card-img > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.bg-warm {
  background: linear-gradient(135deg, #fdf6ed, #e8c97a40);
}

.bg-green {
  background: linear-gradient(135deg, #eef6ee, #4a8c5c30);
}

.bg-red {
  background: linear-gradient(135deg, #fdf0ed, #c0392b20);
}

.bg-blue {
  background: linear-gradient(135deg, #edf4fd, #3498db30);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red-promo);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-badge.hot {
  background: var(--gold);
  color: var(--green-dark);
}

.product-card-body {
  padding: 14px 14px 16px;
}

.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-card-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-old {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-new {
  font-size: 16px;
  font-weight: 700;
  color: var(--red-promo);
}

.product-card-footer {
  padding: 0 14px 14px;
}

.btn-add-cart {
  width: 100%;
  background: var(--green-dark);
  color: white;
  border: none;
  padding: 9px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--green-mid);
}

/* COUPON SECTION */
.coupon-section {
  background: var(--cream-mid);
  padding: 30px 0;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coupon-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px dashed var(--green-light);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.coupon-card:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

.coupon-icon {
  font-size: 28px;
}

.coupon-code {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 1px;
}

.coupon-desc {
  font-size: 12px;
  color: var(--text-mid);
}

/* STORY SECTION */
.story-section {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    ellipse at 80% 50%,
    rgba(201, 168, 76, 0.12) 0%,
    transparent 60%
  );
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-content .section-label {
  text-align: left;
}

.story-content .section-title {
  text-align: left;
  color: var(--gold-light);
  font-size: 34px;
}

.story-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.story-img-box {
  position: relative;
}

.story-img {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2d5a3d, #4a8c5c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  box-shadow: var(--shadow-lg);
}

.story-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--gold);
  color: var(--green-dark);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-md);
}

/* NEST PRODUCTS */
.nest-section {
  background: var(--cream);
}

.nest-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nest-tab {
  padding: 8px 18px;
  border: 2px solid var(--green-light);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.nest-tab.active,
.nest-tab:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}

.nest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

/* WHY US */
.why-section {
  background: var(--white);
  padding: 48px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

.why-item {
  text-align: center;
  padding: 20px 12px;
  transition: var(--transition);
  border-radius: var(--radius);
}

.why-item:hover {
  background: var(--cream);
  transform: translateY(-4px);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  line-height: 1;
}

.why-icon .cms-icon-img--why {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.why-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.why-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* TESTIMONIALS */
.testimonials-section {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-mid);
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
}

.testimonial-text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
}

/* NEWS */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.news-img-1 {
  background: linear-gradient(135deg, #fdf6ed, #e8c97a50);
}

.news-img-2 {
  background: linear-gradient(135deg, #eef6ee, #4a8c5c40);
}

.news-img-3 {
  background: linear-gradient(135deg, #fdf0ed, #c0392b20);
}

.news-card-body {
  padding: 18px;
}

.news-date {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    padding: 0 14px;
  }

  .nav-inner {
    gap: 12px;
  }

  .menu-inner {
    flex-wrap: wrap;
  }

  .menu-item {
    padding: 12px 12px;
    font-size: 12px;
  }

  .dropdown-content {
    min-width: 160px;
    max-width: min(80vw, 260px);
  }

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nest-tabs-track {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nest-tabs-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .nest-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .nest-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-inner {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .topbar-right {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-nav {
    padding: 10px 0;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-image {
    width: 58px;
    height: 58px;
  }

  .nav-icons {
    margin-left: auto;
    gap: 10px;
  }

  .search-bar {
    display: none;
  }

  .nav-icons .nav-icon-item .label {
    display: none;
  }

  .main-menu {
    display: none;
  }

  .main-menu.open {
    display: block;
  }

  .menu-inner {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 27px;
  }

  .hero-content {
    padding: 0 18px;
    max-width: 100%;
  }

  .hero-banner {
    height: 300px;
  }

  .hero-desc {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-btns {
    gap: 10px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .promo-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-item {
    min-height: 76px;
    padding: 11px 10px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .promo-icon {
    font-size: 20px;
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  }

  .promo-label {
    font-size: 10px;
  }

  .promo-value {
    font-size: 11px;
  }

  .coupon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-inner {
    grid-template-columns: 1fr;
  }

  .story-img {
    height: 240px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-contact p {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col-title {
    margin-bottom: 0;
  }

  .footer-col:not(.footer-collapsible) .footer-col-title {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .payment-icons {
    margin-top: 8px;
    margin-bottom: 10px;
    justify-content: flex-start;
    gap: 7px;
  }

  .pay-icon {
    min-width: 0;
    height: auto;
    padding: 0;
  }

  .pay-icon img {
    height: 22px;
    max-width: 72px;
  }

  .pay-icon-money {
    padding: 2px 4px;
  }

  .pay-icon-money img {
    height: 18px;
    max-width: 64px;
  }

  .footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .footer-toggle::after {
    content: "▾";
    font-size: 14px;
    color: var(--gold-light);
    transition: transform 0.2s ease;
  }

  .footer-collapsible-content {
    display: none;
    padding-top: 8px;
  }

  .footer-collapsible.is-open .footer-collapsible-content {
    display: block;
  }

  .footer-collapsible.is-open .footer-toggle::after {
    transform: rotate(180deg);
  }

  .story-content .story-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }

  .story-content .story-text:nth-of-type(n + 2) {
    display: none;
  }

  .nest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 12px;
    overflow: visible;
    padding-right: 0;
    scroll-snap-type: none;
  }

  .deals-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 48%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .deals-grid .product-card {
    scroll-snap-align: start;
  }

  .deals-grid .product-card-img,
  .nest-grid .product-card-img {
    aspect-ratio: 1 / 1;
    font-size: 46px;
  }

  .deals-grid .product-card-body,
  .nest-grid .product-card-body {
    padding: 10px 10px 12px;
  }

  .deals-grid .product-card-name,
  .nest-grid .product-card-name {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
  }

  .deals-grid .product-card-sub,
  .nest-grid .product-card-sub {
    font-size: 11px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .deals-grid .price-old,
  .nest-grid .price-old {
    font-size: 11px;
  }

  .deals-grid .price-new,
  .nest-grid .price-new {
    font-size: 14px;
  }

  .deals-grid .product-card-footer,
  .nest-grid .product-card-footer {
    padding: 0 10px 10px;
  }

  .deals-grid .btn-add-cart,
  .nest-grid .btn-add-cart {
    padding: 7px;
    font-size: 12px;
  }

  .deals-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar {
    height: 6px;
  }

  .testimonials-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    padding-right: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-card {
    scroll-snap-align: start;
    padding: 14px;
  }

  .testimonial-header {
    margin-bottom: 8px;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .testimonial-name {
    font-size: 13px;
  }

  .testimonial-stars {
    font-size: 12px;
  }

  .testimonial-text {
    font-size: 12.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .deals-grid::after,
  .nest-grid::after,
  .testimonials-grid::after {
    content: "";
    width: 2px;
  }

  .news-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .news-card:first-child .news-card-img {
    height: 210px;
  }

  .news-card:not(:first-child) {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: stretch;
  }

  .news-card:not(:first-child) .news-card-img {
    height: 100%;
    min-height: 88px;
  }

  .news-card:not(:first-child) .news-card-body {
    padding: 10px 12px;
  }

  .news-card:not(:first-child) .news-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .news-card:not(:first-child) .news-excerpt {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .topbar {
    font-size: 12px;
  }

  .nav-icon-item .icon {
    font-size: 18px;
  }

  .hero-banner {
    height: 260px;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .hero-content {
    padding: 0 14px;
  }

  .hero-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-desc {
    margin-bottom: 10px;
  }

  .btn-primary,
  .btn-outline {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 22px;
  }

  .deals-grid {
    grid-auto-columns: minmax(156px, 58%);
    padding-right: 12px;
    scroll-padding-right: 12px;
  }

  .nest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .deals-grid .product-card-img,
  .nest-grid .product-card-img {
    aspect-ratio: 1 / 1;
  }

  .deals-grid .product-card-name,
  .nest-grid .product-card-name {
    font-size: 12.5px;
    min-height: 33px;
  }

  .deals-grid .btn-add-cart,
  .nest-grid .btn-add-cart {
    font-size: 11.5px;
    padding: 6px;
  }

  .testimonials-grid {
    grid-auto-columns: minmax(86%, 1fr);
  }

  .testimonial-card {
    padding: 12px;
  }

  .testimonial-text {
    -webkit-line-clamp: 2;
  }

  .news-card:first-child .news-card-img {
    height: 180px;
  }

  .news-card:not(:first-child) {
    grid-template-columns: 96px 1fr;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }

  .nest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-inner {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .promo-item {
    min-height: 74px;
    padding: 10px 8px;
  }

  .promo-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .promo-item:nth-child(3),
  .promo-item:nth-child(4) {
    border-bottom: none;
  }

  .coupon-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CMS: ảnh khớp khung, slider ảnh nền, v.v. --- */
.hero-slide-bg-photo {
  filter: brightness(0.65);
  background-size: cover;
  background-position: center;
}

.gift-card-img--product {
  height: auto;
  min-height: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.gift-card-img--product img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

.story-img--photo {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  display: block;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.story-img--photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.story-body-cms p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.partner-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.partner-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.testimonial-avatar--img {
  padding: 0;
  overflow: hidden;
}

.testimonial-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
