
/* Extracted from catalogo.php */

    /* Global fixes for catalog */
    body { background: var(--textil-primary); color: #fff; }
    .t-cat-wrapper {
        display: flex;
        gap: 40px;
        max-width: 1400px;
        margin: 120px auto 60px auto;
        padding: 0 40px;
    }
    
    /* Sidebar Styles */
    .t-cat-sidebar {
        width: 300px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .t-cat-menu {
        background: rgba(20, 20, 25, 0.8);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 12px;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .t-cat-menu-title {
        color: var(--textil-accent);
        font-family: var(--font-heading);
        font-size: 0.9rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 0 25px;
        margin-bottom: 15px;
    }
    .t-cat-menu ul { list-style: none; padding: 0; margin: 0; }
    .t-cat-menu li { margin-bottom: 2px; }
    
    .t-cat-group {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .t-cat-group:last-child {
        border-bottom: none;
    }
    .t-cat-group-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 25px;
        color: var(--textil-text-muted);
        font-weight: 700;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }
    .t-cat-group-title:hover {
        color: var(--textil-accent);
        background: rgba(255,255,255,0.02);
    }
    .t-cat-group-title i {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }
    .t-cat-svg-icon {
        display: inline-block;
        width: 26px;
        height: 26px;
        background-color: currentColor;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        margin-right: 10px;
        vertical-align: middle;
        flex-shrink: 0;
        transition: background-color 0.3s ease;
    }
    .t-cat-sub-menu {
        display: none;
        background: rgba(0,0,0,0.2);
        padding: 5px 0 !important;
    }

    .t-cat-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px 25px 10px 35px;
        color: var(--textil-text-muted);
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        cursor: pointer;
    }
    .t-cat-link:hover, .t-cat-link.active {
        background: rgba(212, 175, 55, 0.05);
        color: var(--textil-accent);
        border-left-color: var(--textil-accent);
    }
    .t-cat-link i { font-size: 1.1rem; width: 20px; text-align: center; }

    .t-cat-help-box {
        background: rgba(20, 20, 25, 0.8);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 12px;
        padding: 30px 25px;
        text-align: center;
    }
    .t-cat-help-box i { font-size: 2.5rem; color: var(--textil-accent); margin-bottom: 15px; }
    .t-cat-help-box h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 15px; }
    .t-cat-help-box p { font-size: 0.8rem; color: var(--textil-text-muted); line-height: 1.6; margin-bottom: 20px; }
    .t-cat-help-btn {
        display: inline-block;
        width: 100%;
        padding: 12px;
        background: transparent;
        border: 1px solid rgba(212, 175, 55, 0.5);
        color: var(--textil-accent);
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        border-radius: 4px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .t-cat-help-btn:hover { background: var(--textil-accent); color: var(--textil-primary); }

    /* Main Content Styles */
    .t-cat-main {
        flex: 1;
        min-width: 0; /* Fix flex overflow */
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Hero Banner */
    .t-cat-hero {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        background: rgba(20, 20, 25, 0.8);
        min-height: 400px;
        display: flex;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }
    .t-cat-hero-bg {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 50%;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        z-index: 1;
    }
    /* Placeholder for non-spandex */
    .t-cat-hero-bg-placeholder {
        background: linear-gradient(135deg, rgba(20,20,25,1) 0%, rgba(30,30,40,1) 100%);
        border-left: 1px solid rgba(255,255,255,0.05);
    }
    .t-cat-hero-gradient {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(90deg, rgba(20,20,25,1) 0%, rgba(20,20,25,0.95) 45%, rgba(20,20,25,0.2) 75%, transparent 100%);
        z-index: 2;
    }
    .t-cat-hero-content {
        position: relative;
        z-index: 3;
        padding: 50px 60px;
        max-width: 600px;
    }
    .t-cat-hero-title {
        font-family: var(--font-heading);
        font-size: clamp(3rem, 5vw, 4.5rem);
        font-weight: 900;
        line-height: 1;
        margin-bottom: 5px;
        text-transform: uppercase;
    }
    .t-cat-hero-subtitle {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--textil-accent);
        margin-bottom: 25px;
    }
    .t-cat-hero-desc {
        font-size: 1rem;
        color: var(--textil-text-muted);
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .t-cat-hero-check {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 35px;
    }
    .t-cat-hero-check i { color: var(--textil-accent); font-size: 1.5rem; margin-top: 3px; }
    .t-cat-hero-check p { font-size: 0.9rem; color: #ddd; line-height: 1.5; margin: 0; }
    .t-cat-actions { display: flex; gap: 15px; flex-wrap: wrap; }
    .t-btn-primary {
        background: var(--textil-accent);
        color: var(--textil-primary);
        padding: 12px 25px;
        border: none; border-radius: 4px;
        font-weight: 700; font-size: 0.85rem;
        display: inline-flex; align-items: center; gap: 10px;
        cursor: pointer; transition: all 0.3s;
    }
    .t-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
    .t-btn-secondary {
        background: transparent;
        color: #fff;
        padding: 12px 25px;
        border: 1px solid rgba(255,255,255,0.2); border-radius: 4px;
        font-weight: 700; font-size: 0.85rem;
        display: inline-flex; align-items: center; gap: 10px;
        cursor: pointer; transition: all 0.3s;
    }
    .t-btn-secondary:hover { background: rgba(255,255,255,0.05); transform: translateY(-2px); }

    /* Middle Section (Features + Specs) */
    .t-cat-middle {
        display: flex;
        gap: 30px;
    }
    .t-cat-box {
        background: rgba(20, 20, 25, 0.8);
        border: 1px solid rgba(255,255,255,0.05);
        border-radius: 12px;
        padding: 35px 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .t-cat-box-title {
        font-family: var(--font-heading);
        font-size: 1.1rem;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 25px;
        border-bottom: 2px solid rgba(255,255,255,0.05);
        padding-bottom: 15px;
        position: relative;
    }
    .t-cat-box-title::after {
        content: ''; position: absolute; left: 0; bottom: -2px;
        width: 40px; height: 2px; background: var(--textil-accent);
    }
    
    /* Features Grid */
    .t-cat-features { flex: 1.5; }
    .t-cat-feat-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .t-cat-feat-item { display: flex; align-items: flex-start; gap: 15px; }
    .t-cat-feat-icon { color: var(--textil-accent); font-size: 2rem; width: 35px; text-align: center; }
    .t-cat-feat-info h4 { font-size: 0.95rem; margin-bottom: 5px; font-weight: 700; color: #fff; }
    .t-cat-feat-info p { font-size: 0.8rem; color: var(--textil-text-muted); line-height: 1.4; margin: 0; }

    /* Specs Table */
    .t-cat-specs { flex: 1; }
    .t-spec-row {
        display: flex; justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 0.85rem;
    }
    .t-spec-row:last-child { border-bottom: none; }
    .t-spec-label { color: #fff; font-weight: 600; }
    .t-spec-val { color: var(--textil-text-muted); text-align: right; }

    /* Bottom Section (Apps + Compatible) */
    .t-cat-bottom { display: flex; gap: 30px; }
    .t-cat-apps { flex: 1.5; }
    .t-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
    .t-app-card {
        border-radius: 8px; overflow: hidden; position: relative;
        background: #111; aspect-ratio: 3/4; display: block;
    }
    .t-app-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.3s; }
    .t-app-card:hover img { opacity: 1; }
    /* Placeholders for Apps */
    .t-app-placeholder { background: linear-gradient(135deg, rgba(40,40,45,1) 0%, rgba(20,20,25,1) 100%); width: 100%; height: 100%; }
    .t-app-label {
        position: absolute; bottom: 0; left: 0; width: 100%;
        background: rgba(0,0,0,0.8); padding: 8px; text-align: center;
        font-size: 0.7rem; font-weight: 700; border-top: 1px solid rgba(212,175,55,0.3);
    }
    .t-app-more {
        display: block; text-align: center; color: var(--textil-accent); font-size: 0.8rem; font-weight: 700;
        text-decoration: none; border: 1px solid rgba(212,175,55,0.2); padding: 12px; border-radius: 4px;
        transition: background 0.3s;
    }
    .t-app-more:hover { background: rgba(212,175,55,0.1); }

    .t-cat-compatible { flex: 1; display: flex; flex-direction: column; }
    .t-comp-icons { display: flex; justify-content: space-between; margin-bottom: 40px; margin-top: 10px; }
    .t-comp-item { text-align: center; }
    .t-comp-item i { font-size: 2rem; color: var(--textil-accent); margin-bottom: 10px; display: block; }
    .t-comp-item span { font-size: 0.75rem; color: var(--textil-text-muted); font-weight: 600; }
    .t-comp-note {
        background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 8px; padding: 25px; display: flex; gap: 20px; align-items: center; margin-top: auto;
    }
    .t-comp-note i { font-size: 2rem; color: var(--textil-accent); }
    .t-comp-note p { font-size: 0.85rem; color: var(--textil-text-muted); margin: 0; line-height: 1.5; }

    /* Info Bar */
    .t-cat-info-bar {
        background: rgba(20, 20, 25, 0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px;
        padding: 30px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    }
    .t-info-item { display: flex; gap: 15px; align-items: flex-start; }
    .t-info-item i { font-size: 2rem; color: var(--textil-accent); }
    .t-info-item h4 { font-size: 0.85rem; margin-bottom: 5px; color: #fff; }
    .t-info-item p { font-size: 0.75rem; color: var(--textil-text-muted); margin: 0; line-height: 1.4; }

    /* CTA Banner */
    .t-cat-cta {
        background: linear-gradient(90deg, rgba(20,20,25,0.95) 0%, rgba(20,20,25,0.8) 100%), url('../img/hero-bg.png') center/cover;
        border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 40px 50px;
        display: flex; justify-content: space-between; align-items: center;
    }
    .t-cat-cta h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 10px; }
    .t-cat-cta p { font-size: 0.95rem; color: var(--textil-text-muted); margin: 0; max-width: 500px; line-height: 1.5; }

    /* Mobile Responsive */
    @media (max-width: 1200px) {
        .t-cat-wrapper { flex-direction: column; margin-top: 100px; }
        .t-cat-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
        .t-cat-menu { flex: 2; min-width: 300px; }
        .t-cat-help-box { flex: 1; min-width: 300px; }
        .t-cat-middle, .t-cat-bottom { flex-direction: column; gap: 20px; }
        .t-cat-info-bar { grid-template-columns: repeat(2, 1fr); gap: 30px; }
        .t-cat-svg-icon { width: 22px; height: 22px; }
    }
    @media (max-width: 768px) {
        .t-cat-wrapper { padding: 0 15px; margin-top: 80px; gap: 20px; }
        .t-cat-sidebar { flex-direction: column; }
        
        .t-cat-hero { display: flex; flex-direction: column; }
        .t-cat-hero-bg { width: 100%; height: 50%; opacity: 0.4; }
        .t-cat-hero-gradient { background: linear-gradient(0deg, rgba(20,20,25,1) 0%, rgba(20,20,25,0.9) 60%, transparent 100%); }
        
        .t-cat-hero-content { padding: 40px 20px; margin-top: 100px; text-align: center; }
        .t-cat-hero-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
        .t-cat-hero-check { flex-direction: column; align-items: center; text-align: center; }
        
        .t-cat-actions { flex-direction: column; width: 100%; }
        .t-cat-actions button { width: 100%; justify-content: center; }
        
        .t-cat-box { padding: 25px 20px; }
        .t-cat-feat-grid { grid-template-columns: 1fr; gap: 20px; }
        .t-app-grid { grid-template-columns: repeat(2, 1fr); }
        
        .t-comp-icons { flex-wrap: wrap; gap: 25px; justify-content: center; }
        .t-comp-item { width: 30%; }
        .t-comp-note { flex-direction: column; text-align: center; padding: 20px; }
        
        .t-cat-info-bar { grid-template-columns: 1fr; padding: 30px 20px; gap: 30px; }
        .t-info-item { flex-direction: column; text-align: center; align-items: center; }
        
        .t-cat-cta { flex-direction: column; text-align: center; gap: 30px; padding: 40px 20px; }
        
        /* Mobile Collapsible Menu */
        #catalog-nav { display: none; margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
        #catalog-nav.active { display: block !important; }
        #mobile-menu-icon { display: block !important; transition: transform 0.3s; }
        #mobile-menu-icon.active { transform: rotate(180deg); }
        .t-cat-menu-title { margin-bottom: 0; cursor: pointer; }
    }

