
:root{
  --orange:#ff6418; --orange2:#ff4d2f; --ink:#171717; --muted:#6f6f74;
  --line:#ececf0; --bg:#fff; --soft:#faf9f8; --purple:#6d256f; --red:#ef3f45;
  --radius:14px; --shadow:0 5px 20px rgba(22,22,22,.08);
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
a{color:inherit;text-decoration:none} button,input,select{font:inherit}
img{display:block;max-width:100%}.container{width:min(1180px,94vw);margin:auto}
.topbar{min-height:38px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(90deg,var(--orange),#ff583a);color:#fff;font-size:12px}
.toplinks{display:flex;gap:20px}
.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.header-main{display:grid;grid-template-columns:175px 1fr auto;gap:24px;align-items:center;padding:14px 0}
.brand img{width:155px;height:70px;object-fit:cover;object-position:center;border-radius:6px}
.search{height:50px;display:grid;grid-template-columns:1fr 150px 56px;border:1px solid #e6e6e9;border-radius:8px;overflow:hidden;background:white}
.search input,.search select{border:0;outline:0;background:transparent;padding:0 18px;color:#555}
.search select{border-left:1px solid #eee}.search button{border:0;background:var(--orange);color:#fff;font-size:26px;cursor:pointer}
.header-actions{display:flex;gap:10px}.icon-btn{position:relative;border:0;background:transparent;min-width:72px;display:grid;place-items:center;gap:2px;cursor:pointer}
.icon-btn span{font-size:24px}.icon-btn small{font-size:11px}.icon-btn b{position:absolute;top:-5px;right:10px;background:var(--orange);color:#fff;border-radius:20px;padding:2px 6px;font-size:11px}
.main-nav{border-top:1px solid #eee;border-bottom:1px solid #eee}.nav-scroll{display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:auto;scrollbar-width:none}
.nav-scroll a{padding:13px 2px;white-space:nowrap;font-weight:650;font-size:13px}.nav-scroll a:hover,.nav-scroll .sale{color:var(--orange)}
.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:12px;margin-top:18px}.hero-main{min-height:340px;border-radius:var(--radius);overflow:hidden;background:#0d0d11;position:relative;display:grid;grid-template-columns:1fr 1.1fr;box-shadow:var(--shadow)}
.hero-copy{padding:54px 34px;color:#fff;z-index:2}.hero-copy h1{font-size:35px;line-height:1.2;margin:0 0 18px}.hero-copy h1 span{color:var(--orange)}.hero-copy p{line-height:1.55;color:#ededed;max-width:280px}.hero-main>img{width:100%;height:100%;object-fit:cover}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:13px 18px;font-weight:700;font-size:13px}.btn.primary{background:var(--orange);color:#fff;margin-top:14px}.btn.light{background:#fff;color:#d94842;padding:10px 15px}
.dots{position:absolute;bottom:14px;left:50%;display:flex;gap:8px}.dots i{width:8px;height:8px;border-radius:50%;background:#888}.dots i:first-child{background:#ff995e}
.hero-side{display:grid;gap:10px}.promo{min-height:165px;border-radius:var(--radius);overflow:hidden;color:#fff;display:grid;grid-template-columns:1fr 1.1fr;align-items:stretch}.promo>div{padding:28px 10px 22px 26px;z-index:2}.promo h2{margin:0 0 10px;font-size:23px}.promo p{margin:0 0 18px}.promo img{width:100%;height:100%;object-fit:cover}.promo-purple{background:#6e286f}.promo-red{background:#f04045}
.category-strip{display:grid;grid-template-columns:repeat(9,1fr);gap:8px;margin:16px 0 18px}.category-strip a{min-width:0;background:#fff;border:1px solid #f0f0f2;border-radius:13px;padding:10px 8px 12px;text-align:center;box-shadow:var(--shadow);transition:.2s transform,.2s box-shadow}.category-strip a:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(25,25,25,.11)}.category-strip img{width:66px;height:66px;object-fit:cover;border-radius:50%;margin:0 auto 4px}.category-strip span{font-size:12px;font-weight:700}
.section{padding:10px 0 20px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.section-head h2{font-size:20px;margin:0}.section-head>a{color:#8b43dc;font-size:13px}.countdown{display:flex;align-items:center;gap:8px;font-size:12px;color:#666}.countdown b{display:grid;place-items:center;min-width:44px;padding:6px 8px;border:1px solid #eee;border-radius:7px;color:#ff4a42;background:#fff;font-size:18px}.countdown small{font-size:9px;color:#777;font-weight:500}
.product-grid,.art-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.product-card,.art-card{border:1px solid #ececef;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.05);transition:.2s}.product-card:hover,.art-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px rgba(0,0,0,.10)}
.image-wrap{position:relative;height:170px;background:#fafafa}.image-wrap img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;z-index:2;top:8px;left:8px;background:#ff4d36;color:#fff;padding:4px 7px;border-radius:6px;font-size:11px;font-weight:800}
.product-body{padding:10px}.product-body h3,.art-card h3{font-size:12px;line-height:1.35;margin:0 0 6px;min-height:32px}.rating{color:#ff8a00;font-size:12px}.rating small{color:#777}.price{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center;margin-top:12px}.price strong{color:#f5362b;font-size:14px}.price del{color:#999;font-size:10px}.add-cart{border:0;background:var(--orange);color:#fff;width:30px;height:30px;border-radius:6px;cursor:pointer}.add-cart.bump{animation:bump .35s ease}@keyframes bump{50%{transform:scale(1.25)}}
.art-card img{width:100%;height:178px;object-fit:cover}.art-card h3,.art-card small,.art-card>div{margin-left:10px;margin-right:10px}.art-card h3{margin-top:8px;margin-bottom:2px;min-height:auto}.art-card small{color:#777}.art-card>div{display:flex;justify-content:space-between;align-items:center;margin-top:9px;margin-bottom:10px}.outline{background:#fff;border:1px solid #9c4cf1;color:#9c4cf1}
.creator-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.creator-card{height:140px;display:grid;grid-template-columns:1fr 1fr;border-radius:10px;overflow:hidden}.creator-card img{width:100%;height:100%;object-fit:cover}.creator-card>div{padding:27px 10px 10px}.creator-card h3{margin:0 0 2px}.creator-card p{font-size:12px;margin:0 0 12px}.pink{background:#ffd5e6}.blue{background:#dbe8ff}.lilac{background:#eadfff}.blue-txt{color:#2575d6}.purple-txt{color:#9a54dc}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid #eee;margin:16px 0 6px;padding:28px 0}.benefits>div{display:flex;align-items:center;gap:12px;font-size:26px}.benefits span{display:grid;gap:2px}.benefits b{font-size:12px}.benefits small{font-size:11px;color:#777}
.footer{border-top:1px solid #eee;background:#fafafa;padding:25px 0;margin-top:8px}.footer .container{display:flex;justify-content:space-between;gap:20px;color:#666;font-size:12px}.footer strong{color:#111}
.to-top{position:fixed;right:22px;bottom:22px;width:42px;height:42px;border-radius:50%;border:0;background:var(--orange);color:#fff;font-size:20px;box-shadow:var(--shadow);cursor:pointer}
.hidden-by-search{display:none!important}
@media(max-width:980px){
  .header-main{grid-template-columns:150px 1fr}.header-actions{grid-column:1/-1;justify-content:flex-end}.hero-grid{grid-template-columns:1fr}.category-strip{grid-template-columns:repeat(5,1fr)}.product-grid,.art-grid{grid-template-columns:repeat(3,1fr)}.creator-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .topbar{display:none}.site-header{position:static}.header-main{display:flex;flex-wrap:wrap;gap:10px}.brand img{width:130px;height:58px}.search{order:3;width:100%;grid-template-columns:1fr 48px}.search select{display:none}.header-actions{margin-left:auto}.icon-btn{min-width:45px}.icon-btn small{display:none}.nav-scroll{justify-content:flex-start}.hero-main{grid-template-columns:1fr;min-height:520px}.hero-main>img{position:absolute;inset:auto 0 0 0;height:55%;opacity:.88}.hero-copy{padding:30px 24px}.hero-copy h1{font-size:32px}.hero-side{grid-template-columns:1fr}.promo{min-height:180px}.category-strip{display:flex;overflow:auto;padding-bottom:6px}.category-strip a{min-width:105px}.product-grid,.art-grid{display:flex;overflow:auto;padding-bottom:8px}.product-card,.art-card{min-width:190px}.creator-grid{grid-template-columns:1fr}.benefits{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start}.countdown>span{display:none}.footer .container{flex-direction:column}
}


/* =========================================================
   AnimeDeals Dark Mode
   ========================================================= */
:root{
  color-scheme: light;
}
html.dark-mode{
  color-scheme: dark;
}
html.dark-mode body{
  background:#111214;
  color:#f5f5f6;
}
html.dark-mode .site-header{
  background:#17181b;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
html.dark-mode .header-main,
html.dark-mode .main-nav,
html.dark-mode .footer{
  background:#17181b;
}
html.dark-mode .main-nav{
  border-color:#2b2d31;
}
html.dark-mode .main-nav a{
  color:#f0f0f2;
}
html.dark-mode .main-nav a:hover,
html.dark-mode .main-nav .sale{
  color:var(--orange);
}
html.dark-mode .search{
  background:#222429;
  border-color:#34363d;
}
html.dark-mode .search input,
html.dark-mode .search select{
  color:#f5f5f6;
}
html.dark-mode .search input::placeholder{
  color:#9da0a7;
}
html.dark-mode .search select{
  border-color:#34363d;
}
html.dark-mode .search option{
  background:#222429;
  color:#f5f5f6;
}
html.dark-mode .icon-btn{
  color:#f5f5f6;
}
html.dark-mode .category-strip a,
html.dark-mode .product-card,
html.dark-mode .art-card{
  background:#1b1d21;
  border-color:#2b2e34;
  color:#f5f5f6;
  box-shadow:0 5px 20px rgba(0,0,0,.24);
}
html.dark-mode .category-strip a:hover,
html.dark-mode .product-card:hover,
html.dark-mode .art-card:hover{
  box-shadow:0 10px 26px rgba(0,0,0,.38);
}
html.dark-mode .image-wrap{
  background:#202228;
}
html.dark-mode .product-body h3,
html.dark-mode .art-card h3{
  color:#f7f7f8;
}
html.dark-mode .rating small,
html.dark-mode .art-card small,
html.dark-mode .price del{
  color:#9ea2aa;
}
html.dark-mode .section-head a{
  color:#c78cff;
}
html.dark-mode .countdown{
  color:#c5c7cc;
}
html.dark-mode .countdown b{
  background:#1b1d21;
  border-color:#2e3137;
}
html.dark-mode .countdown small{
  color:#a5a8af;
}
html.dark-mode .outline{
  background:#1b1d21;
}
html.dark-mode .benefits{
  border-color:#2b2e34;
}
html.dark-mode .benefits small{
  color:#a5a8af;
}
html.dark-mode .footer{
  border-color:#2b2e34;
}
html.dark-mode .footer .container{
  color:#b7bac0;
}
html.dark-mode .footer strong{
  color:#fff;
}
html.dark-mode .creator-card.pink{
  background:linear-gradient(135deg,#4b2338,#2b1b27);
}
html.dark-mode .creator-card.blue{
  background:linear-gradient(135deg,#1b314d,#182434);
}
html.dark-mode .creator-card.lilac{
  background:linear-gradient(135deg,#38264e,#251d32);
}
html.dark-mode .creator-card .btn.light{
  background:#f7f7f8;
}
html.dark-mode .theme-toggle{
  border-radius:10px;
  background:#f3f3f5;
  color:#242529;
  padding:6px 8px;
}
html.dark-mode .theme-toggle{
  background:#2a2c31;
  color:#fff;
}
.theme-toggle{
  border-radius:10px;
  transition:.2s ease;
}
.theme-toggle:hover{
  background:#f1f1f3;
}
html.dark-mode .theme-toggle:hover{
  background:#34373d;
}
html.dark-mode .topbar{
  background:linear-gradient(90deg,#e74f12,#ff5e32);
}
@media(max-width:640px){
  .theme-toggle small{display:none}
}


/* AnimeDeals v1.2 Extras */
.theme-controls{display:flex;align-items:center;gap:6px}
.accent-theme,.sort-select{border:1px solid #e5e5e8;background:#fff;border-radius:8px;padding:9px 10px;color:#444}
html.dark-mode .accent-theme,html.dark-mode .sort-select{background:#24262b;color:#f5f5f6;border-color:#383b42}
.wishlist-head b{right:6px;background:#ff4b70}
.shop-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px}
.filters{display:flex;gap:7px;flex-wrap:wrap}.filter-btn{border:1px solid #e7e7ea;background:#fff;padding:8px 13px;border-radius:999px;cursor:pointer;font-weight:700;font-size:12px}
.filter-btn.active,.filter-btn:hover{background:var(--orange);color:#fff;border-color:var(--orange)}
html.dark-mode .filter-btn{background:#1b1d21;color:#eee;border-color:#33363c}
html.dark-mode .filter-btn.active,html.dark-mode .filter-btn:hover{background:var(--orange);border-color:var(--orange)}
.wish-btn{position:absolute;right:8px;top:8px;z-index:3;width:30px;height:30px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:18px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.1)}
.wish-btn.active{background:#ff4b70;color:#fff}
.mini-tag{display:inline-block;margin-bottom:6px;padding:3px 7px;border-radius:5px;background:#fff0c7;color:#9c6300;font-size:9px;font-weight:800}
html.dark-mode .mini-tag{background:#493918;color:#ffd77d}
.series-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.series-card{min-height:120px;border-radius:12px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(135deg,#fff0e6,#ffe2d1);border:1px solid #ffe1cf;box-shadow:var(--shadow);transition:.2s}
.series-card:nth-child(2){background:linear-gradient(135deg,#ffe1e1,#fff0e6)}
.series-card:nth-child(3){background:linear-gradient(135deg,#ffe8cf,#fff6e8)}
.series-card:nth-child(4){background:linear-gradient(135deg,#ffe0f1,#fff0f7)}
.series-card:nth-child(5){background:linear-gradient(135deg,#e5ebff,#f4f6ff)}
.series-card:nth-child(6){background:linear-gradient(135deg,#e8e8eb,#f8f8fa)}
.series-card:hover{transform:translateY(-3px)}.series-card strong{font-size:16px}.series-card span{font-size:11px;color:#67676d;margin-top:5px}
html.dark-mode .series-card{background:linear-gradient(135deg,#30231f,#1b1d21);border-color:#3b302b}
html.dark-mode .series-card span{color:#aeb1b7}
.recommend-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.recommend-grid article{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center;border:1px solid #ececef;border-radius:12px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.recommend-grid img{width:110px;height:110px;object-fit:cover}.recommend-grid article>div{display:grid;gap:5px;padding-right:12px}.recommend-grid span{font-size:11px;color:#777}.recommend-grid strong{color:var(--orange)}
html.dark-mode .recommend-grid article{background:#1b1d21;border-color:#2e3137}.recommend-grid html.dark-mode span{color:#aaa}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.news-card{border:1px solid #ececef;border-radius:12px;padding:20px;background:#fff;box-shadow:var(--shadow)}
.news-card>span{display:inline-block;font-size:10px;font-weight:800;color:#fff;background:var(--orange);padding:4px 8px;border-radius:5px}.news-card h3{font-size:17px;margin:12px 0 8px}.news-card p{font-size:13px;color:#666;line-height:1.55}.news-card a{font-size:12px;font-weight:800;color:var(--orange)}
html.dark-mode .news-card{background:#1b1d21;border-color:#2e3137}.news-card html.dark-mode p{color:#aaa}
.wishlist-drawer{position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:100;display:none;justify-content:flex-end}.wishlist-drawer.open{display:flex}.wishlist-panel{width:min(420px,92vw);height:100%;background:#fff;padding:20px;box-shadow:-8px 0 28px rgba(0,0,0,.25);overflow:auto}
html.dark-mode .wishlist-panel{background:#17181b;color:#fff}.wishlist-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding-bottom:12px}.wishlist-title h2{margin:0}.wishlist-title button{border:0;background:transparent;font-size:30px;cursor:pointer;color:inherit}.wishlist-item{display:grid;grid-template-columns:70px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eee}.wishlist-item img{width:70px;height:70px;object-fit:cover;border-radius:8px}.wishlist-item b{font-size:12px}.wishlist-item button{border:0;background:transparent;color:#e34b57;cursor:pointer}.wishlist-empty{color:#888}

/* Accent / seasonal palettes */
html[data-accent="sakura"]{--orange:#ff5f92;--orange2:#ff87ac}
html[data-accent="cyber"]{--orange:#8c4dff;--orange2:#28d7d2}
html[data-accent="summer"]{--orange:#ff8a16;--orange2:#ffd13c}
html[data-accent="autumn"]{--orange:#d95a23;--orange2:#ef923b}
html[data-accent="winter"]{--orange:#3c86ff;--orange2:#7d5cff}
html[data-accent="sakura"] .topbar{background:linear-gradient(90deg,#ff5f92,#ff93b6)}
html[data-accent="cyber"] .topbar{background:linear-gradient(90deg,#7c4dff,#24c8c6)}
html[data-accent="summer"] .topbar{background:linear-gradient(90deg,#ff8a16,#ffc42d)}
html[data-accent="autumn"] .topbar{background:linear-gradient(90deg,#c84c1e,#e87a28)}
html[data-accent="winter"] .topbar{background:linear-gradient(90deg,#367de7,#735cff)}

@media(max-width:980px){
  .series-grid{grid-template-columns:repeat(3,1fr)}
  .recommend-grid,.news-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .theme-controls{gap:2px}.accent-theme{max-width:92px;font-size:11px;padding:7px 5px}
  .shop-tools{align-items:flex-start;flex-direction:column}
  .series-grid{display:flex;overflow:auto}.series-card{min-width:170px}
  .recommend-grid article{grid-template-columns:90px 1fr}.recommend-grid img{width:90px;height:90px}
}


/* =========================================================
   AnimeDeals v1.3 - Hintergrundpartikel
   ========================================================= */
.particle-canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
  opacity:.55;
}
body > *:not(.particle-canvas){
  position:relative;
  z-index:1;
}
html.dark-mode .particle-canvas{
  opacity:.72;
}
@media(max-width:640px){
  .particle-canvas{opacity:.42}
  html.dark-mode .particle-canvas{opacity:.55}
}
@media(prefers-reduced-motion:reduce){
  .particle-canvas{display:none}
}


/* v1.3.1 stronger light-mode particles */
.particle-canvas{
  opacity:.88;
  mix-blend-mode:multiply;
}
html.dark-mode .particle-canvas{
  mix-blend-mode:screen;
}


/* v1.3.3 Particle visibility fix */
html, body{
  min-height:100%;
}
body{
  isolation:isolate;
}
.particle-canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
  opacity:.95;
  mix-blend-mode:normal;
}
body > *:not(.particle-canvas){
  position:relative;
  z-index:1;
}
html.dark-mode .particle-canvas{
  opacity:.9;
  mix-blend-mode:screen;
}
@media(max-width:640px){
  .particle-canvas{opacity:.78}
  html.dark-mode .particle-canvas{opacity:.82}
}


/* =========================================================
   AnimeDeals Phase 2 - Shop & Kategorien
   ========================================================= */
.shop-page{padding-top:18px;padding-bottom:42px}
.breadcrumbs{display:flex;align-items:center;gap:9px;color:#85878d;font-size:12px;margin:4px 0 18px}
.breadcrumbs a:hover{color:var(--orange)}
.breadcrumbs strong{color:var(--ink)}
html.dark-mode .breadcrumbs strong{color:#f3f3f5}

.shop-intro,.category-hero{
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:28px;
  border:1px solid #eee;border-radius:16px;padding:28px 32px;margin-bottom:22px;
  background:linear-gradient(135deg,#fff7f1,#fff);
  overflow:hidden;
}
.shop-intro h1,.category-hero h1{font-size:34px;margin:4px 0 9px}
.shop-intro p,.category-hero p{margin:0;color:#666;max-width:660px;line-height:1.6}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--orange);font-weight:900}
.shop-intro-stat{display:grid;text-align:center;min-width:135px;padding:15px 22px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.shop-intro-stat strong{font-size:30px;color:var(--orange)}
.shop-intro-stat span{font-size:11px;color:#777}

.shop-categories{margin-bottom:26px}
.shop-category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}
.shop-category-card{
  min-height:136px;border:1px solid #ececf0;background:#fff;border-radius:13px;
  padding:18px 12px;display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.045);transition:.2s ease;
}
.shop-category-card:hover{transform:translateY(-3px);border-color:#ffd6c2;box-shadow:0 10px 26px rgba(0,0,0,.09)}
.shop-category-icon{font-size:30px;margin-bottom:9px}
.shop-category-card strong{font-size:13px}
.shop-category-card small{font-size:10px;color:#777;line-height:1.35;margin-top:5px}

.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.catalog-sidebar{
  position:sticky;top:150px;border:1px solid #ececf0;border-radius:13px;background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.04);overflow:hidden;
}
.filter-heading{padding:15px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee}
.filter-heading h2{font-size:16px;margin:0}
.filter-reset{border:0;background:transparent;color:var(--orange);font-size:10px;cursor:pointer}
.catalog-sidebar details{padding:0 16px;border-bottom:1px solid #f0f0f2}
.catalog-sidebar details:last-child{border-bottom:0}
.catalog-sidebar summary{list-style:none;padding:14px 0;font-size:12px;font-weight:850;cursor:pointer}
.catalog-sidebar summary::-webkit-details-marker{display:none}
.catalog-sidebar summary:after{content:"+";float:right;color:#999;font-size:16px}
.catalog-sidebar details[open] summary:after{content:"–"}
.catalog-sidebar label{display:flex;align-items:center;gap:8px;font-size:11px;color:#555;margin-bottom:10px;cursor:pointer}
.catalog-sidebar input{accent-color:var(--orange)}

.catalog-content{min-width:0}
.catalog-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  border-bottom:1px solid #ececf0;padding-bottom:12px;margin-bottom:14px;
}
.catalog-toolbar>div:first-child{display:flex;flex-direction:column}
.catalog-toolbar strong{font-size:15px}
.catalog-toolbar span{font-size:10px;color:#888;margin-top:2px}
.catalog-toolbar-actions{display:flex;align-items:center;gap:7px}
.view-btn{width:36px;height:36px;border:1px solid #e5e5e8;background:#fff;border-radius:8px;cursor:pointer}
.view-btn.active{background:var(--orange);border-color:var(--orange);color:#fff}

.shop-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.shop-product-card{
  border:1px solid #ececef;background:#fff;border-radius:11px;overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.045);transition:.2s ease;
}
.shop-product-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.09)}
.shop-product-image{display:block;height:205px;position:relative;background:#fafafa;overflow:hidden}
.shop-product-image img{width:100%;height:100%;object-fit:cover;transition:.35s transform}
.shop-product-card:hover .shop-product-image img{transform:scale(1.035)}
.shop-product-image .wish-btn{right:9px;top:9px}
.shop-product-meta{padding:12px}
.shop-product-meta>small{color:#8c8e94;font-size:9px}
.shop-product-meta h3{font-size:12px;line-height:1.4;min-height:34px;margin:5px 0}
.shop-product-meta .rating{font-size:10px}
.shop-product-meta .rating span{color:#888}
.stock{font-size:9px;font-weight:800;margin-top:7px}
.stock.available{color:#268b51}
.stock.preorder{color:#c47700}
.shop-product-price{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;margin-top:10px}
.shop-product-price strong{color:#ee3d32;font-size:14px}
.shop-product-price del{color:#999;font-size:9px}

.pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:28px}
.pagination a{
  min-width:34px;height:34px;padding:0 10px;border:1px solid #e7e7ea;border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;font-size:11px;background:#fff;
}
.pagination a.active{background:var(--orange);color:#fff;border-color:var(--orange)}
.pagination a.disabled{opacity:.42;pointer-events:none}

.category-hero{grid-template-columns:1fr 340px;padding:0 0 0 32px;min-height:215px}
.category-hero-art{height:215px}
.category-hero-art img{width:100%;height:100%;object-fit:cover}
.subcategory-row{
  display:flex;gap:8px;overflow:auto;margin:-4px 0 22px;padding-bottom:3px;
}
.subcategory-row a{
  flex:0 0 auto;border:1px solid #e7e7ea;background:#fff;padding:9px 15px;border-radius:999px;
  font-size:11px;font-weight:750;
}
.subcategory-row a.active,.subcategory-row a:hover{background:var(--orange);color:#fff;border-color:var(--orange)}

/* Dark Mode */
html.dark-mode .shop-intro,
html.dark-mode .category-hero{
  background:linear-gradient(135deg,#211b18,#17181b);border-color:#303238;
}
html.dark-mode .shop-intro p,
html.dark-mode .category-hero p{color:#b4b6bc}
html.dark-mode .shop-intro-stat,
html.dark-mode .shop-category-card,
html.dark-mode .catalog-sidebar,
html.dark-mode .shop-product-card,
html.dark-mode .subcategory-row a,
html.dark-mode .view-btn,
html.dark-mode .pagination a{
  background:#1b1d21;border-color:#303238;color:#f2f2f4;
}
html.dark-mode .shop-category-card small,
html.dark-mode .catalog-sidebar label{color:#aeb1b7}
html.dark-mode .filter-heading,
html.dark-mode .catalog-sidebar details,
html.dark-mode .catalog-toolbar{border-color:#303238}
html.dark-mode .shop-product-image{background:#22242a}
html.dark-mode .view-btn.active,
html.dark-mode .pagination a.active,
html.dark-mode .subcategory-row a.active{background:var(--orange);border-color:var(--orange)}
html.dark-mode .subcategory-row a:hover{background:var(--orange);border-color:var(--orange)}

@media(max-width:1080px){
  .shop-category-grid{grid-template-columns:repeat(4,1fr)}
  .shop-product-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .catalog-layout{grid-template-columns:1fr}
  .catalog-sidebar{position:static}
  .shop-product-grid{grid-template-columns:repeat(2,1fr)}
  .category-hero{grid-template-columns:1fr 250px}
}
@media(max-width:640px){
  .shop-intro{grid-template-columns:1fr;padding:22px}
  .shop-intro-stat{display:none}
  .shop-intro h1,.category-hero h1{font-size:28px}
  .shop-category-grid{display:flex;overflow:auto;padding-bottom:7px}
  .shop-category-card{min-width:150px}
  .category-hero{grid-template-columns:1fr;padding:22px;min-height:auto}
  .category-hero-art{display:none}
  .catalog-toolbar{align-items:flex-start}
  .catalog-toolbar-actions .view-btn{display:none}
  .shop-product-grid{grid-template-columns:1fr 1fr;gap:9px}
  .shop-product-image{height:170px}
  .shop-product-meta{padding:10px}
  .pagination{flex-wrap:wrap}
}


/* Phase 2 Bugfix v1.4.1 – Kategorie-Icons vollständig anzeigen */
.category-strip img{
  object-fit:contain;
  object-position:center;
  background:transparent;
}


/* Phase 2 Bugfix v1.4.3 – eindeutige Kategorien + aktive Steuerung */
.category-hero-art img{
  object-position:center;
}
.subcategory-row a{
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.subcategory-row a.active{
  background:var(--orange)!important;
  color:#fff!important;
  border-color:var(--orange)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 22%,transparent),0 6px 16px color-mix(in srgb,var(--orange) 25%,transparent);
  transform:translateY(-1px);
}
.view-btn{
  transition:.18s ease;
}
.view-btn.active{
  box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 20%,transparent);
}
.shop-product-card.filtered-out{
  display:none!important;
}
.shop-product-grid.list-view{
  grid-template-columns:1fr;
}
.shop-product-grid.list-view .shop-product-card{
  display:grid;
  grid-template-columns:190px 1fr;
}
.shop-product-grid.list-view .shop-product-image{
  height:180px;
}
.shop-product-grid.list-view .shop-product-meta{
  display:grid;
  align-content:center;
}
.catalog-toolbar.is-sorting{
  opacity:.7;
}
@media(max-width:640px){
  .shop-product-grid.list-view .shop-product-card{
    grid-template-columns:110px 1fr;
  }
  .shop-product-grid.list-view .shop-product-image{
    height:140px;
  }
}


/* Phase 2 Bugfix v1.4.5 – dynamische Pagination */
.dynamic-pagination[hidden]{
  display:none!important;
}
.pagination .page-btn{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border:1px solid #e7e7ea;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  background:#fff;
  color:#222;
  cursor:pointer;
}
.pagination .page-btn.active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}
.pagination .page-btn:disabled{
  opacity:.4;
  cursor:not-allowed;
}
html.dark-mode .pagination .page-btn{
  background:#1b1d21;
  border-color:#303238;
  color:#f2f2f4;
}
html.dark-mode .pagination .page-btn.active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}


/* Phase 2 Bugfix v1.4.6 – Kategorieanzeige in Produktkarten */
.product-category-label{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-bottom:5px;
  padding:3px 7px;
  border-radius:999px;
  background:color-mix(in srgb,var(--orange) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--orange) 28%,transparent);
  color:var(--orange);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
}
html.dark-mode .product-category-label{
  background:color-mix(in srgb,var(--orange) 18%,#1b1d21);
  border-color:color-mix(in srgb,var(--orange) 38%,#303238);
}
.shop-product-grid.list-view .product-category-label{
  margin-bottom:6px;
}


/* Phase 2B Diamond Painting */
.diamond-showcase{margin:0 0 20px 0;padding:18px;border:1px solid #ececf0;border-radius:16px;background:linear-gradient(135deg,#fff,#f8f4ff)}
.diamond-note h2{margin:0 0 8px 0}
body:has(.diamond-showcase) .shop-product-grid{grid-template-columns:repeat(3,1fr)}
body:has(.diamond-showcase) .shop-product-image{height:280px}
@media(max-width:820px){
 body:has(.diamond-showcase) .shop-product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
 body:has(.diamond-showcase) .shop-product-grid{grid-template-columns:1fr}
}


/* Phase 2B v1.4.8 – Diamond Painting echte Galerieprodukte */
.diamond-product-card .shop-product-image{
  height:330px!important;
}
.diamond-product-card .shop-product-image img{
  object-fit:cover;
}
.diamond-size{
  margin:5px 0 2px;
  font-size:10px;
  color:#777;
}
html.dark-mode .diamond-size{
  color:#aeb1b7;
}
html.dark-mode .diamond-showcase{
  background:linear-gradient(135deg,#211b2a,#17181b);
  border-color:#34303f;
}
html.dark-mode .diamond-showcase p{
  color:#b6b2bd;
}
@media(max-width:820px){
  .diamond-product-card .shop-product-image{height:300px!important}
}


/* =========================================================
   Phase 2B v1.4.9 – individuelle Kategorie-Produktwelten
   ========================================================= */
.category-special{
  margin:0 0 20px;
  padding:20px 24px;
  border:1px solid #ececf0;
  border-radius:16px;
  background:#fff;
}
.category-special span{
  color:var(--orange);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  font-weight:900;
}
.category-special h2{margin:5px 0 6px;font-size:21px}
.category-special p{margin:0;color:#6c6e74;font-size:12px}
.anime-special{background:linear-gradient(135deg,#fff7f1,#fff)}
.manga-special{background:linear-gradient(135deg,#fff5e9,#fff)}
.figures-special{background:linear-gradient(135deg,#fff1ef,#fff)}
.merch-special{background:linear-gradient(135deg,#effffc,#fff)}
.creator-special{background:linear-gradient(135deg,#fff0f8,#f6f2ff)}
.gaming-special{background:linear-gradient(135deg,#eef3ff,#fff)}
.sale-special{background:linear-gradient(135deg,#fff0eb,#fff)}
.new-special{background:linear-gradient(135deg,#f3ffe9,#fff)}

html.dark-mode .category-special{
  border-color:#303238;
  background:#1b1d21;
}
html.dark-mode .category-special p{color:#aeb1b7}
html.dark-mode .anime-special{background:linear-gradient(135deg,#2a201b,#1b1d21)}
html.dark-mode .manga-special{background:linear-gradient(135deg,#2b231a,#1b1d21)}
html.dark-mode .figures-special{background:linear-gradient(135deg,#2d1f1d,#1b1d21)}
html.dark-mode .merch-special{background:linear-gradient(135deg,#162a28,#1b1d21)}
html.dark-mode .creator-special{background:linear-gradient(135deg,#2d1b2a,#201a2b)}
html.dark-mode .gaming-special{background:linear-gradient(135deg,#18233a,#1b1d21)}
html.dark-mode .sale-special{background:linear-gradient(135deg,#301e19,#1b1d21)}
html.dark-mode .new-special{background:linear-gradient(135deg,#1f2d19,#1b1d21)}

.manga-grid .shop-product-image{height:300px}
.manga-cover{
  display:flex!important;
  align-items:stretch;
  justify-content:center;
  padding:14px;
  background:#f2f2f2;
}
.manga-cover-inner{
  width:100%;
  height:100%;
  border-radius:4px;
  padding:22px 18px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
  position:relative;
  overflow:hidden;
}
.manga-cover-inner:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(0,0,0,.40));
}
.manga-cover-inner > *{position:relative;z-index:1}
.manga-cover-inner strong{font-size:24px;line-height:1.05}
.manga-cover-inner b{font-size:15px;margin-top:8px}
.manga-cover-inner small{margin-top:4px}
.manga-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:auto}
.cover-orange .manga-cover-inner{background:linear-gradient(135deg,#ff6b18,#ff9c3d)}
.cover-red .manga-cover-inner{background:linear-gradient(135deg,#c93232,#ff6557)}
.cover-purple .manga-cover-inner{background:linear-gradient(135deg,#6f45c8,#a95cdf)}
.cover-pink .manga-cover-inner{background:linear-gradient(135deg,#f45f9a,#ff9dc2)}
.cover-blue .manga-cover-inner{background:linear-gradient(135deg,#2c73c9,#51a1ea)}
.cover-green .manga-cover-inner{background:linear-gradient(135deg,#398b6b,#65bc83)}

.creator-grid-products{grid-template-columns:repeat(2,1fr)!important}
.creator-product-card{display:grid;grid-template-columns:220px 1fr}
.creator-product-card .shop-product-image{height:230px}
.creator-ribbon{
  position:absolute;
  left:10px;
  bottom:10px;
  background:rgba(255,255,255,.92);
  color:#ff4f92;
  font-size:9px;
  font-weight:900;
  padding:5px 8px;
  border-radius:999px;
}

.merch-grid .shop-product-image,
.gaming-grid .shop-product-image{height:220px}
.arrival-date{
  margin:4px 0 2px;
  color:#63a83e;
  font-size:10px;
  font-weight:800;
}

.sale-grid .shop-product-card{
  border-color:color-mix(in srgb,#ff4d38 35%,#ececef);
}
.sale-grid .product-category-label{
  background:rgba(255,77,56,.10);
  border-color:rgba(255,77,56,.28);
  color:#ff4d38;
}

@media(max-width:900px){
  .creator-grid-products{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  .creator-product-card{grid-template-columns:120px 1fr}
  .creator-product-card .shop-product-image{height:170px}
  .manga-grid .shop-product-image{height:250px}
}


/* =========================================================
   Phase 2B v1.4.10 – schärfere Produktbilddarstellung
   ========================================================= */
.shop-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
}
.shop-product-image img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center;
  image-rendering:auto;
  transform:none!important;
  backface-visibility:hidden;
}
.shop-product-card:hover .shop-product-image img{
  transform:none!important;
}
html.dark-mode .shop-product-image{
  background:#f7f7f7;
}

/* Diamond Painting: große Kunstwerke vollständig zeigen */
.diamond-product-card .shop-product-image img{
  object-fit:contain!important;
}

/* Creator-Seiten: Porträts nicht künstlich aufzoomen */
.creator-product-card .shop-product-image img{
  object-fit:contain!important;
  background:#fff;
}

/* Kategorien/kleine Symbole ebenfalls ohne unnötigen Crop */
.category-strip img,
.shop-category-card img{
  object-fit:contain!important;
  image-rendering:auto;
}


/* =========================================================
   Phase 2B v1.4.11 – echte HD-Demoassets
   ========================================================= */
.shop-product-image img,
.art-card img,
.creator-card img{
  image-rendering:auto;
  object-fit:cover!important;
  object-position:center;
  width:100%;
  height:100%;
  filter:none!important;
  transform:translateZ(0);
}
.shop-product-card:hover .shop-product-image img{
  transform:translateZ(0)!important;
}
.diamond-product-card .shop-product-image img{
  object-fit:cover!important;
}
.manga-product-card .shop-product-image img{
  object-fit:cover!important;
}
.creator-product-card .shop-product-image img{
  object-fit:cover!important;
}

/* Fotos nicht künstlich weichzeichnen */
.shop-product-image,
.art-card,
.creator-card{
  -webkit-font-smoothing:antialiased;
  backface-visibility:hidden;
}


/* Phase 2B v1.4.12 – Figuren Beschriftung & Crop Fix */
body:has(.figures-grid) .shop-product-image{
  height:240px;
  background:#f7f7f7;
  display:flex;
  align-items:center;
  justify-content:center;
}
body:has(.figures-grid) .shop-product-image img{
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  padding:8px;
  transform:none!important;
  filter:none!important;
}
body:has(.figures-grid) .shop-product-card:hover .shop-product-image img{
  transform:none!important;
}
@media(max-width:820px){
  body:has(.figures-grid) .shop-product-image{height:220px}
}
@media(max-width:640px){
  body:has(.figures-grid) .shop-product-image{height:190px}
}


/* =========================================================
   Phase 2B v1.4.13 – Figurenbild mit Blur-Hintergrund
   ========================================================= */
body:has(.figures-grid) .shop-product-image{
  position:relative;
  overflow:hidden;
  background:#17181b!important;
  isolation:isolate;
}

/* Dasselbe Bild wird per JS als weicher Hintergrund gesetzt */
body:has(.figures-grid) .shop-product-image::before{
  content:"";
  position:absolute;
  inset:-22px;
  z-index:0;
  background-image:var(--product-bg);
  background-size:cover;
  background-position:center;
  filter:blur(18px) brightness(.55) saturate(.95);
  transform:scale(1.10);
  opacity:.92;
}

/* Dezente Abdunklung verbessert Kontrast */
body:has(.figures-grid) .shop-product-image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    180deg,
    rgba(10,10,12,.10),
    rgba(10,10,12,.18)
  );
  pointer-events:none;
}

/* Originalbild vollständig und scharf im Vordergrund */
body:has(.figures-grid) .shop-product-image img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  padding:7px;
  background:transparent!important;
  transform:none!important;
  filter:none!important;
}

/* Buttons/Badges bleiben oberhalb des Blur-Hintergrundes */
body:has(.figures-grid) .shop-product-image .wish-btn,
body:has(.figures-grid) .shop-product-image .badge{
  z-index:4;
}

/* Im Light Mode Hintergrund etwas heller, aber weiterhin ohne Weißfläche */
html:not(.dark-mode) body:has(.figures-grid) .shop-product-image::before{
  filter:blur(18px) brightness(.80) saturate(.90);
  opacity:.82;
}


/* =========================================================
   Phase 2B v1.4.14 – Figuren: unscharfer Bildhintergrund
   ========================================================= */

/* Nur die Figuren-Seite bekommt diesen Effekt. */
body:has(.figures-grid) .shop-product-image{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#18191d!important;
}

/* Zweite Ebene: dasselbe Bild großflächig und unscharf. */
body:has(.figures-grid) .shop-product-card .shop-product-image::before{
  content:"";
  position:absolute;
  inset:-24px;
  z-index:-2;
  background-image:var(--product-bg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:blur(22px) saturate(.9) brightness(.72);
  transform:scale(1.12);
  opacity:.92;
}

/* Leichte Abdunklung, damit der Hintergrund nicht mit dem Hauptbild konkurriert. */
body:has(.figures-grid) .shop-product-card .shop-product-image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(
    180deg,
    rgba(12,13,16,.12),
    rgba(12,13,16,.22)
  );
}

/* Vordergrund bleibt vollständig sichtbar. */
body:has(.figures-grid) .shop-product-image img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center!important;
  padding:8px;
  background:transparent!important;
  filter:none!important;
  transform:none!important;
}

/* Kein Zoom beim Hover – dadurch bleibt das Bild stabil und scharf. */
body:has(.figures-grid) .shop-product-card:hover .shop-product-image img{
  transform:none!important;
}

/* Weißer Kartenhintergrund aus vorherigen Varianten sicher überschreiben. */
html.dark-mode body:has(.figures-grid) .shop-product-image,
body:has(.figures-grid) .shop-product-image{
  background:#18191d!important;
}

/* Light Mode etwas heller, aber weiterhin ohne weiße Balken. */
html:not(.dark-mode) body:has(.figures-grid) .shop-product-card .shop-product-image::before{
  filter:blur(22px) saturate(.92) brightness(.88);
}
html:not(.dark-mode) body:has(.figures-grid) .shop-product-card .shop-product-image::after{
  background:rgba(255,255,255,.10);
}


/* =========================================================
   AnimeDeals Phase 3 – Produktdetailseiten
   ========================================================= */
.product-page{padding-top:18px;padding-bottom:44px}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:34px;align-items:start}
.product-gallery{display:grid;gap:12px}
.product-main-image{
  min-height:520px;border:1px solid #ececf0;border-radius:16px;background:#f7f7f8;
  display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:var(--shadow)
}
.product-main-image img{width:100%;height:520px;object-fit:contain;object-position:center}
.product-thumbs{display:flex;gap:9px}
.product-thumbs button{
  width:78px;height:78px;padding:0;border:1px solid #e6e6ea;border-radius:10px;background:#fff;overflow:hidden;cursor:pointer
}
.product-thumbs button.active{border-color:var(--orange);box-shadow:0 0 0 2px color-mix(in srgb,var(--orange) 20%,transparent)}
.product-thumbs img{width:100%;height:100%;object-fit:cover}
.product-summary{
  border:1px solid #ececf0;border-radius:16px;padding:28px;background:#fff;box-shadow:var(--shadow)
}
.product-type{
  display:inline-flex;padding:5px 9px;border-radius:999px;
  background:color-mix(in srgb,var(--orange) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--orange) 28%,transparent);
  color:var(--orange);font-size:10px;font-weight:900
}
.product-summary h1{font-size:30px;line-height:1.15;margin:12px 0}
.product-rating-row{display:flex;align-items:center;gap:10px;font-size:12px;color:#777}
.product-short{color:#666;line-height:1.6;margin:16px 0}
.product-price-large{display:flex;align-items:end;gap:10px;margin:18px 0}
.product-price-large strong{font-size:28px;color:var(--orange)}
.product-price-large del{font-size:14px;color:#999}
.product-stock{font-size:12px;font-weight:900;margin-bottom:8px}
.product-stock.available{color:#268b51}.product-stock.preorder{color:#c47700}
.product-preorder{font-size:11px;color:#8b6500;background:#fff3cc;border:1px solid #ffe29a;padding:9px 11px;border-radius:8px;margin-bottom:12px}
.product-buy-row{display:grid;grid-template-columns:90px 1fr;gap:10px;margin:20px 0}
.product-buy-row label{display:grid;gap:5px;font-size:10px;color:#777}
.quantity-select{height:44px;border:1px solid #e1e1e5;border-radius:8px;padding:0 10px;background:#fff}
.product-cart-btn{
  height:44px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:900;cursor:pointer
}
.product-wish-btn{
  grid-column:1/-1;height:40px;border:1px solid #e2e2e7;border-radius:8px;background:#fff;font-weight:800;cursor:pointer
}
.product-keyfacts{border-top:1px solid #eee;margin-top:18px;padding-top:8px}
.product-keyfacts>div,.detail-table>div{
  display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #f0f0f2;font-size:11px
}
.product-keyfacts span,.detail-table span{color:#777}
.product-info-tabs{margin-top:28px;border:1px solid #ececf0;border-radius:16px;background:#fff;overflow:hidden}
.product-tab-buttons{display:flex;gap:0;border-bottom:1px solid #ececf0}
.product-tab-buttons button{
  flex:1;border:0;background:#fafafa;padding:15px;font-weight:800;cursor:pointer;border-right:1px solid #ececf0
}
.product-tab-buttons button:last-child{border-right:0}
.product-tab-buttons button.active{background:var(--orange);color:#fff}
.product-tab-panel{display:none;padding:24px}
.product-tab-panel.active{display:block}
.product-tab-panel h2{font-size:18px;margin:0 0 10px}
.product-tab-panel p{font-size:13px;line-height:1.7;color:#666}
.related-products{margin-top:28px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.related-card{
  display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;
  border:1px solid #ececf0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:var(--shadow)
}
.related-card img{width:110px;height:110px;object-fit:cover}
.related-card div{display:grid;gap:4px;padding-right:12px}
.related-card small{color:#888;font-size:10px}
.related-card strong{font-size:12px}

html.dark-mode .product-main-image{background:#202228;border-color:#303238}
html.dark-mode .product-summary,
html.dark-mode .product-info-tabs,
html.dark-mode .related-card{background:#1b1d21;border-color:#303238}
html.dark-mode .product-summary h1{color:#fff}
html.dark-mode .product-short,
html.dark-mode .product-rating-row,
html.dark-mode .product-tab-panel p,
html.dark-mode .product-keyfacts span,
html.dark-mode .detail-table span{color:#aeb1b7}
html.dark-mode .product-keyfacts,
html.dark-mode .product-keyfacts>div,
html.dark-mode .detail-table>div,
html.dark-mode .product-tab-buttons{border-color:#303238}
html.dark-mode .product-tab-buttons button{background:#202228;color:#eee;border-color:#303238}
html.dark-mode .product-tab-buttons button.active{background:var(--orange);color:#fff}
html.dark-mode .quantity-select,
html.dark-mode .product-wish-btn,
html.dark-mode .product-thumbs button{background:#202228;color:#eee;border-color:#353840}
html.dark-mode .product-preorder{background:#3a2e12;border-color:#5a471b;color:#ffd981}

@media(max-width:900px){
  .product-detail-layout{grid-template-columns:1fr}
  .product-main-image,.product-main-image img{height:460px;min-height:460px}
}
@media(max-width:640px){
  .product-summary{padding:20px}
  .product-summary h1{font-size:25px}
  .product-main-image,.product-main-image img{height:350px;min-height:350px}
  .product-thumbs button{width:62px;height:62px}
  .product-buy-row{grid-template-columns:1fr}
  .product-wish-btn{grid-column:auto}
  .product-tab-buttons{overflow:auto}
  .product-tab-buttons button{min-width:150px}
  .related-grid{grid-template-columns:1fr}
}


/* =========================================================
   Phase 3 v1.5.1 – saubere Produktdetailseiten
   ========================================================= */
.product-page-clean{padding-top:18px;padding-bottom:50px}
.product-hero-clean{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:26px;
  align-items:start;
}
.product-media-clean,
.product-summary-clean,
.product-section-card,
.related-product-card{
  border:1px solid #ececf0;
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow);
}
.product-media-clean{padding:18px}
.product-image-clean{
  height:560px;
  border-radius:12px;
  background:#f4f4f5;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-image-clean img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.product-summary-clean{padding:30px}
.product-category-chip{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  color:var(--orange);
  background:color-mix(in srgb,var(--orange) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--orange) 28%,transparent);
  font-size:10px;
  font-weight:900;
}
.product-summary-clean h1{
  margin:12px 0 8px;
  font-size:34px;
  line-height:1.12;
}
.product-rating-clean{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:#777;
}
.product-summary-clean>p{
  margin:18px 0;
  line-height:1.65;
  color:#666;
}
.product-price-clean{
  display:flex;
  gap:10px;
  align-items:end;
  margin:18px 0 8px;
}
.product-price-clean strong{
  font-size:31px;
  color:var(--orange);
}
.product-price-clean del{color:#999;font-size:14px}
.product-availability{
  font-size:12px;
  font-weight:900;
  margin:5px 0 12px;
}
.product-availability.available{color:#26925a}
.product-availability.preorder{color:#d28b00}
.product-preorder-note{
  padding:10px 12px;
  border-radius:8px;
  background:#fff5d6;
  border:1px solid #ffe4a2;
  color:#8a6800;
  font-size:11px;
  margin-bottom:14px;
}
.product-purchase-clean{
  display:grid;
  grid-template-columns:95px 1fr;
  gap:9px;
  margin:22px 0;
}
.quantity-box{display:grid;gap:5px}
.quantity-box span{font-size:10px;color:#777}
.quantity-select{
  width:100%;
  height:46px;
  border:1px solid #e1e2e6;
  border-radius:8px;
  padding:0 10px;
  background:#fff;
}
.product-cart-btn{
  height:46px;
  border:0;
  border-radius:8px;
  background:var(--orange);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.product-wish-btn{
  grid-column:1/-1;
  height:42px;
  border:1px solid #e1e2e6;
  border-radius:8px;
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.product-facts-clean{
  border-top:1px solid #eee;
  margin-top:18px;
  padding-top:8px;
}
.spec-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:10px 0;
  border-bottom:1px solid #f0f0f2;
  font-size:11px;
}
.spec-row span{color:#777}
.product-content-clean{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}
.product-section-card{padding:22px}
.product-section-card h2{margin:0 0 12px;font-size:18px}
.product-section-card p{font-size:12px;line-height:1.7;color:#666}
.related-products-clean{margin-top:28px}
.related-products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.related-product-card{
  overflow:hidden;
  display:grid;
  grid-template-columns:130px 1fr;
  min-height:130px;
}
.related-product-image{
  background:#f4f4f5;
  min-height:130px;
}
.related-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.related-product-copy{
  padding:16px;
  display:grid;
  align-content:center;
  gap:5px;
}
.related-product-copy small{font-size:9px;color:#888}
.related-product-copy strong{font-size:12px;line-height:1.35}
.related-product-copy b{color:var(--orange);font-size:14px}

html.dark-mode .product-media-clean,
html.dark-mode .product-summary-clean,
html.dark-mode .product-section-card,
html.dark-mode .related-product-card{
  background:#1b1d21;
  border-color:#303238;
}
html.dark-mode .product-image-clean,
html.dark-mode .related-product-image{
  background:#202228;
}
html.dark-mode .product-summary-clean h1,
html.dark-mode .product-section-card h2{
  color:#fff;
}
html.dark-mode .product-summary-clean>p,
html.dark-mode .product-rating-clean,
html.dark-mode .product-section-card p,
html.dark-mode .spec-row span{
  color:#aeb1b7;
}
html.dark-mode .product-facts-clean,
html.dark-mode .spec-row{
  border-color:#303238;
}
html.dark-mode .quantity-select,
html.dark-mode .product-wish-btn{
  background:#202228;
  color:#eee;
  border-color:#353840;
}
html.dark-mode .product-preorder-note{
  background:#392d12;
  border-color:#5b471a;
  color:#ffd782;
}

@media(max-width:980px){
  .product-hero-clean{grid-template-columns:1fr}
  .product-content-clean{grid-template-columns:1fr}
}
@media(max-width:700px){
  .product-image-clean{height:390px}
  .product-summary-clean{padding:22px}
  .product-summary-clean h1{font-size:27px}
  .related-products-grid{grid-template-columns:1fr}
}

/* Phase 4 */
.cart-page{padding-top:18px;padding-bottom:50px}.cart-page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.cart-page-head h1{font-size:34px;margin:4px 0 7px}.cart-page-head p{margin:0;color:#6d6f75;font-size:13px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.cart-items-panel,.cart-summary-panel{background:#fff;border:1px solid #ececf0;border-radius:16px;box-shadow:var(--shadow)}.cart-items-head{display:flex;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #ececf0}.cart-items{padding:0 20px}.cart-empty-state{text-align:center;padding:54px 20px}.cart-item{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #f0f0f2}.cart-item-image{width:110px;height:110px;border-radius:10px;overflow:hidden;background:#f4f4f5}.cart-item-image img{width:100%;height:100%;object-fit:cover}.cart-item-info{display:grid;gap:5px}.cart-item-category{font-size:9px;color:var(--orange);font-weight:900}.cart-item-title{font-size:13px;font-weight:850}.cart-item-controls{display:flex;align-items:center;gap:8px;margin-top:8px}.cart-qty{width:70px;height:34px;border:1px solid #e1e2e6;border-radius:7px;padding:0 8px;background:#fff}.cart-remove{border:0;background:transparent;color:#dd4b4b;font-size:11px;font-weight:800;cursor:pointer}.cart-item-total{font-size:14px;font-weight:900;color:var(--orange)}.cart-summary-panel{padding:22px;position:sticky;top:150px}.cart-summary-line,.cart-summary-total{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f0f2;font-size:12px}.cart-summary-total{font-size:16px;border-bottom:0}.cart-summary-total strong{color:var(--orange);font-size:20px}.coupon-box{margin:16px 0}.coupon-box>div{display:grid;grid-template-columns:1fr auto;gap:7px}.coupon-box input{height:40px;border:1px solid #e1e2e6;border-radius:8px;padding:0 10px}.coupon-box button{border:0;border-radius:8px;background:#222;color:#fff;padding:0 13px;font-size:11px;font-weight:800}.shipping-demo-box{margin:16px 0;padding:12px;border-radius:10px;background:#faf7f2;border:1px solid #eee2d5}.checkout-demo-btn{width:100%;height:46px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:900}.checkout-note{display:block;text-align:center;margin-top:7px;color:#888}.mini-cart-drawer{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:120;display:none;justify-content:flex-end}.mini-cart-drawer.open{display:flex}.mini-cart-panel{width:min(430px,92vw);height:100%;background:#fff;display:grid;grid-template-rows:auto 1fr auto;box-shadow:-10px 0 30px rgba(0,0,0,.24)}.mini-cart-head{display:flex;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #eee}.mini-cart-head h2{margin:0}.mini-cart-head button{border:0;background:transparent;font-size:28px}.mini-cart-items{overflow:auto;padding:0 18px}.mini-cart-empty{text-align:center;color:#888;font-size:12px;padding:35px 12px}.mini-cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #eee}.mini-cart-item img{width:70px;height:70px;object-fit:cover;border-radius:8px}.mini-cart-item-info{display:grid;gap:3px}.mini-cart-item-info strong{font-size:11px}.mini-cart-item-info small{font-size:9px;color:#888}.mini-cart-item-info b{font-size:11px;color:var(--orange)}.mini-cart-remove{border:0;background:transparent;color:#dd4b4b;font-size:18px}.mini-cart-foot{padding:16px 20px;border-top:1px solid #eee}.mini-cart-foot>div{display:flex;justify-content:space-between;margin-bottom:12px}.mini-cart-foot .btn{width:100%}html.dark-mode .cart-items-panel,html.dark-mode .cart-summary-panel,html.dark-mode .mini-cart-panel{background:#1b1d21;border-color:#303238;color:#f5f5f6}html.dark-mode .cart-items-head,html.dark-mode .cart-item,html.dark-mode .cart-summary-line,html.dark-mode .mini-cart-head,html.dark-mode .mini-cart-item,html.dark-mode .mini-cart-foot{border-color:#303238}html.dark-mode .cart-qty,html.dark-mode .coupon-box input{background:#202228;color:#fff;border-color:#383b42}@media(max-width:900px){.cart-layout{grid-template-columns:1fr}.cart-summary-panel{position:static}}@media(max-width:640px){.cart-page-head{align-items:flex-start;flex-direction:column}.cart-item{grid-template-columns:85px 1fr}.cart-item-image{width:85px;height:85px}.cart-item-total{grid-column:2}}


/* Phase 4 v1.6.1 – Mini-Warenkorb Sichtbarkeit */
.mini-cart-drawer{z-index:9999!important}
.mini-cart-drawer.open{display:flex!important}
body.mini-cart-open{overflow:hidden}
#miniCartToggle{cursor:pointer}

/* Phase 4 v1.6.3 – persistent cart */
.mini-cart-drawer{z-index:2147483000!important}
.mini-cart-drawer.open{display:flex!important}
body.mini-cart-open{overflow:hidden!important}
#miniCartToggle{cursor:pointer}


/* =========================================================
   Phase 4 v1.6.4 – Mini-Cart Panel Visibility Fix
   ========================================================= */

/* Overlay */
#miniCartDrawer.mini-cart-drawer{
  position:fixed!important;
  inset:0!important;
  display:none!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  width:100vw!important;
  height:100vh!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  background:rgba(0,0,0,.52)!important;
  z-index:2147483646!important;
  overflow:hidden!important;
  transform:none!important;
}

/* Only visible when explicitly opened */
#miniCartDrawer.mini-cart-drawer.open{
  display:flex!important;
}

/* Actual cart panel */
#miniCartDrawer .mini-cart-panel{
  position:relative!important;
  inset:auto!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  flex:0 0 min(430px,92vw)!important;
  width:min(430px,92vw)!important;
  min-width:300px!important;
  max-width:92vw!important;
  height:100vh!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
  translate:none!important;
  right:auto!important;
  left:auto!important;
  top:auto!important;
  bottom:auto!important;
  background:#fff!important;
  color:#171717!important;
  box-shadow:-14px 0 38px rgba(0,0,0,.34)!important;
  z-index:2147483647!important;
  overflow:hidden!important;
}

/* Header / body / footer of mini cart */
#miniCartDrawer .mini-cart-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:18px 20px!important;
  background:#fff!important;
  border-bottom:1px solid #e8e8eb!important;
  color:#171717!important;
}

#miniCartDrawer .mini-cart-items{
  display:block!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:0 18px!important;
  background:#fff!important;
  color:#171717!important;
}

#miniCartDrawer .mini-cart-foot{
  display:block!important;
  padding:16px 20px 20px!important;
  background:#fff!important;
  border-top:1px solid #e8e8eb!important;
  color:#171717!important;
}

#miniCartDrawer .mini-cart-foot > div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:12px!important;
}

#miniCartDrawer .mini-cart-foot .btn{
  display:flex!important;
  width:100%!important;
}

/* Close button must always be visible */
#miniCartClose{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:#f2f2f4!important;
  color:#171717!important;
  font-size:26px!important;
  line-height:1!important;
  cursor:pointer!important;
}

/* Dark mode */
html.dark-mode #miniCartDrawer .mini-cart-panel,
html.dark-mode #miniCartDrawer .mini-cart-head,
html.dark-mode #miniCartDrawer .mini-cart-items,
html.dark-mode #miniCartDrawer .mini-cart-foot{
  background:#1b1d21!important;
  color:#f5f5f6!important;
  border-color:#303238!important;
}

html.dark-mode #miniCartClose{
  background:#2a2d32!important;
  color:#fff!important;
}

/* Open page is intentionally locked only while visible drawer exists */
body.mini-cart-open{
  overflow:hidden!important;
}


/* =========================================================
   AnimeDeals Phase 5 – Checkout
   ========================================================= */
.checkout-page{padding-top:18px;padding-bottom:56px}
.checkout-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:22px
}
.checkout-head h1{font-size:34px;margin:4px 0 7px}
.checkout-head p{margin:0;color:#6d6f75;font-size:13px}
.checkout-progress{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.checkout-progress span{
  padding:7px 10px;border:1px solid #e4e5e9;border-radius:999px;background:#fff;
  font-size:10px;font-weight:800;color:#777
}
.checkout-progress span.active{background:var(--orange);border-color:var(--orange);color:#fff}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}
.checkout-form{display:grid;gap:16px}
.checkout-card,.checkout-summary,.checkout-review-card{
  background:#fff;border:1px solid #ececf0;border-radius:16px;box-shadow:var(--shadow)
}
.checkout-card{padding:22px}
.checkout-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.checkout-card-head>span{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;
  background:var(--orange);color:#fff;font-weight:900;font-size:12px
}
.checkout-card-head h2{margin:0 0 3px;font-size:18px}
.checkout-card-head p{margin:0;color:#888;font-size:10px}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkout-grid label{display:grid;gap:5px}
.checkout-grid label.full{grid-column:1/-1}
.checkout-grid label>span{font-size:10px;font-weight:800;color:#666}
.checkout-grid input,.checkout-grid select{
  width:100%;height:43px;border:1px solid #e0e1e5;border-radius:8px;padding:0 11px;background:#fff;color:#222
}
.checkout-grid input:focus,.checkout-grid select:focus{
  outline:0;border-color:var(--orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 14%,transparent)
}
.checkout-grid input.invalid,.checkout-grid select.invalid{
  border-color:#e25555;box-shadow:0 0 0 3px rgba(226,85,85,.10)
}
.checkout-check{display:flex;align-items:flex-start;gap:9px;margin-top:14px;font-size:11px;cursor:pointer}
.checkout-check input{accent-color:var(--orange);margin-top:2px}
.checkout-shipping-address{margin-top:15px;padding-top:15px;border-top:1px solid #eee}
.checkout-options{display:grid;gap:9px}
.checkout-option{
  display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;
  padding:13px 14px;border:1px solid #e3e4e8;border-radius:10px;background:#fff;cursor:pointer;
  transition:.18s ease
}
.checkout-option:hover,.checkout-option.active{
  border-color:var(--orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 12%,transparent)
}
.checkout-option input{accent-color:var(--orange)}
.checkout-option div{display:grid;gap:2px}
.checkout-option strong{font-size:12px}
.checkout-option small{font-size:9px;color:#888}
.checkout-option b{font-size:12px;color:var(--orange)}
.checkout-validation{
  margin:14px 0 0;padding:11px 12px;border:1px solid #efc2c2;border-radius:8px;
  background:#fff1f1;color:#a43b3b;font-size:11px;line-height:1.5
}
.checkout-submit{
  width:100%;height:46px;margin-top:16px;border:0;border-radius:8px;
  background:var(--orange);color:#fff;font-weight:900;cursor:pointer
}
.checkout-submit-note{display:block;text-align:center;margin-top:7px;color:#888}
.checkout-summary{padding:22px;position:sticky;top:150px}
.checkout-summary h2{margin:0 0 16px;font-size:18px}
.checkout-items{display:grid;gap:9px;margin-bottom:14px;max-height:330px;overflow:auto}
.checkout-item{
  display:grid;grid-template-columns:60px 1fr auto;gap:9px;align-items:center;
  padding-bottom:9px;border-bottom:1px solid #eee
}
.checkout-item img{width:60px;height:60px;border-radius:8px;object-fit:cover;background:#f4f4f5}
.checkout-item div{display:grid;gap:2px}
.checkout-item strong{font-size:10px;line-height:1.3}
.checkout-item small{font-size:9px;color:#888}
.checkout-item b{font-size:10px;color:var(--orange)}
.checkout-empty{padding:25px 10px;text-align:center;color:#888;font-size:11px}
.checkout-summary-line,.checkout-summary-total{
  display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eee;font-size:11px
}
.checkout-summary-total{border-bottom:0;padding-top:14px;font-size:15px}
.checkout-summary-total strong{font-size:20px;color:var(--orange)}
.checkout-back-cart{
  display:flex;justify-content:center;margin-top:14px;padding-top:12px;border-top:1px solid #eee;
  color:#777;font-size:10px;font-weight:800
}
.checkout-review{margin-top:22px}
.checkout-review-card{padding:28px}
.checkout-review-card h2{margin:6px 0 8px}
.checkout-review-card>p{margin:0 0 20px;color:#666;font-size:12px;line-height:1.6}
.checkout-review-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}
.checkout-review-grid>div{
  padding:13px;border:1px solid #ececf0;border-radius:10px;background:#fafafa;display:grid;gap:4px
}
.checkout-review-grid small{font-size:9px;color:#888}
.checkout-review-grid strong{font-size:11px}

html.dark-mode .checkout-card,
html.dark-mode .checkout-summary,
html.dark-mode .checkout-review-card,
html.dark-mode .checkout-progress span,
html.dark-mode .checkout-option{
  background:#1b1d21;border-color:#303238;color:#f5f5f6
}
html.dark-mode .checkout-progress span.active{background:var(--orange);border-color:var(--orange)}
html.dark-mode .checkout-head p,
html.dark-mode .checkout-card-head p,
html.dark-mode .checkout-grid label>span,
html.dark-mode .checkout-option small,
html.dark-mode .checkout-item small,
html.dark-mode .checkout-review-card>p{
  color:#aeb1b7
}
html.dark-mode .checkout-grid input,
html.dark-mode .checkout-grid select{
  background:#202228;color:#f5f5f6;border-color:#383b42
}
html.dark-mode .checkout-shipping-address,
html.dark-mode .checkout-item,
html.dark-mode .checkout-summary-line,
html.dark-mode .checkout-back-cart{border-color:#303238}
html.dark-mode .checkout-review-grid>div{background:#202228;border-color:#303238}
html.dark-mode .checkout-validation{background:#3a2020;border-color:#633232;color:#ffb3b3}

@media(max-width:980px){
  .checkout-layout{grid-template-columns:1fr}
  .checkout-summary{position:static}
  .checkout-head{align-items:flex-start;flex-direction:column}
  .checkout-progress{justify-content:flex-start}
}
@media(max-width:640px){
  .checkout-grid{grid-template-columns:1fr}
  .checkout-grid label.full{grid-column:auto}
  .checkout-review-grid{grid-template-columns:1fr 1fr}
}


/* Phase 5 v1.7.1 – abweichende Lieferadresse */
#shippingAddress[hidden],
#shippingAddress.is-hidden{
  display:none!important;
}

#shippingAddress:not([hidden]){
  display:grid!important;
}


/* =========================================================
   Phase 5 v1.7.2 – To-Top & Pagination Bugfix
   ========================================================= */

/* To-Top immer vollständig rechts unten sichtbar */
.to-top{
  position:fixed!important;
  right:22px!important;
  left:auto!important;
  bottom:22px!important;
  top:auto!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  z-index:2147483000!important;
  transform:none!important;
  translate:none!important;
  overflow:visible!important;
}

@media(max-width:640px){
  .to-top{
    right:14px!important;
    bottom:14px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
  }
}

/* Dynamische Pagination */
.dynamic-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:28px;
}
.dynamic-pagination[hidden]{
  display:none!important;
}
.dynamic-pagination .page-btn{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border:1px solid #e7e7ea;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  background:#fff;
  color:#222;
  cursor:pointer;
}
.dynamic-pagination .page-btn.active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}
.dynamic-pagination .page-btn:disabled{
  opacity:.4;
  cursor:not-allowed;
}
html.dark-mode .dynamic-pagination .page-btn{
  background:#1b1d21;
  border-color:#303238;
  color:#f2f2f4;
}
html.dark-mode .dynamic-pagination .page-btn.active{
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}


/* =========================================================
   AnimeDeals Phase 6 – Benutzerkonto
   ========================================================= */
.auth-page,.account-page{padding-top:18px;padding-bottom:54px}
.auth-shell{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;max-width:980px;margin:0 auto}
.auth-shell.single{grid-template-columns:minmax(0,620px);justify-content:center}
.auth-card,.auth-side,.account-nav,.account-panel,.account-welcome{
  background:#fff;border:1px solid #ececf0;border-radius:16px;box-shadow:var(--shadow)
}
.auth-card{padding:28px}.auth-card h1{font-size:32px;margin:5px 0 8px}
.auth-lead{color:#6f7178;font-size:12px;line-height:1.6;margin:0 0 20px}
.auth-form{display:grid;gap:12px}.auth-form label{display:grid;gap:5px}.auth-form label>span{font-size:10px;font-weight:800;color:#666}
.auth-form input{height:44px;border:1px solid #e0e1e5;border-radius:8px;padding:0 11px;background:#fff}
.auth-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.auth-check{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:8px}
.auth-check input{height:auto;width:auto;accent-color:var(--orange);margin-top:2px}
.auth-primary{height:44px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:900;cursor:pointer}
.auth-message{padding:10px 12px;border-radius:8px;background:#f4f4f5;font-size:11px}
.auth-links{display:flex;gap:8px;justify-content:center;margin-top:14px;font-size:10px}
.auth-side{padding:28px;align-self:stretch}.auth-side h2{margin:6px 0 12px}.auth-side p,.auth-side li{font-size:11px;line-height:1.6;color:#6f7178}.auth-side ul{padding-left:18px}

.account-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
.account-nav{position:sticky;top:150px;overflow:hidden}
.account-userbox{display:flex;gap:10px;align-items:center;padding:18px;border-bottom:1px solid #eee}
.account-avatar,.profile-avatar-large{display:grid;place-items:center;border-radius:50%;background:var(--orange);color:#fff;font-weight:900}
.account-avatar{width:42px;height:42px}.account-userbox div:last-child{display:grid;gap:2px}.account-userbox strong{font-size:11px}.account-userbox small{font-size:9px;color:#888}
.account-nav nav{display:grid}.account-nav nav a,.account-nav nav button{padding:13px 18px;border:0;border-bottom:1px solid #f0f0f2;background:#fff;text-align:left;font-size:11px;cursor:pointer}
.account-nav nav a.active{background:color-mix(in srgb,var(--orange) 10%,#fff);color:var(--orange);font-weight:900}
.account-nav nav button{color:#c54d4d}
.account-content{display:grid;gap:16px}.account-welcome{padding:24px}.account-welcome h1{font-size:30px;margin:5px 0 7px}.account-welcome p{margin:0;color:#70727a;font-size:12px}
.account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.account-stats a{padding:18px;border:1px solid #ececf0;border-radius:14px;background:#fff;display:grid;gap:3px;box-shadow:var(--shadow)}
.account-stats strong{font-size:26px;color:var(--orange)}.account-stats span{font-size:10px;color:#777}
.account-panel{padding:20px}.account-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.account-panel-head h2{margin:0;font-size:16px}.account-panel-head a,.account-panel-head button{font-size:10px;color:var(--orange);border:0;background:transparent;cursor:pointer}
.order-row,.order-card{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:12px;align-items:center}
.order-row>div,.order-card>div{display:grid;gap:3px}.order-row small,.order-card small{font-size:9px;color:#888}.order-row strong,.order-card strong{font-size:11px}
.order-status{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}
.order-status.shipped{background:#eaf7ef;color:#2c8a55}.order-status.processing{background:#fff4d7;color:#a47300}.order-status.completed{background:#eef1ff;color:#5263aa}
.account-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.account-shortcuts a{padding:13px;border:1px solid #ececf0;border-radius:10px;font-size:11px;font-weight:800}
.orders-list{display:grid;gap:10px}.order-card{padding:16px 18px;border:1px solid #ececf0;border-radius:12px;background:#fff;box-shadow:var(--shadow)}
.order-detail-product{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center}.order-detail-product img{width:90px;height:90px;object-fit:cover;border-radius:10px}.order-detail-product div{display:grid;gap:4px}.order-detail-product small{font-size:9px;color:#888}.order-detail-product b{color:var(--orange)}
.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-panel p{font-size:11px;line-height:1.6;color:#6f7178}
.order-total-line{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eee;font-size:11px}.order-total-line.total{font-size:15px;border-bottom:0}.order-total-line.total strong{color:var(--orange);font-size:18px}
.address-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.address-form{display:grid;gap:8px}.address-form input{height:40px;border:1px solid #e0e1e5;border-radius:8px;padding:0 10px}.address-form button{height:40px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:800}
.profile-form{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:start}.profile-avatar-large{width:100px;height:100px;font-size:32px}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-grid label{display:grid;gap:5px}.profile-grid label.full{grid-column:1/-1}.profile-grid span{font-size:10px;font-weight:800;color:#666}.profile-grid input{height:42px;border:1px solid #e0e1e5;border-radius:8px;padding:0 10px}.profile-form .auth-primary,.profile-form .auth-message{grid-column:2}

html.dark-mode .auth-card,html.dark-mode .auth-side,html.dark-mode .account-nav,html.dark-mode .account-panel,html.dark-mode .account-welcome,html.dark-mode .account-stats a,html.dark-mode .orders-list .order-card{
  background:#1b1d21;border-color:#303238;color:#f5f5f6
}
html.dark-mode .auth-form input,html.dark-mode .address-form input,html.dark-mode .profile-grid input{background:#202228;color:#fff;border-color:#383b42}
html.dark-mode .account-nav nav a,html.dark-mode .account-nav nav button{background:#1b1d21;border-color:#303238;color:#eee}
html.dark-mode .account-nav nav a.active{background:#2b211c;color:var(--orange)}
html.dark-mode .account-userbox,html.dark-mode .order-total-line{border-color:#303238}
html.dark-mode .auth-side p,html.dark-mode .auth-side li,html.dark-mode .account-welcome p,html.dark-mode .account-panel p{color:#aeb1b7}

@media(max-width:900px){
  .auth-shell,.account-layout{grid-template-columns:1fr}.account-nav{position:static}
  .account-nav nav{grid-template-columns:repeat(4,1fr)}.account-nav nav button{grid-column:1/-1}
}
@media(max-width:640px){
  .auth-two,.address-grid,.profile-grid,.order-detail-grid{grid-template-columns:1fr}
  .account-stats,.account-shortcuts{grid-template-columns:1fr}
  .order-row,.order-card{grid-template-columns:1fr 1fr}
  .profile-form{grid-template-columns:1fr}.profile-form .auth-primary,.profile-form .auth-message{grid-column:auto}
  .account-nav nav{grid-template-columns:1fr 1fr}
}


/* Phase 6 v1.8.1 – Konto-Link */
#accountLink{
  text-decoration:none!important;
  cursor:pointer!important;
}
#accountLink:visited{
  color:inherit!important;
}


/* Phase 6 v1.8.2 – Adressansicht / Bearbeitung */
.address-form[hidden],
.address-form.is-hidden{
  display:none!important;
}

.address-form:not([hidden]){
  display:grid!important;
}

.address-view[hidden]{
  display:none!important;
}


/* =========================================================
   AnimeDeals Phase 7 – Wunschliste
   ========================================================= */
#wishlistLink{
  text-decoration:none!important;
  cursor:pointer!important;
}
.wishlist-page{padding-top:18px;padding-bottom:54px}
.wishlist-head{
  display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:20px
}
.wishlist-head h1{font-size:34px;margin:4px 0 7px}
.wishlist-head p{margin:0;color:#6f7178;font-size:12px}
.wishlist-owner{
  display:grid;gap:2px;padding:10px 14px;border:1px solid #ececf0;border-radius:10px;background:#fff
}
.wishlist-owner span{font-size:9px;color:#888}
.wishlist-owner strong{font-size:11px}
.wishlist-panel{
  border:1px solid #ececf0;border-radius:16px;background:#fff;box-shadow:var(--shadow);padding:20px
}
.wishlist-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #eee
}
.wishlist-toolbar strong{font-size:13px}
.wishlist-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px
}
.wishlist-empty{
  grid-column:1/-1;text-align:center;padding:55px 20px
}
.wishlist-empty-icon{font-size:42px}
.wishlist-empty h2{margin:10px 0 6px}
.wishlist-empty p{margin:0 0 18px;color:#777;font-size:11px}
.wishlist-card{
  border:1px solid #ececf0;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.045)
}
.wishlist-card-image{
  height:230px;background:#f5f5f6;display:flex;align-items:center;justify-content:center;overflow:hidden
}
.wishlist-card-image img{width:100%;height:100%;object-fit:cover}
.wishlist-card-copy{padding:14px;display:grid;gap:6px}
.wishlist-card-copy small{font-size:9px;color:var(--orange);font-weight:900}
.wishlist-card-copy h3{font-size:13px;line-height:1.35;margin:0}
.wishlist-card-price{color:var(--orange);font-size:15px;font-weight:900}
.wishlist-card-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:6px}
.wishlist-cart-btn{
  height:38px;border:0;border-radius:8px;background:var(--orange);color:#fff;font-weight:900;cursor:pointer
}
.wishlist-remove-btn{
  width:40px;height:38px;border:1px solid #e2e3e7;border-radius:8px;background:#fff;color:#d34c4c;cursor:pointer
}
.wish-btn.active,.product-wish-btn.active{
  background:var(--orange)!important;color:#fff!important;border-color:var(--orange)!important
}
.wish-btn.active::before,.product-wish-btn.active::before{content:""}
html.dark-mode .wishlist-owner,
html.dark-mode .wishlist-panel,
html.dark-mode .wishlist-card{
  background:#1b1d21;border-color:#303238;color:#f5f5f6
}
html.dark-mode .wishlist-toolbar{border-color:#303238}
html.dark-mode .wishlist-card-image{background:#202228}
html.dark-mode .wishlist-remove-btn{background:#202228;border-color:#383b42}
html.dark-mode .wishlist-head p{color:#aeb1b7}
@media(max-width:900px){
  .wishlist-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .wishlist-head{align-items:flex-start;flex-direction:column}
  .wishlist-grid{grid-template-columns:1fr}
}
