/* ==========================================================================
   POG.VN – HEADER 2 TẦNG DESKTOP & MOBILE HEADER CHUẨN TMĐT
   ========================================================================== */

:root {
  --p1-primary: #FA4F26;
  --p1-primary-hover: #E03E17;
  --p1-primary-light: #FFF0EB;
  --p1-peach-bg: #FFF4EE;
  --p1-peach-border: #FFDECE;
  --p1-dark: #1A1B1E;
  --p1-gray: #696A6D;
  --p1-gray-light: #8A8D95;
  --p1-border: #ECECEE;
  --p1-bg-soft: #F8F9FA;
  --p1-radius-lg: 24px;
  --p1-radius-md: 16px;
  --p1-radius-pill: 99px;
  --p1-font: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.p1-body {
  font-family: var(--p1-font);
  color: var(--p1-dark);
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.p1-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. DESKTOP HEADER (≥ 993px)
   ========================================================================== */
.p1-header-2tier {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Full-width container cho Header máy tính */
.p1-header-2tier .p1-container {
  max-width: 100% !important;
  padding: 0 clamp(16px, 2.5vw, 36px) !important;
}

@media (min-width: 993px) and (max-width: 1199px) {
  .p1-header-2tier .p1-container {
    padding: 0 16px !important;
  }
  .p1-h-main .p1-container {
    gap: 16px;
  }
  .p1-h-search {
    max-width: 440px;
  }
  .p1-cat-btn {
    padding: 0 14px;
    font-size: 13px;
    height: 36px;
  }
  .p1-menu-pill {
    padding: 0 10px;
    font-size: 12.5px;
    height: 34px;
  }
  .p1-menu-pills {
    gap: 6px;
  }
}

/* ---------- TẦNG 1: MAIN ROW ---------- */
.p1-h-main {
  padding: 10px 0;
  border-bottom: 1px solid #F0F1F4;
}
.p1-h-main .p1-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.2vw, 28px);
}

.p1-h-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.p1-h-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Thanh Tìm Kiếm To Rộng Ở Giữa */
.p1-h-search {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid var(--p1-primary);
  border-radius: var(--p1-radius-pill);
  padding: 2px 3px 2px 16px;
  position: relative;
  box-shadow: 0 2px 10px rgba(250, 79, 38, 0.06);
}
.p1-h-search__icon-left {
  display: grid;
  place-items: center;
  margin-right: 8px;
  color: #9CA3AF;
  flex-shrink: 0;
}
.p1-h-search__icon-left svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.p1-h-search input[type="search"] {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--p1-font);
  font-size: 14px;
  color: var(--p1-dark);
  height: 36px;
  min-width: 0;
}
.p1-h-search input::placeholder {
  color: #9CA3AF;
}
.p1-h-search__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 20px;
  border: none;
  border-radius: var(--p1-radius-pill);
  background: var(--p1-primary);
  color: #FFFFFF;
  font-family: var(--p1-font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s ease;
}
.p1-h-search__btn:hover {
  background: var(--p1-primary-hover);
  box-shadow: 0 4px 12px rgba(250, 79, 38, 0.3);
}
.p1-h-search__btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* 2 Thẻ Pill Tiện Ích Bên Phải */
.p1-h-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.p1-util-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 6px;
  border-radius: var(--p1-radius-pill);
  background: var(--p1-peach-bg);
  border: 1px solid var(--p1-peach-border);
  text-decoration: none;
  color: var(--p1-dark);
  transition: all .2s ease;
}
.p1-util-pill:hover {
  background: #FFFFFF;
  border-color: var(--p1-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(250, 79, 38, 0.12);
}
.p1-util-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--p1-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.p1-util-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.p1-util-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.p1-util-text b {
  font-size: 13px;
  font-weight: 800;
  color: var(--p1-dark);
}
.p1-util-text small {
  font-size: 11px;
  font-weight: 500;
  color: #6B7280;
}

/* ---------- TẦNG 2: NAVBAR (NÚT CAM + 6 MENU TABS) ---------- */
.p1-h-nav {
  padding: 8px 0;
  background: #FFFFFF;
}
.p1-h-nav .p1-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p1-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--p1-radius-pill);
  background: var(--p1-primary);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(250, 79, 38, 0.25);
  transition: all .2s ease;
}
.p1-cat-btn:hover {
  background: var(--p1-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(250, 79, 38, 0.32);
}
.p1-cat-btn__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}
.p1-cat-btn__bars span {
  display: block;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}
.p1-cat-btn__arrow {
  font-size: 11px;
  margin-left: 2px;
  opacity: 0.9;
}

/* Dãy Menu Dạng Pill Tabs Sạch Sẽ (Không icon, không bị cắt chữ) */
.p1-menu-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.p1-menu-pills::-webkit-scrollbar { display: none; }

.p1-menu-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--p1-radius-pill);
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s ease;
  flex-shrink: 0;
}
.p1-menu-pill:hover {
  background: var(--p1-peach-bg);
  border-color: var(--p1-primary);
  color: var(--p1-primary);
}
.p1-menu-pill.is-active {
  background: var(--p1-peach-bg);
  border-color: var(--p1-primary);
  color: var(--p1-primary);
  font-weight: 700;
}
.p1-menu-pill--hot {
  border-color: #FFDECE;
  color: var(--p1-primary);
  background: #FFF7F4;
  font-weight: 700;
}
.p1-menu-pill--hot:hover {
  background: var(--p1-primary);
  color: #FFFFFF;
  border-color: var(--p1-primary);
}

/* ==========================================================================
   2. MOBILE HEADER (≤ 992px) - CHUẨN ĐÚNG 100% THEO ẢNH 3
   ========================================================================== */
.p1-mobile-header {
  display: none;
  background: var(--p1-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 6px 20px rgba(250, 79, 38, 0.18), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.p1-m-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px;
}

/* Nút Hamburger Menu ☰ */
.p1-m-icon-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.p1-m-icon-btn svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2.2;
}

/* Logo Mobile trắng nổi bật */
.p1-m-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.p1-m-logo img {
  height: 27px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* 2 Icon Tròn Mobile Bên Phải */
.p1-m-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.p1-m-circle-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all .2s;
}
.p1-m-circle-btn svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  stroke-width: 2.2;
  fill: none;
}
.p1-m-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #FFFFFF;
  color: var(--p1-primary);
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--p1-primary);
}

/* Hàng 2: Search Bar Mobile Bo Tròn Viên Thuốc */
.p1-m-search-wrap {
  padding: 0 16px 14px;
}
.p1-m-search {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--p1-radius-pill);
  padding: 3px 5px 3px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  height: 40px;
}
.p1-m-search-icon {
  display: grid;
  place-items: center;
  color: #9CA3AF;
  margin-right: 8px;
  flex-shrink: 0;
}
.p1-m-search-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.p1-m-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--p1-font);
  font-size: 13.5px;
  color: var(--p1-dark);
  height: 100%;
  min-width: 0;
}
.p1-m-search input::placeholder {
  color: #9CA3AF;
}
.p1-m-search-btn {
  background: var(--p1-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  padding: 0;
}
.p1-m-search-btn:hover {
  background: var(--p1-primary-hover);
}
.p1-m-search-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   MOBILE DRAWER (OFF-CANVAS)
   ========================================================================= */
.p1-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  transition: visibility .3s;
}
.p1-drawer.is-open {
  visibility: visible;
}
.p1-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity .3s;
}
.p1-drawer.is-open .p1-drawer__overlay {
  opacity: 1;
}
.p1-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(85vw, 320px);
  background: #FFFFFF;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.p1-drawer.is-open .p1-drawer__panel {
  transform: translateX(0);
}
.p1-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #F0F1F4;
}
.p1-drawer__close-btn {
  background: #F4F5F7;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
}
.p1-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.p1-drawer__account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FFF4EE;
  text-decoration: none;
  color: var(--p1-dark);
  margin-bottom: 20px;
}
.p1-drawer__avatar {
  font-size: 24px;
}
.p1-drawer__account b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.p1-drawer__account small {
  color: var(--p1-gray);
  font-size: 12px;
}
.p1-drawer__title {
  font-size: 12px;
  font-weight: 800;
  color: var(--p1-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.p1-drawer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p1-drawer__menu li a {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
}
.p1-drawer__menu li a.is-hot {
  color: var(--p1-primary);
  font-weight: 700;
}
.p1-drawer__foot {
  padding: 16px 20px;
  border-top: 1px solid #F0F1F4;
}
.p1-drawer__call {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 99px;
  background: var(--p1-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* ==========================================================================
   HERO BANNER TOÀN CẢNH (WIDE LIFESTYLE HERO)
   ========================================================================== */
.p1-hero {
  padding: 14px 0 0;
}
.p1-hero__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  border-radius: var(--p1-radius-lg);
  background: linear-gradient(135deg, #FFF6F2 0%, #FFFFFF 52%, #FFF0EA 100%);
  border: 1px solid rgba(250, 79, 38, 0.14);
  box-shadow: 0 20px 48px -12px rgba(250, 79, 38, 0.08), 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  min-height: 480px;
}
.p1-hero__card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 79, 38, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.p1-hero__text {
  padding: 56px 48px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.p1-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--p1-radius-pill);
  background: #FFF0EB;
  border: 1px solid rgba(250, 79, 38, 0.2);
  color: var(--p1-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.p1-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p1-primary);
  box-shadow: 0 0 0 3px rgba(250, 79, 38, 0.2);
}
.p1-hero__title {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--p1-dark);
  margin-bottom: 16px;
}
.p1-hero__title-highlight {
  color: var(--p1-primary);
}
.p1-hero__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--p1-gray);
  max-width: 520px;
  margin-bottom: 24px;
}
.p1-hero__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.p1-hero__price-current {
  font-size: 34px;
  font-weight: 800;
  color: var(--p1-primary);
  letter-spacing: -0.02em;
}
.p1-hero__price-old {
  font-size: 18px;
  font-weight: 500;
  color: var(--p1-gray-light);
  text-decoration: line-through;
}
.p1-hero__discount {
  background: var(--p1-primary);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
}
.p1-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.p1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--p1-radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.p1-btn--primary {
  background: var(--p1-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(250, 79, 38, 0.28);
}
.p1-btn--primary:hover {
  background: var(--p1-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(250, 79, 38, 0.36);
}
.p1-btn--primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform .2s;
}
.p1-btn--primary:hover svg {
  transform: translateX(4px);
}
.p1-btn--outline {
  background: #FFFFFF;
  border: 1.5px solid #D9DCE1;
  color: var(--p1-dark);
}
.p1-btn--outline:hover {
  border-color: var(--p1-primary);
  color: var(--p1-primary);
  transform: translateY(-2px);
}
.p1-hero__micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #555860;
}
.p1-hero__micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.p1-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
}
.p1-hero__img-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.p1-hero__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.12));
  transition: transform .4s ease;
}
.p1-hero__card:hover .p1-hero__img {
  transform: scale(1.03);
}
.p1-hero__floating-card {
  position: absolute;
  bottom: 36px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--p1-radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 3;
}
.p1-hero__floating-stars {
  color: #FA8C16;
  font-size: 14px;
  letter-spacing: 2px;
}
.p1-hero__floating-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.p1-hero__floating-info strong {
  font-size: 16px;
  color: #111214;
}
.p1-hero__floating-info span {
  font-size: 12px;
  color: var(--p1-gray);
}

/* ================= 4 CAM KẾT VÀNG ================= */
.p1-benefits {
  padding: 24px 0 0;
}
.p1-benefits__wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--p1-border);
  border-radius: var(--p1-radius-md);
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.p1-benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.p1-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--p1-primary-light);
  color: var(--p1-primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.p1-benefit-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--p1-dark);
  margin-bottom: 2px;
}
.p1-benefit-info p {
  font-size: 12.5px;
  color: var(--p1-gray);
  margin: 0;
}

/* ================= CÁC KỆ SẢN PHẨM ================= */
.p1-section {
  padding: 48px 0 0;
}
.p1-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.p1-section__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--p1-dark);
}
.p1-section__more {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--p1-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.p1-section__more:hover {
  text-decoration: underline;
}
.p1-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p1-pcard {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--p1-border);
  border-radius: var(--p1-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
}
.p1-pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 79, 38, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}
.p1-pcard__thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--p1-bg-soft);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.p1-pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
}
.p1-pcard:hover .p1-pcard__thumb img {
  transform: scale(1.05);
}
.p1-pcard__discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--p1-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  z-index: 2;
}
.p1-pcard__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--p1-dark);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.p1-pcard:hover .p1-pcard__title {
  color: var(--p1-primary);
}
.p1-pcard__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.p1-pcard__price {
  display: flex;
  flex-direction: column;
}
.p1-pcard__price-now {
  font-size: 17px;
  font-weight: 800;
  color: var(--p1-primary);
}
.p1-pcard__price-was {
  font-size: 13px;
  color: var(--p1-gray-light);
  text-decoration: line-through;
}
.p1-pcard__add {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--p1-primary-light);
  color: var(--p1-primary);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.p1-pcard__add:hover {
  background: var(--p1-primary);
  color: #FFFFFF;
}
.p1-pcard__add svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ================= BANNER TRÀ PHƯỚC LẠC ================= */
.p1-tea-promo {
  margin-top: 48px;
  background: #FFF9F3;
  border: 1px solid #FFE4D0;
  border-radius: var(--p1-radius-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
}
.p1-tea-promo h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111214;
}
.p1-tea-promo p {
  font-size: 16px;
  line-height: 1.6;
  color: #555860;
  margin-bottom: 24px;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 576px) and (max-width: 992px) {
  /* Tinh chỉnh Header Mobile trên Tablet: Gom gọn tìm kiếm cân đối ở giữa, không bị bè ngang */
  .p1-mobile-header .p1-m-top,
  .p1-mobile-header .p1-m-search-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 992px) {
  /* Ẩn Header máy tính */
  .p1-header-2tier {
    display: none !important;
  }
  /* Hiện Header Mobile chuẩn TMĐT */
  .p1-mobile-header {
    display: block !important;
  }
  
  .p1-hero { padding: 10px 0 0; }
  .p1-hero__card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .p1-hero__text { padding: 28px 20px; }
  .p1-hero__title { font-size: 26px; }
  .p1-hero__pricing { flex-wrap: wrap; margin-bottom: 20px; }
  .p1-hero__price-current { font-size: 26px; }
  .p1-hero__visual { padding: 10px 20px 32px; }
  .p1-hero__actions { flex-direction: column; width: 100%; gap: 10px; }
  .p1-btn { width: 100%; }
  
  .p1-benefits__wrap {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .p1-products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .p1-tea-promo {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}
