.single-product h1.product_title.entry-title {
    font-size: 25px !important;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    color: #111111;
    margin-bottom: 0 !important;
    order: 1;
}

.single-product p.price {
    margin: 20px 0 0 0!important;
    order: 2;
    display: flex;
    /* flex-direction: column; */
    align-items: flex-start;
    flex-wrap: wrap;
}

.single-product .price ins{
  /* margin-right: 15px; */
}
.single-product li#tab-title-additional_information:after {
    right: 10px !important;
}


.single-product .summary.entry-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 0 !important;
}


.single-product li#tab-title-additional_information {
    padding: 10px;
}

.single-product #tab-additional_information {
    padding: 10px;
}

.single-product .related.products {
    padding: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.single-product li.product {
     width: calc(50% - 5px);
    margin-top: 10px;
    margin-bottom: 10px !important;
    position: relative;
    overflow: hidden;
}

.single-product ul.products {
 display: flex;
  flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}



.single-product .woocommerce-loop-product__link img {
   height: calc((45vw + 4px) * 1.33);
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.single-product  h2.woocommerce-loop-product__title {
  font-size: 14px !important;
    font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    text-align: center;
    line-height: 1.4;
    margin: 0;
    color: #111111;
    margin-bottom: 0 !important;
}

.single-product .woocommerce-loop-product__link span.onsale {
   position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    width: 100%;
    height: calc((45vw + 4px)* 1.33);
    overflow: hidden;
    border: none;
}
.single-product .woocommerce-Price-amount.amount bdi{
  color: #111111;
  font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
}

.single-product .recent-product-price .woocommerce-Price-amount.amount bdi {
    font-size: 16px;
}

/* CSS FOR ACCORDION */

/* Accordion CSS */
.custom-accordion {
  overflow: hidden;
  position: relative;
}

.accordion-item + .accordion-item {
  
}
.accordion-item {
    position: relative;
}

.accordion-item::after {
  content: "›";
  font-size: 30px;
  position: absolute;
  right: 16px;
  top: 0px;
  transition: transform .2s;
  transform: rotate(90deg);
  z-index: -1;
}


.accordion-header {
  width: 100%;
  padding: 12px 16px;
  background: none !important;
  border-bottom: 1px solid #ececec !important;
  border: none;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: background .2s;
}

.accordion-header:hover {
  background: #ececec;
}

 

.accordion-header[aria-expanded="true"] {
  background: #e2e2e2;
}

.accordion-header[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(90deg);
}

.accordion-body {
  padding: 16px 16px 16px;
  display: none;
  animation: fadeIn .3s ease-in-out;
}
.single-product #acc-full-desc h2 {
    display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* PRODUCT SLIDER */
.single-product-img-swiper {
    width: 100%;
    height: calc(100vw * 1.25);
    min-height: 400px;
    max-height: 600px;
  }

  .single-product-img-swiper .swiper-slide {
    width: 100%;
    height: 100%;
  }

  .single-product-img-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
.single-product .swiper-button-prev,
.single-product .swiper-button-next {
    display: none;
}
.single-product-img-swiper .swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  top: 0px !important;
  z-index: 99;
}
.single-product-img-swiper .swiper-pagination-bullet {
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  z-index: 999999;
}

.single-product-img-swiper .swiper-pagination-bullet-active {
  background: #f3accd;
}
.single-product .woocommerce-product-details__short-description {
 display: none;
}

.single-product .accordion-item .woocommerce-product-details__short-description {
 display: block;
}
.single-product  .variations_form{
    order: 3;
}


.single-product button.single_add_to_cart_button {
    background: #a5345f !important;
    opacity: 1 !important;
    margin-right: 20px;
    min-width: 220px;
}

.single-product .product_meta {
    margin-top: 15px;
}

.single-product span.onsale {
    border: none !important;
    height: calc(100vw * 1.25);
    width: 100%;
    position: absolute;
    overflow: hidden !important;
    z-index: 10;
    visibility: hidden;
}


.single-product .badge-percentage {
    top: 10px;
    z-index: 999;
    visibility: visible;
}
.badge-text {
    visibility: visible;
}

.single-product .storefront-breadcrumb {
    margin-bottom: 0px;
}
.storefront-breadcrumb .col-full {
    max-width: 1400px;
    padding: 0;
}
.single-product .discount-qty {
    color: #fff;
}
.single-product .recent-products-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.single-product .recent-products-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.single-product .recent-products-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.single-product .recent-products-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
 /* max-height: 445px; */
  display: block;
}
 
.single-product .recent-products-swiper .swiper-pagination {
  position: relative;
  margin-top: 15px;
  text-align: center;
  z-index: 10;
}

.single-product .recent-products-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #111;
  opacity: 1;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.single-product .recent-products-swiper .swiper-pagination-bullet-active {
  background-color: #f3accd; 
}
 

/* PRODUCT VARIATIONS */
.single-product table.variations {
    display: none;
}


.single-product a.added_to_cart.wc-forward {
    margin-top: 20px;
    display: none;
}
.single-product .krd-swatch-title {
    width: 100%;
    font-weight: bold;
}


.single-product button.krd-swatch.krd-swatch--size.is-active.active-swatch {
    border: 1px solid #efefef;
    box-shadow: none;
    position: relative;
    background: #bf002e;
    color: #fff;
}
.single-product button.krd-swatch.krd-swatch--size.is-active.active-swatch:before{
   content: "";
   display: block;
   width: 20px;
   height: 20px;
   top: -8.2px;
   right: -5px;
   background-image: url("/wp-content/uploads/2025/09/check-mark-icon-4.webp");
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
   position: absolute;
    animation: tickBounce 0.4s ease;
}

.single-product button.krd-swatch.krd-swatch--color.is-active.active-swatch:before {
       content: "";
   display: block;
   width: 20px;
   height: 20px;
   top: -8.2px;
   right: -5px;
   background-image: url("/wp-content/uploads/2025/09/check-mark-icon-4.webp");
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
   position: absolute;
    animation: tickBounce 0.4s ease;
}

.single-product .krd-swatch--size {
    border: 1px solid #ececec;
    min-width: 45px;
}
.single-product button.krd-swatch.krd-swatch--color.is-active.active-swatch {
    border: 1px solid #f6f6f6;
    box-shadow: none;
}
.single-product .krd-swatch.krd-swatch--color {
    border: 1px solid #efefef;
    width: 45px;
    height: 34px;
    border-radius: 4px;
}
@keyframes tickBounce {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  80%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
div#secondary {
    display: none;
}

@media (min-width: 600px){



nav.storefront-product-pagination {
    display: none;
}

.single-product div#content {
    width: 95vw;
    max-width: 600px;
    position: relative;
    margin: 0 auto;
}

.website-col {
    width: 100%;
    display: flex;
}

div#primary {
    width: 100% !important;
    margin-right: 0 !important;
}
  
    
.single-product .woocommerce-loop-product__link img,
.single-product .woocommerce-loop-product__link span.onsale {
   height: calc((25vw + 4px)* 1.33);
}

.single-product li.product {
    margin-right: 0 !important;
    width: calc((100% / 3) - 5px) !important;
}


  
}



@media (min-width:768px){


.single-product-img-swiper {
    width: calc((100% / 2) - 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(50vw * 1.33);
    position: relative;
}

    .single-product .summary.entry-summary {
    width: calc((100% / 2) - 20px) !important;
    padding-top: 0;
    padding-bottom: 0;
    justify-content: center;
}

.single-product div.product {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.single-product-img-swiper .swiper-wrapper {
    height: calc(100% - 26px) !important;
}

.single-product-img-swiper .swiper-slide {
    display: flex;
}

.single-product div#content {
    max-width: unset;
}

.single-product .product_meta {
    margin-top: 0;
    padding-top: 0 !important;
}
.single-product .related.products {
    width: 100%;
}

.single-product .custom-accordion {
    width: 100%;
}
   .single-product span.onsale {
    height: calc((50vw * 1.33) - 26px) !important;
    width: calc((100% / 2) - 20px) !important;
    max-width: 500px !important;
    max-height: 575px;
}
}

@media (min-width:981px){
  

.single-product div.product {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
}

.single-product .woocommerce-loop-product__link img
{
     height: calc((20vw + 4px)* 1.33);
    max-height: 324px;
}

.single-product a.button.yith-wcqv-button {
    top: calc((20vw + -32px)* 1.33);
}

.single-product div.product table.variations th.label  {
    width: 15%;
}
.single-product div.product table.variations td.value {
    width: 85%;
}.single-product-img-swiper {
    max-width: 450px;
}

.single-product span.onsale {
    max-width: 450px !important;
    width: calc((100% / 2) - 40px) !important;
}
.custom-accordion {
    margin-top: 40px;
}
    .single-product .summary.entry-summary {
    margin-left: 40px;
}
    .single-product .woocommerce-product-details__short-description {
 display: block;
 order: 4;
 margin-top: 10px;
}
   .single-product .accordion-item:first-child {
    display: none;
}
    
.accordion-body {
    visibility: visible !important;
    display: block !important;
}
}


/* SINGLE PRODUCT — MOBILE (0–600px) — Segmented Pill */
.single-product .summary .price{
  gap: 10px;
  width: 100%;
  margin: 4px 0 16px;
  line-height: 1.2;
  color: #111111;
  box-sizing: border-box;
}

/* remove random <br> between del/ins */
.single-product .summary .price br{ display: none; }

/* --- SALE: old (del) and new (ins) as segmented pills --- */
.single-product .summary .price del,
.single-product .summary .price ins{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  border: 1px solid rgba(125,125,140,0.25);
  background: #ffffff;
  box-sizing: border-box;
  padding: 0px; /* segments have their own padding */
}

/* labels */
.single-product .summary .price del::before,
.single-product .summary .price ins::before{
  content: "";
  position: absolute;
  top: -9px;
  left: 14px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(125,125,140,0.25);
  background: #bf002e;
  color: #ffffff;
  z-index: 998;
}
.single-product .summary .price del::before{ content: "Преди"; } /* "Before" */
.single-product .summary .price ins::before{ content: "Сега"; }  /* "Now" */

/* BGN segment (left) */
.single-product .summary .price del .woocommerce-Price-amount,
.single-product .summary .price ins .woocommerce-Price-amount{
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  background: #ffffff;
}

/* EUR segment (right) — divider + style */
.single-product .summary .price del .price-eur,
.single-product .summary .price ins .price-eur{
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  font-size: 14px;
  line-height: 1;
  border-left: 1px dashed rgba(125,125,140,0.45);
  white-space: nowrap;
  margin-right: 3px;
}

/* BGN values — keep your 18px font from existing rule */
.single-product .summary .price .woocommerce-Price-amount bdi{
  font-weight: 700;
  color: #111111;
}

/* old price strike */
.single-product .summary .price del .woocommerce-Price-amount bdi{
  text-decoration: line-through;
  text-decoration-color: rgb(85 85 85 / 55%);
  text-decoration-thickness: 2px;
  opacity: 0.85;
}

/* "лв." symbol slightly toned down */
.single-product .summary .price .woocommerce-Price-currencySymbol{
  opacity: 0.8;
  font-weight: 600;
}

/* EUR color differentiation (site accents) */
.single-product .summary .price del .price-eur{
  border-left-color: rgb(197 197 197 / 25%);      /* #bf002e @ 0.25 */
  background: rgb(121 121 121 / 20%);          /* #f3accd @ 0.20 */
  color: #000000;
}
.single-product .summary .price ins .price-eur{
  border-left-color: rgb(189 189 189 / 35%);      /* #bf002e @ 0.35 */
  background: #f2f2f2;
  color: #000000;
}

/* extra emphasis for "Now" row */
.single-product .summary .price ins{
  border-color: rgb(191 0 46);
  box-shadow: 0px 8px 18px rgb(125 125 125 / 12%);
}

/* --- NO-SALE: single price + EUR -> one segmented pill --- */
.single-product .summary .price:not(:has(del)):not(:has(ins)){
  display: inline-flex;
  align-items: center;
  gap: 0px;
  border: 1px solid #da096b;
  background: #ffffff;
  box-sizing: border-box;
  padding: 0px;
  width: auto;
  position: relative;
}
.single-product .summary .price:not(:has(del)):not(:has(ins)):before {
    content: "Цена";
    position: absolute;
    top: -9px;
    left: 14px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid rgba(125, 125, 140, 0.25);
    background: #da096b;
    color: #ffffff;
    z-index: 998;
}
.single-product .summary .price:not(:has(del)):not(:has(ins)) > .woocommerce-Price-amount{
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  background: #ffffff;
}
.single-product .summary .price:not(:has(del)):not(:has(ins)) > .price-eur{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1;
  border-left: 1px dashed rgb(246 246 246);
  background: rgb(246 246 246);
  color: #111111;
  white-space: nowrap;
  margin-right: 3px;
}

.input-text.qty.text {
    border: 1px solid #da096b;
    box-shadow: 0px 8px 18px rgb(125 125 125 / 12%);
}

/ 
/* ===== RECENT PRODUCTS SLIDER (scoped) ===== */

.recent-products-swiper .recent-product-link{
  display: block;
  text-decoration: none;
}

.recent-products-swiper .recent-product-title{
  font-size: 14px !important;
  font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
  font-weight: bold !important;
  color: #111111;
  line-height: 1.25;
  margin: 20px 0 0px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Spacing wrapper for the price block in cards */
.recent-products-swiper .recent-product-price{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.recent-products-swiper .recent-product-price br {
    display: none;
}
/* SALE: old price box */
.recent-products-swiper .recent-product-price del{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.recent-products-swiper .recent-product-price del::after{
  content: "стара цена";
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1;
  color: #111111;
  border: 1px solid rgba(125,125,140,0.25);
  background: #f2f2f2;
}
.recent-products-swiper .recent-product-price del .woocommerce-Price-amount bdi{
  font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #6f6f6f;
  text-decoration: line-through;
  text-decoration-color: rgba(191,0,46,0.55);
  text-decoration-thickness: 2px;
}
.recent-products-swiper .recent-product-price del > .price-eur{
  display: none; /* hide EUR for old price in cards */
}

/* SALE: new price row (BGN + EUR pill) */
.recent-products-swiper .recent-product-price ins{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #da096b;
  padding-left: 5px;
  /* background: #ffffff; */
  /* box-shadow: 0px 8px 18px rgb(125 125 125 / 12%); */
}
.recent-products-swiper .recent-product-price ins .woocommerce-Price-amount bdi{
  font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #111111;
}
.recent-products-swiper .recent-product-price ins > .price-eur{
  display: inline-block;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  border-left: 1px solid rgba(191,0,46,0.35);
  color: #111111;
  background: #f2f2f2;
}

/* NON-SALE: single line pill (BGN + EUR) */
.recent-products-swiper .recent-product-price:not(:has(del)):not(:has(ins)){
  display: inline-flex;
  align-items: center;
  flex-direction: unset;
  gap: 10px;
  margin-top: 6px;
  box-sizing: border-box;
  width: 100%;
}
.recent-products-swiper .recent-product-price:not(:has(del)):not(:has(ins)) > .woocommerce-Price-amount bdi{
  font-family: 'Sofia Sans Semi Condensed', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #111111;
}
.recent-products-swiper .recent-product-price:not(:has(del)):not(:has(ins)) .woocommerce-Price-currencySymbol{
  opacity: 0.8;
  font-weight: 600;
}
.recent-products-swiper .recent-product-price:not(:has(del)):not(:has(ins)) > .price-eur{
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid rgb(189 189 189 / 35%);
  white-space: nowrap;
  color: #111111;
  background: #f2f2f2;
}


.karissa-delivery-box {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    padding: 24px 24px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin: 10px 0;
}

.karissa-delivery-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #efefef;
}

.karissa-delivery-head h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}

.karissa-delivery-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}

.karissa-delivery-content p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.karissa-delivery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.karissa-delivery-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.karissa-delivery-list li:last-child {
    margin-bottom: 0;
}

.karissa-delivery-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #111111;
    border-radius: 50%;
}

.karissa-delivery-box strong {
    color: #111111;
    font-weight: 700;
}

@media (max-width: 767px) {
    .karissa-delivery-box {
        padding: 18px 16px;
    }

    .karissa-delivery-head h3 {
        font-size: 18px;
    }

    .karissa-delivery-content p,
    .karissa-delivery-list li {
        font-size: 14px;
        line-height: 1.6;
    }
}