/**
 * Plantscount Set Contents Component
 * "Dit zit in de set" blok voor PDP
 */

.pc-set-contents {
    margin: 32px 0;
    padding: 32px;
    background: var(--pc-cream, #faf7f2);
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--pc-mist, #e8ebe8);
}

.pc-set-contents__inner {
    max-width: 900px;
    margin: 0 auto;
}

.pc-set-contents__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--pc-forest, #1a3a1a);
    margin: 0 0 24px 0;
    text-align: center;
}

.pc-set-contents__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* Set Item */
.pc-set-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--pc-white, #ffffff);
    border: 1px solid var(--pc-mist, #e8ebe8);
    border-radius: var(--radius-md, 8px);
    transition: all 0.2s ease;
}

.pc-set-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: var(--pc-sage, #7a9b7a);
}

.pc-set-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--pc-cream, #faf7f2);
    border-radius: 50%;
    color: var(--pc-primary, #89A550);
}

.pc-set-item__icon svg {
    display: block;
}

.pc-set-item__content {
    flex: 1;
    min-width: 0;
}

.pc-set-item__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--pc-charcoal, #2c2c2c);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.pc-set-item__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pc-set-item__name a:hover {
    color: var(--pc-primary, #89A550);
}

.pc-set-item__meta {
    font-size: 14px;
    color: var(--pc-sage, #7a9b7a);
    margin: 0;
    line-height: 1.5;
}

.pc-set-item__specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-set-item__specs li {
    font-size: 14px;
    color: var(--pc-charcoal, #2c2c2c);
    padding: 3px 0;
    position: relative;
    padding-left: 16px;
}

.pc-set-item__specs li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--pc-primary, #89A550);
    font-weight: bold;
}

/* Info toggle */
.pc-set-item__info-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    color: var(--pc-primary, #89A550);
    cursor: pointer;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.pc-set-item__info-toggle:hover {
    transform: scale(1.1);
}

.pc-set-item__info {
    margin-top: 12px;
    padding: 12px;
    background: var(--pc-cream, #faf7f2);
    border-left: 3px solid var(--pc-primary, #89A550);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
}

.pc-set-item__info p {
    margin: 0 0 8px 0;
}

.pc-set-item__info p:last-child {
    margin-bottom: 0;
}

.pc-set-item__info ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.pc-set-item__info ul li {
    padding: 4px 0;
}

.pc-set-item__info strong {
    color: var(--pc-forest, #1a3a1a);
}

/* Footer */
.pc-set-contents__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--pc-white, #ffffff);
    border: 1px solid var(--pc-mist, #e8ebe8);
    border-radius: var(--radius-md, 8px);
    font-size: 15px;
    font-weight: 500;
    color: var(--pc-forest, #1a3a1a);
}

.pc-set-contents__footer svg {
    flex-shrink: 0;
    color: var(--pc-primary, #89A550);
}

/* Responsive */
@media (max-width: 768px) {
    .pc-set-contents {
        padding: 24px 16px;
        margin: 32px 0;
    }

    .pc-set-contents__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .pc-set-contents__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pc-set-item {
        padding: 16px;
        gap: 12px;
    }

    .pc-set-item__icon {
        width: 40px;
        height: 40px;
    }

    .pc-set-item__icon svg {
        width: 24px;
        height: 24px;
    }

    .pc-set-item__name {
        font-size: 15px;
    }

    .pc-set-item__meta,
    .pc-set-item__specs li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pc-set-contents {
        padding: 20px 12px;
        margin: 24px -12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .pc-set-contents__footer {
        font-size: 14px;
        padding: 12px;
    }
}
