html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Hide Radio button */

.rate > input{
  display: none;
}

.rate{
  display: inline-block;;
  border: 0;
}

.rate > label{
  float: right;
}

/* Showing the stars */
.rate > label:before{
  display: inline-block;
  font-size: 1.1rem;
  font-family: FontAwesome;
  content: "\f005";
  margin:0;
  padding:0.3rem .2rem;
  cursor: pointer;
}

/* Half star */
.rate .half:before{
  content: "\f089";
  position: absolute;
  padding-right: 0;
}

/* Click and hover */
input:checked ~ label, label:hover ~ label{
  color: #ffb503;
}

/* hover hightlight */
input:checked + label:hover, input:checked ~ label:hover,input:checked ~ label:hover ~ label,
label:hover ~ input:checked ~ label{
  color: #cc9000;
}

.rating-star i{
  color: #ffb503 !important;
}

ul.thumb{
  margin:0 auto;
  padding: 0;
  float: left;
}
ul.thumb li{
  list-style: none;
  margin: 10px;
}
ul.thumb li img{
  width: 80px;
  height: 80px;
  border: 1px solid grey;
}
.timeline {
    border-left: 3px solid #000;
    margin: 20px;
    padding-left: 20px;
}

.timeline-step {
    margin-bottom: 20px;
    position: relative;
}

.timeline-step::before {
    content: '';
    width: 12px;
    height: 12px;
    background: black;
    position: absolute;
    left: -26px;
    top: 5px;
    border-radius: 50%;
}

/* add to cart animation */
#cartIcon.cart-bounce {
	animation: bounce 0.3s;
}

@keyframes bounce {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}
/* stock quantity message */
.stock-msg {
    transition: opacity 0.3s ease;
}
/* filter color select style */
.color-swatch span:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
    border-color: #000;
}
.color-swatch input:checked + span {
    border: 2px solid #000;
}

/* 🚀 Prevent mobile zoom issue */
input.qty-input {
    font-size: 16px !important;
    transform: scale(1);
}
input, select, textarea {
    font-size: 16px !important;
}

.qty-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
/* Prevent double-tap zoom */
button {
    touch-action: manipulation;
}
td, th {
    vertical-align: middle !important;
}
td {
    word-break: break-word;
}

/* .table {
    table-layout: fixed;
} */
.input-group {
    align-items: center;
}

.qty-input {
    height: 36px;
    line-height: 36px;
    padding: 0;
}

.qty-btn {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prevent price section jumping */
.price-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

/* Faster carousel transition image slider in modal*/
.carousel-item {
    transition: none !important;
}
#mainImagesrc {
    transition: all 0.25s ease;
}
.zoomable-img {
    cursor: zoom-in;
    will-change: transform;
    backface-visibility: hidden;
}
.color-swatch {
    cursor: pointer;
}

/* circle */
.color-circle {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: relative;
}

/* tick hidden by default */
.tick-mark {
    position: absolute;
    top: 4px;
    left: 10px;
    font-size: 16px;
    color: white;
    display: none;
    font-weight: bold;
}

/* show tick when selected */
.color-swatch input:checked ~ .tick-mark {
    display: block;
}

/* highlight selected */
.color-swatch input:checked + .color-circle {
    border: 2px solid #000;
}
.new-badge {
    position: absolute;
    top: 10px;
    right: -5px;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 20px 0 0 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10;
}