/* Phones (2026-10-11): one denser scale for shinywash.co.uk, clean.shinywash.co.uk and the Control Panel - a smaller header,
   type, buttons, fields and cards and tighter spacing, so a page reads like an app instead of a poster. Loaded last on every page.
   Text fields stay at 16px: below that an iPhone zooms the whole page in as soon as a field is tapped. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* two layout slips that show on every screen size: a story's header took the site header's flex row, and the link under a
   carousel ("Read more Google reviews") sat against the left edge of the window */
.public-site .blog-head { display: block; border-bottom: 0; }
.public-site .carousel-section > .text-link { margin-left: max(22px, calc((100vw - 1184px) / 2)); }
/* Control Panel menu as a column (tablets and phones): the search box keeps its own height - "flex: 1 1 200px" from cp.css
   was meant for a row and made it 200px tall here */
@media (max-width: 1000px) {
  .cp-tools .cp-search { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  /* ---------------------------------------------------------------- public site: header and menu */
  .site-header { min-height: 0; padding: 8px 16px; gap: 12px; }
  .site-header .logo-img { height: 44px; }
  .menu-ready .mobile-menu-toggle { width: 40px; height: 40px; min-height: 40px; gap: 4px; border-radius: 12px; }
  .mobile-menu-toggle span { width: 18px; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { padding: 16px; border-radius: 20px; width: min(88vw, 340px); }
  .mobile-menu-heading { padding-bottom: 10px; margin-bottom: 12px; font-size: 11px; }
  .mobile-menu-close { width: 36px; min-height: 36px; font-size: 22px; border-radius: 10px; }
  .mobile-menu nav { gap: 6px; }
  .mobile-menu nav a { min-height: 42px; padding: 9px 12px; font-size: 14px; border-radius: 12px; }

  /* ---------------------------------------------------------------- public site and Shiny Clean: type and spacing */
  .public-site, .clean-site { font-size: 14px; line-height: 1.6; }
  .public-site section, .clean-site section { padding: 30px 16px; scroll-margin-top: 64px; }
  .public-site h2, .clean-site h2 { font-size: 25px; line-height: 1.12; margin: 8px 0 14px; }
  .public-site h3, .clean-site h3 { font-size: 17px; line-height: 1.3; }
  .public-site .page-title, .public-site section:not(.hero) h1, .clean-site .page-title { font-size: 31px; line-height: 1.1; margin: 10px 0 14px; }
  .public-site .large, .public-site .narrow > .large, .public-site .split .large, .clean-site .large { font-size: 16.5px; line-height: 1.5; }
  .public-site p, .clean-site p { font-size: 14px; }
  .public-site .eyebrow, .clean-site .eyebrow { font-size: 9.5px; letter-spacing: .15em; }
  .public-site .section-heading, .clean-site .section-heading { margin-bottom: 16px; }
  .public-site .section-heading p, .clean-site .section-heading p { font-size: 13px; margin-top: 8px; }
  .public-site .text-link, .clean-site .text-link { margin-top: 8px; padding: 6px 0; font-size: 13px; }
  .public-site address { font-size: 16px; }
  .public-site .split, .clean-site .split { gap: 14px; }

  /* home hero */
  .public-site .hero { min-height: 470px; }
  .public-site .hero-content { padding: 72px 16px 14px; }
  .public-site .hero h1 { font-size: clamp(36px, 11vw, 44px); margin: 10px 0 14px; }
  .public-site .hero-bottom p { font-size: 13.5px; }
  .public-site .hero-bottom .button { margin-top: 14px; }
  .public-site .hero-bottom { padding-bottom: 18px; }
  .public-site .hero-line { padding: 11px 0; }

  /* buttons and fields */
  .public-site main .button, .public-site main form button:not([type=button]), .clean-site main .button, .clean-site main form button:not([type=button]),
  .clean-site .hero-actions .button {
    min-height: 40px; padding: 9px 16px; font-size: 13px; border-radius: 9px; gap: 10px;
  }
  .public-site main .button.small, .clean-site main .button.small { min-height: 36px; padding: 8px 13px; font-size: 12px; gap: 8px; }
  .public-site main input:not([type=checkbox]):not([type=radio]), .public-site main select, .public-site main textarea,
  .clean-site main input:not([type=checkbox]):not([type=radio]), .clean-site main select, .clean-site main textarea {
    min-height: 42px; padding: 8px 12px; font-size: 16px; margin-top: 5px; border-radius: 8px;
  }
  .public-site main label, .clean-site main label { font-size: 12px; margin-bottom: 12px; }
  .public-site .form-grid, .clean-site .form-grid { gap: 0 10px; }
  /* short fields share a row (names, vehicle, rooms); everything else takes the full width */
  .public-site main .form-grid, .clean-site main .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-site main .form-grid > *, .clean-site main .form-grid > * { grid-column: 1 / -1; }
  .public-site main .form-grid > label:has(> :is(input, select)[name=first_name], > :is(input, select)[name=last_name], > input[name=registration_raw], > input[name=vehicle_make],
      > input[name=vehicle_model], > input[name=vehicle_colour], > input[name=quantity]),
  .clean-site main .form-grid > label:has(> select[name=property_type], > select[name=rooms], > select[name=bathrooms], > select[name=kitchens],
      > select[name=fridges], > select[name=oven], > select[name=carpet], > select[name=linen], > input[name=phone], > input[name=postcode]) {
    grid-column: auto;
  }
  .public-site .check, .clean-site .check { gap: 10px; font-size: 13px; }

  /* cards and panels */
  .public-site .card, .clean-site .card { padding: 16px; border-radius: 14px; }
  .public-site .panel, .clean-site .panel { padding: 16px; margin-bottom: 14px; border-radius: 14px; }
  .public-site .cards, .clean-site .cards { gap: 10px; }
  .public-site .price-row, .clean-site .price-row { padding: 8px 0; font-size: 13px; }
  .public-site .card-badge { right: 12px; top: 12px; font-size: 9px; padding: 4px 8px; }
  .public-site .services-carousel .card { width: 74vw; max-width: 300px; padding: 16px; }
  .public-site .services-carousel .card h3 { font-size: 16px; margin: 6px 0 8px; }
  .public-site .services-carousel .card-description { font-size: 12.5px; }
  .public-site .carousel-wrap { margin-bottom: 22px; }
  .public-site .carousel-section > .text-link { margin-left: 16px; }

  /* site.css pushes every <nav> to the right on phones (for the header); inside a page they start on the left */
  .public-site main nav, .clean-site main nav { justify-content: flex-start; gap: 8px; }

  /* deals and packs */
  .public-site .deal-price, .clean-site .deal-price { font-size: 34px; margin: 0 0 4px; }
  .public-site .deal-price-label { font-size: 20px; }
  .public-site .deal-save { margin: 2px 0 8px; font-size: 13px; }
  .public-site .deal-was { font-size: 12px; }
  .public-site .deal-section { padding-top: 24px; }
  /* price cards (packs, bargains, proposal): two to a row */
  .public-site .deal-grid { gap: 8px; }
  .public-site .deal-grid > .card { flex: 1 1 calc(50% - 4px); max-width: calc(50% - 4px); }
  .public-site .deal-grid > .card:last-child:nth-child(odd) { flex-basis: 100%; max-width: 100%; }
  .public-site .deal-grid .deal-card { padding: 13px 11px; }
  .public-site .deal-grid .eyebrow { font-size: 8.5px; letter-spacing: .1em; }
  .public-site .deal-grid h3 { font-size: 14.5px; margin: 4px 0 6px; }
  .public-site .deal-grid .deal-was { font-size: 11px; line-height: 1.35; }
  .public-site .deal-grid .deal-price { font-size: 28px; }
  .public-site .deal-grid .deal-price small { font-size: 11px; }
  .public-site .deal-grid .deal-save { font-size: 12px; margin-bottom: 6px; }
  .public-site .deal-grid .price-row { font-size: 11.5px; padding: 6px 0; flex-wrap: wrap; gap: 2px 6px; margin-bottom: 10px; }
  .public-site .deal-grid .button { width: 100%; justify-content: center; padding: 8px 8px; font-size: 11.5px; min-height: 34px; margin-top: auto; }
  .public-site .deal-grid .card > p:not(.deal-save) { font-size: 12.5px; }
  .public-site .total { font-size: 26px; }
  .clean-site .est-total { font-size: 22px; }

  /* appointment times (booking page and the Control Panel capacity): three to a row */
  .public-site .slots, .cp-shell .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .public-site .slot, .cp-shell .slot { padding: 10px 8px; border-radius: 10px; text-align: center; align-items: center; }
  .public-site .slot strong, .cp-shell .slot strong { font-size: 17px; }
  .public-site .slot span, .cp-shell .slot span { font-size: 10.5px; }

  /* lists, steps, questions */
  .public-site .features li { padding: 8px 0; }
  .public-site .steps li { padding: 11px 0; }
  .public-site .faq details { padding: 0; font-size: 13px; }
  .public-site .faq summary { padding: 12px 0; }
  .public-site .faq details p { margin: 0 0 12px; }

  /* about, blog, reviews */
  .public-site .about-fact strong { font-size: 24px; }
  .public-site .about-fact span { font-size: 12.5px; margin-top: 4px; }
  .public-site .about-chips li, .public-site .blog-filter .chip { padding: 7px 12px; font-size: 12.5px; }
  .public-site .blog-card-image { margin: -16px -16px 12px; }
  .public-site .blog-body { font-size: 15.5px; line-height: 1.7; padding-top: 18px; }
  .public-site .blog-body h2 { font-size: 22px; margin: 28px 0 10px; }
  .public-site .blog-cover-wrap { padding: 0 16px; }

  /* end of page */
  .public-site .final-cta, .clean-site .final-cta { padding: 32px 16px; }
  .public-site .final-cta h2, .clean-site .final-cta h2 { font-size: 25px; }
  .public-site footer { padding: 26px 16px; gap: 16px; }
  .site-footer .footer-brand .logo-img { width: 190px; }
  .public-site footer nav { gap: 10px 16px; }
  .chat-launcher { width: 46px; height: 46px; font-size: 19px; right: 12px; bottom: 12px; }
  .public-site .cookie-notice, .clean-site .cookie-notice { padding: 10px; }
  .public-site .cookie-notice-card, .clean-site .cookie-notice-card { padding: 12px 14px; gap: 10px; border-radius: 14px; }
  .public-site .cookie-notice-card button, .clean-site .cookie-notice-card button { min-height: 34px; }

  /* ---------------------------------------------------------------- Shiny Clean header and hero */
  .clean-header { padding: 10px 16px; gap: 8px 14px; }
  .clean-brand .clean-logo-img { height: 44px; width: auto; }
  .clean-header nav { gap: 6px 14px; }
  .clean-header nav a { font-size: 13px; }
  .clean-header nav .button { min-height: 34px; padding: 6px 12px; font-size: 12px; }
  .clean-hero { padding: 30px 16px 24px; }
  .clean-hero h1 { font-size: clamp(32px, 10vw, 40px); margin: 10px 0 14px; }
  .clean-hero .large { margin-bottom: 18px; }
  .clean-footer { padding: 24px 16px 32px; font-size: 12px; }

  /* ---------------------------------------------------------------- Control Panel */
  .cp-shell { font-size: 14px; }
  .cp-shell .cp-menu .cp-link, .cp-shell .cp-tools .cp-link, .cp-shell .cp-drop-panel a, .cp-shell .cp-drop-panel .cp-item { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 13.5px; }
  .cp-tools .cp-search input { font-size: 16px; min-height: 40px; }
  .cp-tools .cp-search-btn { min-height: 40px; height: 40px; }
  .cp-shell .cp-main { padding-left: 12px; padding-right: 12px; }
  .cp-shell .page-title { font-size: 22px; margin: 6px 0 12px; }
  .cp-shell h2 { font-size: 17px; margin: 18px 0 10px; }
  .cp-shell h3 { font-size: 15px; }
  .cp-shell p { font-size: 13px; }
  .cp-shell .eyebrow { font-size: 9.5px; }
  .cp-shell .panel, .cp-shell .card { padding: 13px; margin-bottom: 10px; border-radius: 12px; }
  .cp-shell .cards { gap: 8px; }
  .cp-shell main button:not([type=button]):not(.cp-item):not(.cp-link), .cp-shell main .button {
    min-height: 38px; padding: 8px 14px; font-size: 13px; border-radius: 9px; gap: 8px;
  }
  .cp-shell main .button.small, .cp-shell main button.small { min-height: 32px; padding: 6px 11px; font-size: 12px; }
  .cp-shell main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), .cp-shell main select, .cp-shell main textarea {
    min-height: 40px; padding: 7px 10px; font-size: 16px; margin-top: 4px; border-radius: 8px;
  }
  .cp-shell main label { font-size: 11.5px; margin-bottom: 9px; }
  .cp-shell main .check { font-size: 13px; gap: 8px; align-items: center; }
  /* forms sit two or three to a row instead of one long column */
  .cp-shell .form-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); gap: 0 10px; align-items: end; }
  .cp-shell .form-grid > strong, .cp-shell .form-grid > h2, .cp-shell .form-grid > h3, .cp-shell .form-grid > p, .cp-shell .form-grid > .muted,
  .cp-shell .form-grid > .wide, .cp-shell .form-grid > label:has(textarea), .cp-shell .form-grid > label:has(input[type=email]),
  .cp-shell .form-grid > label:has(input[type=file]), .cp-shell .form-grid > fieldset, .cp-shell .form-grid > details,
  .cp-shell .form-grid > label:has(input[name=duration]), .cp-shell .form-grid > label:has(input[name=title]),
  .cp-shell .form-grid > label:has(input[name=to]), .cp-shell .form-grid > label:has(input[name=subject]), .cp-shell .form-grid > label:has(select[name=from]),
  .cp-shell .form-grid > label:has(input[name=q]), .cp-shell .form-grid > label:has(input[name=cta_url]), .cp-shell .form-grid > label:has(input[name=points]) {
    grid-column: 1 / -1;
  }
  .cp-shell .form-grid > strong { font-size: 14px; margin-bottom: 6px; }
  .cp-shell .form-grid > .muted { font-size: 12px; margin: -2px 0 8px; }
  .cp-shell .form-grid > label.check { margin-bottom: 12px; }
  /* the form's button: on the right, two columns wide, one line */
  .cp-shell .form-grid > button, .cp-shell .form-grid > .button { grid-column: -3 / -1; margin-bottom: 9px; white-space: nowrap; }
  /* a price: [base price] [what the customer sees] [Save] on one line */
  .cp-shell .form-grid:has(> label > input[name=base]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .cp-shell .form-grid:has(> label > input[name=base]) > .muted { grid-column: auto; align-self: center; margin: 0 0 9px; }
  .cp-shell .form-grid:has(> label > input[name=base]) > button { grid-column: auto; }
  /* search and filter forms: two to a row */
  .cp-shell .form-grid:has(> label > input[name=q]), .cp-shell .form-grid:has(> label > input[type=date]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cp-shell .form-grid:has(> label > input[name=q]) > button { grid-column: 1 / -1; }
  /* opening hours: two wide time fields and a narrow capacity */
  .cp-shell .form-grid:has(> label > input[name=opens]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 64px; }
  .cp-shell main input[type=time], .cp-shell main input[type=date], .cp-shell main input[type=datetime-local] { padding-left: 8px; padding-right: 4px; }
  .cp-shell main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), .cp-shell main select { height: 40px; }
  /* tables scroll sideways inside their box, smaller */
  .cp-shell .table-wrap { margin: 12px 0; -webkit-overflow-scrolling: touch; }
  .cp-shell table { font-size: 12px; }
  .cp-shell th, .cp-shell td { padding: 8px 7px; }
  .cp-shell .badge { font-size: 9px; padding: 3px 6px; }
  .cp-shell td .button, .cp-shell td button, .cp-shell td .badge { white-space: nowrap; }
  .cp-shell .blog-body-input { font-size: 16px; }
  .cp-shell .notice { margin: 12px; padding: 12px 14px; font-size: 13px; }
  /* Financial */
  .cp-shell .fin-fields { grid-template-columns: 1fr 1fr; }
  .cp-shell .fin-head h2 { font-size: 17px; }
  .cp-shell .fin-row, .cp-shell .fin-compare { font-size: 12px; padding: 5px 0; }
  .cp-shell .fin-compare { grid-template-columns: minmax(0, 1fr) 78px 78px; gap: 8px; }
  .cp-shell .fin-feature strong { font-size: 14px; }
  .cp-shell .fin-price { width: 84px; min-height: 36px; }
  .cp-shell .cp-tab { padding: 7px 13px; font-size: 13px; }
  /* blog */
  .cp-shell .blog-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
}

@media (max-width: 380px) {
  .public-site h2, .clean-site h2 { font-size: 23px; }
  .public-site .page-title, .public-site section:not(.hero) h1 { font-size: 28px; }
  .site-header .logo-img { height: 40px; }
  .public-site .deal-price, .clean-site .deal-price { font-size: 30px; }
  .cp-shell .form-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 88px), 1fr)); }
}
