/*
 Theme Name: Biolife Child
 Template: biolife
*/




/* Съдържание в таб Description */
.woocommerce-Tabs-panel {
  font-family: Cairo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
 /* color: #222; *//* Цвета по подразбиране в темата */
}

/* Заглавия вътре в описанието */
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3 {
  font-size: 16px !important;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-family: Cairo, sans-serif;
  /*color: #222;*/
}

/* Bullet списъци навътре и по-подредени */
.woocommerce-Tabs-panel ul {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.woocommerce-Tabs-panel ul li {
  margin-bottom: 0.4em;
}


/* Само в таба Хранителна стойност */
/* Таб: Хранителна стойност — направи го идентичен с Additional information */
#tab-nutrition_tab table.woocommerce-product-attributes.shop_attributes{
  width:100%;
  border:1px solid #e5e5e5;
  border-collapse:collapse;
  margin:7px 0;
  font-size:14px;
  line-height:24px;
  background:#fff;
  color:var(--default-color);
}

/* вътрешни клетки */
#tab-nutrition_tab table.shop_attributes th,
#tab-nutrition_tab table.shop_attributes td{
  border:1px solid #e5e5e5;
  padding:10px;                /* базов padding като в оригинала */
  text-align:left;
  vertical-align:top;
  box-sizing:border-box;
}

/* сив фон и наследен шрифт за th */
#tab-nutrition_tab table.shop_attributes th{
  background:#f4f4f4;
  font-weight:inherit;
  color:inherit;
}

/* същият селектор за долни линии между редовете */
#tab-nutrition_tab tr:not(:last-child) > *{
  border-bottom:1px solid #e5e5e5;
}

/* ключово: ширина и по-широк хор. padding само за th на десктоп */
@media (min-width:768px){
  #tab-nutrition_tab table.shop_attributes th{
    width:300px;               /* същата фиксирана ширина като в Additional info */
    padding:10px 20px;         /* леко по-широк хор. padding само за th */
  }
  #tab-nutrition_tab table.shop_attributes td{
    width:auto;                /* остатъкът за втората колонка */
  }
}


/* ===== ADD TO CART CARD STYLE ===== */

/* ===== SYNC WITH TRUST BOX STYLE ===== */

.custom-add-to-cart-wrapper {
    background: #f8faf5;
    border: 1px solid #e1e8d9;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

/* Availability */
.custom-availability {
    background: #eaf5e8;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Quantity */
.custom-qty-wrapper {
    margin-bottom: 16px;
}

/* Button */
.custom-button-wrapper .single_add_to_cart_button {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.custom-button-wrapper .single_add_to_cart_button:hover {
    transform: translateY(-2px);
}

/* Trust */
.custom-micro-trust {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
}

/* Divider */
.custom-extra-guarantee {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e1e8d9;
    font-size: 14px;
    line-height: 1.9;
}

/* Payment */
.custom-payment-icons {
    margin-top: 15px;
}

.single-product .entry-summary--last {
    background: transparent !important;
    
}

.zdravka-rewards-box {
    margin-top: 20px;
    padding: 15px;
    background: #f4f9f2;
    border: 1px solid rgba(34,155,68,.2);
    border-radius: 14px;
}

.zdravka-rewards-box .z-section {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,.05);
}

.zdravka-rewards-box h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
}

.zdravka-rewards-box ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
}

.zdravka-rewards-box li {
    margin-bottom: 4px;
}

.zdravka-rewards-box .z-points {
    background: rgba(34,155,68,.1);
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
}

.z-subtitle em {
    font-size: 13px;
    margin-bottom: 6px;
    color: #6b7a6b;
	font-style: italic;
	margin: 0 0 6px 0;   /* леко разстояние към точките */
}

.z-points {
    background: rgba(34,155,68,.12);
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.z-section h4 {
    margin: 0 0 4px 0;   /* почти без разстояние */
}



/* ==========================================================
   ZDRAVKA HEADER v1
   Final static readable ecommerce header
   ========================================================== */

@media (min-width: 1025px) {

    body.home #header.header.style-01 .header-mid {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 100;

        background: rgba(255,255,255,.88);
        box-shadow: 0 1px 10px rgba(0,0,0,.06);

        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    body.home #header.header.style-01 .header-mid::before {
        display: none;
    }

    body.home #header.header.style-01
    .main-menu > li > a,

    body.home #header.header.style-01
    .header-control a,

    body.home #header.header.style-01
    .header-control .text,

    body.home #header.header.style-01
    .header-control .title {
        color: #2f2f2f;
        text-shadow: none;
    }

    body.home #header.header.style-01
    .main-menu > li > a {
        font-weight: 600;
    }

    body.home #header.header.style-01
    .main-menu > li:hover > a {
        color: #90bf2a;
    }

    /*
     * Native Biolife sticky state.
     * The normal homepage header is absolute over the hero,
     * but when Biolife JS adds .is-sticky it must become fixed.
     */
    body.home:not(.elementor-editor-active)
    #header.header.style-01
    .header-mid.header-sticky.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;

        background: rgba(255,255,255,.97);
        box-shadow: 0 4px 18px rgba(0,0,0,.12);

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /*
     * WordPress admin bar is 32px high on desktop.
     */
    body.home.admin-bar:not(.elementor-editor-active)
    #header.header.style-01
    .header-mid.header-sticky.is-sticky {
        top: 32px;
    }

}

/* ==========================================================
   END ZDRAVKA HEADER v1
   ========================================================== */

/* ==========================================================
   ZDRAVKA STICKY LOGO v1.1
   Compact logo only while native Biolife sticky is active
   ========================================================== */

@media (min-width: 1200px) {

    body.home #header.header.style-01
    .header-mid .logo img {
        width: auto;
        height: auto;
        max-height: 115px;
        transition: max-height .25s ease;
    }

    body.home #header.header.style-01
    .header-mid.header-sticky.is-sticky .logo img {
        width: auto;
        height: auto;
        max-height: 70px;
    }

    body.home #header.header.style-01
    .header-mid.header-sticky.is-sticky .header-inner {
        min-height: 82px;
    }

}

/* ==========================================================
   END ZDRAVKA STICKY LOGO v1.1
   ========================================================== */

/* ==========================================================
   ZDRAVKA STICKY HEADER v1.2
   Reduce vertical space in sticky state only
   ========================================================== */

@media (min-width: 1200px) {

    body.home #header.header.style-01
    .header-mid.header-sticky.is-sticky .header-inner {
        min-height: 90px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    body.home #header.header.style-01
    .header-mid.header-sticky.is-sticky .logo img {
        max-height: 70px;
    }

}

/* ==========================================================
   END ZDRAVKA STICKY HEADER v1.2
   ========================================================== */
