.catalog-hero {
    position: relative;
    height: 40vh;
    width: 100%;
    margin-top: 70px;
    overflow: hidden;
}

.catalog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 100%;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.catalog-container {
    padding: 4rem 10% 4rem;
    min-height: calc(100vh - 100px);
    background: #fdfdfd;
}

.catalog-header {
    margin-bottom: 4rem;
    padding: 1rem 0;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.breadcrumb-item {
    cursor: pointer;
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-item::after {
    content: '/';
    margin-left: 0.75rem;
    color: #e5e7eb;
}

.breadcrumb-item:last-child {
    color: var(--primary);
    font-weight: 700;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.catalog-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.catalog-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Otexo Catalog Grid is now handled globally in style.css */

/* Modern Standardized Otexo Cards are now handled via .otexo-card in style.css */
.folder-card {
    display: none;
}


.folder-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--primary);
    background: #f0fdf4;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    transition: inherit;
}

.folder-card:hover .folder-icon {
    transform: rotate(5deg) scale(1.1);
    background: var(--primary);
    color: white;
}

.folder-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.folder-info span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: #f0fdf4;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* Brand Logo Adjustment within modern card */
.brand-logo-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: inherit;
}

.folder-card:hover .brand-logo-container {
    transform: scale(1.1);
    box-shadow: 0 15px 20px -5px rgba(0,0,0,0.1);
}

/* Image Card (Final Level) */
.product-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.product-item-info {
    padding: 1.25rem;
}

.product-item-info h4 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.product-item-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-logo-container {
    width: 65px;
    height: 65px;
    background: #fdfdfd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

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

.folder-card, .product-item {
    animation: fadeIn 0.4s ease forwards;
}

@media (max-width: 768px) {
    .catalog-container {
        padding: 7rem 5% 3rem;
    }
    .catalog-header h1 {
        font-size: 2rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
}
