/* Notify Me Button Styling */
#notify-me-button {
  padding: 13px 15px;
  font-size: 1.5rem;
  border-radius: 3px;
  background: #000000;
  border: 2px solid #E5047A;
  color: #FFFFFF;
  font-weight: bold;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#notify-me-button:hover {
  background: #E5047A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#notify-me-button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

#notify-me-button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

#notify-me-button:hover span {
  padding-right: 25px;
}

#notify-me-button:hover span:after {
  opacity: 1;
  right: 0;
}

/* Modal Window Styling */
.custom-email-modal {
  padding: 0;
  border-radius: 8px;
  box-shadow: none; /* Remove shadow */
  max-width: 700px; /* Increased width */
  width: 95% !important;
  overflow: hidden;
  /* Center the modal on all screen sizes */
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: fixed !important;
}

/* Make sure the modal container is properly centered */
.modals-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-popup {
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
}

.custom-email-modal .modal-header {
  background-color: #000;
  color: white;
  padding: 15px 20px;
  border-bottom: 3px solid #E5047A;
}

.custom-email-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: white;
  border-bottom: none !important;
}

.custom-email-modal .modal-content {
  padding: 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.custom-email-modal .modal-content strong {
  color: #000;
  font-weight: 600;
}

.custom-email-modal .modal-footer {
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  padding: 15px 20px;
  text-align: right;
}

/* Input Field Styling */
.custom-email-modal input[type="text"] {
  height: 45px;
  font-size: 15px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  margin-top: 15px;
  transition: border-color 0.3s;
}

.custom-email-modal input[type="text"]:focus {
  border-color: #E5047A;
  box-shadow: 0 0 0 2px rgba(229, 4, 122, 0.25);
  outline: none;
}

/* Notify Button in Modal */
.custom-email-modal .notify-button {
  background-color: #000;
  color: #fff;
  border: 2px solid #E5047A;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-email-modal .notify-button:hover {
  background-color: #E5047A;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Product Information Styling */
.custom-email-modal p {
  margin-bottom: 12px;
}

.custom-email-modal p:last-child {
  margin-top: 18px;
  font-size: 15px;
  color: #E5047A;
  font-weight: 500;
}

/* Email notification text */
.custom-email-modal p:nth-child(3) {
  color: #E5047A;
  font-weight: 500;
}

/* Add animation for modal appearance */
@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.custom-email-modal._show {
  animation: modalFadeIn 0.3s ease forwards;
}

/* Make sure modal overlay covers the entire screen */
.modals-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 899; /* One less than the modal's z-index */
}

/* Different screen sizes */
@media screen and (min-width: 768px) {
  .custom-email-modal {
    width: 700px !important; /* Increased width */
  }
}

/* Mobile responsiveness */
@media screen and (max-width: 767px) {
  .custom-email-modal {
    width: 95% !important;
    max-width: 95%;
  }
  
  .custom-email-modal .modal-title {
    font-size: 18px;
    border-bottom: none !important;
  }
  
  .custom-email-modal input[type="text"] {
    height: 40px;
  }
}

/* Keep your existing swatch styles */
.swatch-attribute.size .swatch-option, 
.swatch-attribute.manufacturer .swatch-option {
  background: #ffff;
  color: #000000;
}

.swatch-attribute.size .swatch-option.selected, 
.swatch-attribute.manufacturer .swatch-option.selected {
  background: #000;
  border: 1px solid #ffffff;
  color: #fff;
}

.swatch-attribute .swatch-option.text.outofstock-style:not(.selected) {
  background: #8080808c !important;
}

.swatch-attribute .swatch-option.color.outofstock-style:not(.selected) {
  filter: blur(1.5px);
  border: 1px solid #b7a9a9;
}

/* Fix for close button */
.custom-email-modal .action-close {
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.custom-email-modal .action-close:before {
  color: white; /* Ensure the icon is white */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.custom-email-modal .action-close:hover:before {
  color: white !important; /* Force the icon to stay white on hover */
}

.modal-popup .modal-inner-wrap
{
  width: 100% !important;
}

/*************************************************************************************************************/
/* Notification Modal Styling */
.custom-notification-modal {
  padding: 0;
  border-radius: 8px;
  box-shadow: none;
  max-width: 700px;
  width: 95% !important;
  overflow: hidden;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: fixed !important;
}

.custom-notification-modal .modal-inner-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.custom-notification-modal .modal-header {
  background-color: #000;
  color: white;
  padding: 15px 20px;
  border-bottom: 3px solid #E5047A;
}

.custom-notification-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: white;
  border-bottom: none !important;
}

.custom-notification-modal .modal-content {
  padding: 25px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.custom-notification-modal .modal-footer {
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
  padding: 15px 20px;
  text-align: right;
}

/* OK Button in Notification Modal */
.custom-notification-modal .action-primary,
.custom-notification-modal button.action-primary,
.custom-notification-modal .action.primary {
  background-color: #000;
  color: #fff;
  border: 2px solid #E5047A;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-notification-modal .action-primary:hover,
.custom-notification-modal button.action-primary:hover,
.custom-notification-modal .action.primary:hover {
  background-color: #E5047A;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Animation for notification modal */
@keyframes notificationFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.custom-notification-modal._show {
  animation: notificationFadeIn 0.3s ease forwards;
}

/* Fix for close button */
.custom-notification-modal .action-close {
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
}

.custom-notification-modal .action-close:before {
  color: white;
  transition: color 0.3s ease;
}

.custom-notification-modal .action-close:hover:before {
  color: white !important;
}

/* Mobile responsiveness */
@media screen and (max-width: 767px) {
  .custom-notification-modal {
      width: 95% !important;
      max-width: 95%;
  }
  
  .custom-notification-modal .modal-title {
      font-size: 18px;
  }
}

/***********************************************************************************************************/
/* 1. Increase size of 'Product' and 'Selected Options' text */
.custom-email-modal .product-label,
.custom-email-modal .options-label {
  font-size: 1.6rem;
  font-weight: 600;
  display: inline-block;
  margin-right: 5px;
}

/* 2 & 3 combined - Style the product value */
.custom-email-modal .product-value,
.custom-email-modal .options-value {
  font-style: italic;
  font-size: 1.4rem;
}

