/*
Theme Name:   MounaLife
Theme URI:    https://mounalife.com
Description:  Das Design von MounaLife. Kind-Theme von Astra.
Author:       MounaLife · Akaymano AG
Template:     astra
Version:      2.9.5
Text Domain:  mounalife
*/

/* ==========================================================================
   1 · Grundwerte
   Jede Farbe, Schrift und Grösse der Seite kommt von hier.
   ========================================================================== */

@font-face{
  font-family:"Italiana";
  src:url("assets/fonts/italiana-400.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Poiret One";
  src:url("assets/fonts/poiret-one-400.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  --ml-bg:#0B0A08;
  --ml-bg-2:#141210;
  --ml-text:#F7F4EE;
  --ml-text-soft:rgba(247,244,238,.74);
  --ml-gold:#C5AF73;
  --ml-gold-hover:#D3B975;
  --ml-line:rgba(197,175,115,.35);
  --ml-alt:#0E0D0B;
  --ml-wordmark:#1E1C17;

  --ml-font-display:"Italiana","Didot","Bodoni 72",serif;
  --ml-font-eyebrow:"Poiret One","Helvetica Neue",Arial,sans-serif;
  --ml-font-text:"Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* ==========================================================================
   2 · Schrift
   Überschriften im Seiteninhalt in Italiana, nie kursiv. Fliesstext Helvetica Neue.
   Produkt-Titel, Drawer, Library-Karten, Popups und Fuss bleiben in Helvetica Neue.
   Übergang: die :not(#z)-Zusätze sind nötig, solange bestand.css eine
   Schrift für alles erzwingt. Sie fallen mit bestand.css weg.
   ========================================================================== */

html body .entry-content :is(h1,h2,h3):not([class*="tsty-"]):not([class*="tsty-"] *):not(#z):not(#z),
html body .entry-content :is(h1,h2,h3):not([class*="tsty-"]):not([class*="tsty-"] *):not(#z):not(#z) *:not(i):not([class*="icon"]){
  font-family:var(--ml-font-display) !important;
  font-weight:400 !important;
  font-style:normal !important;
  letter-spacing:.01em;
}

html body .ml-eyebrow:not(#z):not(#z){
  font-family:var(--ml-font-eyebrow) !important;
  font-size:17px;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--ml-text-soft) !important;
  -webkit-text-fill-color:var(--ml-text-soft) !important;
}

/* ==========================================================================
   3 · Kopfleiste
   Logo als Vektor, Kopfleiste läuft beim Scrollen mit,
   der Menüpunkt der aktuellen Seite leuchtet gold.
   ========================================================================== */

html body #masthead{
  position:sticky;
  top:0;
  z-index:999;
}

html body.admin-bar #masthead{
  top:32px;
}

@media (max-width:782px){
  html body.admin-bar #masthead{ top:46px; }
}

html body #masthead .ml-logo{
  display:block;
  line-height:0;
}

html body #masthead .ml-logo img{
  display:block;
  height:64px;
  width:auto;
  max-width:none;
}

@media (max-width:921px){
  html body #masthead .ml-logo img{ height:52px; }
}

@media (max-width:544px){
  html body #masthead .ml-logo img{ height:42px; }
}

html body #masthead .main-header-menu > :is(.current-menu-item,.current-menu-ancestor,.current_page_item,.current_page_ancestor) > a:not(#z):not(#z),
html body #ast-mobile-header .main-header-menu :is(.current-menu-item,.current_page_item) > a:not(#z):not(#z){
  color:var(--ml-gold) !important;
  -webkit-text-fill-color:var(--ml-gold) !important;
}

html body #masthead{
  border-bottom:1px solid rgba(197,175,115,.35) !important;
}

/* Die Customizer-Einstellung gab der Kopfzeile 30px Abstand nach unten.
   Weg damit, damit die Goldlinie direkt unter Logo und Menü sitzt. */
html body #masthead .ast-above-header.ast-above-header-bar:not(#z){
  margin:0 !important;
  padding:0 !important;
}

@media (min-width:922px){
  html body #ast-desktop-header .ast-builder-grid-row.ast-grid-center-col-layout{
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center !important;
    column-gap:24px !important;
    row-gap:0 !important;
    padding:16px 0 !important;
    border-bottom:0 !important;
  }
  html body #ast-desktop-header :is(.site-header-above-section-left,.site-header-above-section-center,.site-header-above-section-right,.site-header-primary-section-left,.site-header-primary-section-center,.site-header-primary-section-right){
    order:0 !important;
    margin:0 !important;
    flex:none !important;
    max-width:none !important;
    width:auto !important;
    position:static !important;
    align-items:center !important;
    align-self:center !important;
  }
  html body #ast-desktop-header :is(.site-header-above-section-left,.site-header-primary-section-left){ justify-content:flex-start !important; }
  html body #ast-desktop-header :is(.site-header-above-section-center,.site-header-primary-section-center){ justify-content:center !important; }
  html body #ast-desktop-header :is(.site-header-above-section-right,.site-header-primary-section-right){ justify-content:flex-end !important; }
}

/* ==========================================================================
   4 · Fuss
   Vier Spalten, darunter der grosse Namenszug. Ersetzt den Astra-Fuss.
   ========================================================================== */

html body #colophon{ display:none !important; }

html body .ml-ft{
  background:var(--ml-bg);
  padding:0;
  overflow:hidden;
}
/* Haarlinie oben: trennt die Fusszeile ruhig vom letzten Abschnitt, so breit wie die vier Spalten */
html body .ml-ft .ml-ft-in::before{ content:""; display:block; height:1px; background:rgba(197,175,115,.22); margin:0 0 80px; }
html body .ml-ft .ml-ft-in{ max-width:1200px; margin:0 auto; padding:0 110px; }
html body .ml-ft .ml-fcols{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
html body .ml-ft h6:not(#z){
  font-family:var(--ml-font-text) !important;
  font-size:11px !important;
  font-weight:400 !important;
  letter-spacing:.22em !important;
  text-transform:uppercase !important;
  color:rgba(247,244,238,.58) !important;
  -webkit-text-fill-color:rgba(247,244,238,.58) !important;
  margin:0 0 24px !important;
}
html body .ml-ft a.ml-fl:not(#z){
  display:block;
  font-size:14px !important;
  font-weight:300 !important;
  line-height:1.4 !important;
  color:rgba(247,244,238,.82) !important;
  -webkit-text-fill-color:rgba(247,244,238,.82) !important;
  text-decoration:none !important;
  margin:0 0 9px;
}
html body .ml-ft a.ml-fl:not(#z):hover{
  color:var(--ml-gold) !important;
  -webkit-text-fill-color:var(--ml-gold) !important;
}
html body .ml-ft .ml-ft-mark{
  position:relative;
  max-width:1200px;
  margin:70px auto 0;
  padding:0 40px;
}
html body .ml-ft .ml-wordmark{
  width:100%;
  aspect-ratio:581/95;
  background:var(--ml-wordmark);
  -webkit-mask:url("assets/img/mounalife-wortmarke.svg") center bottom/contain no-repeat;
  mask:url("assets/img/mounalife-wortmarke.svg") center bottom/contain no-repeat;
}
html body .ml-ft .ml-copy:not(#z){
  position:absolute;
  left:0;
  right:0;
  bottom:18%;
  text-align:center;
  font-size:13px !important;
  font-weight:300 !important;
  color:rgba(247,244,238,.62) !important;
  -webkit-text-fill-color:rgba(247,244,238,.62) !important;
  margin:0 !important;
}

@media (max-width:980px){
  html body .ml-ft .ml-ft-in::before{ margin-bottom:64px; }
  html body .ml-ft .ml-ft-in{ padding:0 48px; }
  html body .ml-ft .ml-ft-mark{ margin-top:56px; padding:0 24px; }
}
@media (max-width:600px){
  html body .ml-ft .ml-ft-in::before{ margin-bottom:52px; }
  html body .ml-ft .ml-ft-in{ padding:0 20px; }
  html body .ml-ft .ml-fcols{ grid-template-columns:1fr 1fr; gap:26px 20px; }
  html body .ml-ft .ml-ft-mark{ margin-top:44px; padding:0 12px 34px; }
  html body .ml-ft .ml-copy:not(#z){ bottom:6px; font-size:12px !important; }
}

/* ==========================================================================
   5 · Knöpfe
   Alle goldenen Knöpfe leuchten beim Darüberfahren leicht auf.
   ========================================================================== */

html body :is(.tsty-search-btn,.tsty-shop-card__cta,.tsty-drawer-buy,.tsty-drawer-related-add,.wp-block-button__link,.checkout-button,.single_add_to_cart_button,#place_order){
  transition:box-shadow .35s ease,color .25s ease !important;
}
html body :is(.tsty-search-btn,.tsty-shop-card__cta,.tsty-drawer-buy,.tsty-drawer-related-add,.wp-block-button__link,.checkout-button,.single_add_to_cart_button,#place_order):is(:hover,:focus-visible){
  box-shadow:0 2px 8px rgba(0,0,0,.25),0 0 22px rgba(222,194,136,.45) !important;
}

/* ==========================================================================
   6 · Symbole im Kopf (Bibliothek, Warenkorb, Abmelden, Startseite)
   Klein, Symbol in Elfenbein wie das Menü, feiner heller Rahmen wie die
   Textfelder. Beim Darüberfahren werden Symbol und Rahmen gold.
   ========================================================================== */

html body :is(#masthead,.tsty-hb-float) .tsty-hdr-btns:not(#z):not(#z),
html body .tsty-hb-float:not(#z):not(#z){ gap:10px !important; }

html body :is(#masthead,.tsty-hb-float) :is(.tsty-hb,a.tsty-hb-out):not(#z):not(#z),
html body :is(#masthead,.tsty-hb-float) a.tsty-stepout-btn:not(#z):not(#z) .ast-custom-button:not(#z):not(#z){
  width:34px !important;
  height:34px !important;
  flex:0 0 34px !important;
  padding:0 !important;
  background:transparent !important;
  border:1px solid rgba(247,244,238,.35) !important;
  border-radius:0 !important;
  color:var(--ml-text) !important;
  -webkit-text-fill-color:var(--ml-text) !important;
  box-shadow:none !important;
  transition:color .25s ease,border-color .25s ease !important;
}
html body :is(#masthead,.tsty-hb-float) :is(.tsty-hb,a.tsty-hb-out):not(#z):not(#z) svg,
html body :is(#masthead,.tsty-hb-float) a.tsty-stepout-btn:not(#z):not(#z) .ast-custom-button:not(#z):not(#z) svg{
  width:17px !important;
  height:17px !important;
}
html body :is(#masthead,.tsty-hb-float) :is(.tsty-hb,a.tsty-hb-out):not(#z):not(#z):is(:hover,:focus-visible),
html body :is(#masthead,.tsty-hb-float) a.tsty-stepout-btn:not(#z):not(#z):is(:hover,:focus-visible) .ast-custom-button:not(#z):not(#z){
  color:var(--ml-gold) !important;
  -webkit-text-fill-color:var(--ml-gold) !important;
  border-color:var(--ml-gold) !important;
  background:transparent !important;
}
html body :is(#masthead,.tsty-hb-float) .tsty-hb-n:not(#z):not(#z){
  top:-7px !important;
  right:-7px !important;
  min-width:16px !important;
  height:16px !important;
  font-size:10px !important;
  padding:0 4px !important;
}

/* Key-Drop-Bilder sind im Original hochformatig, auf der Website oft querformatig zugeschnitten.
   Der Ausschnitt sitzt deshalb oben im Bild, damit Köpfe ganz sichtbar bleiben,
   überall wo ein Story-Bild beschnitten wird: Story-Karten, Key-Drop-Karten, Library,
   Produktseite, Drawer. */
#ml .ml-sc-img img,
#ml .ml-kdc .ml-still img,
.tsty-lib2-thumb img,
.single-product div.product .woocommerce-product-gallery img,
.single-product div.product div.images img,
html body .tsty-kd-mobile .tsty-kd-img,
img.tsty-kd-img{
  object-position:50% 18% !important;
}
/* A Quiet Mind: Kopf sitzt tief im Bild, Ausschnitt in der Mitte (siehe mounalife_img_focus) */
.postid-1411.single-product div.product .woocommerce-product-gallery img,
.postid-1411.single-product div.product div.images img{ object-position:50% 50% !important; }
