/* app/styles/dealContent.css */
.deal-content {
  width: auto;
}
.deal-content a {
  text-decoration: underline;
  color: #e8175e;
}
.deal-content ul,
.deal-content ol {
  padding-left: 25px;
  padding-bottom: 10px;
}
.deal-content p {
  margin-bottom: 15px;
  margin-top: 15px;
}
.deal-content img {
  margin: 15px auto;
  display: block;
}
.deal-content figure:has(> iframe) {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.deal-content figure iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
blockquote.deal-update {
  border-left: 3px solid #f72461;
  padding: 2.5rem 10px 10px;
  margin: 10px 0;
  position: relative;
}
blockquote.deal-update .deal-update-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 10px;
  background: #f72461;
  border-bottom-right-radius: 15px;
  color: #fff;
}
.redactor-box a[has-affili=true] {
  color: #59d45d;
}
.redactor-box a[has-affili=false] {
  color: #d62424;
}
.gutscheine-container {
  background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
  border-radius: 20px;
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
}
.gutscheine-container figure:last-child .gutschein-item {
  margin-bottom: 0;
}
.gutschein-item {
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: all .3s ease;
}
.gutschein-item:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-2px);
}
.gutschein-image {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: white;
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
  margin: 0 !important;
}
.gutschein-content {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
}
.deal-content a:has(h3) {
  text-decoration: none;
}
.deal-content a h3 {
  color: inherit;
}
.gutschein-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
  color: #fff;
  padding-right: 10px;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gutschein-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}
.gutschein-code {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px dashed rgba(255, 255, 255, .5);
  white-space: nowrap;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gutschein-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
}
.gutschein-original-price {
  font-size: 22px;
  text-decoration: line-through;
  font-style: italic;
  opacity: .8;
  color: #fff;
}
.gutschein-current-price {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.redactor-box .remove-gutscheine-btn,
.redactor-box .edit-gutscheine-btn {
  display: block !important;
}
.gutscheine-simple-container {
  padding: 10px 0;
}
@media (max-width: 640px) {
  .gutschein-item {
    flex-direction: column;
    text-align: center;
  }
  .gutschein-image {
    width: 100%;
    max-width: 100%;
    height: 140px;
    background: white;
    object-fit: contain;
    margin: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .gutschein-title {
    font-size: 20px;
  }
  .gutschein-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-right: 0;
  }
  .gutschein-code {
    font-size: 16px;
  }
  .gutschein-prices {
    align-items: center;
  }
  .gutschein-current-price {
    font-size: 24px;
  }
}
.gutscheine-row-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}
.gutscheine-row-table {
  width: 100%;
  border-collapse: collapse;
}
.gutschein-row-cell {
  padding: 8px;
  vertical-align: top;
}
.gutschein-row-item {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s ease;
}
.gutschein-row-item:hover {
  box-shadow: 0 4px 12px #0000001a;
  transform: translateY(-2px);
}
.gutschein-row-image {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #f9fafb;
  display: block;
}
.gutschein-row-content {
  padding: 12px;
}
.gutschein-row-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #2d3748 !important;
}
.gutschein-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.gutschein-row-hotness {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f72461, #ec4899);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}
.gutschein-row-code {
  font-size: 12px;
  font-weight: 600;
  color: #f72461;
  background: rgba(255, 107, 53, .1);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px dashed #ec4899;
  display: inline-block;
}
.gutschein-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.gutschein-row-button {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f72461, #ec4899);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}
.gutschein-row-prices {
  font-size: 18px;
}
.gutschein-row-original-price {
  color: #999;
  text-decoration: line-through;
  margin-right: 4px;
}
.gutschein-row-current-price {
  color: #f72461;
  font-weight: 700;
}
@media (max-width: 600px) {
  .gutscheine-row-table tr {
    display: block;
  }
  .gutscheine-row-table td.gutschein-row-cell {
    display: block;
    width: 100% !important;
  }
  .gutscheine-row-table td:empty {
    display: none;
  }
}
