/* ===== Base / page chrome ===== */

body {
    background: #fafafa;
    color: #1f2937;
}


/* ===== Site header ===== */

.site-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.site-header__accent {
    height: 6px;
    background: #1f2937;
}

.site-header__title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-header__title-link {
    color: #1f2937;
    text-decoration: none;
}

.site-header__title-link:hover {
    color: #1f2937;
}

.site-header__nav {
    display: flex;
    gap: 1.5rem;
}

.site-header__link {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-header__link:hover {
    color: #1f2937;
}


/* ===== Utilities ===== */

.table-col-id {
    width: 80px;
}

.table-col-actions {
    width: 160px;
}

.text-prewrap {
    white-space: pre-wrap;
}

.image-preview {
    max-width: 240px;
    max-height: 240px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.image-placeholder {
    width: 100%;
    min-height: 220px;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
}


/* ===== Blog post body ===== */

.blog-body h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.blog-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.blog-body p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-body > :first-child {
    margin-top: 0;
}

/* ===== Section editor (blog edit page) ===== */

.section-box {
    background: #f9fafb;
}

.section-box [data-role="heading"] {
    font-weight: 600;
}

.section-box [data-role="body"] {
    font-family: var(--bs-font-monospace, monospace);
    font-size: 0.875rem;
}

/* ===== Affiliate product cards ===== */

.amazon-list {
    margin: 2rem auto;
    max-width: 34rem;
}

.amazon-entry {
    display: block;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.amazon-entry:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.amazon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.amazon-ad-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    padding: 0 0.3rem;
}

.amazon-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.amazon-main-image {
    margin-bottom: 1rem;
}

.amazon-main-image img {
    max-width: 180px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.amazon-title-price {
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.amazon-features {
    list-style: disc;
    display: block;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    color: #6b4f3a;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 auto 1.25rem;
    padding-left: 1.25rem;
}

.amazon-features li {
    margin-bottom: 0.25rem;
}

.amazon-btn {
    display: inline-block;
    background: #ffc107;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.6rem 1.5rem;
    border-radius: 0.35rem;
    transition: background 0.15s ease;
}

.amazon-entry:hover .amazon-btn {
    background: #e0a800;
}

/* Catalog thumbnail (admin Produkte library) */
.product-card__image {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex: 0 0 auto;
}
