/* Amazon ADS Widget Styles */

.aaw-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.aaw-product {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aaw-product:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.aaw-product a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.aaw-product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.aaw-product h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
}

.aaw-product .price {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #e67e22;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .aaw-product {
        padding: 12px;
    }
    
    .aaw-product img {
        height: 120px;
    }
    
    .aaw-product h4 {
        font-size: 13px;
    }
    
    .aaw-product .price {
        font-size: 14px;
    }
}

/* Admin styles */
.aaw-admin-notice {
    background: #fff;
    border-left: 4px solid #0073aa;
    padding: 12px;
    margin: 20px 0;
}

.aaw-admin-notice h3 {
    margin: 0 0 8px 0;
    color: #0073aa;
}

.aaw-admin-notice p {
    margin: 0;
    color: #666;
} 

/* Slider/Carousel Styles */
.aaw-products-slider {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}
.aaw-product-slide {
    flex: 0 0 calc(100% / var(--aaw-visible, 1));
    min-width: 0;
    transition: opacity 0.3s;
    display: none;
}
.aaw-product-slide:first-child {
    margin-left: 0;
}
.aaw-slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.aaw-slider-nav button {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.aaw-slider-nav button:hover {
    background: #005177;
}
@media (max-width: 768px) {
    .aaw-products-slider {
        gap: 8px;
    }
    .aaw-slider-nav button {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
} 