.header-icon {
    font-size: large !important;
}

.two-line-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;         /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;               /* Approx height for 2 lines */
  line-height: 1.5em;
}
.location-modal-title {
    font-size: 1rem !important;
}
.location-input{
    margin-left: 10px !important;
}
.location-label {
    margin-left: 20px !important;
}

.pac-container {
  z-index: 2000 !important; /* Higher than Bootstrap modal */
}
.dots-loader {
  display: flex;
}

.dots-loader span {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #007bff;
  border-radius: 50%;
  display: inline-block;
  animation: dots-bounce 1.4s infinite ease-in-out both;
}

.dots-loader span:nth-child(1) {
  animation-delay: -0.32s;
}
.dots-loader span:nth-child(2) {
  animation-delay: -0.16s;
}
.dots-loader span:nth-child(3) {
  animation-delay: 0;
}

@keyframes dots-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
.preparing {
  margin-top: -7px;
  margin-left: 20px;
}
.delivery-time {
  font-weight: 800;
    margin-bottom: 6px;
    font-size: 14px;
}

/* new add css */

.cart-blinkit-btn {
        display: inline-flex;
        align-items: center;
        background-color: #0a8a07;
        color: white;
        padding: 6px 16px;
        border-radius: 12px;
        text-decoration: none;
        gap: 10px;
        font-size: 13.5px;
        font-weight: 500;
        line-height: 1.1;
        margin-bottom: 14px !important;
    }

    .cart-blinkit-btn:hover {
        background-color: #0a7c06;
        color: white;
    }

    .cart-blinkit-btn i {
        font-size: 18px;
        color: white;
    }

    .cart-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.2;
        white-space: nowrap; 
    }
    .cart-items, .cart-price {
        font-size: 13px;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .disabled-link {
        pointer-events: none !important;  /* Prevent clicking */
        opacity: 0.50;          /* Look disabled */
        background-color: #aaa;
        cursor: not-allowed !important;   /* Show not-allowed sign */
    }

    .add-quantity-cart {
  display: inline-flex;
  align-items: center;
  background-color: #2e8b57;  /* deep green */
  border-radius: 4px;         /* pill corners */
  overflow: hidden;           /* clip child hover backgrounds */
  font-family: sans-serif;
  user-select: none;
}

.add-quantity-cart button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  width: 32px;
  height: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.add-quantity-cart button:hover {
  background: rgba(255,255,255,0.2);
}

.add-quantity-cart span {
  display: inline-block;
  width: 32px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}
   

/* .location-wrap {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
} */

#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

#main-wraper {
  padding-top: 202px !important;
}

.header-bottom {
  position: sticky !important;
  top: 110px !important;
  background: #fff !important;
  z-index: 998 !important;
}

#header.topper-white {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background: #fff !important;
    color: #020000;
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}







.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}

.sidebar-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-cart-item img {
  height: 50px;
  margin-right: 10px;
}

.cart-item-details {
  flex: 1;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn {
  background-color: #eee;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.bill-details-box {
  width: 100%;
  max-width: 300px;
  background: #f5f8ff;
  border-radius: 12px;
  padding: 16px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
}

.bill-heading {
  font-weight: bold;
  margin-bottom: 12px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bill-row.total {
  font-weight: bold;
  font-size: 15px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.strike {
  text-decoration: line-through;
  color: #999;
  margin-right: 4px;
}

.free {
  color: #00a63d;
  font-weight: bold;
}

.info-icon {
  display: inline-block;
  background: #ddd;
  color: #555;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  margin-left: 4px;
  cursor: pointer;
}


.out-of-stock-banner {
  background: #ffe6e6;
  color: #b30000;
  padding: 10px 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-btn {
  background: #fff;
  color: #b30000;
  border: 1px solid #b30000;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.proceed-btn {
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: green;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  z-index: 1000;
}
.proceed-btn .total-amount {
  white-space: nowrap;
  color: #fff;
}

.proceed-btn .login-text {
  white-space: nowrap;
  font-weight: bold;
  color: #fff;
}
.proceed-btn .total-label {
  color: #fff;
}
.proceed-btn .left-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.login-register-btn {
  background-color: #28a745 !important;
}
.error{
  color: red !important;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 5px;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


.product-image-container {
    position: relative !important;
    display: block !important;
}

.out-of-stock-label {
    position: absolute;
    top: 20px;
    left: 4px;
    background-color: #ff3c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.product-image-container.out-of-stock {
    opacity: 0.5 !important;
}




.variant-modal {
  font-family: 'Poppins', sans-serif;
}

.variant-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.variant-img img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 6px;
}


.variant-info {
  margin-left: 80px;
  display: flex;
  flex-direction: column; /* stack vertically */
  justify-content: center;
}

.variant-weight {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.variant-price {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-top: 2px;
  padding-left: 0; /* remove this */
}

.variant-add-btn {
  min-width: 60px;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
}

.variant-item:hover {
  background-color: #f9f9f9;
}

