/**
 * CQ Featured Selection - Frontend Styles
 */

/* Main container */
.cq-selection {
    margin: 0 auto;
    width: 100%;
}

/* Inner container */
.cq-selection-inside {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap !important;
}

/* Image column */
.cq-selection-inside .column-image {
    flex: 0 0 auto;
    max-width: 40%;
}

.cq-selection-inside .column-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Content column */
.cq-selection-inside .column-content {
    flex: 1 1 auto;
    min-width: 0;
}

.cq-selection-inside .product-title {
    margin: 0 0 15px;
    font-size: 1.75em;
    line-height: 1.3;
    color: #321f15; 
}

.cq-selection-inside .product-title a {
    text-decoration: none;
    color: inherit;
}

.cq-selection-inside .product-title a:hover {
    opacity: 0.8;
}

.cq-selection-inside .product-description {
    margin: 0 0 20px;
    line-height: 1.6;
}

.cq-selection-inside .product-description {color: #321f15; text-align:justify;}

.cq-selection-inside .product-description p:last-child {
    margin-bottom: 0;
}

/* Discover button */
.cq-selection-inside .discover-button {
    background: #F9AD33;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 0;
    display: inline-block;
    color: #603225;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cq-selection-inside .discover-button:hover {
    opacity: 0.85;
    color: #603225;
}

/* Error message */
.cq-selection-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .cq-selection-inside {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 20px;
    }
    
    .cq-selection-inside .column-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .cq-selection-inside .column-content {
        flex: 1 1 100%;
    }
}
