.gift-button {
  background-color: #f5f0e4; /* light beige tone */
  color: #444;
  border: 1px solid #dcd2bd;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gift-button:hover {
  background-color: #ebe2d3;
  color: #222;
}

.gift-button img {
  width: 16px;
  height: 16px;
}

@media (max-width: 767px) {
  .sticky-gift-button {
    position: fixed;
    bottom: 180px; /* adjust based on your footer or other sticky elements */
	left: 0;
    background-color: #000;
    color: #fff;
    padding: 12px 14px;
    font-size: 14px;
    border: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.3);
  }
}

/* Modal Overlay */
#gift-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Modal Box */
#gift-modal .gift-modal-box {
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  max-width: 400px; /* was 340px */
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  font-family: system-ui, sans-serif;
}

/* Title */
#gift-modal .gift-modal-box h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

/* Subtitle (quota) */
#gift-modal .gift-modal-box .gift-subtext {
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

/* Email Input */
#gift-modal .gift-modal-box input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Buttons */
#gift-modal .gift-modal-box button {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 6px;
}

#gift-modal #send-gift {
  background: #000;
  color: #fff;
}

#gift-modal #close-gift-modal {
  background: #f5f0e4;
  color: #444;
	width: 100% !important;
	height: 50px !important;
}

#gift-success-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#gift-success-modal .gift-success-box {
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#gift-success-modal .gift-success-box h4 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #222;
}

#gift-success-modal .gift-success-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

#gift-success-modal .gift-success-box button {
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* Share Icon Row */
.share-icons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  gap: 12px;
	padding-left: 20px;
		padding-right: 20px;
}

/* Each Icon Button */
.share-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  text-decoration: none;
  appearance: none;
  box-sizing: border-box;
}

.share-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

#copy-gift-link {
	padding: 0px !important;	
}

#copy-gift-link-cta {
	width: 100% !important;
}

.share-icon:hover {
  transform: scale(1.05);
}

.share-icon-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 60px;
  flex-shrink: 0;
}

.share-label {
  font-size: 12px;
  color: #444;
  text-align: center;
  line-height: 1.2;
}

/* Top right X button */
.close-modal-x {
  position: absolute;
  right: 12px;
  width: auto !important;
  height: auto !important;
	padding-top: 0px !important;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  font-size: 20px !important;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  line-height: 1;
}

.close-modal-x:hover {
  color: #000;
}

/* New CTA-style copy button */
.copy-cta {
  width: 100%;
  background: #000;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  padding: 12px;
  margin-top: 20px;
  cursor: pointer;
}

.copy-cta:hover {
  background: #222;
}

.inline-gift-button {
  background: none;
  border: none;
  padding: 0 0 0 3px;
  margin: 0;
  cursor: pointer;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

.inline-gift-button img {
  width: 11px;
  height: 11px;
  display: inline-block;
  object-fit: contain;
    margin-top: -3px;
    margin-right: 3px;
}

.gifted-inline-banner {
  background-color: #f5f0e4;
  border: 1px solid #e0d6c5;
  padding: 24px;
  margin-top: 48px;
  border-radius: 12px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.gifted-inline-banner p {
  margin-bottom: 16px;
}

.gifted-inline-banner strong {
  font-size: 17px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.gifted-inline-banner a {
  color: #000;
  text-decoration: none;
}

.gifted-banner-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  background-color: #000;
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gifted-banner-cta:hover {
  background-color: #222;
}

@media (max-width: 600px) {
  .gifted-inline-banner {
    padding: 20px;
    font-size: 15px;
  }

  .gifted-banner-cta {
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }
}
