#age-verification-overlay button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: tan;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#age-verification-overlay button:hover {
    background-color: tan;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
	color: #00f5f7;
	text-shadow: -1px -1px 0 #004C53, 1px -1px 0 #004C53, -1px 1px 0 #004C53, 1px 1px 0 #004C53;
}
#searchwidget{
	display: inline-block;
	margin-top: 15px;
	margin-bottom: 15px;
}
#search {
  overflow: hidden;
  background-color: tan;
  border: 5px solid black;
  color: black;
  max-width: 226px;
}
#search form{
}
#livesearch{
	position: absolute;
	border: 1px solid black;
	border-radius: 10px;
	width: 226px;
	background-color: tan;
	text-align: center;
	z-index: 1;
}
#box{
	height: 25px;
	background-color: #D7BDA7;
	font-weight: bold;
	font-size: 15pt;
	max-width: 222px;
	text-align: left;
}
#livesearch a{
	color: black;
	text-decoration: none;
	font-size: 15pt;
}
#livesearch a:visited{
	color: black;
	text-decoration: none;
}
#livesearch a:hover {
    background-color: transparent;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
	color: #00f5f7;
	text-shadow: -1px -1px 0 #004C53, 1px -1px 0 #004C53, -1px 1px 0 #004C53, 1px 1px 0 #004C53;
}

a {
    color: #8A5A2B;
	text-decoration: none;
}

a:hover {
    color: #C58B3A;
}

/* ── Search Widget ── */
#search-widget {
    position: relative;
    width: 100%;
    max-width: 277px;
    margin: 0 auto;
    margin-right: 86px;
}

#search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 24px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#search-input:focus {
    border-color: #81B4A1;
    box-shadow: 0 4px 12px rgba(129, 180, 161, 0.2);
}

#search-input::placeholder {
    color: #999;
}

#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    width: 322px;
}

#search-results.active {
    display: block;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #81B4A1, #D2B48C);
}

.result-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #eee;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.result-type {
    display: inline-block;
    padding: 2px 8px;
    background: #81B4A1;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 130px;
}

.result-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-info {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #666;
    text-align: center;
}

#search-results::-webkit-scrollbar {
    width: 8px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 12px;
}

#search-results::-webkit-scrollbar-thumb {
    background: #81B4A1;
    border-radius: 12px;
}

#search-results::-webkit-scrollbar-thumb:hover {
    background: #6a9885;
}

@media (max-width: 768px) {
    #search-widget {
        max-width: 100%;
    }

    #search-results {
        max-height: 400px;
    }

    .result-description {
        display: none;
    }
}
