/* N-Varsity Store — Shop archive refresh (draft only) */
body.woocommerce-shop,
body.tax-product_cat {
  --nv-orange: #f97316;
  --nv-navy: #10233f;
  --nv-ink: #172033;
  --nv-muted: #64748b;
  --nv-line: #e7ebf0;
  --nv-soft: #f7f9fc;
}
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content {
  background: #f7f9fc;
}
body.woocommerce-shop .ast-container,
body.tax-product_cat .ast-container {
  max-width: 1440px;
}
body.woocommerce-shop .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header {
  margin: 0 0 22px;
  padding: 28px 30px;
  border-radius: 18px;
  background: linear-gradient(115deg, #10233f 0%, #183b63 68%, #f97316 180%);
  color: #fff;
}
body.woocommerce-shop .woocommerce-products-header .page-title,
body.tax-product_cat .woocommerce-products-header .page-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
body.woocommerce-shop .woocommerce-products-header .term-description,
body.tax-product_cat .woocommerce-products-header .term-description {
  color: rgba(255,255,255,.88);
  max-width: 720px;
}
.nv-shop-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(240px, 2fr);
  gap: 14px;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(16,35,63,.04);
}
.nv-shop-search {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.nv-shop-tools input[type="search"],
.nv-shop-tools input[type="number"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce2ea;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  box-shadow: none;
}
.nv-shop-tools button,
.nv-shop-tools .nv-shop-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.nv-shop-tools button:hover,
.nv-shop-tools .nv-shop-submit:hover {
  background: #dd5d08;
  color: #fff;
}
.nv-shop-price-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}
.nv-shop-categories {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 0;
}
.nv-shop-categories a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #e1e7ef;
  border-radius: 999px;
  background: #fff;
  color: #10233f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}
.nv-shop-categories a:hover,
.nv-shop-categories a:focus {
  border-color: #f97316;
  background: #fff4eb;
  color: #c94c00;
}
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
  color: #64748b;
  font-size: 14px;
}
body.woocommerce-shop form.woocommerce-ordering select,
body.tax-product_cat form.woocommerce-ordering select {
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #dce2ea;
  border-radius: 9px;
  background-color: #fff;
  color: #172033;
}
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px !important;
  margin-top: 18px !important;
}
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
  display: none !important;
}
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
  display: flex;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 12px 16px !important;
  overflow: hidden;
  border: 1px solid #e8edf3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16,35,63,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.woocommerce-shop ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: #ffd2b1;
  box-shadow: 0 12px 28px rgba(16,35,63,.10);
}
body.woocommerce-shop ul.products li.product a img,
body.tax-product_cat ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 0 13px !important;
  border-radius: 10px;
  background: #f8fafc;
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  padding: 0 2px;
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
  margin: 7px 2px 12px;
  color: #10233f;
  font-size: 17px;
  font-weight: 800;
}
body.woocommerce-shop ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}
body.woocommerce-shop ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins {
  color: #d94f00;
  text-decoration: none;
}
body.woocommerce-shop ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale {
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  min-height: 0;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f97316;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
  width: 100%;
  margin-top: auto;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: #10233f;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}
body.woocommerce-shop ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover {
  background: #f97316;
  color: #fff;
}
body.woocommerce-shop nav.woocommerce-pagination ul,
body.tax-product_cat nav.woocommerce-pagination ul {
  display: flex;
  gap: 7px;
  border: 0;
}
body.woocommerce-shop nav.woocommerce-pagination ul li,
body.tax-product_cat nav.woocommerce-pagination ul li {
  border: 0;
}
body.woocommerce-shop nav.woocommerce-pagination ul li a,
body.woocommerce-shop nav.woocommerce-pagination ul li span,
body.tax-product_cat nav.woocommerce-pagination ul li a,
body.tax-product_cat nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  background: #fff;
}
body.woocommerce-shop nav.woocommerce-pagination ul li span.current,
body.tax-product_cat nav.woocommerce-pagination ul li span.current {
  border-color: #10233f;
  background: #10233f;
  color: #fff;
}
@media (max-width: 1024px) {
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
  }
  .nv-shop-tools {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body.woocommerce-shop .woocommerce-products-header,
  body.tax-product_cat .woocommerce-products-header {
    padding: 22px 18px;
    border-radius: 13px;
  }
  body.woocommerce-shop .ast-container,
  body.tax-product_cat .ast-container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .nv-shop-tools {
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
  }
  .nv-shop-price-filter {
    grid-template-columns: 1fr 1fr;
  }
  .nv-shop-price-filter .nv-shop-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
  body.woocommerce-shop ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
  }
  body.woocommerce-shop ul.products li.product,
  body.tax-product_cat ul.products li.product {
    padding: 8px 8px 12px !important;
    border-radius: 11px;
  }
  body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }
  body.woocommerce-shop ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price {
    font-size: 15px;
  }
  body.woocommerce-shop ul.products li.product .button,
  body.tax-product_cat ul.products li.product .button {
    padding: 10px 7px;
    font-size: 12px;
  }
  body.woocommerce-shop form.woocommerce-ordering {
    float: none;
    width: 100%;
    margin: 10px 0 16px;
  }
  body.woocommerce-shop form.woocommerce-ordering select {
    width: 100%;
  }
  body.woocommerce-shop .woocommerce-result-count {
    float: none;
    margin: 0 0 8px;
  }
}
