/* ─── schwytzen.de – Haupt-CSS ─────────────────────────────────────── */

:root {
    --szw-green:        #1D9E75;
    --szw-green-dark:   #0F6E56;
    --szw-green-light:  #E1F5EE;
    --szw-green-mid:    #9FE1CB;
    --szw-text:         #1a1a1a;
    --szw-muted:        #666;
    --szw-hint:         #999;
    --szw-border:       rgba(0,0,0,0.1);
    --szw-bg:           #fff;
    --szw-bg-soft:      #f7f7f5;
    --szw-radius:       10px;
    --szw-radius-sm:    6px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────── */
.szw-breadcrumb {
    font-size: 12px;
    color: var(--szw-hint);
    padding: 10px 0;
    margin-bottom: 20px;
}
.szw-breadcrumb a { color: var(--szw-green); text-decoration: none; }

/* ─── Kategorie-Badge ────────────────────────────────────────────── */
.szw-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    background: var(--szw-green-light);
    color: #085041;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

/* ─── Post-Meta ──────────────────────────────────────────────────── */
.szw-post-meta {
    font-size: 13px;
    color: var(--szw-hint);
    margin-bottom: 28px;
}

/* ─── Produkt-Box (oben, groß) ───────────────────────────────────── */
.szw-product-box {
    border: 1px solid var(--szw-border);
    border-radius: var(--szw-radius);
    overflow: hidden;
    margin-bottom: 32px;
}
.szw-product-img {
    background: var(--szw-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-bottom: 1px solid var(--szw-border);
}
.szw-product-img img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
    padding: 20px;
}
.szw-product-img svg {
    opacity: 0.15;
    width: 72px;
    height: 72px;
    color: var(--szw-muted);
}
.szw-product-info {
    padding: 20px;
}
.szw-product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--szw-text);
    margin-bottom: 2px;
}
.szw-product-brand {
    font-size: 13px;
    color: var(--szw-muted);
    margin-bottom: 14px;
}
.szw-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.szw-meta-pill {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--szw-bg-soft);
    color: var(--szw-muted);
    border: 1px solid var(--szw-border);
}
.szw-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.szw-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--szw-text);
}
.szw-price-note {
    font-size: 11px;
    color: var(--szw-hint);
    margin-top: 2px;
}

/* ─── Affiliate-Buttons ──────────────────────────────────────────── */
.szw-btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--szw-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--szw-radius-sm);
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}
.szw-btn-amazon:hover { background: var(--szw-green-dark); color: #fff; }
.szw-btn-amazon svg { width: 14px; height: 14px; stroke: #fff; fill: none; flex-shrink: 0; }

/* ─── Inline Affiliate-Block (im Text) ───────────────────────────── */
.szw-inline-product {
    border: 1px solid var(--szw-border);
    border-radius: var(--szw-radius);
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 28px 0;
    background: var(--szw-bg);
}
.szw-inline-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--szw-bg-soft);
    border-radius: var(--szw-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.szw-inline-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.szw-inline-thumb svg { opacity: 0.2; width: 28px; height: 28px; color: var(--szw-muted); }
.szw-inline-info { flex: 1; min-width: 0; }
.szw-inline-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--szw-text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.szw-inline-price {
    font-size: 13px;
    color: var(--szw-muted);
    margin-bottom: 10px;
}
.szw-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--szw-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--szw-radius-sm);
    text-decoration: none;
    transition: background 0.15s;
}
.szw-btn-sm:hover { background: var(--szw-green-dark); color: #fff; }

/* ─── Rating-Widget ──────────────────────────────────────────────── */
.szw-rating-box {
    border: 1px solid var(--szw-border);
    border-radius: var(--szw-radius);
    overflow: hidden;
    margin: 32px 0;
}
.szw-rating-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--szw-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.szw-rating-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--szw-text);
}
.szw-total-score {
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.szw-total-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--szw-green-dark);
    line-height: 1;
}
.szw-total-max {
    font-size: 14px;
    color: var(--szw-hint);
}
.szw-criteria {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.szw-criterion {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    align-items: center;
    gap: 12px;
}
.szw-crit-label {
    font-size: 13px;
    color: var(--szw-muted);
}
.szw-bar-wrap {
    height: 5px;
    background: var(--szw-bg-soft);
    border-radius: 3px;
    overflow: hidden;
}
.szw-bar {
    height: 100%;
    background: var(--szw-green);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.szw-crit-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--szw-green-dark);
    text-align: right;
}
.szw-verdict {
    margin: 0 20px 20px;
    padding: 14px 16px;
    background: var(--szw-green-light);
    border-radius: var(--szw-radius-sm);
}
.szw-verdict-label {
    font-size: 11px;
    font-weight: 700;
    color: #085041;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.szw-verdict-text {
    font-size: 13px;
    color: #0F6E56;
    line-height: 1.65;
}

/* ─── Footer Affiliate-Hinweis ───────────────────────────────────── */
.szw-footer-affiliate {
    font-size: 12px;
    color: var(--szw-hint);
    line-height: 1.65;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--szw-border);
    margin-top: 40px;
}

/* ─── Startseite: Top-Picks ──────────────────────────────────────── */
.szw-top-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.szw-pick-card {
    border: 1px solid var(--szw-border);
    border-radius: var(--szw-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.15s, transform 0.15s;
}
.szw-pick-card:hover { border-color: var(--szw-green); transform: translateY(-2px); }
.szw-pick-card.featured { border: 2px solid var(--szw-green); }
.szw-pick-img {
    background: var(--szw-bg-soft);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--szw-border);
    overflow: hidden;
}
.szw-pick-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.szw-pick-img svg { opacity: 0.15; width: 48px; height: 48px; color: var(--szw-muted); }
.szw-pick-body { padding: 14px; }
.szw-pick-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--szw-text);
    margin-bottom: 2px;
    line-height: 1.3;
}
.szw-pick-brand {
    font-size: 12px;
    color: var(--szw-muted);
    margin-bottom: 10px;
}
.szw-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.szw-score-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--szw-green-dark);
}
.szw-score-max { font-size: 12px; color: var(--szw-hint); }
.szw-score-bar-wrap {
    flex: 1;
    height: 4px;
    background: var(--szw-bg-soft);
    border-radius: 2px;
    overflow: hidden;
}
.szw-score-bar { height: 100%; background: var(--szw-green); border-radius: 2px; }

/* ─── Startseite: Alle Beiträge ──────────────────────────────────── */
.szw-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--szw-hint);
    margin-bottom: 16px;
}
.szw-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.szw-filter-btn {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--szw-border);
    background: var(--szw-bg);
    color: var(--szw-muted);
    cursor: pointer;
    transition: all 0.15s;
}
.szw-filter-btn.active,
.szw-filter-btn:hover {
    background: var(--szw-green);
    color: #fff;
    border-color: var(--szw-green);
}
.szw-all-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.szw-review-card {
    border: 1px solid var(--szw-border);
    border-radius: var(--szw-radius);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s;
}
.szw-review-card:hover { border-color: var(--szw-green); }
.szw-review-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--szw-bg-soft);
    border-radius: var(--szw-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.szw-review-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.szw-review-thumb svg { opacity: 0.2; width: 24px; height: 24px; color: var(--szw-muted); }
.szw-review-info { flex: 1; min-width: 0; }
.szw-review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--szw-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.szw-review-brand { font-size: 12px; color: var(--szw-muted); margin-bottom: 6px; }
.szw-mini-score { display: flex; align-items: center; gap: 6px; }
.szw-mini-num { font-size: 15px; font-weight: 700; color: var(--szw-green-dark); }
.szw-dots { display: flex; gap: 3px; }
.szw-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--szw-bg-soft);
    border: 1px solid var(--szw-border);
}
.szw-dot.filled { background: var(--szw-green); border-color: var(--szw-green); }
.szw-dot.half { background: var(--szw-green-mid); border-color: var(--szw-green-mid); }
.szw-review-meta { font-size: 11px; color: var(--szw-hint); margin-top: 4px; }

/* ─── Responsive / Mobile ────────────────────────────────────────── */
@media (max-width: 680px) {
    .szw-top-picks { grid-template-columns: 1fr 1fr; }
    .szw-all-grid  { grid-template-columns: 1fr; }
    .szw-criterion { grid-template-columns: 110px 1fr 36px; }
    .szw-price-row { flex-direction: column; align-items: flex-start; }
    .szw-btn-amazon { width: 100%; justify-content: center; }
    .szw-rating-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 420px) {
    .szw-top-picks { grid-template-columns: 1fr; }
    .szw-inline-product { flex-direction: column; align-items: flex-start; }
    .szw-inline-thumb { width: 100%; height: 120px; }
}
