:root {
    --primary-color: #213448;
    --accent-color: #2c587d;
    --background-color: #f5f8fc;
    --card-bg: #ffffff;
    --text-dark: #213448;
    --color-highlight: #EB8317;
    --text-light: #666;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    color: var(--text-dark);
}

.nav-container {
    background: #fff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-links a {
    margin: 0 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-bar {
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    padding: 20px 5%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo img {
    height: 80px;
    margin: -20px 0;
}

.search-bar-inline {
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-bar-inline {
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 30px 10px 18px;
    border: 3px solid #213448;
    border-radius: 10px 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #213448;
    background-color: #fdfdfd;
    box-shadow: inset 0 0 5px rgba(33, 52, 72, 0.2);
    transition: border 0.3s ease;
}

.search-input-wrapper input:focus {
    border-color: #1d5a96;
    outline: none;
}

.clear-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    display: none;
    transition: color 0.2s;
}

.clear-icon:hover {
    color: #000;
}

.search-input-wrapper.has-value .clear-icon {
    display: block;
}

.search-bar-inline button {
    padding: 10px 22px;
    background: #213448;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.search-bar-inline button:hover {
    background: #1d5a96;
}

.suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #213448;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(33, 52, 72, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.suggestions li {
    padding: 14px 18px;
    font-weight: bold;
    color: #213448;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggestions li:hover {
    background-color: #f0f4f8;
}

.buttons button {
    margin-left: 10px;
    padding: 10px 16px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.main-section {
    display: flex;
    gap: 30px;
    padding: 40px 5%;
}

.filter-sidebar {
    width: 250px;
    background: var(--color-highlight);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-sidebar h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.filter-sidebar label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.filter-sidebar select {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.filter-sidebar button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.filter-sidebar button:hover {
    background: var(--accent-color);
}

.product-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-card h4 {
    font-size: 16px;
    margin: 5px 0;
}

.product-card p {
    font-size: 14px;
    margin: 4px 0;
    color: var(--text-light);
}

.product-actions {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.wishlist-btn,
.hold-btn {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

.wishlist-btn {
    background-color: #213448;
    color: #fff;
}

.wishlist-btn:hover {
    background-color: red;
}

.hold-btn {
    background-color: #213448;
    color: #fff;
}

.hold-btn:hover {
    background-color: red;
}


footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}