/**
 * 2021 Anvanto
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 wesite only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 *  @author Anvanto <anvantoco@gmail.com>
 *  @copyright  2021 Anvanto
 *  @license    Valid for 1 website (or project) for each purchase of license
 *  International Registered Trademark & Property of Anvanto
 */

.a3m_attribs h3,
.a3m_attribs .sizeguide-title {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 31px;
    text-align: center;
}
.a3m_attribs p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 23px;
}


.a3m_attribs h4 {
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 24px;
}

.size-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}
.size-table {
    font-size: 13px;
    line-height: 17px;
    text-align: left;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    background-color: transparent;
}
.size-table th, .size-table tr:nth-child(2) td {
    border-top-color: #141414;
}
.size-table th {
    background-color: #141414;
    color: #fff;
}
.size-table tr:first-child th:first-child {
    width: 200px;
}
.size-table td,
.size-table th {
    height: 34px;
    padding: 8px 15px !important;
    vertical-align: middle !important;
}
.size-table td {
    border-top: 1px solid #dee2e6;
    border-color: #e5e5e5;
}

/*** modal ***/
.sg-open {
    overflow: hidden;
    
}
.sg-cover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    z-index: 100;
    
}
  
.sg-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    overflow-x: none;
    overflow-y: auto;
    padding: 20px;
    z-index: 200;
    width: 100%;
    max-width: 100%;
    
}
.a3m_attribs {
    margin: 0 auto;
    max-width: 785px;
    width: 100%;
    display: none;
    min-width: 200px;
    position: relative;
    background-color: #FAFAFA;
    z-index: 300;
    padding: 30px 15px;
}
.sg-btn-close {
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.open-modal-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
	margin-top: 15px;
}
.open-modal-btn svg {
    margin-right: 10px;
}
.open-modal-btn span {
    text-decoration: underline;
}
.open-modal-btn:hover {
    color: #949494;
}


/* * * * * * * * * * * * karta produktu * * * * * * * * * * * */

#product-details .label,
.product-features h3 {
  font-weight: 500;
  margin-right: 10px;
  color: #414141;
  margin-bottom: 0;
  min-width: 100px;
  text-align: left;
}
.product-manufacturer {
  margin-bottom: 15px;
}
.product-features {
  margin-top: 5px;
  margin-left: 0;
}
.product-features h3 {
  margin-bottom: 10px;
}
.product-features > dl.data-sheet dd.value,
.product-features > dl.data-sheet dt.name {
  width: 28%;
  display: inline-table;
  font-weight: normal;
  background-color: #f2f2f2;
  padding: 0.625rem;
  margin-right: 0.625rem;
  min-height: 2.5rem;
  word-break: break-all;
  vertical-align: top;
}
.product-features > dl.data-sheet dd.value{
  width: 70%;
}
.product-features > dl.data-sheet dd.value:nth-of-type(even),
.product-features > dl.data-sheet dt.name:nth-of-type(even) {
  background-color: #f8f8f8;
}
.product-features > dl.data-sheet dt.name {
  text-transform: capitalize;
  font-weight: 500;
}
.product-variants > .product-variants-item {
  margin: 10px 0 0;
  margin-bottom: 20px;
}
#product .product-variants > .product-variants-item ul li label {
  min-width: 2.8rem; /*t*/
  height: 2.8rem; /*t*/
  margin-bottom: 0;
}
.quickview .product-variants > .product-variants-item ul li label{margin-bottom: 10px;}
.quickview .product-variants-item ul,
#product .product-variants-item ul {
  margin: 0;
}
.quickview .product-minimal-quantity {
  margin: 0;
}
.quickview .product-variants > .product-variants-item ul li,
#product .product-variants > .product-variants-item ul li {
  line-height: 10px;
  float: left;
  position: relative;
}
.product-variants > .product-variants-item select {
  border: 1px solid #e5e5e5;
  height: 30px;
  width: auto;
  min-width: 195px;
  padding-left: 10px;
}
.product-variants > .product-variants-item ul li {
  margin-inline-end: 12px;
  margin-inline-start: 1px;
  /* height: 60px; */
  height: 2.8rem; /*t*/
  min-width: 2.8rem; /*t*/
}
.product-variants-item .input-color {width: 2.8rem; height: 2.8rem; display: none;}
.product-variants > .product-variants-item .color {
  margin: 0;
  /* width: 48px;
  height: 48px; */
  width: 100%; /*t*/
  height: 100%; /*t*/
  border: 1px solid #fff;
  display: inline-block;
  cursor: pointer;
  background-size: contain;
  /* border-radius: 20%; */
  border-radius: 6px;
  box-shadow: 0 0 2px 0 rgb(0 0 0 / 70%);
}
.product-variants-item .color span {
  text-align: center;
  clip: auto; left: 0;
  font-size: 11px;
  width: 50px;
  height: 12px;
  margin-top: -12px;
}

.product-variants > .product-variants-item .texture {
  width: 100%; /*t*/
  height: 100%; /*t*/
  /* width: 32px; */
  /* height: 32px; */
  border: 1px solid #e5e5e5;
  background-repeat: no-repeat;
  background-position: center;
  /* background-size: contain; */
  border-radius: 6px;
  box-shadow: 0 0 2px 0 rgb(0 0 0 / 70%);
  background-size: cover;
}
.product-variants > .product-variants-item .input-container.checked + span.texture {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px #66b7ea;
}
.product-variants > .product-variants-item .input-container:hover + span.texture {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px #66b7ea;
}

.product-variants > .product-variants-item .input-container.checked + span.texture::before {
  display: none;
}
.product-variants-item .input-container.checked + span {
  position: relative;
}
.product-variants > .product-variants-item .input-container.checked + span::before,
.product-variants > .product-variants-item .input-color:checked + span::before {
  content: "\E5CA";
  font-family: "Material Icons";
  font-size: 16px;
  position: absolute;
  /* top: 16px; */
  top: 15px; /*t*/
  color: #000408;
  text-align: center;
  margin: 0 auto;
  left: 0px;
  right: 0;
}
.product-variants > .product-variants-item .input-container.checked + .color-dark::before {color: #fff;}

.product-flags {
    margin: 0px;
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    -khtml-opacity: 1;
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    pointer-events: none;
    row-gap: 3px;
}
#left-column .products .product-item:hover .product-flags {
  opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
.quickview li.product-flag, 
.product-leftside li.product-flag, 
.products li.product-flag,
#product_comparison li.product-flag {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 400;  
  text-align: left;
  padding: 3px 7px;
}
.product-flag.discount, .product-flag.pack, .product-flag.on-sale {
  background-color: #ff7073;
  color: #fff;
  margin-bottom: 3px;
  border-radius: 10px;
}
.product-flags .out_of_stock {
  color: #fff;
  padding: 4px 8px 4px 6px;
  background-color: #ef7676;
}
.special-products .product-flag.discount{
  position: absolute;
  right: 6px;
  top: -3px;
  min-width: 60px;
  height: 40px;
  border-radius: 6px;
  line-height: 36px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  background-color: #fad505;
  color: #303840;
  letter-spacing: -0.5px;
}
#left-column .product-flags .out_of_stock,.product-price-and-shipping .psproductcountdown.buttons_bottom_block{
  display: none;
}
.product-variants .control-label {padding-bottom: 10px;}
.product-variants .hide {display: none;}
.product-variants .fade {opacity: 1; display: block !important;}
.product-variants .colors-close {display: none;}
.product-variants .fade .control-label {padding-bottom: 10px;}
.product-variants .fade .modal-body {padding: 0px;}
/* .product-variants .fade .more-colors {padding: 4px 10px 3px; margin-top: 6px;} */
.product-variants .in .hide {display: block;}
.product-variants .fade.in .colors-close {
  position: absolute; top: -12px; right: -12px; display: block;
  width: 36px; height: 36px; cursor: pointer; z-index: 8040;
  background-image: url('colors_sprite.png');
}
.product-variants .fade.in .more-colors {display: none;}
.product-variants .fade.in {
  position: fixed; top: 5%; left: 5%; right: 5%; z-index: 10050;  outline: 0;
  /* position: absolute; right: 0; left: 0; z-index: 10050; height: 60%;  outline: 0; */
  /* top: 0; bottom: 0; display: none; overflow: hidden;*/
}
.product-variants .fade.in .modal-content {
  padding: 1rem 0;
}

.product-variants > .product-variants-item.in .modal-body ul li {
  margin-bottom: 50px;
}

.product-variants .fade.in .modal-body ul.ul-colors {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem
}

@media (max-width: 1400px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 1200px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 992px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 460px) {
  .product-variants .fade.in .modal-body ul.ul-colors {
    grid-template-columns: repeat(2, 1fr);
  }
}
.product-variants .in .modal-body {padding: 15px; overflow: scroll; height: 80vh; display: flex; flex-direction: column;}

.product-variants .in .modal-body input.cust-color {
  width: 100%; height: 100%;
  position: absolute;
}
.product-variants .in .modal-body .input-container span.sr-only {
  width: 88%;
  display: block;
  height: auto;
  overflow: auto;
  /* color: red; */
  position: initial;
  margin: .5rem;
  position: absolute;
  bottom: -35px;
}

.product-variants .in .modal-body .input-container-checked  {
  border: 3px solid #0d5079;
  font-weight: bold;
}

.product-variants .in .modal-body .input-container-checked span.sr-only {
  color: #0d5079;
  font-weight: bold;
}

#color-info {position: relative; font-size: 14px;}
#color-info input {position: absolute; width: 1.25rem; height: 1.25rem; cursor: pointer; accent-color: #328048;}
#color-info .required-checkbox { margin-left: 1.75rem; line-height: 1.25rem; text-align: left; cursor: pointer;}
#color-info .required-checkbox:before {
  margin-inline-start: 0px;
  content: "*";
  color: red;
}



.product-variants-item .color span.sr-only {
  display: none;
}