/* Sunny & Play v150: Night palette audit. Loaded after ALL previous theme styles.
   The selectors below are night-only; day colors and all images stay unchanged. */
html[data-theme="dark"]{
  --sp-cream:#151d2b;--sp-cream-2:#1c2839;--sp-card:#273346;
  --sp-navy:#f8f3e9;--sp-muted:#c5d0df;--sp-border:#465369;
  --sunny133-ink:#f8f3e9;--sunny133-muted:#cbd5e4;
  --sunny133-purple-ink:#e0cbff;--sunny133-orange-ink:#ffce84;
  --sunny133-white:#273346;--sunny133-cream:#151d2b;--sunny133-ivory:#1b2636;
  --sunny133-border:#465369;
  color-scheme:dark;
}
html[data-theme="dark"] body, html[data-theme="dark"] .sunny-page{background:#151d2b!important;color:#f8f3e9!important}
/* Consistent section backgrounds, avoid cream strips between dark cards. */
html[data-theme="dark"] :is(.sunny-v102-home-categories,.sunny-v102-favourites,.sunny-v102-how-rentals,
 .sunny-v102-featured-rents,.sunny-v102-benefits,.sunny-v102-whatsapp-cta,.sunny-v102-catalog-page,
 .sunny-v102-detail-page,.sunny-v121-product-page,.sunny-v102-info-page,.sunny-v102-search-page){
  background:#151d2b!important;color:#f8f3e9!important
}
html[data-theme="dark"] :is(.sunny-v102-section-head,.sunny-v102-catalog-hero__copy,
 .sunny-v102-info-hero,.sunny-v102-whatsapp-cta__copy) :is(h1,h2,h3,h4){color:#f8f3e9!important}
html[data-theme="dark"] :is(.sunny-v102-section-head,.sunny-v102-catalog-hero__copy,
 .sunny-v102-info-hero,.sunny-v102-whatsapp-cta__copy) p{color:#cbd5e4!important}
html[data-theme="dark"] .sunny-v102-eyebrow, html[data-theme="dark"] .sunny-v102-text-link{color:#ffce84!important}
/* Photo-backed category cards MUST retain their photo overlays and white text. */
html[data-theme="dark"] .sunny-v102-home-categories .sunny-v102-category-card{border-color:#465369!important;background:#273346!important}
html[data-theme="dark"] .sunny-v102-home-categories .sunny-v102-category-card__copy, html[data-theme="dark"] .sunny-v102-home-categories .sunny-v102-category-card__copy>span, html[data-theme="dark"] .sunny-v102-home-categories .sunny-v102-category-card__copy p{color:#ffffff!important}
html[data-theme="dark"] .sunny-v102-home-categories .sunny-v102-category-card__copy b{background:#ffdb69!important;color:#233047!important;border-color:#ffdb69!important}
/* Cards, rental awnings (art unchanged), informational surfaces. */
html[data-theme="dark"] :is(.sunny-new-card,.sunny-v102-catalog-card,.sunny-awning-card,.sunny-v130-benefit-card,
 .sunny-v102-benefit-grid>div,.sunny-v102-journey>div,.sunny-v102-contact-card,.sunny-v102-info-card-grid article,
 .sunny-v102-policy-note,.sunny-v102-legal-card,.sunny-v102-faq-nav,.sunny-v102-faq-groups details,
 .sunny-v102-search-dialog,.sunny-v102-search-empty-state,.sunny-v102-catalog-empty,.sunny-empty,
 .sunny-v102-detail-card,.sunny-v121-product-card,.sunny-v102-purchase-panel,
 .sunny-v121-details,.sunny-v121-details--always-open,.sunny-v121-custom-note){
  background-color:#273346!important;border-color:#465369!important;color:#f8f3e9!important
}
html[data-theme="dark"] :is(.sunny-new-card__title,.sunny-new-card__price,.sunny-awning-title,
 .sunny-v130-benefit-card h3,.sunny-v102-journey h3,.sunny-v102-contact-card h2,
 .sunny-v102-info-card-grid h2,.sunny-v102-faq-groups summary,.sunny-v102-legal-card h2,
 .sunny-v121-product-card h1,.sunny-v102-detail-info h1,.sunny-v121-details-head,
 .sunny-v121-details summary,.sunny-v102-detail-accordions summary,
 .sunny-v102-catalog-hero h1){color:#f8f3e9!important}
html[data-theme="dark"] :is(.sunny-v130-benefit-card p,.sunny-v102-benefit-grid p,
 .sunny-v102-journey p,.sunny-v102-contact-card p,.sunny-v102-legal-card,
 .sunny-v121-short-desc,.sunny-v121-details-body,.sunny-v102-detail-short-desc,
 .sunny-v102-detail-accordions details>div,.sunny-new-card__from){color:#cbd5e4!important}
html[data-theme="dark"] .sunny-v102-journey>div>span, html[data-theme="dark"] .sunny-v102-feature-row>div{background:#34445d!important;color:#f3e8ff!important;border-color:#51617c!important}
html[data-theme="dark"] :is(.sunny-v102-filter-pills button,.sunny-v102-search-field,
 .sunny-v102-search-form,.sunny-v102-search-page__form){background:#273346!important;color:#f8f3e9!important;border-color:#465369!important}
html[data-theme="dark"] .sunny-v102-filter-pills button.is-active{background:#ffdc69!important;color:#243047!important;border-color:#ffdc69!important}
html[data-theme="dark"] .sunny-v102-search-field input{background:transparent!important;color:#f8f3e9!important}
/* Buttons and price colors; yellow ALWAYS uses dark writing in either theme. */
html[data-theme="dark"] :is(.sunny-new-card__btn,.sunny-v102-btn--primary,
 .sunny-awning-btn,.sunny-v121-cart-area .single_add_to_cart_button,
 .sunny-v132-shop-flow .sunny-v132-qty-button,.sunny-v132-shop-flow .sunny-v132-coupon-apply,
 .sunny-v132-shop-flow #place_order,.sunny-v132-shop-flow .sunny-v132-step.is-active b){
  background:#ffdb69!important;color:#243047!important;border-color:#eac85b!important
}
html[data-theme="dark"] :is(.sunny-v121-price,.sunny-v121-price .amount,.sunny-v102-detail-price,
 .sunny-v132-item-price,.sunny-v132-summary-total strong){color:#e1c9ff!important}
/* Product selection / quantity / purchase. */
html[data-theme="dark"] .sunny-v121-cart-area form.cart .quantity{background:#273346!important;border-color:#52617a!important}
html[data-theme="dark"] .sunny-v121-cart-area form.cart .quantity input.qty{background:#1b2636!important;color:#fff!important}
html[data-theme="dark"] .sunny-v121-cart-area .sunny-v121-qty-btn{background:#ffdb69!important;color:#243047!important}
html[data-theme="dark"] .sunny-v121-custom-note strong{color:#e7ceff!important}
html[data-theme="dark"] .sunny-v121-product-card .sunny-v121-stock.is-in{background:#244c44!important;color:#c0f5e1!important;border-color:#357061!important}
/* Cart, address, payment. No moving or hiding gateway forms. */
html[data-theme="dark"] :is(.sunny-v132-shop-flow,.sunny-v132-checkout-page,
 .sunny-v132-cart-page,.sunny-v132-checkout-form){background:#151d2b!important;color:#f8f3e9!important}

html[data-theme="dark"] .sunny-v132-shop-flow :is(h1,h2,h3,h4,label,.sunny-v132-cart-panel h2,
 .sunny-v132-checkout-panel-head-v50 h3,.sunny-v132-summary-total span,
 .sunny-v132-summary-row strong,.sunny-v132-payment-heading h2,
 .sunny-v132-item-title,.sunny-v132-cart-item-name){color:#f8f3e9!important}
html[data-theme="dark"] .sunny-v132-shop-flow :is(p,.sunny-v132-summary-note,.sunny-v132-summary-row,
 .sunny-v132-checkout-panel-head-v50 p,.sunny-v132-item-description){color:#cbd5e4!important}
html[data-theme="dark"] .sunny-v132-shop-flow :is(input:not([type=checkbox]):not([type=radio]),textarea,select,
 .select2-selection,.select2-selection__rendered){background:#1b2636!important;color:#f8f3e9!important;border-color:#52617a!important}
html[data-theme="dark"] .sunny-v132-shop-flow .sunny-v132-qty-controls input.qty{background:transparent!important;color:#f8f3e9!important;border:0!important}
html[data-theme="dark"] .sunny-v132-shop-flow .sunny-v132-summary-total strong, html[data-theme="dark"] .sunny-v132-shop-flow .sunny-v132-summary-total strong *{color:#ead2ff!important}
html[data-theme="dark"] .sunny-v132-shop-flow .sunny-v132-primary{background:#ffdb69!important;color:#243047!important}
html[data-theme="dark"] .sunny-v132-shop-flow .sunny-v132-back-link{background:#33445a!important;color:#f8f3e9!important}
html[data-theme="dark"] .woocommerce #payment, html[data-theme="dark"] .woocommerce #payment .payment_box{background:#273346!important;color:#f8f3e9!important}
html[data-theme="dark"] .woocommerce #payment .payment_box::before{border-bottom-color:#273346!important}
html[data-theme="dark"] :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){background:#273346!important;color:#f8f3e9!important;border-color:#52617a!important}
/* Footer and header are not allowed to inherit light backgrounds. Cloud menu uses its own night palette. */
html[data-theme="dark"] .sunny-header, html[data-theme="dark"] .sunny-navbar{background:#1b2636!important;border-color:#465369!important;color:#f8f3e9!important}
html[data-theme="dark"] .sunny-footer-wrapper, html[data-theme="dark"] .sunny-v102-footer{background:#151d2b!important;color:#f8f3e9!important;border-color:#465369!important}
html[data-theme="dark"] .sunny-footer-card{background:#273346!important;border-color:#465369!important;color:#f8f3e9!important}
html[data-theme="dark"] .sunny-footer-card :is(h3,h4,strong,.footer-bottom){color:#f8f3e9!important}
html[data-theme="dark"] .sunny-footer-card :is(p,.footer-bio,.footer-col a,.footer-help-box p){color:#cbd5e4!important}
html[data-theme="dark"] .sunny-v102-footer a{color:#daccf4!important}
/* Keep custom image and video elements unfiltered and unchanged. */
@media (prefers-reduced-motion:reduce){html[data-theme="dark"] *{scroll-behavior:auto!important}}
/* Final corner cases found in the night-mode contrast review. */
html[data-theme="dark"] :is(.sunny-v102-catalog-hero,.sunny-v102-contact-card.is-whatsapp,
 .sunny-v102-contact-card.is-instagram,.sunny-v102-whatsapp-cta__copy){
  background:#273346!important;background-image:none!important;border-color:#465369!important
}
html[data-theme="dark"] :is(.sunny-new-card__img-wrap,.sunny-v102-detail-main-image,
 .sunny-v121-main-image,.sunny-v102-catalog-hero__image){
  background:#303d52!important;border-color:#465369!important
}
html[data-theme="dark"] :is(.sunny-v102-catalog-count,.sunny-v102-search-count,
 .sunny-v102-info-hero p,.sunny-v102-catalog-hero__copy p){color:#cbd5e4!important}
