/* Storefront polish (0.28.41) — moved verbatim from Customizer «Additional CSS» into the plugin; the module strips the
   same marked blocks from the Customizer output so this file is the only owner. Blocks: recently-viewed widget (mobile +
   polish) and the WooCommerce all-reviews block on the two review pages. Backup: evidence/customizer-additional-css-backup-20260912.css */
/* ASRTOOLS-RV-POLISH START */
.widget_recently_viewed_products .widget-product-wrap {
  align-items: center !important;
}

.widget_recently_viewed_products .product_list_widget > li {
  position: relative;
  margin: 0 !important;
  padding-block: 12px !important;
}

.widget_recently_viewed_products .product_list_widget > li:first-child {
  padding-top: 0 !important;
}

.widget_recently_viewed_products .product_list_widget > li:not(:last-child) {
  border-bottom: 0 !important;
}

.widget_recently_viewed_products .product_list_widget > li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.106);
  pointer-events: none;
}

.widget_recently_viewed_products .product_list_widget > li:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.widget_recently_viewed_products .widget-product-img img {
  box-sizing: border-box;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px !important;
  background-color: #fff;
}

.widget_recently_viewed_products .price {
  margin-top: 4px;
}

.widget_recently_viewed_products .price:empty {
  min-height: 20px;
}

.widget_recently_viewed_products .price:empty::before {
  content: "در انبار موجود نمی باشد";
  color: rgb(181, 8, 8);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .widget_recently_viewed_products .product_list_widget > li {
    padding-block: 10px !important;
  }

  .widget_recently_viewed_products .product_list_widget > li:first-child {
    padding-top: 0 !important;
  }

  .widget_recently_viewed_products .product_list_widget > li:last-child {
    padding-bottom: 0 !important;
  }

  .wd-search-suggestions .wd-type-product {
    display: block !important;
    width: 100% !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion {
    position: relative;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 100% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.106) !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion:last-child {
    border-bottom: 0 !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion::after {
    content: none !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion-thumb {
    flex: 0 0 52px !important;
    width: 52px !important;
    margin: 0 !important;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion-thumb img {
    box-sizing: border-box;
    width: 52px !important;
    height: 52px !important;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 12px !important;
    background-color: #fff;
    object-fit: contain;
  }

  .wd-search-suggestions .wd-type-product .wd-suggestion-content {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .wd-search-suggestions .wd-type-product .wd-entities-title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 2px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .wd-search-suggestions .wd-type-product .price {
    margin-top: 2px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .wd-search-suggestions .wd-type-product .price:empty::before,
  .wd-search-suggestions .wd-type-product .wd-suggestion:not(:has(.price)) .wd-suggestion-content::after {
    content: "در انبار موجود نمی باشد";
    color: rgb(181, 8, 8);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
  }
}
/* ASRTOOLS-RV-POLISH END */
/* ASRTOOLS-RV-MOBILE START */
@media (max-width: 576px) {
  .widget_recently_viewed_products .widget-product-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .widget_recently_viewed_products .widget-product-img {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .widget_recently_viewed_products .widget-product-img img {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
  }

  .widget_recently_viewed_products .widget-product-info {
    min-width: 0 !important;
  }

  .widget_recently_viewed_products .wd-entities-title {
    display: -webkit-box !important;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .widget_recently_viewed_products li {
    padding-block: 8px !important;
  }
}
/* ASRTOOLS-RV-MOBILE END */
/* BEGIN ASRTOOLS WC REVIEWS POLISH V1 */
:where(body.page-id-158519, body.page-id-162754) .wp-block-woocommerce-all-reviews {
  --asr-review-line: rgba(15, 23, 42, .11);
  --asr-review-border: rgba(15, 23, 42, .14);
  --asr-review-muted: #667085;
  --asr-review-text: #344054;
}

body.page-id-162754 .wp-block-woocommerce-all-reviews {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--asr-review-line);
  border-radius: 20px;
  background: #fff;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list {
  margin: 0;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__item {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 18px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__item:not(:last-child)::after {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  border-radius: 999px;
  background: var(--asr-review-line);
  content: "";
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__info {
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image,
:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image img {
  inline-size: 64px;
  block-size: 64px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image img {
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid var(--asr-review-border);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__meta {
  min-width: 0;
  align-items: center;
  gap: 3px 8px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__product {
  min-width: 0;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__product a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__author,
:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__published-date {
  color: var(--asr-review-muted);
  font-size: 13px;
  line-height: 1.7;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__text {
  color: var(--asr-review-text);
  font-size: 14.5px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__text p {
  margin: 0 0 8px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__text p:last-child {
  margin-bottom: 0;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-sort-select {
  margin-bottom: 18px;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-sort-select select {
  min-block-size: 44px;
  padding-inline: 14px 38px;
  border: 1px solid var(--asr-review-border);
  border-radius: 12px;
  background-color: #fff;
}

:where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__product a:focus-visible,
:where(body.page-id-158519, body.page-id-162754) .wc-block-review-sort-select select:focus-visible,
:where(body.page-id-158519, body.page-id-162754) .wc-block-all-reviews__load-more button:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 3px;
}

@media (max-width: 576px) {
  body.page-id-162754 .wp-block-woocommerce-all-reviews {
    padding: 14px;
    border-radius: 16px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__item {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__info {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image,
  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image img {
    inline-size: 52px;
    block-size: 52px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__image img {
    padding: 3px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__meta {
    gap: 2px 6px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__product a {
    font-size: 14px;
    line-height: 1.55;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-list-item__text {
    font-size: 14px;
    line-height: 1.85;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-sort-select {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
  }

  :where(body.page-id-158519, body.page-id-162754) .wc-block-review-sort-select select {
    width: 100%;
  }
}
/* END ASRTOOLS WC REVIEWS POLISH V1 */
