/* KORLATDEPO width picker - complete product page style */
body.product-page-body select.korlat-width-source {
  display: none !important;
}

body.product-page-body .korlat-width-option-row > span:first-child,
body.product-page-body .korlat-width-option-row > .param-label {
  display: none !important;
}

body.product-page-body .korlat-width-option-row .param-value {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
}

body.product-page-body .product-options-select-title {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #1f2933;
  margin-bottom: 12px;
}

body.product-page-body .product-options-select-title::after {
  content: "Szélesség";
  font: inherit;
  color: inherit;
}

body.product-page-body .korlat-width-heading {
  display: none !important;
}

body.product-page-body .korlat-width-picker {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
  max-width: 430px;
}

body.product-page-body .korlat-width-button {
  border: 1px solid #d7d9df !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #1f2933 !important;
  cursor: pointer;
  min-height: 58px;
  padding: 10px 8px;
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.product-page-body .korlat-width-button:hover,
body.product-page-body .korlat-width-button.is-active {
  border-color: #ffc700 !important;
  box-shadow: inset 0 0 0 1px #ffc700;
  background: #fffaf0 !important;
}

body.product-page-body .korlat-width-button__size {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

body.product-page-body .korlat-width-button__price {
  display: block;
  font-size: 13px;
  color: #5f6673;
  line-height: 1.25;
  margin-top: 4px;
}

body.product-page-body .korlat-custom-size-button {
  grid-column: 1 / -1;
  display: block;
  border: 1px dashed #ffc700;
  border-radius: 6px;
  background: #fffdf4;
  color: #1f2933;
  text-align: center;
  padding: 12px 10px;
  text-decoration: none;
}

body.product-page-body .korlat-custom-size-button:hover {
  border-color: #f0b800;
  background: #fff8de;
  text-decoration: none;
}

body.product-page-body .korlat-custom-size-button__title {
  display: inline;
  font-size: 13px;
  font-weight: 700;
}

body.product-page-body .korlat-custom-size-button__text {
  display: inline;
  font-size: 13px;
  color: #1f2933;
  margin-left: 4px;
}

body.product-page-body .product-short-description-row {
  display: none !important;
}

body.product-page-body #module_lastseen_wrapper,
body.product-page-body #lastseen,
body.product-page-body [id*="lastseen"],
body.product-page-body [class*="lastseen"] {
  display: none !important;
}

/* Compact cart box - clean B style */
@media (min-width: 992px) {
  body.product-page-body .product-cart-box {
    display: grid !important;
    grid-template-columns: 165px 1fr;
    align-items: stretch !important;
    width: 430px !important;
    max-width: 430px !important;
    min-height: 76px !important;
    padding: 0 !important;
    margin-top: -28px !important;
    margin-left: -20px !important;
    background: #fff !important;
    border: 1px solid #e1e5ea !important;
    border-radius: 6px !important;
    overflow: visible !important;
  }

  body.product-page-body .product-cart-box .product-page-right-box {
    height: 76px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-right: 1px solid #e1e5ea !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
  }

  body.product-page-body .product-cart-box .product-page-price-line {
    margin: 0 !important;
    line-height: 1 !important;
  }

  body.product-page-body .product-cart-box .product-page-price {
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body.product-page-body .product-cart-box .postfix {
    font-size: 15px !important;
    line-height: 1 !important;
    margin-left: 5px !important;
	margin-top: 3px !important;
    font-weight: 500 !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
  }

  body.product-page-body .product-cart-box .product-addtocart {
    height: 76px !important;
    padding: 0 10px 0 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
  }

  body.product-page-body .product-cart-box .product-addtocart-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 52px;
    align-items: center !important;
    column-gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  body.product-page-body .product-cart-box .product_table_quantity {
    display: grid !important;
    grid-template-columns: 46px 96px;
    align-items: center !important;
    column-gap: 8px !important;
    width: 150px !important;
    height: 38px !important;
    margin: 0 !important;
  }

  body.product-page-body .product-cart-box .quantity-text {
    display: block !important;
    grid-column: 1;
    width: 46px !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    color: #111827 !important;
    white-space: normal !important;
  }

  body.product-page-body .product-cart-box .quantity-text::before {
    content: "Menny.";
    display: block;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
  }

/* 只有玻璃商品强制显示 db */
body.product-page-body.uveg-termek
.product-cart-box .quantity-text::after {
  content: "(db)";
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  color: #111827;
}

body.product-page-body.uveg-termek
.product-cart-box .quantity-name-text {
  display: none !important;
}

/* 其他商品显示后台设置的真实单位 */
body.product-page-body:not(.uveg-termek)
.product-cart-box .quantity-text::after {
  content: none !important;
  display: none !important;
}

body.product-page-body:not(.uveg-termek)
.product-cart-box .quantity-name-text {
  display: block !important;
  grid-column: 1;
  grid-row: 2;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  color: #111827 !important;
}

body.product-page-body:not(.uveg-termek)
.product-cart-box .quantity-name-text::before {
  content: "(";
}

body.product-page-body:not(.uveg-termek)
.product-cart-box .quantity-name-text::after {
  content: ")";
}

  body.product-page-body .product-cart-box .bootstrap-touchspin {
    grid-column: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 96px !important;
    height: 36px !important;
    min-width: 96px !important;
    padding: 0 4px !important;
    border: 1px solid #d7d9df !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    position: static !important;
  }

  body.product-page-body .product-cart-box .input-group-prepend,
  body.product-page-body .product-cart-box .input-group-append {
    width: 24px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
  }

  body.product-page-body .product-cart-box .bootstrap-touchspin-down,
  body.product-page-body .product-cart-box .bootstrap-touchspin-up {
    width: 24px !important;
    height: 34px !important;
    min-width: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
  }

  body.product-page-body .product-cart-box .quantity-to-cart {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 34px !important;
    text-align: center !important;
    box-shadow: none !important;
    position: static !important;
  }

  body.product-page-body .product-cart-box .product_table_addtocartbtn {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    justify-self: end !important;
  }

  body.product-page-body .product-cart-box #add_to_cart {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.product-page-body .product-cart-box #add_to_cart span {
    display: none !important;
  }

  body.product-page-body .product-cart-box #add_to_cart .svg-cart-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
  }

  body.product-page-body .product-cart-box .notify-request {
    min-width: 92px !important;
    height: 42px !important;
    border-radius: 21px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 991px) {
  body.product-page-body .product-cart-box {
    max-width: 430px !important;
    padding: 18px 20px !important;
    margin-top: 16px !important;
  }
}

@media (max-width: 575px) {
  body.product-page-body .korlat-width-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  body.product-page-body .product-cart-box {
    max-width: none !important;
    width: 100% !important;
  }
}
/* /KORLATDEPO width picker */

/* KORLATDEPO category product grid */
@media (min-width: 1200px) {
  body.category-list-body .snapshot-list-container .product-snapshot-vertical.grid-style > .product-snapshot.list_div_item {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.category-list-body .snapshot-list-container .product-snapshot-vertical.grid-style > .product-snapshot.list_div_item {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}
/* /KORLATDEPO category product grid */