/* Product Colors List Page Styles */

.at_access {
  margin: 0 0 12px;
  padding: 16px 20px;
  background: #dffafb;
  border: 1px solid #dffafb;
  border-radius: 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  align-items: center;
  text-align:left;
  justify-content: space-between;
}

.at_access h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: #2b445d;
  letter-spacing: 0.2px;
  height: 30px;
  overflow: hidden;
}

.at_access::before {
  content: "";
  display: block;
  width: 6px;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg, #22a3a7 0%, #1f7c80 100%);
  margin-right: 14px;
}

.product-colors-list {
  padding: 20px 10px;
}

.colors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-content: start;
    gap: 30px;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: visible;
  
}

.color-item {
  margin-bottom: 30px;
  width: 181px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: #fff;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease-in-out;
}

.color-item:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  border:1px solid #22a3a7;
  position:relative; top:-3px;
}
.color-item a:hover{ text-decoration:none;}
.color-item .pic {
  width: 180px;
  height: 180px;
  margin: 0 auto 8px;
  overflow: hidden;
}

.color-item .pic img {
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.product-title {
 font-weight:normal;
  font-size: 14px;
  line-height:20px;
  color: #333;
  margin: 8px 0;
  height: 60px;
  overflow:hidden;
}

.price {
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  height: 30px;
  font-size: 22px;
}

.buy {
  width: 90%;
  height: 34px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  border-radius: 23px;
  border: 0;
  margin: 12px auto 6px;
  font: 14px/34px tahoma;
  background: #22a3a7;
}

.buy span {
  display: inline-block;
  width: 27px;
  height: 20px;
  background-size: 55px;
  margin: 3px 5px 5px 0;
   vertical-align: middle;
  background: url(../images/svg/cart1.svg?v=36) repeat-x left top;
  background-size: 55px;
  transition: all 0.3s ease;
}

.buy:hover span {
  background: url(../images/svg/cart1.svg?v=36) repeat scroll 27px top;
  background-size: 55px;
}


.stock_reminder {
  width: 90%;
  height: 34px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  border-radius: 25px;
  border: 0;
  margin: 12px auto 6px;
  font: 14px/34px tahoma;
  background: #777;
}

.g_alert {
  width: 90%;
  height: 34px;
  margin: 12px auto 6px;
  line-height: 34px;
  text-align: center;
  color: #fff;
  background: #999;
  border-radius: 25px;
}

.empty-state {
  padding: 40px 10px;
  text-align: center;
  color: #666;
}

@media(max-width:640px){
.at_access{padding: 10px 20px;}
.at_access h1 {font-size: 16px;height: 38px; }
.colors-grid { grid-template-columns: repeat(2, 1fr); gap: 15px;}
.color-item{width: 100%;}
.color-item .pic { width: 100%;height: auto;}
.color-item .pic img {width: 100%;height: auto}

}