.in-kosik .extras-wrap{
        display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    background: #fff;
    gap: 20px;
    padding:12px !important;
    align-items: center
}
.in-kosik .fvDoplnek-produkt {
  position: relative;
}
.id--9 .top-navigation-bar{
z-index: 999 !important;
}
.id--9 .free-gift::before{
  content: unset !important;
}

.id--9 .free-gift {
  display: none !important;
}

.in-kosik .fvDoplnek-produkt .flag{
    position: absolute;
    top: 0px !important;
    right: 0px !important;
    color: white;
    padding: 5px 12px;
    font-weight: bold;
    border-radius: 0px 0px 0px 5px;
    /* transform: rotate(10deg); */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.in-kosik .extras-wrap .extra{
     width: 48%;
    margin: 0;
    padding: 10px;
    justify-content: center !important;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    text-align: center !important;
}
.fvDoplnek-upsell .common_price{
color:red;
}
.fvDoplnek-upsell .fvDoplnek-produkt img{
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.in-kosik .btn.btn-conversion {
    border-radius: 20px !important; 
}
.cart-table .cart-p-image img {
border-radius:8px;
}

.id--9 .extra.delivery {
    max-width:unset !important;
}
.id--9 .delivery-time{
    display: none;
}

    .id--9 .extra.delivery > span {
         margin: 0 !important; 
    }
    .id--9 .extra > span strong {
        color:#f6af3e;
    }

    @media only screen and (max-width:768px){
        .in-kosik .extras-wrap{
gap: 10px;
        }
        .in-kosik .p-total .remove-item{
padding:8px;
padding-top:0;
margin-top:6px;
}
 .in-kosik .cart-content .p-name .main-link {
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 95%;
  }
  .in-kosik .fvDoplnek-produkt .flag{
    bottom: 4px !important;
    right: 4px !important;
    top: unset !important;
    padding: 5px 12px;
    font-weight: bold;
    border-radius: 5px !important;
    /* transform: rotate(10deg); */
}
    }


.price-range {
border-radius: 10px;
height: 10px !important;
}
    .price-range > div {
  background: linear-gradient(90deg, #e39619, #f7e34d);
  border-radius: 10px;
  transition: width 0.4s ease-out; 
  position: relative;
}

.price-range > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background-size: 200% 100%;
  animation: shine 2s linear infinite;
  border-radius: 10px;
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


/*Popup*/

/* Progress bar */
#cboxLoadedContent .price-range {
  width: 100%;
  height: 14px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

#cboxLoadedContent .price-range > div {
  height: 100%;
  transition: width 0.4s ease, background-color 0.4s ease;
  border-radius: 8px 0 0 8px;
}

/* Základný štýl pre oba boxy */
#cboxLoadedContent .extra.delivery,
#cboxLoadedContent .extra.gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 15px;
  color: #434343;
  position: relative;
  padding: 0 12px; /* ochrana pred okrajmi na mobiloch */
  box-sizing: border-box;
}

/* DELIVERY štýl – zelený */
#cboxLoadedContent .extra.delivery {
 /* white-space: nowrap; */
  gap: 4px;
  font-weight: 500;
}

#cboxLoadedContent .extra.delivery > span {
  background-color: #f2fff2;
  border: 2px solid #4CAF50;
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
  color: #2e7d32;
  text-align: center;
  animation: softPulse 2.5s infinite;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.2);
  max-width: 100%;
  word-wrap: break-word;
}

/* GIFT štýl – fialový */
#cboxLoadedContent .extra.gift > span {
  background-color: #f5f0ff;
  border: 2px solid #7e57c2;
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
  color: #5e35b1;
  text-align: center;
  animation: softPulseGift 2.5s infinite;
  box-shadow: 0 0 4px rgba(126, 87, 194, 0.2);
  max-width: 100%;
  word-wrap: break-word;
}

/* Zvýraznené časti textu */
#cboxLoadedContent .extra.delivery strong {
  font-weight: 800;
  color: #1a3e1a;
}

#cboxLoadedContent .extra.gift strong {
  font-weight: 800;
  color: #45267a;
}

/* Vylepšený štýl pre motivátory */
#cboxLoadedContent .price-range div {
  height: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#cboxLoadedContent .price-range>div {
background-color: #000;
}
 .top-nav-button-login {
    display: none !important;
}
@media (max-width: 768px) {
    a.toggle-window[data-target="search"][data-testid="linkSearchIcon"] {
        right: 45px !important;
        position: absolute !important;
    }
}

#fv-upsell-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

#fv-upsell-p {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  max-width: 500px;
  width: 90%;
  border-radius: 6px;
  z-index: 9999;
  overflow: hidden;
}

.fv-upsell-content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  position: relative;
}

.fv-upsell-left {
  flex: 1 1 40%;
}

.fv-upsell-left img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.fv-upsell-right {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fv-upsell-p form{
  text-align: center;
}
.fv-upsell-right h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.fv-upsell-desc {
  font-size: 14px;
  margin-bottom: 8px;
}

.fv-upsell-price {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 6px;
}

.fv-upsell-close {
margin-top: 8px;
  color: #333;
  text-decoration: underline;
  border: none;
  padding: 5px 10px;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .fv-upsell-content {
    flex-direction: column;
    align-items: center;
  }
  .fv-upsell-left img {
  width: 60%;
  height: auto;
  border-radius: 4px;
}
  .fv-upsell-left, .fv-upsell-right {
    flex: 1 1 100%;
    text-align: center;
  }
  .fv-upsell-right {
    align-items: center;
    text-align: center;
  }
}


/* Animácie */
@keyframes softPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.2);
  }
}

@keyframes softPulseGift {
  0% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(126, 87, 194, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(126, 87, 194, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 4px rgba(126, 87, 194, 0.2);
  }
}
.free-gifts-wrapper {
  display: flex
;
  flex: 1;
  align-items: stretch !important; 
  flex-direction: column;
}

.free-gift-cell {
  padding: 0 !important;
  border: none !important;
  vertical-align: top;
  width: 100%;
}

.free-gift-row {
  transition: all 0.3s ease;
  position: relative;
}

.free-gift-row .cart-p-image img {
  border-radius: 8px;
}

.free-gift-row .p-name .main-link {
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
}

.free-gift-row .p-name .main-link:hover {
  color: #f6af3e;
}

.free-gift-row .p-total .price-final {
  font-size: 20px;
  line-height:27px;
  font-weight: 600;
  color: #f6af3e;
  display: flex
  ;
      flex-direction: row;
      gap: 6px;
}


.free-gift-row .p-total .price-final .zdarma-icon{
  height: 1.2em;
  width: auto;
  margin-left: 14px;
}


.free-gift-row .quantity {
  display: none; 
}

.free-gift-row .remove-item {
  display: none; /* Hide remove button for gift */
}

.free-gift-row .free-gift-status-text {
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  z-index: 10;
  background-color: #69f1a2;
    border-radius: 8px;
}

.free-gift-row .p-name {
  vertical-align: middle;
  padding-top: 15px;
}

.free-gift-row .cart-p-image {
  vertical-align: top;
  padding-top: 15px;
}

.free-gift-row .p-price {
  vertical-align: middle !important;
  padding-top: 15px;
}

.free-gift-row .p-total {
  vertical-align: middle !important;
  padding-top: 15px;
}

.free-gift-row .p-tools {
  vertical-align: top;
  padding-top: 15px;
}

.free-gift-row .p-availability {
  vertical-align: top;
  padding-top: 15px;
}


.free-gifts-img {
  position: relative;
  flex-shrink: 0;
}

.free-gifts-img img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.free-gift:hover .free-gifts-img img {
  transform: scale(1.05);
}

.free-gift-label {
  padding-left: 4px !important;
}

.free-gift-name {
  display: block;
  font-weight: 600;
  text-align: left !important;
  margin-bottom: 8px;
}

.free-gift-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.free-gift-original-price {
  font-size: 16px;
  font-weight: 500;
  text-decoration: line-through;
}

.free-gift-free-text {
  font-size: 18px;
  font-weight: bold;
  display: inline !important;
  text-transform: uppercase;
}

.free-gift-status-text {
  font-size: 15px;
  text-align: center;
  width: fit-content;
  padding: 5px;
}

.unified-progress {
  width: 950px;
  max-width: 950px;
  border-radius: 12px;
  padding: 20px;
}

.unified-progress-content {
  text-align: center;
}

.unified-progress .progress-text {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.progress-bar-container {
  position: relative;
  margin-bottom: 20px;
  padding: 20px 0;
}

.progress-icons {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 3;
}

.start-icon,
.delivery-icon,
.end-icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #f6af3e !important;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(90deg, #e39619, #f7e34d) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

/* Subtle pulse for not-yet-reached milestones */
.start-icon.pulsing,
.delivery-icon.pulsing,
.end-icon.pulsing {
  animation: milestonePulse 1.6s ease-in-out infinite;
}

@keyframes milestonePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 175, 62, 0.35);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(246, 175, 62, 0.08);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 175, 62, 0.0);
  }
}

.progress-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  z-index: 1;
  position: relative;
}

.progress-label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  max-width: 200px;
}

.start-icon.active,
.delivery-icon.active,
.end-icon.active {
  border-color: #f6af3e;
}

.progress-icons .progress-step {
  align-items: center !important;
}

.progress-icons .progress-step .progress-label {
  text-align: center !important;
  max-width: 200px;
  margin: 0 auto;
}
  
.progress-icons::before {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(18.33% - 16px);
  right: calc(18.33% - 16px);
  height: 6px;
  background: #e9ecef;
  z-index: 1;
  border-radius: 2px;
}

.progress-icons::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(18.33% - 16px);
  height: 6px;
  background: #f6af3e;
  z-index: 2;
  border-radius: 2px;
  width: calc((100% - 34.66%) * var(--progress-width, 0%) / 100);
  transition: width 0.6s ease;
}

.free-gift-row .p-price .price-final {
  font-size: 18px !important;
}

.unified-progress .progress-bar {
  display: none;
}

/* Popup-specific styles */
#cboxLoadedContent .unified-progress-popup {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  padding: 12px 8px;
  margin: 0;
}

#cboxLoadedContent .unified-progress-popup .progress-text {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

#cboxLoadedContent .unified-progress-popup .progress-bar-container {
  padding: 4px 0;
  margin: 0;
}

#cboxLoadedContent .unified-progress-popup .progress-icons {
  margin: 0;
  padding: 0;
}

#cboxLoadedContent .unified-progress-popup .start-icon,
#cboxLoadedContent .unified-progress-popup .delivery-icon,
#cboxLoadedContent .unified-progress-popup .end-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
}

#cboxLoadedContent .unified-progress-popup .start-icon.pulsing,
#cboxLoadedContent .unified-progress-popup .delivery-icon.pulsing,
#cboxLoadedContent .unified-progress-popup .end-icon.pulsing {
  animation: milestonePulse 1.6s ease-in-out infinite;
}

#cboxLoadedContent .unified-progress-popup .progress-icon {
  width: 16px;
  height: 16px;
}

#cboxLoadedContent .unified-progress-popup .progress-label {
  font-size: 12px;
  line-height: 1.2;
}

#cboxLoadedContent .unified-progress-popup .progress-icons::before {
  top: 12px;
  left: calc(18.33% - 14px);
  right: calc(18.33% - 14px);
  height: 5px;
}

#cboxLoadedContent .unified-progress-popup .progress-icons::after {
  top: 12px;
  left: calc(18.33% - 14px);
  height: 5px;
  width: calc((100% - 34.66%) * var(--progress-width, 0%) / 100);
}
.roz-obj .colorbox-html-content {
  padding-top: 20px !important;
}


/*Steps cart*/
ol.cart-header li::after {
  content: "" !important;
  position: absolute !important;
  right: 2% !important;
  bottom: -5% !important;
  top: unset !important;
  width: 95% !important;
  height: 3px !important;
  border-top: 3px solid #f5f5f5 !important;
}

ol.cart-header li.active::after {
  border-top: 3px solid #43d882 !important;
}

ol.cart-header li.step-3::after {
    display: block !important;
}

ol.cart-header li {
  padding: 20px 0 20px !important;
        flex-grow: 1;
        flex-basis: 0;
        font-family: Roboto, sans-serif !important;
}

ol.cart-header li span{
  font-weight: 400;
    color: #333;
    font-family: Roboto, sans-serif !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

ol.cart-header li a span::before, ol.cart-header li strong span::before {
  content: '0' counter(steps) !important;
  color: #ccc !important;
  background-color: transparent !important;
  width:unset !important;
  height: unset !important;
  font-weight: 300 !important;
  font-family: Roboto, sans-serif !important;
  font-size: 52px !important;
}

ol.cart-header li.active strong span::before {
  background-color: transparent !important;
  color: #43d882 !important;
}

ol.cart-header{
  display: flex;
  width: 100%;
  margin: 0 -3.5px !important;
}
ol.cart-header li a, ol.cart-header li strong{
  font-weight: 300 !important;
  color: #333 !important;
}

@media screen and (max-width: 991px) {
  ol.cart-header li::after {
      right: 3% !important;
      width: 93% !important;
  }
}

@media (max-width: 768px) {
  ol.cart-header li.active strong span::before, ol.cart-header li a span::before, ol.cart-header li strong span::before{
    font-size: 0px !important;
    width: 0px !important;
    height: 0px !important;
  }

  ol.cart-header li a span, ol.cart-header li strong span  {
    font-size: 13px !important;

  }

  ol.cart-header li{
    padding: 15px !important;
  }
  ol.cart-header li::after {
    bottom: 5% !important;
}

  .roz-obj .colorbox-html-content {
    padding-top: 24px !important;
  }
  .progress-bar-container {
    padding: 0 !important;
  }
.free-gift{
  padding:0px !important;
}
.free-gift-row .main-link{
order:0 !important;
}
.id--9 .free-gift {
  border-bottom: unset !important;
}
#checkoutContent .step-title{
  display: none !important;
}
#checkoutContent{
  padding-top: 14px !important;
}


.co-billing-address > .form-group {
  margin-top: 12px !important;
}

#checkoutContent .form-group {
  margin-bottom: 12px !important;
}

#checkoutContent .co-box.co-box-additional #note{
  margin-bottom: 24px !important;
}

body:not(.id--16) form #checkoutContent .co-box {
  padding-bottom: 18px !important;
  margin-bottom: 21px !important;
}

body:not(.id--16) form #checkoutContent .co-box-additional {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

  /* Popup mobile styles */
  #cboxLoadedContent .unified-progress-popup {
    padding: 8px 4px;
  }

  #cboxLoadedContent .unified-progress-popup .progress-text {
    font-size: 13px;
    margin-bottom: 8px;
    text-wrap: balance;
  }


  #cboxLoadedContent .unified-progress-popup .start-icon,
  #cboxLoadedContent .unified-progress-popup .delivery-icon,
  #cboxLoadedContent .unified-progress-popup .end-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
  }

  #cboxLoadedContent .unified-progress-popup .progress-icon {
    width: 14px;
    height: 14px;
  }

  #cboxLoadedContent .unified-progress-popup .progress-label {
    font-size: 9px;
    max-width: 120px;
    line-height: 1.1;
  }

  #cboxLoadedContent .unified-progress-popup .progress-icons::before {
    top: 11px;
    left: calc(18.33% - 13px);
    right: calc(18.33% - 13px);
    height: 4px;
  }

  #cboxLoadedContent .unified-progress-popup .progress-icons::after {
    top: 11px;
    left: calc(18.33% - 13px);
    height: 4px;
    width: calc((100% - 34.66%) * var(--progress-width, 0%) / 100);
  }
  .free-gift-content {
    text-align: center;
    gap: 15px;
    flex-direction: column;
  }

  .free-gift .cart-p-image {
    width: 80px;
    height: 80px;
  }

  .free-gift .p-name {
    text-align: center;
  }

  .free-gift .p-price {
    text-align: center;
  }



  .free-gift-row .p-availability,.free-gift-row .p-quantity, .free-gift-row .p-tools{
    display: none;
  }

  .free-gift-row .p-price {
    display: none;
  }

  .free-gift-row .p-name .p-total {
    display: flex
;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 8px;
    padding-top: 8px !important;
    padding-left: 0px !important;
}

  .free-gift-row .p-total::before {
    content: '177 Kč';
    text-decoration: line-through;
    font-size: 20px !important;
    min-width:85px;
  }

  .free-gift-row .p-name,
  .free-gift-row .p-availability,
  .free-gift-row .p-total {
    text-align: center;
  }

  .free-gift-row .free-gift-status-text {
    font-size: 13px;
    bottom: -11% !important;
    width: max-content !important;
  }

  .free-gift-row .p-name {
    padding-top: 0px !important;
  }

  .free-gift-row .cart-p-image {
    padding-top: 10px;
  }

  .free-gift-row .p-price {
    padding-top: 10px;
  }

  .free-gift-row .p-total {
    padding-top: 10px;
  }

  .free-gift-row .p-tools {
    padding-top: 10px;
  }

  .free-gift-row .p-availability {
    padding-top: 10px;
  }

  .free-gift-row{
    flex-wrap: nowrap !important;
  }
  
  .free-gifts-img {
    align-self: center;
  }
  
  .free-gift-name {
    font-size: 16px;
  }

  .unified-progress {
    padding: 2px;
    margin-bottom: 15px;
    margin-top: 4px;
  }

  .unified-progress .progress-text {
    font-size: 16px;
    text-wrap: balance;
  }

  .progress-icons {
    margin-top: 15px;
    padding: 0px;
  }

  .progress-step {
    flex: 1;
  }

  .start-icon,
  .delivery-icon,
  .end-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 6px;
  }

  .progress-icon {
    width: 20px;
    height: 20px;
  }

  .progress-label {
    font-size: 11px;
    max-width: 80px;
    line-height: 1.2;
    text-align: center !important;
    margin: 0 auto;
  }

  .progress-icons::before {
    top: 17px;
    left: calc(18.33% - 17px);
    right: calc(18.33% - 17px);
  }

  .progress-icons::after {
    top: 17px;
    left: calc(18.33% - 17px);
    width: calc((100% - 34.66%) * var(--progress-width, 0%) / 100);
  }

  .progress-indicator-dot {
    top: 14px; 
  }
}


