/* ============================================================
   CAFETIME – Premium CSS v3
   Palette: Espresso · Crema · Gold
   Fonts: Playfair Display + Lato
   ============================================================ */

:root {
  --espresso:   #2C1810;
  --roast:      #6F3D2A;
  --caramel:    #B07030;
  --gold:       #C8922A;
  --crema:      #FAF6F0;
  --cream-mid:  #F0E8DC;
  --text-dark:  #1A0A00;
  --text-mid:   #5A3E35;
  --text-light: #9A8070;
  --white:      #FFFFFF;
}

/* --- GLOBAL FONTS ------------------------------------------ */
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* --- HEADER ------------------------------------------------ */
#header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 12px rgba(44,24,16,0.06);
  padding: 0;
}
#header .header-top {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
#header .logo {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 8px 0;
}
#header .logo img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}
#header h1.logo,
#header h1.logo a {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* Navigation */
#header .top-menu > li > a {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 14px;
  color: var(--espresso);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
}
#header .top-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--caramel);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
#header .top-menu > li > a:hover { color: var(--caramel); text-decoration: none; }
#header .top-menu > li > a:hover::after { transform: scaleX(1); }

/* Mobile */
@media (max-width: 768px) {
  #header .logo { height: 58px; }
  #header .logo img { max-height: 44px; }
  #mobile_top_menu_wrapper { background: var(--white); padding: 8px 0; }
  #mobile_top_menu_wrapper .top-menu a {
    font-size: 0.95rem;
    padding: 13px 18px;
    border-bottom: 1px solid var(--cream-mid);
    display: block;
    letter-spacing: 0.06em;
    font-weight: 600;
  }
}

/* --- HERO -------------------------------------------------- */
.ct-hero {
  background:
    linear-gradient(135deg, rgba(20,8,2,0.88) 0%, rgba(45,20,8,0.78) 50%, rgba(75,35,15,0.72) 100%),
    url('../img/hero_coffee.png') center center / cover no-repeat;
  padding: 96px 24px 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Kaffee-Textur Overlay */
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200,146,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(176,112,48,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.ct-hero__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ct-hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ct-hero__eyebrow::before,
.ct-hero__eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.ct-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.ct-hero__sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}
.ct-hero__cats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ct-btn {
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.22s ease;
  display: inline-block;
}
.ct-btn--primary {
  background: var(--caramel);
  color: var(--white);
  border: 2px solid var(--caramel);
  box-shadow: 0 4px 16px rgba(176,112,48,0.35);
}
.ct-btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(176,112,48,0.45);
}
.ct-btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.ct-btn--outline:hover {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* --- USP-LEISTE -------------------------------------------- */
.ct-usps {
  background: var(--crema);
  border-top: 1px solid var(--cream-mid);
  border-bottom: 1px solid var(--cream-mid);
  padding: 22px 16px;
}
.ct-usps__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
}
.ct-usp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 130px;
  gap: 3px;
}
.ct-usp__icon { font-size: 1.4rem; margin-bottom: 4px; }
.ct-usp strong {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--espresso);
}
.ct-usp span {
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 300;
}

/* --- PRODUKTLISTE TITEL ------------------------------------ */
.featured-products h2,
.products-section-title,
section.featured-products > h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.6rem !important;
  color: var(--espresso) !important;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

/* --- PRODUKTKARTEN ----------------------------------------- */
.product-miniature {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border-radius: 2px;
}
.product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44,24,16,0.12) !important;
}
.product-miniature .product-thumbnail {
  overflow: hidden;
  background: var(--crema);
}
.product-miniature .product-thumbnail img {
  transition: transform 0.35s ease;
  height: 200px;
  width: 100%;
  object-fit: contain;
  padding: 12px;
}
.product-miniature:hover .product-thumbnail img {
  transform: scale(1.04);
}
.product-miniature .product-title a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--espresso) !important;
  text-decoration: none;
  transition: color 0.15s;
}
.product-miniature .product-title a:hover {
  color: var(--caramel) !important;
}
.product-miniature .price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem !important;
  font-weight: 700;
  color: var(--caramel) !important;
}

/* --- PRODUKTSEITEN ----------------------------------------- */
.page-product h1.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 8px;
}
.product-description-short {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}
.product-description ul { list-style: none; padding: 0; margin: 16px 0; }
.product-description ul li { padding: 4px 0; color: var(--text-mid); }
.product-description ul li::before { content: "✓  "; color: var(--caramel); font-weight: 700; }
.current-price {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: var(--caramel) !important;
}
.product-add-to-cart .btn-primary {
  background: var(--roast) !important;
  border-color: var(--roast) !important;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(111,61,42,0.3);
}
.product-add-to-cart .btn-primary:hover {
  background: var(--espresso) !important;
  border-color: var(--espresso) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44,24,16,0.35);
}

/* --- FOOTER ------------------------------------------------ */
#footer .footer-container {
  background: var(--espresso);
  color: rgba(255,255,255,0.6);
}
#footer .footer-container h4,
#footer .footer-container .h4 {
  font-family: 'Lato', sans-serif;
  color: var(--white);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#footer .footer-container ul li a {
  font-family: 'Lato', sans-serif;
  color: rgba(255,255,255,0.55);
  font-size: 0.84rem;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.15s;
}
#footer .footer-container ul li a:hover { color: var(--gold); }
#footer .footer-bottom-content,
#footer .footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Shop-Einstellungen + doppelter Copyright verstecken */
.footer__shop-settings,
#footer .block-contact .h4,
#footer .block-contact h4,
#footer [data-toggle="collapse"],
#footer .js-toggle-container { display: none !important; }

/* --- NEWSLETTER -------------------------------------------- */
.block_newsletter {
  background: var(--roast) !important;
}
.block_newsletter .h4,
.block_newsletter h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--white) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}

/* --- BREADCRUMB -------------------------------------------- */
.breadcrumb {
  background: transparent;
  padding: 12px 0;
}
.breadcrumb-item a {
  color: var(--text-light);
  font-size: 0.82rem;
  font-family: 'Lato', sans-serif;
}
.breadcrumb-item.active {
  color: var(--espresso);
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 768px) {
  .ct-hero { padding: 52px 20px 44px; }
  .ct-hero__title { font-size: 2.1rem; }
  .ct-usps__inner { gap: 20px; }
}
@media (max-width: 480px) {
  .ct-hero__title { font-size: 1.75rem; }
  .ct-usps__inner { flex-direction: column; align-items: center; }
}

/* Newsletter Button */
.block_newsletter .btn,
.block_newsletter button[type="submit"] {
  background: var(--caramel) !important;
  border-color: var(--caramel) !important;
  color: var(--white) !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  transition: all 0.2s !important;
}
.block_newsletter .btn:hover,
.block_newsletter button[type="submit"]:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  transform: translateY(-1px) !important;
}

/* Footer Spalten-Titel sichtbar machen */
#footer .footer-container .h4,
#footer .footer-container h4,
#footer .links .h4,
#footer .links h4 {
  color: rgba(255,255,255,0.45) !important;
  display: block !important;
}

/* Newsletter full-width */
#footer .block_newsletter_block,
#footer .block-newsletter,
.block_newsletter {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Newsletter – kompakt und dezent */
#footer .block_newsletter_block,
#footer .block-newsletter,
.block_newsletter {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 3px !important;
  padding: 20px 28px !important;
  max-width: 680px !important;
  margin: 0 auto 32px !important;
}
.block_newsletter .h4,
.block_newsletter h4 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  margin-bottom: 12px !important;
}
.block_newsletter .form-control {
  font-size: 0.85rem !important;
  padding: 8px 12px !important;
  height: auto !important;
}
.block_newsletter .btn,
.block_newsletter button[type="submit"] {
  padding: 8px 20px !important;
  font-size: 0.78rem !important;
}
.block_newsletter p {
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.3) !important;
  margin-top: 8px !important;
}

/* Newsletter als Footer-Spalte */
#footer .block_newsletter_block,
#footer .block-newsletter,
.block_newsletter {
  background: transparent !important;
  border: none !important;
  border-left: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 0 !important;
  padding: 0 0 0 24px !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.block_newsletter .h4,
.block_newsletter h4 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.block_newsletter p.newsletter-desc {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-bottom: 12px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
}

/* Footer Spalten-Titel – gleich wie Newsletter */
#footer .footer-container .h4,
#footer .footer-container h4,
#footer .links .h4,
#footer .links h4 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  display: block !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Oberen Newsletter-Block (ausserhalb Footer) verstecken */
.container > .row > div > .block_newsletter,
#wrapper .block_newsletter { display: none !important; }

/* Nur im Footer sichtbar */
.ct-footer-newsletter .block_newsletter { display: block !important; }

/* Footer-Spalten-Titel heller */
#footer .footer-container .links .h4,
#footer .footer-container .links h4 {
  color: rgba(255,255,255,0.55) !important;
  display: block !important;
}

/* Newsletter Formular-Input sichtbar */
.ct-footer-newsletter .block_newsletter .input-wrapper input {
  display: block !important;
  width: 100% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: white !important;
  padding: 8px 10px !important;
  font-size: 0.8rem !important;
  margin-bottom: 8px !important;
}

/* displayFooterBefore Container ausserhalb Footer verstecken */
#footer-container-before { display: none !important; }
#footer-container-before + * .block_newsletter { display: none !important; }
.footer-before .block_newsletter,
[id*="footer_before"] .block_newsletter { display: none !important; }

/* Newsletter Footer-Formular */
.ct-nl-form { margin-top: 12px; }
.ct-nl-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-nl-input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.8) !important;
  padding: 8px 10px !important;
  font-size: 0.8rem !important;
  font-family: 'Lato', sans-serif !important;
  border-radius: 2px !important;
  width: 100% !important;
}
.ct-nl-input::placeholder { color: rgba(255,255,255,0.3) !important; }
.ct-nl-input:focus {
  outline: none !important;
  border-color: var(--caramel) !important;
  background: rgba(255,255,255,0.12) !important;
}
.ct-nl-btn {
  background: var(--caramel) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 8px 16px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  width: 100% !important;
}
.ct-nl-btn:hover { background: var(--gold) !important; }

/* Oberen Newsletter-Block definitiv verstecken */
.container .row .block_newsletter,
#footer-before .block_newsletter,
div[id=""] > .container > .row > div:has(.block_newsletter) {
  display: none !important;
}

/* Gezielt: alles ausser ct-footer-newsletter */
body > * .block_newsletter:not(.ct-footer-newsletter .block_newsletter) {
  display: none !important;
}

/* Spalten-Titel gleich wie Newsletter */
#footer .links .h4,
#footer .links h4 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.6) !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  margin-bottom: 14px !important;
  display: block !important;
}

/* Newsletter-Beschreibung gleiche Schrift wie Links */
.ct-newsletter-desc {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

/* ============================================================
   HEADER – Premium Redesign
   ============================================================ */

/* Top-Bar dunkler und eleganter */
#header .header-nav {
  background: var(--espresso) !important;
  color: rgba(255,255,255,0.8) !important;
  padding: 6px 0 !important;
  font-size: 0.82rem !important;
  border-bottom: none !important;
  min-height: 36px !important;
}
#header .header-nav a,
#header .header-nav span,
#header .header-nav i { color: rgba(255,255,255,0.75) !important; }
#header .header-nav a:hover { color: var(--gold) !important; }

/* Icons Anmelden / Warenkorb */
#header .header-nav .user-info a,
#header .header-nav .blockcart {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
}
#header .header-nav .blockcart {
  background: rgba(255,255,255,0.05) !important;
  padding: 4px 12px !important;
  border-radius: 2px !important;
}

/* Telefonnummer heller */
#header .header-nav .contact-rich {
  color: rgba(255,255,255,0.75) !important;
}
#header .header-nav .contact-rich a {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

/* --- LOGO: kein Verziehen bei kleinen Breiten ---------------- */
#header .logo {
  height: 72px;
  padding: 10px 0;
  max-width: 100%;
}
#header .logo img {
  max-height: 52px;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
}

/* Mobile/Tablet: Logo-Container feste Breite */
@media (max-width: 991px) {
  #header .logo img { max-height: 44px; }
}
@media (max-width: 768px) {
  #header .logo { height: 58px; }
  #header .logo img { max-height: 40px; }
}

/* --- SPRACHWAHL MIT FLAGGEN ---------------------------------- */
.language-selector-wrapper .language-selector .dropdown-toggle,
#_desktop_language_selector button.expand-more,
.language-selector button {
  font-size: 0 !important; /* Text verstecken */
  background: transparent !important;
  border: none !important;
  padding: 4px 8px !important;
  color: transparent !important;
}

/* Flagge vor der Sprache */
.language-selector-wrapper .language-selector .dropdown-toggle::before,
#_desktop_language_selector button.expand-more::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 16px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}
/* Standard = DE */
.language-selector-wrapper .language-selector .dropdown-toggle::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 480'><rect fill='%23DC143C' width='640' height='480'/><path fill='white' d='M0 0h640v240H0z'/><path fill='white' d='M240 110h160v20H240zm0 70h160v20H240zm0-105h160v20H240zm0 140h160v20H240zm20 35h120v20H260z' transform='translate(160 150) scale(1.2)'/></svg>");
}
/* FR-Aktiv */
body.lang-fr .language-selector-wrapper .language-selector .dropdown-toggle::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%230055A4'/><rect width='1' height='2' x='1' fill='white'/><rect width='1' height='2' x='2' fill='%23EF4135'/></svg>");
}
/* IT-Aktiv */
body.lang-it .language-selector-wrapper .language-selector .dropdown-toggle::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%23009246'/><rect width='1' height='2' x='1' fill='white'/><rect width='1' height='2' x='2' fill='%23CE2B37'/></svg>");
}

/* Dropdown-Einträge mit Flaggen */
.language-selector-wrapper .dropdown-menu a,
#_desktop_language_selector .dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
}
.language-selector-wrapper .dropdown-menu a[href*="/de/"]::before,
.language-selector-wrapper .dropdown-menu a[href*="/fr/"]::before,
.language-selector-wrapper .dropdown-menu a[href*="/it/"]::before {
  content: '';
  width: 20px;
  height: 14px;
  background-size: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.language-selector-wrapper .dropdown-menu a[href*="/de/"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'><rect width='5' height='1' fill='black'/><rect width='5' height='1' y='1' fill='%23DD0000'/><rect width='5' height='1' y='2' fill='%23FFCE00'/></svg>");
}
.language-selector-wrapper .dropdown-menu a[href*="/fr/"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%230055A4'/><rect width='1' height='2' x='1' fill='white'/><rect width='1' height='2' x='2' fill='%23EF4135'/></svg>");
}
.language-selector-wrapper .dropdown-menu a[href*="/it/"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%23009246'/><rect width='1' height='2' x='1' fill='white'/><rect width='1' height='2' x='2' fill='%23CE2B37'/></svg>");
}

/* Top-Bar-Separator zwischen Elementen */
#header .header-nav .row > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ============================================================
   SPRACHEN – Inline-Flaggen statt Dropdown
   ============================================================ */

/* Hauptbutton ausblenden */
.language-selector-wrapper .language-selector .dropdown-toggle,
#_desktop_language_selector button.expand-more,
.language-selector > button {
  display: none !important;
}

/* Dropdown immer sichtbar und inline */
.language-selector-wrapper .dropdown-menu,
#_desktop_language_selector .dropdown-menu,
.language-selector .dropdown-menu {
  display: flex !important;
  flex-direction: row !important;
  position: static !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px !important;
  float: none !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.language-selector-wrapper .dropdown-menu li,
#_desktop_language_selector .dropdown-menu li {
  list-style: none !important;
  display: inline-flex !important;
}

.language-selector-wrapper .dropdown-menu a,
#_desktop_language_selector .dropdown-menu a {
  padding: 3px !important;
  font-size: 0 !important;
  background: transparent !important;
  border-radius: 2px !important;
  opacity: 0.55 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.language-selector-wrapper .dropdown-menu a:hover,
#_desktop_language_selector .dropdown-menu a:hover {
  opacity: 1 !important;
  transform: translateY(-1px);
}
.language-selector-wrapper .dropdown-menu .current a,
.language-selector-wrapper .dropdown-menu a.current {
  opacity: 1 !important;
  box-shadow: 0 0 0 1px var(--gold);
}
.language-selector-wrapper .dropdown-menu a::before {
  width: 24px !important;
  height: 17px !important;
  margin: 0 !important;
}

/* Container-Korrekturen */
.language-selector-wrapper {
  display: flex !important;
  align-items: center !important;
}

/* ============================================================
   FOOTER – Titel einheitlich + gut lesbar
   ============================================================ */

/* Alle Footer-Titel gleich (Spalten + Newsletter) */
#footer .links .h4,
#footer .links h4,
.ct-footer-newsletter h4.h4,
.ct-footer-newsletter .h4,
.ct-footer-newsletter h4 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(200,146,42,0.25) !important;
  margin-bottom: 14px !important;
  display: block !important;
}

/* Links im Footer - besser sichtbar */
#footer .links ul li a,
#footer .footer-container ul li a {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 2 !important;
  transition: color 0.15s, padding-left 0.15s !important;
}
#footer .links ul li a:hover,
#footer .footer-container ul li a:hover {
  color: var(--gold) !important;
  padding-left: 4px;
}

/* Newsletter Beschreibung gleicher Stil wie Links */
.ct-newsletter-desc {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

/* Copyright dezenter */
#footer .footer-container p.text-sm-center {
  color: rgba(255,255,255,0.35) !important;
  font-size: 0.78rem !important;
  padding: 16px 0 !important;
  margin-top: 28px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* Newsletter-Input heller */
.ct-nl-input {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
}
.ct-nl-input::placeholder {
  color: rgba(255,255,255,0.4) !important;
}

/* Newsletter Button → ABONNIEREN statt OK */
.ct-nl-btn {
  background: var(--caramel) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  padding: 10px !important;
  font-weight: 700 !important;
}
.ct-nl-btn:hover {
  background: var(--gold) !important;
}

/* Footer-Titel – höchste Priorität */
.footer-container .links .wrapper h4,
.footer-container .links .wrapper .h4,
.footer-container div[class*="col"] h4,
.footer-container div[class*="col"] .h4 {
  color: #FFFFFF !important;
  opacity: 0.9 !important;
}

/* Force Footer-Titel hell */
#footer .footer-container h4,
#footer .footer-container .h4,
#footer h4,
#footer .h4 {
  color: #D4B896 !important;
}

/* Final Override Footer-Titel */
#footer .footer-container .links .h4,
#footer .footer-container .links h4,
.footer-container .links .h4,
.footer-container .links h4 {
  color: #D4B896 !important;
  opacity: 1 !important;
}

/* Auch direktes Target über Wrapper */
.footer-container [class*="col-"] .h4 {
  color: #D4B896 !important;
}

/* Ultimate Footer-Titel Fix */
html body #footer .footer-container h4,
html body #footer .footer-container .h4 {
  color: #E8D5B0 !important;
}

/* Parent-Opacity überschreiben */
#footer .footer-container .col-md-6.wrapper,
#footer .footer-container .wrapper,
#footer .footer-container [class*="col-md"] {
  opacity: 1 !important;
}

/* Titel mit voller Sichtbarkeit */
#footer p.h3.hidden-sm-down,
#footer .wrapper p.h3 {
  color: #F5E6C8 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Alle Footer-Spalten – Opacity forced */
#footer .footer-container .col-lg-3,
#footer .footer-container .col-md-6,
#footer .footer-container .col-sm-6,
#footer .footer-container .col-xs-12,
#block_myaccount_infos,
#links_block_top,
#footer [class*="myaccount"],
#footer [class*="links_block"] {
  opacity: 1 !important;
}

/* Auch jedes <p class="h3"> im Footer */
#footer p.h3 {
  color: #F5E6C8 !important;
  opacity: 1 !important;
}

/* Alle Footer-Titel gleiche Schrift wie Newsletter */
#footer p.h3,
#footer .h3,
#footer p.h3.hidden-sm-down,
html body #footer p.h3 {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(200,146,42,0.2) !important;
  margin-bottom: 14px !important;
}

/* "IHR KONTO" opacity fix */
#block_myaccount_infos,
#block_myaccount_infos *,
#footer .col-lg-3:last-of-type,
#footer [class*="myaccount"] {
  opacity: 1 !important;
}

/* Ihr Konto Titel speziell */
#footer .myaccount-title,
#footer .myaccount-title a,
#footer [class*="myaccount"] p.h3,
#footer [class*="myaccount"] .h3 {
  color: rgba(255,255,255,0.55) !important;
  opacity: 1 !important;
}

/* Ihr Konto Schriftart */
#footer .myaccount-title,
#footer .myaccount-title a,
#footer [class*="myaccount"] p.h3,
#footer [class*="myaccount"] .h3,
#footer .myaccount-title a span {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

/* ============================================================
   TYPOGRAFIE KONSOLIDIERUNG – nur noch 2 Fonts
   ============================================================ */

/* Alles per Default auf Lato */
body,
body *,
input, textarea, select, button,
.form-control,
.breadcrumb,
.breadcrumb-item,
.breadcrumb-item a,
.btn,
.dropdown-menu,
.nav,
#header *,
#wrapper *,
#footer *,
.page-product *,
.product-miniature *,
.product-description,
.product-description-short,
.pagination,
label,
table, td, th {
  font-family: 'Lato', sans-serif;
}

/* Nur Headlines in Playfair Display */
h1, h2, h3,
.h1, .h2, .h3,
.ct-hero__title,
.page-product h1.page-title,
.featured-products h2,
.products-section-title,
.current-price,
.product-miniature .price,
.block_newsletter h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ============================================================
   KATEGORIE-SEITEN
   ============================================================ */

/* Türkis → Caramel überall ersetzen */
a, a:link {
  color: var(--roast);
}
a:hover, a:focus {
  color: var(--caramel);
  text-decoration: none;
}

/* Kategorie-Titel */
.page-category h1,
#category h1,
.block-category h1,
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--espresso) !important;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

/* Kategorie-Beschreibung */
#category-description {
  color: var(--text-mid) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* Block-Category Hintergrund */
.block-category {
  background: var(--crema) !important;
  border: 1px solid var(--cream-mid) !important;
  padding: 32px !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  margin-bottom: 24px !important;
}

/* Unterkategorien-Block */
#subcategories {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}
#subcategories .subcategory-heading {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.3rem !important;
  color: var(--espresso) !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
}

/* Unterkategorie-Kacheln */
#subcategories ul li {
  background: var(--white) !important;
  border: 1px solid var(--cream-mid) !important;
  border-radius: 2px !important;
  padding: 20px !important;
  transition: all 0.2s !important;
  box-shadow: 0 1px 3px rgba(44,24,16,0.04) !important;
}
#subcategories ul li:hover {
  border-color: var(--caramel) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(44,24,16,0.1) !important;
}
#subcategories ul li .subcategory-image a {
  border: none !important;
  padding: 0 !important;
  background: var(--crema);
  display: block !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#subcategories ul li .subcategory-image a img {
  max-width: 80% !important;
  max-height: 120px !important;
  object-fit: contain !important;
}
#subcategories ul li:hover .subcategory-image a {
  border: none !important;
  padding: 0 !important;
}
#subcategories ul li .subcategory-name {
  font-family: 'Lato', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--espresso) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  display: block !important;
  padding: 12px 0 4px !important;
}
#subcategories ul li .subcategory-name:hover {
  color: var(--caramel) !important;
}

/* Produktzähler + Sortierung */
.products-selection {
  background: transparent !important;
  padding: 12px 0 !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--cream-mid) !important;
}
.products-selection h1 { display: none !important; }
.products-selection .total-products p,
.products-selection p {
  color: var(--text-mid) !important;
  font-size: 0.88rem !important;
}
.products-selection .sort-by {
  color: var(--text-mid) !important;
  font-size: 0.88rem !important;
}
.products-sort-order .select-title {
  background: var(--white) !important;
  border: 1px solid var(--cream-mid) !important;
  color: var(--espresso) !important;
  border-radius: 2px !important;
}

/* Produkt-Flags (Rabatt, Neu) */
.product-flags li.product-flag {
  background: var(--caramel) !important;
  color: var(--white) !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  padding: 4px 10px !important;
}
.product-flags li.product-flag.discount,
.product-flags li.product-flag.discount-percentage {
  background: var(--espresso) !important;
}

/* Pagination */
.pagination .current a {
  color: var(--caramel) !important;
}
.pagination a:hover {
  color: var(--caramel) !important;
}

/* Breadcrumb active */
.breadcrumb-item.active,
#wrapper .breadcrumb li:last-child a {
  color: var(--caramel) !important;
  font-weight: 600 !important;
}

/* Filter-Panel */
#search_filters .facet .facet-title { color: var(--espresso) !important; }
#search_filters .facet .facet-label a:hover { color: var(--caramel) !important; }

/* Kategorie-Block an Inhalt angepasst */
.block-category {
  min-height: 0 !important;
  padding: 28px 32px !important;
  margin-bottom: 20px !important;
}
.block-category h1 {
  margin-bottom: 12px !important;
}
#category-description {
  margin-bottom: 0 !important;
}
#category-description p:last-child {
  margin-bottom: 0 !important;
}
.block-category .block-category-inner {
  display: block !important;
}

/* Zahlungsmethoden-Logos – einheitliche Grösse */
.payment-options .payment-option img,
.payment-options label img {
  max-height: 32px !important;
  width: auto !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
}
.payment-options .payment-option {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 0 !important;
}

/* Checkout-Buttons in Kaffee-Farbe */
body#checkout .btn-primary,
body#checkout button.btn-primary,
.checkout-step .btn-primary,
#delivery .btn-primary,
#payment-confirmation .btn-primary {
  background: var(--caramel) !important;
  border-color: var(--caramel) !important;
  color: var(--white) !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
body#checkout .btn-primary:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* Türkis Radio/Link im Checkout */
body#checkout a,
.checkout-step a { color: var(--caramel) !important; }

/* Twint-Logo kleiner */
.payment-options .payment-option img,
.payment-options label img {
  max-height: 28px !important;
  max-width: 80px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
}



/* >>> CAFETIME-FIX START - DO NOT EDIT MANUALLY <<< */
/* v5.2 – Icons per CSS-Content (robust gegen leere <i>-Tags) */

@media (max-width: 767px) {
  #header, #header .header-nav, #header .header-top {
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }

  /* Mobile-Row SICHTBAR erzwingen (falls Theme es blockiert) */
  .header-nav .hidden-md-up.text-sm-center.mobile,
  .header-nav > .container > .row > .hidden-md-up {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    min-height: 56px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header-nav .hidden-md-up.mobile .float-xs-left,
  .header-nav .hidden-md-up.mobile .float-xs-right { float: none !important; }
  .header-nav .hidden-md-up.mobile .clearfix { display: none !important; }

  /* Reihenfolge Hamburger | Logo | User | Cart */
  #menu-icon          { order: 1; flex: 0 0 auto; cursor: pointer; padding: 4px 8px; }
  #_mobile_logo       { order: 2; flex: 1 1 auto; text-align: center; }
  #_mobile_user_info  { order: 3; flex: 0 0 auto; }
  #_mobile_cart       { order: 4; flex: 0 0 auto; }

  /* ============================================
     HAMBURGER-ICON via CSS-Content
     ============================================ */
  #menu-icon .material-icons {
    font-size: 0 !important; /* entfernt evtl. leeren Text */
  }
  #menu-icon::before {
    content: "menu" !important;         /* Material-Icons Ligature */
    font-family: 'Material Icons' !important;
    font-size: 30px !important;
    color: #333 !important;
    line-height: 1 !important;
    font-weight: normal !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-feature-settings: 'liga' !important;
    font-feature-settings: 'liga' !important;
    -webkit-font-smoothing: antialiased !important;
  }

  /* ============================================
     USER-ICON via CSS-Content (falls leer)
     ============================================ */
  #_mobile_user_info .user-info a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 6px !important;
    color: #333 !important;
    text-decoration: none !important;
  }
  #_mobile_user_info .user-info a .material-icons { font-size: 0 !important; }
  #_mobile_user_info .user-info a::before {
    content: "person" !important;
    font-family: 'Material Icons' !important;
    font-size: 28px !important;
    color: #333 !important;
    line-height: 1 !important;
    font-weight: normal !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-feature-settings: 'liga' !important;
    font-feature-settings: 'liga' !important;
    -webkit-font-smoothing: antialiased !important;
  }
  #_mobile_user_info .user-info a span { display: none !important; }

  /* ============================================
     LOGO
     ============================================ */
  #_mobile_logo h1 { margin: 0 !important; padding: 0 !important; }
  #_mobile_logo img {
    max-height: 46px !important;
    max-width: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
  }

  /* ============================================
     CART
     ============================================ */
  #_mobile_cart .blockcart,
  #_mobile_cart .cart-preview {
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
  }
  #_mobile_cart .blockcart .header {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 6px !important;
    gap: 2px !important;
  }
  #_mobile_cart .blockcart .header > span.hidden-sm-down { display: none !important; }
  #_mobile_cart .material-icons.shopping-cart {
    font-size: 28px !important;
    color: #333 !important;
    display: inline-block !important;
  }
  #_mobile_cart .cart-products-count {
    font-size: 11px !important;
    background: #b87333 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 2px 6px !important;
    margin-left: 2px !important;
    position: relative !important;
    top: -8px !important;
  }

  /* Desktop-Logo-Zeile ausblenden */
  .header-top #_desktop_logo { display: none !important; }

  /* Mobile-Menu */
  #mobile_top_menu_wrapper {
    border-top: 1px solid #eee;
    padding: 8px 12px !important;
    background: #fff;
  }

  /* Suche */
  #search_widget {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px !important;
  }
  #search_widget input {
    width: 100% !important;
    font-size: 16px !important;
    border-radius: 24px !important;
    padding: 10px 40px !important;
  }
}
/* <<< CAFETIME-FIX END <<< */

/* >>> CAFETIME LOGO RATIO FIX START <<< */

/* Container darf keine feste Bildverzerrung erzwingen */
#header .logo,
#_desktop_logo .logo,
#_mobile_logo .logo,
.header-top #_desktop_logo,
.top-logo {
  height: auto !important;
  max-height: none !important;
}

/* Bild immer proportional anzeigen */
#header .logo img,
#_desktop_logo img.logo,
#_mobile_logo img.logo,
img.logo.img-fluid {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Desktop */
#_desktop_logo img.logo,
.header-top #_desktop_logo img.logo {
  max-height: 52px !important;
}

/* Mobile */
@media (max-width: 767px) {
  #_mobile_logo img.logo,
  img.logo.img-fluid {
    max-height: 44px !important;
    max-width: 160px !important;
  }
}

/* <<< CAFETIME LOGO RATIO FIX END <<< */
