.yaway-locked-listings-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-behavior: smooth;
  border-radius: 10px;
}

.yaway-locked-listing {
  flex: 0 0 auto;
  aspect-ratio: 2 / 3;
  height: 100%;
  max-width: 100%;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yaway-locked-listing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.yaway-locked-listing:hover {
  transform: scale(1.03);
}

.yaway-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.yaway-scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #000;
  color: #fff;
  border: none;
  padding: 10px;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 50%;
}

.yaway-scroll-button:hover {
  opacity: 1;
}

.yaway-scroll-button.left {
  left: 5px;
}

.yaway-scroll-button.right {
  right: 5px;
}

/* --- Overlay for Logged-in Preview --- */
.yaway-preview-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 12px;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.yaway-locked-listing:hover .yaway-preview-overlay {
  opacity: 1;
}

.yaway-preview-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.yaway-preview-lines {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.yaway-preview-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 2px 4px;
  color: #fff;
}

.preview-label {
  text-align: left;
}

.preview-value {
  text-align: right;
}

.yaway-preview-divider {
  height: 3px;
  width: 100%;
  background-color: #f8c24e; /* golden */
  border-radius: 1px;
}

/* --- Button --- */
.yaway-button {
  background-color: #f5cd60;
  color: #000;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-top: auto;
  align-self: center;
}

.yaway-button:hover {
  background-color: #ffe27e;
  color: #000;
}

.yaway-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.yaway-popup-spinner {
  background: #fff;
  color: #000;
  padding: 20px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.yaway-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.yaway-locked-listing:hover .yaway-lock-overlay {
  opacity: 1;
  pointer-events: auto;
}