:root {
  --ninermas-ink: #10253f;
  --ninermas-blue: #0f4c81;
  --ninermas-blue-deep: #083a63;
  --ninermas-accent: #d5a84e;
  --ninermas-bg: #f5f8fb;
  --ninermas-line: #d7e2ee;
  --ninermas-card: #ffffff;
  --ninermas-text: #203246;
  --ninermas-muted: #61778d;
  --ninermas-shadow: 0 20px 50px rgba(16, 37, 63, 0.12);
  --ninermas-radius: 24px;
}

body {
  background: linear-gradient(180deg, #edf4fa 0%, #f8fbfe 40%, #eef4f9 100%) !important;
  color: var(--ninermas-text) !important;
}

body.home .template-content,
body.home .page-wrapper {
  background: transparent !important;
}

.ninermas-price-notice {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--ninermas-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.single_add_to_cart_button,
.add_to_cart_button,
.woocommerce-variation-add-to-cart,
.price,
.amount,
.woocommerce-Price-amount,
.xstore-wishlist,
.xstore-compare,
.et_b_cart,
.cart-contents {
  display: none !important;
}

.woocommerce .add-request-quote-button.button,
.ywraq-add-to-quote,
.yith-ywraq-add-to-quote a,
button.add-request-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%) !important;
  color: #fff !important;
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  box-shadow: 0 14px 28px rgba(15, 76, 129, 0.18);
}

.woocommerce .add-request-quote-button.button:hover,
.ywraq-add-to-quote:hover,
.yith-ywraq-add-to-quote a:hover,
button.add-request-quote-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0a3f6d 0%, #062e4f 100%) !important;
}

.ninermas-homepage {
  display: block;
  padding: 18px 0 64px;
}

.ninermas-home-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.ninermas-home-topbar,
.ninermas-home-header,
.ninermas-hero,
.ninermas-section,
.ninermas-proof,
.ninermas-inquiry,
.ninermas-home-footer {
  position: relative;
  z-index: 1;
}

.ninermas-home-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-home-topbar span {
  position: relative;
  padding-left: 14px;
}

.ninermas-home-topbar span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ninermas-accent);
  transform: translateY(-50%);
}

.ninermas-home-topbar__left,
.ninermas-home-topbar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ninermas-home-topbar a {
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-home-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 253, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border-radius: calc(var(--ninermas-radius) - 6px);
  box-shadow: var(--ninermas-shadow);
}

.ninermas-home-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ninermas-ink);
}

.ninermas-home-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 37, 63, 0.08);
  overflow: hidden;
}

.ninermas-home-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ninermas-home-logo__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.ninermas-home-logo__text strong {
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}

.ninermas-home-logo__text small {
  color: var(--ninermas-muted);
}

.ninermas-home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.ninermas-home-nav a,
.ninermas-home-header__cta,
.ninermas-button,
.ninermas-section__heading--split > a {
  transition: 180ms ease;
}

.ninermas-home-nav a {
  color: var(--ninermas-ink);
  font-weight: 700;
}

.ninermas-home-nav a:hover,
.ninermas-section__heading--split > a:hover {
  color: var(--ninermas-blue);
}

.ninermas-home-header__cta,
.ninermas-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
}

.ninermas-home-header__cta,
.ninermas-button--primary {
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 76, 129, 0.22);
}

.ninermas-button--secondary,
.ninermas-button--tertiary {
  background: #fff;
  color: var(--ninermas-ink);
  border: 1px solid var(--ninermas-line);
}

.ninermas-home-header__cta:hover,
.ninermas-button:hover {
  transform: translateY(-2px);
}

.ninermas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.9fr);
  gap: 28px;
  margin-top: 24px;
  padding: 48px;
  border-radius: calc(var(--ninermas-radius) + 6px);
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 32%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 247, 255, 0.96) 52%, rgba(223, 236, 248, 0.94) 100%);
  box-shadow: var(--ninermas-shadow);
  overflow: hidden;
}

.ninermas-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ninermas-blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ninermas-hero h1,
.ninermas-hero h2,
.ninermas-section__heading h2,
.ninermas-inquiry__content h2 {
  margin: 0;
  color: var(--ninermas-ink);
  font-weight: 800;
  line-height: 1.08;
}

.ninermas-hero h1,
.ninermas-hero h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
}

.ninermas-hero__lead,
.ninermas-section__heading p,
.ninermas-solution-card p,
.ninermas-proof__item p,
.ninermas-inquiry__content p,
.ninermas-home-footer p,
.ninermas-category-card__body p {
  color: var(--ninermas-muted);
  line-height: 1.7;
}

.ninermas-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.ninermas-hero__market-note {
  display: grid;
  gap: 8px;
  max-width: 62ch;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 244, 250, 0.9) 100%);
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: 0 12px 26px rgba(16, 37, 63, 0.06);
}

.ninermas-hero__market-note strong {
  color: var(--ninermas-ink);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ninermas-hero__market-note span {
  color: var(--ninermas-text);
  line-height: 1.75;
}

.ninermas-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ninermas-hero__stats li {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 76, 129, 0.08);
}

.ninermas-hero__stats strong {
  display: block;
  color: var(--ninermas-ink);
  font-size: 1.35rem;
  font-weight: 800;
}

.ninermas-hero__stats span {
  display: block;
  margin-top: 6px;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-hero__visual {
  position: relative;
  min-height: 460px;
}

.ninermas-hero-stack {
  position: relative;
  height: 100%;
}

.ninermas-hero-card {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: clamp(170px, 36vw, 260px);
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(232, 241, 249, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 28px 40px rgba(16, 37, 63, 0.12);
}

.ninermas-hero-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.ninermas-hero-card span {
  text-align: center;
  color: var(--ninermas-ink);
  font-weight: 700;
  line-height: 1.45;
}

.ninermas-hero-card--1 {
  top: 0;
  right: 18px;
}

.ninermas-hero-card--2 {
  left: 0;
  top: 110px;
}

.ninermas-hero-card--3 {
  right: 42px;
  bottom: 18px;
}

.ninermas-section,
.ninermas-proof,
.ninermas-inquiry,
.ninermas-home-footer {
  margin-top: 28px;
}

.ninermas-section {
  padding: 36px;
  border-radius: calc(var(--ninermas-radius) - 2px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(16, 37, 63, 0.08);
}

.ninermas-section__heading {
  margin-bottom: 24px;
}

.ninermas-section__heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ninermas-section__heading--split > a {
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-category-grid,
.ninermas-brand-grid,
.ninermas-product-grid,
.ninermas-solution-grid,
.ninermas-news-grid,
.ninermas-testimonial-grid,
.ninermas-home-footer {
  display: grid;
  gap: 20px;
}

.ninermas-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ninermas-category-card,
.ninermas-brand-tile,
.ninermas-product-card,
.ninermas-solution-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--ninermas-line);
  background: var(--ninermas-card);
  overflow: hidden;
}

.ninermas-category-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ninermas-category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(180deg, #f5fafe 0%, #ecf3f9 100%);
}

.ninermas-category-card__body,
.ninermas-product-card__content,
.ninermas-solution-card,
.ninermas-brand-tile {
  padding: 20px;
}

.ninermas-category-card__body h3,
.ninermas-solution-card h3,
.ninermas-proof__item h3,
.ninermas-home-footer h3,
.ninermas-home-footer h4,
.ninermas-product-card h3 {
  margin: 0;
  color: var(--ninermas-ink);
}

.ninermas-category-card__body span {
  margin-top: 8px;
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-brand-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ninermas-brand-tile {
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 128px;
  text-align: center;
}

.ninermas-brand-tile img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.ninermas-brand-tile span {
  color: var(--ninermas-muted);
  font-size: 0.88rem;
}

.ninermas-solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ninermas-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ninermas-news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ninermas-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(16, 37, 63, 0.08);
}

.ninermas-news-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 260px;
  padding: 18px;
  background: linear-gradient(180deg, #ecf3f9 0%, #dfeaf4 100%);
}

.ninermas-news-card__image img,
.ninermas-news-card__placeholder {
  width: 100%;
  height: 100%;
}

.ninermas-news-card__image img {
  display: block;
  max-width: 100%;
  max-height: 224px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.ninermas-news-card:hover .ninermas-news-card__image img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);
}

.ninermas-news-card__placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--ninermas-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ninermas-news-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.ninermas-news-card__body h3,
.ninermas-testimonial-card strong {
  margin: 0;
  color: var(--ninermas-ink);
}

.ninermas-news-card__body h3 a {
  color: var(--ninermas-ink);
}

.ninermas-news-card__body p,
.ninermas-testimonial-card p {
  margin: 0;
  color: var(--ninermas-text);
  line-height: 1.75;
}

.ninermas-news-card__body span {
  color: var(--ninermas-muted);
  font-weight: 700;
}

.ninermas-testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ninermas-testimonial-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--ninermas-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 253, 0.95) 100%);
  box-shadow: 0 18px 34px rgba(16, 37, 63, 0.08);
}

.ninermas-testimonial-card__rating {
  color: var(--ninermas-accent);
  font-weight: 800;
}

.ninermas-testimonial-card__rating span {
  color: var(--ninermas-ink);
}

.ninermas-testimonial-card__meta {
  display: grid;
  gap: 4px;
}

.ninermas-testimonial-card__meta span,
.ninermas-testimonial-card__meta small {
  color: var(--ninermas-muted);
}

.ninermas-solution-card {
  gap: 14px;
  min-height: 210px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.ninermas-solution-card--workflow {
  min-height: 240px;
}

.ninermas-solution-card--workflow span {
  margin-top: auto;
  color: var(--ninermas-blue);
  font-weight: 800;
}

.ninermas-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ninermas-product-card__image {
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 260px;
  background: linear-gradient(180deg, #f5fafe 0%, #edf4fa 100%);
}

.ninermas-product-card__image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.ninermas-product-card__brand,
.ninermas-product-card__sku {
  margin: 0;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-product-card h3 {
  margin-top: 10px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.ninermas-product-card h3 a {
  color: var(--ninermas-ink);
}

.ninermas-product-card__actions {
  margin-top: 18px;
}

.ninermas-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.ninermas-proof__item {
  padding: 28px;
  border-radius: calc(var(--ninermas-radius) - 4px);
  background:
    linear-gradient(160deg, rgba(9, 54, 92, 0.97) 0%, rgba(13, 78, 128, 0.92) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(16, 37, 63, 0.14);
}

.ninermas-proof__item p,
.ninermas-proof__item h3 {
  color: #fff;
}

.ninermas-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  gap: 18px;
  padding: 24px;
  border-radius: calc(var(--ninermas-radius) - 4px);
  background:
    radial-gradient(circle at top left, rgba(213, 168, 78, 0.16), transparent 25%),
    linear-gradient(180deg, #f8fbfe 0%, #e8f0f8 100%);
  box-shadow: 0 18px 36px rgba(16, 37, 63, 0.1);
  align-items: start;
}

.ninermas-inquiry__content {
  display: grid;
  grid-template-rows: auto auto;
  align-self: stretch;
  gap: 6px;
  max-width: 40rem;
  min-height: 100%;
}

.ninermas-inquiry__content h2 {
  max-width: 20ch;
  font-size: clamp(1.78rem, 2.3vw, 2.5rem);
  line-height: 1.16;
  text-wrap: balance;
}

.ninermas-inquiry__content > p {
  max-width: 31ch;
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.55;
}

.ninermas-inquiry__content > :first-child {
  display: grid;
  align-content: start;
  gap: 6px;
}

.ninermas-inquiry__content > :last-child {
  display: grid;
  align-content: start;
}

.ninermas-inquiry__content ul,
.ninermas-home-footer ul {
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
}

.ninermas-inquiry__content li,
.ninermas-home-footer li {
  margin-top: 5px;
  color: var(--ninermas-muted);
}

.ninermas-inquiry__form {
  padding: 14px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  align-self: start;
}

.ninermas-inquiry__form p {
  margin: 0 0 8px;
}

.ninermas-inquiry__form p:first-child {
  margin-top: -2px;
}

.ninermas-inquiry__form label {
  display: block;
  color: var(--ninermas-ink);
  font-weight: 700;
  line-height: 1.25;
}

.ninermas-inquiry__form input[type="text"],
.ninermas-inquiry__form input[type="email"],
.ninermas-inquiry__form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--ninermas-line);
  border-radius: 14px;
  min-height: 44px;
  padding: 0.78rem 0.92rem;
  background: #f9fcff;
}

.ninermas-inquiry__form textarea {
  min-height: 56px;
  max-height: 120px;
  resize: vertical;
}

.ninermas-inquiry__form input[type="submit"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ninermas-home-footer {
  grid-template-columns: minmax(300px, 0.96fr) minmax(0, 1.24fr);
  padding: 34px;
  border-radius: calc(var(--ninermas-radius) + 4px);
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(9, 42, 69, 0.98) 0%, rgba(10, 49, 78, 0.98) 100%);
  box-shadow: 0 18px 44px rgba(16, 37, 63, 0.16);
  align-items: start;
}

.ninermas-home-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.ninermas-home-footer h3,
.ninermas-home-footer h4,
.ninermas-home-footer p,
.ninermas-home-footer li,
.ninermas-home-footer strong {
  color: #fff;
}

.ninermas-home-footer li {
  opacity: 0.88;
}

.ninermas-home-footer ul {
  margin-top: 16px;
}

.ninermas-home-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-heading {
  margin: 28px auto 0;
  padding: 26px 0;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(15, 76, 129, 0.1) 0%, rgba(255, 255, 255, 0.95) 70%);
  border-radius: 24px;
}

.page-heading .title span,
.page-heading .breadcrumbs a,
.page-heading .back-history {
  color: var(--ninermas-ink);
}

.page-heading .title span {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-heading .back-history {
  display: inline-flex;
  margin-bottom: 10px;
  font-weight: 700;
}

.content-page {
  margin-top: 28px;
}

.content-page .content {
  width: 100%;
}

.content-page .sidebar {
  display: none;
}

.content-page .row {
  display: block;
}

.content-page .content.col-md-9 {
  width: 100%;
  max-width: 100%;
}

.ninermas-page-shell {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 253, 0.96) 100%);
  box-shadow: 0 20px 45px rgba(16, 37, 63, 0.08);
}

.ninermas-page-shell h1 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--ninermas-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.ninermas-page-shell h2 {
  margin-bottom: 10px;
  color: var(--ninermas-ink);
  font-size: 1.35rem;
}

.ninermas-page-shell p,
.ninermas-page-shell li {
  color: var(--ninermas-text);
  font-size: 1.02rem;
  line-height: 1.8;
}

.ninermas-page-shell ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.ninermas-page-shell a {
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-page-shell > p {
  max-width: 74ch;
}

.ninermas-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ninermas-page-grid article {
  padding: 24px;
  border: 1px solid var(--ninermas-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(16, 37, 63, 0.06);
}

.ninermas-page-grid--brands {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ninermas-page-grid--linked-brands {
  margin-top: 28px;
}

.ninermas-page-brand-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--ninermas-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(16, 37, 63, 0.06);
  transition: 180ms ease;
}

.ninermas-page-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.22);
  box-shadow: 0 20px 38px rgba(16, 37, 63, 0.1);
}

.ninermas-page-brand-card h2,
.ninermas-page-brand-card p {
  margin: 0;
}

.ninermas-page-brand-card h2 {
  color: var(--ninermas-ink);
  font-size: 1.4rem;
}

.ninermas-page-brand-card p {
  color: var(--ninermas-muted);
  line-height: 1.75;
}

.ninermas-page-brand-card--solution {
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 253, 0.92) 100%);
}

.ninermas-page-brand-card--topic {
  background:
    radial-gradient(circle at top right, rgba(15, 76, 129, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 252, 0.92) 100%);
}

@media (max-width: 1180px) {
  .ninermas-category-grid,
  .ninermas-product-grid,
  .ninermas-brand-grid,
  .ninermas-news-grid,
  .ninermas-page-grid--brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ninermas-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .ninermas-home-header,
  .ninermas-hero,
  .ninermas-inquiry,
  .ninermas-solution-grid,
  .ninermas-news-grid,
  .ninermas-home-footer,
  .ninermas-proof,
  .ninermas-hero__stats {
    grid-template-columns: 1fr;
  }

  .ninermas-home-header {
    justify-items: start;
  }

  .ninermas-home-nav {
    justify-content: start;
  }

  .ninermas-category-grid,
  .ninermas-product-grid,
  .ninermas-brand-grid,
  .ninermas-page-grid,
  .ninermas-testimonial-grid,
  .ninermas-page-grid--brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ninermas-hero__visual {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .ninermas-home-shell {
    width: min(100% - 20px, 1280px);
  }

  .ninermas-home-topbar {
    flex-direction: column;
  }

  .ninermas-home-header,
  .ninermas-hero,
  .ninermas-section,
  .ninermas-inquiry,
  .ninermas-page-shell {
    padding: 22px;
  }

  .ninermas-category-grid,
  .ninermas-product-grid,
  .ninermas-brand-grid,
  .ninermas-news-grid,
  .ninermas-page-grid,
  .ninermas-testimonial-grid,
  .ninermas-page-grid--brands {
    grid-template-columns: 1fr;
  }

  .ninermas-section__heading--split {
    align-items: start;
    flex-direction: column;
  }

  .ninermas-hero__visual {
    min-height: 460px;
  }

  .ninermas-hero-card {
    width: 180px;
  }

  .ninermas-hero-card img {
    height: 120px;
  }
}

.ninermas-hero {
  display: block;
  padding: 26px;
}

.ninermas-hero__slider {
  display: grid;
  gap: 22px;
}

.ninermas-hero__slides {
  position: relative;
  min-height: 620px;
}

.ninermas-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  padding: 26px;
  border-radius: calc(var(--ninermas-radius) + 2px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.ninermas-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 252, 0.96) 52%, rgba(223, 234, 244, 0.94) 100%);
  box-shadow: var(--ninermas-shadow);
}

.ninermas-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ninermas-hero__content,
.ninermas-hero__visual {
  position: relative;
  z-index: 1;
}

.ninermas-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.ninermas-hero__lead {
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ninermas-text);
}

.ninermas-hero__media {
  position: absolute;
  inset: 0 0 0 12%;
  display: grid;
  align-items: center;
  justify-items: end;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(15, 76, 129, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(246, 250, 253, 0.92) 0%, rgba(225, 235, 244, 0.82) 100%);
}

.ninermas-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 250, 253, 0.85) 0%, rgba(246, 250, 253, 0.2) 45%, rgba(246, 250, 253, 0.05) 100%),
    linear-gradient(180deg, rgba(15, 76, 129, 0.06) 0%, transparent 35%);
}

.ninermas-hero__media img {
  width: min(96%, 760px);
  max-height: 100%;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.03);
}

.ninermas-hero__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.ninermas-slider-dots {
  display: inline-flex;
  gap: 10px;
}

.ninermas-slider-dots__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.18);
  cursor: pointer;
  transition: 180ms ease;
}

.ninermas-slider-dots__dot.is-active {
  width: 40px;
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%);
}

.ninermas-logo-strip {
  overflow: hidden;
  padding: 18px 8px 8px;
}

.ninermas-logo-strip__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: ninermasMarquee 36s linear infinite;
}

.ninermas-logo-strip__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 88px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(16, 37, 63, 0.07);
}

.ninermas-logo-strip__item img {
  max-width: 140px;
  max-height: 38px;
  object-fit: contain;
}

.ninermas-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ninermas-faq__item {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,249,253,0.98) 100%);
  box-shadow: 0 18px 36px rgba(16, 37, 63, 0.08);
}

.ninermas-faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ninermas-faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--ninermas-ink);
}

.ninermas-faq__item summary::-webkit-details-marker {
  display: none;
}

.ninermas-faq__item p {
  margin: 14px 0 0;
  line-height: 1.8;
}

.ninermas-inner-page {
  padding: 18px 0 70px;
}

.ninermas-site-header-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18px;
}

.ninermas-home-header--inner {
  width: 100%;
}

.page .header-wrapper,
.page .site-header {
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.ninermas-page-hero,
.ninermas-page-layout,
.ninermas-page-cta {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.ninermas-page-hero {
  padding-top: 8px;
}

.ninermas-page-hero__inner {
  padding: 36px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(17, 59, 95, 0.94) 0%, rgba(14, 77, 125, 0.88) 54%, rgba(240, 247, 252, 0.96) 54%, rgba(240, 247, 252, 0.96) 100%);
  box-shadow: var(--ninermas-shadow);
}

.ninermas-page-hero__inner .ninermas-eyebrow,
.ninermas-page-hero__inner h1,
.ninermas-page-hero__lead {
  max-width: 52%;
}

.ninermas-page-hero__inner .ninermas-eyebrow,
.ninermas-page-hero__inner h1 {
  color: #fff;
}

.ninermas-page-hero__inner h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3.2vw, 3.7rem);
  line-height: 1.08;
}

.ninermas-page-hero__lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.ninermas-page-layout {
  margin-top: 24px;
}

.ninermas-page-layout__inner {
  padding: 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 37, 63, 0.08);
}

.ninermas-page-content > *:first-child {
  margin-top: 0;
}

.ninermas-page-content .ninermas-page-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ninermas-page-cta {
  margin-top: 24px;
}

.ninermas-page-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(213, 168, 78, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 254, 0.98) 0%, rgba(232, 240, 248, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(16, 37, 63, 0.08);
}

.ninermas-page-cta__inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.ninermas-page-cta__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ninermas-floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  display: grid;
  gap: 10px;
}

.ninermas-floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(9, 54, 92, 0.96) 0%, rgba(13, 78, 128, 0.96) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(16, 37, 63, 0.18);
  font-weight: 800;
}

.ninermas-floating-contact a:nth-child(2),
.ninermas-floating-contact a:nth-child(4) {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ninermas-ink);
  border: 1px solid rgba(15, 76, 129, 0.12);
}

@keyframes ninermasMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .ninermas-page-hero__inner .ninermas-eyebrow,
  .ninermas-page-hero__inner h1,
  .ninermas-page-hero__lead {
    max-width: 60%;
  }
}

@media (max-width: 992px) {
  .ninermas-hero__slides {
    min-height: 860px;
  }

  .ninermas-hero__slide,
  .ninermas-page-cta__inner {
    grid-template-columns: 1fr;
  }

  .ninermas-faq {
    grid-template-columns: 1fr;
  }

  .ninermas-page-hero__inner {
    background:
      radial-gradient(circle at top right, rgba(213, 168, 78, 0.18), transparent 24%),
      linear-gradient(180deg, rgba(17, 59, 95, 0.96) 0%, rgba(14, 77, 125, 0.92) 58%, rgba(240, 247, 252, 0.96) 58%, rgba(240, 247, 252, 0.96) 100%);
  }

  .ninermas-page-hero__inner .ninermas-eyebrow,
  .ninermas-page-hero__inner h1,
  .ninermas-page-hero__lead {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .ninermas-hero__slides {
    min-height: 980px;
  }

  .ninermas-hero__slide,
  .ninermas-page-hero__inner,
  .ninermas-page-layout__inner,
  .ninermas-page-cta__inner {
    padding: 24px;
  }

  .ninermas-hero__footer {
    grid-template-columns: 1fr;
  }

  .ninermas-slider-dots {
    justify-content: center;
  }

  .ninermas-logo-strip__item {
    min-width: 160px;
  }

  .ninermas-floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .ninermas-floating-contact a {
    min-width: 74px;
  }
}

/* 2026-04-15 homepage navigation and category rail refinement */
.ninermas-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 120;
  isolation: isolate;
  overflow: visible;
}

.ninermas-home-header__navs,
.ninermas-home-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ninermas-home-header__navs {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 253, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ninermas-home-header__actions {
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: max-content;
  gap: 6px;
}

.ninermas-header-search-shell {
  margin-top: 10px;
}

.ninermas-header-search {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 250, 253, 0.92) 100%);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 12px 24px rgba(16, 37, 63, 0.06);
}

.ninermas-header-search__intro h2 {
  margin: 3px 0 0;
  color: var(--ninermas-ink);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  line-height: 1.45;
}

.ninermas-header-search__form {
  min-width: 0;
  max-width: 680px;
  width: 100%;
  justify-self: end;
}

.ninermas-header-search .dgwt-wcas-search-wrapp {
  width: 100%;
}

.ninermas-header-search .dgwt-wcas-search-form {
  width: 100%;
}

.ninermas-header-search .dgwt-wcas-sf-wrapp,
.ninermas-header-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  position: relative !important;
  display: block !important;
  min-height: 48px;
  padding: 5px 8px !important;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ninermas-header-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.ninermas-header-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
.ninermas-header-search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
.ninermas-header-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.ninermas-header-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover,
.ninermas-header-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  flex: 1 1 auto;
  height: 36px;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 8px 0 52px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ninermas-ink) !important;
  font-size: 0.92rem !important;
  box-shadow: none !important;
}

.ninermas-header-search .dgwt-wcas-search-input::placeholder {
  color: #6d83a0;
  opacity: 1;
}

.ninermas-header-search .dgwt-wcas-search-submit,
.ninermas-header-search .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.ninermas-header-search .dgwt-wcas-sf-wrapp.dgwt-wcas-empty .dgwt-wcas-search-submit {
  position: absolute !important;
  left: 12px !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  order: 0 !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: var(--ninermas-ink) !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  transform: translateY(-50%) !important;
  float: none !important;
  flex: 0 0 38px !important;
  z-index: 2 !important;
}

.ninermas-header-search .dgwt-wcas-search-submit svg,
.ninermas-header-search .dgwt-wcas-search-submit i {
  display: block;
  margin: 0 auto;
}

.ninermas-header-search .dgwt-wcas-search-submit:hover {
  color: var(--ninermas-blue);
  transform: translateY(-50%) !important;
}

.ninermas-header-search .dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit,
.ninermas-header-search .dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  left: 12px !important;
  right: auto !important;
  padding-left: 52px !important;
  padding-right: 8px !important;
}

.ninermas-home-nav {
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.ninermas-home-nav--primary {
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

.ninermas-home-nav > a,
.ninermas-nav-group__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  line-height: 1;
  white-space: nowrap;
}

.ninermas-home-nav a {
  color: var(--ninermas-ink);
  font-weight: 700;
}

.ninermas-home-nav a:hover,
.ninermas-section__heading--split > a:hover {
  color: var(--ninermas-blue);
}

.ninermas-home-nav--primary > a,
.ninermas-home-nav--primary .ninermas-nav-group__toggle {
  position: relative;
  padding: 0 2px;
  font-size: 0.93rem;
}

.ninermas-home-nav--primary > a::after,
.ninermas-home-nav--primary .ninermas-nav-group__toggle::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: 180ms ease;
}

.ninermas-home-nav--primary > a:hover::after,
.ninermas-home-nav--primary .ninermas-nav-group__toggle:hover::before,
.ninermas-nav-group.is-open .ninermas-nav-group__toggle::before {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.9) 0%, rgba(213, 168, 78, 0.9) 100%);
}

.ninermas-home-nav--utility {
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.ninermas-home-nav--utility a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-left: 9px;
  font-size: 0.86rem;
  line-height: 1;
  white-space: nowrap !important;
}

.ninermas-home-nav--utility a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ninermas-accent);
  transform: translateY(-50%);
}

.ninermas-category-menu,
.ninermas-nav-group {
  position: relative;
}

.ninermas-category-menu__toggle,
.ninermas-nav-group__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ninermas-ink);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
}

.ninermas-category-menu__toggle {
  position: relative;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
  min-width: max-content !important;
  width: auto !important;
  padding: 0.8rem 1rem 0.8rem 2.55rem;
  line-height: 1 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(16, 37, 63, 0.08);
}

.ninermas-home-header__cta {
  flex-shrink: 0;
  padding: 0.88rem 1.18rem;
  font-size: 0.9rem;
  white-space: nowrap !important;
}

.ninermas-category-menu__toggle::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 18px;
  height: 12px;
  border-top: 2px solid var(--ninermas-ink);
  border-bottom: 2px solid var(--ninermas-ink);
  transform: translateY(-50%);
}

.ninermas-category-menu__toggle::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 18px;
  border-top: 2px solid var(--ninermas-ink);
  transform: translateY(-50%);
}

.ninermas-nav-group__toggle::after {
  content: "▾";
  margin-left: 6px;
  color: var(--ninermas-muted);
  font-size: 0.8rem;
}

.ninermas-category-menu__panel,
.ninermas-nav-group__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 180;
  display: grid;
  gap: 8px;
  min-width: 260px;
  padding: 16px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(16, 37, 63, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 180ms ease;
  pointer-events: none;
}

.ninermas-category-menu__panel {
  min-width: 340px;
}

.ninermas-category-menu__header {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
}

.ninermas-category-menu__header strong {
  color: var(--ninermas-blue);
  font-size: 1.05rem;
}

.ninermas-category-menu__header span {
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-category-menu__nav {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.ninermas-category-menu__nav a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  color: var(--ninermas-text);
  transition: 180ms ease;
}

.ninermas-category-menu__nav a:hover {
  background: rgba(15, 76, 129, 0.08);
  transform: translateX(2px);
}

.ninermas-category-menu__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12) 0%, rgba(8, 58, 99, 0.18) 100%);
  color: var(--ninermas-blue);
  font-size: 1rem;
  font-weight: 800;
}

.ninermas-category-menu__nav strong,
.ninermas-category-menu__nav small {
  display: block;
}

.ninermas-category-menu__nav small {
  margin-top: 2px;
  color: var(--ninermas-muted);
}

.ninermas-nav-group__panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  color: var(--ninermas-text);
  font-weight: 600;
}

.ninermas-nav-group__panel a:hover {
  background: rgba(15, 76, 129, 0.08);
}

.ninermas-category-menu:hover .ninermas-category-menu__panel,
.ninermas-category-menu.is-open .ninermas-category-menu__panel,
.ninermas-nav-group:hover .ninermas-nav-group__panel,
.ninermas-nav-group.is-open .ninermas-nav-group__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ninermas-button--ghost {
  background: transparent;
  color: var(--ninermas-ink);
  border: 1px dashed rgba(16, 37, 63, 0.22);
}

.ninermas-hero {
  display: block;
  padding: 26px;
  position: relative;
  z-index: 0;
}

.ninermas-hero__actions,
.ninermas-inquiry__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .ninermas-home-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ninermas-header-search {
    grid-template-columns: 1fr;
  }

  .ninermas-home-header__navs {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
  }

  .ninermas-home-header__actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .ninermas-home-header__navs,
  .ninermas-home-header__actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ninermas-home-header__navs {
    padding: 16px;
  }

  .ninermas-home-nav {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .ninermas-header-search {
    padding: 12px;
  }

  .ninermas-category-menu__panel,
  .ninermas-nav-group__panel {
    position: static;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 100%;
    pointer-events: auto;
  }

  .ninermas-category-menu.is-open .ninermas-category-menu__panel,
  .ninermas-nav-group.is-open .ninermas-nav-group__panel {
    display: grid;
  }
}

@media (max-width: 680px) {
  .ninermas-home-header {
    align-items: stretch;
  }

  .ninermas-header-search .dgwt-wcas-sf-wrapp {
    min-height: 44px;
  }

  .ninermas-home-header__navs,
  .ninermas-home-header__actions,
  .ninermas-home-nav,
  .ninermas-home-nav--utility {
    width: 100%;
    justify-content: flex-start;
  }
}

.woocommerce .page-content,
.woocommerce .template-content {
  background: transparent;
}

.ninermas-archive-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 18px auto 24px;
}

.ninermas-archive-hero__inner {
  padding: 28px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(17, 59, 95, 0.94) 0%, rgba(14, 77, 125, 0.9) 62%, rgba(240, 247, 252, 0.98) 62%, rgba(240, 247, 252, 0.98) 100%);
  box-shadow: 0 18px 44px rgba(16, 37, 63, 0.12);
}

.ninermas-archive-hero__content {
  max-width: 60%;
}

.ninermas-archive-hero__content .ninermas-eyebrow,
.ninermas-archive-hero__content h1 {
  color: #fff;
}

.ninermas-archive-hero__content h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2.75vw, 2.95rem);
  line-height: 1.04;
}

.ninermas-archive-hero__content p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.68;
}

.ninermas-archive-hero__meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
}

.ninermas-archive-hero__utility {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ninermas-archive-hero__utility span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(9, 31, 51, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.ninermas-archive-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ninermas-archive-hero__chips a,
.ninermas-archive-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
}

.ninermas-archive-hero__chips a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.ninermas-archive-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 992px) {
  .ninermas-archive-hero__content {
    max-width: 100%;
  }

  .ninermas-archive-hero__inner {
    background:
      radial-gradient(circle at top right, rgba(213, 168, 78, 0.18), transparent 24%),
      linear-gradient(180deg, rgba(17, 59, 95, 0.96) 0%, rgba(14, 77, 125, 0.92) 58%, rgba(240, 247, 252, 0.98) 58%, rgba(240, 247, 252, 0.98) 100%);
  }
}

@media (max-width: 680px) {
  .ninermas-archive-hero__inner {
    padding: 24px;
  }
}

.ninermas-catalog-page {
  padding: 8px 0 70px;
}

.ninermas-header-search-shell + .ninermas-inner-page,
.ninermas-header-search-shell + .ninermas-catalog-page {
  padding-top: 0;
}

.ninermas-catalog-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
}

.ninermas-catalog-sidebar {
  display: grid;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: 18px;
}

.ninermas-catalog-sidebar__card,
.ninermas-catalog-main,
.ninermas-catalog-empty {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(16, 37, 63, 0.08);
}

.ninermas-catalog-sidebar__card {
  padding: 24px;
}

.ninermas-catalog-sidebar__card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.ninermas-catalog-sidebar__card p:not(.ninermas-eyebrow) {
  margin-top: 12px;
  color: var(--ninermas-muted);
  line-height: 1.75;
}

.ninermas-catalog-sidebar__links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ninermas-catalog-sidebar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(15, 76, 129, 0.05);
  color: var(--ninermas-ink);
  font-weight: 700;
  transition: 180ms ease;
}

.ninermas-catalog-sidebar__links a:hover {
  background: rgba(15, 76, 129, 0.1);
  transform: translateX(2px);
}

.ninermas-catalog-sidebar__links a.is-active {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.14) 0%, rgba(8, 58, 99, 0.1) 100%);
  border: 1px solid rgba(15, 76, 129, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.ninermas-catalog-sidebar__links a.is-active span {
  color: var(--ninermas-blue-deep);
}

.ninermas-catalog-sidebar__links a small {
  color: var(--ninermas-muted);
  font-weight: 600;
}

.ninermas-catalog-sidebar__support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ninermas-catalog-main {
  padding: 26px;
}

.ninermas-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
}

.ninermas-catalog-toolbar .woocommerce-result-count {
  margin: 0;
  color: var(--ninermas-muted);
  font-weight: 700;
}

.ninermas-catalog-toolbar__note {
  margin: 8px 0 0;
  color: var(--ninermas-text);
  font-weight: 600;
}

.ninermas-catalog-toolbar__series {
  margin: 8px 0 0;
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-catalog-toolbar__clear {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-catalog-toolbar .woocommerce-ordering {
  margin: 0;
}

.ninermas-catalog-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.ninermas-catalog-toolbar__rfq {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--ninermas-blue-deep);
  font-weight: 800;
}

.ninermas-catalog-toolbar .orderby {
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ninermas-line);
  border-radius: 14px;
  background: #fff;
}

.ninermas-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.ninermas-catalog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,249,253,0.98) 100%);
  box-shadow: 0 18px 38px rgba(16, 37, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ninermas-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.18);
  box-shadow: 0 24px 44px rgba(16, 37, 63, 0.1);
}

.ninermas-catalog-card__image {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
}

.ninermas-catalog-card__image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.ninermas-catalog-card:hover .ninermas-catalog-card__image img {
  transform: scale(1.03);
}

.ninermas-catalog-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.ninermas-catalog-card__brand,
.ninermas-catalog-card__sku {
  margin: 0;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-catalog-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.ninermas-catalog-card__title a {
  color: var(--ninermas-ink);
}

.ninermas-catalog-card__summary {
  margin: 0;
  color: var(--ninermas-text);
  line-height: 1.72;
}

.ninermas-catalog-card__price {
  margin-top: auto;
}

.ninermas-catalog-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.ninermas-catalog-card__actions .ninermas-button {
  flex: 1 1 160px;
}

.ninermas-catalog-pagination {
  margin-top: 26px;
}

.ninermas-catalog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-right: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ninermas-line);
  color: var(--ninermas-ink);
  font-weight: 700;
}

.ninermas-catalog-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%);
  border-color: transparent;
  color: #fff;
}

.ninermas-catalog-empty {
  padding: 32px;
}

@media (max-width: 1180px) {
  .ninermas-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .ninermas-catalog-shell {
    grid-template-columns: 1fr;
  }

  .ninermas-catalog-sidebar {
    position: static;
  }

  .ninermas-catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ninermas-catalog-toolbar__controls {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .ninermas-catalog-main,
  .ninermas-catalog-sidebar__card {
    padding: 22px;
  }

  .ninermas-catalog-grid {
    grid-template-columns: 1fr;
  }
}

.ninermas-single-product-page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4px 0 70px;
}

.single-product .ninermas-header-search-shell {
  margin-top: 6px;
  margin-bottom: 0;
}

.single-product .ninermas-header-search-shell + .ninermas-single-product-page {
  padding-top: 0;
}

.ninermas-single-product,
.ninermas-product-hero,
.ninermas-product-layout,
.ninermas-product-tabs {
  margin-top: 10px;
}

.ninermas-product-hero,
.ninermas-product-layout,
.ninermas-product-tabs {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.ninermas-product-hero {
  display: grid;
  gap: 16px;
}

.ninermas-product-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ninermas-product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ninermas-muted);
  font-weight: 700;
}

.ninermas-product-breadcrumbs a {
  color: var(--ninermas-ink);
}

.ninermas-product-hero__back {
  color: var(--ninermas-blue);
  font-weight: 800;
}

.ninermas-product-hero__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
}

.ninermas-product-hero__summary h1 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: clamp(1.9rem, 2.75vw, 2.95rem);
  line-height: 1.1;
}

.ninermas-product-hero__lead {
  max-width: 74ch;
  margin: 10px 0 0;
  color: var(--ninermas-text);
  line-height: 1.65;
}

.ninermas-product-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ninermas-product-hero__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #f3f8fc 100%);
  border: 1px solid rgba(15, 76, 129, 0.12);
  color: var(--ninermas-ink);
  font-weight: 700;
}

.ninermas-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ninermas-product-hero__actions .ninermas-button {
  min-height: 44px;
  padding: 0.78rem 1.1rem;
}

.ninermas-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.ninermas-product-layout__gallery {
  min-width: 0;
  overflow: hidden;
  align-self: start;
}

.ninermas-static-gallery {
  display: grid;
  gap: 14px;
}

.ninermas-static-gallery__main-link {
  display: grid;
  place-items: center;
  min-height: 560px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf2f9 100%);
  overflow: hidden;
}

.ninermas-static-gallery__main-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ninermas-static-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ninermas-static-gallery__thumb {
  display: grid;
  padding: 0;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ninermas-static-gallery__thumb.is-active {
  border-color: rgba(15, 76, 129, 0.34);
  box-shadow: 0 16px 30px rgba(16, 37, 63, 0.12);
  transform: translateY(-1px);
}

.ninermas-static-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ninermas-product-layout__details {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 18px;
}

.ninermas-product-card-panel {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--ninermas-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 253, 0.98) 100%);
  box-shadow: 0 16px 30px rgba(16, 37, 63, 0.06);
}

.ninermas-product-card-panel__label {
  margin: 0 0 10px;
  color: var(--ninermas-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ninermas-product-card-panel__title {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: 1.3rem;
  line-height: 1.45;
}

.ninermas-product-card-panel__price {
  margin-bottom: 14px;
}

.ninermas-product-card-panel__quote .ywraq-add-to-quote,
.ninermas-product-card-panel__quote .yith-ywraq-add-to-quote,
.ninermas-product-card-panel__quote .yith-ywraq-add-button {
  display: block;
}

.ninermas-product-card-panel__quote .button,
.ninermas-product-card-panel__quote .ninermas-button {
  width: 100%;
}

.ninermas-product-card-panel__doc {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(240, 247, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.ninermas-product-card-panel__doc p {
  margin: 10px 0 0;
  color: var(--ninermas-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.ninermas-button--pdf {
  width: 100%;
  justify-content: center;
  border-color: rgba(15, 76, 129, 0.18);
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 37, 63, 0.08);
}

.ninermas-button--pdf:hover {
  box-shadow: 0 16px 30px rgba(16, 37, 63, 0.12);
}

.ninermas-product-specs,
.ninermas-product-support-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.ninermas-product-specs li {
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 76, 129, 0.08);
}

.ninermas-product-specs strong {
  color: var(--ninermas-ink);
}

.ninermas-product-specs span,
.ninermas-product-specs a,
.ninermas-product-support-list li {
  color: var(--ninermas-text);
  line-height: 1.55;
}

.ninermas-product-series-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ninermas-product-series-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.06);
  border: 1px solid rgba(15, 76, 129, 0.12);
  color: var(--ninermas-ink);
  font-weight: 700;
}

.ninermas-product-series-links a:hover {
  background: rgba(15, 76, 129, 0.12);
}

.ninermas-product-tabs .woocommerce-tabs {
  margin: 0;
}

.ninermas-product-tabs .wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.ninermas-product-tabs .wc-tabs li {
  margin: 0;
}

.ninermas-product-tabs .wc-tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #f4f8fc;
  color: var(--ninermas-ink);
  font-weight: 800;
}

.ninermas-product-tabs .wc-tabs li.active a {
  background: linear-gradient(135deg, var(--ninermas-blue) 0%, var(--ninermas-blue-deep) 100%);
  color: #fff;
}

.ninermas-product-tabs .tab-content,
.ninermas-product-tabs .tab-content-inner,
.ninermas-product-tabs .tab-content-scroll,
.ninermas-product-tabs .woocommerce-Tabs-panel {
  color: var(--ninermas-text);
  line-height: 1.8;
}

.ninermas-product-tabs .tab-content > h2:first-child,
.ninermas-product-tabs .tab-content-inner > h2:first-child,
.ninermas-product-tabs .tab-content-scroll > h2:first-child,
.ninermas-product-tabs .woocommerce-Tabs-panel > h2:first-child,
.ninermas-product-tabs .woocommerce-Tabs-panel .wc-tab-inner > h2:first-child {
  margin-bottom: 20px;
}

.ninermas-product-tabs .tab-content table,
.ninermas-product-tabs .tab-content .shop_attributes,
.ninermas-product-tabs .woocommerce-Tabs-panel table,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(16, 37, 63, 0.05);
  overflow: hidden;
}

.ninermas-product-tabs .tab-content table caption,
.ninermas-product-tabs .tab-content .shop_attributes caption,
.ninermas-product-tabs .woocommerce-Tabs-panel table caption,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes caption {
  padding: 16px 18px 0;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.ninermas-product-tabs .tab-content thead th,
.ninermas-product-tabs .tab-content .shop_attributes thead th,
.ninermas-product-tabs .tab-content .shop_attributes th,
.ninermas-product-tabs .woocommerce-Tabs-panel thead th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes thead th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes th {
  padding: 15px;
  background: #f0f7ff;
  border-bottom: 1px solid #e0e0e0;
  color: #0056b3;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ninermas-product-tabs .tab-content tbody th,
.ninermas-product-tabs .tab-content tbody td,
.ninermas-product-tabs .tab-content .shop_attributes td,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody th,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody td,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes td {
  padding: 15px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
  transition: background-color 180ms ease, color 180ms ease;
}

.ninermas-product-tabs .tab-content tbody th,
.ninermas-product-tabs .tab-content .shop_attributes th,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes th {
  width: 30%;
  min-width: 220px;
  color: #444;
  font-size: 0.99rem;
  font-weight: 700;
  line-height: 1.6;
}

.ninermas-product-tabs .tab-content tbody td,
.ninermas-product-tabs .tab-content .shop_attributes td,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody td,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes td {
  color: #666;
  font-size: 0.94rem;
  line-height: 1.75;
}

.ninermas-product-tabs .tab-content tbody tr:nth-child(even) th,
.ninermas-product-tabs .tab-content tbody tr:nth-child(even) td,
.ninermas-product-tabs .tab-content .shop_attributes tr:nth-child(even) th,
.ninermas-product-tabs .tab-content .shop_attributes tr:nth-child(even) td,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:nth-child(even) th,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:nth-child(even) td,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:nth-child(even) th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:nth-child(even) td {
  background: #fafafa;
}

.ninermas-product-tabs .tab-content tbody tr:hover th,
.ninermas-product-tabs .tab-content tbody tr:hover td,
.ninermas-product-tabs .tab-content .shop_attributes tr:hover th,
.ninermas-product-tabs .tab-content .shop_attributes tr:hover td,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:hover th,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:hover td,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:hover th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:hover td {
  background: #eef9ff;
}

.ninermas-product-tabs .tab-content tbody tr:last-child th,
.ninermas-product-tabs .tab-content tbody tr:last-child td,
.ninermas-product-tabs .tab-content .shop_attributes tr:last-child th,
.ninermas-product-tabs .tab-content .shop_attributes tr:last-child td,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:last-child th,
.ninermas-product-tabs .woocommerce-Tabs-panel tbody tr:last-child td,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:last-child th,
.ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes tr:last-child td {
  border-bottom: 0;
}

.ninermas-product-table-wrap {
  margin: 22px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ninermas-product-table-wrap + p,
.ninermas-product-table-wrap + h2,
.ninermas-product-table-wrap + h3,
.ninermas-product-table-wrap + h4 {
  margin-top: 22px;
}

.ninermas-product-tabs .tab-content h3 + .ninermas-product-table-wrap,
.ninermas-product-tabs .woocommerce-Tabs-panel h3 + .ninermas-product-table-wrap {
  margin-top: 18px;
}

.ninermas-product-table-wrap table,
.ninermas-product-table-wrap .shop_attributes {
  min-width: 640px;
}

.ninermas-product-rfq {
  margin-top: 24px;
}

.ninermas-product-rfq[hidden] {
  display: none !important;
}

.ninermas-product-rfq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 26px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 254, 0.98) 0%, rgba(232, 240, 248, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.ninermas-product-rfq__intro h2 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.14;
}

.ninermas-product-rfq__intro p {
  margin-top: 14px;
  color: var(--ninermas-text);
  line-height: 1.8;
}

.ninermas-product-rfq__form {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ninermas-product-cross-sell {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.ninermas-product-cross-sell__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ninermas-product-cross-sell__header h2 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.ninermas-product-cross-sell__header p:last-child {
  max-width: 74ch;
  margin: 12px 0 0;
  color: var(--ninermas-text);
  line-height: 1.8;
}

.ninermas-product-cross-sell__header > a {
  color: var(--ninermas-blue);
  font-weight: 800;
  white-space: nowrap;
}

.ninermas-product-cross-sell__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ninermas-product-cross-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(15, 76, 129, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,249,253,0.98) 100%);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ninermas-product-cross-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.18);
  box-shadow: 0 24px 44px rgba(16, 37, 63, 0.1);
}

.ninermas-product-cross-card__image {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
}

.ninermas-product-cross-card__image img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.ninermas-product-cross-card:hover .ninermas-product-cross-card__image img {
  transform: scale(1.03);
}

.ninermas-product-cross-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  height: 100%;
}

.ninermas-product-cross-card__sku {
  margin: 0;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-product-cross-card__body h3 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: 1rem;
  line-height: 1.55;
}

.ninermas-product-cross-card__body h3 a {
  color: inherit;
}

.ninermas-product-cross-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.ninermas-product-cross-card__actions .ninermas-button {
  flex: 1 1 140px;
}

.ninermas-product-related {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(16, 37, 63, 0.08);
}

.ninermas-product-related__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.ninermas-product-related__header h2 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.ninermas-product-related__header p:last-child {
  max-width: 62ch;
  margin: 12px 0 0;
}

.ninermas-product-related__header > a {
  color: var(--ninermas-blue);
  font-weight: 700;
}

.ninermas-product-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ninermas-product-related-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(15, 76, 129, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,249,253,0.98) 100%);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ninermas-product-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.18);
  box-shadow: 0 24px 44px rgba(16, 37, 63, 0.1);
}

.ninermas-product-related-card__image {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
}

.ninermas-product-related-card__image img {
  width: 100%;
  height: 184px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.ninermas-product-related-card:hover .ninermas-product-related-card__image img {
  transform: scale(1.03);
}

.ninermas-product-related-card__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ninermas-product-related-card__sku {
  margin: 0;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-product-related-card__body h3 {
  margin: 0;
  color: var(--ninermas-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.ninermas-product-related-card__body h3 a {
  color: inherit;
}

.ninermas-product-related-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.ninermas-product-related-card__actions .ninermas-button {
  flex: 1 1 140px;
}

.ninermas-product-tabs h2,
.ninermas-product-tabs h3,
.ninermas-product-tabs th {
  color: var(--ninermas-ink);
}

@media (max-width: 992px) {
  .ninermas-product-hero__meta,
  .ninermas-product-hero__summary,
  .ninermas-product-layout,
  .ninermas-product-rfq__inner {
    grid-template-columns: 1fr;
  }

  .ninermas-product-hero__meta,
  .ninermas-product-hero__actions {
    justify-content: flex-start;
  }

  .ninermas-product-layout__details {
    position: static;
    top: auto;
  }

  .ninermas-static-gallery__main-link {
    min-height: 460px;
  }

  .ninermas-static-gallery__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ninermas-product-cross-sell__header,
  .ninermas-product-cross-sell__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ninermas-product-cross-sell__header {
    display: grid;
  }
}

@media (max-width: 680px) {
  .ninermas-single-product-page {
    width: min(100% - 20px, 1280px);
  }

  .ninermas-product-hero,
  .ninermas-product-layout,
  .ninermas-product-tabs,
  .ninermas-product-rfq__inner {
    padding: 22px;
  }

  .ninermas-static-gallery__main-link {
    min-height: 320px;
  }

  .ninermas-static-gallery__thumbs {
    grid-template-columns: 1fr;
  }

  .ninermas-product-cross-sell {
    padding: 22px;
  }

  .ninermas-product-related {
    padding: 22px;
  }

  .ninermas-product-cross-sell__grid {
    grid-template-columns: 1fr;
  }

  .ninermas-product-related__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ninermas-product-related__grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-04-16 homepage premium refinement */
#ast-scroll-top {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.ninermas-section__heading > p:last-child,
.ninermas-section__heading--split > div > p:last-child {
  max-width: 68ch;
  margin: 12px 0 0;
}

.ninermas-category-card,
.ninermas-brand-tile,
.ninermas-news-card,
.ninermas-testimonial-card,
.ninermas-proof__item,
.ninermas-solution-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ninermas-category-card:hover,
.ninermas-brand-tile:hover,
.ninermas-news-card:hover,
.ninermas-testimonial-card:hover,
.ninermas-proof__item:hover,
.ninermas-solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 76, 129, 0.18);
  box-shadow: 0 26px 44px rgba(16, 37, 63, 0.12);
}

.ninermas-category-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 253, 0.98) 100%);
}

.ninermas-category-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.18), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #e7f0f8 100%);
}

.ninermas-category-card__media::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, rgba(248, 251, 255, 0.92) 100%);
}

.ninermas-category-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.ninermas-category-card__media em {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ninermas-blue-deep);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(16, 37, 63, 0.08);
}

.ninermas-category-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.06) contrast(1.04);
}

.ninermas-category-card__body {
  gap: 6px;
}

.ninermas-category-card__body h3 {
  font-size: 1.08rem;
  line-height: 1.28;
}

.ninermas-brand-tile {
  position: relative;
  min-height: 142px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 253, 0.95) 100%);
}

.ninermas-brand-tile::after {
  content: "Open brand";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--ninermas-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: 180ms ease;
}

.ninermas-brand-tile:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.ninermas-section--showcase {
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 252, 0.96) 100%);
}

.ninermas-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: center;
}

.ninermas-showcase__summary .ninermas-eyebrow,
.ninermas-showcase__summary h2,
.ninermas-showcase__summary p {
  max-width: 100%;
}

.ninermas-showcase__summary .ninermas-eyebrow,
.ninermas-showcase__summary h2 {
  color: var(--ninermas-ink);
}

.ninermas-showcase__summary p {
  color: var(--ninermas-muted);
}

.ninermas-showcase__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(15, 76, 129, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 42px rgba(16, 37, 63, 0.12);
}

.ninermas-showcase__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f5f9fd 100%);
  border: 1px solid rgba(15, 76, 129, 0.1);
  color: var(--ninermas-ink);
  text-decoration: none;
  font-weight: 700;
  transition: 180ms ease;
}

.ninermas-showcase__chips a:hover,
.ninermas-showcase__chips a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 76, 129, 0.2);
  box-shadow: 0 14px 24px rgba(16, 37, 63, 0.08);
}

.ninermas-proof {
  gap: 16px;
}

.ninermas-proof__item {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 18px 22px;
}

.ninermas-proof__item::after {
  content: "";
  position: absolute;
  inset: auto -14px -24px auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 65%);
}

.ninermas-proof__item h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.ninermas-proof__item p {
  max-width: 40ch;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ninermas-testimonial-card {
  position: relative;
}

.ninermas-testimonial-card::before {
  content: "\"";
  position: absolute;
  right: 18px;
  top: 4px;
  color: rgba(15, 76, 129, 0.14);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.ninermas-home-footer {
  gap: 24px;
}

.ninermas-home-footer__intro {
  display: grid;
  gap: 16px;
  align-items: start;
}

.ninermas-home-footer__aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

.ninermas-home-footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ninermas-home-footer__brand {
  display: grid;
  gap: 10px;
}

.ninermas-home-footer__brand h3 {
  margin-bottom: 4px;
}

.ninermas-home-footer__brand p {
  max-width: 28ch;
  margin: 0;
  line-height: 1.56;
}

.ninermas-home-footer__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ninermas-home-footer__signals span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.ninermas-home-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ninermas-home-footer__actions .ninermas-button {
  min-height: 44px;
  padding: 0.76rem 1rem;
}

.ninermas-home-footer__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 2px;
}

.ninermas-home-footer__meta li {
  display: grid;
  gap: 4px;
  margin-top: 0;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ninermas-home-footer__meta strong {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ninermas-home-footer__meta span,
.ninermas-home-footer__meta a {
  color: rgba(255, 255, 255, 0.9);
}

.ninermas-home-footer__nav h4 {
  margin-bottom: 14px;
}

.ninermas-home-footer__nav ul {
  margin-top: 0;
}

.ninermas-home-footer__nav li {
  margin-top: 8px;
}

.ninermas-home-footer__support-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(213, 168, 78, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ninermas-home-footer__support-panel .ninermas-eyebrow {
  margin-bottom: 0;
  color: rgba(196, 224, 248, 0.9);
  font-size: 0.76rem;
}

.ninermas-home-footer__support-panel h4 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.45;
}

.ninermas-home-footer__support-panel p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
}

.ninermas-home-footer__support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ninermas-home-footer__support-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.ninermas-home-footer__actions .ninermas-button--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ninermas-blue-deep);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(9, 31, 50, 0.12);
}

.ninermas-home-footer__actions .ninermas-button--secondary:hover {
  color: var(--ninermas-blue-deep);
  background: #fff;
}

.ninermas-home-footer-sub {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 8px 6px;
  color: var(--ninermas-muted);
  font-size: 0.92rem;
}

.ninermas-home-footer-sub p {
  margin: 0;
}

.ninermas-brand-support__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.ninermas-brand-support__panel {
  padding: 26px 28px;
  border: 1px solid rgba(18, 74, 122, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 250, 253, 0.96) 100%);
  box-shadow: 0 18px 34px rgba(16, 37, 63, 0.08);
}

.ninermas-floating-contact {
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 44px rgba(16, 37, 63, 0.16);
}

.ninermas-floating-contact a {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 82px;
  min-height: 58px;
  border-radius: 18px;
}

.ninermas-floating-contact a span {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ninermas-floating-contact a small {
  font-size: 0.76rem;
  opacity: 0.88;
}

@media (max-width: 992px) {
  .ninermas-showcase {
    grid-template-columns: 1fr;
  }

  .ninermas-showcase__summary .ninermas-eyebrow,
  .ninermas-showcase__summary h2,
  .ninermas-showcase__summary p {
    max-width: 100%;
  }

  .ninermas-home-footer__intro {
    grid-template-columns: 1fr;
  }

  .ninermas-home-footer__meta {
    grid-template-columns: 1fr;
  }

  .ninermas-home-footer__nav-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ninermas-brand-support__grid {
    grid-template-columns: 1fr;
  }

  .ninermas-home-footer-sub {
    flex-direction: column;
  }

  .ninermas-product-tabs .tab-content tbody th,
  .ninermas-product-tabs .tab-content .shop_attributes th,
  .ninermas-product-tabs .woocommerce-Tabs-panel tbody th,
  .ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes th {
    min-width: 190px;
  }
}

@media (max-width: 680px) {
  .ninermas-category-card__media {
    min-height: 240px;
  }

  .ninermas-showcase__chips {
    padding: 12px;
  }

  .ninermas-home-footer__actions {
    flex-direction: column;
  }

  body {
    padding-bottom: 96px;
  }

  .ninermas-floating-contact {
    right: 10px;
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    grid-auto-flow: column;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
  }

  .ninermas-floating-contact a {
    min-width: 0;
    min-height: 52px;
    padding: 0.55rem 0.4rem;
    border-radius: 14px;
  }

  .ninermas-floating-contact a span {
    font-size: 0.78rem;
  }

  .ninermas-floating-contact a small {
    font-size: 0.68rem;
  }

  .ninermas-product-tabs .wc-tabs {
    gap: 8px;
  }

  .ninermas-product-tabs .wc-tabs li a {
    min-height: 40px;
    padding: 0.6rem 0.9rem;
    font-size: 0.92rem;
  }

  .ninermas-product-table-wrap {
    margin: 18px -4px 24px;
    padding-bottom: 4px;
  }

  .ninermas-product-table-wrap table,
  .ninermas-product-table-wrap .shop_attributes {
    min-width: 560px;
  }

  .ninermas-product-tabs .tab-content thead th,
  .ninermas-product-tabs .tab-content .shop_attributes thead th,
  .ninermas-product-tabs .tab-content .shop_attributes th,
  .ninermas-product-tabs .tab-content tbody th,
  .ninermas-product-tabs .tab-content tbody td,
  .ninermas-product-tabs .tab-content .shop_attributes td,
  .ninermas-product-tabs .woocommerce-Tabs-panel thead th,
  .ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes thead th,
  .ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes th,
  .ninermas-product-tabs .woocommerce-Tabs-panel tbody th,
  .ninermas-product-tabs .woocommerce-Tabs-panel tbody td,
  .ninermas-product-tabs .woocommerce-Tabs-panel .shop_attributes td {
    padding: 13px 14px;
  }
}
