body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('Home.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} 

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px;
}

.section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    color: white;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.3),
        -1px -1px 0 rgba(0, 0, 0, 0.3),
        1px -1px 0 rgba(0, 0, 0, 0.3),
        -1px 1px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 24px;
}

.section-title2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    color: white; 
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.3),
        -1px -1px 0 rgba(0, 0, 0, 0.3), 
        1px -1px 0 rgba(0, 0, 0, 0.3),
        -1px 1px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 24px;
    margin-top: 100px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D6D6D6;
    padding:40px;
    border-radius: 0 0 40px 40px;
    background-image: url('pattern.png') ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    position: relative;
    height: 100px;
}

header img {
    max-width: 250px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-icons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-icons svg {
    width: 55px;
    height: 55px;
    margin-left: 15px;
    cursor: pointer;
    fill: #EF7F2D; /* Icon color */
}

nav {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #eaeaea;
}
    
.search-bar {
    display: flex;
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 400px;
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; 
}

.search-bar input {
    border: none;
    padding: 10px;
    flex-grow: 1;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
}

.search-bar button {
    border: none;
    background-color: transparent;
    padding: 10 px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    color: #808080; 
}

.search-bar button i {
    font-size: 20px;
}

.grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
}

.grid::-webkit-scrollbar {
    height: 12px;
    background-color: #f1f1f1; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    border-radius: 8px;
}

.grid::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.grid::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    flex-shrink: 0;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    position: relative; 
}

.card.active {
    transform: scale(0.95); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.card:hover img {
    transform: scale(1.02);
}

.card .price {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0; 
    transition: opacity 0.3s ease-in-out; 
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer a {
    color: #f7951e;
    text-decoration: none;
}

footer p img {
    width: 40px;  
    height: 30px; 
    margin-left: 10px;
    vertical-align: middle; 
}

footer p img[alt="LogoSiega"] {
    width: 30px; 
    vertical-align: middle;
}

footer p img[alt="LogoAIYO"] {
    width: 40px; 
    vertical-align: middle;
}

.hidden {
    display: none;
}

#search-results {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
#search-results ul {
    list-style-type: none;
    padding: 0;
}
#search-results li {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}
#search-results li a {
    text-decoration: none;
    color: black;
    display: block;
}
#search-results li a:hover {
    background-color: #f0f0f0;
}

.checkout-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #0056b3;
}

.checkout-btn:focus {
    outline: none;
}

.checkout-btn:active {
    background-color: #003d80;
}

@media screen and (max-width: 768px) 
{
    header {
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #D6D6D6;
        padding:30px;
        border-radius: 0 0 40px 40px;
        background-image: url('pattern.png') ;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        position: relative;
        height: 30px;
    }
    
    header img {
        max-width: 135px;
        position: absolute;
        left: 50%;
        top: 20%;
    }
    
    .icon-menu {
        cursor: pointer;
        top: 20%;
    }
    
    .icon-menu-svg {
        fill: #EF7F2D; 
        width: 10px;
        height: 10px;
    }
    
    .icon-menu.active {
        transform: scale(0.95); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .header-icons {
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    .search-bar {
        display: flex;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px;
        width: 200px;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }
    
    .search-bar input {
        border: none;
        padding: 10px;
        flex-grow: 1;
        border-radius: 25px 0 0 25px;
        font-size: 10px;
        outline: none;
    }
    
    .search-bar button {
        border: none;
        background-color: transparent;
        padding: 10 px;
        border-radius: 0 25px 25px 0;
        cursor: pointer;
        color: #808080;
    }
    
    .search-bar button i {
        font-size: 10px; 
    }

    #search-results {
        display: none; 
        background-color: #fff;
        border-radius: 10px; 
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
        padding: 10px;
        max-height: 150px;
        overflow-y: auto; 
        position: absolute;
        top: 100%; 
        width: 100%; 
        z-index: 1000;
        left: -10px;
        font-size: 10px;
    }
    
    #search-results::-webkit-scrollbar {
        width: 0px;
        background: transparent; 
    }
     
    #search-results div {
        display: flex;
        align-items: center;
        padding: 10px;
        border-radius: 8px; 
        transition: background-color 0.3s ease;
        cursor: pointer;
    }
    
    #search-results div:hover {
        background-color: #f0f0f0;
        padding: 10px;
    }
    
    #search-results img {
        width: 20px; 
        height: 20px;
        border-radius: 50%;
        margin-right: 10px;
    }

    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-image: url('Home.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    } 
    
    .container {
        max-width: 100%;
        padding: 70px;
    }
    
    .section-title {
        font-family: 'Josefin Sans', sans-serif; 
        font-weight: bold;
        color: white; 
        text-shadow: 
            1px 1px 0 rgba(0, 0, 0, 0.3), 
            -1px -1px 0 rgba(0, 0, 0, 0.3), 
            1px -1px 0 rgba(0, 0, 0, 0.3), 
            -1px 1px 0 rgba(0, 0, 0, 0.3); 
        text-align: center;
        font-size: 18px;
    }
   
    .section-title2 {
        font-family: 'Josefin Sans', sans-serif; 
        font-weight: bold;
        color: white; 
        text-shadow: 
            1px 1px 0 rgba(0, 0, 0, 0.3), 
            -1px -1px 0 rgba(0, 0, 0, 0.3), 
            1px -1px 0 rgba(0, 0, 0, 0.3), 
            -1px 1px 0 rgba(0, 0, 0, 0.3); 
        text-align: center;
        font-size: 18px;
        margin-top: 100px;
    }
    
    .icon-menu {
        fill: #EF7F2D; 
        cursor: pointer;
    }
    
    .icon-menu.active {
        transform: scale(0.95); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
       
    .grid {
        display: flex;
        gap: 15px;
        overflow-x: auto; 
        white-space: nowrap; 
    }
    
    .grid::-webkit-scrollbar {
        height: 12px; 
        background-color: #f1f1f1;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .grid::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 10px; 
        border: 2px solid #f1f1f1;
    }
    
    .grid::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }
    
    .card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        background-color: white;
        padding: 10px;
        margin: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        max-width: 120px;
        flex-shrink: 0;
        display: inline-block;
        cursor: pointer;
        overflow: hidden;
        position: relative; 
    }
    
    .card h3 {
        font-size: 9px;
        margin-top: 5px; 
    }

    .card.active {
        transform: scale(0.95); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .card img {
        max-width: 100%;
        border-radius: 8px;
        transition: transform 0.3s ease-in-out;
    }
    
    .card:hover img {
        transform: scale(1.02);
    }
    
    footer {
        background-color: #333;
        color: white;
        text-align: center;
        padding: 10px;
        margin-top: 9px;
        font-size: 12px;
    }
    
    footer a {
        color: #f7951e;
        text-decoration: none;
        font-size: 12px;
    }

    .checkout-btn {
        padding: 8px 15px;
        font-size: 14px;
        width: 100%;
    }

    .card {
        margin-bottom: 20px;
    }
}