body {
		font-family:Tahoma,sans-serif;
		font-size:16px;
		color:#000;
		margin:20px;
		padding:0;
		background-color: #ddd;
    text-shadow: 1px 1px 1px #fff;
		}
		a.logo {color:#0056b3;text-decoration:none;}
		a.logo:hover {color:#000;}
		h1.header a {
			color: #0056b3;
			text-decoration: none;
			margin-right:40px;
		}
		h1.header a.phone {color:#444;}
		h1.header a.wa {color:#128C7E;}
		h1.header a.tg {color:#0088cc;}
		h1.header a.mx {color:#572dff;}
        #search {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            padding: 15px;
            background: #f5f5f5;
            border-radius: 5px;
        }
        #search > div {
			position:relative;
        }
        #search input, #search select {
            width: 100%;
            padding: 8px;
            border: 1px solid #aaa;
            border-radius: 4px;
			box-sizing: border-box;
			font-size:16px;
        }
        #keys {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 15px;
        }
        .key {
            border: 1px solid #ccc;
            padding: 15px 20px;
            border-radius: 20px;
            background: white;
        }
		.key.hide {display:none;}
        .key div {
            margin: 5px 0;
        }
        .key .images {width:100%;display:flex;justify-content:space-between;}
        .key .image {width:20%;height:auto;}
        .key .image img {
			border: 1px solid #ddd;
			border-radius: 10px;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
        .key .id {
            font-size:12px;
            color: #333;
        }
		.key .name {
            font-weight:bold;
        }
		.key .location {font-size:10px;display:flex;flex-wrap:wrap;justify-content:space-between;}
		.key .location span.label {width:35%;}
		.key .location span.value {width:65%;}
        .key .buy a {
            display: inline-block;
            padding: 8px 15px 10px;
            background: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 10px;
            margin-top: 10px;
			text-shadow:none;
        }
        .key .buy a:hover {
            background: #0056b3;
        }
		.key .note {
			font-size: 10px;
			border: 1px solid #ddd;
			border-radius: 5px;
			padding: 10px 15px;
			background-color: #eee;
			display:none;
		}
		.key .ready.green {color:green;}
		.key .ready.red {color:crimson;}
        .loading {
            text-align: center;
            padding: 20px;
            color: #666;
            grid-column: 1 / -1;
        }
        .load-more-container {
            grid-column: 1 / -1;
            text-align: center;
            margin: 20px 0;
        }
        #load-more {
            padding: 12px 30px;
            background: #28a745;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        #load-more:hover {
            background: #218838;
        }
        #load-more:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }
		
		
.key .codes_button {
    margin: 15px 0 10px;
}

.codes_button input[type="button"] {
    padding: 8px 15px;
    background-color: #275689;
    color: white;
    border: none;
    border-radius:10px;
    cursor: pointer;
	font-size:12px;
	height:100%;
	vertical-align:middle;
}

.codes_button input[type="button"]:hover {
    background-color: #0056b3;
}

.codes_button input[type="button"]:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.codes {
    margin-top:0;
    padding:0;
}

.codes h4 {
    margin-top: 0;
	display:none;
}

.key .code-item strong {color:#444;}
.key .code-item div {margin:0;}
.key .code-item {
    margin-bottom: 10px;
    padding:0;
    background-color: white;
	font-size:14px;
	border-bottom:1px solid #ddd;
	padding-bottom:10px;
}
.key .code-item:last-child {border-bottom:0;padding:0;margin:0;}
.key .codes p {margin:8px 0 0;}
.codes_button a {
	padding: 8px 15px;
    background-color: #6c9375;
    color: white;
    border: none;
    border-radius:10px;
    cursor: pointer;
	font-size:12px;
	text-decoration:none;
	height:100%;
	vertical-align:middle;
	text-shadow:none;
}
.key .code-item span.blured {filter: blur(3px);pointer-events:none;}
.key .code-item {}
		
		
		
		
        .counter {
            text-align: center;
            margin: 10px 0;
            color: #666;
            font-size: 14px;
            grid-column: 1 / -1;
        }
        .clear-filters {
            padding: 8px 15px;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
			height:100%;
        }
        .clear-filters:hover {
            background: #c82333;
        }
		.autocomplete-results {
			width: 100%;
			position: absolute;
			background-color: #fff;
			border: 1px solid #ddd;
			border-top: 0;
			box-sizing:border-box;
			display:none;
			z-index:999;
		}
		.autocomplete-item {
            padding: 8px 12px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
			font-size:14px;
        }
        .autocomplete-item:last-child {
            border-bottom: none;
        }
        .autocomplete-item:hover {
            background: #f5f5f5;
        }
		@media (max-width: 1000px) {
		body{}
		#search{flex-wrap:wrap;justify-content:space-between;border-radius:30px;}
		#search > div {width:48%;}
		#search > .name {width:100%;}
		#search input {border-radius:20px;padding:8px 12px;}
		#search select {border-radius:20px;padding:8px;}
		.clear-filters {width:100%;height:100%;border-radius:20px;}
		h1.header {display:flex;justify-content:space-between;}
		h1.header a {font-size:14px;margin:0;}
		}