/* NTPet Store — Flip7 design system (teal / coral / gold / cream) */

:root {
  --nt-bg: #eff8f7;
  --nt-surface: #ffffff;
  --nt-cream: #fff8e7;
  --nt-text: #1f2933;
  --nt-text-muted: #5a7a77;
  --nt-border: #d4ebe9;
  --nt-primary: #2ba8a2;
  --nt-primary-light: #3cc4bd;
  --nt-primary-dark: #1e8c86;
  --nt-primary-soft: #e8f6f5;
  /* CTA اصلی فروشگاه — افزودن به سبد، پرداخت، دکمه‌های اقدام */
  --nt-cta: #3cc4bd;
  --nt-cta-hover: #2ba8a2;
  --nt-cta-dark: #1e8c86;
  --nt-shadow-cta-glow: 0 4px 20px rgba(60, 196, 189, 0.4);
  --nt-accent: #ffd23f;
  --nt-accent-light: #ffe47a;
  --nt-accent-dark: #e6b800;
  --nt-accent-soft: #fff4c4;
  --nt-coral: #ef6c4a;
  --nt-coral-light: #ff8a6a;
  --nt-coral-dark: #d45233;
  --nt-sky: #5dade2;
  --nt-success: #27ae60;
  --nt-danger: #e74c3c;
  --nt-star: #ffd23f;
  --nt-header-h: 72px;
  --nt-radius-sm: 8px;
  --nt-radius: 16px;
  --nt-radius-lg: 24px;
  --nt-radius-xl: 32px;
  --nt-radius-pill: 999px;
  --nt-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --nt-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --nt-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --nt-shadow-card: 0 4px 20px rgba(43, 168, 162, 0.1);
  --nt-shadow-teal-glow: 0 4px 20px rgba(43, 168, 162, 0.3);
  --nt-shadow-accent-glow: 0 4px 20px rgba(255, 210, 63, 0.4);
  --nt-shadow-coral-glow: 0 4px 20px rgba(239, 108, 74, 0.35);
  --nt-shadow-sky-glow: 0 4px 16px rgba(93, 173, 226, 0.3);
  --nt-shadow-focus: 0 0 0 4px rgba(43, 168, 162, 0.15);
  --nt-font: "Estedad Variable", "Estedad", system-ui, sans-serif;
  --nt-container: 1280px;
  --nt-transition: 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--nt-font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--nt-text);
  background: var(--nt-bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--nt-transition);
}

a:hover {
  color: var(--nt-primary);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.ntpet-container {
  width: 100%;
  max-width: var(--nt-container);
  margin-inline: auto;
  padding-inline: 16px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons — Flip7 pill + teal CTA */
.ntpet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--nt-radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--nt-surface);
  color: var(--nt-text);
  box-shadow: var(--nt-shadow);
}

.ntpet-btn:hover {
  transform: translateY(-1px);
}

.ntpet-btn:active {
  transform: scale(0.95);
}

.ntpet-btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--nt-cta);
  color: #fff;
  box-shadow: var(--nt-shadow-cta-glow);
  border-color: transparent;
}

.ntpet-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.ntpet-btn--primary:hover {
  background: var(--nt-cta-hover);
  color: #fff;
}

.ntpet-btn--accent {
  background: var(--nt-cta);
  color: #fff;
  box-shadow: var(--nt-shadow-cta-glow);
}

.ntpet-btn--accent:hover {
  background: var(--nt-cta-hover);
  color: #fff;
}

.ntpet-btn--ghost {
  background: var(--nt-cream);
  border-color: var(--nt-border);
  box-shadow: none;
}

.ntpet-btn--ghost:hover {
  border-color: var(--nt-primary);
  color: var(--nt-primary-dark);
  box-shadow: var(--nt-shadow-teal-glow);
}

.ntpet-btn--block {
  width: 100%;
}

.ntpet-btn--sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 12px;
}

.ntpet-btn--icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--nt-border);
  background: var(--nt-cream);
  box-shadow: none;
}

/* Top promo bar */
.ntpet-topbar {
  background: linear-gradient(90deg, var(--nt-primary-dark) 0%, var(--nt-primary) 50%, var(--nt-primary-light) 100%);
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
}

.ntpet-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.ntpet-topbar__msg {
  opacity: 0.95;
}

.ntpet-topbar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.ntpet-topbar a,
.ntpet-topbar__link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.95;
}

.ntpet-topbar__link:hover {
  text-decoration: underline;
  opacity: 1;
}

.ntpet-topbar__link--page {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Header promo slider (3:2 like product cards) ——— */
.ntpet-promo-slider {
  position: relative;
  z-index: 5;
  padding: 12px 0 14px;
  background:
    linear-gradient(180deg, rgba(232, 246, 245, 0.95) 0%, rgba(247, 248, 246, 0.6) 100%);
  border-bottom: 1px solid var(--nt-border);
}

.ntpet-promo-slider__inner {
  position: relative;
}

.ntpet-promo-slider__viewport {
  overflow: hidden;
  border-radius: var(--nt-radius-lg);
  box-shadow: var(--nt-shadow-card);
  border: 1px solid var(--nt-border);
  background: var(--nt-surface);
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.ntpet-promo-slider__track {
  position: relative;
}

.ntpet-promo-slider__slide {
  display: block;
  line-height: 0;
  color: inherit;
}

.ntpet-promo-slider__slide[hidden] {
  display: none !important;
}

.ntpet-promo-slider__slide.is-active {
  animation: ntpet-promo-in 0.55s ease both;
}

@keyframes ntpet-promo-in {
  from { opacity: 0.35; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.ntpet-promo-slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  background: var(--nt-cream);
}

.ntpet-promo-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nt-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--nt-primary-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--nt-shadow);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ntpet-promo-slider__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.ntpet-promo-slider__nav--prev {
  right: max(8px, calc((100% - 960px) / 2 - 8px));
}

.ntpet-promo-slider__nav--next {
  left: max(8px, calc((100% - 960px) / 2 - 8px));
}

.ntpet-promo-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.ntpet-promo-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--nt-border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ntpet-promo-slider__dot.is-active {
  background: var(--nt-cta);
  transform: scale(1.25);
}

@media (max-width: 700px) {
  .ntpet-promo-slider {
    padding: 8px 0 10px;
  }

  .ntpet-promo-slider__viewport {
    max-width: 100%;
    border-radius: var(--nt-radius);
  }

  .ntpet-promo-slider__slide img {
    max-height: 200px;
  }

  .ntpet-promo-slider__nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .ntpet-promo-slider__nav--prev {
    right: 8px;
  }

  .ntpet-promo-slider__nav--next {
    left: 8px;
  }
}

.ntpet-header__action--phone {
  color: var(--nt-primary-dark);
  font-weight: 700;
}

/* Header */
.ntpet-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nt-surface);
  border-bottom: 1px solid var(--nt-border);
  box-shadow: var(--nt-shadow);
}

.ntpet-header__main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--nt-header-h);
  padding-block: 10px;
}

.ntpet-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ntpet-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.ntpet-logo .custom-logo {
  max-height: 52px;
  width: auto;
  height: auto;
}

.ntpet-logo__fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ntpet-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--nt-radius-lg);
  background: linear-gradient(135deg, var(--nt-primary-light), var(--nt-primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
  box-shadow: var(--nt-shadow-teal-glow);
}

.ntpet-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ntpet-logo__brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--nt-primary-dark);
}

.ntpet-logo__tag {
  font-size: 11px;
  color: var(--nt-text-muted);
}

.ntpet-search {
  flex: 1;
  max-width: 640px;
  position: relative;
}

.ntpet-search__form {
  display: flex;
  background: var(--nt-cream);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  overflow: hidden;
  transition: border-color var(--nt-transition), box-shadow var(--nt-transition);
}

.ntpet-search__form:focus-within {
  border-color: var(--nt-primary);
  box-shadow: var(--nt-shadow-focus);
}

.ntpet-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  outline: none;
}

.ntpet-search__submit {
  border: 0;
  background: var(--nt-cta);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
}

.ntpet-search__submit:hover {
  background: var(--nt-cta-hover);
}

.ntpet-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.ntpet-header__action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--nt-radius);
  color: var(--nt-text);
  font-size: 11px;
}

.ntpet-header__action:hover {
  background: var(--nt-bg);
  color: var(--nt-primary);
}

.ntpet-header__action-icon {
  font-size: 20px;
  line-height: 1;
}

.ntpet-cart-count,
.ntpet-badge-count {
  position: absolute;
  top: 2px;
  left: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--nt-radius-pill);
  background: var(--nt-coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--nt-shadow-coral-glow);
}

.ntpet-cart-count:empty,
.ntpet-cart-count[data-cart-count="0"],
.ntpet-badge-count:empty,
.ntpet-badge-count[data-count="0"] {
  display: none;
}

/* Mega menu nav */
.ntpet-nav {
  border-top: 1px solid var(--nt-border);
  background: var(--nt-surface);
}

.ntpet-nav__inner {
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ntpet-nav__inner::-webkit-scrollbar {
  display: none;
}

.ntpet-nav__cats-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--nt-primary-dark);
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ntpet-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  white-space: nowrap;
  color: var(--nt-text);
  font-size: 13px;
}

.ntpet-nav__link:hover {
  color: var(--nt-primary);
}

.ntpet-mega {
  display: none;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--nt-surface);
  border-bottom: 1px solid var(--nt-border);
  box-shadow: var(--nt-shadow-md);
  padding: 24px 0;
  z-index: 90;
}

.ntpet-mega.is-open {
  display: block;
  animation: ntpet-fade-down 0.25s ease;
}

.ntpet-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ntpet-mega__col-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--nt-primary-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--nt-primary-soft);
}

.ntpet-mega__list a {
  display: block;
  padding: 6px 0;
  color: var(--nt-text-muted);
  font-size: 13px;
}

.ntpet-mega__list a:hover {
  color: var(--nt-primary);
}

@keyframes ntpet-fade-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main */
.ntpet-main {
  min-height: 50vh;
  padding-block: 24px 48px;
}

.ntpet-page-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
}

/* Hero */
.ntpet-hero {
  position: relative;
  border-radius: var(--nt-radius-xl);
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(120deg, rgba(30, 140, 134, 0.94) 0%, rgba(43, 168, 162, 0.78) 48%, rgba(239, 108, 74, 0.5) 100%),
    url("../images/hero-pets.svg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  margin-bottom: 28px;
  box-shadow: var(--nt-shadow-teal-glow);
}

.ntpet-hero__content {
  padding: 40px 36px;
  max-width: 520px;
  animation: ntpet-fade-up 0.6s ease;
}

.ntpet-hero__brand {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.ntpet-hero__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  opacity: 0.95;
}

.ntpet-hero__desc {
  margin: 0 0 20px;
  opacity: 0.9;
  font-size: 14px;
}

.ntpet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes ntpet-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category chips */
.ntpet-section {
  margin-bottom: 36px;
}

.ntpet-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px dashed var(--nt-border);
}

.ntpet-section__title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
  color: var(--nt-primary-dark);
}

.ntpet-section__link {
  color: var(--nt-primary);
  font-weight: 700;
  font-size: 13px;
}

.ntpet-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.ntpet-cat-card {
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--nt-shadow-card);
  transition: transform var(--nt-transition), box-shadow var(--nt-transition), border-color var(--nt-transition);
}

.ntpet-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nt-shadow-teal-glow);
  border-color: var(--nt-primary-light);
  color: var(--nt-text);
}

.ntpet-cat-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--nt-primary-soft);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--nt-primary-dark);
  box-shadow: var(--nt-shadow-card);
}

.ntpet-cat-card__name {
  font-weight: 700;
  font-size: 13px;
}

/* Product grid / card */
.ntpet-products-grid,
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ntpet-products-grid > li,
.products > li,
.ntpet-product-card {
  list-style: none;
  margin: 0;
}

.ntpet-product-card {
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--nt-transition), transform var(--nt-transition);
  position: relative;
  box-shadow: var(--nt-shadow-card);
  border-right: 6px solid var(--nt-primary-light);
}

.ntpet-product-card:hover {
  box-shadow: var(--nt-shadow-teal-glow);
  transform: translateY(-3px);
}

.ntpet-product-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  width: 100%;
  background: var(--nt-primary-soft);
  overflow: hidden;
  flex-shrink: 0;
}

.ntpet-product-card__media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.ntpet-product-card__media img,
.woocommerce ul.products li.product .ntpet-product-card__media img,
.woocommerce ul.products li.product a img,
.ntpet-shop-page ul.products li.product img,
.products .ntpet-product-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  display: block !important;
  aspect-ratio: auto !important;
}

.ntpet-product-card:hover .ntpet-product-card__media img {
  transform: scale(1.04);
}

.ntpet-product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--nt-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--nt-radius-pill);
  box-shadow: var(--nt-shadow-coral-glow);
}

.ntpet-product-card__actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--nt-transition), transform var(--nt-transition);
}

.ntpet-product-card:hover .ntpet-product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

.ntpet-product-card__body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ntpet-product-card__title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.ntpet-product-card__title a:hover {
  color: var(--nt-primary);
}

.ntpet-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--nt-star);
  font-size: 13px;
}

.ntpet-star--empty {
  opacity: 0.35;
}

.ntpet-stars__count {
  color: var(--nt-text-muted);
  font-size: 11px;
  margin-right: 4px;
}

.ntpet-product-card__price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.ntpet-product-card__price .price,
.ntpet-price {
  font-weight: 800;
  font-size: 15px;
  color: var(--nt-text);
}

.ntpet-product-card__price del,
.price del {
  color: var(--nt-text-muted);
  font-weight: 500;
  font-size: 12px;
}

.ntpet-product-card__price ins,
.price ins {
  text-decoration: none;
  color: var(--nt-primary-dark);
}

.ntpet-product-card__cart {
  margin-top: 8px;
}

/* Shop layout */
.ntpet-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

.ntpet-filters {
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  padding: 16px;
  position: sticky;
  top: calc(var(--nt-header-h) + 48px);
  box-shadow: var(--nt-shadow-card);
}

.ntpet-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ntpet-filters__title {
  margin: 0;
  font-size: 16px;
}

.ntpet-filters__close {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.ntpet-filter-group {
  padding: 14px 0;
  border-bottom: 1px solid var(--nt-border);
}

.ntpet-filter-group__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.ntpet-filter-list a,
.ntpet-filter-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  color: var(--nt-text-muted);
  font-size: 13px;
  cursor: pointer;
}

.ntpet-filter-list a:hover {
  color: var(--nt-primary);
}

.ntpet-filter-list--check label {
  justify-content: flex-start;
}

.ntpet-filter-list input {
  accent-color: var(--nt-primary);
}

.ntpet-filter-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ntpet-filter-price input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--nt-border);
  border-radius: 6px;
}

.ntpet-filter-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ntpet-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: 10px;
  padding: 10px 14px;
}

.ntpet-filters-toggle {
  display: none;
}

.ntpet-shop-content .woocommerce-result-count {
  margin: 0;
  color: var(--nt-text-muted);
  font-size: 13px;
}

.ntpet-shop-content .woocommerce-ordering {
  margin: 0;
}

.ntpet-shop-content .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--nt-border);
  border-radius: 6px;
  background: var(--nt-bg);
}

/* Footer */
.ntpet-footer {
  background: #111827;
  color: #d1d5db;
  padding-top: 48px;
  margin-top: 40px;
}

.ntpet-footer a {
  color: #d1d5db;
}

.ntpet-footer a:hover {
  color: #fff;
}

.ntpet-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 36px;
}

.ntpet-footer__brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.ntpet-footer__about {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 320px;
}

.ntpet-footer-widget__title {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}

.ntpet-footer-links li + li {
  margin-top: 8px;
}

.ntpet-footer__bottom {
  border-top: 1px solid #1f2937;
  padding: 18px 0;
  font-size: 12px;
  color: #9ca3af;
}

.ntpet-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ntpet-footer__copy {
  flex: 1;
  min-width: 200px;
}

.ntpet-footer__enamad {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  min-height: 56px;
}

.ntpet-footer__enamad[hidden],
.ntpet-footer__enamad.is-enamad-unavailable {
  display: none !important;
}

.ntpet-footer__enamad a {
  display: inline-block;
  line-height: 0;
}

.ntpet-footer__enamad img {
  display: block;
  max-width: 125px;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}

/* Hide duplicate / floating Enamad left from old embeds — only footer seal stays visible */
body a[href*="trustseal.enamad.ir"] {
  display: none !important;
}

.ntpet-footer__enamad a[href*="trustseal.enamad.ir"] {
  display: inline-block !important;
}

@media (max-width: 700px) {
  .ntpet-footer__bottom-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .ntpet-footer__enamad {
    justify-content: center;
  }
}

/* Mobile bottom nav */
.ntpet-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 110;
  background: var(--nt-surface);
  border-top: 1px solid var(--nt-border);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.ntpet-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  font-size: 10px;
  color: var(--nt-text-muted);
  position: relative;
}

.ntpet-mobile-nav a.is-active,
.ntpet-mobile-nav a:hover {
  color: var(--nt-primary);
}

.ntpet-mobile-nav__icon {
  font-size: 18px;
}

/* Toast */
.ntpet-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  white-space: nowrap;
}

.ntpet-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Wishlist pages */
.ntpet-content-card {
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: 12px;
  padding: 28px;
}

.ntpet-content-card h1 {
  margin-top: 0;
}

.ntpet-breadcrumb {
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--nt-text-muted);
}

.ntpet-breadcrumb a:hover {
  color: var(--nt-primary);
}

.ntpet-breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

/* Filters overlay mobile */
.ntpet-filters-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 120;
}

.ntpet-filters-overlay.is-open {
  display: block;
}

body.ntpet-filters-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
  .ntpet-products-grid,
  .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .ntpet-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .ntpet-shop-layout {
    grid-template-columns: 1fr;
  }

  .ntpet-filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 90vw);
    z-index: 130;
    border-radius: 0;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .ntpet-filters.is-open {
    transform: translateX(0);
  }

  .ntpet-filters__close {
    display: block;
  }

  .ntpet-filters-toggle {
    display: inline-flex;
  }

  .ntpet-header__action span:not(.ntpet-header__action-icon):not(.ntpet-cart-count):not(.ntpet-badge-count) {
    display: none;
  }

  .ntpet-topbar__msg {
    display: none;
  }

  .ntpet-topbar__inner {
    justify-content: center;
  }

  .ntpet-logo__tag {
    display: none;
  }
}

@media (max-width: 700px) {
  .ntpet-hero {
    min-height: 280px;
  }

  .ntpet-hero__brand {
    font-size: 28px;
  }

  .ntpet-hero__content {
    padding: 28px 20px;
  }

  .ntpet-products-grid,
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ntpet-nav {
    display: none;
  }

  .ntpet-search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .ntpet-header__main {
    flex-wrap: wrap;
  }

  .ntpet-mobile-nav {
    display: grid;
  }

  body {
    padding-bottom: 64px;
  }

  .ntpet-footer__grid {
    grid-template-columns: 1fr;
  }

  .ntpet-product-card__actions {
    opacity: 1;
    transform: none;
  }

  .ntpet-mega__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ntpet-btn--icon.is-active,
.ntpet-product-meta-actions .ntpet-btn.is-active {
  background: var(--nt-accent-soft);
  border-color: var(--nt-accent-dark);
  color: var(--nt-primary-dark);
  box-shadow: var(--nt-shadow-accent-glow);
}

.ntpet-wishlist-lead {
  color: var(--nt-text-muted);
  margin: -8px 0 20px;
}

/* Account login — فقط فرم پلاگین SMS.ir */
.ntpet-main--auth {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: 40px 64px;
}

.ntpet-container--auth {
  max-width: 480px;
}

.ntpet-auth-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* عنوان/فرم پیش‌فرض ووکامرس را مخفی کن — فقط UI پلاگین */
.ntpet-main--auth:has(.smsir) .woocommerce > h2,
.woocommerce-account:not(.logged-in):has(.smsir) .woocommerce > h2:first-of-type,
.ntpet-main--auth:has(.smsir) form.woocommerce-form-login,
.woocommerce-account:not(.logged-in):has(.smsir) form.woocommerce-form-login {
  display: none !important;
}

.ntpet-main--auth .smsir,
.woocommerce-account:not(.logged-in) .smsir {
  display: flex !important;
  width: 100%;
}

/* دکمه اصلی ورود SMS.ir هم‌رنگ CTA فروشگاه */
.smsir .bg-main,
.smsir button[type="submit"].bg-main {
  background: var(--nt-cta) !important;
  color: #fff !important;
}

.smsir .bg-main:hover,
.smsir button[type="submit"].bg-main:hover {
  background: var(--nt-cta-hover) !important;
}

.ntpet-empty-note {
  grid-column: 1 / -1;
  background: var(--nt-surface);
  border: 1px dashed var(--nt-border);
  border-radius: 12px;
  padding: 24px;
  color: var(--nt-text-muted);
  text-align: center;
}

.ntpet-discount-note {
  display: inline-block;
  background: var(--nt-coral);
  color: #fff;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--nt-radius-pill);
  margin: 0 0 8px;
  box-shadow: var(--nt-shadow-coral-glow);
}

.ntpet-nav__menu {
  display: contents;
}

/* ——— Contact page ——— */
.ntpet-main--contact {
  padding-block: 0 64px;
}

.ntpet-contact-hero {
  position: relative;
  overflow: hidden;
  min-height: min(42vh, 360px);
  display: flex;
  align-items: flex-end;
  margin-bottom: 36px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 12% 20%, rgba(60, 196, 189, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 70%, rgba(239, 108, 74, 0.28), transparent 50%),
    linear-gradient(145deg, #1a6f6a 0%, #2ba8a2 42%, #1e8c86 100%);
}

.ntpet-contact-hero__glow {
  position: absolute;
  inset: -20% auto auto 40%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  pointer-events: none;
  animation: ntpet-contact-drift 8s ease-in-out infinite alternate;
}

@keyframes ntpet-contact-drift {
  from { transform: translate(-4%, 2%); opacity: 0.7; }
  to { transform: translate(6%, -3%); opacity: 1; }
}

.ntpet-contact-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 48px 40px;
  animation: ntpet-fade-up 0.65s ease both;
}

.ntpet-contact-hero__brand {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.ntpet-contact-hero__title {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  opacity: 0.95;
}

.ntpet-contact-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.88;
}

.ntpet-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 40px 48px;
  align-items: start;
}

.ntpet-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: ntpet-fade-up 0.7s 0.08s ease both;
}

.ntpet-contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 8px 16px 12px;
  border-bottom: 1px solid var(--nt-border);
  color: inherit;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--nt-radius-sm);
}

a.ntpet-contact-channel:hover {
  background: var(--nt-primary-soft);
  color: inherit;
  transform: translateX(-3px);
}

.ntpet-contact-channel--static {
  cursor: default;
}

.ntpet-contact-channel__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--nt-primary-soft);
  color: var(--nt-primary-dark);
}

.ntpet-contact-channel__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ntpet-contact-channel__label {
  font-size: 12px;
  color: var(--nt-text-muted);
  font-weight: 600;
}

.ntpet-contact-channel__value {
  font-size: 16px;
  font-weight: 800;
  color: var(--nt-text);
}

.ntpet-contact-channel__cta {
  font-size: 22px;
  color: var(--nt-cta);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.ntpet-contact-channel:hover .ntpet-contact-channel__cta {
  opacity: 1;
  transform: translateX(0);
}

.ntpet-contact-form-wrap {
  background:
    linear-gradient(180deg, rgba(232, 246, 245, 0.65) 0%, transparent 40%),
    var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  padding: 28px 28px 32px;
  box-shadow: var(--nt-shadow-card);
  animation: ntpet-fade-up 0.75s 0.12s ease both;
}

.ntpet-contact-form-head {
  margin-bottom: 20px;
}

.ntpet-contact-form-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--nt-primary-dark);
}

.ntpet-contact-form-head p {
  margin: 0;
  color: var(--nt-text-muted);
  font-size: 13px;
}

.ntpet-contact-alert {
  padding: 12px 14px;
  border-radius: var(--nt-radius);
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.ntpet-contact-alert--ok {
  background: #e8f8ef;
  color: #1e7a45;
  border: 1px solid #b8e6c8;
}

.ntpet-contact-alert--err {
  background: #fef0ee;
  color: #b33a2b;
  border: 1px solid #f0c4bc;
}

.ntpet-contact-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.ntpet-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ntpet-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ntpet-contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ntpet-contact-form__row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--nt-text);
}

.ntpet-contact-form__row input,
.ntpet-contact-form__row textarea {
  width: 100%;
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  background: var(--nt-cream);
  padding: 12px 14px;
  font: inherit;
  color: var(--nt-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ntpet-contact-form__row textarea {
  resize: vertical;
  min-height: 120px;
}

.ntpet-contact-form__row input:focus,
.ntpet-contact-form__row textarea:focus {
  border-color: var(--nt-cta);
  box-shadow: var(--nt-shadow-focus);
  background: #fff;
}

.ntpet-contact-form__submit {
  margin-top: 8px;
  min-height: 48px;
  font-size: 15px;
}

.ntpet-contact-extra {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--nt-border);
  color: var(--nt-text-muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .ntpet-contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ntpet-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .ntpet-contact-hero {
    min-height: 280px;
  }

  .ntpet-contact-form-wrap {
    padding: 22px 18px 26px;
  }
}
