@charset "utf-8";

@font-face {
    font-family: Roboto;
    src: url("Fonts/roboto-mono-latin-400-normal.ttf");
}

html {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Roboto;
}

body {
    margin: 0px;
    padding: 0px;
    position: relative;
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
}

#ship-info-container {
    font-family: sans-serif;
    display: flex;
    background-color: #00d66f;
    color: white;
    width: min-content;
    white-space: nowrap;
    border-radius: 5px;
    text-align: left;
    font-weight: bold;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.banner-div {
    background-color: blue;
    width: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    color: white;
    padding: 10px;
}

.productpicture {
    -webkit-user-drag: none;
    width: 100%;
    border-radius: 10px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.container {
    width: 1500px;
    margin: 0px auto;
    padding-bottom: 150px;
}

main {
    padding: 15px;
    margin-bottom: 50px;
}

.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 0em;
}

.item {
    flex: 0 0 calc(25% - 14px);
    color: black;
    padding: 7px 7px 40px;
    border-radius: 10px;
    position: relative;
}

.sold {
    color: gray;
    font-size: 0.8em;
}

#product-title-link {
    font-family: sans-serif;
    text-decoration: none;
    
    display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  flex: 1 1 auto;        /* ✅ let it grow/shrink */
  min-width: 0;          /* ✅ required for text to clip in flex */
}

#product-title {
    font-size: 15px;
    padding: 0px;
    margin: 5px 0px;
    
    display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  flex: 1 1 auto;        /* ✅ let it grow/shrink */
  min-width: 0;          /* ✅ required for text to clip in flex */
}

footer {
    display: flex;
    background-color: rgb(51, 51, 51);
    color: white;
    width: 100%;
    height: 150px;
    bottom: 0px;
    margin-bottom: 0px;
    position: absolute;
    text-align: center;
}

@media screen and (max-width: 1500px) {
    .container {
        width: 100%;
        margin: 0px auto;
    }
    .item {
    flex: 0 0 calc(50% - 14px);
    color: black;
    padding: 7px 7px 60px;
    border-radius: 10px;
    position: relative;
    }
}