@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    font-family: "Arvo", serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

body {
    background: #eef3f3;
}


.header-bar {
    height: 33.306px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 30px;
    background-color: #000;
    font-family: Avro, serif;
    font-size: .82353em;
    font-weight: 400;
    color: white;
    display: flex;
    align-items: center;
}

.menu-bar-mobile {
    height: 33.31px;
    background-color: black;
    color: white;
    display: none;
    align-items: center;
    padding-left: 30px;
}

.menu-bar-mobile a {
    gap: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    width: 70px;
    height: 33px;
}

.navigation {
    display: block;
    height: 0;
    overflow: hidden;
}

.navigation.active {
    display: block;
    animation: dropdown 0.5s ease-out forwards;
}

@keyframes dropdown {
    0% {
        height: 0;
    }
    50% {
        height: 190px;
    }
    100% {
        height: 240px;
    }
}

.navigation ul li {
    background-color: black;
    color: white;
    font-size: 12px;
    display: block;
    border-top: 1px solid #fff3;
}

.navigation ul li a {
    display: block;
    padding: 12px 30px 12px 30px;
}






.site-header {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 30px;
}

.logo-container {
    width: 33%;
}

.site-header nav {
    position: absolute;
    right: 65px;
}

.site-header nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    font-size: 22px;
    font-family: "Poppins", serif;
    padding-inline-start: 40px;
}

.site-header nav ul li {
    padding: 7px 20px 7px 15px;
}

.site-header nav ul li:hover {
    color: #074CCB;
}

.logo {
    width: 90px;
    height: 72px;
    margin-left: 30px;
}

.intro-header {
    text-align: center;
}

.intro-header p {
    margin: 10px auto;
    padding: 0 10px;
    max-width: 700px; 
    margin-top: 20px; 
    line-height: 1.7;
}

.intro-section p {
    font-weight: 300;
}

.intro-section img {
    height: 250px;
    width: auto;
}

.steps-container {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    margin-bottom: 60px;
}

.step-unit-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.step-unit-container p {
    margin-top: 5px;
    max-width: 250px;
}

/*-------------------------------------------------------*\
    #Location UI
\*-------------------------------------------------------*/

.location-text {
    padding-left: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.location-selector {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    margin: 0 auto;
}

.location-scroll {
    display: inline-flex;
    flex-wrap: nowrap; /* Disables wrapping */
    gap: 15px;
}

.location-card {
    display: inline-block;
    width: 250px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    white-space: normal; /* Allow wrapping for text */
}

.store-unit {
    width: 100%;
    height: 187.5px;
}

.store-unit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    padding-bottom: 10px;
}

.location-card h3 {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: #333;
}

.location-card p {
    margin: 0;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 10px;
}

.location-card.selected {
    border-color: #007BFF;
    background-color: #e7f3ff;
    transform: scale(1.02);
}

.location-card:hover {
    background-color: #f0f0f0;
}

.location-selector {
    scroll-behavior: smooth;
}





/*-------------------------------------------------------*\
    #Products section
\*-------------------------------------------------------*/

a {
    color: inherit;  /* Inherit the color from the parent element */
    text-decoration: none;
}

a:visited {
    color: inherit;  /* Prevent color change when visited */
}

a:active {
    color: inherit;  /* Prevent color change when clicked */
}

.product-content {
    display: flex;
    justify-content: center;
}

.product-container {
    display: flex;
    justify-content: flex-start; /* Ensure items are aligned to the left */
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product {
    padding: 10px;
    text-align: center;
    width: 200px;
    height: 350px;
}

.image-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
}

.product img {
    max-width: 100%;
    height: auto;
}

.product-name {
    font-size: 18px;
    margin: 10px 0;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    word-wrap: break-word;  /* Allow long words to break and wrap onto the next line */
    word-break: break-word;  /* Ensure that long words break correctly */
    overflow-wrap: break-word;  /* Ensures that words are broken when they exceed the container */
}

.product-price {
    font-size: 14px;
    color: #1A1A1A;
}


.scroll-arrow {
    visibility: hidden;
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite ease-in-out;
}


.site-footer {
    margin-top: 60px;
    padding-top: 30px;
    padding-bottom: 20px;
    background-color: rgb(214, 217, 216);
}

.wrapper {
    margin: 0 auto;
    padding: 0 30px;
    max-width: 1340px;
    display: flex;
    flex-direction: row;
}

.grid-item {
    padding-left: 30px;
    width: 20%;
}

.grid-item img {
    width: 100%;
}

.grid-item h3 {
    margin-bottom: 15px;
}

.grid-item p {
    font-style: normal;
    font-weight: 300;
}

.social-icons svg {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.bottom-divier {
    border-top-color: transparent;
    margin: 15px 0;
    border-width: 1px 0 0;
}

.copyright-container {
    text-align: center;
    margin-bottom: 10px;
}

.payment-icons ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}





/*-------------------------------------------------------*\
    #Responsive Design
\*-------------------------------------------------------*/
@media (min-width: 769px) {
    .location-text {
        text-align: center;
        padding: 0;
    }
    .location-selector {
        display: flex;
        justify-content: center;
    }

    .product-container {
        gap: 30px;
    }

    .intro-header p {
        max-width: 810px;
    }
}

@media (max-width: 768px) {
    .scroll-arrow {
        visibility: visible;
    }

    .header-bar {
        justify-content: center;
        height: 15px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .menu-bar-mobile {
        display: flex;
    }

    .site-header nav {
        display: none;
    }

    .wrapper {
        flex-direction: column;
    }

    .grid-item {
        width: 100%;
        text-align: center;
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer__links {
        font-size: 14px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .product {
        width: 160px;
    }
}

@media (max-width: 600px) {
    .location-card {
        width: 200px;
        padding: 8px;
    }

    .location-card h3 {
        font-size: 0.95em;
    }

    .location-card p {
        font-size: 0.8em;
    }
}
