/*
 * Duy Mobile Signature 5.6.4 — unified adaptive colour system.
 * This file is intentionally loaded last. Every adaptive surface receives
 * foreground + background + border together so browser/OS darkening cannot
 * leave dark text on dark backgrounds (or white text on white backgrounds).
 */
:root{
  color-scheme:light dark;
  --dma-page:#f5f6f8;
  --dma-panel:#ffffff;
  --dma-panel-2:#fafbfc;
  --dma-panel-3:#f3f5f7;
  --dma-input:#ffffff;
  --dma-text:#20232b;
  --dma-heading:#171a21;
  --dma-muted:#687182;
  --dma-faint:#8992a1;
  --dma-border:#e3e6eb;
  --dma-border-strong:#ccd2da;
  --dma-hover:#fff1f3;
  --dma-selected:#fce7eb;
  --dma-overlay:rgba(255,255,255,.98);
  --dma-shadow:rgba(18,36,59,.12);
  --dma-backdrop:rgba(15,20,30,.68);
  --dma-inverse-bg:#1b1f28;
  --dma-inverse-panel:#242934;
  --dma-inverse-text:#ffffff;
  --dma-inverse-muted:#bbc3d0;
  --dma-success-bg:#eaf7f0;
  --dma-success-text:#17613f;
  --dma-warning-bg:#fff6df;
  --dma-warning-text:#775413;
  --dma-danger-bg:#fff0f2;
  --dma-danger-text:#9b2f43;
  --dma-info-bg:#edf4ff;
  --dma-info-text:#315f9c;
}

/* JS writes data-dma-scheme before paint. The media rule is a no-JS fallback. */
html[data-dma-scheme="dark"]{
  --dma-page:#0c0f13;
  --dma-panel:#15191f;
  --dma-panel-2:#191e25;
  --dma-panel-3:#202630;
  --dma-input:#10151b;
  --dma-text:#f3f5f7;
  --dma-heading:#ffffff;
  --dma-muted:#b0b8c5;
  --dma-faint:#8f99a8;
  --dma-border:#303741;
  --dma-border-strong:#46505d;
  --dma-hover:#2a191d;
  --dma-selected:#351d23;
  --dma-overlay:rgba(21,25,31,.98);
  --dma-shadow:rgba(0,0,0,.46);
  --dma-backdrop:rgba(0,0,0,.78);
  --dma-inverse-bg:#080a0d;
  --dma-inverse-panel:#11151b;
  --dma-inverse-text:#ffffff;
  --dma-inverse-muted:#b9c0ca;
  --dma-success-bg:#13271e;
  --dma-success-text:#9fdfbd;
  --dma-warning-bg:#2c2413;
  --dma-warning-text:#efd18c;
  --dma-danger-bg:#2c171c;
  --dma-danger-text:#f2a9b5;
  --dma-info-bg:#142338;
  --dma-info-text:#a8c8ef;
}
@media (prefers-color-scheme:dark){
  :root:not([data-dma-scheme="light"]){
    --dma-page:#0c0f13;
    --dma-panel:#15191f;
    --dma-panel-2:#191e25;
    --dma-panel-3:#202630;
    --dma-input:#10151b;
    --dma-text:#f3f5f7;
    --dma-heading:#ffffff;
    --dma-muted:#b0b8c5;
    --dma-faint:#8f99a8;
    --dma-border:#303741;
    --dma-border-strong:#46505d;
    --dma-hover:#2a191d;
    --dma-selected:#351d23;
    --dma-overlay:rgba(21,25,31,.98);
    --dma-shadow:rgba(0,0,0,.46);
    --dma-backdrop:rgba(0,0,0,.78);
    --dma-inverse-bg:#080a0d;
    --dma-inverse-panel:#11151b;
    --dma-inverse-text:#ffffff;
    --dma-inverse-muted:#b9c0ca;
    --dma-success-bg:#13271e;
    --dma-success-text:#9fdfbd;
    --dma-warning-bg:#2c2413;
    --dma-warning-text:#efd18c;
    --dma-danger-bg:#2c171c;
    --dma-danger-text:#f2a9b5;
    --dma-info-bg:#142338;
    --dma-info-text:#a8c8ef;
  }
}

html{background:var(--dma-page)}
body.dma-theme{
  color-scheme:light dark;
  --ink:var(--dma-text);
  --muted:var(--dma-muted);
  --paper:var(--dma-panel);
  --surface:var(--dma-page);
  --line:var(--dma-border);
  --soft:var(--dma-hover);
  --navy:var(--dma-inverse-bg);
  --shadow:0 14px 40px var(--dma-shadow);
  background:var(--dma-page)!important;
  color:var(--dma-text)!important;
}
body.dma-theme *{border-color:var(--dma-border)}
body.dma-theme :where(h1,h2,h3,h4,h5,h6){color:var(--dma-heading)}
body.dma-theme :where(p,li,dt,dd,label,legend,summary,td,th){text-decoration-color:currentColor}
body.dma-theme a{color:inherit}
body.dma-theme a:hover{color:var(--accent)}

/* ---------- Core surfaces: always set background AND foreground ---------- */
body.dma-theme :is(
  .site-header,.desktop-nav li>.sub-menu,.mega-panel,.search-suggestions,
  .mobile-navigation,.drawer-nav a,.drawer-services a,
  .hero-photo-note,.dm4-hero-navigation,.dm4-slide-tabs button,.dm4-quick,
  .catalog-section>.dma-wrap,.brand-strip nav a,.service-card,.process-section,
  .journal-section>.dma-wrap,.post-card,.faq-section,.faq-item,.contact-form-card,
  .standard-page,.single-article,.service-detail,.custom-home-content,.toc,
  .article-cta,.filter-panel,.catalog-toolbar,.back-to-top,
  .woocommerce .woocommerce-tabs,.woocommerce ul.products li.product,
  .woocommerce div.product .woocommerce-product-gallery__wrapper,
  .dma-gallery-card,.dma-summary-copy,.dma-purchase-card,.dma-content-section,
  .dma-review-overview,.dma-review-invite,.dma-reviews #comments .commentlist li,
  .dma-shop-advice,.dma-category-chips a,.dma-filter-details,.dma-shop-toolbar,
  .dma-shop-empty,.dma-archive-description,.dma-shop-filter-dialog,
  .dma-shop-filter-dialog .dma-filter-dialog-head,.dma-shop-filter-dialog .dma-filter-actions,
  .dma-lookup-hero,.dma-lookup-empty,.dma-lookup-card,.dma-lookup-section,
  .dma-booking-dialog,.dma-booking-download-notice,.dma-float-contact,
  dialog
){
  background:var(--dma-panel)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}

/* Secondary/light surfaces. */
body.dma-theme :is(
  .header-search,.mega-panel nav a,.search-dismiss,.search-result:hover,
  .drawer-nav a,.filter-panel,.catalog-tabs a,.dma-shop-filter-form,
  .dma-filter-group,.dma-price-presets button,.dma-review-bars,
  .dma-reviews .comment-form,.dma-lookup-list-item,.dma-lookup-timeline li,
  .dma-booking-receipt-mini,.dma-booking-slot,.dma-booking-step,
  table.shop_table thead,table.shop_table tfoot
){
  background:var(--dma-panel-2)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}

/* Explicit menu/header contrast — fixes disappearing menu text on mobile browsers. */
body.dma-theme .site-header,
body.dma-theme .nav-row,
body.dma-theme .nav-inner,
body.dma-theme .desktop-nav,
body.dma-theme .desktop-nav .menu,
body.dma-theme .desktop-nav li,
body.dma-theme .desktop-nav a,
body.dma-theme .mega-menu,
body.dma-theme .mega-menu summary,
body.dma-theme .mobile-navigation,
body.dma-theme .drawer-top,
body.dma-theme .drawer-top .brand,
body.dma-theme .drawer-top .brand strong,
body.dma-theme .drawer-nav,
body.dma-theme .drawer-nav .menu,
body.dma-theme .drawer-nav li,
body.dma-theme .drawer-nav a,
body.dma-theme .drawer-nav .sub-menu,
body.dma-theme .drawer-services,
body.dma-theme .drawer-services a{
  color:var(--dma-text)!important;
}
body.dma-theme .nav-row{background:var(--dma-panel)!important;border-color:var(--dma-border)!important}
body.dma-theme .desktop-nav li>.sub-menu{background:var(--dma-panel)!important;box-shadow:0 15px 35px var(--dma-shadow)!important}
body.dma-theme .desktop-nav .sub-menu a,
body.dma-theme .drawer-nav a{background:var(--dma-panel-2)!important;color:var(--dma-text)!important}
body.dma-theme .desktop-nav .sub-menu a:hover,
body.dma-theme .desktop-nav .sub-menu a:focus-visible,
body.dma-theme .drawer-nav a:hover,
body.dma-theme .drawer-nav a:focus-visible,
body.dma-theme .drawer-nav .current-menu-item>a,
body.dma-theme .drawer-nav .current_page_item>a{background:var(--dma-hover)!important;color:var(--accent)!important}
body.dma-theme .drawer-services a{background:var(--dma-panel)!important;color:var(--dma-text)!important}
body.dma-theme .drawer-services a:hover{background:var(--dma-hover)!important;color:var(--accent)!important}
body.dma-theme .drawer-welcome,
body.dma-theme .drawer-label,
body.dma-theme .brand small{color:var(--dma-muted)!important}
body.dma-theme .icon-button,
body.dma-theme .menu-toggle,
body.dma-theme .header-search button{
  background:var(--dma-input)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}
body.dma-theme .icon-button:hover,
body.dma-theme .menu-toggle:hover,
body.dma-theme .header-search button:hover{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
body.dma-theme .header-search>.icon{color:var(--dma-muted)!important}
body.dma-theme .mega-panel{box-shadow:0 20px 65px var(--dma-shadow)!important}
body.dma-theme .mega-panel nav a:hover{background:var(--dma-hover)!important;border-color:var(--dma-border-strong)!important}

/* Dialog / top-layer must not rely on inherited browser colours. */
body.dma-theme dialog{color-scheme:inherit;background:var(--dma-panel)!important;color:var(--dma-text)!important}
body.dma-theme dialog::backdrop{background:var(--dma-backdrop)!important}
body.dma-theme .mobile-navigation *:not(.btn):not(.brand-mark):not(.icon){text-shadow:none}

/* ---------- Text roles ---------- */
body.dma-theme :is(
  .section-heading p:not(.eyebrow),.header-phone small,.search-status,.search-panel-top,
  .search-result small,.mega-panel>p,.results-hint,.filter-help,.card-excerpt,
  .post-meta,.faq-item>p,.contact-copy>p:not(.eyebrow),.article-meta,
  .woocommerce-result-count,.woocommerce .woocommerce-product-details__short-description,
  .dma-heading-meta,.dma-gallery-caption,.dma-product-meta,.dma-shop-description,
  .dma-shop-advice p,.dma-review-meta,.dma-review-invite p,
  .dma-lookup-subtitle,.dma-lookup-meta,.dma-lookup-note,.dma-booking-help,
  .dma-booking-dialog>p:not(.eyebrow)
){color:var(--dma-muted)!important}
body.dma-theme :is(.card-category,.eyebrow,.text-link,.search-view-all,.mega-title a){color:var(--accent)!important}

/* ---------- Forms and native controls ---------- */
body.dma-theme :is(input,textarea,select,button){color-scheme:light dark}
body.dma-theme :is(
  input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
  textarea,select,
  .filter-field input,.filter-field select,
  .dms-booking-form input,.dms-booking-form textarea,.dms-booking-form select,
  .dms-form input,.dms-form textarea,.dms-form select,
  .dma-shop-filter-form input,.dma-shop-filter-form select,
  .dma-reviews .comment-form input,.dma-reviews .comment-form textarea,.dma-reviews .comment-form select,
  .dma-booking-field input,.dma-lookup-phone-field>input
){
  background:var(--dma-input)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border-strong)!important;
  caret-color:var(--dma-text)!important;
  -webkit-text-fill-color:var(--dma-text);
}
body.dma-theme :is(input,textarea)::placeholder{color:var(--dma-faint)!important;opacity:1}
body.dma-theme option{background:var(--dma-panel)!important;color:var(--dma-text)!important}
body.dma-theme :is(input,textarea,select):focus{border-color:var(--accent)!important;outline-color:var(--accent)!important}
body.dma-theme :is(input,textarea,select):-webkit-autofill,
body.dma-theme :is(input,textarea,select):-webkit-autofill:hover,
body.dma-theme :is(input,textarea,select):-webkit-autofill:focus{
  -webkit-text-fill-color:var(--dma-text)!important;
  box-shadow:0 0 0 1000px var(--dma-input) inset!important;
  caret-color:var(--dma-text)!important;
}

/* ---------- Buttons/pills that should remain legible ---------- */
body.dma-theme :is(.btn-ghost,.dma-btn-secondary,.dma-btn-ghost,.dma-filter-open,.catalog-pagination a,.pagination .page-numbers,.nav-links .page-numbers,.dma-lookup-pagination button){
  background:var(--dma-input)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}
body.dma-theme :is(.btn,.button,button[type=submit],input[type=submit],.dma-btn-primary){-webkit-text-fill-color:currentColor}
body.dma-theme .btn,
body.dma-theme .button.alt,
body.dma-theme button.button.alt,
body.dma-theme input.button.alt{color:#fff!important}

/* ---------- Special sections intentionally inverse ---------- */
body.dma-theme :is(.utility-bar,.site-footer,.footer-main,.drawer-contact){
  background:var(--dma-inverse-bg)!important;
  color:var(--dma-inverse-text)!important;
  border-color:#ffffff1f!important;
}
body.dma-theme :is(.utility-bar,.site-footer,.footer-main,.drawer-contact) :is(h1,h2,h3,h4,strong,a){color:var(--dma-inverse-text)!important}
body.dma-theme :is(.utility-bar,.site-footer,.footer-main,.drawer-contact) :is(p,small,span,li){color:var(--dma-inverse-muted)}
body.dma-theme :is(.utility-bar,.site-footer,.footer-main,.drawer-contact) a:hover{color:#fff!important}
body.dma-theme .footer-intro>.custom-logo-link{background:#fff!important;border-radius:8px;padding:4px}

/* ---------- Home / editorial tints ---------- */
body.dma-theme .dm4-hero{background:var(--dma-panel)!important;border-color:var(--dma-border)!important;color:var(--dma-text)!important}
body.dma-theme .dm4-slide-tabs button[aria-pressed=true],
body.dma-theme .catalog-tabs a[aria-current=true],
body.dma-theme .faq-item[open],
body.dma-theme .dma-price-presets button:hover,
body.dma-theme .dma-price-presets button[aria-pressed=true]{background:var(--dma-selected)!important;color:var(--dma-text)!important}
body.dma-theme .media-arrow{background:var(--dma-overlay)!important;border-color:var(--dma-border)!important;color:var(--dma-text)!important}
body.dma-theme .hero-photo-note{box-shadow:0 8px 30px var(--dma-shadow)!important}

/* ---------- Shop / WooCommerce ---------- */
body.dma-theme .woocommerce,
body.dma-theme .woocommerce-page,
body.dma-theme .dma-shop,
body.dma-theme .dma-product-page{color:var(--dma-text)!important}
body.dma-theme .woocommerce :is(h1,h2,h3,h4,h5,h6,strong,label,legend),
body.dma-theme .dma-shop :is(h1,h2,h3,h4,h5,h6,strong,label,legend){color:var(--dma-heading)}
body.dma-theme .woocommerce table.shop_table,
body.dma-theme .woocommerce table.shop_table td,
body.dma-theme .woocommerce table.shop_table th{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme .woocommerce-message{background:var(--dma-success-bg)!important;color:var(--dma-success-text)!important;border-color:currentColor!important}
body.dma-theme .woocommerce-info{background:var(--dma-info-bg)!important;color:var(--dma-info-text)!important;border-color:currentColor!important}
body.dma-theme .woocommerce-error{background:var(--dma-danger-bg)!important;color:var(--dma-danger-text)!important;border-color:currentColor!important}
body.dma-theme .dma-shop-filter-dialog{box-shadow:-12px 0 50px var(--dma-shadow)!important}
body.dma-theme .dma-shop-filter-dialog .dma-filter-actions{box-shadow:0 -12px 18px var(--dma-shadow)!important}
body.dma-theme .dma-product-dock,
body.dma-theme .mobile-bottom-bar{background:var(--dma-overlay)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme .mobile-bottom-bar>a{color:var(--dma-muted)!important}
body.dma-theme .mobile-bottom-bar .mobile-book,
body.dma-theme .mobile-bottom-bar .mobile-call{color:var(--accent)!important}
body.dma-theme .mobile-call-icon{border-color:var(--dma-panel)!important;color:#fff!important}

/* ---------- Booking / lookup statuses ---------- */
body.dma-theme :is(.demo-note,.dma-reference-notice,.dma-lookup-index-note,.dma-booking-warning){background:var(--dma-warning-bg)!important;color:var(--dma-warning-text)!important;border-color:currentColor!important}
body.dma-theme :is(.filter-error,.dma-booking-error,.dma-shop-error,.dma-lookup-error,.woocommerce-error){background:var(--dma-danger-bg)!important;color:var(--dma-danger-text)!important;border-color:currentColor!important}
body.dma-theme :is(.dma-booking-success,.dma-lookup-success,.woocommerce-message){background:var(--dma-success-bg)!important;color:var(--dma-success-text)!important;border-color:currentColor!important}
body.dma-theme :is(.dma-booking-info,.dma-lookup-info,.woocommerce-info){background:var(--dma-info-bg)!important;color:var(--dma-info-text)!important;border-color:currentColor!important}
body.dma-theme :is(.dms-status,.dma-booking-receipt-mini>span,.dma-lookup-badge.is-amber){background:var(--dma-warning-bg)!important;color:var(--dma-warning-text)!important}

/* ---------- Browser forced-dark / accessibility hardening ---------- */
body.dma-theme :is(img,picture,video,canvas){forced-color-adjust:none}
body.dma-theme svg{forced-color-adjust:none;color:inherit}
@media (forced-colors:active){
  body.dma-theme,*{forced-color-adjust:auto}
  body.dma-theme :is(a,button,input,select,textarea,summary){outline-color:Highlight}
}


/* ---------- 5.6.6 palette normalization ---------- */
:root{
  --dma-panel-soft:#f7f8fb;
  --dma-panel-subtle:#eef2f6;
  --dma-note-bg:#f7f1dd;
  --dma-note-border:#e4d6a8;
}
html[data-dma-scheme="dark"]{
  --dma-panel-soft:#1b2129;
  --dma-panel-subtle:#242c36;
  --dma-note-bg:#2b2315;
  --dma-note-border:#5a4d31;
}
@media (prefers-color-scheme:dark){
  :root:not([data-dma-scheme="light"]){
    --dma-panel-soft:#1b2129;
    --dma-panel-subtle:#242c36;
    --dma-note-bg:#2b2315;
    --dma-note-border:#5a4d31;
  }
}

body.dma-theme :is(
  .dma-review-overview,.dma-review-empty,.dma-reviews #review_form_wrapper,
  .dma-reviews #comments .commentlist .children li,.dma-review-preview,.dma-mini-review,
  .dma-aside-rating,.dma-booking-address,.dma-contact-options>a,.dma-dock-call,
  .dma-dock-product>img,.dma-shop-advice,.dma-category-chips a,.dma-filter-details,
  .dma-shop-filter-form,.dma-price-presets button,.dma-shop-filter-dialog .dma-filter-dialog-head,
  .dma-review-initial,.dma-receipt-mini,.dma-lookup-list-item,.dma-lookup-timeline li,
  .catalog-sort select,.filter-field :is(input,select),.dm4-slide-tabs button,
  .catalog-tabs a,.search-result,.search-dismiss,.search-panel,.search-suggestions
){
  background:var(--dma-panel-2)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}

body.dma-theme :is(.dma-gallery-card,.dma-summary-copy,.dma-purchase-card,.dma-product-content,.dma-content-section,.dma-review-invite,.dma-shop-hero,.service-detail,.single-article,.standard-page,.article-cta,.toc){
  background:var(--dma-panel)!important;
  color:var(--dma-text)!important;
  border-color:var(--dma-border)!important;
}

body.dma-theme .dma-shop-hero{
  background:linear-gradient(110deg,var(--dma-panel) 56%,var(--dma-panel-2))!important;
}

body.dma-theme .dma-review-overview,
body.dma-theme .dma-reviews #review_form_wrapper,
body.dma-theme .dma-booking-address,
body.dma-theme .dma-review-preview,
body.dma-theme .dma-aside-rating,
body.dma-theme .dma-contact-options>a,
body.dma-theme .dma-shop-advice,
body.dma-theme .dma-category-chips a,
body.dma-theme .dma-filter-details,
body.dma-theme .dma-shop-filter-form{
  box-shadow:none!important;
}

body.dma-theme .dma-review-score,
body.dma-theme .dma-filter-group,
body.dma-theme .dma-purchase-card form.cart,
body.dma-theme .dma-purchase-card .product_meta,
body.dma-theme .dma-content-section+.dma-content-section{
  border-color:var(--dma-border)!important;
}

body.dma-theme .dma-booking-address>.icon,
body.dma-theme .dma-contact-options .icon,
body.dma-theme .dma-shop-advice strong .icon,
body.dma-theme .dma-filter-details>summary>.icon{color:var(--accent)!important}
body.dma-theme .dma-booking-address small,
body.dma-theme .dma-review-preview-heading small,
body.dma-theme .dma-contact-options>a,
body.dma-theme .dma-check-row,
body.dma-theme .dma-filter-field>span:first-child,
body.dma-theme .dma-filter-group legend,
body.dma-theme .dma-reviews .comment-form label{color:var(--dma-muted)!important}
body.dma-theme .dma-booking-address strong,
body.dma-theme .dma-contact-options strong,
body.dma-theme .dma-aside-rating>strong,
body.dma-theme .dma-review-preview-heading strong,
body.dma-theme .dma-review-empty strong{color:var(--dma-heading)!important}
body.dma-theme .dma-booking-address em,
body.dma-theme .dma-review-preview-heading a{color:var(--accent)!important}

body.dma-theme .dma-review-empty{border-style:dashed!important;background:var(--dma-panel-soft)!important}
body.dma-theme .dma-reviews #comments .commentlist li{background:var(--dma-panel)!important}
body.dma-theme .dma-reviews #comments .description p,
body.dma-theme .dma-summary-copy :is(.woocommerce-product-details__short-description,.dma-muted),
body.dma-theme .dma-content-section:not(.dma-section-reviews),
body.dma-theme .dma-purchase-card .product_meta a{color:var(--dma-muted)!important}
body.dma-theme .dma-purchase-card .product_meta a:hover{color:var(--accent)!important}

body.dma-theme .dma-rating-row meter,
body.dma-theme .dma-rating-row meter::-webkit-meter-bar{background:var(--dma-panel-subtle)!important}
body.dma-theme .dma-rating-row meter::-webkit-meter-optimum-value,
body.dma-theme .dma-rating-row meter::-moz-meter-bar{background:var(--accent)!important}
body.dma-theme .dma-review-initial{background:var(--dma-info-bg)!important;color:var(--dma-info-text)!important}
body.dma-theme .dma-reviews .woocommerce-review__verified{background:var(--dma-success-bg)!important;color:var(--dma-success-text)!important}
body.dma-theme .dma-reviews .woocommerce-review__awaiting-approval{color:var(--dma-warning-text)!important}

body.dma-theme .dma-content-section blockquote,
body.dma-theme .demo-note,
body.dma-theme .dma-purchase-note,
body.dma-theme .dma-price-note{
  background:var(--dma-note-bg)!important;
  color:var(--dma-warning-text)!important;
  border-color:var(--dma-note-border)!important;
}

body.dma-theme .dma-content-section th,
body.dma-theme table.shop_table thead,
body.dma-theme table.shop_table tfoot{background:var(--dma-panel-soft)!important}
body.dma-theme .dma-content-section :is(th,td),
body.dma-theme table.shop_table :is(th,td){border-color:var(--dma-border)!important}

body.dma-theme .dma-aside-rating,
body.dma-theme .dma-review-preview,
body.dma-theme .dma-booking-address,
body.dma-theme .dma-contact-options>a,
body.dma-theme .dma-category-chips a{transition:background .2s ease,border-color .2s ease,color .2s ease}
body.dma-theme .dma-contact-options>a:hover,
body.dma-theme .dma-category-chips a:hover,
body.dma-theme .dma-price-presets button:hover,
body.dma-theme .catalog-tabs a:hover,
body.dma-theme .dm4-slide-tabs button:hover{background:var(--dma-hover)!important;color:var(--dma-text)!important;border-color:var(--dma-border-strong)!important}
body.dma-theme .dma-category-chips a.is-current,
body.dma-theme .catalog-tabs a[aria-current=true]{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}

body.dma-theme .dma-dock-product>img,
body.dma-theme .woocommerce div.product .woocommerce-product-gallery__image a,
body.dma-theme .woocommerce div.product .woocommerce-product-gallery__image img{background:var(--dma-panel)!important}

body.dma-theme .search-panel,
body.dma-theme .search-suggestions{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important;box-shadow:0 20px 45px var(--dma-shadow)!important}
body.dma-theme .search-result:hover{background:var(--dma-hover)!important}

body.dma-theme .woocommerce-pagination ul li :is(a,span){background:var(--dma-panel-2)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme .woocommerce-pagination ul li .current{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}


/* ---------- 5.6.7 screenshot-based cleanup ---------- */
body.dma-theme :is(.card-body,.post-card,.post-card h3,.post-card .text-link,.post-card .post-meta,.card-bottom,.card-link){color:var(--dma-text)!important}
body.dma-theme .post-card,
body.dma-theme .service-card,
body.dma-theme .journal-empty,
body.dma-theme .faq-item,
body.dma-theme .process-card{background:var(--dma-panel)!important;border-color:var(--dma-border)!important}
body.dma-theme .journal-empty,
body.dma-theme .process-card{background:var(--dma-panel-2)!important}
body.dma-theme .journal-empty-icon,
body.dma-theme .process-icon{background:var(--dma-panel-soft)!important;color:var(--accent)!important}
body.dma-theme .step-number{color:var(--dma-border-strong)!important}

body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product,
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product .woocommerce-LoopProduct-link{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product a img{background:var(--dma-panel-2)!important}
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product .woocommerce-loop-product__title,
body.dma-theme .dma-card-proof,
body.dma-theme .dma-card-rating,
body.dma-theme .dma-card-unrated{color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product .price del,
body.dma-theme .dma-card-category,
body.dma-theme .dma-card-proof .dma-sales{color:var(--dma-muted)!important}
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product>.button{background:var(--dma-panel-2)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme :is(.dma-shop,.dma-product-recommendations) ul.products li.product>.button:hover{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}

body.dma-theme .dma-content-section table,
body.dma-theme .dma-content-section tbody,
body.dma-theme .dma-content-section tr,
body.dma-theme .dma-content-section td,
body.dma-theme .dma-content-section th,
body.dma-theme .woocommerce table.shop_table tbody tr,
body.dma-theme .woocommerce table.shop_table tbody td{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme .dma-content-section thead tr,
body.dma-theme .dma-content-section thead th,
body.dma-theme .dma-content-section tbody tr:nth-child(even) td,
body.dma-theme .woocommerce table.shop_table thead tr,
body.dma-theme .woocommerce table.shop_table thead th{background:var(--dma-panel-2)!important}
body.dma-theme .dma-content-section .dma-table-scroll,
body.dma-theme .woocommerce .dma-table-scroll{background:transparent!important}

body.dma-theme .dma-content-section :is(.button,a.button,.btn,input[type=submit],button,.wp-element-button,.wp-block-button__link),
body.dma-theme .dma-summary-copy :is(.button,a.button,.btn,.wp-element-button,.wp-block-button__link){
  background:var(--dma-panel-2)!important;
  color:var(--accent)!important;
  border:1px solid var(--dma-border)!important;
  border-radius:10px!important;
}
body.dma-theme .dma-content-section :is(.button,a.button,.btn,input[type=submit],button,.wp-element-button,.wp-block-button__link):hover,
body.dma-theme .dma-summary-copy :is(.button,a.button,.btn,.wp-element-button,.wp-block-button__link):hover{
  background:var(--dma-hover)!important;
  color:var(--accent)!important;
  border-color:var(--dma-border-strong)!important;
}
body.dma-theme .dma-content-section :is(.button,a.button,.btn,input[type=submit],button,.wp-element-button,.wp-block-button__link) .icon,
body.dma-theme .dma-summary-copy :is(.button,a.button,.btn,.wp-element-button,.wp-block-button__link) .icon{color:currentColor!important}

body.dma-theme .dma-gallery-caption,
body.dma-theme .dma-product-specs,
body.dma-theme .dma-product-specs>div,
body.dma-theme .dma-content-nav,
body.dma-theme .dma-content-nav a,
body.dma-theme .dma-review-count{border-color:var(--dma-border)!important;color:var(--dma-muted)!important}
body.dma-theme .dma-content-nav a:hover,
body.dma-theme .dma-content-nav a[aria-current=true],
body.dma-theme .dma-content-nav a:first-child:not([aria-current=false]){color:var(--accent)!important;border-bottom-color:var(--accent)!important}
body.dma-theme .dma-gallery-caption{background:var(--dma-panel-2)!important;color:var(--dma-muted)!important}

body.dma-theme :is(.flex-control-nav,.slick-dots,.swiper-pagination){background:transparent!important}
body.dma-theme :is(.flex-control-paging li a,.slick-dots li button,.swiper-pagination-bullet){background:var(--dma-border-strong)!important;border-color:transparent!important;opacity:1!important}
body.dma-theme :is(.flex-control-paging li a.flex-active,.slick-dots li.slick-active button,.swiper-pagination-bullet-active){background:var(--accent)!important}

body.dma-theme .dma-price-note,
body.dma-theme .dma-purchase-note,
body.dma-theme .dma-booking-price-note,
body.dma-theme .dma-reference-notice{background:var(--dma-note-bg)!important;color:var(--dma-warning-text)!important;border:1px solid var(--dma-note-border)!important;border-radius:12px!important;padding:12px 14px!important}
body.dma-theme .dma-purchase-note .icon{color:var(--dma-success-text)!important}

body.dma-theme .dma-booking-address,
body.dma-theme .dma-contact-options>a,
body.dma-theme .dma-review-overview,
body.dma-theme .dma-review-empty,
body.dma-theme .dma-reviews #comments .commentlist li,
body.dma-theme .dma-reviews #comments .commentlist .children li,
body.dma-theme .dma-reviews #review_form_wrapper{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
body.dma-theme .dma-review-overview{background:var(--dma-panel-2)!important}

body.dma-theme .contact-form-card,
body.dma-theme .contact-fallback,
body.dma-theme .article-cta,
body.dma-theme .toc{background:var(--dma-panel)!important;color:var(--dma-text)!important;border-color:var(--dma-border)!important}
/* Gutenberg homepage sections retain the site's reading width. */
.dma-home-editor > .wp-block-heading,.dma-home-editor > .wp-block-paragraph,.dma-home-editor > .wp-block-image,.dma-home-editor > .wp-block-columns,.dma-home-editor > .wp-block-group:not(.alignfull){max-width:1200px;margin-left:auto;margin-right:auto;padding-left:clamp(16px,3vw,32px);padding-right:clamp(16px,3vw,32px)}
.dma-home-editor > .wp-block-heading{margin-top:clamp(32px,5vw,72px)}
.dm4-hero-description p{color:inherit;margin:0 0 1em}.dm4-hero-description a{color:inherit;text-decoration:underline}
