/* Sense Roastery 8.1 — RTL eyebrow labels, semantic light-surface contrast and
   optional site-wide custom font. Loaded after all existing theme CSS. */

/* Elementor heading widgets formerly forced LTR and left alignment. A normal
   RTL flex row places the text first (right) and ::after hairline second (left).
   Apply to saved Elementor posts without changing their stored widget data. */
html body :is(.sense-main-content,.sr-elementor-site-header,.sr-elementor-site-footer) .sr-eyebrow{
  direction:rtl!important;
  text-align:right!important;
  align-self:stretch!important;
}
html body :is(.sense-main-content,.sr-elementor-site-header,.sr-elementor-site-footer) .sr-eyebrow .elementor-heading-title{
  display:flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  text-align:right!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px;
  width:100%;
}
html body :is(.sense-main-content,.sr-elementor-site-header,.sr-elementor-site-footer) .sr-eyebrow .elementor-heading-title::before{
  content:none!important;
}
html body :is(.sense-main-content,.sr-elementor-site-header,.sr-elementor-site-footer) .sr-eyebrow .elementor-heading-title::after{
  content:""!important;
  display:block!important;
  width:27px!important;
  height:1px!important;
  flex:0 0 27px!important;
  background:currentColor!important;
  order:1;
}

/* Readable dark-on-light typography, even when saved Elementor widgets carry
   pale text settings. Dark editorial sections are intentionally excluded. */
html body .sense-main-content .elementor :is(
  .sr-hero-section,.sr-services-section,.sr-catalog-section,.sr-packaging-section,
  .sr-process-section,.sr-values-section,.sr-about-hero-section,
  .sr-about-quote-section,.sr-contact-hero-section,.sr-contact-section
) :is(.elementor-widget-heading,.elementor-widget-icon-list) :is(.elementor-heading-title,.elementor-icon-list-text){
  color:var(--sr-ink)!important;
  -webkit-text-fill-color:var(--sr-ink)!important;
  opacity:1!important;
}
html body .sense-main-content .elementor :is(
  .sr-hero-section,.sr-services-section,.sr-catalog-section,.sr-packaging-section,
  .sr-process-section,.sr-values-section,.sr-about-hero-section,
  .sr-about-quote-section,.sr-contact-hero-section,.sr-contact-section
) .elementor-widget-text-editor :is(p,span,strong,em,li,a,small){
  color:var(--sr-muted)!important;
  -webkit-text-fill-color:var(--sr-muted)!important;
  opacity:1!important;
}
/* Preserve the intentional dark-but-accented emphasis, not pale grey text. */
html body .sense-main-content .elementor :is(.sr-hero-second,.sr-packaging-highlight,.sr-title-highlight) .elementor-heading-title{
  color:var(--sr-accent)!important;
  -webkit-text-fill-color:var(--sr-accent)!important;
}
html body .sense-main-content .elementor :is(
  .sr-hero-section,.sr-services-section,.sr-catalog-section,.sr-packaging-section,
  .sr-process-section,.sr-values-section,.sr-about-hero-section,.sr-about-quote-section,.sr-contact-section
) .sr-eyebrow .elementor-heading-title{
  color:var(--sr-accent)!important;
  -webkit-text-fill-color:var(--sr-accent)!important;
}
/* Non-Elementor PHP fallbacks use these same semantic colors. */
html body .sense-main-content :is(.hero-copy,.section,.packaging-copy) :is(h1,h2,h3){
  color:var(--sr-ink)!important;
}
html body .sense-main-content :is(.hero-copy,.section,.packaging-copy) :is(.eyebrow,.lead,.large-text,.hero-note,.catalog-meta,.catalog-note){
  color:var(--sr-muted)!important;
}
html body .sense-main-content :is(.hero-copy,.section,.packaging-copy) :is(h1 span,h2 em){
  color:var(--sr-accent)!important;
}
/* The contact hero uses --sr-alt, which may differ from the regular paper. */
html body .sense-main-content .elementor .sr-contact-hero-section :is(.elementor-heading-title,.elementor-icon-list-text){
  color:var(--sr-alt-ink)!important;
  -webkit-text-fill-color:var(--sr-alt-ink)!important;
}
html body .sense-main-content .elementor .sr-contact-hero-section .elementor-widget-text-editor :is(p,span,strong,em,li,a){
  color:var(--sr-alt-ink)!important;
  -webkit-text-fill-color:var(--sr-alt-ink)!important;
}
/* Light cards and form fields retain contrast even in custom palette presets. */
html body .sense-main-content :is(.sense-catalog-widget .product-body,.sense-contact-widget .form-card,.sr-contact-form .form-card) :is(h2,h3,h4,p,span,strong,small,label,a){
  color:var(--sr-card-ink)!important;
  -webkit-text-fill-color:var(--sr-card-ink)!important;
}
html body .sense-main-content :is(.sense-contact-widget,.sr-contact-form) :is(input,select,textarea){
  color:var(--sr-ink)!important;
  -webkit-text-fill-color:var(--sr-ink)!important;
  background-color:var(--sr-paper)!important;
}
html body .sense-main-content :is(.sense-contact-widget,.sr-contact-form) :is(input,textarea)::placeholder{
  color:var(--sr-muted)!important;
  -webkit-text-fill-color:var(--sr-muted)!important;
  opacity:1!important;
}
/* Buttons on intentionally dark backgrounds must remain light. */
html body .sense-main-content .sense-catalog-widget .filter-btn[aria-pressed="true"],
html body .sense-main-content :is(.sense-contact-widget,.sr-contact-form) button[type="submit"]{
  color:var(--sr-button-text)!important;
  -webkit-text-fill-color:var(--sr-button-text)!important;
}
html body .sr-elementor-site-header :is(.elementor-heading-title,.sense-el-navigation a:not(.btn)),
html body .sr-elementor-site-footer :is(.elementor-heading-title,.elementor-widget-text-editor p,.elementor-widget-text-editor span,.sr-footer-link a){
  color:var(--sr-ink)!important;
  -webkit-text-fill-color:var(--sr-ink)!important;
}
html body .sr-elementor-site-footer :is(.sr-footer-description,.sr-footer-quote) :is(p,span){
  color:var(--sr-muted)!important;
  -webkit-text-fill-color:var(--sr-muted)!important;
}

/* Custom font selectors are generated in 8.6 after all theme CSS layers. */
