/* ================================================
   MA7ALLI MODERN UI STYLES
   Based on brand_details.html, brands.html, index.html mockups
   ================================================ */

/* ================================================
   CSS VARIABLES - Design Tokens
   ================================================ */
:root {
    /* Colors */
    --m-bg: #FDFCF8;
    --m-white: #ffffff;
    --m-stone-50: #fafaf9;
    --m-stone-100: #f5f5f4;
    --m-stone-200: #e7e5e4;
    --m-stone-300: #d6d3d1;
    --m-stone-400: #a8a29e;
    --m-stone-500: #78716c;
    --m-stone-600: #57534e;
    --m-stone-700: #44403c;
    --m-stone-800: #292524;
    --m-stone-900: #1c1917;
    
    /* Brand Colors */
    --m-terracotta: #C67C4E;
    --m-olive: #5D6B35;
    --m-olive-dark: #4E5A2C;
    
    /* Typography */
    --m-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --m-font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --m-container: 72rem;
    --m-gutter: 1.5rem;
    
    /* Transitions */
    --m-transition: 0.2s ease;
    --m-transition-slow: 0.3s ease;
}

/* ================================================
   BASE STYLES
   ================================================ */
body {
    font-family: var(--m-font-sans);
    background-color: var(--m-bg);
    color: var(--m-stone-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.serif {
    font-family: var(--m-font-serif);
}

/* ================================================
   NAVIGATION - Modern Sticky Nav
   ================================================ */
.navbar-modern {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(253, 252, 248, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--m-stone-100);
}

.nav-container {
    max-width: var(--m-container);
    margin: 0 auto;
    padding: 0 var(--m-gutter);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity var(--m-transition);
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link-modern {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-stone-500);
    text-decoration: none;
    transition: color var(--m-transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--m-stone-900);
    text-decoration: none;
}

.nav-link-modern.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--m-terracotta);
    border-radius: 1px;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--m-stone-900);
    font-size: 1.375rem;
    cursor: pointer;
}

.nav-mobile-menu {
    padding: 1rem 0;
    border-top: 1px solid var(--m-stone-100);
}

.nav-mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-stone-600);
    text-decoration: none;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    color: var(--m-stone-900);
}

/* ================================================
   SECTIONS - Common Layout
   ================================================ */
.section-modern {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section-modern {
        padding: 4rem 0;
    }
}

.section-white {
    background-color: var(--m-white);
}

.section-light {
    background-color: var(--m-bg);
}

.section-container {
    max-width: var(--m-container);
    margin: 0 auto;
    padding: 0 var(--m-gutter);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-header-border {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--m-stone-200);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--m-stone-900);
    margin: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-subtitle {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--m-stone-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid var(--m-stone-200);
    background: var(--m-white);
    color: var(--m-stone-600);
    cursor: pointer;
    transition: all var(--m-transition);
}

.nav-arrow:hover {
    border-color: var(--m-stone-400);
    color: var(--m-stone-900);
}

.link-modern {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-stone-900);
    text-decoration: none;
    transition: color var(--m-transition);
}

.link-modern:hover {
    color: var(--m-terracotta);
    text-decoration: none;
}

.link-modern i {
    transition: transform var(--m-transition);
}

.link-modern:hover i {
    transform: translateX(4px);
}

/* ================================================
   HERO SECTION - Modern Design
   ================================================ */
.hero-modern {
    padding: 4rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-modern {
        padding: 6rem 0;
    }
}

.hero-container {
    max-width: var(--m-container);
    margin: 0 auto;
    padding: 0 var(--m-gutter);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    max-width: 36rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--m-stone-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-accent {
    display: block;
    color: var(--m-terracotta);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--m-stone-600);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-visual {
        justify-content: flex-end;
    }
}

.hero-visual-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 9999px;
    border: 1px solid var(--m-stone-200);
    background: var(--m-white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

@media (min-width: 1024px) {
    .hero-visual-wrapper {
        width: 400px;
        height: 400px;
    }
}

.hero-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-floating-card {
    position: absolute;
    left: -1rem;
    top: 5rem;
    background: var(--m-white);
    border: 1px solid var(--m-stone-100);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--m-olive), var(--m-olive-dark));
    color: var(--m-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--m-stone-900);
    line-height: 1;
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--m-stone-500);
}

/* ================================================
   BUTTONS - Modern Style
   ================================================ */
.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: var(--m-stone-900);
    color: var(--m-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--m-transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-modern-primary:hover {
    background: var(--m-stone-800);
    color: var(--m-white);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: var(--m-white);
    color: var(--m-stone-700);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--m-stone-200);
    cursor: pointer;
    transition: all var(--m-transition);
}

.btn-modern-outline:hover {
    background: var(--m-stone-50);
    color: var(--m-stone-900);
    text-decoration: none;
}

.btn-modern-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    background: var(--m-terracotta);
    color: var(--m-white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--m-transition);
    box-shadow: 0 10px 15px -3px rgba(198, 124, 78, 0.3);
}

.btn-modern-cta:hover {
    background: #B06A3F;
    color: var(--m-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ================================================
   CATEGORY CARDS - Grid & Cards
   ================================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card-modern {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--m-stone-50);
    border: 1px solid var(--m-stone-100);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--m-transition);
}

.category-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--m-stone-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.category-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--m-white);
    color: var(--m-stone-900);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.category-card-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--m-stone-900);
    margin: 0 0 0.5rem 0;
}

.category-card-description {
    font-size: 0.875rem;
    color: var(--m-stone-500);
    margin: 0;
    line-height: 1.5;
}

.category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.category-badge {
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    background: rgba(198, 124, 78, 0.1);
    color: var(--m-terracotta);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.category-card-footer i {
    color: var(--m-stone-400);
    transition: color var(--m-transition);
}

.category-card-modern:hover .category-card-footer i {
    color: var(--m-stone-900);
}

/* ================================================
   BRAND CARDS - Modern Grid
   ================================================ */
.brand-grid-modern {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .brand-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .brand-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

.brand-card-modern {
    display: block;
    background: var(--m-white);
    border: 1px solid var(--m-stone-100);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--m-transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.brand-card-modern:hover {
    border-color: var(--m-stone-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.brand-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-card-header {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.brand-card-logo {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid var(--m-stone-100);
    background: var(--m-stone-50);
}

.brand-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-card-info {
    flex: 1;
    min-width: 0;
}

.brand-card-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--m-stone-900);
    margin: 0 0 0.25rem 0;
    transition: color var(--m-transition);
}

.brand-card-modern:hover .brand-card-name {
    color: var(--m-terracotta);
}

.brand-card-excerpt {
    font-size: 0.8125rem;
    color: var(--m-stone-500);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-card-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--m-stone-50);
}

.brand-card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: var(--m-stone-50);
    border: 1px solid var(--m-stone-100);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--m-stone-600);
}

/* ================================================
   PRODUCT CARDS - Modern Style
   ================================================ */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card-modern {
    background: var(--m-white);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    width: 100%;
    overflow: hidden;
    background: var(--m-stone-100);
    margin-bottom: 1rem;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-stone-400);
    font-size: 3rem;
}

.product-card-body {
    padding: 0;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.product-card-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-stone-900);
    margin: 0;
    transition: color var(--m-transition);
}

.product-card-modern:hover .product-card-name {
    color: var(--m-terracotta);
}

.product-card-price {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--m-stone-900);
    white-space: nowrap;
}

.product-card-description {
    font-size: 0.75rem;
    color: var(--m-stone-500);
    margin: 0.25rem 0 0 0;
}

/* ================================================
   STATS SECTION - Modern Cards
   ================================================ */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.stat-card-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(198, 124, 78, 0.1);
    color: var(--m-terracotta);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: monospace;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--m-olive);
    line-height: 1;
}

.stat-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--m-stone-500);
}

/* ================================================
   CTA SECTION - Full Width
   ================================================ */
.cta-modern {
    background: var(--m-olive-dark);
    padding: 4rem 0;
    text-align: center;
}

.cta-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 var(--m-gutter);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--m-white);
    margin: 0 0 1rem 0;
    letter-spacing: -0.025em;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: var(--m-stone-200);
    margin: 0 0 2rem 0;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   FOOTER - Modern Design
   ================================================ */
.footer-modern {
    background: var(--m-white);
    border-top: 1px solid var(--m-stone-200);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: var(--m-container);
    margin: 0 auto;
    padding: 0 var(--m-gutter);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 28px;
    width: auto;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--m-stone-600);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--m-stone-500);
    margin: 0;
}

.footer-copyright a {
    color: var(--m-terracotta);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--m-stone-900);
    margin: 0 0 1rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--m-stone-600);
    text-decoration: none;
    transition: color var(--m-transition);
}

.footer-links a:hover {
    color: var(--m-stone-900);
}

.footer-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--m-stone-200);
    border-radius: 0.5rem;
    background: var(--m-white);
    font-size: 0.875rem;
    color: var(--m-stone-700);
    width: 100%;
    max-width: 10rem;
    cursor: pointer;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--m-stone-400);
    font-size: 1.25rem;
    transition: color var(--m-transition);
}

.footer-social a:hover {
    color: var(--m-stone-900);
}

/* ================================================
   PAGE HEADER - Brands Index
   ================================================ */
.page-header-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .page-header-modern {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.page-header-content {
    flex: 1;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--m-stone-900);
    margin: 0 0 0.5rem 0;
}

.page-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--m-stone-500);
    margin: 0;
}

.page-description {
    font-size: 0.875rem;
    color: var(--m-stone-500);
    margin: 0.5rem 0 0 0;
}

/* ================================================
   SEARCH - Modern Input
   ================================================ */
.search-modern {
    width: 100%;
    max-width: 28rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--m-stone-400);
    pointer-events: none;
}

.search-input {
    flex: 1;
    padding: 0.625rem 0.75rem 0.625rem 2.5rem;
    border: 1px solid var(--m-stone-200);
    border-radius: 0.5rem;
    background: var(--m-white);
    font-size: 0.875rem;
    color: var(--m-stone-900);
}

.search-input::placeholder {
    color: var(--m-stone-400);
}

.search-input:focus {
    outline: none;
    border-color: var(--m-terracotta);
    box-shadow: 0 0 0 1px var(--m-terracotta);
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 0.5rem;
    background: var(--m-terracotta);
    color: var(--m-white);
    border: none;
    cursor: pointer;
    transition: background var(--m-transition);
}

.search-button:hover {
    background: #B06A3F;
}

/* ================================================
   CATEGORY FILTERS - Horizontal Scroll
   ================================================ */
.category-filters-modern {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--m-stone-100);
}

.filters-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--m-stone-500);
    margin-bottom: 1rem;
}

.filters-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filters-scroll::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--m-stone-200);
    background: var(--m-white);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--m-stone-700);
    text-decoration: none;
    transition: all var(--m-transition);
}

.filter-chip:hover {
    border-color: var(--m-stone-300);
    background: var(--m-stone-50);
    text-decoration: none;
    color: var(--m-stone-900);
}

.filter-chip.active {
    background: var(--m-olive);
    border-color: var(--m-olive);
    color: var(--m-white);
}

.filter-chip.active:hover {
    background: var(--m-olive-dark);
    border-color: var(--m-olive-dark);
}

/* ================================================
   ACTIVE FILTERS - Info Bar
   ================================================ */
.active-filters-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(198, 124, 78, 0.05);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--m-stone-600);
    margin-bottom: 1.5rem;
}

.filter-tag {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background: var(--m-terracotta);
    color: var(--m-white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.clear-filters {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--m-terracotta);
    text-decoration: none;
}

.clear-filters:hover {
    text-decoration: underline;
}

/* ================================================
   PAGINATION - Modern Style
   ================================================ */
.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    background: var(--m-stone-100);
    color: var(--m-stone-900);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--m-transition);
}

.page-link-modern:hover {
    background: var(--m-stone-200);
    text-decoration: none;
    color: var(--m-stone-900);
}

.page-link-modern.active {
    background: var(--m-terracotta);
    color: var(--m-white);
}

/* ================================================
   BREADCRUMB - Modern Style
   ================================================ */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--m-stone-400);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .breadcrumb-modern {
        margin-bottom: 3rem;
    }
}

.breadcrumb-link {
    color: var(--m-stone-400);
    text-decoration: none;
    transition: color var(--m-transition);
}

.breadcrumb-link:hover {
    color: var(--m-stone-900);
}

.breadcrumb-separator {
    font-size: 0.625rem;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--m-stone-900);
}

/* ================================================
   BRAND DETAILS PAGE
   ================================================ */
.brand-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--m-stone-100);
}

@media (min-width: 1024px) {
    .brand-header-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.brand-visual {
    display: flex;
    justify-content: center;
}

.brand-visual-frame {
    aspect-ratio: 4/5;
    width: 100%;
    max-width: 320px;
    background: var(--m-white);
    border: 1px solid var(--m-stone-100);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.brand-visual-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--m-white);
    border: 1px solid var(--m-stone-200);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--m-stone-600);
}

.brand-tag-success {
    background: rgba(125, 199, 163, 0.15);
    border-color: transparent;
    color: var(--m-olive);
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--m-stone-900);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .brand-title {
        font-size: 3rem;
    }
}

.brand-description {
    max-width: 32rem;
    margin-bottom: 2rem;
}

.brand-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--m-stone-600);
    margin: 0;
    font-weight: 300;
}

.brand-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-section {
    margin-bottom: 4rem;
}

.products-count {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    background: var(--m-stone-100);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--m-stone-600);
}

.back-navigation {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--m-stone-100);
}

/* ================================================
   EMPTY STATE
   ================================================ */
.empty-state-modern {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-modern.full-width {
    grid-column: 1 / -1;
}

.empty-state-modern i {
    font-size: 4rem;
    color: var(--m-stone-300);
    margin-bottom: 1rem;
}

.empty-state-modern h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--m-stone-900);
    margin: 0 0 0.5rem 0;
}

.empty-state-modern p {
    font-size: 0.875rem;
    color: var(--m-stone-500);
    margin: 0 0 1.5rem 0;
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}
