/* 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;
}

/* 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;
}

/* Cart */
.wrap {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #000;
    border: 2px solid #ffffff;
}

.cart {
    flex: 1;
    padding: 20px;
    display: grid;
}

/* Card */
.product {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    max-width: none;
    flex-shrink: 0;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    margin-top: 10px;
    margin-bottom: 10px;
}

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

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

.product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 40px;
    margin-left: 20px;
    min-width: 0;
    flex: 1;
}

.product-info h3 {
    margin: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actions {
    display: flex;
    gap: 12px;
}

.rem {
    background-color:  red;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
    font-size: small;
}

.view,
.shopm {
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    border:2px solid  #ffffff;
    cursor: pointer;
    transition: 0.3s;
    font-size: small;
}

.tot {
    background-color: #ffffff;
    padding: 7px 15px;
    justify-self: auto;
    font-size: x-large;
    border:2px solid #000;
}

.chkout {
    background-color:  green;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.chkout, .shopm {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: larger;
}

.rem, .view, .chkout, .shopm {
    text-decoration: none;
}

.rem:hover,
.view:hover,
.chkout:hover,
.shopm:hover {
    transform: scale(1.1);
}

/* 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) {
    .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;
    }

    .wrap {
        display: grid;
        place-items: center;
    }

    .cart {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
    }

    .cart-summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 40px 0;
        gap: 20px;
    }

    .tot {
        width: 40vw;
        min-width: 260px;
        text-align: center;
        background-color: #ffffff;
        padding: 12px 20px;
        font-size: x-large;
        border: 2px solid #000;
    }


    .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) {
    .site-title-wrapper .site-title {
        font-size: 32px;
    }

    .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;
    }

    .wrap {
        display: grid;
        place-items: center;
    }

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

    .cart-summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 40px 0;
        gap: 20px;
    }

    .tot {
        width: 40vw;
        min-width: 260px;
        text-align: center;
        background-color: #ffffff;
        padding: 12px 20px;
        font-size: x-large;
        border: 2px solid #000;
    }

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

}