/* Gemeinsame Marketplace-Komponente für Startseite und Produktwelten. */
.amazon-showcase,.ebay-showcase{container-type:inline-size;width:100%;min-width:0;margin:20px 0;overflow:hidden;border:1px solid var(--color-border);border-radius:20px;background:#fff;box-shadow:var(--shadow-lg);font-family:var(--site-font)}
.amazon-showcase-head,.ebay-showcase-head{display:flex;min-height:104px;align-items:center;justify-content:space-between;gap:24px;padding:21px 24px;border-bottom:0}
.amazon-showcase-head>div:first-child,.ebay-showcase-head>div:first-child{min-width:0}
.amazon-showcase-head h3,.ebay-showcase-head h3{display:flex;align-items:center;gap:8px;margin:4px 0 5px;color:var(--site-navy);font-size:1.3rem;font-weight:750;line-height:1.35;letter-spacing:-.035em}
.amazon-showcase-head p,.ebay-showcase-head p{max-width:720px;margin:0;color:var(--muted);font-size:var(--text-14);line-height:1.5}
.amazon-eyebrow,.ebay-eyebrow{font-size:var(--text-11);font-weight:850;line-height:1.3;letter-spacing:.1em;text-transform:uppercase}
.amazon-eyebrow{color:#8a5500}.ebay-eyebrow{color:#2d5f9f}
.brand-mark-icon{display:inline-flex;flex:0 0 auto;align-items:center;vertical-align:middle}
.brand-mark-icon.amazon{width:20px;height:20px;color:#f90}
.brand-mark-icon.ebay{gap:0;font-size:.72em;font-weight:800;line-height:1;letter-spacing:-.03em}
.brand-mark-icon.ebay b{font-weight:800}
.market-head-tools{display:grid;width:min(330px,38%);min-width:240px;justify-items:end;gap:10px}
.market-note-icon{display:inline-flex;order:2;align-items:center;gap:6px;max-width:320px;color:var(--muted);font-size:var(--text-11);font-weight:550;line-height:1.4;text-align:right}
.market-note-icon svg{width:15px;height:15px;flex:0 0 auto;opacity:.72}
.mode-badges{position:absolute;right:8px;bottom:8px;left:8px;display:flex;flex-wrap:wrap;gap:6px}
.mode-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 8px;border:1px solid color-mix(in srgb,var(--color-border) 78%,transparent);background:color-mix(in srgb,var(--color-surface) 94%,transparent);box-shadow:var(--shadow-sm);color:var(--color-text);font-size:var(--text-11);font-weight:var(--weight-bold);line-height:1.25}
.mode-badge svg{width:13px;height:13px;flex:0 0 auto}
.mode-badge.cool svg{color:#2b7fd4}
.mode-badge.heat svg{color:var(--color-warning)}
.marketplace-sort{display:inline-flex;order:1;align-items:center;gap:8px;color:var(--muted);font-family:var(--site-font);font-size:var(--text-11);font-weight:750}
.marketplace-sort select{min-height:40px;padding:7px 34px 7px 11px;border:1px solid var(--color-border);border-radius:10px;background:#fff;color:var(--ink);font-family:var(--site-font);font-size:var(--text-12);font-weight:700;line-height:1.2;cursor:pointer}
.marketplace-sort select:focus-visible{outline:3px solid rgba(24,199,135,.18);outline-offset:2px}
.amazon-products,
.amazon-products[data-count="1"],
.amazon-products[data-count="2"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;padding-inline:25px;background:transparent}
/* Desktop: ein ruhiger Außenabstand hält die Angebotskarten vom Showcase-Rand fern. */
@media(min-width:1025px){
  .amazon-products,
  .ebay-products{padding-left:25px;padding-right:25px}
}
.amazon-product{display:flex;min-width:0;min-height:100%;flex-direction:column;align-items:stretch;gap:10px;padding:20px 22px;border:1px solid var(--color-border);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm);font-family:var(--site-font)}
.amazon-product:last-child{border-right:1px solid var(--color-border)}
.amazon-product-media{position:relative;display:block;grid-column:1;grid-row:auto;align-self:start;width:100%;aspect-ratio:4/3;min-width:0;overflow:hidden;border:1px solid #e8eeeb;border-radius:14px;background:var(--color-surface)}
.amazon-product-media img{display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#fff;object-fit:contain;object-position:center}
.amazon-product-media.marketplace-media-cover img{padding:0;object-fit:cover}
.amazon-product-media .mode-badges{right:6px;bottom:6px;left:6px;align-items:flex-start;flex-direction:column;gap:4px;pointer-events:none}
.amazon-product-media .mode-badge{gap:4px;max-width:100%;padding:3px 5px;font-size:var(--text-11);line-height:1.2}
.amazon-product-media .mode-badge svg{width:11px;height:11px;flex:0 0 auto}
.amazon-product-name{color:var(--site-navy);font-size:var(--text-15);font-weight:800;line-height:1.3}
.amazon-product-diff{margin:-2px 0 0;color:var(--muted);font-size:var(--text-11);line-height:1.4}
.amazon-product-state{display:inline-flex;justify-self:start;align-self:flex-start;align-items:center;gap:7px;padding:4px 9px;background:var(--color-warning-soft);color:#7a5920;font-size:var(--text-13);font-weight:780;line-height:1.4}
.amazon-product-state i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#d29b32}
.amazon-product-state.available{background:var(--color-success-soft);color:var(--color-primary)}
.amazon-product-state.available i{background:#14b87a}
.amazon-product-state.out_of_stock,.amazon-product-state.recent_out_of_stock{background:var(--color-neutral-soft);color:#68736e}
.amazon-product-state.out_of_stock i,.amazon-product-state.recent_out_of_stock i{background:#9ca5a1}
.amazon-product-price{color:var(--site-navy);font-size:1.16rem;font-weight:850;line-height:1.35;letter-spacing:-.025em;font-variant-numeric:tabular-nums lining-nums}
.amazon-product-price small{display:block;margin-top:2px;color:var(--muted);font-size:var(--text-11);font-weight:550;line-height:1.4;letter-spacing:0}
.amazon-product-check,.amazon-product>small{color:var(--muted);font-size:var(--text-11);line-height:1.4}
.amazon-product-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin-top:0;padding-top:5px}
.amazon-product-actions .btn{width:auto;min-width:0;flex:1 1 0;min-height:42px;padding:9px 12px;font-family:var(--site-font);font-size:var(--text-12);font-weight:760;line-height:1.2;text-decoration:none}
.amazon-product-actions .btn-primary{background:var(--site-green)}
.amazon-product-actions .btn-primary:hover{background:var(--color-primary-strong)}
.ebay-variant .amazon-product-actions .btn-primary{background:var(--site-navy)}
.ebay-variant .amazon-product-actions .btn-primary:hover{background:var(--color-navy-strong)}
.world-affiliate .amazon-product-actions .btn-primary,
.world-affiliate .ebay-variant .amazon-product-actions .btn-primary{
  background:var(--world-accent-strong,var(--world-accent,var(--site-green)));
}
.world-affiliate .amazon-product-actions .btn-primary:hover,
.world-affiliate .ebay-variant .amazon-product-actions .btn-primary:hover{
  background:var(--world-accent,var(--color-primary-strong));
}
.amazon-offer-details{grid-column:1/-1;margin-top:10px;padding-top:12px;border-top:1px solid #e5ebe8}
.amazon-offer-details>summary{position:relative;display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:8px;padding-right:22px;cursor:pointer;list-style:none;user-select:none}
.amazon-offer-details>summary::-webkit-details-marker{display:none}
.amazon-offer-details>summary::after{content:"+";position:absolute;top:7px;right:0;color:var(--muted);font-size:.9rem;font-weight:700;line-height:1}
.amazon-offer-details[open]>summary::after{content:"−"}
.amazon-offer-details>summary:focus-visible{border-radius:4px;outline:3px solid rgba(24,199,135,.2);outline-offset:4px}
.amazon-offer-details-head b{font-size:var(--text-12);font-weight:780;line-height:1.4}
.amazon-offer-details-head span{color:var(--muted);font-size:var(--text-11);line-height:1.4;text-align:right}
.amazon-offer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:10px 0;border-top:1px solid #edf1ef}
.amazon-offer-row>div{min-width:0}
.amazon-offer-row b{display:block;overflow-wrap:anywhere;font-size:var(--text-12);font-weight:720;line-height:1.42}
.amazon-offer-row small{display:block;margin-top:2px;overflow-wrap:anywhere;color:var(--muted);font-size:var(--text-11);line-height:1.45}
.amazon-offer-row strong{align-self:start;white-space:nowrap;font-size:.8rem;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums lining-nums}
.amazon-offer-row>a{grid-column:2;color:#7c4a00;font-size:var(--text-11);font-weight:800;line-height:1.4;text-decoration:none}
.ebay-offer-row>a{color:#174c8f}
.amazon-all-offers{display:block;margin-top:8px;color:#7c4a00;font-size:var(--text-11);font-weight:800;line-height:1.4;text-decoration:none}
.ebay-variant .amazon-all-offers{color:#174c8f}
.amazon-offer-details.empty{display:grid;gap:5px;color:var(--muted);font-size:var(--text-11)}
.amazon-offer-details.empty a{color:#7c4a00;font-weight:800;text-decoration:none}
.ebay-variant .amazon-offer-details.empty a{color:#174c8f}
.amazon-disclosure,.ebay-disclosure{margin:0;padding:11px 24px;border-top:0;color:var(--muted);font-size:var(--text-11);line-height:1.5}
.world-affiliate{container-type:inline-size}
.world-marketplace-loading{position:relative;min-height:410px;margin:20px 0;overflow:hidden;border:1px solid var(--color-border);border-radius:20px;background:#fff}
.world-marketplace-loading-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.world-marketplace-loading-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:98px;padding:24px;border-bottom:1px solid var(--color-border)}
.world-marketplace-loading-head span,.world-marketplace-loading-line,.world-marketplace-loading-media,.world-marketplace-loading-action{display:block;background:linear-gradient(100deg,#eef2f0 20%,#f8faf9 38%,#eef2f0 56%);background-size:220% 100%;animation:marketplace-skeleton 1.4s ease-in-out infinite}
.world-marketplace-loading-head span:first-child{width:min(320px,58%);height:24px;border-radius:8px}
.world-marketplace-loading-head span:last-child{width:150px;height:42px;border-radius:12px}
.world-marketplace-loading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.world-marketplace-loading-card{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;gap:12px 16px;min-height:310px;padding:24px;border-right:1px solid var(--color-border)}
.world-marketplace-loading-card:last-child{border-right:0}
.world-marketplace-loading-media{grid-row:1/5;width:104px;aspect-ratio:1;border-radius:14px}
.world-marketplace-loading-line{height:13px;border-radius:5px}
.world-marketplace-loading-line.is-title{width:82%;height:18px}
.world-marketplace-loading-line.is-short{width:48%}
.world-marketplace-loading-action{align-self:end;width:100%;height:44px;border-radius:12px}
@keyframes marketplace-skeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}
.world-marketplace-state{margin:20px 0;padding:20px 22px;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);color:var(--muted);font-size:var(--text-14);line-height:1.5}
@container (max-width:820px){
  .amazon-products,
  .amazon-products[data-count="1"],
  .amazon-products[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-inline:0;overflow:visible;border-radius:0;background:transparent}
  .amazon-product{border-right:1px solid var(--color-border);border-radius:16px;box-shadow:var(--shadow-sm)}
}
@media(max-width:640px){
  .amazon-showcase,.ebay-showcase{margin:18px 0;border-radius:16px}
  .amazon-showcase-head,.ebay-showcase-head{min-height:0;align-items:flex-start;flex-direction:column;gap:12px;padding:18px}
  .amazon-showcase-head h3,.ebay-showcase-head h3{font-size:1.18rem}
  .amazon-showcase-head p,.ebay-showcase-head p{font-size:var(--text-13)}
  .market-head-tools{width:100%;min-width:0;justify-items:start;gap:8px}
  .market-note-icon{max-width:none;color:var(--color-text-muted);text-align:left}
  .marketplace-sort{width:100%;justify-content:space-between}
  .marketplace-sort select{min-height:44px;max-width:210px}
  .amazon-products,
  .amazon-products[data-count="1"],
  .amazon-products[data-count="2"]{grid-template-columns:minmax(0,1fr);padding-inline:0}
  .amazon-product{min-height:0;gap:10px;padding:18px;background:#fff}
  .amazon-product-media{grid-row:auto;grid-column:1;width:100%;aspect-ratio:4/3;overflow:hidden;border:1px solid #e8eeeb;border-radius:14px;background:var(--color-surface)}
  .amazon-product-media img{width:100%;height:100%;padding:0;border:0;border-radius:0;object-fit:contain;object-position:center}
  .amazon-product-media.marketplace-media-cover img{padding:0;object-fit:cover}
  .amazon-product-media .mode-badges{right:auto;flex-direction:row;flex-wrap:wrap}
  .amazon-product-name{font-size:var(--text-15)}
  .amazon-product-state{font-size:.8rem}
  .amazon-product-price{font-size:1.2rem}
  .amazon-offer-details{margin-top:6px}
  .amazon-offer-details>summary{min-height:44px}
  .amazon-disclosure,.ebay-disclosure{padding:12px 18px}
  .world-marketplace-loading{min-height:570px;margin:18px 0;border-radius:16px}
  .world-marketplace-loading-head{min-height:132px;align-items:flex-start;flex-direction:column;padding:18px}
  .world-marketplace-loading-head span:first-child{width:72%}
  .world-marketplace-loading-head span:last-child{width:100%}
  .world-marketplace-loading-grid{grid-template-columns:minmax(0,1fr)}
  .world-marketplace-loading-card{grid-template-columns:minmax(0,1fr);min-height:438px;padding:18px;border-right:0}
  .world-marketplace-loading-card:nth-child(n+2){display:none}
  .world-marketplace-loading-media{grid-row:auto;width:100%;aspect-ratio:4/3}
}
@media(max-width:400px){.amazon-product{padding:16px}}
@media(prefers-reduced-motion:reduce){.world-marketplace-loading-head span,.world-marketplace-loading-line,.world-marketplace-loading-media,.world-marketplace-loading-action{animation:none}}
