/*
Theme Name: MechLab 3D
Theme URI: https://mechlab3d.local/
Author: MechLab 3D
Description: Lightweight WordPress theme for the MechLab 3D company website. No paid builder required.
Version: 0.4.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mechlab3d
*/

:root {
  --ml-bg: #ffffff;
  --ml-text: #050505;
  --ml-muted: #666666;
  --ml-soft: #f4f4f4;
  --ml-border: #e7e7e7;
  --ml-card: #ffffff;
  --ml-yellow: #ffdd0e;
  --ml-yellow-dark: #e0bd00;
  --ml-blue: #00a3ff;
  --ml-radius: 12px;
  --ml-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --ml-container: 1180px;
  --ml-header-height: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ml-bg);
  color: var(--ml-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.ml-container,
.wp-block-group__inner-container,
.entry-content > * {
  max-width: var(--ml-container);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignfull,
.entry-content > .ml-hero,
.entry-content > .ml-section,
.entry-content > .ml-section-alt,
.entry-content > .ml-dynamic-section {
  max-width: none;
}

.entry-content > .alignwide {
  max-width: 1320px;
}

.ml-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--ml-header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ml-border);
  backdrop-filter: blur(14px);
}

.admin-bar .ml-site-header {
  top: 32px;
}

.ml-header-inner {
  max-width: var(--ml-container);
  min-height: var(--ml-header-height);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ml-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: 0;
}

.ml-logo span:last-child {
  color: var(--ml-yellow-dark);
}

.ml-custom-logo {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 46px;
}

.ml-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-menu a {
  color: var(--ml-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.ml-menu a:hover,
.ml-menu a:focus {
  color: var(--ml-text);
}

.ml-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--ml-yellow);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ml-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ml-border);
  border-radius: 9px;
  background: #fff;
  color: var(--ml-text);
  font: inherit;
  cursor: pointer;
}

.ml-site-main {
  min-height: 70vh;
}

.ml-hero,
.ml-section,
.ml-section-alt,
.ml-dynamic-section {
  padding: 88px 20px;
}

.ml-hero {
  position: relative;
  min-height: calc(100vh - var(--ml-header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 38%, rgba(255, 221, 14, 0.22) 0, rgba(255, 221, 14, 0.22) 135px, transparent 136px),
    radial-gradient(circle at 82% 36%, transparent 0, transparent 105px, rgba(255, 221, 14, 0.2) 106px, rgba(255, 221, 14, 0.2) 136px, transparent 137px),
    linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
}

.ml-section-alt,
.ml-dynamic-section.is-alt {
  background: var(--ml-soft);
}

.ml-section-inner,
.ml-dynamic-inner,
.ml-hero > .wp-block-group__inner-container {
  width: 100%;
  max-width: var(--ml-container);
  margin: 0 auto;
}

.ml-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.ml-hero p {
  max-width: 620px;
  color: var(--ml-muted);
  font-size: clamp(18px, 2vw, 22px);
}

.ml-section h2,
.ml-section-alt h2,
.ml-dynamic-section h2,
.entry-header h1 {
  margin: 0 0 26px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.ml-section h3,
.ml-section-alt h3,
.ml-dynamic-section h3 {
  margin-top: 0;
  line-height: 1.2;
}

.ml-lead {
  color: var(--ml-muted);
  font-size: 19px;
}

.ml-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.ml-button,
.wp-block-button__link,
.ml-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--ml-yellow);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ml-button:hover,
.wp-block-button__link:hover,
.ml-contact-button:hover {
  background: var(--ml-yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--ml-shadow);
}

.ml-button.is-dark,
.ml-contact-button.is-dark {
  background: #000;
  color: #fff;
}

.ml-button.is-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid #000;
  color: #000;
}

.ml-chip-row,
.ml-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.ml-chip,
.ml-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--ml-border);
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.ml-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.ml-card,
.ml-product-card,
.ml-review-card,
.ml-post-card,
.ml-contact-card {
  background: var(--ml-card);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.ml-card p:last-child,
.ml-review-card p:last-child,
.ml-contact-card p:last-child {
  margin-bottom: 0;
}

.ml-muted {
  color: var(--ml-muted);
}

.ml-products {
  background: #fff;
}

.ml-product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.ml-product-media {
  position: relative;
}

.ml-product-image-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--ml-soft);
  overflow: hidden;
  border: 1px solid var(--ml-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml-product-visual-fallback {
  width: 58%;
  aspect-ratio: 1 / 1;
  border: 28px solid currentColor;
  border-radius: 50%;
  color: var(--ml-yellow);
}

.ml-product-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.ml-product-choice {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.ml-product-choice.is-active {
  border-color: #000;
  outline: 3px solid var(--ml-yellow);
  outline-offset: 3px;
}

.ml-product-price {
  margin: 12px 0 8px;
  font-size: 34px;
  font-weight: 900;
}

.ml-product-note {
  margin-top: 14px;
  border-left: 3px solid var(--ml-yellow);
  padding-left: 14px;
  color: var(--ml-muted);
}

.ml-spec-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.ml-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ml-border);
}

.ml-spec-row span:first-child {
  color: var(--ml-muted);
}

.ml-post-grid,
.ml-review-grid,
.ml-faq-grid,
.ml-contact-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.ml-review-stars {
  color: #e0bd00;
  letter-spacing: 2px;
  font-size: 18px;
}

.ml-review-meta,
.ml-post-meta {
  color: var(--ml-muted);
  font-size: 14px;
}

.ml-faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.ml-faq-list details {
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  background: #fff;
  padding: 0;
}

.ml-faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

.ml-faq-list details div {
  padding: 0 22px 20px;
  color: var(--ml-muted);
}

.ml-contact-card a {
  color: var(--ml-text);
  font-weight: 800;
  text-decoration: none;
}

.ml-site-footer {
  background: #050505;
  color: #fff;
  padding: 54px 20px 28px;
}

.ml-footer-inner {
  max-width: var(--ml-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ml-site-footer a {
  color: #fff;
  text-decoration: none;
}

.ml-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.ml-footer-bottom {
  max-width: var(--ml-container);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.entry-header {
  max-width: var(--ml-container);
  margin: 0 auto;
  padding: 64px 20px 28px;
}

.entry-content {
  padding-bottom: 64px;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  padding-left: 20px;
  padding-right: 20px;
}

.ml-archive-grid {
  max-width: var(--ml-container);
  margin: 0 auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ml-pagination {
  max-width: var(--ml-container);
  margin: 0 auto 80px;
  padding: 0 20px;
}

.ml-empty {
  max-width: var(--ml-container);
  margin: 0 auto 80px;
  padding: 0 20px;
  color: var(--ml-muted);
}

@media (max-width: 980px) {
  .ml-grid-3,
  .ml-grid-4,
  .ml-post-grid,
  .ml-review-grid,
  .ml-contact-grid,
  .ml-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-product-showcase,
  .ml-footer-inner {
    grid-template-columns: 1fr;
  }

  .ml-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-bar .ml-site-header {
    top: 46px;
  }

  .ml-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ml-site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--ml-header-height) + 8px);
    display: none;
    padding: 14px;
    border: 1px solid var(--ml-border);
    border-radius: var(--ml-radius);
    background: #fff;
    box-shadow: var(--ml-shadow);
  }

  .ml-site-nav.is-open {
    display: block;
  }

  .ml-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .ml-menu a {
    display: block;
    padding: 10px 12px;
  }

  .ml-header-cta {
    display: none;
  }

  .ml-hero,
  .ml-section,
  .ml-section-alt,
  .ml-dynamic-section {
    padding: 64px 16px;
  }

  .ml-hero {
    min-height: auto;
    padding-top: 84px;
  }

  .ml-grid-2,
  .ml-grid-3,
  .ml-grid-4,
  .ml-post-grid,
  .ml-review-grid,
  .ml-contact-grid,
  .ml-archive-grid {
    grid-template-columns: 1fr;
  }

  .ml-card,
  .ml-product-card,
  .ml-review-card,
  .ml-post-card,
  .ml-contact-card {
    padding: 20px;
  }
}

/* Design lab prototype layer */
.ml-design-lab {
  --ml-bg: #ffffff;
  --ml-text: #000000;
  --ml-muted: #646b73;
  --ml-soft: #f5f5f5;
  --ml-border: #dedede;
  --ml-card: #ffffff;
  --ml-yellow: #ffd600;
  --ml-yellow-soft: #fff7cf;
  --ml-radius: 8px;
  --ml-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --ml-container: 1170px;
  background: #ffffff;
  color: #000000;
}

.ml-design-lab .ml-site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.ml-design-lab .ml-header-inner {
  max-width: 1280px;
}

.ml-design-lab .ml-logo {
  font-size: 23px;
}

.ml-design-lab .ml-logo span:last-child {
  color: var(--ml-yellow);
}

.ml-design-lab .ml-menu a {
  color: #3f4449;
  font-size: 14px;
}

.ml-design-lab .ml-header-cta,
.ml-design-lab .ml-button,
.ml-design-lab .ml-contact-button {
  min-height: 48px;
  border-radius: 8px;
  background: var(--ml-yellow);
  box-shadow: none;
}

.ml-design-lab .ml-button svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ml-design-lab .ml-button.is-outline {
  background: #ffffff;
  border: 2px solid #000000;
}

.ml-design-lab .ml-hero,
.ml-design-lab .ml-section,
.ml-design-lab .ml-section-alt,
.ml-design-lab .ml-dynamic-section {
  padding: 78px 20px;
}

.ml-design-lab .ml-clean-hero {
  min-height: auto;
  padding-top: 62px;
  padding-bottom: 46px;
  background: #ffffff;
}

.ml-clean-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 56px;
  align-items: center;
}

.ml-design-lab .ml-hero h1 {
  max-width: 660px;
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.ml-design-lab .ml-hero p {
  max-width: 590px;
  font-size: 19px;
}

.ml-kicker {
  margin: 0 0 14px;
  color: #737b84;
  font-size: 15px;
  font-weight: 700;
}

.ml-hero-product-card {
  position: relative;
  min-height: 395px;
  border-radius: 8px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ml-hero-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 56%;
}

.ml-hero-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.ml-hero-spool,
.ml-product-spool {
  width: 42%;
  aspect-ratio: 1;
  border: 34px solid #d33a56;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 46px rgba(255, 255, 255, 0.92), inset 0 0 0 86px currentColor;
  color: #ffffff;
}

.ml-hero-card-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  font-weight: 700;
  box-shadow: var(--ml-shadow);
}

.ml-centered-section {
  text-align: center;
}

.ml-design-lab .ml-clean-hero + .ml-centered-section {
  padding-top: 44px;
}

.ml-soft-section {
  background: var(--ml-soft);
}

.ml-narrow-section {
  max-width: 1020px;
}

.ml-section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.ml-design-lab .ml-section h2,
.ml-design-lab .ml-section-alt h2,
.ml-design-lab .ml-dynamic-section h2,
.ml-design-lab .entry-header h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0;
}

.ml-section-heading .ml-lead {
  max-width: 780px;
  margin: 22px auto 0;
}

.ml-design-lab .ml-lead {
  color: var(--ml-muted);
  font-size: 18px;
  line-height: 1.55;
}

.ml-feature-grid {
  display: grid;
  gap: 24px;
}

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

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

.ml-feature-card,
.ml-spec-card,
.ml-quality-card,
.ml-storage-note,
.ml-address-card,
.ml-contact-card,
.ml-review-card,
.ml-post-card {
  border: 1px solid var(--ml-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.ml-feature-card {
  padding: 28px 24px;
  text-align: left;
}

.ml-feature-card.is-centered {
  text-align: center;
}

.ml-feature-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.ml-feature-card p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 15px;
  line-height: 1.45;
}

.ml-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--ml-yellow-soft);
  color: #000000;
  font-weight: 800;
}

.ml-icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ml-yellow);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ml-icon-box img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.ml-pill-row {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.ml-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}

.ml-product-section {
  background: #ffffff;
}

.ml-design-lab .ml-product-single {
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1.05fr);
  max-width: 1050px;
  margin: 0 auto;
  gap: 72px;
  align-items: center;
}

.ml-product-gallery-card {
  position: relative;
  min-height: 512px;
  border-radius: 12px;
  background: var(--product-bg, #efd1d8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ml-product-image-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-product-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.03));
  pointer-events: none;
}

.ml-product-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ml-product-image-frame img.is-cutout {
  width: auto;
  height: 88%;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.18));
}

.ml-product-gallery-card .ml-product-spool {
  width: 38%;
  border-color: var(--product-color, #d33a56);
  box-shadow: inset 0 0 0 42px var(--product-bg, #efd1d8);
}

.ml-product-color-label {
  position: absolute;
  left: 16px;
  bottom: 38px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  font-weight: 700;
  box-shadow: var(--ml-shadow);
}

.ml-product-angle-label {
  position: absolute;
  right: 16px;
  bottom: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #565c64;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ml-product-arrow {
  position: absolute;
  left: 8px;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-size: 32px;
  line-height: 1;
  box-shadow: var(--ml-shadow);
  transform: translateY(-50%);
  cursor: pointer;
}

.ml-product-arrow.is-next {
  left: auto;
  right: 8px;
}

.ml-design-lab .ml-product-content h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
}

.ml-product-subline {
  margin: 6px 0 22px;
  color: var(--ml-muted);
  font-size: 18px;
}

.ml-design-lab .ml-product-swatches {
  margin: 0 0 24px;
}

.ml-design-lab .ml-product-choice {
  width: 42px;
  height: 42px;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.ml-design-lab .ml-product-choice.is-active {
  border-color: #000000;
  outline: 3px solid var(--ml-yellow);
  outline-offset: 2px;
}

.ml-design-lab .ml-product-price {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1;
}

.ml-discount-card {
  max-width: 560px;
  padding: 20px 18px 16px;
  border-radius: 8px;
  background: #f2f2f2;
  text-align: center;
}

.ml-discount-card h3 {
  margin: 0 0 22px;
  font-size: 15px;
}

.ml-discount-card p {
  margin: 16px 0 0;
  color: #8a8f96;
  font-size: 13px;
}

.ml-discount-scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ml-discount-scale::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 10px;
  height: 3px;
  background: #dadada;
}

.ml-discount-scale span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: var(--ml-muted);
  font-size: 13px;
}

.ml-discount-scale strong {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border: 2px solid #c7c7c7;
  border-radius: 50%;
  background: #ffffff;
  color: #80858c;
  font-size: 12px;
  line-height: 16px;
}

.ml-design-lab .ml-product-note {
  margin-top: 16px;
  border-left: 2px solid var(--ml-yellow);
  padding-left: 16px;
  color: var(--ml-muted);
}

.ml-quality-card {
  max-width: 670px;
  margin: 64px auto 0;
  padding: 28px 40px;
  background: #f5f5f5;
  text-align: center;
}

.ml-quality-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.ml-quality-card p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 17px;
}

.ml-spec-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.ml-spec-card {
  padding: 28px 24px;
  box-shadow: none;
}

.ml-spec-card h3 {
  margin: 0 0 18px;
  font-size: 19px;
}

.ml-spec-card > p {
  margin: -8px 0 18px;
  color: var(--ml-muted);
  font-size: 14px;
}

.ml-mini-icon {
  display: inline-flex;
  margin-right: 8px;
  color: var(--ml-yellow);
}

.ml-design-lab .ml-spec-row {
  min-height: 48px;
  align-items: center;
  padding: 0;
}

.ml-storage-note {
  max-width: 670px;
  margin: 32px auto 0;
  padding: 22px 26px;
  border-color: #f0da78;
  background: #fff9de;
  box-shadow: none;
  text-align: left;
}

.ml-storage-note strong {
  display: block;
  margin-bottom: 4px;
}

.ml-storage-note p {
  margin: 0 0 0 36px;
  color: var(--ml-muted);
}

.ml-return-flow {
  margin-top: 48px;
  text-align: center;
}

.ml-return-flow h3 {
  margin: 0 0 32px;
  font-size: 22px;
}

.ml-return-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ml-return-steps article {
  position: relative;
  min-height: 124px;
  padding: 24px 18px 18px;
  border-radius: 8px;
  background: #f2f2f2;
}

.ml-return-steps strong {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ml-yellow);
  color: #000000;
  line-height: 24px;
  transform: translateX(-50%);
}

.ml-return-steps span {
  display: block;
  margin-bottom: 10px;
  color: #7d7d7d;
  font-size: 28px;
}

.ml-return-steps p {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.ml-address-card {
  margin-top: 32px;
  padding: 18px 24px;
  box-shadow: none;
  text-align: center;
}

.ml-address-card p {
  margin: 0 0 4px;
  color: var(--ml-muted);
}

.ml-design-lab .ml-faq-list {
  max-width: 768px;
  gap: 12px;
}

.ml-design-lab .ml-faq-list details {
  border-radius: 8px;
  box-shadow: none;
}

.ml-design-lab .ml-faq-list summary {
  position: relative;
  padding: 18px 54px 18px 24px;
  font-size: 16px;
  list-style: none;
}

.ml-design-lab .ml-faq-list summary::-webkit-details-marker {
  display: none;
}

.ml-design-lab .ml-faq-list summary::after {
  content: "⌄";
  position: absolute;
  right: 24px;
  top: 50%;
  color: var(--ml-muted);
  font-size: 20px;
  transform: translateY(-50%);
}

.ml-design-lab .ml-faq-list details[open] summary::after {
  content: "⌃";
}

.ml-design-lab .ml-faq-list details div {
  padding: 0 24px 18px;
  color: var(--ml-muted);
  font-size: 16px;
}

.ml-design-lab .ml-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ml-design-lab .ml-site-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .ml-clean-hero-grid,
  .ml-design-lab .ml-product-single,
  .ml-spec-cards {
    grid-template-columns: 1fr;
  }

  .ml-feature-grid-3,
  .ml-return-steps,
  .ml-design-lab .ml-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-product-gallery-card {
    min-height: 420px;
  }

  .ml-hero-product-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .ml-design-lab .ml-hero,
  .ml-design-lab .ml-section,
  .ml-design-lab .ml-section-alt,
  .ml-design-lab .ml-dynamic-section {
    padding: 56px 16px;
  }

  .ml-design-lab .ml-clean-hero {
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .ml-design-lab .ml-clean-hero + .ml-centered-section {
    padding-top: 38px;
  }

  .ml-design-lab .ml-hero h1 {
    font-size: 38px;
  }

  .ml-design-lab .ml-section h2,
  .ml-design-lab .ml-section-alt h2,
  .ml-design-lab .ml-dynamic-section h2,
  .ml-design-lab .entry-header h1,
  .ml-design-lab .ml-product-content h2 {
    font-size: 30px;
  }

  .ml-clean-hero-grid,
  .ml-feature-grid-2,
  .ml-feature-grid-3,
  .ml-return-steps,
  .ml-design-lab .ml-contact-grid {
    grid-template-columns: 1fr;
  }

  .ml-feature-card,
  .ml-spec-card,
  .ml-quality-card {
    padding: 22px 20px;
  }

  .ml-product-gallery-card {
    min-height: 330px;
  }

  .ml-hero-product-card {
    min-height: 270px;
  }

  .ml-product-gallery-card .ml-product-spool {
    width: 44%;
    border-width: 26px;
  }

  .ml-discount-scale {
    grid-template-columns: 1fr;
  }

  .ml-discount-scale::before {
    display: none;
  }

  .ml-pill-row span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
