
.affiliate-presentation .affiliate-products-filter-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.affiliate-presentation .filter-controls {
    background: var(--pulsePink);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.affiliate-presentation .filter-controls h2 {
    margin: 0;
    color: #d1d1d1;
}

.affiliate-presentation .filter-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.affiliate-presentation .filter-dropdown label {
    font-weight: 500;
    color: #d1d1d1;
}

.affiliate-presentation #category-filter {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}
.affiliate-presentation #category-filter option{
    background-color: pink;
}
.affiliate-presentation .loading-indicator {
    color: #d1d1d1;
    font-style: italic;
}

.affiliate-presentation .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.affiliate-presentation .affiliate-product-card {
    background: transparent;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px pink;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliate-presentation .affiliate-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.affiliate-presentation .product-image {
    min-height: 300px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliate-presentation .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.affiliate-presentation .image-placeholder {
    color: #999;
    font-style: italic;
}

.affiliate-presentation .product-info {
    padding: 15px;
    background: transparent;
}

.affiliate-presentation .product-title {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.affiliate-presentation .product-title a {
    align-items: center;
    text-decoration: none;
    font-size: .7em !important;
    min-height: 70px;
    display: flex;
}

.affiliate-presentation .product-title a:hover {
    color: #007cba;
}

 .affiliate-presentation .product-price {
    font-size: .9em;
    font-weight: bold;
    color: pink;
    margin-bottom: 8px;
}

.affiliate-presentation .product-availability {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6em;
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
}

.affiliate-presentation .product-availability.in-stock,
.affiliate-presentation .product-availability.available {
    background: #d4edda;
    color: #155724;
}

.affiliate-presentation .product-availability.out-of-stock,
.affiliate-presentation .product-availability.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.affiliate-presentation .product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.affiliate-presentation .view-details,
.affiliate-presentation .buy-now {
    padding: 8px 0px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.affiliate-presentation .view-details {
    background: pink;
    color: white;
    flex: 1;
    text-align: center;
}

.affiliate-presentation .view-details:hover {
    background: purple;
    color: white;
}

.affiliate-presentation .buy-now {
    background: var(--pulsePink);
    color: white;
    flex: 1;
    text-align: center;
}

.affiliate-presentation .buy-now:hover {
    background: pink;
    color: white;
}

.affiliate-presentation .archive-link-card {
    margin-top: 30px;
}

.affiliate-presentation .archive-card {
    background: var(--pulsePink);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.affiliate-presentation .archive-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.affiliate-presentation .archive-content p {
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.affiliate-presentation .archive-link-btn {
    display: inline-block;
    background: white;
    color: purple;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliate-presentation .archive-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    color: #007cba;
}

.affiliate-presentation .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}
.affiliate-presentation .product-actions{
    flex-wrap: wrap;
}
.affiliate-presentation .product-actions a{
    flex-basis: 100%;
    width: 100%;
}
/* Responsive Design */
.affiliate-product-placeholder{
    display: none;
}
@media (max-width: 768px) {
    .affiliate-presentation .filter-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .affiliate-presentation .filter-dropdown {
        width: 100%;
    }
    
    .affiliate-presentation #category-filter {
        width: 100%;
    }

    
    .affiliate-presentation .product-actions {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px){
    .affiliate-presentation .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
}