.prilepto-native-color-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.advanced-parameter[data-prilepto-color-option] {
  display: inline-block !important;
  width: 36px !important;
  height: 36px !important;
  margin: 3px 5px 3px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  vertical-align: middle;
}

.advanced-parameter[data-prilepto-color-option] .advanced-parameter-inner {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  margin: 2px !important;
  overflow: hidden !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background-image: none !important;
  background-position: center !important;
  background-size: 0 !important;
  box-shadow: 0 0 0 1px #cfcfcf !important;
  transition: box-shadow .15s ease, transform .15s ease;
}

.advanced-parameter[data-prilepto-color-option]:hover .advanced-parameter-inner {
  box-shadow: 0 0 0 2px #999 !important;
  transform: scale(1.06);
}

.advanced-parameter[data-prilepto-color-option] .advanced-parameter-inner.yes-before,
.advanced-parameter[data-prilepto-color-option].active .advanced-parameter-inner,
.advanced-parameter[data-prilepto-color-option][aria-checked="true"] .advanced-parameter-inner {
  box-shadow: 0 0 0 3px #ff6b00 !important;
}

.advanced-parameter[data-prilepto-color-option] .advanced-parameter-inner::before {
  border-radius: 50% !important;
}

.advanced-parameter[data-prilepto-color-option] img,
.advanced-parameter[data-prilepto-color-option] .parameter-value {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.prilepto-color-chip.is-transparent,
.prilepto-swatch__chip.is-transparent {
  background-color: #fff !important;
  background-image:
    linear-gradient(45deg, #d7d7d7 25%, transparent 25%),
    linear-gradient(-45deg, #d7d7d7 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #d7d7d7 75%),
    linear-gradient(-45deg, transparent 75%, #d7d7d7 75%) !important;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0 !important;
  background-size: 10px 10px !important;
}

.prilepto-swatches {
  width: 100%;
  margin: 14px 0 18px;
  font-family: inherit;
}

.prilepto-swatches__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.prilepto-swatches__heading strong {
  color: #171717;
  font-size: 14px;
  line-height: 1.25;
}

.prilepto-swatches__selected {
  overflow: hidden;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prilepto-swatches__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 292px;
  overflow-y: auto;
  padding: 3px;
  scrollbar-color: #ff6b00 #ececec;
  scrollbar-width: thin;
}

.prilepto-swatch {
  appearance: none;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.prilepto-swatch__chip {
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #cfcfcf;
  transition: box-shadow .15s ease, transform .15s ease;
}

.prilepto-swatch:hover .prilepto-swatch__chip {
  box-shadow: 0 0 0 2px #999;
  transform: scale(1.06);
}

.prilepto-swatch:focus-visible {
  outline: 3px solid rgba(255, 107, 0, .28) !important;
  outline-offset: 2px;
}

.prilepto-swatch.is-active .prilepto-swatch__chip {
  box-shadow: 0 0 0 3px #ff6b00;
}

.prilepto-swatch:disabled {
  cursor: not-allowed;
  opacity: .28;
}

.prilepto-size-select {
  display: block !important;
  width: 100% !important;
  min-height: 42px;
  padding: 8px 38px 8px 12px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 7px !important;
  background-color: #fff !important;
  color: #171717 !important;
  font: inherit;
}

.prilepto-size-select:focus {
  border-color: #ff6b00 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .16) !important;
  outline: 0 !important;
}

.prilepto-size-select option[data-prilepto-popular-size="true"] {
  font-weight: 700;
}

.prilepto-quantity-pricing {
  display: block;
  width: 100%;
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid #e4ddd7;
  border-left: 3px solid #ff6b00;
  border-radius: 8px;
  background: #fffaf6;
  color: #171717;
  font-family: inherit;
}

.prilepto-quantity-pricing > header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px;
}

.prilepto-quantity-pricing strong {
  font-size: 13px;
  line-height: 1.3;
}

.prilepto-quantity-pricing small {
  color: #6d6864;
  font-size: 10px;
  line-height: 1.35;
}

.prilepto-quantity-pricing__levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  border-top: 1px solid #eee5de;
  background: #fff;
}

.prilepto-quantity-pricing__levels > span {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  border-right: 1px solid #eee5de;
  text-align: center;
}

.prilepto-quantity-pricing__levels > span:last-child {
  border-right: 0;
}

.prilepto-quantity-pricing__levels b {
  font-size: 11px;
}

.prilepto-quantity-pricing__levels small {
  color: #14804a;
  font-weight: 800;
}

.prilepto-quantity-pricing__individual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border-top: 1px solid #eee5de;
}

.prilepto-quantity-pricing__individual > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.prilepto-quantity-pricing__individual a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 7px;
  background: #171717;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
}

.prilepto-quantity-pricing__individual a:hover {
  background: #ff6b00;
}

.prilepto-size-native-replaced .advanced-parameter {
  display: none !important;
}

@media (max-width: 767px) {
  .advanced-parameter[data-prilepto-color-option] {
    width: 38px !important;
    height: 38px !important;
    margin-right: 6px !important;
  }

  .advanced-parameter[data-prilepto-color-option] .advanced-parameter-inner {
    width: 34px !important;
    height: 34px !important;
  }

  .prilepto-swatches__grid { max-height: 326px; }
  .prilepto-swatches__heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .prilepto-quantity-pricing__individual { align-items: flex-start; flex-direction: column; }
  .prilepto-quantity-pricing__individual a { width: 100%; padding: 10px; text-align: center; }
}
