   
/* Overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 9998;
  display: none;
}

/* Popup Card */
.login-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: 92%;
  background: #ffffff;
  border-radius: 14px;
 
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: none;
  font-family: Inter, sans-serif;
}

/* Header */
.login-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 24px 16px;
}

/* Icon Circle */
.login-icon {
  width: 34px;
  height: 34px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Title */
.login-popup-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* Text */
.login-popup-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
    padding: 0px 24px 16px;
}

/* Actions */
.login-popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 24px;
    background: oklch(98.5% .002 247.839);
    flex-direction: row;
   border-radius: 14px;
}

/* Cancel Button */
.popup-cancel {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff !important;
  font-size: 14px;
  color: #0f172a;
  cursor: pointer;
}

/* Login Button */
.popup-login {
  padding: 10px 22px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff  !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
}

.popup-login:hover {
  background: #1d4ed8  !important;
}
.popup-cancel:hover {
  background: #1d4ed8  !important;
}

    
    
    
        .global-loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.global-loader.active {
  display: flex;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #ddd;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
#search-pagination button {
    width: 32px;
    height: 32px;
    border-radius: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: all .2s 
ease-in-out;
    font-size: 13px;
    font-weight: 600;
    color: #152738;
    border: 1px solid rgba(200, 200, 200, .4);
}
#search-pagination button.page-btn.active {
    cursor: pointer;
    background: #074ced;
    color: #fff;
    border: 1px solid #074ced;
}
#search-pagination {
    display: flex;
    justify-content: center !important;
    margin: 20px auto;
    gap: calc(0.25rem * 2) !important;
    margin-top: 80px;
}
#search-pagination button.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
button.like_btn.active svg path {
    fill: #ef4444;
    stroke: #ef4444;
}
#toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  animation: slideIn 0.3s ease;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast.success {
  border-left: 4px solid #22c55e;
}

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast.success .toast-icon {
  background: #22c55e;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.toast-close {
  cursor: pointer;
  font-size: 18px;
  color: #64748b;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cartcount{
  position: absolute;
  top: -6px;
  right: -8px;
  background: #fb2c36;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart_link{
  position: relative;
}





