/* my-wishlist.css */

/* Fix autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
input:-internal-autofill-selected,
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #333 !important;
  background-color: white !important;
  background-image: none !important;
  color: #333 !important;
}

/* For Firefox */
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active { 
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  background-color: white !important;
  background-image: none !important;
  color: #333 !important;
}

.wishlist-popup-content {
  position: relative;
}

.wishlist-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 18px;
  color: #555;
}

.my-wishlist-table {
  width: 100%;
  border-collapse: collapse;
}

.my-wishlist-table th,
.my-wishlist-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.product-thumbnail img {
  max-width: 80px!important;
  height: auto;
}

.wishlist-cell.product-name {
  font-weight: bold;
}



.remove-cell button {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 3px 6px 5px;
  cursor: pointer;
  border-radius: 4px;
  line-height:.75em!important;
}

.remove-cell button:hover {
  background: #c0392b;
}

.wishlist-cell ins {
  text-decoration: none;
}

.wishlist-cell del {
  margin-right: 5px;
  opacity: 0.7;
}

#my-wishlist-clear {
  margin-top: 20px;
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
}

.wishlist-loading:after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top: 2px solid #444;
  border-radius: 50%;
  animation: wishlist-spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes wishlist-spin {
  to {
    transform: rotate(360deg);
  }
}

.wishlist-widget .gform_wrapper {
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  
}

.wishlist-widget .gform_wrapper form {
  width: 100%;
}

.wishlist-count-text {
  font-family: var(--primary-font);
  font-size: 12px;
  font-weight: bold;
  fill: black;
  dominant-baseline: middle;
  transform: translateY(4px);
}

.wishlist-count-icon {
  position: relative;
}

.wishlist-handle {
  stroke: black;
  stroke-width: 2.5;
}

.color-swatch {
  position: relative;
}

.color-circle-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
}

@media (min-width: 1025px) {
  .color-circle-remove {
    display: none;
  }
}

/* wishlist-errors.css */
.wishlist-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  font-size: 14px;
}

.wishlist-item-remove{

  line-height: .9em;
}

.wishlist-item-error {
  opacity: 0.8;
  background-color: #f8f9fa;
}

.wishlist-item-error .wishlist-item-title {
  color: #721c24;
}

.wishlist-item-error-message {
  color: #721c24;
  font-size: 14px;
  margin-top: 5px;
}

.wishlist-item-error .wishlist-item-image img {
  opacity: 0.5;
  filter: grayscale(50%);
}

.wishlist-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  text-align: center;
}

.wishlist-empty {
  text-align: center;
  padding: 30px 15px;
  color: #6c757d;
}

/* wishlist-fixes.css */
/* .wishlist-popup-content {
  max-height: 80vh;
  overflow-y: auto;
} */

.wishlist-item-image img[src='undefined'],
.wishlist-item-image img:not([src]) {
  display: none;
}

.color-circle:empty,
.color-circle[style=''] {
  display: none;
}

.remove-from-wishlist {
  z-index: 10;
  position: relative;
}

#wishlist-empty-message-form p {
  font-size: 18px;
  padding: 15px;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  margin: 20px 0;
}

body.wishlist-submitted .wishlist-empty,
.gform_confirmation_wrapper ~ .wishlist-empty,
.wishlist-container .wishlist-empty:contains('NO ITEMS FOUND IN YOUR WISHLIST') {
  display: none !important;
}

.color-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wishlist-item-error {
  opacity: 0.8;
  background-color: #f8f9fa;
  border: 1px solid #eee;
}



/* hide-empty-messages.css */
#wishlist-empty-message-form,
.wishlist-empty-message,
.empty-wishlist-notice {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.elementor-location-popup .elementor-text-editor p:empty,
.elementor-location-popup .elementor-text-editor div:empty {
  display: none !important;
}

.elementor-location-popup .gform_wrapper,
.elementor-location-popup .gform_body,
.elementor-location-popup form[data-formid] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hide-empty-message {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}
.product-unavailable {
  padding: 15px;
  background-color: #fff9f9;
  border: 1px solid #f0dddd;
  border-radius: 3px;
  margin-bottom: 15px;
  position: relative;
}

.product-unavailable h3 {
  margin-top: 0;
  color: #c62828;
  font-size: 16px;
  margin-bottom: 5px;
}

.product-unavailable p {
  margin-bottom: 5px;
  color: #666;
}

.product-unavailable .remove-from-wishlist {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 13px;
}

.product-unavailable .remove-from-wishlist:hover {
  background-color: #d32f2f;
}

/* Ensure form is visible */
#wishlist-form-container {
  margin-top: 20px;
}

/* Ensure loading indicator doesn't overlap */
.wishlist-loading-indicator {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Improve empty message styling */
#wishlist-empty-message-form {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  text-align: center;
}

#field_1_7{
  display:none;
}