summary:focus-visible,
[role=button]:not(button):focus-visible,
[role=region][tabindex]:focus-visible,
.select-occasion-btn:focus-visible,
.card-change-btn:focus-visible,
.req-btn:focus-visible,
.filter-btn:focus-visible,
.filter-dropdown:focus-visible,
#cont-to-basket:focus-visible,
#must-pick-florist:focus-visible {
  outline: 3px solid #23233d !important;
  outline-offset: 2px;
}

summary:focus-visible {
  border-radius: 4px;
}

.breadcrumbs a:focus-visible:not(#a26-x),
a.breadcrumb:focus-visible:not(#a26-x),
a.home:focus-visible:not(#a26-x),
nav[aria-label=Breadcrumb] a:focus-visible {
  outline: 3px solid #23233d !important;
  outline-offset: 2px;
  border-radius: 4px;
}

input#yellowFuzzySearch#yellowFuzzySearch#yellowFuzzySearch:focus-visible {
  outline: 3px solid #23233d !important;
  outline-offset: 2px;
}

.a26-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100000;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  color: #23233d;
  font-weight: 600;
  text-decoration: underline;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.a26-skip:focus {
  top: 12px;
  outline: 3px solid #23233d;
  outline-offset: 2px;
}

main[tabindex="-1"]:focus {
  outline: none;
}

.select-occasion-dropdown:not(.is--active),
.filter-dropdown-container:not(.is--active) {
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s !important;
}

.select-occasion-dropdown.is--active,
.filter-dropdown-container.is--active {
  visibility: visible;
}

.footer-bottom-links,
.footer .footer-bottom-links,
footer .footer-bottom-links {
  color: #5c5d77 !important;
}

.tw-chip--season:not([aria-pressed=true]) {
  color: #93500f;
}

.tw-sr {
  left: 0;
  top: 0;
  clip-path: inset(50%);
}

.flag-overlay a,
.flag-overlay-with-areas a,
.country-dropdown-d a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}

:is(html.pdp26, html.a26) .pdp26-qdw {
  max-width: 100%;
  min-width: 0;
}

:is(html.pdp26, html.a26) .pdp26-qd {
  max-width: 100%;
  height: auto;
  white-space: normal;
  flex-wrap: wrap;
  text-align: left;
}

/* Map credit line (5 Nov 2026, Nilesh: make it less noticeable). Every A map (town/search florists map, shop page, Find a florist
   coverage): smaller and on a lighter strip, but still visible with its links, as the OpenStreetMap and Stadia licences require.
   The text keeps 4.5:1 contrast (#5c5c6e on white) so it still passes WCAG. */
html[data-journey=a] .leaflet-container .leaflet-control-attribution {
  font-size: 9px !important;
  line-height: 1.3 !important;
  padding: 0 4px !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.6) !important;
  color: #5c5c6e !important;
  border-radius: 4px 0 0 0;
}

html[data-journey=a] .leaflet-container .leaflet-control-attribution a {
  color: #5c5c6e !important;
  text-decoration: none !important;
}

html[data-journey=a] .leaflet-container .leaflet-control-attribution a:hover,
html[data-journey=a] .leaflet-container .leaflet-control-attribution a:focus-visible {
  text-decoration: underline !important;
}

html[data-journey=a] .leaflet-container .leaflet-control-attribution svg {
  display: none !important;
} /* Leaflet's little flag */
/* 5 Nov (Nilesh: "mobile footer accordion links way too small"): phones, journey A only (this file never loads on B).
   Links 16px / 1.5 with a 44px tap row and 4px between rows; the accordion headings at least 44px, 16px / 600. Colours unchanged. */
@media (max-width: 767px) {
  html[data-journey=a] .footer-nav-menu-section .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  html[data-journey=a] .footer-nav-menu-section .footer-menu .footer-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
  }
  html[data-journey=a] .footer-nav-menu-section .col-title {
    min-height: 44px;
  }
  html[data-journey=a] .footer-nav-menu-section .col-title .footer-nav-title {
    font-size: 1rem;
    font-weight: 600;
  }
}
/* 6 Nov (Nilesh, iPhone: "prod page left gap on li weird"): the occasion list rows (product page, and the card-message
   pop-up) began with a checkbox that the theme reset makes invisible (input { -webkit-appearance: none }) but still
   ~16px wide plus a space, so every name sat ~21px further in than the "Select an Occasion" button text above it.
   Journey A only: the checkbox is kept for screen readers and keyboard but takes no room, the label fills the row
   (whole row tappable, 52px tall) and the text lines up with the button text. Keyboard focus (not a tap) shows a ring on the row. */
html[data-journey=a] .select-occ-row,
html[data-journey=a] .occasion-row {
  position: relative;
  padding: 0 !important;
}

html[data-journey=a] .select-occ-row input,
html[data-journey=a] .occasion-row input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

html[data-journey=a] .select-occ-row label,
html[data-journey=a] .occasion-row label {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  box-sizing: border-box;
  line-height: 1.5;
  cursor: pointer;
}

html[data-journey=a] .select-occ-row:has(input:focus-visible),
html[data-journey=a] .occasion-row:has(input:focus-visible) {
  outline: 3px solid #23233d;
  outline-offset: -3px;
}

/* Just Delivered cards (6 Nov): the whole card links to the florist's shop through an empty .d2f-jd__shop link laid over it.
   The ring is drawn inside the card so the scroll rail can't clip it; hover underlines the florist name. */
.d2f-jd__item .d2f-jd__shop:focus-visible {
  outline: 3px solid #23233d !important;
  outline-offset: -3px;
}

.d2f-jd__item:has(.d2f-jd__shop:hover) figcaption strong {
  text-decoration: underline;
}
