/* Find a florist (16 Oct 2026). Brought in line with the finished homepage (/_mv/d2/, _tools/home_d.css) on phones, tablets
   and desktop. The homepage's yellow search, one section order, the homepage's headings and
   spacing (phones: 48px between sections, 16px heading to content; tablet and desktop: 72px and 32px), shelves instead of
   boxes that scroll inside the page, arrows not dots, square photos, pink review cards, the slim pink Just Delivered panel,
   yellow only on things you can tap, nothing under 16px. faf.js adds html.d2f-faf and does the DOM moves CSS can't.
   Remove the <link> and <script> in find-a-florist/index.html to revert. */

/* =================== All sizes =================== */

/* ---------- One section order: search, results, towns, reviews, florists, Just Delivered, about ---------- */
html.d2f-faf #main { display: flex; flex-direction: column; padding-bottom: 0 !important; }
html.d2f-faf #main > * { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
html.d2f-faf #main > .wrapper-alt { order: 1; }
html.d2f-faf #main > .find-a-florist-hero-new-section { order: 2; }
html.d2f-faf #main > .section-trio-top { order: 3; }
html.d2f-faf #main > .faf-reviews-sec { order: 4; }
html.d2f-faf #main > .d2f-florist-gallery { order: 5; }
html.d2f-faf #main > .faf-jd-sec { order: 6; }
html.d2f-faf #main > .florist-info-tabs-section { order: 7; }
html.d2f-faf #main > .tab-panel { order: 8; }
html.d2f-faf #main > .faf-acc-list { order: 7; }

/* ---------- Section headings: the homepage's h2, an optional line under it, link and arrows on the right ---------- */
html.d2f-faf .faf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 32px !important; padding: 0 !important; }
html.d2f-faf .faf-head__text { min-width: 0; }
html.d2f-faf .faf-head h2 { margin: 0 !important; padding: 0 !important; font-size: var(--d2f-fs-h2, 1.45rem) !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.02em; color: #23233d !important; text-align: left !important; }
html.d2f-faf .faf-head p { margin: 6px 0 0 !important; max-width: 62ch; font-size: 16px !important; line-height: 1.5; color: #4f5064 !important; }
html.d2f-faf .faf-head__aside { display: flex; align-items: center; gap: 16px; flex: none; }
html.d2f-faf .faf-more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: #23233d !important; font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
html.d2f-faf .faf-more::after { content: "→"; display: inline-block; text-decoration: none; transition: transform .2s; }
html.d2f-faf .faf-more:hover::after { transform: translateX(3px); }
html.d2f-faf .faf-head .d2f-rail-nav[hidden] { display: none !important; }

/* ---------- Search: the homepage's yellow search, exactly (Nilesh: "dont want different searches"; the live Spain page he
   loves uses it too). Phones: title over two stacked fields. Tablets: the fields side by side. Desktop: one row. ---------- */
html.d2f-faf #main > .wrapper-alt { padding-top: 16px !important; }
html.d2f-faf #main .where-sending-banner { margin: 0 !important; padding: 18px 14px 14px !important; background: #ffd86e !important; border: 0 !important; border-radius: 16px !important; box-shadow: none !important; }
html.d2f-faf #main .where-sending-banner .wrapper-content, html.d2f-faf #main .where-sending-banner-content { padding: 0 !important; margin: 0 !important; background: none !important; max-width: none !important; }
html.d2f-faf #main .where-sending { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 0 !important; margin: 0 !important; }
html.d2f-faf #main .where-sending-title { display: block; margin: 0 0 14px !important; padding: 0 !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.5 !important; color: #23233d !important; text-align: center !important; }
html.d2f-faf #main .where-sending .country-content { position: relative; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
html.d2f-faf #main .where-sending .checkout-middle-country { flex: none; position: relative !important; width: auto !important; height: 48px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; background: #fff !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; outline: none !important; }
html.d2f-faf #main .where-sending .checkout-lang-select, html.d2f-faf #main .where-sending .checkout-btn-select { width: 100% !important; height: 100% !important; min-height: 0 !important; }
html.d2f-faf #main .where-sending .checkout-lang-select { padding: 0 !important; }
html.d2f-faf #main .where-sending .checkout-btn-select { display: flex !important; align-items: center; padding: 0 36px 0 14px !important; background-color: transparent !important; background-position: right 14px center !important; border: 0 !important; }
html.d2f-faf #main .where-sending .checkout-btn-select ul, html.d2f-faf #main .where-sending .checkout-btn-select li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
html.d2f-faf #main .where-sending .checkout-btn-select::before { right: 14px !important; }   /* the chevron, same inset as the homepage */
html.d2f-faf #main .where-sending .checkout-btn-select li span { font-size: 16px !important; font-weight: 600 !important; color: #23233d !important; }
html.d2f-faf #main .where-sending .checkout-btn-select img { width: 22px !important; height: auto !important; margin: 0 !important; }
html.d2f-faf #main .where-sending .country-dropdown-c { top: 54px !important; left: 0 !important; width: 100% !important; min-width: 240px; z-index: 20; }
/* 11 Nov 2026 (Nilesh: "gap in search"): the shared search band already pads the field 44px for the icon, and the old 28px text-indent on top pushed the text 72px in. The room for the icon is now the padding only (44px, as the homepage), at every width. */
html.d2f-faf #main #yellowFuzzySearch { flex: none; width: 100% !important; height: 48px !important; min-height: 0 !important; margin: 0 !important; padding-left: 44px !important; text-indent: 0; border: 2px solid transparent !important; border-radius: 8px !important; box-shadow: none !important; outline: none !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262637' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px 50% / 20px 20px !important; font-size: 16px !important; color: #23233d !important; }
html.d2f-faf #main #yellowFuzzySearch:focus { border-color: #23233d !important; }
html.d2f-faf #main #yellowFuzzySearch::placeholder { color: #4f5064; opacity: 1; }
@media (min-width: 601px) {
  html.d2f-faf #main > .wrapper-alt { padding-top: 24px !important; }
  html.d2f-faf #main .where-sending .country-content { flex-direction: row !important; }
  html.d2f-faf #main .where-sending .checkout-middle-country { flex: 0 0 38%; }
  html.d2f-faf #main #yellowFuzzySearch { flex: 1 1 auto; width: auto !important; }
}
@media (min-width: 901px) {
  html.d2f-faf #main .where-sending-banner { padding: 18px 22px !important; border-radius: 8px !important; }
  html.d2f-faf #main .where-sending { flex-direction: row !important; align-items: center !important; gap: 16px !important; }
  html.d2f-faf #main .where-sending-title { flex: none; margin: 0 !important; font-size: 18px !important; text-align: left !important; }
  html.d2f-faf #main .where-sending .country-content { flex: 1 1 auto; }
  html.d2f-faf #main .where-sending .checkout-middle-country { flex: 0 0 280px; height: 48px !important; }
  html.d2f-faf #main #yellowFuzzySearch { height: 48px !important; } /* 4 Nov: 48px at every width, as the top bar search (sections/search-field-a26.twig) */
  html.d2f-faf #main .where-sending .country-dropdown-c { top: 64px !important; }
}

/* ---------- Results ---------- */
html.d2f-faf .faf-header { display: flex !important; align-items: flex-end !important; justify-content: space-between; gap: 16px; margin: 0 0 16px !important; padding: 0 !important; }
html.d2f-faf .faf-header .faf-head__text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
html.d2f-faf .faf-title { margin: 0 !important; }
html.d2f-faf .faf-count { font-size: 16px !important; color: #4f5064; }
html.d2f-faf .faf-list-card__name { font-size: 17.6px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #23233d !important; }
html.d2f-faf .faf-list-card__town, html.d2f-faf .faf-list-card__reviews { font-size: 16px !important; line-height: 1.4 !important; color: #4f5064 !important; }
html.d2f-faf .faf-list-card__score { font-size: 16px !important; font-weight: 600; color: #23233d !important; }
html.d2f-faf .faf-list-card__rating { display: flex !important; align-items: center; flex-wrap: wrap; gap: 4px 6px !important; }
html.d2f-faf .faf-list-card .find-florist-sm-card { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px !important; border-radius: 22px !important; font-size: 14px !important; font-weight: 600 !important; white-space: nowrap; }
html.d2f-faf .faf-list-card .find-florist-sm-card::after { content: "→"; font-weight: 600; }

/* ---------- Top searches: no yellow on the numbers (yellow is for things you tap) ---------- */
html.d2f-faf .top-search-grid li::marker { color: #6b6c80; }

/* ---------- Reviews: pink cards like the homepage's, four lines then "Read more" ---------- */
html.d2f-faf .faf-reviews-sec .d2f-review-hub__right { display: block !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
html.d2f-faf .faf-reviews-sec .d2f-review-hub__trust, html.d2f-faf .faf-reviews-sec .d2f-review-hub__actions { display: none !important; }
html.d2f-faf .faf-rtrack .d2f-review-card { display: flex !important; flex-direction: column; align-items: center; justify-content: center; margin: 0 !important; padding: 26px 20px !important; background: #fceaf4 !important; border: 0 !important; border-radius: 16px !important; box-shadow: none !important; text-align: center; color: #4f5064; }
html.d2f-faf .faf-rtrack .d2f-review-card .stars { justify-content: center; gap: 2px; margin: 0 0 12px !important; }
/* four lines (the legacy sheet forces display, so line-clamp can't be used; a height cap does the same job) */
html.d2f-faf .faf-rtrack .review-text { max-height: calc(4 * 1.3em); overflow: hidden; margin: 0 0 12px !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #23233d !important; }
html.d2f-faf .faf-rtrack .customer-name { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #535369 !important; }
html.d2f-faf .faf-rtrack .customer-via { margin: 0 !important; font-size: 16px !important; line-height: 1.5; color: #535369 !important; }
html.d2f-faf .faf-rtrack .customer-via a { color: inherit !important; }
html.d2f-faf .faf-rtrack .customer-via .date { display: none; }
html.d2f-faf .faf-rmore { min-height: 44px; margin: -6px 0 2px; padding: 0 8px; border: 0; background: none; color: #23233d; font: inherit; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Shelves (florists, Just Delivered): native scroll, no scrollbar, snap ---------- */
html.d2f-faf .faf-shelf { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; gap: 12px !important; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; transform: none !important; box-sizing: border-box; }
html.d2f-faf .faf-shelf::-webkit-scrollbar { display: none; }
html.d2f-faf .faf-shelf > * { scroll-snap-align: start; }

/* ---------- Meet our florists: square photos, names under ---------- */
html.d2f-faf .florist-people-intro { display: none !important; }   /* moved under the heading by faf.js; this hides the old spot */
html.d2f-faf .florist-people-swiper { overflow: visible !important; padding: 0 !important; }
html.d2f-faf .florist-person { width: auto !important; margin: 0 !important; text-decoration: none !important; }
html.d2f-faf .florist-person__image { margin: 0 !important; aspect-ratio: 1; height: auto !important; border-radius: 16px; overflow: hidden; }
html.d2f-faf .florist-person__image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; display: block; }
html.d2f-faf .florist-person__content { padding: 8px 2px 0 !important; }
html.d2f-faf .florist-person__content h3 { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #23233d !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.d2f-faf .florist-person__content p { margin: 0 !important; font-size: 16px !important; color: #4f5064 !important; }

/* ---------- Just Delivered: the homepage's pink panel; the shelf runs to the panel's edge and the panel clips it ---------- */
html.d2f-faf .faf-jd-sec .jd-showcase { margin: 0 !important; overflow: hidden; background: #fdeef2 !important; border-radius: 24px !important; }
html.d2f-faf .faf-jd-sec .jd-showcase__footer { display: none !important; }
html.d2f-faf .faf-jd-sec .jd-card { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; text-align: left; cursor: pointer; }
/* 6 Nov: on A the cards are links to the florist's shop (not the old postcode pop-up) */
html.d2f-faf .faf-jd-sec a.jd-card { text-decoration: none; }
html.d2f-faf .faf-jd-sec a.jd-card:hover .title { text-decoration: underline; }
html.d2f-faf .faf-jd-sec a.jd-card:focus-visible { outline: 3px solid #23233d; outline-offset: -3px; border-radius: 12px; }
html.d2f-faf .faf-jd-sec .tile-large-white-img { position: relative; margin: 0 !important; aspect-ratio: 1; height: auto !important; border-radius: 12px; overflow: hidden; }
html.d2f-faf .faf-jd-sec .tile-large-white-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; display: block; }
html.d2f-faf .faf-jd-sec .tile-large-white-text { padding: 8px 2px 0 !important; margin: 0 !important; }
html.d2f-faf .faf-jd-sec .tile-large-white-text .p-style { margin: 0 !important; font-size: 16px !important; line-height: 1.4 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.d2f-faf .faf-jd-sec .tile-large-white-text .title { font-weight: 600 !important; color: #23233d !important; }
html.d2f-faf .faf-jd-sec .tile-large-white-text .price { font-weight: 400 !important; color: #4f5064 !important; }

/* ---------- About: no dots under the photo (the boss dislikes them); the photos still change on their own ---------- */
html.d2f-faf .feature-hero__dots { display: none !important; }


/* The results list is a shelf whenever the map is hidden (phones and tablet portrait) */
@media (max-width: 900px) {
  html.d2f-faf .faf-list { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; gap: 12px; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
  html.d2f-faf .faf-list::-webkit-scrollbar { display: none; }
  html.d2f-faf .faf-list > * { scroll-snap-align: start; }
}

/* =================== Phones (up to 600px) =================== */
@media (max-width: 600px) {
  html.d2f-faf { overflow-x: hidden; }
  html.d2f-faf body { overflow-x: clip; }
  html.d2f-faf #main .wrapper-content { padding-left: 16px !important; padding-right: 16px !important; }

  /* 48px between sections */
  html.d2f-faf #main > .find-a-florist-hero-new-section { margin-top: 24px !important; padding-bottom: 28px !important; }   /* the legacy sheet pins the next section's top margin at 20px (!important in a layer, which beats us); this adds the other 28 */
  html.d2f-faf #main > .faf-reviews-sec, html.d2f-faf #main > .d2f-florist-gallery, html.d2f-faf #main > .faf-jd-sec, html.d2f-faf #main > .faf-acc-list { margin-top: 48px !important; }
  html.d2f-faf #main > .florist-info-tabs-section, html.d2f-faf #main > .tab-panel { display: none !important; }
  html.d2f-faf body .gutter > .wrapper { padding-bottom: 48px !important; }

  /* headings stack, 16px to their content; arrows are for mice, phones swipe */
  html.d2f-faf .faf-head { display: block; margin-bottom: 16px !important; }
  html.d2f-faf .faf-head__aside { display: block; margin-top: 4px; }
  html.d2f-faf .faf-head p { display: none !important; }   /* no description lines on phones */
  html.d2f-faf .faf-head .d2f-rail-nav { display: none !important; }
  html.d2f-faf .faf-header { display: block !important; }
  html.d2f-faf .faf-header .faf-head__text { display: block; }
  html.d2f-faf .faf-count { display: block; margin-top: 4px; }

  /* results: a shelf of florist cards like the homepage's */
  html.d2f-faf .faf-layout { display: block !important; margin: 0 !important; padding: 0 !important; }
  html.d2f-faf .faf-map-wrapper { display: none !important; }
  html.d2f-faf .faf-list { grid-auto-columns: 64%; max-height: none !important; margin: 0 -16px !important; padding: 0 16px 2px !important; scroll-padding: 0 16px; background: none !important; border-radius: 0 !important; }
  html.d2f-faf .faf-list-card { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; background: #fff !important; border: 1px solid #e6e7ea !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(35, 35, 61, .06) !important; }
  html.d2f-faf .faf-list-card__img { width: 100% !important; height: 160px !important; max-width: none !important; margin: 0 !important; object-fit: cover; border-radius: 0 !important; display: block; }
  html.d2f-faf .faf-list-card__info { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 14px 16px !important; min-width: 0; }
  html.d2f-faf .faf-list-card__info > * { margin: 0 !important; }
  html.d2f-faf .faf-list-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.d2f-faf .faf-list-card__stars img { width: 15px !important; height: 15px !important; }
  html.d2f-faf .faf-list-card .find-a-florist-btn { margin-top: auto !important; padding-top: 10px; }
  /* fade at the screen edge says "more this way"; gone once you reach the end */
  html.d2f-faf .faf-list, html.d2f-faf .florist-people-swiper { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
  html.d2f-faf .faf-list.at-end, html.d2f-faf .florist-people-swiper.at-end { -webkit-mask-image: none; mask-image: none; }

  /* top searches: tappable town rows in two columns, no floating card */
  html.d2f-faf .trio-modern { display: block !important; margin: 0 !important; padding: 0 !important; }
  html.d2f-faf .trio-searches { margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
  html.d2f-faf .trio-searches h2 { margin: 0 0 16px !important; padding: 0 !important; font-size: var(--d2f-fs-h2, 1.45rem) !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.02em; color: #23233d !important; }
  html.d2f-faf .top-search-grid { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  html.d2f-faf .top-search-grid ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html.d2f-faf .top-search-grid li { margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #ececf0; }
  html.d2f-faf .top-search-grid li::marker { content: none; }
  html.d2f-faf .top-search-grid li::before { display: none !important; }
  html.d2f-faf .top-search-grid li a { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; font-size: 16px !important; font-weight: 500; color: #23233d !important; text-decoration: none !important; }
  html.d2f-faf .top-search-grid li a::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid #23233d; border-top: 2px solid #23233d; transform: rotate(45deg); margin-right: 4px; }

  /* reviews swipe, the next one peeks in */
  html.d2f-faf .faf-rtrack { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  html.d2f-faf .faf-rtrack::-webkit-scrollbar { display: none; }
  html.d2f-faf .faf-rtrack .d2f-review-card { scroll-snap-align: start; }
  html.d2f-faf .faf-rtrack .d2f-review-card .d2f-star { width: 18px !important; height: 18px !important; }

  /* florists: one and a half cards, to the screen edge */
  html.d2f-faf .florist-people-swiper { margin: 0 -16px !important; }
  html.d2f-faf .florist-people-swiper .swiper-wrapper { grid-auto-columns: 64%; padding: 0 16px; scroll-padding: 0 16px; }

  /* Just Delivered: slim panel, badges off */
  html.d2f-faf .faf-jd-sec .jd-showcase { padding: 24px 16px !important; }
  html.d2f-faf .faf-jd-sec .jd-showcase__grid { grid-auto-columns: 58%; gap: 10px !important; margin: 0 -16px !important; padding: 0 16px 2px !important; scroll-padding: 0 16px; }
  html.d2f-faf .faf-jd-sec .tile-large-white-img .tabs { display: none !important; }

  /* about: the five tabs become tap-to-open rows */
  html.d2f-faf .faf-acc-list { border-top: 1px solid #ececf0; margin-left: 16px !important; margin-right: 16px !important; }
  html.d2f-faf .faf-acc { border-bottom: 1px solid #ececf0; }
  html.d2f-faf .faf-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; cursor: pointer; }
  html.d2f-faf .faf-acc > summary::-webkit-details-marker { display: none; }
  html.d2f-faf .faf-acc > summary h2 { margin: 0 !important; font-size: 17px !important; font-weight: 500 !important; line-height: 1.3; color: #23233d !important; }
  html.d2f-faf .faf-acc > summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid #23233d; border-bottom: 2px solid #23233d; transform: rotate(45deg); margin: -6px 6px 0 0; transition: transform .2s; }
  html.d2f-faf .faf-acc[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
  html.d2f-faf .faf-acc[open] { padding-bottom: 24px; }
  html.d2f-faf .faf-acc .tab-panel { display: block !important; margin: 0 !important; padding: 0 !important; }
  html.d2f-faf #main .faf-acc .tab-panel .wrapper-content { padding: 0 !important; }
  html.d2f-faf .faf-acc .panel-inner, html.d2f-faf .faf-acc .panel-grid { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
  html.d2f-faf .faf-acc .faf-acc-dup { display: none !important; }
  html.d2f-faf .faf-acc .panel-copy h3, html.d2f-faf .faf-acc .tab-panel h3 { margin: 20px 0 8px !important; font-size: 17.6px !important; }
  html.d2f-faf .faf-acc .tab-panel p, html.d2f-faf .faf-acc .tab-panel li { font-size: 16px !important; }
  html.d2f-faf .faf-acc .tab-panel img { max-width: 100%; height: auto; border-radius: 16px; }
}

/* Phones on their side (568-600px wide, short screen): more, smaller cards so a square photo never fills the screen */
@media (max-width: 600px) and (orientation: landscape) {
  html.d2f-faf .faf-list, html.d2f-faf .florist-people-swiper .swiper-wrapper { grid-auto-columns: 40%; }
  html.d2f-faf .faf-jd-sec .jd-showcase__grid { grid-auto-columns: 34%; }
  html.d2f-faf .faf-rtrack { grid-auto-columns: 60%; }
  html.d2f-faf .faf-list-card__img { height: 130px !important; }
}


/* =================== Tablet and desktop (601px and up) =================== */
@media (min-width: 601px) {
  /* 72px between sections, like the homepage */
  html.d2f-faf #main > .find-a-florist-hero-new-section { margin-top: 32px !important; padding-bottom: 52px !important; }   /* + the legacy 20px top margin on the next section = 72 */
  html.d2f-faf #main > .faf-reviews-sec, html.d2f-faf #main > .d2f-florist-gallery, html.d2f-faf #main > .faf-jd-sec, html.d2f-faf #main > .florist-info-tabs-section { margin-top: 72px !important; }
  html.d2f-faf #main > .tab-panel { margin-top: 0 !important; }
  html.d2f-faf body .gutter > .wrapper { padding-bottom: 72px !important; }


  /* results with the map: the selected florist is outlined in navy, not yellow; no text under 16px */
  html.d2f-faf .faf-header { margin-bottom: 24px !important; }
  html.d2f-faf .faf-list-card--active { border-color: #23233d !important; box-shadow: none !important; }
  html.d2f-faf .faf-list-card__img { width: 72px !important; height: 72px !important; object-fit: cover; }
  html.d2f-faf .faf-detail-card__hero img:not(.faf-detail-card__badge), html.d2f-faf .faf-detail-card__thumbs img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
  html.d2f-faf .faf-detail-card__thumbs img { min-height: 0; flex: 1 1 0; }
  html.d2f-faf .faf-detail-card__name { color: #23233d !important; font-size: 19px !important; }
  html.d2f-faf .faf-detail-card__town, html.d2f-faf .faf-detail-card__reviews, html.d2f-faf .faf-detail-card__desc { font-size: 16px !important; color: #4f5064 !important; }
  html.d2f-faf .faf-detail-card__score { font-size: 16px !important; color: #23233d !important; }

  /* top searches: numbers in grey, yellow is for things you tap */
  html.d2f-faf .top-search-grid li::before { color: #6b6c80 !important; }

  /* reviews: three pink cards side by side */
  html.d2f-faf .faf-rtrack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  /* florists: three, four or five across with arrows */
  html.d2f-faf .florist-people-swiper { margin: 0 !important; }
  html.d2f-faf .florist-people-swiper .swiper-wrapper { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px !important; }

  /* Just Delivered: the homepage's panel */
  html.d2f-faf .faf-jd-sec .jd-showcase { padding: 40px 32px !important; }
  html.d2f-faf .faf-jd-sec .jd-showcase__grid { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px !important; margin: 0 -32px !important; padding: 0 32px 2px !important; scroll-padding: 0 32px; }
  html.d2f-faf .faf-jd-sec .tile-large-white-img .tabs { top: 12px !important; left: 12px !important; font-size: 14px !important; }
}

/* Tablet portrait (no map): the results become the same shelf as on phones, three cards with arrows */
@media (min-width: 601px) and (max-width: 900px) {
  html.d2f-faf .faf-header { flex-direction: row !important; align-items: flex-end !important; }
  html.d2f-faf .faf-header .faf-head__text { flex: 1 1 auto; }
  html.d2f-faf .faf-layout { display: block !important; height: auto !important; }
  html.d2f-faf .faf-list { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px !important; max-height: none !important; margin: 0 !important; padding: 0 0 2px !important; background: none !important; border-radius: 0 !important; }
  html.d2f-faf .faf-list-card { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; background: #fff !important; border: 1px solid #e6e7ea !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(35, 35, 61, .06) !important; }
  html.d2f-faf .faf-list-card--active { border-color: #e6e7ea !important; }
  html.d2f-faf .faf-list-card__img { width: 100% !important; height: 160px !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; display: block; }
  html.d2f-faf .faf-list-card__info { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 14px 16px !important; min-width: 0; }
  html.d2f-faf .faf-list-card__info > * { margin: 0 !important; }
  html.d2f-faf .faf-list-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.d2f-faf .faf-list-card .find-a-florist-btn { margin-top: auto !important; padding-top: 10px; }
  /* reviews: two and a bit, so three never squeeze into a narrow tablet */
  html.d2f-faf .faf-rtrack { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2.2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  html.d2f-faf .faf-rtrack::-webkit-scrollbar { display: none; }
  html.d2f-faf .faf-rtrack .d2f-review-card { scroll-snap-align: start; }
}
@media (min-width: 901px) {
  html.d2f-faf .faf-header .d2f-rail-nav { display: none !important; }
  html.d2f-faf .faf-layout { grid-template-columns: 360px 1fr !important; }
  html.d2f-faf .faf-list-card__info { min-width: 0; }
  html.d2f-faf .faf-list-card .find-florist-sm-card { padding: 0 16px !important; }
  html.d2f-faf .faf-list-card .find-florist-sm-card::after { content: none; }
}
@media (min-width: 1024px) {
  html.d2f-faf .florist-people-swiper .swiper-wrapper, html.d2f-faf .faf-jd-sec .jd-showcase__grid { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (min-width: 1280px) {
  html.d2f-faf .florist-people-swiper .swiper-wrapper { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}

/* =================== Shared pill, card and tile tokens (16 Oct 2026, all pages): cards light grey #f7f7f8 with a 16px radius (pills stay #f2f2f2),
   tiles white with a 10px radius, selected = navy. Values come from d2f-country.css (--d2f-card-*, --d2f-tile-*, --d2f-pill-*). =================== */
/* the three cards under the results (tablet and desktop; on phones the towns are plain rows) */
@media (min-width: 601px) { html.d2f-faf .trio-card { background: var(--d2f-card-bg, #f7f7f8) !important; border: 0 !important; border-radius: var(--d2f-card-r, 16px) !important; box-shadow: none !important; } }
html.d2f-faf .trio-trust .trust-image, html.d2f-faf .trio-trust .trust-image > * { border-radius: var(--d2f-tile-r, 10px) !important; }
/* map view: the list is a grey card, each florist a white tile, the selected one outlined in navy */
@media (min-width: 901px) {
  html.d2f-faf .faf-layout { background: var(--d2f-card-bg, #f7f7f8) !important; border-radius: var(--d2f-card-r, 16px) !important; }
  html.d2f-faf .faf-list { background: var(--d2f-card-bg, #f7f7f8) !important; border: 0 !important; }
  html.d2f-faf .faf-list-card { background: var(--d2f-tile-bg, #fff) !important; border: 1.5px solid transparent !important; border-radius: var(--d2f-tile-r, 10px) !important; box-shadow: none !important; }
  html.d2f-faf .faf-list-card--active { border-color: var(--d2f-pill-on-bg, #23233d) !important; }
  html.d2f-faf .faf-detail-card { border-radius: var(--d2f-card-r, 16px) !important; }
}
/* phones and tablet portrait: each florist is a card in the shelf */
@media (max-width: 900px) {
  html.d2f-faf .faf-list-card, html.d2f-faf .faf-list-card--active { background: var(--d2f-card-bg, #f7f7f8) !important; border: 0 !important; border-radius: var(--d2f-card-r, 16px) !important; box-shadow: none !important; }
}
/* review cards keep the homepage's pink, on the card radius */
html.d2f-faf .faf-rtrack .d2f-review-card { border-radius: var(--d2f-card-r, 16px) !important; }

/* The whole review in a sheet from the bottom (phones) or a centred box (bigger screens), same as the homepage */
.d2f-qsheet { width: 100%; max-width: 560px; max-height: 80vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: #fff; color: #23233d; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); font-family: "Rethink Sans", system-ui, sans-serif; }
.d2f-qsheet::backdrop { background: rgba(35, 35, 61, .45); }
.d2f-qsheet[open] { animation: d2f-qsheet-up .25s ease-out; }
@keyframes d2f-qsheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.d2f-qsheet__in { position: relative; padding: 28px 22px 26px; }
.d2f-qsheet__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; color: #23233d; font-size: 28px; line-height: 1; cursor: pointer; }
.d2f-qsheet__body { max-height: calc(80vh - 60px); overflow-y: auto; }
.d2f-qsheet__body .stars { display: flex; gap: 2px; margin: 0 0 10px; }
.d2f-qsheet__body .stars img { width: 18px; height: 18px; }
.d2f-qsheet__text { margin: 0 0 14px; font-size: 17px; line-height: 1.6; }
.d2f-qsheet cite { font-style: normal; color: #4f5064; font-size: 16px; }
.d2f-qsheet cite a { color: inherit; }
@media (min-width: 768px) { .d2f-qsheet { margin: auto; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .d2f-qsheet[open] { animation: none; } }

/* ---------- 2 Nov 2026 (Nilesh): reviews one section lower (after Meet our florists), info tabs as the homepage's pill tabs
   (d2f-country.css .d2f-tabs__list), trio as white shadow cards. (style.min.css forces gap:0 on the tab row, so the 8px between pills is a margin.) Backup: faf.css.bak-2026-11-02-reviews-tabs-trio ---------- */
html.d2f-faf #main > .d2f-florist-gallery { order: 4; }
html.d2f-faf #main > .faf-reviews-sec { order: 5; }
@media (min-width: 601px) {
  html.d2f-faf .trio-card { background: #fff !important; box-shadow: var(--d2f-shadow-card, 0 1px 2px rgba(31, 32, 41, .04), 0 8px 24px rgba(31, 32, 41, .06)) !important; border-radius: var(--d2f-card-r, 16px) !important; }
  html.d2f-faf #main .florist-info-tabs-section .florist-info-tabs-section-content { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0 !important; margin: 4px 0 24px !important; padding: 2px 0 4px !important; border: 0 !important; box-shadow: none !important; }
  html.d2f-faf .florist-info-tabs-section .switch-tab { position: relative; min-height: 44px; margin: 0 8px 8px 0 !important; padding: 0 16px !important; border: 1px solid #e8e6e2 !important; border-radius: 999px !important; background: #fff !important; color: var(--d2f-text, #4f5064) !important; font: inherit; font-size: 1rem !important; font-weight: var(--d2f-w-semibold, 600) !important; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
  html.d2f-faf .florist-info-tabs-section .switch-tab::before, html.d2f-faf .florist-info-tabs-section .switch-tab::after { display: none !important; }
  html.d2f-faf .florist-info-tabs-section .switch-tab:hover { background: #faf9f7 !important; border-color: var(--d2f-heading, #23233d) !important; color: var(--d2f-heading, #23233d) !important; }
  html.d2f-faf .florist-info-tabs-section .switch-tab.is--active { border-color: #ee88a2 !important; background: #fdeef2 !important; color: var(--d2f-heading, #23233d) !important; }
  html.d2f-faf .florist-info-tabs-section .switch-tab:focus-visible { outline: 2.5px solid rgba(35, 35, 61, .32); outline-offset: 2px; }
  html.d2f-faf #main > .tab-panel .panel-inner { border: 0 !important; padding: 0 !important; }
}

/* 2 Nov 2026 (Nilesh: "just delivered at bottom"): Just Delivered last, after the info tabs. Backup: faf.css.bak-2026-11-02-jd-bottom */
html.d2f-faf #main > .faf-jd-sec { order: 9; }

/* 2 Nov 2026 (Nilesh: "feels a big gap?"): less space between the yellow search and the breadcrumb (was ~84px on desktop, now ~32px). Backup: faf.css.bak-2026-11-02-topgap */
html.d2f-faf #main > .find-a-florist-hero-new-section .fafm-top { margin-top: 0 !important; }
@media (min-width: 601px) { html.d2f-faf #main > .find-a-florist-hero-new-section { margin-top: 20px !important; } }

/* 2 Nov 2026 (Nilesh): reviews block = the occasion pages' "What Our Customers Say" (section.faf-revs26 in index.html, styles from d2f-country.css). Old Recent Reviews hidden. Backup: faf.css.bak-2026-11-02-revs26 */
html.d2f-faf #main > .faf-reviews-sec { display: none !important; }
html.d2f-faf #main > .faf-revs26 { order: 5; margin-top: 48px !important; }
@media (min-width: 601px) { html.d2f-faf #main > .faf-revs26 { margin-top: 72px !important; } }

/* 2 Nov 2026 (Nilesh: "make sure pink shop names accessible"). Shop names in the map list are 18px semibold, so they need 4.5:1.
   #d0607e was 3.71:1 on white (3.44:1 on the hover/selected grey). Now #b8496a (the town results' own hover pink) 5.0:1 / 4.63:1;
   hover, selected and focus go to #9a2d4a 7.37:1 / 6.83:1 with an underline. Backup: faf.css.bak-2026-11-02-pinknames */
html.d2f-faf .fafm .fafm-row__name a { color: #b8496a; }
html.d2f-faf .fafm .fafm-row__name a:hover, html.d2f-faf .fafm .fafm-row__name a:focus-visible, html.d2f-faf .fafm .fafm-row.is-sel .fafm-row__name a { color: #9a2d4a; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* 2 Nov 2026 15:55 (Nilesh "line under read more a bit weird"): the flex link underlined the text and the arrow as two separate lines with a gap.
   Now one clean underline under the words only; arrow sits beside it, same hover nudge. Backup: faf.css.bak-2026-11-02-readmore */
html.d2f-faf .faf-revs26 .d2f-section__head .d2f-more { display: inline-block; width: fit-content; white-space: nowrap; }
html.d2f-faf .faf-revs26 .d2f-section__head .d2f-more::after { display: inline-block; margin-left: 6px; text-decoration: none; }
