/* Block Moulds page layout */
.m-section {
  padding: 70px 0;
  background: #0e1b2a;
}
.m-section--alt {
  background: #0d1927;
}
.container {
  max-width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}
.moulds-page .container {
  max-width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}
/* new added */
.m-section-title {
  margin: 0 0 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  text-align: center;
  position: relative;
}
.m-section-title::before {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #102235;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.m-grid {
  display: grid;
  gap: 22px;
}
.m-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .m-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .m-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .m-grid-4 {
    grid-template-columns: 1fr;
  }
}
.m-card {
  display: block;
  color: #fff;
  text-decoration: none;
}
.m-figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #091420;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.m-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0) scale(1);
  transition: transform 0.25s ease;
  backface-visibility: hidden;
  will-change: transform;
}
.m-figure:hover img {
  transform: translateZ(0) scale(1.04);
}
.m-section--alt .m-grid {
  gap: 0;
  grid-template-columns: repeat(auto-fill, 500px);
  justify-content: center;
}
.m-section--alt .m-figure {
  margin: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  width: 500px;
  height: 350px;
}
.m-section--alt .container {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}
.m-section--alt .m-card {
  position: relative;
  display: block;
  overflow: hidden;
}
.m-section--alt .m-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
  display: grid;
  align-items: end;
  justify-items: start;
  padding: 16px;
  pointer-events: none;
}
.m-section--alt .m-overlay-content {
  text-align: left;
}
.m-section--alt .m-overlay-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #e5e7eb;
  opacity: 0;
  transform: translateY(8px);
  transition:
    transform 0.45s ease-in-out,
    opacity 0.45s ease-in-out;
}
.m-section--alt .m-card:hover .m-overlay,
.m-section--alt .m-card:focus-within .m-overlay,
.m-section--alt .m-card:active .m-overlay {
  opacity: 1;
}
.m-section--alt .m-card:hover .m-overlay-sub,
.m-section--alt .m-card:focus-within .m-overlay-sub,
.m-section--alt .m-card:active .m-overlay-sub {
  transform: translateY(0);
  opacity: 1;
}
.m-section--alt .m-figure img {
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.m-section--alt .m-card:hover .m-figure img,
.m-section--alt .m-card:focus-within .m-figure img,
.m-section--alt .m-card:active .m-figure img {
  transform: translate3d(10px, 0, 0);
}
.m-caption {
  margin-top: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #cfe0f4;
}

.raq-toast {
  justify-self: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: none;
}
.raq-toast.ok {
  background: #16a34a;
}
.raq-toast.error {
  background: #ef4444;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}
.m-btn-primary {
  background: #2f6cc8;
  color: #fff;
  box-shadow: 0 14px 32px rgba(47, 108, 200, 0.35);
}
.m-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.m-btn:hover {
  transform: translateY(-2px);
}
.m-hero .m-desc {
  position: relative;
  max-width: min(1100px, 92%);
  margin: 0 auto 22px;
  text-align: center;
}
.m-hero .m-actions {
  gap: 14px;
  margin-top: 28px;
}

.moulds-page {
  background: #0a1622;
  color: #fff;
}
.m-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.m-hero-bg {
  position: absolute;
  inset: 0;
  background: none;
  transform: scale(1.02);
}
.m-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 12, 20, 0.9),
    rgba(7, 12, 20, 0.9)
  );
}
.m-hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px;
  display: grid;
  justify-items: center;
}
.m-title {
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 10px;
}
.m-subtitle {
  font-weight: 800;
  font-size: clamp(14px, 1.4vw, 18px);
  color: #d8e6f3;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.m-desc {
  color: #ffffff;
  line-height: 1.7;
  max-width: min(1100px, 92%);
  margin: 0 auto 22px;
  text-align: center;
}
.m-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.flexdescription {
  background: #0e1b2a;
  padding: 90px 0;
}
.m-section,
.flexdescription,
.fd-gallery,
.faqSection,
.requestAquote {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.m-viewer-left {
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(300px, 70vh, 520px);
  z-index: 1;
}
.m-viewer-left.is-zoomed {
  cursor: grab;
}
.m-viewer-left.is-dragging {
  cursor: grabbing;
}
.m-viewer-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 80ms ease;
  user-select: none;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: transform;
}
.m-viewer-right {
  display: grid;
  gap: 10px;
  align-items: start;
  justify-items: start;
  text-align: left;
  max-width: clamp(280px, 34vw, 420px);
  position: relative;
  z-index: 2;
}
.m-viewer-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  text-align: left;
}
.m-viewer-desc {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  max-width: 52ch;
}
.m-viewer-list {
  margin: 0;
  padding: 0 0 0 16px;
  list-style: disc;
  color: #ffffff;
  font-size: 13px;
  display: grid;
  gap: 6px;
  text-align: left;
}
@media (max-width: 900px) {
  .m-viewer-grid {
    grid-template-columns: 1fr;
    width: 96vw;
  }
  .m-viewer-left {
    width: 100%;
    height: min(60vh, 520px);
  }
}
.flexdescription .fd-inner {
  width: 100%;
  max-width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
}
.fd-figure {
  display: inline-block;
  border-radius: 24px;
  overflow: hidden;
  background: #091420;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.35));
}
.fd-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 110%;
  transform: translateZ(0) scale(1);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.25s ease;
}
.fd-figure:hover .fd-img {
  transform: translateZ(0) scale(1.06);
}
.fd-content {
  text-align: center;
}
.fd-content .fd-heading {
  margin: 0 0 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-size: 50px;
  width: 170%;
  text-align: left;
}
.fd-content .fd-text {
  color: #c7d6ea;
  font-size: 15px;
  line-height: 1.9;
  width: 170%;
  text-align: left;
  /* margin-left: auto;
  margin-right: auto; */
}
.fd-mid {
  max-width: min(1200px, 92%);
  margin: 70px auto 26px;
  text-align: center;
}
.fd-title {
  margin: 0 0 14px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 56px);
}
.fd-desc {
  color: #c7d6ea;
  font-size: 15px;
  line-height: 1.9;
  max-width: 1000px;
  margin: 0 auto;
}

.fd-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-right: 80px;
}
.fd-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #091420;
  border: 3px solid rgba(255, 255, 255, 0.22);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}
.fd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0) scale(1);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.25s ease;
}
.fd-gallery .fd-card img {
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: none;
}
.fd-gallery .fd-card:hover img {
  border-color: rgba(143, 177, 255, 0.6);
}
.fd-card:hover img {
  transform: translateZ(0) scale(1.06);
}
@media (max-width: 900px) {
  .flexdescription .fd-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-right: 0;
  }
  .fd-card {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }
  /* .fd-gallery {
    grid-template-columns: 1fr;
  } */
}

@media (max-width: 560px) {
  .fd-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fd-card {
    border-radius: 12px;
    aspect-ratio: 16 / 10;
  }
}

/* ===== block-moulds responsive refinements ===== */
img {
  max-width: 100%;
}

.m-btn {
  min-height: 44px;
  height: auto;
}

@media (max-width: 1200px) {
  .m-section--alt .m-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .m-section--alt .m-figure {
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 7;
  }

  .m-section--alt .container {
    max-width: min(1200px, 96%);
    width: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .fd-content .fd-heading,
  .fd-content .fd-text {
    width: 100%;
  }

  .fd-gallery {
    padding-right: 0;
    gap: 18px;
  }
}

@media (max-width: 992px) {
  .m-hero {
    min-height: auto;
    padding: 120px 16px 72px;
  }

  .m-hero-inner {
    padding: 24px 12px;
  }

  .m-title {
    font-size: clamp(28px, 5.6vw, 44px);
    letter-spacing: 0.04em;
  }

  .m-subtitle {
    font-size: clamp(13px, 2.1vw, 16px);
    letter-spacing: 0.1em;
  }

  .m-desc,
  .m-hero .m-desc {
    font-size: clamp(13px, 1.8vw, 15px);
    line-height: 1.65;
    max-width: min(92vw, 72ch);
  }

  .m-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .m-btn {
    padding: 10px 14px;
    font-size: clamp(12px, 1.8vw, 13px);
  }

  .m-section {
    padding: clamp(42px, 6vw, 62px) 0;
  }

  .container,
  .moulds-page .container,
  .flexdescription .fd-inner,
  .fd-mid {
    max-width: min(1200px, 96%);
    padding-left: clamp(12px, 2.4vw, 18px);
    padding-right: clamp(12px, 2.4vw, 18px);
  }

  .fd-content .fd-heading {
    font-size: clamp(28px, 4.8vw, 42px);
    line-height: 1.18;
    text-align: center;
  }

  .fd-content .fd-text {
    font-size: clamp(13px, 1.9vw, 15px);
    line-height: 1.75;
    text-align: center;
  }

  .fd-title {
    font-size: clamp(26px, 5vw, 40px);
  }

  .fd-desc {
    font-size: clamp(13px, 1.9vw, 15px);
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .m-grid-4 {
    gap: 14px;
  }

  .m-caption {
    margin-top: 8px;
    font-size: clamp(12px, 2.7vw, 13px);
    letter-spacing: 0.06em;
  }

  .m-section--alt .m-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .m-section--alt .m-overlay {
    padding: 10px;
  }

  .m-section--alt .m-overlay-sub {
    font-size: clamp(11px, 2.6vw, 12px);
  }

  .flexdescription {
    padding: 60px 0;
  }

  .fd-figure,
  .fd-card {
    border-radius: 14px;
  }

  .fd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .m-hero {
    padding: 104px 12px 56px;
  }

  .m-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .m-subtitle {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .m-desc,
  .m-hero .m-desc {
    font-size: 12px;
    line-height: 1.6;
  }

  .m-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .m-btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px;
  }

  .m-section--alt .m-grid {
    grid-template-columns: 1fr;
  }

  .fd-content .fd-heading {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  .fd-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .fd-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* WHAT WE MAKE section: fluid width/height scaling */
.moulds-page > .m-section--what-we-make {
  padding: clamp(40px, 6vw, 70px) 0;
  display: flex;
  justify-content: center;
}

.moulds-page > .m-section--what-we-make .container {
  width: min(1200px, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(12px, 2.6vw, 20px);
  padding-right: clamp(12px, 2.6vw, 20px);
}

.moulds-page > .m-section--what-we-make .m-grid-4 {
  gap: clamp(10px, 1.6vw, 20px);
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.moulds-page > .m-section--what-we-make .m-figure {
  border-radius: clamp(10px, 1.8vw, 18px);
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto !important;
}

.moulds-page > .m-section--what-we-make .m-caption {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block;
  width: 100%;
  margin-top: clamp(8px, 1.6vw, 12px);
  font-size: clamp(12px, 1.6vw, 14px);
  text-align: center !important;
}

.moulds-page > .m-section--what-we-make .m-figure > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform-origin: center center;
  margin: 0 auto;
  display: block;
  transform: none !important;
}

.moulds-page > .m-section--what-we-make .m-card,
.moulds-page > .m-section--what-we-make .m-figure,
.moulds-page > .m-section--what-we-make .m-figure > img {
  width: 100% !important;
  max-width: 100% !important;
}

.moulds-page > .m-section--what-we-make .m-card {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 992px) {
  .moulds-page > .m-section--what-we-make .m-section-title {
    font-size: clamp(21px, 4.2vw, 28px);
    margin-bottom: 14px;
  }
}

@media (max-width: 1100px) {
  .moulds-page > .m-section--what-we-make .m-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .moulds-page > .m-section--what-we-make .m-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .moulds-page > .m-section--what-we-make .m-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .moulds-page > .m-section--what-we-make .m-figure {
    aspect-ratio: 4 / 3 !important;
  }

  .moulds-page > .m-section--what-we-make .m-card {
    max-width: none !important;
  }
}

/* ===== Final HTML+CSS responsive reconstruction ===== */
.moulds-page {
  overflow-x: hidden;
}

.moulds-page .m-title {
  font-size: clamp(26px, 6vw, 64px);
}

.moulds-page .m-subtitle {
  font-size: clamp(12px, 2.2vw, 18px);
}

.moulds-page .m-desc {
  font-size: clamp(12px, 1.8vw, 16px);
}

.moulds-page .m-btn {
  min-height: clamp(40px, 5vw, 46px);
  padding: 0 clamp(12px, 2.4vw, 18px);
  font-size: clamp(12px, 1.7vw, 14px);
}

.moulds-page > .m-section--what-we-make .m-grid--what-we-make {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.8vw, 18px) !important;
  align-items: start;
  justify-items: center;
}

.moulds-page > .m-section--what-we-make .m-card {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.moulds-page > .m-section--what-we-make .m-figure {
  width: 100%;
  aspect-ratio: 4 / 3 !important;
}

.moulds-page > .m-section--what-we-make .m-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.moulds-page > .m-section--what-we-make .m-caption {
  margin-top: 8px !important;
  width: 100%;
  text-align: center !important;
  font-size: clamp(11px, 1.6vw, 14px);
  line-height: 1.35;
}

.flexdescription .fd-inner,
.flexdescription .fd-mid,
.flexdescription .fd-gallery {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 2.6vw, 20px);
  padding-right: clamp(12px, 2.6vw, 20px);
}

.flexdescription .fd-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  justify-items: center;
  padding-right: clamp(12px, 2.6vw, 20px) !important;
}

.flexdescription .fd-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
}

.flexdescription .fd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Flexdescription: auto-scale text and images by screen size */
.flexdescription .fd-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: clamp(16px, 3vw, 48px) !important;
  padding-left: clamp(12px, 2.6vw, 24px) !important;
  padding-right: clamp(12px, 2.6vw, 24px) !important;
}

.flexdescription .fd-figure {
  width: min(100%, 720px);
}

.flexdescription .fd-img {
  width: 100%;
  height: auto;
  max-width: 100% !important;
}

.flexdescription .fd-content .fd-heading {
  width: 100% !important;
  font-size: clamp(24px, 4.2vw, 50px) !important;
  line-height: 1.18;
}

.flexdescription .fd-content .fd-text {
  width: 100% !important;
  font-size: clamp(12px, 1.6vw, 15px) !important;
  line-height: 1.75;
}

.flexdescription .fd-title {
  font-size: clamp(24px, 4.8vw, 56px) !important;
  line-height: 1.2;
}

.flexdescription .fd-desc {
  font-size: clamp(12px, 1.6vw, 15px) !important;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .flexdescription .fd-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .flexdescription .fd-figure {
    order: 1;
  }

  .flexdescription .fd-content {
    order: 2;
  }

  .flexdescription .fd-content .fd-heading {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .flexdescription .fd-content .fd-text {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.requestAquote .requestAquote-button {
  width: min(100%, 360px);
}

@media (max-width: 1100px) {
  .moulds-page > .m-section--what-we-make .m-grid--what-we-make {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .moulds-page > .m-section--what-we-make .m-grid--what-we-make {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

@media (max-width: 560px) {
  .moulds-page > .m-section--what-we-make .m-grid--what-we-make {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .moulds-page > .m-section--what-we-make .m-caption {
    font-size: 11px;
  }

  .flexdescription .fd-gallery {
    grid-template-columns: 1fr;
  }

  .requestAquote .requestAquote-grid {
    grid-template-columns: 1fr;
  }

  .requestAquote .requestAquote-button {
    width: 100%;
  }
}

/* Request a Quote form: fluid layout for all screen sizes */
.requestAquote {
  padding-left: clamp(12px, 2.4vw, 20px);
  padding-right: clamp(12px, 2.4vw, 20px);
}

.requestAquote .requestAquote-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.requestAquote .requestAquote-form {
  width: 100%;
}

.requestAquote .requestAquote-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
}

.requestAquote .requestAquote-field {
  min-width: 0;
}

.requestAquote .requestAquote-field--full {
  grid-column: 1 / -1;
}

.requestAquote input,
.requestAquote textarea {
  width: 100%;
  max-width: 100%;
  font-size: clamp(13px, 1.5vw, 15px);
  box-sizing: border-box;
}

.requestAquote .requestAquote-button {
  width: min(100%, 360px);
  min-width: 0;
  font-size: clamp(12px, 1.6vw, 14px);
}

@media (max-width: 768px) {
  .requestAquote .requestAquote-grid {
    grid-template-columns: 1fr;
  }

  .requestAquote .requestAquote-button {
    width: 100%;
  }
}

/* Dynamic fd-gallery layout: centered and responsive on all screens */
.flexdescription #fd-gallery-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 2.6vw, 20px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(10px, 2vw, 20px);
  justify-content: center;
  align-items: start;
}

.flexdescription #fd-gallery-grid .fd-card {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
}

.flexdescription #fd-gallery-grid .fd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 560px) {
  .flexdescription #fd-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .moulds-page > .m-section--what-we-make .m-section-title {
    font-size: 20px !important;
  }
}

@media (max-width: 768px) {
  .fd-title {
    font-size: clamp(22px, 5.8vw, 30px) !important;
    line-height: 1.2;
  }

  .fd-desc {
    font-size: clamp(12px, 3.2vw, 14px) !important;
    line-height: 1.65;
    max-width: 100%;
    padding: 0 6px;
  }
}

@media (max-width: 430px) {
  .fd-title {
    font-size: clamp(20px, 6.5vw, 24px) !important;
  }

  .fd-desc {
    font-size: 12px !important;
    line-height: 1.6;
  }
}

/* Mobile hard-fix for WHAT WE MAKE clipping/alignment */
@media (max-width: 640px) {
  .moulds-page > .m-section--what-we-make {
    display: block !important;
    padding: 34px 0 42px !important;
  }

  .moulds-page > .m-section--what-we-make .container {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .moulds-page > .m-section--what-we-make .m-grid {
    width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .moulds-page > .m-section--what-we-make .m-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 14px !important;
    justify-items: stretch !important;
    align-items: start !important;
  }

  .moulds-page > .m-section--what-we-make .m-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .moulds-page > .m-section--what-we-make .m-figure {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
  }

  .moulds-page > .m-section--what-we-make .m-caption {
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
    text-align: center !important;
  }
}
