
.product {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 10px;
}

#cartContent .product {
    background-color: #f1f1f1;
}

.boxed .product {
    background-color: #f1f1f1;
}

button.product {
    cursor: pointer;
}

button.product:hover {
    background-color: #ddd;
}

.productList {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.Hbox {
    display: flex;
    align-items: center;
    justify-content: left;
}

.Vbox {
    margin-left: 10px;
}

.productImage {
    object-fit: cover;
    width: 10pc;
    height: 10pc;
}

.productImage.small{
    width: 5pc;
    height: 5pc;
}

.cart_container {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px, 0px;
    margin: 10px;
    position: fixed; 
    top: 2pc; right: 2pc;
    max-height: calc(90vh - 4pc);
    overflow-y: auto;
    z-index: 20;
}

#cart ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#BuyMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid black;
    display: none;
}

#car {
    display: none;
    position: absolute;
    right: 0;
    top: 20%;
    animation: moveCar 2.5s ease-in-out forwards;
}
@keyframes moveCar {
    0% {
        right: 0;
    }
    100% {
        right: 100%;
    }
}


#imagePreviewContainer {
    display: block;
    width: 200px;
    height: 200px;
    overflow: hidden;
}
#imagePreviewContainer img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

#dropzoneOverlay {
    display: none;
    font-size: 16px;
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 200px; /* Center text vertically */
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    top:-200px;
    pointer-events: none;
}

button:has(.button) {
    border: none;
    background: none;
}

.icon {
    width: 3em;
    color: aqua;
    fill: dimgray;
}

.icon.small{
    width: 2em;
}

.icon.tiny{
    width: 1em;
}

.icon.button{
    cursor: pointer;
}

.icon.button:hover{
    fill: black;
    color: black;
}

.header {
	display: flex;
	justify-content: center;
	align-items: center;
	position: sticky;
	background: inherit;
	width: inherit;
	top: 0;
}

.footer {
    display: flex;
	justify-content: center;
	align-items: center;
	position: sticky;
	background: inherit;
	width: inherit;
	bottom: 0;
}

.header.left,.footer.left {
    justify-content: left;
    align-items: left;
}

.header.right,.footer.right {
    justify-content: right;
    align-items: right;
}

.description {
    cursor: help;
    font-weight: bold;
    font-size: 1.6em;
    position:relative;
}


.description:hover .info {
    opacity: 1;
    visibility: visible;
    overflow:auto;
    max-height: 150px;
}

.description .info {
    background-color: #ffffffaa;
    backdrop-filter: blur(5px);

    color: #111;
    font-size: 100%;
    font: 400 1em/1.3 "Helvetica Neue", Arial, Helvetica, sans-serif;
    position: absolute;
    overflow: hidden;

    top: 100%;
    right: 0;

    visibility:collapse;

    text-wrap: wrap;
    max-width: 375px;
    width:max-content;
    max-height: 0;

    padding: 1px 5px 2px 5px;
    box-shadow: 1px 1px 3px #222222;
    opacity: 0;
    border: 3px #11111111;

    transition: all 0.4s ease;
}

#checkoutForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 5px;

    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 4px;
    max-width: 500px;
}
#checkoutForm > * {
    margin: 0;
}
#checkoutForm hr {
    grid-column: span 2;
}
.sqrBtn {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 10px;
    margin: 4px;
}
.sqrBtn:enabled {
    cursor: pointer;
}
.sqrBtn:disabled {
    background-color: #ccc;
}
.sqrBtn:hover:not(:disabled) {
    background-color: #ddd;
}
.sqrBtn:active:not(:disabled) {
    background-color: #aaa;
}
