/* REHLA — Night theme: dark with pink glow. Loaded after rehla.css. */

html[data-theme="night"]{
  --cream:#100b12;
  --paper:#180f17;
  --ink:#f5ecf1;
  --muted:#b6a2b0;
  --forest:#ff5fa2;
  --forest-dark:#120a12;
  --sage:#2a1622;
  --gold:#ffa8cf;
  --line:rgba(255,95,162,.22);
  --shadow:0 20px 55px rgba(255,95,162,.16);
}

html[data-theme="night"] body{background:#100b12;color:#f5ecf1}

/* header + nav */
html[data-theme="night"] .site-header{background:rgba(16,11,18,.94);border-bottom-color:rgba(255,95,162,.18)}
html[data-theme="night"] .announce{background:#1c0f19;color:#ffd9ec}
html[data-theme="night"] .announce span{color:#ff5fa2}
html[data-theme="night"] .primary-nav>a{color:#d9c3d2}
html[data-theme="night"] .primary-nav>a:hover,
html[data-theme="night"] .primary-nav>a.active{color:#ff8ac4;text-shadow:0 0 14px rgba(255,95,162,.55)}
html[data-theme="night"] .language-switch{border-color:rgba(255,95,162,.35)}
html[data-theme="night"] .language-switch a{color:#c9b2c2}
html[data-theme="night"] .language-switch a.selected{background:#ff5fa2;color:#1a0d16;box-shadow:0 0 18px rgba(255,95,162,.55)}
html[data-theme="night"] .brand img{filter:brightness(0) invert(1)}
html[data-theme="night"] .menu-toggle span{background:#ff8ac4}

/* hero */
html[data-theme="night"] .hero{background:#0d0810}
html[data-theme="night"] .hero-veil{background:linear-gradient(90deg,rgba(16,6,14,.92) 0%,rgba(28,8,22,.74) 48%,rgba(255,95,162,.10) 100%)}
html[data-theme="night"] .hero-3d__card{box-shadow:0 30px 65px rgba(255,95,162,.35);border:1px solid rgba(255,95,162,.35)}

/* sections */
html[data-theme="night"] .section,
html[data-theme="night"] .intro-grid,
html[data-theme="night"] .values-section,
html[data-theme="night"] .product-section,
html[data-theme="night"] .split-feature,
html[data-theme="night"] .article-preview,
html[data-theme="night"] .rss-section,
html[data-theme="night"] .rehla-journal,
html[data-theme="night"] .news-section,
html[data-theme="night"] .social-section,
html[data-theme="night"] .company-story,
html[data-theme="night"] .recognition-section,
html[data-theme="night"] .company-contact,
html[data-theme="night"] .partners-band,
html[data-theme="night"] .founder-layout,
html[data-theme="night"] .founder-values,
html[data-theme="night"] .videos-section{background:#140d16}

html[data-theme="night"] .page-hero{background:linear-gradient(135deg,#1d0f1a,#100b12)}
html[data-theme="night"] .page-hero h1{color:#ffe4f1;text-shadow:0 0 30px rgba(255,95,162,.35)}
html[data-theme="night"] .page-hero p{color:#c3adbc}

/* cards */
html[data-theme="night"] .product-card,
html[data-theme="night"] .article-card,
html[data-theme="night"] .news-card,
html[data-theme="night"] .rss-card,
html[data-theme="night"] .recognition-card,
html[data-theme="night"] .value-grid article,
html[data-theme="night"] .affiliate-grid article{background:#1a1019;border-color:rgba(255,95,162,.20)}
html[data-theme="night"] .product-card:hover,
html[data-theme="night"] .article-card:hover,
html[data-theme="night"] .news-card:hover{box-shadow:0 18px 45px rgba(255,95,162,.28);border-color:rgba(255,95,162,.5)}
html[data-theme="night"] .product-image,
html[data-theme="night"] .article-image,
html[data-theme="night"] .news-card__image{background:#241626}
html[data-theme="night"] .product-info p,
html[data-theme="night"] .article-info p,
html[data-theme="night"] .news-card p,
html[data-theme="night"] .rss-card p,
html[data-theme="night"] .recognition-card p,
html[data-theme="night"] .value-grid p,
html[data-theme="night"] .lead,
html[data-theme="night"] .split-copy>p,
html[data-theme="night"] .founder-story p,
html[data-theme="night"] .contact-copy p,
html[data-theme="night"] .contact-details,
html[data-theme="night"] .section-heading>p,
html[data-theme="night"] .catalogue-note{color:#bda7b7}
html[data-theme="night"] .product-info h3,
html[data-theme="night"] .article-info h3,
html[data-theme="night"] .news-card h3,
html[data-theme="night"] .rss-card h3,
html[data-theme="night"] .value-grid h3,
html[data-theme="night"] .recognition-card h3,
html[data-theme="night"] .section-heading h2,
html[data-theme="night"] .intro-grid h2,
html[data-theme="night"] .split-copy h2,
html[data-theme="night"] .contact-copy h2,
html[data-theme="night"] .founder-story h2{color:#ffe9f4}
html[data-theme="night"] .news-card__source,
html[data-theme="night"] .eyebrow{color:#ff9ec8}
html[data-theme="night"] .value-number{color:#ff8ac4}
html[data-theme="night"] .recognition-card>img{background:#fff}

/* buttons + links */
html[data-theme="night"] .button-light{background:#ff5fa2;color:#1a0d16;box-shadow:0 0 26px rgba(255,95,162,.5)}
html[data-theme="night"] .button-dark{background:#ff5fa2;color:#1a0d16;box-shadow:0 0 26px rgba(255,95,162,.5)}
html[data-theme="night"] .button-outline-light{border-color:rgba(255,138,196,.6);color:#ffd9ec;background:rgba(255,95,162,.10)}
html[data-theme="night"] .text-link{color:#ff8ac4;border-bottom-color:rgba(255,95,162,.5)}
html[data-theme="night"] .text-link:hover{color:#ffd0e6;text-shadow:0 0 14px rgba(255,95,162,.6)}
html[data-theme="night"] .filter-button{border-color:rgba(255,95,162,.3);color:#ffb3d4}
html[data-theme="night"] .filter-button.active{background:#ff5fa2;border-color:#ff5fa2;color:#1a0d16;box-shadow:0 0 18px rgba(255,95,162,.5)}

/* forms */
html[data-theme="night"] .search-field,
html[data-theme="night"] .team-comment-form input,
html[data-theme="night"] .team-comment-form textarea{background:#1a1019;border-color:rgba(255,95,162,.28);color:#f5ecf1}
html[data-theme="night"] .team-comment-form label{color:#c9b2c2}
html[data-theme="night"] .team-comment-form button{background:#ff5fa2;color:#1a0d16;box-shadow:0 0 20px rgba(255,95,162,.45)}
html[data-theme="night"] .team-comments{border-top-color:rgba(255,95,162,.2)}
html[data-theme="night"] .team-comment-card{background:rgba(255,95,162,.06);border-color:rgba(255,95,162,.22)}
html[data-theme="night"] .team-comment-card p,
html[data-theme="night"] .team-comments__count{color:#bda7b7}
html[data-theme="night"] .team-comments__eyebrow{color:#ff9ec8}

/* bands + footer */
html[data-theme="night"] .closing-band{background:#1c0f19}
html[data-theme="night"] .site-footer{background:#0c070d;color:#e8dbe4}
html[data-theme="night"] .footer-main h2{color:#ff9ec8}
html[data-theme="night"] .footer-main>div>a{color:#d6c2d0}
html[data-theme="night"] .footer-main>div>a:hover{color:#ff8ac4;text-shadow:0 0 14px rgba(255,95,162,.6)}
html[data-theme="night"] .footer-note,
html[data-theme="night"] .footer-bottom a{color:#ff9ec8}
html[data-theme="night"] .footer-bottom{border-top-color:rgba(255,95,162,.2);color:#c0aab8}

/* share bar */
html[data-theme="night"] .share-btn{border-color:rgba(255,95,162,.3);color:#f0dfe9}
html[data-theme="night"] .share-btn--copy:hover{background:#ff5fa2;border-color:#ff5fa2;color:#1a0d16}
html[data-theme="night"] .share-bar__label{color:#c0aab8}

/* theme toggle button */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;border:1px solid #d4dbd1;background:transparent;color:var(--forest);cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s,color .2s}
.theme-toggle:hover{transform:translateY(-1px)}
.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .tt-sun{display:none}
html[data-theme="night"] .theme-toggle{border-color:rgba(255,95,162,.45);color:#ff8ac4;box-shadow:0 0 18px rgba(255,95,162,.35)}
html[data-theme="night"] .theme-toggle .tt-sun{display:block}
html[data-theme="night"] .theme-toggle .tt-moon{display:none}
@media(max-width:760px){.theme-toggle{align-self:flex-start;margin-top:12px}}

/* ---------- Coverage: nothing should stay light in night mode ---------- */

/* keep dark surfaces even when a page sets a light background inline */
html[data-theme="night"] .section,
html[data-theme="night"] .news-section,
html[data-theme="night"] .product-section,
html[data-theme="night"] .split-feature,
html[data-theme="night"] .article-preview,
html[data-theme="night"] .rss-section,
html[data-theme="night"] .rehla-journal,
html[data-theme="night"] .videos-section,
html[data-theme="night"] .social-section,
html[data-theme="night"] .company-story,
html[data-theme="night"] .recognition-section,
html[data-theme="night"] .company-contact,
html[data-theme="night"] .partners-band,
html[data-theme="night"] .founder-layout,
html[data-theme="night"] .founder-values{background-color:#140d16 !important}

html[data-theme="night"] .hero-inner>p{color:#e9d6e2}
html[data-theme="night"] .hero-mark,
html[data-theme="night"] .hero .eyebrow{color:#ffd9ec}

html[data-theme="night"] .video-card,
html[data-theme="night"] .video-frame,
html[data-theme="night"] .social-grid a{background:#1a1019;border-color:rgba(255,95,162,.22)}
html[data-theme="night"] .video-card h2{color:#ffe9f4}
html[data-theme="night"] .social-grid b{color:#ff9ec8}
html[data-theme="night"] .social-grid span{color:#c9b2c2}
html[data-theme="night"] .affiliate-perks span{border-color:rgba(255,95,162,.32);color:#ffb3d4}

html[data-theme="night"] .shop-toolbar,
html[data-theme="night"] .product-tags button,
html[data-theme="night"] .qty-row input,
html[data-theme="night"] .gallery-thumbs button{background:#1a1019;border-color:rgba(255,95,162,.28);color:#f5ecf1}
html[data-theme="night"] .product-tags button.active{background:#ff5fa2;border-color:#ff5fa2;color:#1a0d16}
html[data-theme="night"] .stock-pill{background:rgba(255,95,162,.16);color:#ffd0e6}
html[data-theme="night"] .price,
html[data-theme="night"] .product-meta h1{color:#ffe9f4}
html[data-theme="night"] .catalogue-note,
html[data-theme="night"] .news-note{color:#bda7b7}

html[data-theme="night"] .article-page,
html[data-theme="night"] .cart-section,
html[data-theme="night"] .checkout-section{background-color:#140d16}
html[data-theme="night"] .article-page h1,
html[data-theme="night"] .article-page h2,
html[data-theme="night"] .article-page h3{color:#ffe9f4}
html[data-theme="night"] .article-page p,
html[data-theme="night"] .article-page li,
html[data-theme="night"] .article-page blockquote{color:#c3adbc}

html[data-theme="night"] .rehla-chat-panel{background:#1a1019;border-color:rgba(255,95,162,.28)}
html[data-theme="night"] .rehla-chat-head{background:#1c0f19}
html[data-theme="night"] .rehla-chat-form input{background:#120b12;border-color:rgba(255,95,162,.3);color:#f5ecf1}
html[data-theme="night"] .rehla-chat-note{color:#bda7b7}