/* ==========================================================================
   Tneen Herbs — iHerb.com-style retail overrides
   Brand: forest #0B301A · moss #76A03B · cream #F5F5E9
   Loaded AFTER amazon-theme.css. Keeps existing IDs / az-* hooks.
   ========================================================================== */
:root {
  --ih-forest: #0B301A;
  --ih-moss: #76A03B;
  --ih-moss-dark: #5f8530;
  --ih-moss-deep: #4d6c27;
  --ih-cream: #F5F5E9;
  --ih-page: #ffffff;
  --ih-bg: #f7f7f7;
  --ih-text: #1a1a1a;
  --ih-muted: #666666;
  --ih-border: #e0e0e0;
  --ih-border-soft: #ececec;
  --ih-link: #0B301A;
  --ih-price: #0B301A;
  --ih-star: #f5a623;
  --ih-util-bg: #0B301A;
  --ih-header-bg: #ffffff;
  --ih-nav-bg: #f3f6f0;
  --ih-radius: 6px;
  --ih-radius-lg: 10px;
  --ih-shadow: 0 1px 3px rgba(11, 48, 26, 0.06);
  --ih-shadow-md: 0 2px 8px rgba(11, 48, 26, 0.08);

  --az-bg: var(--ih-bg);
  --az-page: var(--ih-page);
  --az-text: var(--ih-text);
  --az-muted: var(--ih-muted);
  --az-link: var(--ih-moss-dark);
  --az-link-hover: var(--ih-forest);
  --az-border: var(--ih-border);
  --az-price: var(--ih-price);
  --az-star: var(--ih-star);
  --az-nav: var(--ih-forest);
  --az-nav-2: #123d22;
  --az-nav-3: #1a4d2e;
  --az-search: var(--ih-moss);
  --az-atc: var(--ih-moss);
  --az-atc-border: var(--ih-moss-dark);
  --az-buy: var(--ih-forest);
  --az-buy-border: #082416;
  --az-success: #2e7d32;
}

body {
  background: var(--ih-bg) !important;
  color: var(--ih-text) !important;
}

/* ——— Utility bar ——— */
.ih-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 1rem;
  background: var(--ih-util-bg);
  color: #e8f0e4;
  font-size: 0.72rem;
  line-height: 1.2;
}
.ih-utility-left,
.ih-utility-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.ih-utility-bar a,
.ih-utility-bar button {
  color: #e8f0e4 !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.92;
}
.ih-utility-bar a:hover,
.ih-utility-bar button:hover {
  opacity: 1;
  text-decoration: underline;
}
.ih-utility-ships {
  font-weight: 600;
  color: #fff !important;
  opacity: 1 !important;
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .ih-utility-bar {
    padding: 0.25rem 0.65rem;
    font-size: 0.68rem;
  }
  .ih-utility-right .ih-util-hide-sm {
    display: none;
  }
}

/* ——— Main header (white iHerb chrome) ——— */
#store-header,
header#store-header,
.az-topnav,
.az-header {
  background: var(--ih-header-bg) !important;
  color: var(--ih-text) !important;
  border-bottom: 1px solid var(--ih-border) !important;
  box-shadow: var(--ih-shadow) !important;
  display: block !important;
  padding: 0 !important;
}
.az-topnav-inner,
.ih-main-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.65rem !important;
  min-height: 64px;
  background: var(--ih-header-bg);
  max-width: 1400px;
  margin: 0 auto;
}
#store-header .az-header-brand,
#store-header .az-header-brand:hover {
  color: var(--ih-forest) !important;
  border-color: transparent !important;
}
#store-header .az-brand-name {
  color: var(--ih-forest) !important;
  font-size: 1.05rem;
  font-weight: 800;
}
#store-header .az-brand-tag {
  color: var(--ih-moss) !important;
  font-weight: 600;
}
#store-header .brand-mark {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 8px !important;
}
.az-header-back {
  color: var(--ih-forest) !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: 999px !important;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
}

/* Ships to UAE badge (replaces Amazon deliver-to) */
.az-deliver-btn,
.ih-ships-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  max-width: none;
  padding: 0.35rem 0.65rem !important;
  background: #f3f6f0 !important;
  border: 1px solid #cfe0c4 !important;
  border-radius: 999px !important;
  color: var(--ih-forest) !important;
  white-space: nowrap;
}
.az-deliver-btn:hover,
.ih-ships-btn:hover {
  border-color: var(--ih-moss) !important;
  background: #eaf2e3 !important;
}
.az-deliver-pin {
  color: var(--ih-moss) !important;
  margin-top: 0 !important;
  width: 0.95rem !important;
  height: 0.95rem !important;
}
.az-deliver-line1,
.ih-ships-line1 {
  font-size: 0.65rem !important;
  color: var(--ih-muted) !important;
  font-weight: 500;
}
.az-deliver-line2,
#currency-badge,
.ih-ships-line2 {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--ih-forest) !important;
}
@media (max-width: 899px) {
  .az-deliver-btn,
  .ih-ships-btn {
    display: none !important;
  }
}

/* Search — wide centered, moss button */
#store-header form#search-form,
.az-search-form {
  flex: 1 1 auto;
  max-width: 720px;
  margin: 0 auto;
}
.az-search-dept {
  display: none !important;
}
.az-search-field,
.az-search-shell {
  border-radius: 999px !important;
  border: 1px solid #c5c5c5 !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
}
.az-search-shell:focus-within,
.az-search-field:focus-within {
  border-color: var(--ih-moss) !important;
  box-shadow: 0 0 0 3px rgba(118, 160, 59, 0.22) !important;
}
#store-header .az-search-shell input,
#search-input,
.az-search-form input[type="search"] {
  background: transparent !important;
  color: var(--ih-text) !important;
  font-size: 0.92rem !important;
}
.az-search-icon {
  color: #999 !important;
}
#store-header .az-search-submit,
.az-search-submit {
  background: var(--ih-moss) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 0 999px 999px 0 !important;
  min-width: 3rem;
  height: 100%;
}
#store-header .az-search-submit:hover,
.az-search-submit:hover {
  background: var(--ih-moss-dark) !important;
}
.az-search-suggest {
  background: #fff !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: var(--ih-radius) !important;
  box-shadow: var(--ih-shadow-md) !important;
  color: var(--ih-text) !important;
}

/* Header actions */
.az-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.az-header-lang,
.az-header-orders {
  display: none !important;
}
.az-header-account,
#user-header-profile,
.az-header-wish,
.az-header-notif,
.az-header-cart {
  color: var(--ih-forest) !important;
  border: 1px solid transparent !important;
  border-radius: var(--ih-radius) !important;
  background: transparent !important;
}
.az-header-account:hover,
.az-header-wish:hover,
.az-header-notif:hover,
.az-header-cart:hover {
  background: #f3f6f0 !important;
  border-color: #d7e5cc !important;
}
.az-nav-eyebrow {
  color: var(--ih-muted) !important;
  font-size: 0.65rem !important;
}
.az-nav-strong {
  color: var(--ih-forest) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
}
.az-header-wish,
.az-header-notif {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--ih-forest) !important;
}
.az-header-cart {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem !important;
}
.az-cart-icon {
  color: var(--ih-forest) !important;
  width: 1.45rem !important;
  height: 1.45rem !important;
}
.az-cart-label {
  color: var(--ih-forest) !important;
  font-weight: 700;
  font-size: 0.78rem;
}
.az-cart-count,
#cart-badge {
  background: var(--ih-moss) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-weight: 800;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.65rem;
}
#notif-badge {
  background: var(--ih-moss) !important;
  color: #fff !important;
}
@media (max-width: 1023px) {
  .az-header-wish,
  .az-header-notif {
    display: none !important;
  }
  .az-cart-label {
    display: none;
  }
}

/* Soften / hide Amazon deliver strip */
.az-deliver-strip {
  background: #f3f6f0 !important;
  color: var(--ih-forest) !important;
  border-bottom: 1px solid #dce8d4 !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 0.85rem !important;
}
.az-deliver-strip b {
  color: var(--ih-forest);
}

/* ——— Category / nav strip ——— */
.az-nav-sub {
  background: var(--ih-nav-bg) !important;
  border-bottom: 1px solid #dce8d4 !important;
  color: var(--ih-text) !important;
  gap: 0.15rem;
  padding: 0.35rem 0.65rem !important;
  overflow-x: auto;
}
.az-nav-sub button,
.az-nav-sub a,
.az-nav-sub .az-nav-link {
  color: var(--ih-forest) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.7rem !important;
  white-space: nowrap;
}
.az-nav-sub button:hover,
.az-nav-sub a:hover {
  background: #fff !important;
  border-color: #cfe0c4 !important;
}
.az-nav-all {
  background: #fff !important;
  border-color: #cfe0c4 !important;
}
.az-nav-promo {
  margin-left: auto;
  background: transparent !important;
  border: 0 !important;
  color: var(--ih-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
}
.az-nav-promo strong {
  color: var(--ih-moss-dark) !important;
}

/* Home category chips */
#home-category-strip .cat-chip {
  background: #fff !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: 999px !important;
  color: var(--ih-forest) !important;
  box-shadow: var(--ih-shadow);
  padding: 0.45rem 0.85rem !important;
  font-weight: 600;
  font-size: 0.78rem;
}
#home-category-strip .cat-chip:hover {
  border-color: var(--ih-moss) !important;
  color: var(--ih-moss-dark) !important;
}
#home-category-strip .cat-chip i,
#home-category-strip .cat-chip [data-lucide] {
  color: var(--ih-moss) !important;
}

/* ——— Buttons ——— */
.az-btn,
.az-btn-atc,
.az-list-atc,
.az-filters-show,
.az-co-place,
.az-cart-proceed-top {
  background: var(--ih-moss) !important;
  border: 1px solid var(--ih-moss-dark) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.az-btn-atc:hover,
.az-list-atc:hover,
.az-co-place:hover,
.az-filters-show:hover {
  background: var(--ih-moss-dark) !important;
}
.az-btn-buy,
.ih-btn-buy {
  background: var(--ih-forest) !important;
  border: 1px solid #082416 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.az-btn-buy:hover,
.ih-btn-buy:hover {
  background: #123d22 !important;
}
.az-btn-ghost,
.ih-btn-outline {
  background: #fff !important;
  border: 1.5px solid var(--ih-moss) !important;
  color: var(--ih-moss-dark) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.az-btn-ghost:hover,
.ih-btn-outline:hover {
  background: #f3f6f0 !important;
}

/* ——— Product cards ——— */
.product-card,
.az-card,
.ih-card {
  background: #fff !important;
  border: 1px solid var(--ih-border-soft) !important;
  border-radius: var(--ih-radius-lg) !important;
  box-shadow: var(--ih-shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover,
.az-card:hover,
.ih-card:hover {
  border-color: #cfe0c4 !important;
  box-shadow: var(--ih-shadow-md);
}
.ih-card-brand,
.product-card .ih-card-brand {
  color: var(--ih-moss-dark) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.ih-card-title,
.product-card h3 {
  color: var(--ih-text) !important;
  font-size: 0.8rem !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ih-card-price,
.product-card .ih-card-price,
.az-card-price,
.az-list-price {
  color: var(--ih-price) !important;
  font-weight: 800 !important;
}
.ih-card-was,
.az-list-was {
  color: var(--ih-muted) !important;
  text-decoration: line-through;
  font-size: 0.75rem;
}
.ih-card-stars,
.az-list-stars,
.az-stars {
  color: var(--ih-star) !important;
}
.ih-card-atc {
  margin-top: auto;
  width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--ih-moss);
  background: #fff;
  color: var(--ih-moss-dark);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.ih-card-atc:hover {
  background: var(--ih-moss);
  color: #fff;
}
.az-product-grid {
  gap: 0.85rem !important;
}
.amazon-section,
#for-you-section {
  background: #fff !important;
  border: 1px solid var(--ih-border-soft) !important;
  border-radius: var(--ih-radius-lg) !important;
  box-shadow: var(--ih-shadow);
}
#home-banner-carousel {
  border-radius: var(--ih-radius-lg);
  border: 1px solid var(--ih-border-soft);
  background: #fff;
}

/* Search filters — lighter sidebar */
.az-filters-panel,
.az-filters {
  background: #fff !important;
  border-color: var(--ih-border-soft) !important;
  color: var(--ih-text) !important;
}
.az-filters-cat.is-active {
  background: #f3f6f0 !important;
  color: var(--ih-forest) !important;
  border-left-color: var(--ih-moss) !important;
}
.az-filters-show {
  border-radius: 999px !important;
}
.az-filter-open-btn {
  background: #fff !important;
  border: 1px solid var(--ih-border) !important;
  color: var(--ih-forest) !important;
  border-radius: 999px !important;
}
#search-view-grid,
#search-view-list {
  border-color: var(--ih-border) !important;
  color: var(--ih-forest) !important;
  border-radius: 6px !important;
}
#search-view-grid.text-amber-400,
#search-view-grid.border-amber-500\/40 {
  border-color: var(--ih-moss) !important;
  color: var(--ih-moss-dark) !important;
  background: #f3f6f0;
}

/* ——— PDP layout ——— */
.az-pdp-shell,
.az-pdp-root,
.az-pdp {
  background: #fff !important;
}
.az-pdp-topbar .az-back {
  color: var(--ih-moss-dark) !important;
}
.az-trust {
  background: #f3f6f0 !important;
  border: 1px solid #d7e5cc !important;
  border-radius: var(--ih-radius) !important;
  color: var(--ih-forest) !important;
}
.az-trust-badge {
  background: var(--ih-moss) !important;
  color: #fff !important;
}
.az-grid {
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (min-width: 1100px) {
  .az-grid {
    grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.2fr) minmax(220px, 0.72fr);
  }
}
.az-gallery,
.az-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.az-gallery .az-thumbs,
.ih-thumbs {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: none;
  overflow: visible;
}
.az-main-stage,
.ih-main-stage {
  order: 1;
  border: 1px solid var(--ih-border-soft);
  border-radius: var(--ih-radius-lg);
  background: #fff;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.az-main-stage img,
.ih-main-stage img {
  max-height: 420px;
  object-fit: contain;
}
.az-thumb,
.ih-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--ih-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.az-thumb.is-active,
.ih-thumb.is-active {
  border-color: var(--ih-moss) !important;
  box-shadow: 0 0 0 2px rgba(118, 160, 59, 0.25);
}
.az-brand-link,
.ih-brand-link {
  color: var(--ih-moss-dark) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-decoration: none;
}
.az-brand-link:hover,
.ih-brand-link:hover {
  text-decoration: underline;
  color: var(--ih-forest) !important;
}
.az-title,
.ih-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-weight: 700 !important;
  color: var(--ih-text) !important;
  line-height: 1.3 !important;
  margin: 0.35rem 0 0.5rem !important;
}
.az-rating-row {
  color: var(--ih-muted);
}
.az-rating-num,
.az-rating-count {
  color: var(--ih-moss-dark) !important;
}
.az-price-block .az-price,
.az-buybox .az-price,
.ih-price {
  color: var(--ih-price) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
}
.ih-list-price {
  color: var(--ih-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-left: 0.4rem;
}
.az-avail {
  color: var(--ih-success, #2e7d32) !important;
  font-weight: 700;
}
.az-ships {
  color: var(--ih-muted) !important;
  font-size: 0.8rem;
}
.az-buybox {
  border: 1px solid var(--ih-border) !important;
  border-radius: var(--ih-radius-lg) !important;
  background: #fff !important;
  box-shadow: var(--ih-shadow);
  padding: 1rem !important;
}
.az-qty-row,
.ih-qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}
.ih-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ih-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.ih-qty-stepper button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: #f7f7f7;
  color: var(--ih-forest);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.ih-qty-stepper button:hover {
  background: #eaf2e3;
}
.ih-qty-stepper span,
#pdp-qty-display.ih-qty-val {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.az-qty-select,
#pdp-qty-select {
  border: 1px solid var(--ih-border);
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
  background: #fff;
}
.az-buybox .az-btn {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.7rem 1rem !important;
  font-size: 0.95rem !important;
}
.az-secure,
.az-fulfill {
  font-size: 0.75rem;
  color: var(--ih-muted);
}
.az-fulfill b {
  color: var(--ih-forest);
}

/* PDP accordion */
.ih-accordion {
  margin-top: 1.5rem;
  border: 1px solid var(--ih-border-soft);
  border-radius: var(--ih-radius-lg);
  overflow: hidden;
  background: #fff;
}
.ih-acc-item {
  border-bottom: 1px solid var(--ih-border-soft);
}
.ih-acc-item:last-child {
  border-bottom: 0;
}
.ih-acc-item > summary,
.ih-acc-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ih-forest);
  background: #fafbfa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ih-acc-item > summary::-webkit-details-marker {
  display: none;
}
.ih-acc-item > summary::after,
.ih-acc-summary::after {
  content: '+';
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ih-moss);
  line-height: 1;
}
.ih-acc-item[open] > summary::after,
.ih-acc-item[open] .ih-acc-summary::after {
  content: '−';
}
.ih-acc-body {
  padding: 0.85rem 1.1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ih-text);
}
.ih-acc-body .az-table,
.az-table {
  width: 100%;
  border-collapse: collapse;
}
.ih-acc-body .az-table th,
.az-table th {
  text-align: left;
  width: 38%;
  padding: 0.45rem 0.55rem;
  background: #f7faf5;
  border: 1px solid var(--ih-border-soft);
  color: var(--ih-forest);
  font-size: 0.8rem;
  vertical-align: top;
}
.ih-acc-body .az-table td,
.az-table td {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--ih-border-soft);
  font-size: 0.84rem;
}
.az-below .az-section {
  border: 0;
  padding: 0;
  margin: 0;
}
.az-below .az-h2 {
  display: none;
}
.az-below .ih-rail-wrap .az-h2,
.ih-rail-wrap .az-h2 {
  display: block !important;
  font-size: 1.05rem;
  color: var(--ih-forest);
  margin: 0 0 0.75rem;
}
.ih-rail-wrap {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--ih-border-soft);
  border-radius: var(--ih-radius-lg);
}
.az-rail {
  gap: 0.75rem;
}
.az-card-title {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
}

/* Mobile sticky buy bar — green ATC */
.az-mobile-buybar {
  background: #fff !important;
  border-top: 1px solid var(--ih-border) !important;
  box-shadow: 0 -4px 16px rgba(11, 48, 26, 0.08) !important;
}
.az-mobile-buybar-amount {
  color: var(--ih-price) !important;
  font-weight: 800 !important;
}
.az-mobile-buybar .az-btn-atc {
  background: var(--ih-moss) !important;
  color: #fff !important;
}
.az-mobile-buybar .az-btn-buy {
  background: var(--ih-forest) !important;
}

/* ——— Cart ——— */
.az-cart-head,
.az-cart-title {
  color: var(--ih-forest) !important;
}
.az-cart-item {
  background: #fff !important;
  border: 1px solid var(--ih-border-soft) !important;
  border-radius: var(--ih-radius-lg) !important;
  box-shadow: var(--ih-shadow);
  padding: 0.85rem !important;
}
.az-cart-thumb {
  border: 1px solid var(--ih-border-soft);
  border-radius: 8px;
  background: #fff;
}
.az-cart-title {
  color: var(--ih-text) !important;
  font-weight: 600;
}
.az-cart-line-total {
  color: var(--ih-price) !important;
  font-weight: 800;
}
.az-cart-qty {
  border: 1px solid var(--ih-border) !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: #fff;
}
.az-cart-qty button {
  background: #f7f7f7 !important;
  color: var(--ih-forest) !important;
  border: 0 !important;
  width: 1.85rem;
  height: 1.85rem;
  font-weight: 700;
}
.az-cart-delete {
  color: var(--ih-moss-dark) !important;
}
.az-cart-summary {
  background: #fff !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: var(--ih-radius-lg) !important;
  box-shadow: var(--ih-shadow-md);
  position: sticky;
  top: 5.5rem;
}
#cart-grand-total {
  color: var(--ih-price) !important;
}

/* ——— Checkout ——— */
.az-checkout {
  background: var(--ih-bg) !important;
}
.az-checkout-top {
  background: #fff !important;
  border-bottom: 1px solid var(--ih-border) !important;
  color: var(--ih-forest) !important;
}
.az-checkout-brand,
.az-checkout-secure {
  color: var(--ih-forest) !important;
}
.az-co-card {
  background: #fff !important;
  border: 1px solid var(--ih-border-soft) !important;
  border-radius: var(--ih-radius-lg) !important;
  box-shadow: var(--ih-shadow);
}
.az-co-num {
  background: var(--ih-moss) !important;
  color: #fff !important;
}
.az-checkout-summary {
  background: #fff !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: var(--ih-radius-lg) !important;
}
.az-co-place {
  background: var(--ih-moss) !important;
  border-color: var(--ih-moss-dark) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.az-co-place:hover {
  background: var(--ih-moss-dark) !important;
}
.az-co-pay input:checked + .az-co-pay-face {
  border-color: var(--ih-moss) !important;
  box-shadow: 0 0 0 2px rgba(118, 160, 59, 0.2);
}
.az-co-row-total span:last-child {
  color: var(--ih-price) !important;
}

/* ——— Profile ——— */
.profile-shell,
.profile-panel,
.az-menu-page {
  color: var(--ih-text);
}
.profile-nav button.is-active,
.profile-nav .is-active,
.profile-stat {
  border-color: #cfe0c4 !important;
}
.profile-nav button.is-active,
.bottom-nav-btn.active,
.bottom-nav-btn[aria-current="page"] {
  color: var(--ih-moss-dark) !important;
}
.bottom-nav {
  background: #fff !important;
  border-top: 1px solid var(--ih-border) !important;
}
.bottom-nav-badge {
  background: var(--ih-moss) !important;
  color: #fff !important;
}

/* ——— Auth / track polish ——— */
.auth-shell #store-header,
body.az-track #store-header {
  background: #fff !important;
}
.auth-card {
  border-radius: var(--ih-radius-lg) !important;
}
.auth-btn,
.tk-form button {
  background: var(--ih-moss) !important;
  border: 1px solid var(--ih-moss-dark) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.auth-btn:hover,
.tk-form button:hover {
  background: var(--ih-moss-dark) !important;
}
.tk-arrive,
.tk-link,
.tk-rail-fill,
.tk-step.done .tk-dot,
.tk-step.active .tk-dot {
  color: var(--ih-moss-dark);
}
.tk-rail-fill {
  background: var(--ih-moss) !important;
}
.tk-step.done .tk-dot,
.tk-step.active .tk-dot {
  border-color: var(--ih-moss) !important;
  background: var(--ih-moss) !important;
}

/* Footer */
#seo-footer {
  background: var(--ih-forest) !important;
  color: #dce8d4 !important;
  border-top: 0 !important;
}
#seo-footer a {
  color: #eaf2e3 !important;
}
#seo-footer a:hover {
  color: #fff !important;
}

/* Auth modal lighten toward brand */
#auth-modal > div {
  background: #fff !important;
  color: var(--ih-text) !important;
  border-color: var(--ih-border) !important;
}
#auth-modal .input-field {
  background: #fff;
  border: 1px solid #888c8c;
  color: var(--ih-text);
}
#auth-submit-btn {
  background: var(--ih-moss) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

/* Screen-reader only (used by PDP qty label) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Variations chips */
.az-var-chip,
.ih-var-chip {
  border: 1px solid var(--ih-border) !important;
  border-radius: 999px !important;
  background: #fff !important;
}
.az-var-chip.is-active,
.ih-var-chip.is-active {
  border-color: var(--ih-moss) !important;
  box-shadow: 0 0 0 2px rgba(118, 160, 59, 0.2);
}

/* Responsive PDP */
@media (max-width: 899px) {
  .az-grid {
    grid-template-columns: 1fr !important;
  }
  .az-buybox {
    order: 3;
  }
}
