/* Product Badges & Timeline Styles */
.product-badges-timeline-wrapper {
    clear: both;
    margin: 30px 0;
}
@media (max-width: 500px) {
  .product-badges-timeline-wrapper {
    clear: both;
    margin: 0px 0; /* reduced margin for mobile */
  }
  .timeline-countdown{
      font-size: 11px;
        padding: 5px 7px;
        margin-bottom:1px !important; 
  }
   br.mobile-hide {
    display: none;
  }
  mobile-size{
      font-size:9px;
  }
  .timeline-line {
      top:28px !important;
  }
}

/* Special Offer Badge */
.special-offer-badge h2 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.special-offer-badge {
    position: relative;
background: linear-gradient(
  90deg,
  #0a0a0a,
  #2b2b2b,
  #f5f5f5,
  #2b2b2b,
  #0a0a0a
);
    background-size: 300% 100%;
    animation: shine 15s linear infinite;
    color: white !important;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Left and Right notch/cut */
.special-offer-badge::before,
.special-offer-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 12px;
    height: 24px;
    background: white;
    border-radius: 90%;
    transform: translateY(-50%);
    z-index: 1;
}

.special-offer-badge::before {
    left: -6px;
}

.special-offer-badge::after {
    right: -6px;
}

.special-offer-badge p {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 500;
}

.shipping-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom Badges */
.product__custom-badges {
    margin: 20px 0;
}

.custom-badges-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive adjustments for badges */
@media (max-width: 767px) {
    .product__custom-badges span {
        font-size: 9px !important;
        padding: 6px 10px !important;
    }
    
    .special-offer-badge h2 {
        font-size: 16px;
    }
    
    .shipping-icon {
        width: 20px;
        height: 20px;
    }
}

/* Timeline Styles */
.timeline-container {
    font-family: 'Arial', sans-serif;
    margin-top: 20px;
    opacity: 1;
    visibility: visible;
    display: block !important;
}

.timeline-countdown {
    background-color: #f9f7f4;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    border: 1px solid rgba(127, 96, 81, 0.15);
    box-shadow: 0 2px 10px rgba(127, 96, 81, 0.05);
    margin-bottom: 25px;
}

.countdown-timer {
    font-weight: 700;
    color: #7f6051;
    background: rgba(127, 96, 81, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.delivery-range {
    font-weight: 700;
    color: #7f6051;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    text-align: center;
    padding: 10px 0;
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-step .icon-wrapper {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    background: #fff;
    border: 2px solid #e0d6cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline-step img {
    width: 24px;
    height: 24px;
}

.timeline-label {
    font-weight: 600;
    color: #7f6051;
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 13px;
    color: #555;
}

.timeline-line {
    position: absolute;
    top: 33px !important;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #e0d6cd 0%, #b0976d 50%, #e0d6cd 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .timeline-step .icon-wrapper {
        width: 30px;
        height: 30px;
    }
    
    .timeline-step img {
        width: 20px;
        height: 20px;
    }
    
    .timeline-label {
        font-size: 11px;
          margin-bottom: 0px;
    }
    
    .timeline-date {
        font-size: 10px;
    }
    
    .timeline-countdown {
        font-size: 14px;
        padding: 14px 16px;
    }
}