
::selection {
  background: #ccc;
}
::-moz-selection {
  background: #ccc;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,body{
    height: 100%;
    width: 100%;
  }


body {
    font-family:inherit;
    font-size: 0.9em;
    line-height: 17px;
    letter-spacing: 0.02em;
    background: white;
    margin: 0;
    padding: 0;
    overflow: scroll;
  }

a {
  text-decoration: underline;
  color: black;
}

nav {
  position: fixed;
  top: 10px;
  z-index: 999999;
}

.Top {
  left: 1em;
  position: fixed;
  display: block;
}

.Top a{
  text-decoration: none;
}

.shop-page {
  z-index: 1;
  width: 100%;
  position: absolute;
  top: 10px;
  padding-left: 150px;
  padding-right: 150px;
  padding-bottom: 100px;
  }

/* Product Card Styles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.product-card {
  height: min-content;
  align-items: stretch;
  line-height: normal;
  width: 100%;
  position: relative;
  border: 0px solid black;
  border-radius: 1em;
  padding: 0px;
  text-align: center;
}

.product-card p{
  padding-bottom: 5px;
  margin: 0;
}

.product-card img {
  margin-top: 10%;
  margin-bottom: 5%;
  width: 100%;
  cursor: pointer;
}



 button {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  border: none;
  background: none;
  margin-bottom: 0;
  cursor: pointer;
}

button:hover {
  text-decoration: underline;}

form {
  align-items: flex-end;
  display: inline-block;
  width: 100%;
  justify-content: space-between;
}


  input  {
    text-align: left;
    font-family: inherit;
    background-color: inherit;
    border: none;
    border-bottom: 1px solid black;
    margin-top: 0.6vh;
  }

  input::placeholder {
    color: #888;
  }

  textarea {
    width: 400px;
    height: 100px;
  }

.order-confirm {
  background-color: white;
  visibility: visible;
  text-align: center;
}

.product-thumb {
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  display: block;
  transition: opacity 0.5s ease;
  opacity: 0;
}

/* Primary image: visible once loaded */
.product-img.primary.loaded {
  opacity: 1;
}

/* Hover image: always hidden by default */
.product-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Show hover image only when hovering */
.product-thumb:hover .product-img.hover.loaded {
  opacity: 1;
}

/* Hide primary image on hover */
.product-thumb:hover .product-img.primary.loaded {
  opacity: 0;
}

.order-page {
  width: 40%;
  margin-left:30%;
}

 h1 {
  text-align: center;
  font-size: 1.3em;
  font-weight: normal;
}

h2 {
  text-align: left;
  font-size: 1.0em;
  font-weight: normal;
  text-decoration: underline;
}

.order-summary ul {
  list-style: none;
  padding-left: 0;
}

.order-summary li {
  border-bottom: 1px solid black;
  padding: 5px;
}

.add-to-card {
  padding: 5;
}


.mini-cart {
  display: none;
  position: fixed;
  padding-top: 50px;
  text-align: right;
  top: 0;
  right: 0px;
  width: 30%;
  height: 100%;
  background: #fff;
  padding: 1rem;
  z-index: 999999;
}

.mini-cart ul {
  list-style: none;
  padding-left: 0;
  line-height:20px;
}

.mini-cart li {
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  padding-top: 5px;
}

.lightbox{
display: none;
overflow: scroll;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background: white;
z-index:9999;
align-items: center;
justify-content:center;
flex-direction:column;
}

.lightbox a {
  position:absolute;
  width: 100%;
  top:10px;
  text-align: center;
  z-index:99999;
  cursor:pointer;
}

.lightbox-text {
  text-align: center;
  margin-bottom: 50px;
}

.lightbox-text h2{
  text-align: center;
}

#cart-indicator {
  position: fixed;
  top: 10px;
  right: 30px;
  z-index: 999999;
  font-size: 14px;
}

#cart-indicator a {
  text-decoration: none;
  color: black;
}



@media screen and (max-width: 600px) {

  a {
    color: black;
  }

  /* Shop layout */
  .shop-page {
    position: relative;
    top: auto;
    width: 100%;
    padding: 0 10px 30px;
  }

  /* Two products per row */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 10px;
  }

  .product-card {
    width: 100%;
    min-width: 0;
  }

  .product-card img {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  /* Product information */
  .product-card p {
    font-size: 0.85em;
    line-height: 1.2em;
  }

  /* Order page */
  .order-page {
    width: 100%;
    margin-left: 0;
  }

  /* Mini cart */
  .mini-cart {
    width: 50%;
  }

  .mini-cart ul img {
    padding-right: 5px;
    width: auto;
    height: auto;
  }

  /* Footer */
  .footer {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    width: 90% !important;
    margin: 30px auto 0;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;

  }

  .footer p {
    text-align: center;
    margin: 0 auto;
  }

}
