/*
Theme Name: DateWash App
Author: DateWash
Version: 0.2.1
Text Domain: datewash-app
*/

:root {
  --dw-site-bg: #f3fafc;
  --dw-site-surface: #ffffff;
  --dw-site-ink: #14262e;
  --dw-site-muted: #64767e;
  --dw-site-line: rgba(20, 38, 46, 0.10);
  --dw-site-shadow: 0 18px 60px rgba(21, 88, 105, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(163, 235, 221, 0.34), transparent 30rem),
    radial-gradient(circle at 92% 2%, rgba(115, 205, 226, 0.24), transparent 34rem),
    linear-gradient(180deg, #f8fdfe 0%, var(--dw-site-bg) 72%);
  color: var(--dw-site-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.datewash-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.datewash-site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.datewash-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.datewash-brand img {
  display: block;
  width: 154px;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
}

.datewash-site-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.datewash-site-promise {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--dw-site-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(20, 38, 46, 0.05);
  color: var(--dw-site-muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.datewash-site-account {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--dw-site-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 38, 46, 0.05);
  color: var(--dw-site-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.datewash-site-account svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.datewash-site-account:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 127, 157, 0.24);
  box-shadow: 0 10px 26px rgba(20, 90, 108, 0.08);
}

.datewash-site-account:focus-visible {
  outline: 3px solid rgba(8, 127, 157, 0.16);
  outline-offset: 2px;
}

.datewash-main {
  width: min(1180px, calc(100% - 40px));
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 6px 0 56px;
}


.datewash-main > .woocommerce {
  width: min(1040px, 100%);
  margin: 18px auto 40px;
}

.datewash-main .entry-title {
  margin-top: 0;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

.datewash-site-footer {
  border-top: 1px solid var(--dw-site-line);
  background: rgba(255, 255, 255, 0.62);
}

.datewash-site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--dw-site-muted);
  font-size: 13px;
}

.datewash-site-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.datewash-site-legal a {
  color: var(--dw-site-muted);
  text-decoration: none;
  font-weight: 650;
}

.datewash-site-legal a:hover {
  color: var(--dw-site-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .datewash-site-header {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
    padding: 8px 0;
  }

  .datewash-site-actions {
    gap: 6px;
  }

  .datewash-site-promise {
    display: none;
  }

  .datewash-site-account {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .datewash-brand img {
    width: 126px;
    max-height: 48px;
  }

  .datewash-site-promise {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .datewash-main {
    width: min(100% - 28px, 1180px);
    padding-bottom: 36px;
  }


  .datewash-site-footer-inner {
    width: min(100% - 28px, 1180px);
    min-height: 86px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
}


/* 0.9.23 – legal/contact pages use the new DateWash site shell */
.datewash-legal-page {
  background: #f4f9fa;
}

.datewash-legal-page .datewash-main {
  width: min(960px, calc(100% - 40px));
  margin-top: 34px;
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(8, 92, 112, 0.10);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 74, 88, 0.08);
}

.datewash-legal-page .datewash-main .gap-element {
  display: none !important;
}

.datewash-legal-page .datewash-main .page-header,
.datewash-legal-page .datewash-main .page-title {
  margin: 0 0 24px !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.datewash-legal-page .datewash-main h1 {
  margin: 0 0 24px;
  color: #102f39;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.datewash-legal-page .datewash-main h2 {
  margin: 34px 0 12px;
  color: #163b46;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
}

.datewash-legal-page .datewash-main h3 {
  margin: 28px 0 10px;
  color: #1b4753;
  font-size: 20px;
  line-height: 1.3;
}

.datewash-legal-page .datewash-main p,
.datewash-legal-page .datewash-main li,
.datewash-legal-page .datewash-main div {
  color: #36545d;
  line-height: 1.72;
}

.datewash-legal-page .datewash-main a {
  color: #087f9d;
  text-underline-offset: 3px;
}

.datewash-legal-page .datewash-main .row,
.datewash-legal-page .datewash-main .col,
.datewash-legal-page .datewash-main .col-inner,
.datewash-legal-page .datewash-main .ux-text {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 720px) {
  .datewash-legal-page .datewash-main {
    width: min(100% - 24px, 960px);
    margin-top: 18px;
    margin-bottom: 34px;
    padding: 24px 20px 30px;
    border-radius: 22px;
  }
}

/* 0.9.38 – refined Cologne skyline before footer */
.datewash-cologne-footer-skyline {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 22px;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.datewash-cologne-footer-skyline img {
  display: block;
  width: min(1180px, 88vw);
  height: auto;
  margin: 0 auto;
  opacity: .78;
}

@media (max-width: 720px) {
  .datewash-cologne-footer-skyline {
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .datewash-cologne-footer-skyline img {
    width: 760px;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    opacity: .72;
  }
}


/* 0.9.51 – compact mobile order header */
@media (max-width:720px){
  body.datewash-flow-screen-services .datewash-site-header{
    width:calc(100% - 24px);
    min-height:58px;
    gap:8px;
    padding:6px 0;
  }

  body.datewash-flow-screen-services .datewash-brand img{
    width:108px;
    max-height:42px;
  }

  body.datewash-flow-screen-services .datewash-site-actions{
    gap:5px;
  }

  body.datewash-flow-screen-services .datewash-site-account,
  body.datewash-flow-screen-services .datewash-site-branches{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    justify-content:center;
    padding:0;
  }

  body.datewash-flow-screen-services .datewash-site-account span,
  body.datewash-flow-screen-services .datewash-site-branches b{
    display:none!important;
  }

  body.datewash-flow-screen-services .datewash-site-account svg{
    width:18px;
    height:18px;
  }

  body.datewash-flow-screen-services .datewash-site-branches>span{
    font-size:17px;
  }

  body.datewash-flow-screen-services .datewash-site-cart{
    width:38px;
    min-width:38px;
    min-height:38px;
    padding:0;
    justify-content:center;
  }

  body.datewash-flow-screen-services .datewash-site-cart .datewash-cart-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  body.datewash-flow-screen-services .datewash-site-cart .datewash-cart-copy,
  body.datewash-flow-screen-services .datewash-site-cart .datewash-cart-arrow{
    display:none;
  }
}


/* 0.9.52 – compact mobile header for appointment & checkout */
@media (max-width:720px){
  body.datewash-flow-screen-dates .datewash-site-header,
  body.datewash-checkout-page .datewash-site-header{
    width:calc(100% - 24px);
    min-height:58px;
    gap:8px;
    padding:6px 0;
  }

  body.datewash-flow-screen-dates .datewash-brand img,
  body.datewash-checkout-page .datewash-brand img{
    width:108px;
    max-height:42px;
  }

  body.datewash-flow-screen-dates .datewash-site-actions,
  body.datewash-checkout-page .datewash-site-actions{
    gap:5px;
  }

  body.datewash-flow-screen-dates .datewash-site-account,
  body.datewash-flow-screen-dates .datewash-site-branches,
  body.datewash-checkout-page .datewash-site-account,
  body.datewash-checkout-page .datewash-site-branches{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    justify-content:center;
    padding:0;
  }

  body.datewash-flow-screen-dates .datewash-site-account span,
  body.datewash-flow-screen-dates .datewash-site-branches b,
  body.datewash-checkout-page .datewash-site-account span,
  body.datewash-checkout-page .datewash-site-branches b{
    display:none!important;
  }

  body.datewash-flow-screen-dates .datewash-site-cart,
  body.datewash-checkout-page .datewash-site-cart{
    width:38px;
    min-width:38px;
    min-height:38px;
    padding:0;
    justify-content:center;
  }

  body.datewash-flow-screen-dates .datewash-site-cart .datewash-cart-icon,
  body.datewash-checkout-page .datewash-site-cart .datewash-cart-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  body.datewash-flow-screen-dates .datewash-site-cart .datewash-cart-copy,
  body.datewash-flow-screen-dates .datewash-site-cart .datewash-cart-arrow,
  body.datewash-checkout-page .datewash-site-cart .datewash-cart-copy,
  body.datewash-checkout-page .datewash-site-cart .datewash-cart-arrow{
    display:none;
  }
}


/* 0.9.53 – compact mobile header on start/account */
@media (max-width:720px){
  body.datewash-flow-screen-postcode .datewash-site-header,
  body.datewash-account-page .datewash-site-header{
    width:calc(100% - 24px);
    min-height:58px;
    gap:8px;
    padding:6px 0;
  }

  body.datewash-flow-screen-postcode .datewash-brand img,
  body.datewash-account-page .datewash-brand img{
    width:108px;
    max-height:42px;
  }

  body.datewash-flow-screen-postcode .datewash-site-actions,
  body.datewash-account-page .datewash-site-actions{
    gap:5px;
  }

  body.datewash-flow-screen-postcode .datewash-site-account,
  body.datewash-flow-screen-postcode .datewash-site-branches,
  body.datewash-account-page .datewash-site-account,
  body.datewash-account-page .datewash-site-branches{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    justify-content:center;
    padding:0;
  }

  body.datewash-flow-screen-postcode .datewash-site-account span,
  body.datewash-flow-screen-postcode .datewash-site-branches b,
  body.datewash-account-page .datewash-site-account span,
  body.datewash-account-page .datewash-site-branches b{
    display:none!important;
  }

  body.datewash-flow-screen-postcode .datewash-site-cart,
  body.datewash-account-page .datewash-site-cart{
    width:38px;
    min-width:38px;
    min-height:38px;
    padding:0;
    justify-content:center;
  }

  body.datewash-flow-screen-postcode .datewash-site-cart .datewash-cart-icon,
  body.datewash-account-page .datewash-site-cart .datewash-cart-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  body.datewash-flow-screen-postcode .datewash-site-cart .datewash-cart-copy,
  body.datewash-flow-screen-postcode .datewash-site-cart .datewash-cart-arrow,
  body.datewash-account-page .datewash-site-cart .datewash-cart-copy,
  body.datewash-account-page .datewash-site-cart .datewash-cart-arrow{
    display:none;
  }
}


/* 0.9.54 – mobile legal/footer polish */
@media (max-width:720px){
  .datewash-site-footer{
    background:#fff;
  }

  .datewash-site-footer-inner{
    width:calc(100% - 24px);
    min-height:0;
    padding:18px 0 calc(18px + env(safe-area-inset-bottom));
    gap:10px;
    font-size:10.5px;
  }

  .datewash-site-legal{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }

  .datewash-site-legal a{
    min-height:36px;
    display:flex;
    align-items:center;
    padding:0 10px;
    border:1px solid rgba(20,38,46,.08);
    border-radius:10px;
    background:#f7fbfc;
    font-size:10px;
    text-decoration:none;
  }

  .datewash-legal-page .datewash-main{
    width:calc(100% - 24px);
    margin-top:10px;
    margin-bottom:22px;
    padding:17px 14px 22px;
    border-radius:17px;
    box-shadow:none;
  }

  .datewash-legal-page .datewash-main .page-header,
  .datewash-legal-page .datewash-main .page-title{
    margin-bottom:14px!important;
  }

  .datewash-legal-page .datewash-main h1{
    margin-bottom:15px;
    font-size:30px;
    line-height:1.05;
  }

  .datewash-legal-page .datewash-main h2{
    margin:24px 0 9px;
    font-size:20px;
  }

  .datewash-legal-page .datewash-main h3{
    margin:20px 0 7px;
    font-size:16px;
  }

  .datewash-legal-page .datewash-main p,
  .datewash-legal-page .datewash-main li,
  .datewash-legal-page .datewash-main div{
    font-size:12px;
    line-height:1.58;
  }

  .datewash-cologne-footer-skyline{
    margin-top:8px;
    margin-bottom:8px;
  }

  .datewash-cologne-footer-skyline img{
    width:96vw;
  }

  /* Keep order received header compact, too */
  body.datewash-checkout-page .datewash-site-header,
  body.datewash-legal-page .datewash-site-header{
    width:calc(100% - 24px);
    min-height:58px;
    gap:8px;
    padding:6px 0;
  }

  body.datewash-checkout-page .datewash-brand img,
  body.datewash-legal-page .datewash-brand img{
    width:108px;
    max-height:42px;
  }

  body.datewash-legal-page .datewash-site-account,
  body.datewash-legal-page .datewash-site-branches{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    justify-content:center;
    padding:0;
  }

  body.datewash-legal-page .datewash-site-account span,
  body.datewash-legal-page .datewash-site-branches b{
    display:none!important;
  }

  body.datewash-legal-page .datewash-site-cart{
    width:38px;
    min-width:38px;
    min-height:38px;
    padding:0;
    justify-content:center;
  }

  body.datewash-legal-page .datewash-site-cart .datewash-cart-icon{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  body.datewash-legal-page .datewash-site-cart .datewash-cart-copy,
  body.datewash-legal-page .datewash-site-cart .datewash-cart-arrow{
    display:none;
  }
}


/* 0.9.55 – mobile header/footer tap targets */
@media (max-width:720px){
  body.datewash-flow-screen-postcode .datewash-site-account,
  body.datewash-flow-screen-postcode .datewash-site-branches,
  body.datewash-flow-screen-services .datewash-site-account,
  body.datewash-flow-screen-services .datewash-site-branches,
  body.datewash-flow-screen-dates .datewash-site-account,
  body.datewash-flow-screen-dates .datewash-site-branches,
  body.datewash-checkout-page .datewash-site-account,
  body.datewash-checkout-page .datewash-site-branches,
  body.datewash-account-page .datewash-site-account,
  body.datewash-account-page .datewash-site-branches,
  body.datewash-legal-page .datewash-site-account,
  body.datewash-legal-page .datewash-site-branches{
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
  }

  body.datewash-flow-screen-postcode .datewash-site-cart,
  body.datewash-flow-screen-services .datewash-site-cart,
  body.datewash-flow-screen-dates .datewash-site-cart,
  body.datewash-checkout-page .datewash-site-cart,
  body.datewash-account-page .datewash-site-cart,
  body.datewash-legal-page .datewash-site-cart{
    width:44px;
    min-width:44px;
    min-height:44px;
  }

  .datewash-site-legal a{
    min-height:40px;
  }
}

.datewash-cookie-settings {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.datewash-consent[hidden] {
    display: none !important;
}

.datewash-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 99999;
    width: min(760px, calc(100% - 28px));
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(20, 31, 25, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 55px rgba(14, 30, 21, .18);
    backdrop-filter: blur(12px);
}

.datewash-consent-copy {
    flex: 1 1 auto;
}

.datewash-consent-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.datewash-consent-copy p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.45;
}

.datewash-consent-copy a {
    font-size: 12px;
    font-weight: 700;
}

.datewash-consent-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.datewash-consent-actions button {
    min-height: 42px;
    border-radius: 999px;
    padding: 0 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.datewash-consent-actions .is-secondary {
    border: 1px solid rgba(20, 31, 25, .18);
    background: #fff;
}

.datewash-consent-actions .is-primary {
    border: 1px solid #1f7a4d;
    background: #1f7a4d;
    color: #fff;
}

@media (max-width: 720px) {
    .datewash-consent {
        bottom: 10px;
        width: calc(100% - 20px);
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .datewash-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .datewash-consent-actions button {
        width: 100%;
        padding-inline: 12px;
    }
}

/* DateWash mobile consent compact 2026-10-08: preserve choice buttons */
@media (max-width: 720px) {
  .datewash-consent { bottom: 8px; gap: 8px; padding: 12px 14px; }
  .datewash-consent-copy strong { margin-bottom: 2px; }
  .datewash-consent-copy p { margin-bottom: 3px; line-height: 1.4; }
  .datewash-consent-actions { gap: 8px; }
  .datewash-consent-actions button { min-height: 42px; }
}
