/* Sellpass Public Styles */

.sellpass-product-card,
.sellpass-course-card {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.sellpass-product-image,
.sellpass-course-image {
    width: 100%;
    height: auto;
}

.sellpass-product-image img,
.sellpass-course-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sellpass-product-content,
.sellpass-course-content {
    padding: 20px;
}

.sellpass-product-title,
.sellpass-course-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 600;
}

.sellpass-product-description,
.sellpass-course-description {
    margin: 15px 0;
    color: #646970;
    line-height: 1.6;
}

.sellpass-product-price,
.sellpass-course-price {
    font-size: 28px;
    font-weight: 700;
    color: #2c7be5;
    margin: 15px 0;
}

.sellpass-course-level {
    display: inline-block;
    padding: 4px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sellpass-course-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #646970;
}

.course-price {
    font-size: 20px;
    font-weight: 700;
    color: #2c7be5;
}

.sellpass-product-button,
.sellpass-course-button {
    margin-top: 15px;
}

.sellpass-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2c7be5;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.sellpass-btn:hover {
    background: #1a5fba;
    color: #fff;
}

.sellpass-btn-primary {
    background: #2c7be5;
}

.sellpass-btn-primary:hover {
    background: #1a5fba;
}

.sellpass-btn-secondary {
    background: #6c757d;
}

.sellpass-btn-secondary:hover {
    background: #5a6268;
}

.sellpass-protected {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.sellpass-protected h3 {
    margin-top: 0;
    color: #856404;
}

.sellpass-protected p {
    color: #856404;
}

.sellpass-protected .button {
    display: inline-block;
    padding: 10px 24px;
    background: #ffc107;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 10px;
}

.sellpass-protected .button:hover {
    background: #e0a800;
    color: #000;
}

.sellpass-restricted {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.sellpass-restricted h3 {
    color: #721c24;
    margin-top: 0;
}

.sellpass-restricted p {
    color: #721c24;
}

@media (max-width: 768px) {
    .sellpass-product-title,
    .sellpass-course-title {
        font-size: 20px;
    }
    
    .sellpass-product-price {
        font-size: 24px;
    }
    
    .sellpass-course-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

