/* Premium Brands Page Aesthetic styles */
.card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(197, 168, 128, 0.18);
    box-shadow: 0 8px 24px rgba(26, 59, 50, 0.025);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 59, 50, 0.08);
    border-color: rgba(140, 158, 94, 0.35);
}

.brand-card {
    padding: 24px 16px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: var(--transition-smooth);
}

.brand-logo-wrapper {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(253, 251, 247, 1) 0%, rgba(26, 59, 50, 0.01) 100%);
    border: 1px solid rgba(26, 59, 50, 0.03);
    transition: var(--transition-smooth);
}

.card-premium:hover .brand-logo-wrapper {
    background: radial-gradient(circle, rgba(253, 251, 247, 1) 0%, rgba(140, 158, 94, 0.05) 100%);
    border-color: rgba(140, 158, 94, 0.15);
    transform: scale(1.05);
}

.brand-logo-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover .brand-logo-wrapper img {
    transform: scale(1.06);
}

.brand-name {
    color: var(--primary-emerald);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    text-align: center;
    transition: var(--transition-smooth);
}

.card-premium:hover .brand-name {
    color: var(--accent-green);
}

/* Luxury Search Styling */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-emerald);
    font-size: 16px;
    opacity: 0.7;
    pointer-events: none;
    transition: var(--transition-smooth);
}

#brandSearch {
    height: 52px;
    width: 100%;
    border-radius: 30px !important;
    padding: 0 20px 0 50px !important;
    border: 1px solid rgba(26, 59, 50, 0.15) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(26, 59, 50, 0.025) !important;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-emerald) !important;
    transition: var(--transition-smooth);
}

#brandSearch::placeholder {
    color: rgba(26, 59, 50, 0.4) !important;
    font-weight: 500;
}

#brandSearch:focus {
    border-color: var(--accent-green) !important;
    box-shadow: 0 10px 30px rgba(26, 59, 50, 0.08) !important;
    background: #ffffff !important;
    outline: none;
}

.search-wrapper:focus-within .search-icon {
    color: var(--accent-green);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

/* Page Title and spacing overrides */
.page-title {
    padding-top: 130px !important;
    padding-bottom: 25px !important;
}

@media (max-width: 991px) {
    .page-title {
        padding-top: 100px !important;
        padding-bottom: 15px !important;
    }
}

/* Responsive adjustments for mobile viewports */
@media (max-width: 767px) {
    .page-title {
        padding-top: 35px !important;
        padding-bottom: 10px !important;
    }

    .card-premium {
        border-radius: 16px;
    }

    .brand-card {
        padding: 12px 10px;
    }

    .brand-logo-wrapper {
        height: 90px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .brand-logo-wrapper img {
        max-width: 85%;
        max-height: 85%;
    }

    .brand-name {
        font-size: 12.5px !important;
        min-height: 34px;
    }
}
