/* MAQNUSA redesign: industrial visual system */
:root {
  --maq-bg: #0f0f10;
  --maq-surface: #171719;
  --maq-panel: #ffffff;
  --maq-text: #f2f2f2;
  --maq-text-dark: #1f1f21;
  --maq-muted: #b7b7be;
  --maq-accent: #f6b51f;
  --maq-accent-2: #d69a12;
  --maq-border: #2e2e33;
  --maq-radius: 14px;
  --maq-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
}

body.home.page #header-outer,
body.tax-product_cat #header-outer,
body.single-product #header-outer,
body.post-type-archive-product #header-outer,
body.home.page #header-space,
body.tax-product_cat #header-space,
body.single-product #header-space,
body.post-type-archive-product #header-space {
  display: none !important;
}

.maq-site {
  background: #f5f3ed;
  color: var(--maq-text-dark);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}

.maq-site p,
.maq-site li,
.maq-site span,
.maq-site a,
.maq-site button,
.maq-site input,
.maq-site select,
.maq-site textarea {
  font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
}

.maq-hero,
.maq-inner-hero {
  position: relative;
  isolation: isolate;
  color: var(--maq-text);
  background: #111;
  overflow: hidden;
}

.maq-hero::before,
.maq-inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center/cover no-repeat;
  z-index: -2;
}

.maq-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.36) 52%, rgba(0, 0, 0, 0.58) 100%);
  z-index: -1;
}

.maq-header {
  width: min(1320px, 94vw);
  margin: 0 auto;
  padding-top: 10px;
}

.maq-topbar {
  min-height: 20px;
  display: flex;
  justify-content: flex-start;
}

.maq-languages {
  transform: scale(0.85);
  transform-origin: left center;
}

.maq-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 8px;
}

.maq-brand img {
  max-width: 230px;
  width: clamp(120px, 18vw, 230px);
  height: auto;
}

.maq-main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.maq-main-menu ul,
.maq-main-menu .maq-menu-list {
  list-style: none;
  display: flex;
  gap: clamp(12px, 1.2vw, 20px);
  margin: 0;
  padding: 0;
}

.maq-main-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.maq-main-menu .current-menu-item > a,
.maq-main-menu a:hover {
  color: var(--maq-accent);
}

.maq-mobile-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.maq-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.maq-hero-content {
  width: min(1320px, 94vw);
  margin: 30px auto 0;
  padding: 40px 0 48px;
}

.maq-kicker {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 14px;
  color: #efece3;
}

.maq-kicker-dark {
  color: #7a5610;
  margin-bottom: 8px;
}

.maq-hero h1,
.maq-inner-hero h1 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 760px;
}

.maq-hero h1 span {
  color: var(--maq-accent);
}

.maq-description {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.4;
  color: #f0eee7;
}

.maq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.maq-btn {
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 13px;
}

.maq-btn-primary {
  background: var(--maq-accent);
  color: #1b1300 !important;
}

.maq-btn-primary:hover {
  background: var(--maq-accent-2);
  color: #130e03 !important;
}

.maq-btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
  background: rgba(0, 0, 0, 0.28);
}

.maq-btn-ghost:hover {
  border-color: var(--maq-accent);
  color: var(--maq-accent) !important;
}

.maq-btn-dark {
  background: #1b140a;
  color: #fff !important;
}

.maq-btn-outline {
  border-color: #a57a22;
  color: #7a5610 !important;
}

.maq-btn-icon {
  background: #1c7f3f;
  color: #fff !important;
}

.maq-benefits {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 0;
}

.maq-benefits li {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: #f3efdf;
  background: rgba(0, 0, 0, 0.26);
  font-weight: 600;
}

.maq-metrics {
  background: linear-gradient(90deg, #2b2012 0%, #5a3e17 50%, #2b2012 100%);
  color: #f5ede0;
}

.maq-metrics-grid {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.maq-metric-item {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.maq-metric-item:last-child {
  border-right: 0;
}

.maq-metric-item strong {
  display: block;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: var(--maq-accent);
}

.maq-metric-item span {
  display: block;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.maq-solutions,
.maq-featured-products,
.maq-products-section,
.maq-single-wrap,
.maq-related-products {
  width: min(1240px, 94vw);
  margin: 34px auto;
}

.maq-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.maq-section-head h2 {
  margin: 0;
  color: #2b1f0f;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(30px, 3vw, 52px);
}

.maq-cards-grid,
.maq-products-grid,
.maq-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.maq-category-card,
.maq-product-card,
.maq-related-item {
  background: #fff;
  border: 1px solid #e7dfcf;
  border-radius: var(--maq-radius);
  box-shadow: 0 8px 18px rgba(26, 18, 7, 0.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.maq-category-card:hover,
.maq-product-card:hover,
.maq-related-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--maq-shadow);
}

.maq-card-image-wrap {
  display: block;
  background: #f3efe6;
}

.maq-card-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.maq-card-body {
  padding: 14px;
}

.maq-card-body h3,
.maq-related-item h4 {
  margin: 6px 0 8px;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  color: #21160a;
  text-transform: uppercase;
}

.maq-card-body p,
.maq-related-item p {
  margin: 0 0 12px;
  color: #4f4b44;
  line-height: 1.45;
}

.maq-card-link {
  color: #7a5610;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

.maq-card-actions {
  display: flex;
  gap: 10px;
}

.maq-price {
  color: #0b4cb0 !important;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 6px 0 12px;
}

.maq-feature-list,
.maq-benefits-inline,
.maq-product-guarantees {
  list-style: none;
  margin: 0;
  padding: 0;
}

.maq-feature-list li,
.maq-benefits-inline li,
.maq-product-guarantees li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px;
  color: #4f4b44;
}

.maq-feature-list li::before,
.maq-benefits-inline li::before,
.maq-product-guarantees li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--maq-accent);
  position: absolute;
  left: 0;
  top: .52em;
}

.maq-inner-hero {
  padding: 30px 0;
}

.maq-inner-hero-content {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

.maq-inner-hero-content h1 {
  margin-bottom: 12px;
}

.maq-inner-hero-content p {
  max-width: 660px;
  color: #f2ede1;
}

.maq-breadcrumbs,
.maq-breadcrumbs a {
  color: #f6e8cf !important;
  font-weight: 600;
}

.maq-archive-toolbar {
  width: min(1240px, 94vw);
  margin: 20px auto 10px;
}

.maq-ordering-wrap {
  display: flex;
  justify-content: flex-end;
}

.maq-ordering-wrap .woocommerce-result-count {
  display: none;
}

.maq-ordering-wrap .orderby {
  min-width: 280px;
  border-radius: 10px;
  border: 1px solid #b5964d;
  background: #fff;
}

.maq-products-loop.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
}

.maq-products-loop.products > li {
  width: auto !important;
  margin: 0 !important;
}

.maq-single-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
}

.maq-gallery-column,
.maq-summary-column {
  background: #fff;
  border-radius: var(--maq-radius);
  border: 1px solid #eadfc7;
  padding: 14px;
}

.maq-main-image {
  margin: 0;
  position: relative;
}

.maq-main-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.maq-image-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.maq-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.maq-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.maq-thumb.is-active {
  border-color: var(--maq-accent);
}

.maq-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.maq-product-title {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  font-size: clamp(32px, 3vw, 52px);
  margin: 0 0 6px;
  color: #22170b;
}

.maq-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.maq-single-price {
  font-size: clamp(30px, 3.2vw, 56px);
}

.maq-single-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.maq-add-to-cart-wrap form.cart {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.maq-add-to-cart-wrap .button {
  background: #1f1710 !important;
  color: #fff !important;
  border-radius: 10px !important;
}

.maq-accordion-item {
  border-top: 1px solid #eadfc7;
}

.maq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #2a1d0f;
}

.maq-accordion-trigger::after {
  content: "+";
  font-size: 20px;
  color: #8d6b21;
}

.maq-accordion-item.is-open .maq-accordion-trigger::after {
  content: "−";
}

.maq-accordion-content {
  padding-bottom: 14px;
}

.maq-related-products h3 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  font-size: clamp(32px, 2.8vw, 48px);
  margin-bottom: 14px;
}

.maq-related-item {
  padding: 10px;
}

.maq-related-item h4 {
  font-size: 24px;
}

.maq-site .products .button,
.maq-site .woocommerce ul.products li.product .button {
  display: none !important;
}

@media (max-width: 1080px) {
  .maq-main-menu .maq-menu-list {
    gap: 10px;
  }

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

  .maq-cards-grid,
  .maq-products-grid,
  .maq-products-loop.products,
  .maq-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maq-single-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .maq-header {
    padding-top: 6px;
  }

  .maq-mobile-toggle {
    display: block;
  }

  .maq-main-menu {
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: calc(100% + 8px);
    background: #141414;
    border: 1px solid #2a2a2d;
    border-radius: 12px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 50;
  }

  .maq-main-menu.is-open {
    display: flex;
  }

  .maq-main-menu .maq-menu-list {
    flex-direction: column;
    gap: 4px;
  }

  .maq-main-menu .maq-menu-list li a {
    display: block;
    padding: 10px;
    border-radius: 8px;
  }

  .maq-main-menu .maq-menu-list li a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .maq-hero-content {
    margin-top: 10px;
    padding-bottom: 26px;
  }

  .maq-kicker {
    font-size: 13px;
  }

  .maq-hero h1,
  .maq-inner-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .maq-description {
    font-size: 16px;
  }

  .maq-benefits {
    grid-template-columns: 1fr;
  }

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

  .maq-metric-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .maq-metric-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .maq-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .maq-cards-grid,
  .maq-products-grid,
  .maq-products-loop.products,
  .maq-related-grid {
    grid-template-columns: 1fr;
  }

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

  .maq-site .woocommerce .woocommerce-ordering,
  .maq-site .woocommerce-page .woocommerce-ordering {
    float: none;
    width: 100%;
  }

  .maq-ordering-wrap .orderby {
    width: 100%;
  }
}
