/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    align-items: center;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* HEADER + LOGO */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background-color: #000000; 
    border-bottom: 2px solid #000;
}

.logo {
    width: 12vw;
    max-width: 80px;
    min-width: 50px;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.site-title-wrapper .site-title {
    font-size: 7vw;
    max-width: 34px;
    max-height: 34px;
    font-weight: bolder;
    color: #ffffff;
}

.site-subtitle {
    font-size: 5vw;
    font-size: 18px;
    color: #ffffff;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-icon img {
    width: 32px;
    transition: transform 0.2s ease;
}

.cart-icon:hover img {
    transform: scale(1.18);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: black;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Hamburger Menu */
.hamburger {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger.active {
    border: 1px solid #ffffff;
}

.nav-menu {
    position: absolute;
    top: 60px; /* adjust based on your header */
    right: 0;
    background: rgb(0, 0, 0);
    width: 200px;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: medium;
    border: 1px solid #ffffff;
}

.nav-menu li {
    margin-left: 10px;
}

.nav-menu a:link, .nav-menu a:visited {
    text-decoration: none;
    font-weight: bolder;
    font-size: medium;
    color: #ffffff;
}

.hamburger img {
    width: 35px;
    height: 35px;
}

.nav-menu.active {
    display: flex;
    z-index: 9;
}

/* PRODUCT GRIDS */
/*.productgrid-2row,
.productgrid-1row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px;
    width: 100%;
}*/

.productgrid-column {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: hidden;
    overflow-y: visible;
    gap: 6px;
    padding: 10px;
    max-width: 100%;
    justify-content: center;
}

/* Cards */
.product,
.last {
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    max-width: none;
    flex-shrink: 0;
    color: #ffffff;
}

.last {
    background-image: url(https://res.cloudinary.com/driyhwlby/image/upload/v1766757023/abc_x0jfm0.jpg);
}

.product {
    background-color: rgba(0, 0, 0, 0.6);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.last a:link, a:visited {
    text-decoration: none;
    color: #ffffff;
}

.product a:link, a:visited {
    text-decoration: none;
    color: #ffffff;
}

.last h2 {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.last h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Section Headings */
.wrap {
    width: 100%;
    padding-left: 10px;
    margin-top: 20px;
    color: #ffffff;
    font-weight: bolder;
}

/* Footer */
.site-footer {
    width: 100%;
    background: #000;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid white;
}

/* CONTACT ICON ROW */
.footer-contact {
    gap: 16px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.footer-contact a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-contact a:hover {
    transform: scale(1.2);
}

.footer-contact img {
    width: 24px;
    height: 24px;
}

/* LINKS */
.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.footer-link:hover {
    transform: scale(1.15);
}

/* COPYRIGHT */
.footer-copy {
    font-size: 12px;
    color: #aaa;
    font-weight: bold;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active,
.site-footer a:focus {
    color: white;
    text-decoration: none;
}

.msg {
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
}
 
.one {
    font-size: 48px;
    margin: 0;
    letter-spacing: 2px;
    color: rgb(255, 255, 255);
    font-family: "Bebas Neue", sans-serif;
}

.two {
    font-size: 26px;
    margin-top: 0px;
    color: red;
    font-family: "Bebas Neue", sans-serif;
}

/* MEDIA QUERIES (TABLET + PC) */

@media (min-width: 768px) {
    .productgrid-column {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 25px;
    }

    .product h5,
    .product p {
        margin-left: 28px;
    }

    .product,
    .last {
        width: 22vw;
        max-width: 250px;
    }

    .product a:link, a:visited {
        font-size: larger;
    }

    .cart-icon img {
        width: 38px;
        height: 38px;
    }
    .cart-count {
        top: -4px;
        right: -8px;
        font-size: 12px;
        padding: 3px 7px;
    }

    .hamburger {
        display: none;
    }
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 20px;
        box-shadow: none;
        width: auto;
        padding: 0;
        font-size: large;
        border: none;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-around;
        padding: 24px 40px;
    }

    .footer-link {
        font-size: 16px;
    }

    .footer-contact {
        gap: 24px;
    }

    .footer-copy {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {

    .productgrid-column {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 30px;
    }

    .product,
    .last {
        width: 240px;
    }

    .product h5,
    .product p {
        margin-left: 30px;
    }

    .site-title-wrapper .site-title {
        font-size: 32px;
    }

    .cart-icon img {
        width: 42px;
        height: 42px;
    }
    .cart-count {
        top: -4px;
        right: -8px;
        font-size: 14px;
        padding: 4px 8px;
    }

    .hamburger {
        display: none;
    }
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 20px;
        box-shadow: none;
        width: auto;
        padding: 0;
        font-size: large;
        border: none;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-around;
    }

}
