:root {
  --ink: #111b1d;
  --muted: #62706b;
  --paper: #fffaf0;
  --teal: #008f87;
  --teal-dark: #056f68;
  --gold: #d4af37;
  --pink: #ff4f8b;
  --burgundy: #5d1234;
  --line: rgba(17, 27, 29, .12);
  --shadow: 0 24px 70px rgba(17, 27, 29, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 79, 139, .14), transparent 28%),
    radial-gradient(circle at 92% 7%, rgba(212, 175, 55, .22), transparent 30%),
    radial-gradient(circle at 50% 34%, rgba(0, 143, 135, .12), transparent 32%),
    linear-gradient(180deg, #fffaf0, #f8eddf 56%, #fffaf0);
}

a { color: inherit; }

.fp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 70px);
  background: rgba(255, 250, 240, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.fp-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.fp-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid rgba(0,143,135,.22);
  font-size: 13px;
}

.fp-header nav,
.fp-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 850;
  font-size: 14px;
}

.fp-header a,
.fp-footer a {
  text-decoration: none;
}

.fp-header nav .active { color: var(--teal); }

.fp-header-btn,
.fp-primary,
.fp-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}

.fp-header-btn,
.fp-primary {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 16px 38px rgba(0,143,135,.24);
}

.fp-secondary {
  color: var(--teal-dark);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(0,143,135,.25);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 78px;
}

.fp-hero {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  min-height: 560px;
}

.fp-kicker {
  margin: 0 0 12px;
  color: #b07a17;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
.fp-section-head h2,
.fp-claim h2,
.fp-results h2,
.fp-reviews h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.075em;
}

.fp-section-head h2,
.fp-claim h2,
.fp-results h2,
.fp-reviews h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.fp-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #46534f;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.fp-bargain-strip,
.fp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fp-bargain-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  font-weight: 950;
  color: #25312e;
}

.fp-ticket {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.fp-ticket-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--pink), var(--burgundy));
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 18px 38px rgba(93,18,52,.25);
}

.fp-ticket img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: contain;
  padding: 22px;
  border-radius: 26px;
  background: #f5eadb;
}

.fp-ticket div:last-child {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.fp-ticket strong { font-size: 21px; }
.fp-ticket span { color: var(--muted); }

.fp-section,
.fp-claim,
.fp-results,
.fp-reviews {
  margin-top: 44px;
}

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

.fp-carousel-buttons {
  display: flex;
  gap: 10px;
}

.fp-carousel-buttons button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,143,135,.24);
  background: rgba(255,255,255,.78);
  color: var(--teal-dark);
  font-weight: 950;
  cursor: pointer;
}

.fp-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(235px, 270px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 24px;
}

.fp-carousel article {
  scroll-snap-align: start;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,27,29,.09);
  box-shadow: 0 18px 44px rgba(17,27,29,.09);
}

.fp-carousel article div {
  display: grid;
  place-items: center;
  height: 310px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #fffaf0, #eadcca);
  border: 1px solid rgba(17,27,29,.08);
  overflow: hidden;
}

.fp-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.fp-carousel h3 {
  min-height: 42px;
  margin: 14px 0 4px;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.fp-carousel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.fp-carousel span {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--burgundy);
  background: rgba(255,79,139,.10);
  font-size: 12px;
  font-weight: 950;
}

.fp-claim {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 34px;
  border: 1px solid rgba(0,143,135,.20);
  background:
    radial-gradient(circle at 4% 10%, rgba(255,79,139,.16), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(212,175,55,.22), transparent 22%),
    linear-gradient(135deg, rgba(232,255,252,.94), rgba(255,250,240,.92));
  box-shadow: var(--shadow);
}

.fp-claim p {
  color: var(--muted);
  line-height: 1.65;
}

.fp-claim ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.fp-claim li {
  font-weight: 900;
}

.fp-claim li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal);
}

.fp-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(17,27,29,.10);
}

.fp-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.fp-form input[type="email"] {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(17,27,29,.16);
  background: #fffaf0;
  font: inherit;
}

.fp-dropzone {
  position: relative;
  min-height: 286px;
  place-items: center;
  text-align: center;
  border: 1.5px dashed rgba(0,143,135,.45);
  border-radius: 26px;
  background: rgba(255,250,240,.72);
  overflow: hidden;
  cursor: pointer;
}

.fp-dropzone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fp-dropzone span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 24px;
  color: #fffaf0;
  font-size: 34px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.fp-dropzone small { color: var(--muted); }

#roomPreview {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-dropzone.has-preview #roomPreview { display: block; }

.fp-dropzone.has-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.42));
}

.fp-dropzone.has-preview span,
.fp-dropzone.has-preview strong,
.fp-dropzone.has-preview small {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.fp-message {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
  line-height: 1.45;
}

.fp-preview-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}

.fp-room-stage {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #eadcca;
  box-shadow: var(--shadow);
}

.fp-room-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.fp-movable-print {
  position: absolute;
  left: 38%;
  top: 18%;
  width: 175px;
  aspect-ratio: 297 / 420;
  padding: 8px;
  border: 8px solid rgba(17, 17, 17, .94);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.fp-movable-print:active { cursor: grabbing; }

.fp-movable-print img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fp-selected {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(17,27,29,.08);
}

.fp-selected h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.055em;
}

.fp-selected p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.fp-selected small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.fp-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.fp-result-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,27,29,.09);
  box-shadow: 0 16px 42px rgba(17,27,29,.08);
}

.fp-result-card.is-selected {
  border-color: rgba(0,143,135,.48);
  box-shadow: 0 18px 48px rgba(0,143,135,.16);
}

.fp-result-image {
  display: grid;
  place-items: center;
  height: 260px;
  border-radius: 18px;
  background: #fffaf0;
  border: 1px solid rgba(17,27,29,.08);
}

.fp-result-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.fp-result-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.14;
}

.fp-result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.fp-free-pill {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--pink), var(--burgundy));
  font-size: 12px;
  font-weight: 950;
}

.fp-card-actions {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.fp-card-actions button {
  min-height: 38px;
  border-radius: 999px;
  border: 0;
  font-weight: 950;
  cursor: pointer;
}

.fp-try-btn {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.fp-buy-btn {
  color: var(--burgundy);
  background: rgba(255,79,139,.10);
  border: 1px solid rgba(255,79,139,.22) !important;
}

.fp-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fp-review-grid article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(17,27,29,.08);
}

.fp-review-grid p {
  margin: 0 0 16px;
  color: #3d4844;
  line-height: 1.65;
}

.fp-review-grid strong { color: var(--burgundy); }

.fp-footer {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(255,250,240,.84);
}

.fp-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .fp-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fp-preview-layout,
  .fp-hero,
  .fp-claim {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fp-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .fp-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .fp-header-btn,
  .fp-actions a,
  .fp-primary,
  .fp-secondary {
    width: 100%;
  }

  main {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  h1 { font-size: clamp(46px, 15vw, 68px); }

  .fp-ticket img { height: 310px; }

  .fp-carousel {
    grid-auto-columns: minmax(220px, 82vw);
  }

  .fp-results-grid,
  .fp-review-grid {
    grid-template-columns: 1fr;
  }

  .fp-room-stage,
  .fp-room-stage > img {
    min-height: 340px;
  }

  .fp-movable-print {
    width: 126px;
    border-width: 6px;
    padding: 6px;
  }

  .fp-footer {
    flex-direction: column;
  }
}

/* Famous painting campaign polish */
.fp-section-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.fp-carousel {
  padding-top: 12px;
  padding-bottom: 30px;
}

.fp-carousel article {
  position: relative;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fp-carousel article:hover {
  transform: translateY(-7px) rotate(-.35deg);
  border-color: rgba(255,79,139,.28);
  box-shadow: 0 24px 64px rgba(17,27,29,.14);
}

.fp-carousel article::before {
  content: "Famous match";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--pink), var(--burgundy));
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
}

.fp-carousel article div {
  height: 330px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,79,139,.08), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(212,175,55,.16), transparent 34%),
    linear-gradient(135deg, #fffaf0, #eadcca);
}

.fp-carousel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 24px;
  filter: drop-shadow(0 14px 16px rgba(17,27,29,.14));
}

.fp-carousel h3 {
  min-height: 48px;
}

.fp-carousel span {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

/* Remove fake frame/corners from room preview */
.fp-movable-print {
  width: min(230px, 42%);
  max-width: 52%;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.28));
}

.fp-movable-print img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.fp-result-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fp-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(17,27,29,.13);
}

.fp-result-image {
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    linear-gradient(135deg, #fffaf0, #efe1ce);
}

.fp-result-image img {
  filter: drop-shadow(0 12px 14px rgba(17,27,29,.12));
}

.fp-free-pill {
  letter-spacing: .035em;
}

.fp-buy-btn::after {
  content: " →";
}

.fp-room-stage::before {
  content: "Drag the painting around your room";
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fffaf0;
  background: rgba(17,27,29,.58);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .fp-carousel article div {
    height: 340px;
  }

  .fp-movable-print {
    width: min(150px, 44%);
  }

  .fp-movable-print img {
    max-height: 210px;
  }
}

/* 20260630_1: print banner + clean result image frames */

/* Hero campaign image */
.fp-ticket {
  transform: rotate(.35deg);
}

.fp-ticket .fp-banner-img {
  height: 470px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 26px;
  background: #f5eadb;
}

/* Nicer carousel cards with consistent image presentation */
.fp-carousel article {
  display: grid;
  grid-template-rows: auto auto auto auto;
}

.fp-carousel article div {
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-carousel article div img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  padding: 0;
}

/* Results: stop tall paintings overflowing into text */
.fp-result-card {
  overflow: hidden;
  align-content: start;
}

.fp-result-image {
  height: 285px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-result-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 12px 16px rgba(17,27,29,.13));
}

/* Keep result cards readable and balanced */
.fp-result-card h3 {
  min-height: 42px;
}

.fp-result-card p {
  overflow-wrap: anywhere;
}

/* Try-on-wall image: no frame, no fake corners, natural artwork shape */
.fp-movable-print {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.28));
}

.fp-movable-print img {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Make buying feel like a bargain, not a normal shop button */
.fp-buy-btn {
  background: linear-gradient(135deg, rgba(255,79,139,.16), rgba(212,175,55,.18)) !important;
  color: var(--burgundy);
}

.fp-buy-btn:hover,
.fp-try-btn:hover,
.fp-primary:hover,
.fp-secondary:hover {
  transform: translateY(-2px);
}

.fp-buy-btn,
.fp-try-btn,
.fp-primary,
.fp-secondary {
  transition: transform .18s ease, box-shadow .18s ease;
}

@media (max-width: 760px) {
  .fp-ticket .fp-banner-img {
    height: 360px;
  }

  .fp-carousel article div {
    height: 320px;
  }

  .fp-result-image {
    height: 310px;
  }

  .fp-result-image img {
    max-width: 94%;
    max-height: 94%;
  }
}

/* 20260630_2: discovery campaign polish */
.fp-hero {
  position: relative;
}

.fp-hero::after {
  content: "Limited launch offer";
  position: absolute;
  left: 0;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--pink), var(--burgundy));
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(93,18,52,.22);
}

.fp-ticket {
  overflow: hidden;
  transform: none;
}

.fp-ticket .fp-banner-img,
.fp-ticket img[src*="print_banner"] {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 26px;
  background: #f5eadb;
}

.fp-carousel {
  position: relative;
  grid-auto-columns: minmax(250px, 292px);
  gap: 22px;
  padding: 14px 6px 34px;
  scroll-padding-left: 8px;
}

.fp-carousel article {
  cursor: pointer;
  transform-origin: center bottom;
}

.fp-carousel article.is-active {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0,143,135,.42);
  box-shadow:
    0 28px 72px rgba(17,27,29,.16),
    0 0 0 4px rgba(0,143,135,.08);
}

.fp-carousel article.is-active::after {
  content: "Your gallery pick";
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #fffaf0;
  border: 1px solid rgba(0,143,135,.22);
  font-size: 11px;
  font-weight: 950;
}

.fp-carousel article div {
  height: 345px;
  position: relative;
}

.fp-carousel article div::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 16px;
  border-radius: 999px;
  background: rgba(17,27,29,.10);
  filter: blur(10px);
}

.fp-carousel img {
  position: relative;
  z-index: 2;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 0;
  transition: transform .22s ease;
}

.fp-carousel article:hover img,
.fp-carousel article.is-active img {
  transform: scale(1.035);
}

.fp-carousel-progress {
  width: 100%;
  height: 8px;
  margin-top: -12px;
  border-radius: 999px;
  background: rgba(17,27,29,.08);
  overflow: hidden;
}

.fp-carousel-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  transition: width .2s ease;
}

.fp-gallery-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.fp-gallery-hint strong {
  color: var(--burgundy);
}

.fp-seo-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 4vw, 48px);
  margin-top: 52px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255,79,139,.12), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(232,255,252,.72));
  border: 1px solid rgba(0,143,135,.16);
  box-shadow: 0 18px 54px rgba(17,27,29,.08);
}

.fp-seo-story h2,
.fp-faq h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.055em;
}

.fp-seo-story p {
  color: var(--muted);
  line-height: 1.65;
}

.fp-seo-cards {
  display: grid;
  gap: 14px;
}

.fp-seo-cards article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(17,27,29,.09);
}

.fp-seo-cards strong {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
}

.fp-seo-cards p {
  margin: 0;
}

.fp-faq {
  width: min(860px, 100%);
  margin: 52px auto 0;
}

.fp-faq h2 {
  margin-bottom: 18px;
}

.fp-faq details {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.fp-faq summary {
  cursor: pointer;
  font-weight: 950;
}

.fp-faq p {
  color: var(--muted);
  line-height: 1.6;
}

.fp-dropzone {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.fp-dropzone:hover {
  transform: translateY(-3px);
  border-color: rgba(255,79,139,.42);
  box-shadow: 0 18px 42px rgba(17,27,29,.10);
}

.fp-dropzone::before {
  content: "Your wall match starts here";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--burgundy);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,79,139,.18);
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 920px) {
  .fp-seo-story {
    grid-template-columns: 1fr;
  }

  .fp-hero::after {
    position: static;
    display: inline-flex;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .fp-ticket .fp-banner-img,
  .fp-ticket img[src*="print_banner"] {
    height: 380px;
  }

  .fp-carousel {
    grid-auto-columns: minmax(235px, 84vw);
  }

  .fp-carousel article div {
    height: 350px;
  }
}

/* 20260630_4: cool swipe result deck + proper image containment */
.fp-results-head {
  align-items: end;
}

.fp-result-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.fp-result-controls button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,143,135,.24);
  background: rgba(255,255,255,.82);
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(17,27,29,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.fp-result-controls button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(17,27,29,.13);
}

/* Turn the result grid into a horizontal swipe deck */
.fp-results-grid {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 310px);
  grid-template-columns: none !important;
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 8px;
  padding: 8px 8px 32px;
  margin-top: 24px;
}

.fp-results-grid::-webkit-scrollbar {
  height: 12px;
}

.fp-results-grid::-webkit-scrollbar-track {
  background: rgba(17,27,29,.07);
  border-radius: 999px;
}

.fp-results-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--teal), var(--pink));
  border-radius: 999px;
}

.fp-result-card {
  scroll-snap-align: center;
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 300px auto auto auto auto 1fr;
  align-content: start;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 7%, rgba(255,79,139,.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,250,240,.86));
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.fp-result-card:hover,
.fp-result-card.is-selected {
  transform: translateY(-8px);
  border-color: rgba(0,143,135,.42);
  box-shadow:
    0 28px 74px rgba(17,27,29,.16),
    0 0 0 5px rgba(0,143,135,.07);
}

.fp-result-card.is-selected::before {
  content: "On your wall now";
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
}

.fp-result-image {
  height: 300px !important;
  width: 100%;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,79,139,.09), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(212,175,55,.16), transparent 30%),
    linear-gradient(135deg, #fffaf0, #eadcca);
}

.fp-result-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  filter: drop-shadow(0 14px 16px rgba(17,27,29,.14));
}

.fp-result-card h3 {
  min-height: 48px;
  margin-top: 4px;
}

.fp-result-card p {
  line-height: 1.45;
}

.fp-card-actions {
  align-self: end;
}

/* Better resize panel */
.fp-size-tools {
  display: grid;
  grid-template-columns: 44px 1fr 44px auto;
  gap: 8px;
  align-items: center;
  margin: 16px 0 18px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,250,240,.76);
  border: 1px solid rgba(17,27,29,.10);
}

.fp-size-tools button {
  min-height: 40px;
  border-radius: 999px;
  border: 0;
  padding: 0 12px;
  color: var(--teal-dark);
  background: rgba(0,143,135,.10);
  font-weight: 950;
  cursor: pointer;
}

.fp-size-tools input {
  width: 100%;
  accent-color: var(--teal);
}

/* Natural artwork on wall, resizable */
.fp-movable-print {
  width: 190px;
  min-width: 70px;
  max-width: 70%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.28));
  cursor: grab;
}

.fp-movable-print img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.fp-resize-handle {
  position: absolute;
  right: -13px;
  bottom: -13px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #fffaf0;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--pink), var(--burgundy));
  font-size: 13px;
  font-weight: 950;
  cursor: nwse-resize;
  box-shadow: 0 12px 24px rgba(17,27,29,.18);
}

.fp-room-stage::before {
  content: "Move + resize the painting";
}

@media (max-width: 760px) {
  .fp-results-grid {
    grid-auto-columns: minmax(250px, 86vw);
  }

  .fp-result-card {
    min-height: 610px;
    grid-template-rows: 315px auto auto auto auto 1fr;
  }

  .fp-result-image {
    height: 315px !important;
  }

  .fp-size-tools {
    grid-template-columns: 42px 1fr 42px;
    border-radius: 24px;
  }

  #printResetSize {
    grid-column: 1 / -1;
  }
}

/* 20260630_4: proper result cards, no image overflow */
#results .fp-results-grid {
  align-items: stretch;
}

#results .fp-result-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  overflow: hidden !important;
  height: 100%;
}

#results .fp-result-card .fp-result-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

#results .fp-result-card .fp-result-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 12px 14px rgba(17,27,29,.14));
}

#results .fp-result-card h3 {
  min-height: auto !important;
  margin-top: 4px !important;
  line-height: 1.15 !important;
}

#results .fp-result-card p {
  line-height: 1.45 !important;
}

#results .fp-result-card .fp-card-actions {
  margin-top: auto !important;
}

/* Better grid rhythm on large screens */
@media (min-width: 1100px) {
  #results .fp-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1099px) and (min-width: 761px) {
  #results .fp-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  #results .fp-results-grid {
    grid-template-columns: 1fr !important;
  }

  #results .fp-result-card .fp-result-image {
    aspect-ratio: 16 / 11 !important;
  }
}

/* 20260630_4: move and resize print on uploaded room */
.fp-movable-print {
  width: 220px;
  min-width: 82px;
  max-width: 72%;
  cursor: grab;
}

.fp-movable-print:active {
  cursor: grabbing;
}

.fp-movable-print img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  user-select: none;
  pointer-events: none;
}

.fp-resize-handle {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--teal), var(--burgundy));
  box-shadow: 0 12px 26px rgba(17,27,29,.22);
  cursor: nwse-resize;
  z-index: 6;
  font-size: 15px;
  font-weight: 950;
}

.fp-resize-handle::before {
  content: "↘";
}

.fp-size-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 0;
}

.fp-size-tools button {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0,143,135,.24);
  color: var(--teal-dark);
  background: rgba(255,255,255,.78);
  font-weight: 950;
  cursor: pointer;
}

.fp-size-tools button:hover {
  transform: translateY(-2px);
}

.fp-selected .fp-size-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .fp-movable-print {
    width: 145px;
    max-width: 76%;
  }

  .fp-resize-handle {
    width: 28px;
    height: 28px;
    right: -12px;
    bottom: -12px;
  }
}

/* 20260630_5: strict result image containment + direct touch/mouse resize */

/* Hide/remove old resize UI if older JS created it */
.fp-resize-handle,
.fp-size-tools,
.fp-size-hint {
  display: none !important;
}

/* Result cards: stop portrait paintings escaping into text */
#results .fp-results-grid {
  align-items: stretch !important;
}

#results .fp-result-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  overflow: hidden !important;
  min-width: 0 !important;
  height: auto !important;
  contain: paint !important;
}

#results .fp-result-image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

#results .fp-result-image img {
  position: absolute !important;
  inset: 18px !important;
  display: block !important;
  width: calc(100% - 36px) !important;
  height: calc(100% - 36px) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 12px 14px rgba(17,27,29,.14));
}

#results .fp-result-card h3 {
  margin: 4px 0 0 !important;
  min-height: auto !important;
  line-height: 1.15 !important;
}

#results .fp-result-card p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

#results .fp-result-card .fp-card-actions {
  margin-top: auto !important;
}

/* Desktop card rhythm */
@media (min-width: 1100px) {
  #results .fp-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1099px) and (min-width: 761px) {
  #results .fp-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  #results .fp-results-grid {
    grid-template-columns: 1fr !important;
  }

  #results .fp-result-image {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Direct room preview interaction */
.fp-movable-print {
  width: 220px;
  min-width: 70px;
  max-width: 78%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.28));
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.fp-movable-print:active {
  cursor: grabbing;
}

.fp-movable-print img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.fp-room-stage::before {
  content: "Drag to move · pinch or mouse wheel to resize" !important;
}

@media (max-width: 760px) {
  .fp-movable-print {
    width: 145px;
    max-width: 82%;
  }
}

/* 20260701_1: strict result card layout */
#results .fp-results-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

#results .fp-result-card {
  display: grid !important;
  grid-template-rows: auto auto auto auto auto 1fr auto !important;
  gap: 11px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 16px !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.82) !important;
  contain: layout paint !important;
}

#results .fp-result-image {
  position: relative !important;
  width: 100% !important;
  height: 285px !important;
  min-height: 285px !important;
  max-height: 285px !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

#results .fp-result-image img {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 14px 16px rgba(17,27,29,.14)) !important;
}

#results .fp-free-pill {
  align-self: start !important;
  margin-top: 0 !important;
}

#results .fp-result-card h3 {
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 1.12 !important;
}

#results .fp-result-card p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

#results .fp-card-actions {
  display: grid !important;
  gap: 9px !important;
  margin-top: 4px !important;
  align-self: end !important;
}

.fp-resize-handle,
.fp-size-tools,
.fp-size-hint {
  display: none !important;
}

/* Direct interaction only: drag, mouse wheel, pinch */
.fp-movable-print {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.28));
  cursor: grab !important;
  touch-action: none !important;
}

.fp-movable-print img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  pointer-events: none !important;
}

.fp-room-stage::before {
  content: "Drag to move · pinch or mouse wheel to resize" !important;
}

@media (max-width: 1100px) {
  #results .fp-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  #results .fp-results-grid {
    grid-template-columns: 1fr !important;
  }

  #results .fp-result-image {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }
}

/* ============================================================
   20260701_2: HARD RESET FOR RESULTS GRID
   Fixes overlapping cards and portrait images covering text
   ============================================================ */

#results {
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
}

#results .fp-results-grid,
.fp-results #resultsGrid,
#resultsGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 24px 0 0 !important;
  transform: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}

#resultsGrid > .fp-result-card {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  scale: 1 !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;

  overflow: hidden !important;
  contain: layout paint !important;

  padding: 16px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(17,27,29,.10) !important;
  box-shadow: 0 16px 42px rgba(17,27,29,.08) !important;
}

#resultsGrid > .fp-result-card:hover {
  transform: translateY(-3px) !important;
}

#resultsGrid > .fp-result-card.is-selected {
  border-color: rgba(0,143,135,.55) !important;
  box-shadow:
    0 18px 48px rgba(0,143,135,.15),
    0 0 0 4px rgba(0,143,135,.08) !important;
}

/* The image box is now a fixed safe window */
#resultsGrid .fp-result-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;

  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;

  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

/* The image can never escape this box */
#resultsGrid .fp-result-image img {
  position: absolute !important;
  inset: 16px !important;

  width: calc(100% - 32px) !important;
  height: calc(100% - 32px) !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;
  object-position: center !important;

  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;

  filter: drop-shadow(0 12px 15px rgba(17,27,29,.13)) !important;
}

#resultsGrid .fp-free-pill {
  position: static !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 11px !important;
  z-index: 1 !important;
}

#resultsGrid .fp-result-card h3 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: 21px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid .fp-result-card p {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--muted) !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid .fp-card-actions {
  display: grid !important;
  gap: 9px !important;
  margin-top: auto !important;
  padding-top: 6px !important;
  width: 100% !important;
}

#resultsGrid .fp-card-actions button {
  width: 100% !important;
  min-height: 44px !important;
  white-space: normal !important;
}

/* Remove old zoom/resize controls completely */
.fp-resize-handle,
.fp-size-tools,
.fp-size-hint,
[data-size-action] {
  display: none !important;
}

/* Direct interaction only on room image */
.fp-movable-print {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.28));
  cursor: grab !important;
  touch-action: none !important;
  user-select: none !important;
}

.fp-movable-print img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
}

.fp-room-stage::before {
  content: "Drag to move · pinch or mouse wheel to resize" !important;
}

@media (min-width: 1280px) {
  #results .fp-results-grid,
  #resultsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  #results .fp-results-grid,
  #resultsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #results .fp-results-grid,
  #resultsGrid {
    grid-template-columns: 1fr !important;
  }

  #resultsGrid .fp-result-image {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}

/* ============================================================
   20260701_3: RESULTS AS CLEAN LIST, NOT CARDS
   ============================================================ */

#results #resultsGrid,
#results .fp-results-grid,
.fp-results #resultsGrid {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

#resultsGrid .fp-result-row {
  display: grid !important;
  grid-template-columns: minmax(190px, 260px) 1fr !important;
  gap: 22px !important;
  align-items: center !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  padding: 18px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 4% 10%, rgba(255,79,139,.07), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,250,240,.88)) !important;
  border: 1px solid rgba(17,27,29,.10) !important;
  box-shadow: 0 16px 42px rgba(17,27,29,.08) !important;

  overflow: hidden !important;
  position: relative !important;
  transform: none !important;
}

#resultsGrid .fp-result-row.is-selected {
  border-color: rgba(0,143,135,.56) !important;
  box-shadow:
    0 18px 48px rgba(0,143,135,.15),
    0 0 0 4px rgba(0,143,135,.08) !important;
}

#resultsGrid .fp-result-row-image {
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;
  padding: 16px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

#resultsGrid .fp-result-row-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 12px 15px rgba(17,27,29,.14)) !important;
}

#resultsGrid .fp-result-row-body {
  min-width: 0 !important;
  display: grid !important;
  gap: 9px !important;
}

#resultsGrid .fp-result-row-top {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  align-items: center !important;
}

#resultsGrid .fp-free-pill,
#resultsGrid .fp-match-score {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

#resultsGrid .fp-match-score {
  color: var(--teal-dark) !important;
  background: rgba(0,143,135,.10) !important;
  border: 1px solid rgba(0,143,135,.16) !important;
}

#resultsGrid .fp-result-row h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(22px, 2.5vw, 32px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid .fp-result-row p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid .fp-result-artist {
  color: var(--burgundy) !important;
  font-weight: 950 !important;
}

#resultsGrid .fp-result-reason {
  color: #46534f !important;
}

#resultsGrid .fp-result-price {
  color: var(--teal-dark) !important;
  font-weight: 900 !important;
}

#resultsGrid .fp-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 6px !important;
}

#resultsGrid .fp-card-actions button {
  width: auto !important;
  min-width: 190px !important;
  min-height: 44px !important;
  padding: 12px 18px !important;
  white-space: normal !important;
}

/* Hide old card styles if any old markup appears */
#resultsGrid .fp-result-card {
  display: none !important;
}

/* Remove extra zoom controls */
.fp-resize-handle,
.fp-size-tools,
.fp-size-hint,
[data-size-action] {
  display: none !important;
}

@media (max-width: 760px) {
  #resultsGrid .fp-result-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  #resultsGrid .fp-result-row-image {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  #resultsGrid .fp-card-actions {
    display: grid !important;
  }

  #resultsGrid .fp-card-actions button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ============================================================
   20260701_4: FORCE RESULTS INTO A CLEAN VERTICAL LIST
   Works even if old JS still creates fp-result-card markup
   ============================================================ */

#results {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

#resultsGrid,
#results .fp-results-grid,
.fp-results #resultsGrid {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

#resultsGrid > .fp-result-card,
#resultsGrid > .fp-result-row {
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;

  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;

  transform: none !important;
  scale: 1 !important;

  padding: 18px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(17,27,29,.10) !important;
  box-shadow: 0 16px 42px rgba(17,27,29,.08) !important;
  overflow: hidden !important;
}

#resultsGrid > .fp-result-card:hover,
#resultsGrid > .fp-result-row:hover {
  transform: none !important;
}

#resultsGrid > .fp-result-card.is-selected,
#resultsGrid > .fp-result-row.is-selected {
  border-color: rgba(0,143,135,.56) !important;
  box-shadow:
    0 18px 48px rgba(0,143,135,.15),
    0 0 0 4px rgba(0,143,135,.08) !important;
}

#resultsGrid .fp-result-image,
#resultsGrid .fp-result-row-image {
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;
  padding: 16px !important;
  margin: 0 !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
}

#resultsGrid .fp-result-image img,
#resultsGrid .fp-result-row-image img {
  position: static !important;
  display: block !important;

  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center !important;

  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;

  filter: drop-shadow(0 12px 15px rgba(17,27,29,.14)) !important;
}

#resultsGrid .fp-free-pill,
#resultsGrid .fp-match-score {
  position: static !important;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 8px 6px 0 !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

#resultsGrid .fp-match-score {
  color: var(--teal-dark) !important;
  background: rgba(0,143,135,.10) !important;
  border: 1px solid rgba(0,143,135,.16) !important;
}

#resultsGrid h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.045em !important;
  min-height: 0 !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid p {
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

#resultsGrid p strong {
  color: var(--burgundy) !important;
  font-weight: 950 !important;
}

#resultsGrid .fp-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding-top: 0 !important;
  width: 100% !important;
}

#resultsGrid .fp-card-actions button {
  width: auto !important;
  min-width: 190px !important;
  min-height: 44px !important;
  padding: 12px 18px !important;
  white-space: normal !important;
}

/* Kill old carousel/card behaviours inside results */
#resultsGrid .fp-result-card::before,
#resultsGrid .fp-result-card::after,
#resultsGrid .fp-result-row::before,
#resultsGrid .fp-result-row::after {
  display: none !important;
}

/* No separate zoom controls */
.fp-resize-handle,
.fp-size-tools,
.fp-size-hint,
[data-size-action] {
  display: none !important;
}

@media (max-width: 760px) {
  #resultsGrid > .fp-result-card,
  #resultsGrid > .fp-result-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  #resultsGrid .fp-result-image,
  #resultsGrid .fp-result-row-image {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }

  #resultsGrid .fp-card-actions {
    display: grid !important;
  }

  #resultsGrid .fp-card-actions button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ============================================================
   20260701_7: PROPER WEBSITE LISTING
   15 results, 3 per row, matched from full database
   ============================================================ */

#resultsGrid.fp-listing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.fp-listing-item {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;

  padding: 18px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.93) !important;
  border: 1px solid rgba(17,27,29,.10) !important;
  box-shadow: 0 16px 42px rgba(17,27,29,.08) !important;
}

.fp-listing-item.is-selected {
  border-color: rgba(0,143,135,.56) !important;
  box-shadow:
    0 18px 48px rgba(0,143,135,.15),
    0 0 0 4px rgba(0,143,135,.08) !important;
}

.fp-listing-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 280px !important;
  overflow: hidden !important;

  padding: 18px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
  border: 1px solid rgba(17,27,29,.08) !important;
  text-decoration: none !important;
}

.fp-listing-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 12px 15px rgba(17,27,29,.14)) !important;
}

.fp-listing-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  padding-top: 14px !important;
  flex: 1 !important;
}

.fp-listing-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.fp-listing-item h3 {
  margin: 0 !important;
  font-size: 23px !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

.fp-listing-item p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

.fp-result-artist {
  color: var(--burgundy) !important;
  font-weight: 950 !important;
}

.fp-result-price {
  color: var(--teal-dark) !important;
  font-weight: 900 !important;
}

.fp-listing-actions {
  display: grid !important;
  gap: 9px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
}

.fp-listing-actions button {
  width: 100% !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
  border-radius: 999px !important;
}

/* Neutralise old card/list experiments inside results */
#resultsGrid > .fp-result-card,
#resultsGrid > .fp-result-row,
#resultsGrid > .fp-result-tile {
  display: none !important;
}

.fp-resize-handle,
.fp-size-tools,
.fp-size-hint,
[data-size-action] {
  display: none !important;
}

@media (max-width: 980px) {
  #resultsGrid.fp-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #resultsGrid.fp-listing-grid {
    grid-template-columns: 1fr !important;
  }

  .fp-listing-image {
    height: 320px !important;
  }
}

/* 20260701_9: true results listing, no slider */

.fp-results-listing {
  overflow: visible !important;
}

#resultsGrid.fp-listing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  transform: none !important;
}

.fp-listing-item {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 18px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(17,27,29,.10) !important;
  box-shadow: 0 16px 42px rgba(17,27,29,.08) !important;
}

.fp-listing-item.is-selected {
  border-color: rgba(0,143,135,.56) !important;
  box-shadow:
    0 18px 48px rgba(0,143,135,.15),
    0 0 0 4px rgba(0,143,135,.08) !important;
}

.fp-listing-image {
  appearance: none !important;
  border: 1px solid rgba(17,27,29,.08) !important;
  cursor: pointer !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  height: 280px !important;
  padding: 18px !important;
  overflow: hidden !important;

  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,79,139,.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #efe1ce) !important;
}

.fp-listing-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 12px 15px rgba(17,27,29,.14)) !important;
}

.fp-listing-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  padding-top: 14px !important;
  flex: 1 !important;
}

.fp-listing-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.fp-match-score {
  color: var(--teal-dark) !important;
  background: rgba(0,143,135,.10) !important;
  border: 1px solid rgba(0,143,135,.16) !important;
  display: inline-flex !important;
  width: fit-content !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.fp-listing-item h3 {
  margin: 0 !important;
  font-size: 23px !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  overflow-wrap: anywhere !important;
}

.fp-listing-item p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

.fp-result-artist {
  color: var(--burgundy) !important;
  font-weight: 950 !important;
}

.fp-result-price {
  color: var(--teal-dark) !important;
  font-weight: 900 !important;
}

.fp-listing-actions {
  display: grid !important;
  gap: 9px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
}

.fp-listing-actions button {
  width: 100% !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
  border-radius: 999px !important;
}

.fp-room-preview-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr) !important;
  gap: 22px !important;
  margin-top: 32px !important;
  align-items: start !important;
}

/* Kill old result slider/card artefacts */
#results .fp-result-card,
#results .fp-result-row,
#results .fp-result-tile,
#results .fp-results-carousel,
#results .fp-result-deck,
#results .fp-results-nav,
#results .fp-carousel-controls,
#results [data-size-action],
#results .fp-size-tools,
#results .fp-size-hint,
#results .fp-resize-handle {
  display: none !important;
}

@media (max-width: 980px) {
  #resultsGrid.fp-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fp-room-preview-panel {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #resultsGrid.fp-listing-grid {
    grid-template-columns: 1fr !important;
  }

  .fp-listing-image {
    height: 320px !important;
  }
}
