/* SL-Store eBay Testvorlage – personalisierte Kissen
   Mobile Wischgalerien ohne JavaScript oder Formulare.
   CSS separat in das CSS-Feld von Plenty/eBay einfügen.
*/

/* Grundlayout nur innerhalb der Vorlage – keine globalen eBay-Elemente überschreiben */
.sl-listing,
.sl-listing * {
  box-sizing: border-box;
}

.sl-listing {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  color: #3e3432;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  box-shadow: 0 8px 34px rgba(62, 52, 50, 0.08);
}

.sl-listing img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

.sl-listing h1,
.sl-listing h2,
.sl-listing h3,
.sl-listing p {
  margin-top: 0;
}

.sl-listing h1,
.sl-listing h2,
.sl-listing h3 {
  color: #3a2f2d;
  line-height: 1.2;
}

.sl-listing h1 {
  margin-bottom: 22px;
  font-size: 38px;
  font-weight: 700;
}

.sl-listing h2 {
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 700;
}

.sl-listing h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.sl-header {
  padding: 22px 36px 18px;
  text-align: center;
  border-bottom: 1px solid #eadfda;
  background: #fffaf8;
}

.sl-brand {
  margin: 0 auto 3px;
  color: #4a3937;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sl-header__claim {
  margin: 0;
  color: #755963;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: stretch;
  min-height: 540px;
  background: #fbf5f2;
}

.sl-hero__visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 46px 42px 36px;
  background: #ffffff;
}

.sl-hero__visual a {
  display: block;
  width: 100%;
}

.sl-hero__visual img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.sl-pillow-visual {
  position: relative;
  display: flex;
  width: min(390px, 86%);
  aspect-ratio: 1 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #eadfd9;
  border-radius: 52px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.95) 0 18%, rgba(255,255,255,0) 45%),
    linear-gradient(145deg, #fffaf8 0%, #f6e7ec 100%);
  box-shadow:
    inset 0 0 0 14px rgba(255,255,255,.34),
    0 18px 38px rgba(82, 57, 63, 0.13);
  text-align: center;
}

.sl-pillow-visual::before,
.sl-pillow-visual::after {
  position: absolute;
  width: 46%;
  height: 46%;
  border: 1px solid rgba(139, 83, 101, 0.10);
  border-radius: 50%;
  content: "";
}

.sl-pillow-visual::before {
  top: -13%;
  right: -7%;
}

.sl-pillow-visual::after {
  bottom: -15%;
  left: -9%;
}

.sl-pillow-visual__eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 13px;
  color: #8a5365;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.sl-pillow-visual__name {
  position: relative;
  z-index: 1;
  max-width: 82%;
  color: #713d4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 4.1vw, 46px);
  font-style: italic;
  line-height: 1.08;
}

.sl-pillow-visual__line {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 2px;
  margin: 20px 0 15px;
  background: #dbaebe;
}

.sl-pillow-visual__hint {
  position: relative;
  z-index: 1;
  color: #755963;
  font-size: 13px;
  font-weight: 700;
}

.sl-hero__visual-note {
  max-width: 440px;
  margin: 28px 0 0;
  color: #88736e;
  font-size: 13px;
  text-align: center;
}

.sl-hero__content {
  padding: 58px 54px 58px 48px;
}

.sl-kicker {
  margin-bottom: 10px;
  color: #8a5365;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sl-lead {
  margin-bottom: 26px;
  color: #62514d;
  font-size: 19px;
}

.sl-benefits {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.sl-benefits li {
  position: relative;
  margin: 10px 0;
  padding-left: 32px;
  font-weight: 700;
}

.sl-benefits li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eecfd9;
  color: #713d4d;
  content: "✓";
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.sl-made-in {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid #a76a7c;
  background: #ffffff;
  color: #665451;
  font-size: 14px;
}

.sl-made-in span {
  display: block;
  margin-bottom: 2px;
  color: #713d4d;
  font-size: 17px;
  font-weight: 700;
}

.sl-section {
  padding: 76px 64px;
  border-top: 1px solid #eee3df;
}

.sl-section__heading {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.sl-section__heading > p:last-child {
  margin-bottom: 0;
  color: #6b5b57;
  font-size: 18px;
}

.sl-story {
  background: #ffffff;
}

.sl-richtext {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  color: #574946;
  font-size: 17px;
}

.sl-richtext p:last-child {
  margin-bottom: 0;
}

/* Optionale Themen-Dekoration */
.sl-theme-divider {
  display: grid;
  width: 100%;
  max-width: 430px;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 auto 34px;
}

.sl-theme-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8b8c2);
}

.sl-theme-divider span:last-child {
  background: linear-gradient(90deg, #d8b8c2, transparent);
}

.sl-theme-divider img {
  width: 44px;
  max-height: 44px;
  object-fit: contain;
  opacity: .82;
}

/* Lifestyle- und Detailbilder */
.sl-lifestyle {
  background: #fffaf8;
}

.sl-lifestyle-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sl-lifestyle-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8dcd7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(62, 52, 50, 0.08);
}

.sl-lifestyle-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sl-lifestyle-card__caption {
  padding: 18px 18px 20px;
}

.sl-lifestyle-card__caption strong,
.sl-lifestyle-card__caption span {
  display: block;
}

.sl-lifestyle-card__caption strong {
  margin-bottom: 4px;
  color: #713d4d;
  font-size: 17px;
  line-height: 1.3;
}

.sl-lifestyle-card__caption span {
  color: #6b5b57;
  font-size: 14px;
  line-height: 1.45;
}

.sl-swipe-hint {
  display: none;
  margin: 14px 0 0;
  color: #806b66;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* Personalisierung */
.sl-personalization {
  background: #fbf3f5;
}

.sl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.sl-step {
  padding: 30px 24px 25px;
  border: 1px solid #ebd8de;
  border-radius: 18px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 5px 16px rgba(98, 70, 79, 0.06);
}

.sl-step__number {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: #8b5365;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
}

.sl-step p {
  margin-bottom: 0;
  color: #685653;
}

.sl-order-box {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 2px solid #dbaebe;
  border-radius: 18px;
  background: #ffffff;
}

.sl-order-box__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #713d4d;
  color: #ffffff;
  font-size: 27px;
  line-height: 50px;
  text-align: center;
}

.sl-order-box p {
  margin-bottom: 13px;
}

.sl-order-box p:last-child {
  margin-bottom: 0;
}

.sl-example {
  display: inline-block;
  margin-top: 4px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #f6e7ec;
  color: #613847;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sl-example__legend {
  margin-top: 6px;
  color: #87716c;
  font-size: 13px;
}

/* Schriftwahl */
.sl-fonts {
  background: #ffffff;
}

.sl-font-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sl-font-page {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 46px 13px 13px;
  border: 1px solid #eadfd9;
  border-radius: 18px;
  background: #fffaf8;
  box-shadow: 0 5px 18px rgba(62, 52, 50, 0.06);
}

.sl-font-page__label {
  position: absolute;
  top: 13px;
  right: 14px;
  left: 14px;
  color: #8a5365;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}

.sl-choice-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8dcd7;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(62, 52, 50, 0.07);
}

.sl-choice-card img {
  width: 100%;
}

/* Farbwahl */
.sl-colors {
  background: #fffaf8;
}

.sl-color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.sl-color-card {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 2px solid;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(62, 52, 50, 0.08);
}

.sl-color-card strong {
  font-size: 17px;
  line-height: 1.1;
}

.sl-color-card span {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
}

.sl-color-notice {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 18px 20px;
  border-left: 4px solid #a76a7c;
  background: #ffffff;
  color: #665451;
  font-size: 14px;
}

/* Bezugsstoffe */
.sl-fabrics {
  background: #ffffff;
}

.sl-fabric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sl-fabric-card {
  padding: 30px 24px;
  border: 1px solid #eadfd9;
  border-radius: 18px;
  background: #fffaf8;
  text-align: center;
  box-shadow: 0 5px 16px rgba(98, 70, 79, 0.05);
}

.sl-fabric-card__icon {
  display: block;
  margin-bottom: 15px;
  color: #8a5365;
  font-size: 34px;
  line-height: 1;
}

.sl-fabric-card p {
  margin-bottom: 0;
  color: #685653;
}

/* Produktdetails */
.sl-details {
  background: #faf5f2;
}

.sl-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sl-detail-card {
  padding: 24px;
  border: 1px solid #eadfd9;
  border-radius: 15px;
  background: #ffffff;
}

.sl-detail-card__label {
  display: block;
  margin-bottom: 8px;
  color: #8a5365;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sl-detail-card p {
  margin-bottom: 0;
  color: #685653;
}

.sl-technical-data {
  margin-top: 26px;
  padding: 26px;
  border-radius: 15px;
  background: #ffffff;
}

.sl-technical-data h3 {
  color: #713d4d;
}

.sl-technical-data p:last-child {
  margin-bottom: 0;
}

/* Cross-Selling */
.sl-cross-selling {
  background: #ffffff;
}

.sl-cross-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sl-cross-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eadfd9;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(62, 52, 50, 0.07);
}

.sl-cross-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sl-cross-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fffaf8;
}

.sl-cross-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-cross-card__body {
  padding: 18px;
}

.sl-cross-card__title {
  margin-bottom: 8px;
  color: #3a2f2d;
  font-weight: 700;
  line-height: 1.35;
}

.sl-cross-card__price {
  margin-bottom: 14px;
  color: #713d4d;
  font-size: 18px;
  font-weight: 700;
}

.sl-cross-card__button {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f1dce3;
  color: #713d4d;
  font-size: 13px;
  font-weight: 700;
}

/* Abschluss / Vertrauen */
.sl-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border-top: 1px solid #e9ddd8;
  background: #e9ddd8;
}

.sl-trust__item {
  padding: 38px 28px;
  background: #ffffff;
  text-align: center;
}

.sl-trust__icon {
  display: block;
  margin-bottom: 12px;
  color: #8a5365;
  font-size: 36px;
  line-height: 1;
}

.sl-trust__item p {
  margin-bottom: 0;
  color: #6d5b57;
}

.sl-footer {
  padding: 40px 28px 34px;
  background: #4a3937;
  color: #f7eeeb;
  text-align: center;
}

.sl-footer__brand {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 27px;
  font-weight: 700;
}

.sl-footer p {
  margin-bottom: 7px;
}

.sl-footer__legal {
  margin-bottom: 0;
  color: #ddccc7;
  font-size: 12px;
}

/* Tablet */
@media (max-width: 820px) {
  .sl-listing h1 {
    font-size: 32px;
  }

  .sl-listing h2 {
    font-size: 28px;
  }

  .sl-header {
    padding-right: 22px;
    padding-left: 22px;
  }

  .sl-hero {
    display: block;
    min-height: 0;
  }

  .sl-hero__visual {
    padding: 34px 30px;
  }

  .sl-pillow-visual {
    width: min(350px, 78%);
  }

  .sl-hero__content {
    padding: 42px 34px 48px;
  }

  .sl-section {
    padding: 60px 34px;
  }

  .sl-steps,
  .sl-fabric-grid,
  .sl-trust {
    grid-template-columns: 1fr;
  }

  .sl-font-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-lifestyle-track,
  .sl-cross-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sl-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sl-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smartphone */
@media (max-width: 580px) {
  .sl-listing {
    font-size: 15px;
  }

  .sl-listing h1 {
    font-size: 28px;
  }

  .sl-listing h2 {
    font-size: 25px;
  }

  .sl-brand {
    font-size: 26px;
  }

  .sl-header__claim {
    font-size: 11px;
  }

  .sl-hero__visual {
    padding: 24px 18px 28px;
  }

  .sl-pillow-visual {
    width: min(310px, 88%);
    border-radius: 40px;
  }

  .sl-pillow-visual__name {
    font-size: 31px;
  }

  .sl-hero__content {
    padding: 34px 22px 40px;
  }

  .sl-lead {
    font-size: 17px;
  }

  .sl-section {
    padding: 48px 20px;
  }

  .sl-section__heading {
    margin-bottom: 28px;
  }

  .sl-section__heading > p:last-child {
    font-size: 16px;
  }

  .sl-theme-divider {
    max-width: 290px;
    gap: 12px;
    margin-bottom: 26px;
  }

  .sl-theme-divider img {
    width: 28px;
    max-height: 28px;
  }

  .sl-lifestyle-track,
  .sl-font-grid,
  .sl-cross-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 12% 13px 1px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .sl-lifestyle-card,
  .sl-font-page,
  .sl-cross-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }

  .sl-lifestyle-card__caption {
    padding: 16px 16px 18px;
  }

  .sl-font-page {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 44px 11px 11px;
  }

  .sl-swipe-hint {
    display: block;
  }

  .sl-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sl-detail-card {
    padding: 17px 14px;
  }

  .sl-detail-card h3 {
    font-size: 16px;
  }

  .sl-detail-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .sl-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .sl-color-card {
    min-height: 68px;
    padding: 8px 3px;
    border-width: 1px;
    border-radius: 11px;
  }

  .sl-color-card strong {
    font-size: 14px;
  }

  .sl-color-card span {
    margin-top: 3px;
    font-size: 11px;
  }

  .sl-order-box {
    display: block;
    padding: 24px 20px;
  }

  .sl-order-box__icon {
    margin-bottom: 16px;
  }

  .sl-example {
    display: block;
    font-size: 16px;
    text-align: center;
  }

  .sl-example__legend {
    text-align: center;
  }

  .sl-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 3px 12px;
    padding: 18px 17px;
    text-align: left;
  }

  .sl-step__number {
    width: 38px;
    height: 38px;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 18px;
    line-height: 38px;
  }

  .sl-step h3,
  .sl-step p {
    grid-column: 2;
  }

  .sl-step h3 {
    margin-bottom: 2px;
    font-size: 18px;
  }

  .sl-fabric-card {
    padding: 22px 18px;
  }

  .sl-trust__item {
    padding: 27px 21px;
  }
}
