/* ============================================================
   YUJISUGENO · Store Template
   Roborock Fachhandel — Shop-Startseite / Archiv / PDP
   ============================================================ */

:root{
  --ys-ink:#14161a;
  --ys-ink-2:#2b2f36;
  --ys-accent:#d93a26;
  --ys-accent-dark:#b62d1c;
  --ys-soft:#f5f6f8;
  --ys-soft-2:#eef0f3;
  --ys-line:#e4e7ec;
  --ys-muted:#6b7280;
  --ys-white:#fff;
  --ys-radius:18px;
  --ys-shadow:0 1px 2px rgba(16,20,28,.04), 0 12px 32px -12px rgba(16,20,28,.14);
}

body{ overflow-x:hidden; }

/* ---------- 全幅容器 ---------- */
.ys-page{
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  width:100vw;
  color:var(--ys-ink);
  font-size:16px;
  line-height:1.6;
}
.ys-wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }
.ys-section{ padding:72px 0; }
.ys-section--soft{ background:var(--ys-soft); }
.ys-section--tight{ padding:48px 0; }

/* 首页去掉容器内边距 */
.home .entry-content,
.home .ast-article-single .entry-content{ margin:0 !important; padding:0 !important; }
.home #content .ast-container{ padding:0 !important; max-width:100% !important; }
.home .site-content{ padding:0 !important; }
.home .ast-separate-container .ast-article-single{ padding:0 !important; background:none !important; }
.home .ast-separate-container{ background:var(--ys-white) !important; }
.home .entry-header{ display:none !important; }
.home .ast-breadcrumbs-wrapper{ display:none !important; }

/* ---------- 公告条 ---------- */
.ys-announce{
  background:var(--ys-ink);
  color:#e9eaec;
  font-size:13px;
  letter-spacing:.01em;
}
.ys-announce .ys-wrap{
  display:flex; align-items:center; justify-content:center;
  gap:28px; min-height:40px; flex-wrap:wrap;
  padding:6px 24px;
}
.ys-announce span{ display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.ys-announce svg{ width:14px; height:14px; stroke:var(--ys-accent); fill:none; stroke-width:1.8; }

/* ---------- 标题排版 ---------- */
.ys-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ys-accent); margin:0 0 14px;
}
.ys-eyebrow::before{ content:""; width:22px; height:1px; background:currentColor; }
.ys-h2{
  font-size:clamp(26px,3vw,40px) !important;
  line-height:1.15 !important;
  letter-spacing:-.02em;
  font-weight:700 !important;
  margin:0 0 14px !important;
  color:var(--ys-ink);
}
.ys-sub{
  font-size:16px; color:var(--ys-muted); margin:0 0 6px;
  max-width:640px;
}
.ys-section-head{ margin-bottom:38px; }
.ys-section-head--row{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.ys-link-more{
  font-size:14px; font-weight:600; color:var(--ys-ink); text-decoration:none;
  border-bottom:1.5px solid var(--ys-ink); padding-bottom:2px; white-space:nowrap;
  transition:.18s;
}
.ys-link-more:hover{ color:var(--ys-accent); border-color:var(--ys-accent); }

/* ---------- Hero ---------- */
.ys-hero{
  position:relative;
  background:
    radial-gradient(1200px 520px at 78% 18%, rgba(217,58,38,.10), transparent 62%),
    linear-gradient(180deg,#fafbfc 0%, #fff 100%);
  border-bottom:1px solid var(--ys-line);
  overflow:hidden;
}
.ys-hero .ys-wrap{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:56px;
  padding-top:64px; padding-bottom:64px;
}
.ys-badge-new{
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; border:1px solid var(--ys-line);
  border-radius:999px; padding:5px 12px 5px 8px;
  font-size:12px; font-weight:600; color:var(--ys-ink-2);
  box-shadow:0 1px 2px rgba(16,20,28,.05);
  margin-bottom:20px;
}
.ys-badge-new i{
  width:7px; height:7px; border-radius:50%; background:var(--ys-accent);
  box-shadow:0 0 0 3px rgba(217,58,38,.14); font-style:normal;
}
.ys-hero h1{
  font-size:clamp(30px,4.3vw,52px) !important;
  line-height:1.08 !important;
  letter-spacing:-.028em;
  font-weight:700 !important;
  margin:0 0 18px !important;
  color:var(--ys-ink);
}
.ys-hero h1 em{ font-style:normal; color:var(--ys-accent); }
.ys-hero .ys-lead{
  font-size:17px; line-height:1.68; color:#4b5058;
  margin:0 0 26px; max-width:520px;
}
.ys-price-line{
  display:flex; align-items:baseline; gap:12px; flex-wrap:wrap;
  margin:0 0 6px;
}
.ys-price-line .ys-from{ font-size:13px; color:var(--ys-muted); }
.ys-price-line .ys-amount{ font-size:30px; font-weight:700; letter-spacing:-.02em; }
.ys-price-line .ys-tax{ font-size:12px; color:var(--ys-muted); }
.ys-finance{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--ys-ink-2);
  background:#fff; border:1px solid var(--ys-line); border-radius:8px;
  padding:7px 12px; margin-bottom:24px;
  max-width:100%;
}
.ys-finance svg{ width:17px; height:17px; flex:0 0 17px; stroke:var(--ys-ink-2); }
.ys-hero-copy, .ys-hero-media{ min-width:0; }
.ys-finance b{ color:var(--ys-accent); }

.ys-cta-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.ys-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:52px; padding:0 26px; border-radius:10px;
  font-size:15px; font-weight:600; text-decoration:none !important;
  border:1.5px solid transparent; transition:.18s ease; cursor:pointer;
  line-height:1;
}
.ys-btn--primary{ background:var(--ys-ink); color:#fff !important; }
.ys-btn--primary:hover{ background:var(--ys-accent); transform:translateY(-1px); }
.ys-btn--ghost{ background:#fff; color:var(--ys-ink) !important; border-color:var(--ys-line); }
.ys-btn--ghost:hover{ border-color:var(--ys-ink); }
.ys-btn svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }

.ys-hero-media{ position:relative; }
.ys-hero-media .ys-shot{
  position:relative; background:#fff; border:1px solid var(--ys-line);
  border-radius:26px; box-shadow:var(--ys-shadow);
  padding:24px; overflow:hidden;
}
.ys-hero-media .ys-shot::after{
  content:""; position:absolute; inset:auto -30% -55% -30%;
  height:70%; background:radial-gradient(closest-side, rgba(217,58,38,.10), transparent);
}
.ys-hero-media img{
  display:block; width:100%; height:auto; max-height:460px;
  object-fit:contain; position:relative; z-index:1;
}
.ys-float{
  position:absolute; z-index:2; background:#fff; border:1px solid var(--ys-line);
  border-radius:14px; padding:10px 14px; box-shadow:var(--ys-shadow);
  display:flex; align-items:center; gap:10px; font-size:12.5px;
}
.ys-float b{ display:block; font-size:15px; line-height:1.2; }
.ys-float span{ color:var(--ys-muted); }
.ys-float--tl{ top:16px; left:-14px; }
.ys-float--br{ bottom:20px; right:-10px; }
.ys-float i{
  width:32px; height:32px; border-radius:9px; background:var(--ys-soft);
  display:grid; place-items:center; font-style:normal;
}
.ys-float i svg{ width:17px; height:17px; stroke:var(--ys-accent); fill:none; stroke-width:1.9; }

/* ---------- 信任条 ---------- */
.ys-trust{ background:#fff; border-bottom:1px solid var(--ys-line); }
.ys-trust .ys-wrap{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0; padding-top:22px; padding-bottom:22px;
}
.ys-trust-item{
  display:flex; align-items:center; gap:12px; padding:6px 20px;
  border-left:1px solid var(--ys-line);
}
.ys-trust-item:first-child{ border-left:none; padding-left:0; }
.ys-trust-item i{
  width:38px; height:38px; flex:0 0 38px; border-radius:11px;
  background:var(--ys-soft); display:grid; place-items:center;
}
.ys-trust-item i svg{ width:19px; height:19px; stroke:var(--ys-ink); fill:none; stroke-width:1.7; }
.ys-trust-item b{ display:block; font-size:13.5px; font-weight:650; line-height:1.3; }
.ys-trust-item span{ font-size:12px; color:var(--ys-muted); }

/* ---------- 分类卡 ---------- */
.ys-cats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.ys-cat{
  position:relative; display:block; text-decoration:none !important;
  background:#fff; border:1px solid var(--ys-line); border-radius:var(--ys-radius);
  overflow:hidden; transition:.22s ease; color:var(--ys-ink);
}
.ys-cat:hover{ transform:translateY(-3px); box-shadow:var(--ys-shadow); border-color:#d6dae1; }
.ys-cat-img{
  position:relative; aspect-ratio:16/10; background:var(--ys-soft); overflow:hidden;
}
.ys-cat-img img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; padding:6px; mix-blend-mode:multiply;
  transition:.4s ease;
}
.ys-cat:hover .ys-cat-img img{ transform:scale(1.05); }
.ys-cat-body{
  padding:16px 18px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.ys-cat-body b{ font-size:16px; font-weight:650; }
.ys-cat-body small{ display:block; color:var(--ys-muted); font-size:12.5px; font-weight:400; margin-top:2px; }
.ys-cat-arrow{
  width:34px; height:34px; flex:0 0 34px; border-radius:50%;
  background:var(--ys-soft); display:grid; place-items:center; transition:.2s;
}
.ys-cat-arrow svg{ width:15px; height:15px; stroke:var(--ys-ink); fill:none; stroke-width:2; }
.ys-cat:hover .ys-cat-arrow{ background:var(--ys-ink); }
.ys-cat:hover .ys-cat-arrow svg{ stroke:#fff; }

/* ---------- 商品网格（WooCommerce 覆盖） ---------- */
.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:20px !important;
  margin:0 !important; padding:0 !important; list-style:none !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{ display:none !important; }
.woocommerce ul.products li.product{
  width:100% !important; float:none !important; margin:0 !important; padding:0 !important;
  background:#fff; border:1px solid var(--ys-line); border-radius:var(--ys-radius);
  overflow:hidden; transition:.22s ease; display:flex; flex-direction:column;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-3px); box-shadow:var(--ys-shadow); border-color:#d6dae1;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{ display:block; }
.woocommerce ul.products li.product img{
  width:100% !important; height:auto !important; aspect-ratio:1/1;
  object-fit:contain; background:var(--ys-soft); padding:16px;
  margin:0 !important; border-radius:0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:14.5px !important; line-height:1.42 !important; font-weight:600 !important;
  padding:14px 16px 4px !important; color:var(--ys-ink) !important;
  min-height:64px;
}
.woocommerce ul.products li.product .price{
  display:block !important; padding:0 16px 14px !important;
  font-size:16.5px !important; font-weight:700 !important; color:var(--ys-ink) !important;
  margin-top:auto !important;
}
.woocommerce ul.products li.product .price del{ font-size:13px; color:var(--ys-muted); font-weight:400; }
.woocommerce ul.products li.product .price ins{ text-decoration:none; }
.woocommerce ul.products li.product .button{
  margin:0 16px 16px !important; width:calc(100% - 32px);
  height:44px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--ys-soft) !important; color:var(--ys-ink) !important;
  border-radius:9px !important; font-size:13.5px !important; font-weight:600 !important;
  border:1px solid var(--ys-line) !important; transition:.18s;
}
.woocommerce ul.products li.product .button:hover{ background:var(--ys-ink) !important; color:#fff !important; border-color:var(--ys-ink) !important; }
.woocommerce ul.products li.product .onsale{
  background:var(--ys-accent) !important; color:#fff !important;
  border-radius:6px !important; min-height:0 !important; min-width:0 !important;
  padding:4px 9px !important; font-size:11px !important; font-weight:700 !important;
  line-height:1.4 !important; top:12px !important; left:12px !important; right:auto !important;
}
.woocommerce ul.products li.product .star-rating{ display:none; }
.woocommerce ul.products li.product a.added_to_cart{ display:none; }

/* ---------- 特性卡 ---------- */
.ys-feats{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ys-feat{
  background:#fff; border:1px solid var(--ys-line); border-radius:var(--ys-radius);
  padding:28px 26px;
}
.ys-feat .ys-num{
  font-size:34px; font-weight:700; letter-spacing:-.03em; line-height:1;
  color:var(--ys-accent); margin-bottom:6px;
}
.ys-feat .ys-num small{ font-size:16px; font-weight:600; color:var(--ys-ink); margin-left:3px; }
.ys-feat h3{ font-size:16px !important; font-weight:650 !important; margin:0 0 8px !important; }
.ys-feat p{ font-size:14px; color:var(--ys-muted); margin:0; line-height:1.65; }

/* ---------- 对比表 ---------- */
.ys-tablewrap{ overflow-x:auto; max-width:100%; border-radius:var(--ys-radius); border:1px solid var(--ys-line); background:#fff; }
table.ys-table{
  width:100%; border-collapse:collapse; font-size:14.5px; margin:0;
  min-width:700px;
}
table.ys-table th, table.ys-table td{
  padding:15px 18px; text-align:left; border-bottom:1px solid var(--ys-line);
  vertical-align:middle;
}
table.ys-table thead th{
  background:var(--ys-soft); font-size:13px; font-weight:650; color:var(--ys-ink-2);
  letter-spacing:.01em; white-space:nowrap;
}
table.ys-table thead th:first-child{ color:var(--ys-muted); font-weight:500; }
table.ys-table tbody tr:last-child td{ border-bottom:none; }
table.ys-table tbody th{
  font-weight:500; color:var(--ys-muted); font-size:13.5px; white-space:nowrap;
  background:#fff;
}
table.ys-table td{ color:var(--ys-ink); font-weight:500; }
table.ys-table td.ys-hl{ background:#fff8f7; }
table.ys-table .ys-pricecell{ font-size:16px; font-weight:700; }
table.ys-table .ys-check{ color:#12805c; font-weight:600; }
table.ys-table .ys-no{ color:#a8adb6; }

/* ---------- 品牌故事 ---------- */
.ys-story{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.ys-story-img{
  background:#fff; border:1px solid var(--ys-line); border-radius:22px;
  padding:26px; box-shadow:var(--ys-shadow);
}
.ys-story-img img{ display:block; width:100%; height:auto; object-fit:contain; }
.ys-story ul{ list-style:none; margin:22px 0 0; padding:0; }
.ys-story li{
  display:flex; gap:12px; padding:11px 0; font-size:14.5px; color:#41474f;
  border-bottom:1px solid var(--ys-line);
}
.ys-story li:last-child{ border-bottom:none; }
.ys-story li svg{ width:18px; height:18px; flex:0 0 18px; stroke:#12805c; fill:none; stroke-width:2.2; margin-top:3px; }

/* ---------- 评价 ---------- */
.ys-reviews{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ys-review{
  background:#fff; border:1px solid var(--ys-line); border-radius:var(--ys-radius);
  padding:24px;
}
.ys-stars{ display:flex; gap:3px; margin-bottom:12px; }
.ys-stars svg{ width:15px; height:15px; fill:#f5a623; stroke:none; }
.ys-review p{ font-size:14.5px; line-height:1.7; color:#41474f; margin:0 0 14px; }
.ys-review footer{ font-size:13px; color:var(--ys-muted); }
.ys-review footer b{ color:var(--ys-ink); font-weight:600; }

/* ---------- FAQ ---------- */
.ys-faq{ max-width:860px; margin:0 auto; }
.ys-faq details{
  border-bottom:1px solid var(--ys-line); padding:4px 0;
}
.ys-faq summary{
  list-style:none; cursor:pointer; padding:16px 40px 16px 0; position:relative;
  font-size:16px; font-weight:600; color:var(--ys-ink);
}
.ys-faq summary::-webkit-details-marker{ display:none; }
.ys-faq summary::after{
  content:"+"; position:absolute; right:4px; top:14px;
  font-size:22px; font-weight:300; color:var(--ys-muted); line-height:1;
  transition:.2s;
}
.ys-faq details[open] summary::after{ content:"–"; color:var(--ys-accent); }
.ys-faq .ys-answer{ padding:0 40px 18px 0; font-size:14.5px; color:var(--ys-muted); line-height:1.75; }

/* ---------- 深色 CTA ---------- */
.ys-band{
  background:var(--ys-ink); color:#fff;
  padding:64px 0;
}
.ys-band .ys-wrap{
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.ys-band h2{
  font-size:clamp(24px,2.8vw,34px) !important; color:#fff !important;
  line-height:1.2 !important; margin:0 0 12px !important; letter-spacing:-.02em;
}
.ys-band p{ color:#a9aeb7; font-size:15px; margin:0; max-width:460px; }
.ys-form{ display:flex; gap:10px; flex-wrap:wrap; }
.ys-form input[type=email]{
  flex:1 1 240px; height:52px; border-radius:10px; border:1px solid #33373f;
  background:#1c1f25; color:#fff; padding:0 16px; font-size:15px;
}
.ys-form input[type=email]::placeholder{ color:#6b717b; }
.ys-form button{
  height:52px; padding:0 24px; border-radius:10px; border:none; cursor:pointer;
  background:var(--ys-accent); color:#fff; font-size:15px; font-weight:600;
  transition:.18s;
}
.ys-form button:hover{ background:var(--ys-accent-dark); }
.ys-form small{ display:block; width:100%; color:#757b85; font-size:12px; margin-top:10px; }

/* ---------- 页脚信任 ---------- */
.ys-foottrust{
  border-top:1px solid var(--ys-line); padding:26px 0; background:#fff;
}
.ys-foottrust .ys-wrap{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.ys-pay{ display:flex; gap:8px; flex-wrap:wrap; }
.ys-pay span{
  font-size:11.5px; font-weight:600; color:var(--ys-ink-2);
  border:1px solid var(--ys-line); border-radius:6px; padding:5px 10px; background:#fff;
}
.ys-foottrust .ys-note{ font-size:12px; color:var(--ys-muted); }

/* ============================================================
   Shop-Archiv
   ============================================================ */
.ys-page .woocommerce-products-header{ margin-bottom:8px; }
.ys-page .woocommerce-products-header__title{
  font-size:clamp(28px,3.2vw,40px) !important; letter-spacing:-.02em; font-weight:700 !important;
}
.ys-page .woocommerce-result-count{ font-size:13px; color:var(--ys-muted); }
.ys-page .woocommerce-ordering select{
  height:42px; border-radius:9px; border:1px solid var(--ys-line);
  padding:0 34px 0 12px; font-size:13.5px; background:#fff;
}
.ys-page .woocommerce-breadcrumb{ font-size:12.5px; color:var(--ys-muted); margin-bottom:18px; }

/* ============================================================
   Produktseite
   ============================================================ */
.ys-sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:9999;
  background:rgba(255,255,255,.97); backdrop-filter:blur(10px);
  border-top:1px solid var(--ys-line);
  padding:10px 16px; display:none;
  align-items:center; justify-content:space-between; gap:14px;
  box-shadow:0 -6px 24px rgba(16,20,28,.08);
}
.ys-sticky .ys-sticky-price{ font-size:15px; font-weight:700; line-height:1.2; }
.ys-sticky .ys-sticky-price small{ display:block; font-size:11px; color:var(--ys-muted); font-weight:400; }
.ys-sticky .ys-sticky-btn{
  background:var(--ys-ink); color:#fff !important; text-decoration:none !important;
  height:44px; padding:0 22px; border-radius:9px; font-size:14px; font-weight:600;
  display:inline-flex; align-items:center;
}
.ys-pdp-trust{
  display:grid; gap:8px; margin-top:18px; padding-top:18px;
  border-top:1px solid var(--ys-line);
}
.ys-pdp-trust div{ display:flex; align-items:center; gap:9px; font-size:13px; color:#41474f; }
.ys-pdp-trust svg{ width:15px; height:15px; stroke:#12805c; fill:none; stroke-width:2.2; }

.single-product .summary .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--ys-ink) !important; font-size:30px !important; font-weight:700 !important;
}
.woocommerce div.product p.price del{ font-size:16px !important; color:var(--ys-muted) !important; font-weight:400 !important; }
.woocommerce div.product p.price ins{ text-decoration:none; }
.single-product div.product .product_title{
  font-size:clamp(24px,2.6vw,34px) !important; line-height:1.2 !important; letter-spacing:-.02em;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order{
  background:var(--ys-ink) !important; color:#fff !important;
  border-radius:10px !important; font-weight:600 !important;
  height:52px; font-size:15px !important; padding:0 28px !important;
}
.woocommerce div.product form.cart .button:hover{ background:var(--ys-accent) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before{ border-color:var(--ys-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:var(--ys-soft) !important; border-color:var(--ys-line) !important; border-radius:8px 8px 0 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{ background:#fff !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a{ font-size:13.5px !important; font-weight:600 !important; }
.woocommerce div.product div.images img{ border-radius:14px; }
.ys-legal-note{ font-size:12.5px; color:var(--ys-muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1100px){
  .ys-hero .ys-wrap{ gap:36px; }
  .woocommerce ul.products{ grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width:980px){
  .ys-section{ padding:52px 0; }
  .ys-hero .ys-wrap{ grid-template-columns:1fr; padding-top:40px; padding-bottom:44px; gap:34px; }
  .ys-hero-media{ order:-1; }
  .ys-hero-media .ys-shot{ padding:18px; }
  .ys-float--tl{ left:8px; top:8px; }
  .ys-float--br{ right:8px; bottom:10px; }
  .ys-trust .ys-wrap{ grid-template-columns:repeat(2,1fr); gap:14px 0; }
  .ys-trust-item{ padding:6px 12px; }
  .ys-trust-item:nth-child(odd){ border-left:none; padding-left:0; }
  .ys-cats{ grid-template-columns:1fr 1fr; }
  .ys-feats{ grid-template-columns:1fr; }
  .ys-story{ grid-template-columns:1fr; gap:32px; }
  .ys-reviews{ grid-template-columns:1fr; }
  .ys-band .ys-wrap{ grid-template-columns:1fr; gap:26px; }
  .woocommerce ul.products{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:640px){
  .ys-wrap{ padding:0 16px; }
  .ys-announce .ys-wrap{ gap:14px; font-size:12px; }
  .ys-announce .ys-hide-sm{ display:none; }
  .ys-section{ padding:42px 0; }
  .ys-hero .ys-wrap{ padding-top:26px; }
  .ys-hero h1{ font-size:28px !important; }
  .ys-hero .ys-lead{ font-size:15.5px; }
  .ys-cta-row .ys-btn{ width:100%; }
  .ys-cats{ grid-template-columns:1fr; }
  .woocommerce ul.products{ grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{ font-size:13px !important; min-height:56px; padding:11px 12px 3px !important; }
  .woocommerce ul.products li.product .price{ font-size:15px !important; padding:0 12px 10px !important; }
  .woocommerce ul.products li.product .button{ margin:0 12px 12px !important; width:calc(100% - 24px); height:40px; font-size:12.5px !important; }
  .woocommerce ul.products li.product img{ padding:10px; }
  .ys-price-line .ys-amount{ font-size:26px; }
  .ys-sticky{ display:flex; }
  .ys-compare .ys-sub, .ys-specs .ys-sub{ text-align:left !important; }
  .ys-foottrust .ys-wrap{ justify-content:flex-start; }
}

/* Galerie-Thumbnails vereinheitlichen */
.woocommerce div.product div.images .flex-control-thumbs{ display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:12px; }
.woocommerce div.product div.images .flex-control-thumbs li{ width:100% !important; float:none !important; margin:0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img{
  aspect-ratio:1/1; object-fit:contain; background:#fff;
  border:1px solid var(--ys-line); border-radius:8px; padding:6px; opacity:.85;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{ border-color:var(--ys-ink); opacity:1; }

/* ---------- Archiv-Feinschliff ---------- */
.woocommerce ul.products{ margin-top:8px !important; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering{ margin-bottom:22px !important; }
.woocommerce ul.products li.product .star-rating{ display:none !important; }
.woocommerce ul.products li.product .woocommerce-loop-category__title{ font-size:15px !important; }

/* Klarna-Zeile: kein Umbruch im Betrag */
.ys-finance b{ white-space:nowrap; }

/* Galerie-Thumbnails flexibel */
.woocommerce div.product div.images .flex-control-thumbs{ grid-template-columns:repeat(auto-fill,minmax(78px,1fr)) !important; }

@media (max-width:640px){
  .ys-trust .ys-wrap{ grid-template-columns:1fr !important; gap:0 !important; }
  .ys-trust-item{ border-left:none !important; border-top:1px solid var(--ys-line); padding:12px 0 !important; }
  .ys-trust-item:first-child{ border-top:none; }
  .woocommerce div.product div.images .flex-control-thumbs{ grid-template-columns:repeat(4,1fr) !important; }
}

/* ============================================================
   NACHTRAG · Kaufberatung nach Wohnsituation + Shop-Archiv
   ============================================================ */

/* ---------- Hero: Ratenblock entfernt ---------- */
.ys-price-line{ margin:0 0 22px; }

/* ---------- Kaufberatung (4 Zeilen, keine Karten) ---------- */
.ys-guide{ display:flex; flex-direction:column; border-top:1px solid var(--ys-line); }
.ys-guide-row{
  display:grid; grid-template-columns:1.15fr .8fr 1.85fr 20px;
  gap:22px; align-items:center;
  padding:20px 10px; border-bottom:1px solid var(--ys-line);
  text-decoration:none !important; color:inherit; transition:background .15s ease;
}
.ys-guide-row:hover{ background:#fff; }
.ys-guide-row b{ font-size:14.5px; font-weight:600; letter-spacing:-.01em; line-height:1.35; }
.ys-guide-pick{ font-size:14px; font-weight:600; color:var(--ys-ink); white-space:nowrap; }
.ys-guide-why{ font-size:13.5px; line-height:1.55; color:var(--ys-muted); }
.ys-guide-arrow{ width:18px; height:18px; fill:none; stroke:var(--ys-muted); stroke-width:1.8; stroke-linecap:round; }
.ys-guide-row:hover .ys-guide-arrow{ stroke:var(--ys-accent); }

/* ---------- Band: Kontakt statt Formular ---------- */
.ys-contact{ display:flex; flex-direction:column; gap:10px; }
.ys-contact a{
  font-size:17px; font-weight:600; color:#fff !important; text-decoration:none !important;
  border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:3px; align-self:flex-start;
}
.ys-contact a:hover{ border-color:#fff; }
.ys-contact small{ font-size:12.5px; color:#8f959f; }

/* ---------- Shop-Archiv: Kopf ---------- */
.ys-shoplead{ margin:0 0 26px; }
.ys-shoplead p{ font-size:14.5px; color:var(--ys-muted); margin:0 0 16px; max-width:640px; }
.ys-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.ys-chip{
  display:inline-flex; align-items:center; gap:7px;
  padding:7px 13px; border:1px solid var(--ys-line); border-radius:999px;
  background:#fff; font-size:13px; color:var(--ys-ink-2); text-decoration:none !important;
  transition:.15s ease;
}
.ys-chip span{ font-size:11px; color:#a2a7b0; }
.ys-chip:hover{ border-color:var(--ys-ink); }
.ys-chip.is-on{ background:var(--ys-ink); border-color:var(--ys-ink); color:#fff; }
.ys-chip.is-on span{ color:rgba(255,255,255,.55); }

/* ---------- Produktkarte: ein Satz Unterschied ---------- */
.woocommerce ul.products li.product .ys-hint{
  margin:0 0 10px; padding:0 14px;
  font-size:12.5px; line-height:1.5; color:var(--ys-muted);
}
.woocommerce ul.products li.product .ast-woo-product-category{ display:none; }

@media (max-width:780px){
  .ys-guide-row{ grid-template-columns:1fr 18px; gap:5px 14px; padding:17px 4px; }
  .ys-guide-pick{ grid-column:1; font-size:13px; color:var(--ys-accent); }
  .ys-guide-why{ grid-column:1/-1; font-size:12.5px; }
  .ys-guide-arrow{ grid-column:2; grid-row:1; }
}
@media (max-width:640px){
  .woocommerce ul.products li.product .ys-hint{ padding:0 12px; font-size:11.5px; margin-bottom:8px; }
  .ys-shoplead p{ font-size:13.5px; }
}

.woocommerce ul.products li.product .astra-shop-summary-wrap .woocommerce-loop-product__title{ display:none !important; }

/* ---------- Fusszeile ---------- */
.ast-footer-copyright{ display:none !important; }
.ys-bottom{ background:#fff; padding:16px 0 22px; }
.ys-bottom .ys-wrap{
  display:flex; justify-content:space-between; align-items:center;
  gap:14px; flex-wrap:wrap; font-size:12.5px; color:var(--ys-muted);
}
.ys-bottom nav{ display:flex; gap:16px; flex-wrap:wrap; }
.ys-bottom a{ color:var(--ys-muted); text-decoration:none !important; }
.ys-bottom a:hover{ color:var(--ys-ink); }

/* ============================================================
   Rechtstexte
   ============================================================ */
body.ys-legal-body .entry-header{ display:none; }
body.ys-legal-body .site-content{ padding-top:0; padding-bottom:0; }

.ys-legal{ padding:56px 0 80px; }
.ys-legal-wrap{ max-width:760px; }
.ys-legal h1{
  font-size:clamp(27px,3.3vw,36px); line-height:1.15; letter-spacing:-.02em;
  font-weight:700; margin:0 0 10px; color:var(--ys-ink);
}
.ys-legal .ys-legal-sub{ font-size:13px; color:var(--ys-muted); margin:0 0 38px; }
.ys-legal h2{
  font-size:18px; font-weight:600; letter-spacing:-.01em; line-height:1.35;
  margin:38px 0 12px; padding-top:22px; border-top:1px solid var(--ys-line); color:var(--ys-ink);
}
.ys-legal h2:first-of-type{ border-top:none; padding-top:0; margin-top:0; }
.ys-legal h3{ font-size:15px; font-weight:600; margin:24px 0 8px; color:var(--ys-ink); }
.ys-legal p, .ys-legal li{ font-size:14.5px; line-height:1.78; color:#3d424a; }
.ys-legal p{ margin:0 0 14px; }
.ys-legal ul, .ys-legal ol{ margin:0 0 16px; padding-left:22px; }
.ys-legal li{ margin:0 0 5px; }
.ys-legal address{
  font-style:normal; font-size:14.5px; line-height:1.72; margin:0 0 16px;
  padding:15px 18px; background:var(--ys-soft); border-radius:10px; border:1px solid var(--ys-line);
}
.ys-legal a{ color:var(--ys-ink); text-decoration:underline; text-underline-offset:2px; text-decoration-thickness:1px; }
.ys-legal a:hover{ color:var(--ys-accent); }
.ys-legal strong{ font-weight:600; color:var(--ys-ink); }
.ys-legal small{ font-size:12.5px; color:var(--ys-muted); }
.ys-legal-table{ width:100%; border-collapse:collapse; margin:0 0 18px; font-size:14px; }
.ys-legal-table th, .ys-legal-table td{
  text-align:left; vertical-align:top; padding:11px 14px 11px 0;
  border-bottom:1px solid var(--ys-line); line-height:1.6;
}
.ys-legal-table th{ font-weight:600; color:var(--ys-ink); width:42%; }
.ys-legal-table td{ color:#3d424a; }
.ys-form-box{
  border:1px solid var(--ys-line); border-radius:12px; padding:22px 24px;
  margin:0 0 20px; background:#fff;
}
.ys-form-box p{ font-size:14px; line-height:2; margin:0 0 6px; color:#3d424a; }
@media (max-width:640px){
  .ys-legal{ padding:30px 0 52px; }
  .ys-legal h2{ margin-top:30px; padding-top:18px; font-size:17px; }
  .ys-legal p, .ys-legal li, .ys-legal address{ font-size:14px; }
  .ys-legal-table th{ width:46%; font-size:13px; }
  .ys-legal-table td{ font-size:13px; }
  .ys-form-box{ padding:16px 16px; }
}

/* ---------- PDP Beschreibung ---------- */
.woocommerce div.product .woocommerce-tabs .panel h3{
  font-size:17px; font-weight:600; letter-spacing:-.01em;
  margin:32px 0 8px; color:var(--ys-ink);
}
.woocommerce div.product .woocommerce-tabs .panel h3:first-child{ margin-top:0; }
.woocommerce div.product .woocommerce-tabs .panel p{ font-size:14.5px; line-height:1.78; color:#3d424a; }
.woocommerce div.product .woocommerce-tabs .panel ul{ margin:0 0 16px; padding-left:20px; }
.woocommerce div.product .woocommerce-tabs .panel li{ font-size:14px; line-height:1.85; color:#3d424a; }
.ys-pdp-note{ font-size:12.5px !important; color:var(--ys-muted) !important; margin:16px 0 0 !important; }

@media (max-width:640px){
  body.single-product{ padding-bottom:78px; }
}
