
* {
    box-sizing: border-box;
}

body {
  background: black;
  color: white;
  font-family: Verdana;
  margin: 0;
  overflow-x: hidden;
}





#cart button {
    margin-left: 10px;
    cursor: pointer;
}

.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    width: 100%;
    max-width: 100%;
}


.item {
    text-align: center;
    background-color: orange;
    padding: 10px;
    min-width: 0;
    border-radius: 8px;
}

.item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.item button {
    margin-top: 10px;
    padding: 8px 16px;
}


button {
    margin-top: 8px;
    padding: 6px 12px;
    cursor: pointer;
}

#cart {
    list-style: none;
    padding: 0;
}

.header {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    color: white;
    z-index: 1000;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.content {
    margin-top: 50px;
    margin-bottom: 200px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    color: white;
    text-align: center;
    box-sizing: border-box;
}


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

.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.item img {
    cursor: pointer;
}

.colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 8px 0;
}

.color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
}

.color.disabled {
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.color.disabled::before,
.color.disabled::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 2px;
    background: rgba(0,0,0,0.8);
    transform-origin: center;
}

.color.disabled::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.color.disabled::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.color.selected {
    outline: 2px solid yellow;
}