/* DAYA Wellness theme: WordPress-specific additions on top of the design system (tokens, components, site). */

[hidden]{display:none!important}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[id]{scroll-margin-top:96px}
body.daya-sheet-open{overflow:hidden}

/* Skip link */
.daya-skip{position:absolute;left:12px;top:-60px;z-index:100;padding:12px 18px;border-radius:var(--radius-sm);background:var(--navy-800);color:var(--white);font-weight:700;text-decoration:none}
.daya-skip:focus{top:12px;color:var(--white)}

/* Header: logo image keeps its height; WordPress admin bar sits above the sticky header */
.dw-header__logo img{height:100%;width:auto}
.admin-bar .dw-header{top:32px}
@media (max-width:782px){.admin-bar .dw-header{top:46px}}
.dw-header__menu .daya-menu-close{display:none}
.dw-header__menu[aria-expanded="true"] .daya-menu-open{display:none}
.dw-header__menu[aria-expanded="true"] .daya-menu-close{display:inline-flex}
.dw-header__menu span{display:inline-flex}

/* Language switch as links (the design uses buttons) */
.dw-lang a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:40px;padding:0 10px;border-radius:var(--radius-pill);font-family:var(--font-heading);font-weight:var(--fw-bold);font-size:15px;color:var(--navy-700);text-decoration:none}
.dw-lang a:hover{color:var(--navy-900);background:rgba(255,255,255,.6)}
.dw-lang a.is-active{background:var(--white);color:var(--navy-900);box-shadow:var(--shadow-xs)}
.dw-lang--lg a{min-height:48px;font-size:17px;flex:1}

/* Footer */
.dw-footer__logo{height:52px;width:auto}
.daya-footer-company{display:flex;flex-direction:column;gap:10px}
.daya-footer-legal{display:flex;gap:24px}
.daya-footer-notice{margin-top:40px}

/* FAQ plus / minus */
.dw-faq .daya-faq-minus{display:none}
.dw-faq.is-open .daya-faq-plus{display:none}
.dw-faq.is-open .daya-faq-minus{display:inline-flex}
.dw-faq__sign span{display:inline-flex}
html:not(.js) .dw-faq__a{grid-template-rows:1fr;opacity:1}

/* Reviews */
.daya-review-meta{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left}
.daya-review-meta strong{font-family:var(--font-heading);font-size:18px;color:var(--navy-800);line-height:1.3}
.daya-review-meta span{font-size:15px;line-height:1.5;color:var(--text-muted)}
.dw-video__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:3}
.daya-dots{display:flex;gap:8px;flex:1;justify-content:center}
.daya-dot{width:10px;height:10px;border-radius:999px;border:0;padding:0;cursor:pointer;background:rgba(32,54,80,.2);transition:width var(--dur-fast) var(--ease-calm)}
.daya-dot.is-on{width:24px;background:var(--amber-500)}
/* Dots are small to look at but get a 48px tap area */
.daya-dot{position:relative}
.daya-dot::after{content:'';position:absolute;inset:-19px -12px}
.daya-arrow{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--navy-800);background:var(--white);color:var(--navy-800);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.daya-arrow[disabled]{opacity:.35;cursor:default}
.daya-small-muted{font-size:var(--fs-small);color:var(--text-muted)}

/* Sessions */
.daya-extra{margin-top:18px;color:var(--text-muted);display:flex;gap:10px;align-items:center}
.daya-sessions-notice{margin-top:28px}

/* Products, centres, portal band */
.daya-product-brand{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.daya-soon-pill{display:inline-block;background:var(--amber-100);color:var(--amber-700);font-weight:700;font-size:14px;padding:4px 12px;border-radius:999px}
.daya-visit-line{display:flex;gap:14px;align-items:flex-start}
.daya-visit-line .k-visit__ico{flex-shrink:0}
.daya-visit-line>div{padding-top:8px;line-height:1.5}
.daya-portal-intro{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.daya-portal-intro .dw-heading{margin-bottom:0}
.daya-cta-text{display:flex;flex-direction:column;gap:10px;position:relative;z-index:1}
.k-cta .dw-btn{position:relative;z-index:1}
.daya-stack-20{display:flex;flex-direction:column;gap:20px}
.daya-stack-20 .dw-heading{margin-bottom:0}

/* Booking sheet */
.k-modal__box:focus{outline:none}
.daya-sheet-panel{display:flex;flex-direction:column;gap:18px}
.daya-field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.dw-field select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--navy-700) 50%),linear-gradient(135deg,var(--navy-700) 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:40px}
.dw-field select:focus{outline:none;border-color:var(--navy-800);box-shadow:0 0 0 3px var(--amber-100)}
.dw-field input[type="date"]{width:100%}
.daya-consent{display:flex;gap:14px;align-items:flex-start;min-height:48px;cursor:pointer;font-size:var(--fs-small);line-height:1.5;color:var(--text-body)}
.daya-consent input{width:26px;height:26px;margin:0;flex:none;accent-color:var(--navy-800)}
.daya-form-error{padding:12px 16px;border-radius:var(--radius-sm);background:var(--danger-50);color:var(--danger);font-weight:600;font-size:var(--fs-small)}
.daya-sheet-note{font-size:var(--fs-small);color:var(--text-muted)}
a.daya-sheet-note{color:var(--navy-800)}
.k-modal .dw-notice{font-size:16px}

/* Ordinary pages (privacy, terms, member portal pages) */
.daya-page__head{margin-bottom:32px}
.daya-entry{max-width:var(--container-narrow)}
.daya-page .daya-entry:has(.dkp-portal, .dkp-app, [class*="dkp-"]){max-width:none}
.daya-entry>*+*{margin-top:1em}
.daya-entry h2{font-size:var(--fs-h3);margin-top:1.6em}
.daya-entry h3{font-size:var(--fs-h4);margin-top:1.4em}
.daya-entry ul,.daya-entry ol{padding-left:1.4em}
.daya-entry img{height:auto;border-radius:var(--radius-md)}
