@font-face {
    font-family: 'Reospec';
    src: url('../ASSETS/font/Reospec.otp') format('opentype');
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    background-color: #111;
}

.header h1 {
    margin: 0;
}

.search-bar {
    width: 100%;
    padding: 15px 0;
    background-color: transparent;
}

.search-container {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid rgba(241, 196, 15, 0.3);
    border-radius: 25px;
    background-color: rgba(17, 17, 17, 0.7);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.search-container input:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
    outline: none;
}

.search-container input::placeholder {
    color: #888;
}

.search-container::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #f1c40f;
    font-size: 16px;
}

.hero-header {
    background-image: url('../ASSETS/img/3.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: left;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: cen     er;
}

.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 0;
}

.hero-header h1,
.hero-header p {
    position: relative;
    z-index: 1;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    display: flex;
    flex-direction: row;
    flex: 1;
}

/* Sidebar styles */
.sidebar {
    width: 18%;
    padding: 1rem;
    background-color: #111;
    color: #fff;
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

/* Category Header */
.sidebar h2 {
    color: #f1c40f;
    font-size: 1rem;
    margin-bottom: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Category item style */
.category-item {
    margin-bottom: 0.5rem;
    border-left: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.all-products {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.all-products a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: none;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.all-products:hover a,
.all-products.active a {
    color: #fff;
    padding-left: 0.5rem;
}

.category-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    pointer-events: none;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.category-link:hover {
    transform: none;
    background: none;
    padding-left: 0.5rem;
    color: #fff;
}

.category-item.active {
    border-left-color: #f1c40f;
}

.category-item.active .category-link {
    color: #fff;
    background: none;
}

/* Hide subcategories by default */
.subcategory-list {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    margin-top: 10px;
}

/* Show subcategories when active */
.subcategory-list.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.toggle-indicator {
    margin-left: auto;
    font-size: 0.9rem;
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rotate indicator when active */
.category-item.active .toggle-indicator {
    transform: rotate(180deg);
}

.subcategory-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    pointer-events: none;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.subcategory-link:hover,
.subcategory-link.active {
    transform: none;
    background: none;
    padding-left: 0.5rem;
    color: #fff;
}

/* Keep parent category open when subcategory is selected */
.category-item.active > .subcategory-list {
    max-height: 500px;
    opacity: 1;
}

/* Remove default bullets and padding from the ul */
ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Base Styles */
.products {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    width: 100%;
    justify-content: center;
    align-items: start;
}

.product-link {
    display: inline-block;
    text-decoration: none;
    margin: 5px 10px 12px;
    pointer-events: none;
    cursor: default;
}

.product-card {
    width: 200px;
    height: 260px;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.7;
}

.product-card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 5px;
}

.product-card p {
    font-size: 14px;
    text-align: left;
    margin: 0;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-name {
    font-size: 1rem;
    font-weight: 800;
    text-align: left;
    color: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.product-features {
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    color: #ccc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.product-link:hover .product-card {
    transform: none;
    box-shadow: none;
}

/* Disable pointer events for background elements only, allow button interaction */
.blur-bg-overlay {
    pointer-events: none;
}

/* Override pointer events for login-related buttons */
.login-btn,
#loginBtn,
#registerBtn,
.form button {
    pointer-events: auto !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

/* Make form inputs interactive */
.form input,
.form select {
    pointer-events: auto !important;
    user-select: auto !important;
}




