/* Brands Page Specific Styles */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Brand Review Styles */
.brand-review {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.brand-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-review:hover::before {
    left: 100%;
}

.brand-review:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.brand-header h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin: 0;
    font-weight: 300;
}

.rating {
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.price-range {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    min-height: 350px;
}

.brand-image {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.product-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 40px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
}

.tequila-bottle-large {
    width: 80px;
    height: 120px;
    border: 3px solid var(--primary-gold);
    border-radius: 0 0 20px 20px;
    margin: 0 auto 20px;
    position: relative;
    animation: fill 2s ease-in-out infinite;
}

.placeholder-content p {
    color: var(--primary-gold);
    font-weight: 500;
    margin: 0;
}

.brand-details h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 400;
}

.brand-details p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.brand-details strong {
    color: var(--primary-gold);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.pros, .cons {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
}

.pros h5 {
    color: #4ade80;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.cons h5 {
    color: #f87171;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f87171;
    font-weight: bold;
}

/* Comparison Table */
.comparison-table {
    margin-top: 60px;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.comparison-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding: 20px 15px;
    text-align: left;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.comparison-table td {
    padding: 18px 15px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--primary-gold);
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.recommendation-card:hover::before {
    left: 100%;
}

.recommendation-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.recommendation-card h3 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-weight: 300;
}

.recommendation-card h4 {
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 400;
}

.recommendation-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.recommendation-card .btn {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .brand-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.brand-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-card:hover::before {
    left: 100%;
}

.brand-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
}

.brand-card h3 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 300;
}

/* Affiliate Links */
.affiliate-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.affiliate-link .btn {
    background: linear-gradient(135deg, var(--primary-gold), #B8941F);
    color: var(--dark-bg);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.affiliate-link .btn:hover {
    background: linear-gradient(135deg, #B8941F, var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Auto-generated brands section */
#auto-generated-brands {
    margin-top: 60px;
}

#auto-generated-brands .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.rating {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.brand-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    text-align: left;
}
