
        .tile:hover {
            background: linear-gradient(to right, #7f8c8d, #6a7d8c);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
        }
        .tile:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }


        .tile {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 20px;
            /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
        }


		#grid-container,
		#chats-grid-container {
			
			height: calc(100vh - 120px);			
		}

        #view-container {
            /* position: relative; */
            display:flex;
            
			
			height: 100%;
/*
            overflow-y: auto;
			
            padding: 10px;

            align: center;
            //max-width: 850px;
            margin: 10 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
            overflow: hidden;
            transform: translateZ(0);
*/


        }

		#catalog-view,
		#chats-view
		{
			width:100%;
			height: 100%;
			display:flex;
			flex-direction: column;
			
		}

		.au-head{
			font-weight: bold;
			font-size: 0.75rem;
		}

		.t-cut{
			font-size: 0.75rem;
		}
		

		a:active {
			background-color: red;
		}

		a:visited {
			color: black;  /* Ваш цвет здесь */
		}	
		
		div.time-cont
		{

			margin-right: 5px;			
			
		}
		.time-font{
			
			font-size: 0.75rem;
		}
			
		.sup-count{
			width: 0.7rem;
			display: block;
			padding: 1px;
			align: center;
			font-size: 0.5rem;
			border-width: 1px;
			border-color: black;
			border-style: solid;
		}
		



 /* Fixed 2 tiles per row */
        .k-listview-content {
            display: grid;
            /* grid-template-columns: repeat(2, 1fr); */ /* Always 2 columns */
            /* gap: 20px; */
            padding: 20px;
        }


        /* 
            * { box-sizing: border-box; }
        */

        body {
            font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #333;
            min-height: 100vh;
            overflow-x: hidden;
        }
        .app-container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            //max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
		
        .navbar {
			flex-wrap: nowrap;
			flex-direction: row;
            background: linear-gradient(to bottom, #1a2530 0%, #2c3e50 100%);
            color: white;
            padding: 12px 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
		
		
        .navbar h1 {
            margin: 0;
            font-size: 1.6em;
            font-weight: 400;
            letter-spacing: -0.5px;
            background: linear-gradient(to right, #3498db, #2980b9);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }
        
		.nav-links {
            display: flex;
            gap: 24px;
        }
		
        .nav-links a {
            color: rgba(255,255,255,0.85);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 4px;
            transition: all 0.25s ease;
            position: relative;
            font-size: 1.05em;
        }
        .nav-links a:hover {
            color: white;
            background: rgba(255,255,255,0.12);
        }
        .nav-links a.active {
            color: white;
            background: rgba(52, 152, 219, 0.25);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.4);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #3498db;
            border-radius: 2px 2px 0 0;
        }
        .content-area {
            flex: 1;
            padding: 28px 20px;
            position: relative;
            min-height: calc(100vh - 120px);
        }

        .filters-panel {
            padding: 10px;
            //display:flex;
        }

        .view-content {
            padding: 32px;
            opacity: 0;
        }
        @media (max-width: 768px) {
            .view-content {
                padding: 24px;
            }
        }
		
		
		/*
        .about-content h2 {
            color: #2c3e50;
            margin-top: 0;
            font-size: 2.1em;
            border-bottom: 2px solid #3498db;
            padding-bottom: 12px;
            display: inline-block;
        }
        .about-content p {
            line-height: 1.7;
            margin: 18px 0;
            font-size: 1.05em;
        }
        .about-content ul {
            padding-left: 28px;
            margin: 22px 0;
            line-height: 1.8;
            font-size: 1.05em;
        }
        .about-content li {
            margin-bottom: 8px;
        }
		*/
		
		
        .highlight {
            background: linear-gradient(120deg, rgba(52,152,219,0.15) 0%, rgba(44,62,80,0.1) 100%);
            padding: 22px;
            border-radius: 10px;
            margin: 25px 0;
            border-left: 4px solid #3498db;
        }
        .items-header {
            text-align: center;
            margin-bottom: 28px;
        }
        .items-header h2 {
            color: #2c3e50;
            margin: 0 0 12px 0;
            font-size: 2em;
        }
        .items-header p {
            color: #7f8c8d;
            font-size: 1.1em;
        }
        #items-list {
            max-width: 750px;
            margin: 0 auto;
        }
        .details-view {
            text-align: center;
            padding: 20px 0;
        }
        .details-title {
            font-size: 2.4em;
            color: #2c3e50;
            margin: 15px 0 20px;
            border-bottom: 3px solid #3498db;
            padding-bottom: 15px;
            display: inline-block;
        }
        .category-badge {
            display: inline-block;
            background: linear-gradient(to right, #3498db, #2980b9);
            color: white;
            padding: 6px 18px;
            border-radius: 20px;
            font-weight: 600;
            margin: 15px 0;
            letter-spacing: 0.5px;
            box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
        }
        .details-desc {
            font-size: 1.35em;
            line-height: 1.7;
            color: #34495e;
            max-width: 700px;
            margin: 25px auto 35px;
            padding: 0 10px;
        }
        .back-btn {
            background: linear-gradient(to right, #95a5a6, #7f8c8d);
            color: white;
            border: none;
            padding: 14px 45px;
            font-size: 1.15em;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        .back-btn:hover {
            background: linear-gradient(to right, #7f8c8d, #6a7d8c);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
        }
        .back-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        .footer {
            background: linear-gradient(to top, #1a2530 0%, #2c3e50 100%);
            color: rgba(255,255,255,0.7);
            text-align: center;
            padding: 18px;
            font-size: 0.95em;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: auto;
        }
        .slide-enter {
            animation: slideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        .slide-exit {
            animation: slideOut 0.35s cubic-bezier(0.6, 0, 0.74, 0.25) forwards;
        }
        .fade-enter {
            animation: fadeIn 0.4s ease-out forwards;
        }
        .fade-exit {
            animation: fadeOut 0.3s ease-in forwards;
        }
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0.3; }
            to { transform: translateX(0); opacity: 1; }
        }
        @keyframes slideOut {
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(-50%); opacity: 0.3; }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeOut {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(-10px); }
        }
		
		/*
        @media (max-width: 768px) {
            .nav-links {
                gap: 15px;
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }
            .nav-links a {
                padding: 7px 14px;
                font-size: 0.95em;
            }
            .content-area {
                padding: 18px 15px;
            }
            #view-container {
                border-radius: 16px;

            }
            .details-title {
                font-size: 1.9em;
            }
            .details-desc {
                font-size: 1.15em;
                line-height: 1.6;
            }
            .back-btn {
                padding: 12px 35px;
                font-size: 1.05em;
                width: 100%;
                max-width: 320px;
            }
        }
		
		*/
		
        
        /* External CSS classes for cleaner templates */
        .item-card {
            background: white;
            padding: 20px;
            margin-bottom: 16px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .item-card:hover {
            transform: translateX(8px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        }
        .item-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }
        .item-name {
            color: #2c3e50;
            font-size: 1.3em;
            font-weight: 600;
        }
        .item-category-badge {
            color: white;
            padding: 3px 12px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: 500;
        }
        .item-description {
            color: #555;
            margin: 0 0 12px 0;
            line-height: 1.6;
            font-size: 0.98em;
        }
        .item-price-badge {
            background: linear-gradient(to right, #27ae60, #2ecc71);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1.2em;
            margin-bottom: 8px;
            min-width: 100px;
            text-align: center;
        }
        .item-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #f39c12;
            font-weight: 500;
        }
        .item-rating-value {
            font-size: 1.1em;
        }
        .item-rating-max {
            color: #7f8c8d;
            font-size: 0.9em;
            font-weight: 400;
        }
        .item-main-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
            flex-wrap: wrap;
            gap: 10px;
        }
        .item-info {
            flex: 1;
            min-width: 200px;
        }
        .item-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            min-width: 120px;
        }