:root {
      --bg: #fbf8f4;              /* krémfehér háttér */
      --text: #5b4636;            /* melegbarna szöveg */
      --accent: #f8c7cf;          /* lágy rózsaszín akcentus */
      --accent-2: #b8e0d2;        /* mentazöld – finom kiegészítő */
      --white: #ffffff;
      --shadow: 0 10px 30px rgba(91, 70, 54, .12);
    }

    body {
      font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background: var(--bg);
      scroll-behavior: smooth;
    }

    /* ===== NAVBAR ===== */
    .navbar { transition: all .25s ease; }
    .navbar-brand {font-family: "Parisienne", cursive; font-size: 1.5rem; font-weight: 700; letter-spacing: .2px; }
    .navbar .nav-link { font-weight: 500; }
    .navbar.navbar-transparent { background: transparent !important; }
    .navbar.navbar-solid { background: rgba(255,255,255,.98) !important; box-shadow: var(--shadow); }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: grid;
      place-items: center;
      text-align: center;
      color: var(--white);
      overflow: hidden; /* Biztosítja, hogy a kép ne lógjon ki */
    }

    /* Új szabályok a képnek és a rétegeknek */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ez helyettesíti a 'background-size: cover'-t */
  object-position: center center;
}
.hero::before {
  content: "";
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,.45);
  z-index: 2; /* A sötétítő réteg a kép fölé kerül */
}
    .hero > .content { 
  position: relative; 
  z-index: 3; /* A szöveges tartalom kerül legfelülre */
  padding: 0 1.5rem; 
}
    .hero h1 { font-weight: 700; font-size: clamp(2.2rem, 4.5vw + .5rem, 4rem); }
    .hero p { font-size: clamp(1.05rem, 1.2vw + .8rem, 1.35rem); opacity: .95; max-width: 600px; margin-left: auto; margin-right: auto;}

    .btn-accent {
      --bs-btn-color: #5b4636;
      --bs-btn-bg: var(--accent);
      --bs-btn-border-color: var(--accent);
      --bs-btn-hover-color: #5b4636;
      --bs-btn-hover-bg: #f3b3bd;
      --bs-btn-hover-border-color: #f3b3bd;
      font-weight: 600;
      box-shadow: var(--shadow);
      padding: .8rem 2rem;
    }

    /* ===== SECTION UTILS ===== */
    section { padding: 5rem 0; }
    .section-title { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); }
    .section-subtitle { opacity: .85; max-width: 650px; margin-left:auto; margin-right:auto; }
    
    .product-card {
      border: none; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow); background: #fff; height: 100%;
    }
    .product-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
    .product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display:block; }
    .product-card:hover img { transform: scale(1.06); }

    /* ===== GALÉRIA ===== */
    /* A galeria.html fájlból áthozott stílusok */
    .page-header {
      padding: 3rem 0;
      background-color: #fff;
      border-bottom: 1px solid #e9e3dc;
    }

    .gallery-img {
      border-radius: 1.25rem;
      overflow: hidden;
      box-shadow: var(--shadow);
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1/1;
      transition: transform .5s ease, box-shadow .3s ease;
      display: block;
    }

    a[data-bs-toggle="lightbox"]:hover .gallery-img {
        transform: scale(1.04);
        box-shadow: 0 15px 35px rgba(91, 70, 54, .15);
    }
    
    /* Ezt a szabályt kivettem, mert a WordPress Galéria blokk másképp épül fel.
       Az új .gallery-img szabályok elegendőek lesznek a legtöbb galériához.
    .gallery-item {
      display: block;
      border-radius: 1.25rem;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      aspect-ratio: 1/1;
      transition: transform .5s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.06);
    }
    */


    /* ===== CUKRÁSZDÁINK ===== */
    #shops { background: #fff; }
    .contact-card { background: var(--white); border: 0; border-radius: 1.25rem; box-shadow: var(--shadow); overflow: hidden; }
    .contact-card img { height: 180px; object-fit: cover; }
    .contact-card a { color: var(--text); text-decoration: none; }
    .contact-card a:hover { color: var(--accent); }

    /* ===== FOOTER ===== */
    footer { 
      background: var(--bg);
      border-top: 1px solid #e9e3dc;
    }
    .social-icon { color: var(--text); font-size: 1.5rem; transition: color .2s ease; }
    .social-icon:hover { color: #3b5998; /* Facebook color */ }

    /* ===== Kiegészítés a kattintható termékkártyákhoz ===== */
a.product-card-link,
a.product-card-link:hover {
  text-decoration: none;
  color: inherit; /* Örökölje a szövegszínt a szülőtől */
}

/* ====================================================== */
/* Javítás a fix menü alatti ugráshoz (anchor link fix) */
/* ====================================================== */
.gallery-category {
  scroll-margin-top: 90px; /* Ennyi helyet hagy a képernyő teteje és a szekció között ugráskor */
}

    /* ===== WordPress Admin Bar Fix ===== */
/* Eltolja a fix menüt, ha az admin sáv látható */

/* Asztali nézet (az admin sáv 32px magas) */
body.admin-bar .navbar.fixed-top {
  top: 32px;
}

/* Mobil nézet (az admin sáv 46px magas 782px szélesség alatt) */
@media screen and (max-width: 782px) {
  body.admin-bar .navbar.fixed-top {
    top: 46px;
  }
}

/* ... a meglévő CSS kódod ... */


/* ====================================================== */
/* Jogi Oldalak Stílusai (Impresszum, Adatvédelem) */
/* ====================================================== */
.page-template-legal .entry-content {
    line-height: 1.8; /* Kényelmes sorköz az olvashatóságért */
}

.page-template-legal .entry-content h2 {
    font-weight: 600;
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color); /* Finom elválasztó vonal */
}

.page-template-legal .entry-content h2:first-child {
    margin-top: 0;
}

.page-template-legal .entry-content h3 {
    font-weight: 500;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-template-legal .entry-content a {
    color: var(--text);
    font-weight: 500;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent); /* Rózsaszín aláhúzás */
    transition: color .2s ease, text-decoration-color .2s ease;
}

.page-template-legal .entry-content a:hover {
    color: var(--accent);
    text-decoration-color: var(--text);
}