/*
 Theme Name:   bootScore Child
 Description:  bootScore Child Theme
 Author:       bootScore
 Author URI:   https://bootscore.me
 Template:     bootscore-main
 Version:      5.3.0
 Text Domain:  orzesz
 Domain Path: /languages
*/

/* 
All style editing is done via scss/_bscore_custom.scss
*/

@media (min-width: 768px) {
    #offcanvas-navbar {
        display: none;
    }
}

.per_kg {
    font-size: 14px;
    color: #979797;
    font-weight: 500;
}

.woocommerce-mini-cart__total.total {
    margin-top: auto;
}

.offcanvas.offcanvas-end {
    top: 0 !important;
}

.woocommerce div.product form.cart {
    flex-wrap: unset;
}



.summary .price-custom{
    display: flex;
    flex-wrap: wrap;
}

.summary .price-custom ins {
  color: #1d1d1d !important;
  text-align: left;
  font-family: Mazzard;
  font-size: 44px;
  font-style: normal;
  font-weight: 800 !important;
  line-height: normal;
}

.summary .price-custom del {
  color: #636363;
  font-family: Mazzard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 100%;
}

.menuDesktop .top-nav ul li:hover {
  border-bottom: none;
}

.menuDesktop .top-nav ul li {
  position: relative;
}

.menuDesktop .top-nav ul li:after {
  content: ''; 
  position: absolute; 
  left: 0; 
  bottom: 0; 
  width: 100%;
  height: 0;
  border-bottom: 2px solid #60bd74;
  opacity: 0;
  transition: .2s;
}

.menuDesktop .top-nav ul li:hover:after {
  opacity: 1;
}

.hover_product .product:hover::after {
  content: none;
}

.hover_product .product {
    position: relative;
}

.hover_product .custom_add_to_cart {
  position: absolute;
  content: "";
  bottom: -55px;
  left: 40%;
  background-image: url('img/carticon.svg');
  width: 57px;
  height: 59px;
  background-repeat: no-repeat;
  transform: translate(0, -50%);
  display: none;
}

.hover_product .product:hover .custom_add_to_cart {
    display: block;
}

.checkout_products .custom-price-checkout {
    text-align: right;
}

.checkout_products .custom-price-checkout span {
    display: inline;
}

.quantity-container button, 
.quantity-container input {
    border: none !important;
    background: none !important;
}

.iworks-omnibus {
    margin-bottom: 0;
}

.input-checkout input{
    padding: 24px 61px 12px 28px !important;
    color: #1d1d1d;
    font-family: Mazzard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    border-radius: 100px !important;
    border: 1px solid #d8d8d8;
    width: 100%;
    outline: unset;
}

.shipping-method img {
  max-width: 40px !important;
  margin: 0 5px 0 10px !important;
  object-fit: contain;
}

.shipping-method:hover {
  border: 2px solid #60bd74;
}

.shipping-method {
  padding-right: 10px;
  border: 2px solid #d8d8d8;
  .shipping-methods-name-price{
    width:65%;
  }
}

.payment-method {
  border: 2px solid #d8d8d8; 
}

.payment-method:hover {
  border: 2px solid #60bd74;
}

.payment-method.active {
  border: 2px solid #60bd74;
}

.rating_badge .badge.red {
  border-radius: 100px;
  background: #dc5015;
}

.old-price {
    display: block !important;
}

.old-price span {
    font-size: 14px !important;
}

.discount {
  word-break: normal;
}

.checkout_form h2 button span {
  color: #1d1d1d;
  font-family: Mazzard;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
  width: 100%;
}

.checkout_form h2 button.accordion-button {
  background: none;
  border: none;
  box-shadow: none;
}

.checkout_form h2 button.accordion-button:focus {
  background: none;
  border: none;
  box-shadow: none;
}




@media (max-width: 460px) {
    #offcanvas-navbar {
        top: 110px !important;
    }
}

.price-per-kg {
  color: #979797;
  font-family: Mazzard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
  text-align: center;
}

#offcanvas-user .offcanvas-password.show-password-input {
  right: 3em;
  top: 1.3rem;
}

.minicart-thumbnail img {
  max-width: 80%;
}

.minicart-quantity-box .quantity {
  color: #636363;
  text-align: center;
  font-family: Mazzard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

.single_variation .price-per-kg, .checkout_product .price-per-kg, .variations_form .price-per-kg {
  text-align: left;
  margin-bottom: 0;
}

button[name="update_cart"] {
    display: none;
}



.mix-container {
  position: relative;
} 
.mix-name-wrapper {
  display: flex;
  align-items: center;
  padding: 0 !important;
  height: 100%;
  position: absolute;
  transform: translate(-113%, 0);
  transform-origin: left top;
}
.mix-name {
  writing-mode: sideways-lr;
  margin: 0 20px;
}

.read-more{
    border-radius: 100px;
    background: #60bd74;
    height: 52px;
    padding: 10px 32px;
    color: #fff;
    font-family: Mazzard;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-decoration: none;
    outline: unset;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    transition: 0.2s all;
}

.read-more:hover{
    background: #479f49;
}

.byline,
.author,
.entry-meta .author,
.entry-meta [rel="author"]{
  display:none !important;
}

.gonut-image {
  width: 100%;
  height: 220px;            /* wspólna wysokość kafelków */
  object-fit: cover;
  object-position: center;
  border-radius: .5rem;
  display: block;
}

.single-post .gonut-image {
  height: 400px;            /* większy nagłówek w pojedynczym wpisie */
}

@media (max-width: 768px) {
  .gonut-image {
    height: 160px;
  }
  .single-post .gonut-image {
    height: 250px;
  }
  .justify-center-mobile{
justify-content:center;
}
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: auto 225px!important;
}


.kawa-slider { margin: 32px 0; }
.kawa-slider .kawa-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.kawa-slider .kawa-head h2 { margin:0; font-size:1.5rem; }
.kawa-slider .kawa-nav { display:flex; gap:8px; }
.kawa-slider .kawa-nav .btn { cursor:pointer; padding:6px 10px; border:1px solid #e5e7eb; border-radius:8px; }
.kawa-slider ul.products { list-style:none; padding:0; margin:0; }    .kawa-slider li.product .woocommerce-loop-product__title { font-size:.95rem; line-height:1.3; margin:6px 0 4px; }
.kawa-slider li.product img { width:240px; height:240px; object-fit:cover; border-radius:12px; }
.kawa-slider .price-per-kg { font-size:.9rem; opacity:.9; margin:2px 0 6px; }
.kawa-slider .button.add_to_cart_button { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:8px; text-decoration:none; }

.kawa-slider .swiper{
  overflow-y: visible !important;

}

.kawa-slider ul.products.swiper-wrapper{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  grid-template-columns:none !important;
}

.kawa-slider li.product .woocommerce-LoopProduct-link{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;  
  height: 100%;         
  gap: 8px;
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
}
.kawa-slider ul.products::before,
.kawa-slider ul.products::after{ display:none !important; content:none !important; }

.kawa-slider li.product.swiper-slide{
  flex:0 0 260px !important;   
  width:260px !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;

  display:flex;              
  align-items:stretch;
}

.kawa-slider li.product .woocommerce-LoopProduct-link{
  flex:1 1 auto;
  display:flex;

  gap:8px;

  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
}

.kawa-slider li.product img{
  width:100% !important;       
  height:240px !important;
  object-fit:cover;
  border-radius:12px;
}


.kawa-slider li.product .woocommerce-loop-product__title{
  font-size:.95rem;
  line-height:1.3;
  margin:6px 0 4px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height: calc(1.3em * 2);
}


.kawa-slider .price-per-kg{
  font-size:.9rem;
  opacity:.9;
  margin:2px 0 6px;
  min-height: 20px;
}


.kawa-slider li.product .price,
.kawa-slider li.product .cfvsw-original-price{
  margin-top:auto;
}

.kawa-slider ul.products{
flex-wrap:nowrap;
}

.kawa-slider .button.add_to_cart_button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:8px;
  text-decoration:none;
  align-self:center;           
  margin-top:8px;
}

@media (max-width: 768px) {
  body .kawa-slider ul.products.swiper-wrapper > li.product {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .archive .products .product .price{
  justify-content:center !important;
  }
}

