* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, Arial, sans-serif;
}

.navbar {
    display: flex;
    justify-content: center;
    padding: 15px;
}

.navbar img {
    height: 50px;
}

.footerss {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    margin-top: 20px;
}

.footerss a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}


.product-size,
.product-color {
    margin: 15px 0;
}

.box {
    padding: 10px;
    border: 1px solid black;
    display: inline-block;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.buy-button,
.add-to-cart-button {
    padding: 20px 50px;
    border: 1px solid black;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.buy-button:hover,
.add-to-cart-button:hover {
    background: black;
    color: white;
}




.product-size,
.product-color {
    margin: 15px 0;
}

.box {
    padding: 10px 20px;
    border: 1px solid black;
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
}

.box.selected {
    background: black;
    color: white;
}





.buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: nowrap;
    justify-content: center;
}

.buy-button-hout,
.add-to-cart-button-hout {
    padding: 15px;
    border: 1px solid black;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    flex: 1;
    text-align: center;
    min-width: 120px;
    white-space: nowrap;
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-button-hout:hover,
.add-to-cart-button-hout:hover {
    background: black;
    color: white;
}

@media (max-width: 600px) {
    .buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .buy-button-hout,
    .add-to-cart-button-hout {
        flex: 1 1 48%;
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .buttons {
        flex-direction: column;
        font-size: 14px;
    }

    .buy-button-hout,
    .add-to-cart-button-hout {
        width: 100%;
        font-size: 14px;
    }
}



.box {
    padding: 10px;
    border: 1px solid black;
    display: inline-block;
    cursor: pointer;
    margin: 5px;
}

.box.selected {
    background: black;
    color: white;
}

.out-of-stock-button {
    background: grey;
    color: black;
    cursor: not-allowed;
}





.size-chart {
    display: inline-block;
    padding: 5px 14px;
    margin-top: 15px;
    background-color: rgb(29, 29, 29);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.size-chart:hover {
    background-color: transparent;
    border: 1px solid black;
    color: black;
}

/* Modal */
.modal {
    display: none;
    /* Default: hidden */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal.show {
    display: flex;
}

.modal-body {
    background: white;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    text-align: center;
    width: 50%;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
}

.modal-content {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: black;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-body {
        width: 90%;
        max-width: 90%;
    }

    .close {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }
}




.product-size,
.product-color {
    margin: 15px 0;
}

.box {
    padding: 10px 20px;
    border: 1px solid black;
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
}

.box.selected {
    background: black;
    color: white;
}