/* ==========================================
   pc-layout.scss.bwt — Header & Footer
   Mirrors: websitePharmaCosmetics/styles.css
   ========================================== */

/* ==========================================
   Top Bar
   ========================================== */

.pc-top-bar {
  background-color: var(--pc-green);
  padding: var(--pc-sm) 0;
}
.pc-top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pc-top-bar__text {
  color: var(--pc-white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pc-top-bar__right {
  display: flex;
  align-items: center;
  gap: var(--pc-md);
  flex-shrink: 0;
}
.pc-top-bar__zalo {
  display: flex;
  align-items: center;
  gap: var(--pc-xs);
  color: var(--pc-white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.pc-top-bar__sep { color: rgba(255,255,255,0.5); }
.pc-top-bar__hotline {
  display: flex;
  align-items: center;
  gap: var(--pc-sm);
  font-size: 13px;
  color: var(--pc-white);
}
.pc-top-bar__hotline a { color: var(--pc-white); font-weight: 600; text-decoration: none; }

/* ==========================================
   Main Header
   ========================================== */

.pc-main-header {
  background-color: var(--pc-green);
  padding: var(--pc-lg) 0;
  box-shadow: var(--pc-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.pc-main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--pc-lg);
}

/* Logo */
.pc-logo {
  display: flex;
  align-items: center;
  gap: var(--pc-sm);
  text-decoration: none;
  flex-shrink: 0;
}
.pc-logo__icon {
  width: 48px; height: 48px;
  background-color: var(--pc-white);
  border-radius: var(--pc-r-md);
  display: flex; align-items: center; justify-content: center;
}
.pc-logo__icon i { font-size: 28px; color: var(--pc-green); }
.pc-logo__text { display: flex; flex-direction: column; gap: 2px; }
.pc-logo__brand { font-size: 20px; font-weight: 700; color: var(--pc-white); line-height: 1.2; }
.pc-logo__tagline { font-size: 12px; color: rgba(255,255,255,0.8); }

/* Search */
.pc-search {
  flex: 1;
  max-width: 550px;
  display: flex;
  background-color: var(--pc-white);
  border-radius: var(--pc-r-lg);
  overflow: hidden;
  box-shadow: var(--pc-shadow-sm);
}
.pc-search input {
  flex: 1;
  padding: var(--pc-md) var(--pc-lg);
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--pc-font);
  color: var(--pc-dark);
  outline: none;
}
.pc-search input::placeholder { color: var(--pc-light); }
.pc-search button {
  padding: var(--pc-md) var(--pc-lg);
  background: transparent;
  border: none;
  color: var(--pc-gray);
  cursor: pointer;
  transition: color var(--pc-fast);
}
.pc-search button:hover { color: var(--pc-green); }

/* Header actions */
.pc-header-actions { display: flex; align-items: center; gap: var(--pc-md); flex-shrink: 0; }
.pc-btn-account,
.pc-btn-cart {
  display: flex;
  align-items: center;
  gap: var(--pc-sm);
  padding: var(--pc-sm) var(--pc-md);
  border-radius: var(--pc-r-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--pc-white);
  background-color: rgba(255,255,255,0.15);
  transition: all var(--pc-fast);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--pc-font);
}
.pc-btn-account:hover,
.pc-btn-cart:hover { background-color: rgba(255,255,255,0.25); color: var(--pc-white); }
.pc-btn-cart { position: relative; }
.pc-cart-count {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background-color: var(--pc-red);
  color: var(--pc-white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================
   Nav Bar
   ========================================== */

.pc-nav {
  background-color: var(--pc-green);
  border-top: 1px solid rgba(255,255,255,0.15);
  height: 45px;
}
.pc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--pc-xl);
}
.pc-nav__links {
  display: flex;
  gap: var(--pc-xl);
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}
.pc-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pc-white);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: opacity var(--pc-fast);
}
.pc-nav__links a:hover,
.pc-nav__links a.active { opacity: 0.85; }
.pc-nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background-color: var(--pc-white);
}
.pc-btn-points {
  display: flex;
  align-items: center;
  gap: var(--pc-sm);
  padding: 6px var(--pc-lg);
  background-color: var(--pc-yellow);
  color: var(--pc-dark);
  border-radius: var(--pc-r-lg);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all var(--pc-fast);
  white-space: nowrap;
}
.pc-btn-points:hover { background-color: #f0c87a; transform: translateY(-1px); color: var(--pc-dark); }

/* ==========================================
   Footer
   ========================================== */

.pc-footer {
  background-color: var(--pc-green);
  padding: var(--pc-3xl) 0 var(--pc-lg);
}
.pc-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--pc-2xl);
  padding-bottom: var(--pc-xl);
}
.pc-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--pc-sm);
  margin-bottom: var(--pc-lg);
}
.pc-footer__logo-icon {
  width: 48px; height: 48px;
  background-color: var(--pc-white);
  border-radius: var(--pc-r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pc-footer__logo-icon i { font-size: 28px; color: var(--pc-green); }
.pc-footer__brand-name { display: block; font-size: 20px; font-weight: 700; color: var(--pc-white); line-height: 1.2; }
.pc-footer__brand-tagline { display: block; font-size: 12px; color: rgba(255,255,255,0.8); }
.pc-footer__desc { font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: var(--pc-lg); }
.pc-footer__contact p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: var(--pc-xs); }
.pc-footer__contact strong { color: var(--pc-white); }
.pc-footer__contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.pc-footer__contact a:hover { color: var(--pc-white); }
.pc-footer__links h4 { font-size: 14px; font-weight: 700; color: var(--pc-white); margin-bottom: var(--pc-lg); text-transform: uppercase; letter-spacing: 0.5px; }
.pc-footer__links ul { list-style: none; margin: 0; padding: 0; }
.pc-footer__links li { margin-bottom: var(--pc-sm); }
.pc-footer__links a { font-size: 13px; color: rgba(255,255,255,0.85); text-decoration: none; transition: color var(--pc-fast); }
.pc-footer__links a:hover { color: var(--pc-white); }
.pc-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pc-lg) 0 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.pc-footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.85); }
.pc-footer__legal { display: flex; gap: var(--pc-xl); }
.pc-footer__legal a { font-size: 13px; color: rgba(255,255,255,0.85); text-decoration: none; transition: color var(--pc-fast); }
.pc-footer__legal a:hover { color: var(--pc-white); }

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 992px) {
  .pc-main-header__inner { flex-wrap: wrap; }
  .pc-search { order: 3; max-width: 100%; width: 100%; margin-top: var(--pc-md); }
  .pc-footer__main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pc-top-bar__inner { flex-direction: column; gap: var(--pc-sm); text-align: center; }
  .pc-top-bar__text { font-size: 11px; }
  .pc-nav__links { gap: var(--pc-md); overflow-x: auto; }
  .pc-nav__links a { font-size: 13px; white-space: nowrap; }
  .pc-btn-points { display: none; }
  .pc-footer__main { grid-template-columns: 1fr; gap: var(--pc-lg); }
  .pc-footer__bottom { flex-direction: column; gap: var(--pc-md); text-align: center; }
  .pc-footer__legal { flex-wrap: wrap; justify-content: center; gap: var(--pc-md); }
}
@media (max-width: 576px) {
  .pc-btn-account span { display: none; }
  .pc-logo__icon { width: 36px; height: 36px; }
  .pc-logo__icon i { font-size: 20px; }
  .pc-logo__brand { font-size: 16px; }
}


/* Account dropdown */
.sudes-header-account { position: relative; }
.sudes-header-account ul {
  display: none;
  position: absolute;
  top: 100%; right: 0;
  background: var(--pc-white);
  border-radius: var(--pc-r-md);
  box-shadow: var(--pc-shadow-lg);
  min-width: 160px;
  z-index: 999;
  padding: var(--pc-sm) 0;
  list-style: none;
  margin: 0;
}
.sudes-header-account:hover ul { display: block; }
.li-account a {
  display: block;
  padding: var(--pc-sm) var(--pc-md);
  font-size: 14px;
  color: var(--pc-dark);
  text-decoration: none;
  transition: background var(--pc-fast);
}
.li-account a:hover { background: var(--pc-bg); color: var(--pc-green); }