/* product listing page */
.page-products .product-item-actions.is-pd-enable .action {
  margin: 3px;
}
.page-products .product-item-actions.is-pd-enable .actions-primary {
  display: block;
  margin-bottom: 10px;
}
.page-products .product-item-actions.is-pd-enable .actions-primary + .actions-secondary {
  display: block;
}
.page-products .product-item-actions.is-pd-enable .list-design-button {
  float: left;
  margin-right: 10px;
}
.list-design-button{
  float: left;
  margin-right: 10px;
  border-radius: 0;
}


.cg-option {
  margin-bottom: 10px;
}
.cg-option .label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.cg-option .cg-option-item + .label {
  margin: 12px 0;
}
.cg-change-hwc,
.cg-change-hwc ~ .cg-option-item {
  margin-top: 10px;
}
.cg-change-hwc .cg-inline-box {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.cg-change-hwc .cg-inline-box .cg-inline-item {
  width: calc(50% - 20px);
}
.cg-change-hwc .cg-inline-box .cg-inline-item:first-child {
  margin: 0;
}
.cg-change-hwc .cg-inline-box .cg-inline-item label {
  margin: 0;
  display: block;
}
.cg-hwc-inner {
  width: 75%;
  flex: 0 0 75%;
  display: flex;
  flex-wrap: wrap;
  padding-right: 15px;
}
.cg-hwc-right {
  width: 25%;
  flex: 0 0 25%;
}
.cg-change-hwc .cg-inline-box * {
  box-sizing: border-box;
}
.cg-inline-box .cg-inline-item label span {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.cg-change-hwc .cg-icon-lock {
  position: relative;
  width: 20px;
  margin: 0 10px;
  cursor: pointer;
}
.cg-change-hwc .cg-icon-lock input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  bottom: 7px;
  left: 0;
  right: 0;
  top: auto;
  margin: auto;
  z-index: 9;
  cursor: pointer;
}
.cg-change-hwc .cg-icon-lock svg {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  top: auto;
  fill: #4d4c4c;
  width: 24px;
  height: 24px;
  margin: auto;
  display: block;
  cursor: pointer;
}
.cg-change-hwc .cg-icon-lock input[type="checkbox"]:checked ~ svg {
  fill: #f05929;
}

.navigation .level0 .submenu a:hover, .navigation .level0 .submenu a.ui-state-focus {
  color: #fff !important;
}
#designs_box{
   margin-bottom: 30px;
}
#designs_box .products-grid {
    padding: 0;
    margin: 0 -10px 0 -10px;
    display: flex;
    flex-wrap: wrap;
}
#designs_box .products-grid li {
    list-style-type: none;
    max-width: 50%;
    flex: 0 0 50%;
    padding: 10px;
    box-sizing: border-box;
}
#designs_box .products-grid li .actions .btn-design-it {
    padding: 0;
    background-color: transparent;
    border: 1px solid #333333;
    position: absolute;
    right: 4px;
    top: 4px;
    padding: 4px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}
#designs_box .products-grid li .item-inner {
    position: relative;
    padding: 24px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    max-height: 140px;
    height: 100%;
}
#designs_box .products-grid li .item-inner img{
    max-height: 100%;
    max-width: 100%;
}

#designs_box .products-grid li .actions .btn-design-it svg {
    width: 16px;
    height: 16px;
}

#designs_box .products-grid li .actions .btn-design-it .new-icon {
    display: block;
    vertical-align: middle;
}

@media (min-width: 576px){
   #designs_box .products-grid li {
       max-width: 33.333333%;
       flex: 0 0 33.333333%;
   }
}
@media screen and (min-width: 992px) {
  .cgdesigner-designs-mydesigns #designs_box .products-grid .item {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 1200px){
   #designs_box .products-grid li {
       max-width: 20%;
       flex: 0 0 20%;
   }  
}
@media screen and (max-width: 515px) {
  .cgdesigner-designs-mydesigns #designs_box .products-grid .item {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.product-item .tocart.list-design-button {
  padding-left: 7px;
  padding-right: 7px;
}