/* =============================================
   Orchideenhobby Amazon Affiliate – Frontend CSS
   Conversion-optimiert, orchid-themed
   ============================================= */

:root {
    --oha-green:      #2d7a4f;
    --oha-green-dark: #1f5a38;
    --oha-green-light:#e8f5ee;
    --oha-orange:     #e67e22;
    --oha-orange-lt:  #fdf3e7;
    --oha-prime:      #00a8e0;
    --oha-star:       #f59e0b;
    --oha-text:       #1a1a1a;
    --oha-muted:      #666;
    --oha-border:     #e2e8f0;
    --oha-radius:     10px;
    --oha-shadow:     0 2px 12px rgba(0,0,0,.08);
    --oha-shadow-hov: 0 6px 24px rgba(0,0,0,.14);
}

/* === WRAP === */
.oha-wrap {
    margin: 2em 0;
    font-family: inherit;
}

.oha-headline {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--oha-green-dark) !important;
    margin-bottom: 1rem !important;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--oha-green-light);
}

/* === GRID LAYOUT === */
.oha-layout-grid .oha-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* === CARD === */
.oha-card {
    background: #fff;
    border: 1px solid var(--oha-border);
    border-radius: var(--oha-radius);
    box-shadow: var(--oha-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.oha-card:hover {
    box-shadow: var(--oha-shadow-hov);
    transform: translateY(-2px);
}

.oha-img-link {
    display: block;
    background: #f9f9f9;
    padding: 1rem;
    text-align: center;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oha-img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.oha-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.oha-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--oha-text) !important;
    text-decoration: none !important;
    line-height: 1.4;
    display: block;
}

.oha-title:hover { color: var(--oha-green) !important; }

/* === STARS === */
.oha-stars {
    color: var(--oha-star);
    font-size: 1rem;
    letter-spacing: 1px;
}

.oha-rating {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: var(--oha-muted);
}

.oha-rating-count { color: var(--oha-muted); }

/* === FEATURES === */
.oha-features {
    margin: 0;
    padding: 0 0 0 1rem;
    font-size: .82rem;
    color: var(--oha-muted);
    line-height: 1.5;
    list-style: disc;
}

/* === PRICE === */
.oha-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oha-text);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.oha-price-lg {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--oha-text);
}

.oha-prime {
    font-size: .72rem;
    font-weight: 600;
    color: #fff;
    background: var(--oha-prime);
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

/* === BUTTONS === */
.oha-btn {
    display: inline-block;
    background: var(--oha-orange);
    color: #fff !important;
    text-decoration: none !important;
    padding: .55rem 1.1rem;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
    transition: background .18s, transform .15s;
    cursor: pointer;
    border: none;
}

.oha-btn:hover {
    background: #c96b18 !important;
    transform: translateY(-1px);
    color: #fff !important;
}

.oha-btn-lg {
    padding: .75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
}

.oha-btn-sm {
    padding: .4rem .85rem;
    font-size: .82rem;
}

/* === SINGLE LAYOUT === */
.oha-layout-single .oha-products { display: block; }

.oha-single {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border: 2px solid var(--oha-green-light);
    border-left: 5px solid var(--oha-green);
    border-radius: var(--oha-radius);
    padding: 1.25rem;
    box-shadow: var(--oha-shadow);
    align-items: flex-start;
}

.oha-single-img {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    padding: .75rem;
}

.oha-single-img .oha-img {
    max-height: 150px;
    max-width: 150px;
}

.oha-single-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.oha-single-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

/* === COMPARISON LAYOUT === */
.oha-layout-comparison .oha-products {
    border: 1px solid var(--oha-border);
    border-radius: var(--oha-radius);
    overflow: hidden;
    box-shadow: var(--oha-shadow);
}

.oha-compare-row {
    display: grid;
    grid-template-columns: 70px 1fr 90px 90px 100px;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--oha-border);
    transition: background .15s;
}

.oha-compare-row:hover { background: var(--oha-green-light); }
.oha-compare-row:last-child { border-bottom: none; }

.oha-compare-img a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.oha-img-sm {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.oha-compare-title a {
    font-size: .88rem;
    font-weight: 600;
    color: var(--oha-text) !important;
    text-decoration: none !important;
}

.oha-compare-title a:hover { color: var(--oha-green) !important; }

.oha-compare-rating { font-size: .85rem; color: var(--oha-muted); }
.oha-compare-price  { font-size: .95rem; font-weight: 700; }

/* === DISCLAIMER === */
.oha-disclaimer {
    font-size: .72rem !important;
    color: var(--oha-muted) !important;
    margin-top: .75rem !important;
    padding: 0 !important;
    font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .oha-layout-grid .oha-products {
        grid-template-columns: 1fr 1fr;
    }

    .oha-single {
        flex-direction: column;
    }

    .oha-single-img {
        width: 100%;
    }

    .oha-compare-row {
        grid-template-columns: 50px 1fr 70px;
    }

    .oha-compare-rating,
    .oha-compare-price { display: none; }
}

@media (max-width: 400px) {
    .oha-layout-grid .oha-products {
        grid-template-columns: 1fr;
    }
}
