/* PINZO UI — lime #C6F45B chỉ trong tài sản logo, không dùng cho nút/tab/banner. */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-xl: 24px;
  --brand: #103A2C;
  --ink: #103A2C;
  --cream: #F8F7F2;
  --selected: #E7EEEA;
  --live: #B83E36;
  --on-forest: #F8F7F2;
  --focus: 0 0 0 3px rgba(16, 58, 44, 0.28);
}

h1, h2, h3, .mkt-banner__title, .page-hero__title, .catalog__title,
.retail-hero__brand, .btn, .nav__link, .seller-header-link,
.mobile-sticky__btn span, .filter-btn {
  font-family: var(--font-display);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.header-search__input:focus-visible,
.nav__link:focus-visible,
.mobile-sticky__btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary,
.cart-drawer__foot .btn--primary,
.checkout-step-actions .btn--primary,
.product-bar .btn--primary,
.auth-submit {
  background: #103A2C;
  color: #fff;
}
.btn--primary:hover {
  background: #1a4d3c;
  color: #fff;
}

.shop-mkt .header--mkt,
.auth-header,
.checkout-top,
.product-header,
.header--sub,
.seller-header,
.admin-sidebar {
  background: #103A2C;
  color: #F8F7F2;
}

.shop-mkt .header-search__btn,
.shop-mkt .seller-header-link,
.shop-mkt .btn--header-primary,
.shop-mkt .mkt-banner__actions .btn--primary,
.seller-hero .btn--primary,
.page-hero .btn--primary {
  background: #F8F7F2;
  color: #103A2C;
  border-color: #F8F7F2;
}
.shop-mkt .header-search__btn:hover,
.shop-mkt .seller-header-link:hover,
.shop-mkt .btn--header-primary:hover,
.shop-mkt .mkt-banner__actions .btn--primary:hover,
.seller-hero .btn--primary:hover {
  background: #fff;
  color: #103A2C;
}

.shop-mkt .icon-btn,
.shop-mkt .menu-toggle,
.shop-mkt .cart-btn {
  background: transparent;
  border: 1px solid rgba(248, 247, 242, 0.28);
  color: #F8F7F2;
  box-shadow: none;
}

.shop-mkt .nav--mkt .nav__link:hover,
.shop-mkt .nav--mkt .nav__link.active,
.mobile-sticky__btn.is-active,
.mobile-sticky__btn--cart.is-active,
.filter-btn.active,
.filters--scroll .filter-btn.active,
.seller-tab.is-active,
.admin-sidebar__item.active {
  background: #E7EEEA;
  color: #103A2C;
  border-color: #E7EEEA;
}

.shop-mkt .mobile-sticky,
.mobile-sticky {
  background: #103A2C;
  border-top: 1px solid rgba(248, 247, 242, 0.18);
  color: #F8F7F2;
  grid-template-columns: repeat(4, 1fr);
}

.mobile-sticky__btn,
.shop-mkt .mobile-sticky__btn {
  color: rgba(248, 247, 242, 0.78);
  font-family: var(--font-display);
  font-weight: 600;
}

.live-badge,
.sale-badge,
.product-card__badge--sale,
.badge--sale {
  background: #B83E36;
  color: #fff;
}

.product-card {
  background: #F8F7F2;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.product-card__add {
  background: #103A2C;
  color: #fff;
}

.empty-state,
.product-not-found {
  text-align: center;
  padding: 48px 20px;
  background: #F8F7F2;
  border-radius: var(--radius-md);
}

.auth-header a,
.checkout-top a,
.product-header a,
.header--sub a,
.product-back,
.header-sub-nav a {
  color: #F8F7F2;
}

.product-header__logo img,
.auth-header__logo img,
.checkout-top__logo img,
.shop-mkt .logo__img,
.logo__img,
.seller-brand img,
.admin-sidebar__brand img,
.auth-card__logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: none;
}

.product-bar {
  background: #103A2C;
  border-top: 1px solid rgba(248, 247, 242, 0.2);
  color: #F8F7F2;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.product-bar__price strong { color: #F8F7F2; }

.account-hero {
  background: #103A2C;
  color: #F8F7F2;
  border-radius: var(--radius-md);
  padding: 20px;
}
.account-hero__name,
.account-hero__phone { color: #F8F7F2; }

.account-menu__item {
  border-radius: var(--radius-sm);
  background: #F8F7F2;
}

.checkout-top .checkout-stepper,
.checkout-top .checkout-stepper li { color: rgba(248, 247, 242, 0.78); }
.checkout-top .checkout-stepper li.is-active {
  color: #103A2C;
  background: #E7EEEA;
}

@media (max-width: 390px) {
  .shop-mkt .header__inner--mkt {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .shop-mkt .logo__img { height: 40px; }
  .mkt-banner__title { font-size: 1.6rem; }
}
@media (min-width: 1440px) {
  .shop-mkt .container { width: min(1280px, 100% - 48px); }
}
@media (min-width: 900px) {
  .shop-mkt .seller-header-link { display: inline-flex; }
}
@media (max-width: 899px) {
  .shop-mkt .seller-header-link { display: none; }
}

[data-theme="dark"] .btn--primary,
[data-theme="dark"] .product-card__add,
[data-theme="dark"] .admin-btn--primary {
  background: #103A2C;
  color: #fff;
}
[data-theme="dark"] .shop-mkt .header-search__btn,
[data-theme="dark"] .shop-mkt .seller-header-link,
[data-theme="dark"] .shop-mkt .btn--header-primary,
[data-theme="dark"] .shop-mkt .mkt-banner__actions .btn--primary,
[data-theme="dark"] .seller-hero .btn--primary,
[data-theme="dark"] .page-hero .btn--primary {
  background: #F8F7F2;
  color: #103A2C;
}
