.loader-spinner {
  -webkit-animation: spin 2s linear infinite !important;
  animation: spin 2s linear infinite !important;
}



.order-confirm {
  width: 17%;
}

.courier {
  width: 40%;
}

.way {
  width: 62%;
}
.pickup {
  width: 100%;
}

.cate-menu-active {
  color: var(--primary) !important;
}

.search {
  position: relative;
}
.search input {
  line-height: 1.8rem;
  text-indent: 25px;
  border-radius: 30px;
}
.search input:focus {
  border: 2px solid var(--primary);
}

.search .fa-search {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  transition: 0.4s ease;
  color: var(--gray-3);
}
.search .fa-search:hover {
  color: var(--primary);
  transform: scale(1.05) translateY(-50%);
}

.search button {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 35px;
  width: 60px;
  background: var(--primary);
}

.newsletter-submit {
  overflow: inherit !important;
}
.input-group-news {
  position: relative;
  background-color: var(--primary-light);
  margin-bottom: 2rem;
  border-radius: 50px;
  border: 1px solid var(--primary-light-border);
}
.input-group-news input {
  border: 0.1rem solid transparent;
  background-color: var(--primary-light);
  border-radius: 50px;
  -webkit-border-radius: 50px;
  width: 100%;
  padding: 1.5rem 10rem 1.5rem 2rem;
  box-sizing: border-box;
  font-size: 1.4rem;
  background-color: transparent;
  color: var(--gray-1);
}
.input-group-news .input-group-btn {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
}
.input-group-news .input-group-btn .btn {
  background: var(--primary);
  color: var(--text-primary);
  font-size: 1.4rem;
  min-height: 40px;
  height: 40px;
  min-width: 95px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
}

.input-group-news input:focus {
  outline: none;
  border-color: var(--primary);
  transition: border-color 0.2s ease-in-out;
}

.order-product-details h5 a {
  color: inherit !important;
}

/* Hide weight from product pages */
.weight {
    display: none !important;
}

/* Hide club points from everywhere */
.club-point,
.product-club-point,
[class*="point-earned"],
[class*="reward-point"] {
    display: none !important;
}

/* Hide any element containing "Point Earned" text */
li:has(h6:contains("Point Earned")),
li:has(h6:contains("Total Point")) {
    display: none !important;
}

/* Free Shipping Badge Enhancement */
.free-shipping-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
    animation: pulse-glow 2s ease-in-out infinite;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
        transform: scale(1.05);
    }
}

/* Free Shipping Success Message */
.free-shipping-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    border-left: 4px solid #10b981 !important;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix Product Card Image Heights - Maintain Consistent Card Sizes */
.product-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
    background: #fff !important;
    border-radius: 8px !important;
}

.product-item .product-img {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden !important;
    background-color: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-item .product-img > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.product-item .product-img > a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Ensure product info section has consistent spacing */
.product-item .product-info,
.product-item .todays-deal-product-info {
    padding: 15px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Fix for product title - show full title */
.product-item .product-title {
    min-height: 40px !important;
    line-height: 1.4 !important;
}

/* Ensure rating section has consistent height */
.product-item .ratting {
    min-height: 20px !important;
    margin-bottom: 8px !important;
}

/* Ensure price section has consistent height */
.product-item .product-price,
.product-item .todays-deal-price {
    min-height: 30px !important;
    margin-top: auto !important;
}

/* Ensure grid columns have equal height */
.product-item-container,
[class*="col-"]:has(.product-item) {
    display: flex !important;
}

/* Additional fix for swiper slides containing product items */
.swiper-slide:has(.product-item) {
    height: auto !important;
}

.swiper-slide .product-item {
    height: 100% !important;
}
