
  .homepage-group-title, 
  .homepage-products-heading-2,
  div.h4 { 
      font-family: 'Playfair Display', serif !important; 
      text-transform: none !important; /* Aby to nebylo nuceně velkými písmeny */
  }
  h1, h2, h3, h4,
  .product-name, 
  .p-name,
  .p-detail-info .name,
  .category-title,
  .header-title { 
      font-family: 'Playfair Display', serif !important; 
  }
@media only screen and (max-width: 767px) {
    div[data-testid="bannerTop"] {
        padding-left: 15% !important;   
        padding-right: 15% !important;
        box-sizing: border-box !important;
    }
    div[data-testid="bannerTop"] img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
}
@media only screen and (max-width: 767px) {
    .carousel-inner img {
        width: 155% !important; /* Vaše nastavená šířka */
        max-width: none !important;
         /* Tento řádek obrázek vycentruje: */
        margin-left: -25.9% !important; 
        
        height: auto !important;
    }
    body {
        overflow-x: hidden !important;
    }
}
/* Linka procházející nadpisem Novinky */
.homepage-group-title {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}
.homepage-group-title::before,
.homepage-group-title::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0; 
}
.homepage-group-title::before {
    margin-right: 15px;
}
.homepage-group-title::after {
    margin-left: 15px;
}

  /* KULATÁ TLAČÍTKA VE TVÉ BĚŽOVÉ BARVĚ */
  .btn-cart, 
  .add-to-cart-button, 
  .p-tools .btn,
  #button-cart {
      background-color: #bcada3 !important; 
      color: #ffffff !important;
      border: none !important;
      border-radius: 50px !important; 
      padding: 10px 25px !important;
      text-transform: none !important;
      transition: all 0.3s ease !important;
      font-weight: normal !important;
  }
  /* Efekt při najetí myší (jen mírné ztmavení) */
  .btn-cart:hover, .add-to-cart-button:hover {
      background-color: #a89a91 !important; 
      transform: translateY(-1px);
  }
  /* Zarovnání textu a tlačítek na střed pro čistší vzhled */
  .p-info, .product-name, .p-name, .p-final-price {
      text-align: center !important;
  }
  .p-tools {
      justify-content: center !important;
      display: flex !important;
  }

  /* Změna čárek na tečky pro třídu pagination-button */
  .product-slider-pagination .pagination-button {
      width: 10px !important;
      height: 10px !important;
      border-radius: 50% !important; /* Udělá z nich kolečka */
      background-color: #d1c7c0 !important;
      border: none !important;
      margin: 0 5px !important;
      font-size: 0 !important; 
      color: transparent !important;
      padding: 0 !important;
      display: inline-block !important;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  /* Barva tečky */
  .product-slider-pagination .pagination-button.active,
  .product-slider-pagination .pagination-button:hover {
      background-color: #bcada3 !important; /* béžová barva */
      transform: scale(1.3) !important; /* Aktivní bude trochu větší */
  }
  /* Úprava kontejneru, tečky uprostřed */
  .product-slider-pagination {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      margin-top: 20px !important;
  }

  @media only screen and (max-width: 767px) {
      /* Reset kontejneru */
      .benefit-banners-full-width .container-full-width {
          padding-left: 0 !important;
          padding-right: 0 !important;
          width: 100% !important;
      }
      /* zmenšení mezer mezi řádky */
      .benefitBanner__item {
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          justify-content: center !important;
          padding: 1px 10px !important; 
          margin: 0 !important;
          width: 100% !important;
          min-height: 0 !important;
      }
      /* Ikona - prostor pro ni */
      .benefitBanner__picture {
          flex: 0 0 45px !important; 
          margin-right: 10px !important;
          margin-bottom: 0 !important;
          display: flex !important;
          justify-content: center !important;
      }
      .benefitBanner__picture img {
          max-width: 38px !important; 
          height: auto !important;
      }
      /* Texty a jejich rozestupy */
      .benefitBanner__content {
          text-align: left !important;
          flex: 0 1 auto !important;
      }
      .benefitBanner__content h3, 
      [class*="title"] {
          font-size: 13px !important;
          margin: 0 !important;
          line-height: 1.1 !important; 
      }
      .benefitBanner__content p {
          font-size: 10px !important;
          margin: 0 !important; 
          line-height: 1.1 !important;
      }
      /* Celkové stažení sekce */
      .benefit-banners-full-width {
          padding: 5px 0 !important;
      }
  }

  /* Odstranění mezery nad bannery na mobilu */
  @media only screen and (max-width: 767px) {
      /* Cídrží */
      .benefit-banners-full-width,
      .benefit-banners-full-width .container-full-width {
          padding-top: 0 !important;
          margin-top: 0 !important;
      }
      .benefit-banners-full-width .container-full-width::before {
          content: none !important;
          display: none !important;
      }
      /* bannerů výš */
      .benefitBanner.position--benefitHomepage {
          margin-top: -23px !important; /* Můžeš upravit */
          padding-top: 0 !important;
      }
  }

  @media only screen and (max-width: 767px) {
      /* 1. Novinky nahoru */
      .benefit-banners-full-width {
          padding-bottom: 0 !important;
          margin-bottom: -1px !important; /* Novinky blíž */
      }
      .index-content-wrapper .products-header, 
      .homepage-group-title,
      h2.p-header {
          margin-top: 0 !important;
          padding-top: 0 !important;
      }
      .benefitBanner.position--benefitHomepage {
          padding-bottom: 0 !important;
          margin-bottom: 0 !important;
      }
  }

  /* Efekt platí pouze pro počítače (na mobilu se nenajíždí myší) */
  @media only screen and (min-width: 768px) {
      
      /* 1. Nastavení plynulosti (aby to neuskakovalo, ale plynule jelo) */
      .products-block .product .image img {
          transition: transform 0.4s ease-in-out, filter 0.4s ease !important;
      }

      /* 2. Samotný efekt na fotku po najetí */
      .product:hover .image img {
          transform: scale(1.08) !important; /* Jemné zvětšení o 8% */
          filter: brightness(1.05) !important; /* Lehké rozjasnění */
      }

      /* 3. Efekt na celou kartu produktu (stín a "zvednutí") */
      .product {
          transition: box-shadow 0.3s ease, transform 0.3s ease !important;
          border-radius: 8px !important; /* Zaoblení rohů, aby stín vypadal lépe */
      }

      .product:hover {
          box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; /* Jemný stín pod produktem */
          transform: translateY(-5px) !important; /* Karta se posune o kousek nahoru */
          z-index: 10; /* Aby stín nepřekrývaly okolní produkty */
          background: #fff !important;
      }
  }

/* --- VLASTNÍ DOPLŇKOVÝ PRODEJ (FINÁLNÍ S CENOU) --- */
.custom-upsell {
    background-color: #fdfaf7 !important;
    padding: 30px 20px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid #bcada3;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-upsell h3 {
    font-family: 'Playfair Display', serif !important;
    margin-bottom: 25px;
    font-size: 26px;
    color: #5a4a42;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 45px;
}

.upsell-items {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0 15px 0;
    scrollbar-width: none;
}

.upsell-items::-webkit-scrollbar { display: none; }

.upsell-item {
    flex: 0 0 220px;
    text-align: center;
}

.upsell-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.upsell-item-name {
    font-weight: 600;
    margin-bottom: 5px; /* Menší mezera k ceně */
    color: #5a4a42;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styl pro cenu */
.upsell-item-price {
    font-weight: 700;
    color: #bcada3;
    margin-bottom: 12px;
    font-size: 16px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #bcada3;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow.prev { left: 5px; }
.slider-arrow.next { right: 5px; }

.upsell-item .btn-buy {
    background-color: #bcada3 !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
}

.mobile-info {
    display: none;
    font-size: 13px;
    color: #bcada3;
    margin-top: 15px;
    font-style: italic;
}

@media (max-width: 768px) {
    .slider-container { padding: 0; }
    .slider-arrow { display: none !important; }
    .mobile-info { display: block !important; }
    .upsell-items { padding: 10px 10px 20px 10px; }
    .upsell-item { flex: 0 0 170px; }
    .custom-upsell h3 { font-size: 20px; }
}



/* --- UPRAVENÉ STICKY TLAČÍTKO PRO PC --- */
#stickyBuyBar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
}

#stickyBuyBar.visible {
    bottom: 0;
}

.sticky-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* Změna: Tlačíme obsah doprava */
    justify-content: flex-end; 
    padding: 0 20px;
}

.sticky-price {
    font-weight: 700;
    font-size: 20px;
    color: #5a4a42;
    /* Mezera mezi cenou a tlačítkem na PC */
    margin-right: 30px; 
}

#stickyBuyBar button {
    background: #bcada3 !important;
    color: #fff !important;
    border: none;
    border-radius: 25px;
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

/* Úprava pro mobil - na mobilu to necháme raději dál od sebe (space-between) */
@media (max-width: 768px) {
    .sticky-container {
        justify-content: space-between;
    }
    .sticky-price {
        margin-right: 0;
        font-size: 18px;
    }
    #stickyBuyBar button {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* --- TOTÁLNÍ RESET A OPRAVA MNOŽSTVÍ --- */

/* 1. Hlavní kontejner */
span.quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    width: 130px !important; /* Fixní šířka, aby se to nerozpadalo */
    border: 1px solid #f0e6e0 !important;
    border-radius: 22px !important;
    background: #fff !important;
    padding: 0 !important;
    margin-right: 15px !important;
    overflow: hidden !important;
}

/* 2. Tlačítka (mínus a plus) */
span.quantity button {
    flex: 0 0 40px !important; /* Pevná šířka tlačítek */
    height: 44px !important;
    background: #fdfaf8 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

/* 3. Číslo uprostřed (label) */
span.quantity label {
    flex: 1 !important; /* Zabere zbytek místa uprostřed */
    height: 44px !important;
    line-height: 44px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #5a4a42 !important;
    text-align: center !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    border-left: 1px solid #f0e6e0 !important;
    border-right: 1px solid #f0e6e0 !important;
}

/* 4. Symboly plus a mínus */
.decrease__sign, .increase__sign {
    font-size: 20px !important;
    color: #5a4a42 !important;
    position: static !important; /* Zrušíme případné posunutí */
}

/* Hover na tlačítka */
span.quantity button:hover {
    background: #f0e6e0 !important;
}



/* --- AESTHETIC POPISEK PRODUKTU --- */
.aesthetic-description {
    color: #5a4a42;
    line-height: 1.8;
    margin-top: 20px;
}

.intro-text {
    font-style: italic;
    font-size: 15px;
    margin-bottom: 15px;
    display: block;
}

/* Jemná linka */
.aesthetic-description .divider {
    height: 1px;
    background-color: #f0e6e0;
    margin: 20px 0;
    display: block;
}

.benefit-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.benefit-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Elegantní pomlčka místo tečky */
.benefit-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #d1c1b7;
}

.scent-notes {
    text-align: center;
    margin-top: 20px;
}

.scent-notes .label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: #bfa89e;
    margin-bottom: 5px;
}


/* --- FINÁLNÍ AESTHETIC POPIS PRODUKTU (KOMPLET) --- */
.product-detailed-info {
    color: #5a4a42;
    margin-top: 30px;
    display: flex;
    flex-direction: column; /* Umožňuje řazení bloků */
}

.handmade-note {
    text-align: center;
    font-style: italic;
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10%;
    order: 0;
}

.handmade-note .heart {
    color: #d1c1b7;
}

/* Společný styl pro karty a legislativní box */
.info-card, .legal-warning-box {
    background: #fdfaf8;
    border: 1px solid #f0e6e0;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

/* POŘADÍ BOXŮ: 1. Technická, 2. Legislativa, 3. Péče */
.technical-card { order: 1; }
.legal-warning-box { order: 2; background: #fff !important; }
.care-card { order: 3; }

.info-card h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #bfa89e;
    text-align: center;
}

/* Seznam péče o svíčku */
.care-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.care-list li {
    margin-bottom: 10px;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.care-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #bfa89e;
    font-weight: bold;
}

/* Vnitřní sekce (Složení/Vůně) */
.safety-section {
    margin-bottom: 15px;
    border-bottom: 1px dashed #f0e6e0;
    padding-bottom: 10px;
}

.safety-section:last-child {
    border-bottom: none;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bfa89e;
    display: block;
    margin-bottom: 5px;
}

.small-clp {
    font-size: 13px;
    line-height: 1.5;
}

/* --- OPRAVA UFIGREEN (PROTI LÁMÁNÍ TEXTU) --- */
.ufi-green-badge {
    background-color: #f4f9f4;
    border: 1px solid #e0eee0;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap; /* Na mobilu hodí UFI kód pod text */
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ufi-green-badge strong {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #2e5a2e;
    white-space: nowrap !important; /* ZÁKAZ LÁMÁNÍ SLOVA */
    display: flex;
    align-items: center;
    gap: 5px;
}

.ufi-green-badge .check-icon {
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

.ufi-code {
    color: #888;
    font-size: 10px;
    margin-left: auto;
}

/* Legislativní varování */
.strong-warning {
    font-weight: 700;
    color: #5a4a42;
    text-transform: uppercase;
    display: block;
    margin: 10px 0;
    font-size: 11px;
}

.legal-warning-box .divider {
    height: 1px;
    background: #f0e6e0;
    margin: 15px 0;
}

.more-tips {
    display: block;
    font-size: 13px;
    margin-top: 15px;
    color: #bfa89e;
    text-decoration: underline;
}

/* Úprava pro mini telefony */
@media only screen and (max-width: 360px) {
    .ufi-green-badge strong { font-size: 11px; }
    .ufi-green-badge { padding: 8px 10px; }
}