@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nova-red: #d0121a;
  --nova-red-dark: #a80e15;
  --nova-ink: #111111;
  --nova-muted: #6f6f6f;
  --nova-line: #e8e8e8;
  --nova-bg: #f4f4f5;
  --nova-white: #ffffff;
  --nova-radius: 14px;
  --nova-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --nova-font: "Vazirmatn", Tahoma, sans-serif;
  --nova-header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body.nova-mod-body,
.nova-mod-body button,
.nova-mod-body input,
.nova-mod-body select,
.nova-mod-body textarea {
  font-family: var(--nova-font) !important;
  color: var(--nova-ink);
  background: var(--nova-white);
  line-height: 1.7;
}

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

.nova-page { overflow-x: hidden; }

.nova-container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Kill Storefront chrome */
.storefront-primary-navigation,
.site-search,
.site-header-cart,
.site-branding,
.storefront-breadcrumb,
.woocommerce-breadcrumb,
#secondary,
.col-full > .woocommerce-breadcrumb { display: none !important; }

.site-content .col-full,
.nova-content-inner,
.content-area,
.site-main {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.right-sidebar .content-area,
.left-sidebar .content-area { width: 100% !important; }

/* Topbar */
.nova-topbar {
  background: var(--nova-ink);
  color: #fff;
  font-size: 12px;
}
.nova-topbar__inner {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
  text-align: center;
}
.nova-topbar__sep { opacity: 0.35; }

/* Header */
.nova-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--nova-line);
}
.nova-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.06); }

.nova-header__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nova-header-h);
  padding: 0.55rem 0;
}

.nova-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--nova-ink);
  flex-shrink: 0;
}
.nova-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--nova-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.nova-logo__text { font-weight: 800; font-size: 1.2rem; }

.nova-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: var(--nova-bg);
  border: 1px solid var(--nova-line);
  border-radius: 999px;
  overflow: hidden;
  max-width: 560px;
  margin-inline: auto;
}
.nova-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 1rem;
  outline: none;
  min-width: 0;
  font-size: 0.92rem;
}
.nova-search__btn {
  border: 0;
  background: transparent;
  padding: 0 0.95rem;
  color: var(--nova-muted);
  cursor: pointer;
}

.nova-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.nova-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--nova-ink);
  font-size: 0.86rem;
  font-weight: 600;
  position: relative;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
}
.nova-action:hover { background: var(--nova-bg); color: var(--nova-red); }
.nova-cart-count {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--nova-red);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.nova-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--nova-line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nova-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--nova-ink);
  transition: 0.2s ease;
}
.nova-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nova-burger.is-open span:nth-child(2) { opacity: 0; }
.nova-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nova-nav { border-top: 1px solid var(--nova-line); background: #fff; }
.nova-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nova-nav__list::-webkit-scrollbar { display: none; }
.nova-nav__list > li > a {
  display: block;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
  color: var(--nova-ink);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nova-nav__list > li > a:hover,
.nova-nav__list > li.current-menu-item > a {
  color: var(--nova-red);
  border-bottom-color: var(--nova-red);
}

/* Hero */
.nova-hero { position: relative; }
.nova-hero__slide {
  min-height: clamp(420px, 62vh, 560px);
  display: grid;
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    linear-gradient(105deg, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.45) 48%, rgba(8,8,8,0.2) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
  color: #fff;
}
.nova-hero__content { max-width: 560px; }
.nova-hero__eyebrow {
  display: inline-block;
  background: var(--nova-red);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.nova-hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 800;
  color: #fff;
}
.nova-hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  opacity: 0.92;
  margin: 0 0 1.35rem;
  max-width: 32rem;
}
.nova-hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.nova-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 0;
  cursor: pointer;
}
.nova-btn:hover { transform: translateY(-2px); }
.nova-btn--primary { background: var(--nova-red); color: #fff; }
.nova-btn--primary:hover { background: var(--nova-red-dark); color: #fff; }
.nova-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

/* Sections */
.nova-section { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.nova-section__head { margin-bottom: 1.25rem; }
.nova-section__head h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
}
.nova-section__head p { margin: 0; color: var(--nova-muted); font-size: 0.92rem; }
.nova-section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.nova-link {
  color: var(--nova-red);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Categories */
.nova-cats { background: var(--nova-bg); }
.nova-cats__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.nova-cat-card {
  background: #fff;
  border-radius: var(--nova-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--nova-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nova-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nova-shadow);
}
.nova-cat-card__img {
  display: block;
  aspect-ratio: 1 / 1.1;
  background: #ddd center/cover no-repeat;
}
.nova-cat-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0.8rem 0.9rem;
}
.nova-cat-card__meta strong { font-size: 0.9rem; }
.nova-cat-card__meta em {
  font-style: normal;
  color: var(--nova-muted);
  font-size: 0.78rem;
}

/* Dual banners */
.nova-banners { padding: 0.25rem 0 0.5rem; }
.nova-banners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.nova-banner {
  min-height: clamp(180px, 28vw, 250px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.nova-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 15%, rgba(0,0,0,0.72) 100%);
}
.nova-banner--men {
  background:
    linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.72) 100%),
    url("../img/banner-men.jpg") center/cover no-repeat;
}
.nova-banner--women {
  background:
    linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.72) 100%),
    url("../img/banner-women.jpg") center/cover no-repeat;
}
.nova-banner__label { font-size: 0.82rem; opacity: 0.9; }
.nova-banner strong {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: 0.25rem 0 0.55rem;
}
.nova-banner em {
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Promo */
.nova-promo { padding: 0.5rem 0 1.25rem; }
.nova-promo__inner {
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(208,18,26,0.9), rgba(20,20,20,0.72)),
    url("../img/promo.jpg") center/cover no-repeat;
}
.nova-promo h2 {
  color: #fff;
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
}
.nova-promo p { margin: 0 0 1rem; opacity: 0.92; }

/* Trust */
.nova-trust {
  background: var(--nova-ink);
  color: #fff;
  padding: 1.5rem 0;
}
.nova-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  text-align: center;
}
.nova-trust strong {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.15rem;
}
.nova-trust span { opacity: 0.75; font-size: 0.85rem; }

/* Products grid */
.nova-products-block ul.products,
.tax-product_cat ul.products,
.post-type-archive-product ul.products,
.woocommerce ul.products,
.search ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  width: 100% !important;
}
.nova-products-block ul.products::before,
.nova-products-block ul.products::after,
ul.products::before,
ul.products::after { display: none !important; content: none !important; }

.nova-products-block ul.products li.product,
ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  background: #fff;
  border: 1px solid var(--nova-line);
  border-radius: var(--nova-radius);
  overflow: hidden;
  padding: 0 0 0.85rem !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}
ul.products li.product:hover {
  box-shadow: var(--nova-shadow);
  transform: translateY(-3px);
}
ul.products li.product a img,
ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 !important;
  background: #f1f1f1;
}
ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9rem !important;
  padding: 0.75rem 0.8rem 0.25rem !important;
  margin: 0 !important;
  font-weight: 700;
  line-height: 1.45 !important;
}
ul.products li.product .price {
  display: block;
  padding: 0 0.8rem;
  color: var(--nova-ink) !important;
  font-weight: 800;
  font-size: 0.9rem;
}
ul.products li.product .price del {
  color: #999 !important;
  font-weight: 400;
  margin-left: 0.3rem;
}
ul.products li.product .price ins {
  background: none;
  color: var(--nova-red) !important;
  text-decoration: none;
}
ul.products li.product .button,
ul.products li.product .added_to_cart {
  margin: 0.65rem 0.8rem 0 !important;
  border-radius: 999px !important;
  background: var(--nova-ink) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.55rem 0.9rem !important;
}
ul.products li.product .button:hover { background: var(--nova-red) !important; }

.nova-sale,
span.onsale {
  background: var(--nova-red) !important;
  color: #fff !important;
  border-radius: 8px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
  padding: 0.35rem 0.45rem !important;
  top: 10px !important;
  right: auto !important;
  left: 10px !important;
  font-weight: 800 !important;
  z-index: 2;
}

/* Shop archive */
.woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.tax-product_cat ul.products,
.post-type-archive-product ul.products,
.woocommerce ul.products {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}
.woocommerce-products-header { margin-top: 1.25rem; }
.woocommerce-products-header__title {
  font-size: 1.5rem;
  font-weight: 800;
}

/* Single product */
.single-product .site-content .nova-content-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 1.25rem auto 2.5rem;
}
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.single-product .product_title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
}
.single-product .price {
  color: var(--nova-red) !important;
  font-size: 1.25rem !important;
  font-weight: 800;
}
.single-product .single_add_to_cart_button {
  background: var(--nova-red) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.4rem !important;
}

/* Cart / pages */
.woocommerce-cart .nova-content-inner,
.woocommerce-checkout .nova-content-inner,
.woocommerce-account .nova-content-inner,
.page:not(.home) .nova-content-inner {
  width: min(1000px, calc(100% - 2rem));
  margin: 1.5rem auto 2.5rem;
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  border-radius: 999px !important;
  background: var(--nova-red) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* Footer */
.nova-footer { background: #111; color: #ddd; }
.nova-footer a { color: #ddd; text-decoration: none; }
.nova-footer a:hover { color: #fff; }
.nova-footer__features {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}
.nova-footer__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding: 1.15rem 0;
  text-align: center;
}
.nova-feat strong { display: block; color: #fff; margin-bottom: 0.15rem; }
.nova-feat span { font-size: 0.82rem; color: #999; }
.nova-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 1.5rem;
  padding: 2rem 0;
}
.nova-footer__col h4 { color: #fff; margin: 0 0 0.85rem; font-size: 0.95rem; }
.nova-footer__col ul { list-style: none; margin: 0; padding: 0; }
.nova-footer__col li { margin-bottom: 0.45rem; }
.nova-logo--footer .nova-logo__text { color: #fff; }
.nova-newsletter {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}
.nova-newsletter input {
  flex: 1;
  min-width: 140px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
}
.nova-newsletter button {
  border: 0;
  background: var(--nova-red);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
}
.nova-footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 0.9rem 0 1.2rem;
  text-align: center;
  color: #888;
  font-size: 0.82rem;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .nova-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nova-products-block ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .woocommerce ul.products,
  .search ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nova-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nova-burger { display: inline-flex; }
  .nova-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
  .nova-header__row { flex-wrap: wrap; }
  .nova-action span { display: none; }

  .nova-nav {
    display: none;
    border-top: 0;
  }
  .nova-nav.is-open {
    display: block;
    border-top: 1px solid var(--nova-line);
  }
  .nova-nav__list {
    flex-direction: column;
    overflow: visible;
  }
  .nova-nav__list > li > a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--nova-line);
  }

  .nova-cats__grid,
  .nova-banners__grid,
  .nova-trust__grid,
  .nova-footer__features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nova-products-block ul.products,
  .tax-product_cat ul.products,
  .post-type-archive-product ul.products,
  .woocommerce ul.products,
  .search ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .single-product div.product { grid-template-columns: 1fr; }
  .nova-hero__slide {
    align-items: center;
    min-height: 70vh;
  }
  .nova-section__head--row { flex-direction: column; align-items: start; }
}

@media (max-width: 480px) {
  .nova-container { width: calc(100% - 1.25rem); }
  .nova-topbar { font-size: 11px; }
  .nova-logo__text { font-size: 1.05rem; }
  .nova-cats__grid { gap: 0.55rem; }
  .nova-cat-card__meta { padding: 0.55rem; }
  .nova-cat-card__meta strong { font-size: 0.8rem; }
  .nova-banner { min-height: 160px; padding: 1.1rem; }
  .nova-footer__main { grid-template-columns: 1fr; }
  .nova-trust__grid,
  .nova-footer__features-grid { grid-template-columns: 1fr 1fr; }
  ul.products li.product .button { font-size: 0.75rem !important; }
}
