﻿/*
 * Embroidered landing page (/custom-patches/embroidered-patches).
 * Loaded after funnel.css; only the differences from the PVC landing page, all scoped under .pvcf.embf.
 */

/* ---- Hero: longer H1 wraps; square hero image ---- */
.pvcf.embf .hero h1 { white-space: normal; text-wrap: balance; }
.pvcf.embf .hero-fig img { aspect-ratio: 1 / 1; }

/* ---- Calculator ---- */
.pvcf.embf .sz { --in: min(48px, 7.2vw); }
.pvcf.embf .sz-patch { height: calc(var(--ph, 2.83) * var(--in)); width: auto; aspect-ratio: 350 / 330; object-fit: fill; }
.pvcf.embf .calc-s { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pvcf.embf .calc-q { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.pvcf.embf .chip-more {
  min-height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--ink); border: 1.5px dashed #9A9FB5; text-decoration: none;
}
.pvcf.embf .chip-more:hover { border-color: var(--ink); color: var(--ink); }
.pvcf.embf .calc-rush { font-weight: 700; }
.pvcf.embf .calc-quote { font-family: var(--f-display); font-size: 22px; font-weight: 800; line-height: 1.25; max-width: 420px; }

/* ---- Borders: whole patch visible ---- */
.pvcf.embf .td-img img { object-fit: contain; mix-blend-mode: normal; }

/* ---- Backings ---- */
.pvcf.embf .bk-img img { object-fit: contain; }

/* ---- Optional add-ons (4:3 tiles) ---- */
.pvcf.embf .addons-wrap { padding-bottom: 0; }
.pvcf.embf .ao-img { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--soft); overflow: hidden; }
.pvcf.embf .ao-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pvcf.embf .ao-img.ao-dark { background: #0B0D1F; }
.pvcf.embf .ao-img.ao-white { background: #FFFFFF; }
.pvcf.embf .ao-img.ao-dark img, .pvcf.embf .ao-img.ao-white img { mix-blend-mode: normal; }

/* ---- Phone ---- */
@media (max-width: 767px) {
  .pvcf.embf .sz { --in: 7.6vw; }
  .pvcf.embf .sz-stage { height: calc(6 * 7.6vw + 8px); }
  .pvcf.embf .calc-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pvcf.embf .calc-q { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pvcf.embf .chip-more { min-height: 40px; }
  .pvcf.embf .calc-quote { font-size: 18px; }
  .pvcf.embf .calc-btns { gap: 8px; }
  .pvcf.embf .calc-btns .pbtn { min-height: 50px; padding: 0 10px; font-size: 16px; font-weight: 800; white-space: nowrap; gap: 8px; }
  .pvcf.embf .calc-btns .pbtn svg { width: 18px; height: 18px; }
  .pvcf.embf .addons-wrap { padding-bottom: 0; }
}
