* {
    font-family: "IRANYekanX", Sans-serif !important;
    direction: rtl; /* برای راست‌چین کردن */
    text-align: right; /* برای متن فارسی */
}

.custom-product-wrapper {
  font-family: inherit;
}

.custom-category {
  background: #fff;
}

.custom-category-title {
  background: #f9de4a;
  padding: 1%;
  font-weight: bold;
  color: #3C5A72;
  border-radius: 5px;
  text-align: right;
  font-size: 0.8em;
}

.custom-product-row{
  display: flex;
  border-bottom: 1px solid #ccc;
  page-break-inside: avoid;
  break-inside: avoid;
  line-height: 1.4;
  flex-direction: row;
}
.variation-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  font-size: 1iem;
}
 
.product-image {
  flex: 0 0 10%;
  text-align: right;
  align-self: center;
}
.jodakonande {
	flex: 1;
  display: flex;
  flex-direction: row;
  justify-content:space-between;
  align-items: baseline;
}
.left{
	margin-right: auto;
}
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2%;
}

.product-title-price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 1em;
  white-space: nowrap;
  color: #813F0B;
  align-items: flex-end;
  }
  

.custom-feature {
  color: #444;
}


.variation-price,
.simple-left {
  /* color: #000; */
  /* min-width: 90px; */
  /* text-align: left; */
}

.variation-attr {
  /* font-size: 15px; */
  /* color: #333; */
  /* text-align: right; */
  /* flex-grow: 1; */
}

.product-footer-attr {
  margin-top: auto;
  font-style: italic;
  color: #555;
  font-size: 1em;
  text-align: left;
}

.no-products {
  padding: 15px;
  color: #777;
  background: #fafafa;
  border-radius: 6px;
  font-style: italic;
  text-align: center;
}

#floating-pdf-button {
  position: fixed;
  bottom: 2.5em;
  left: 1.3em;
  z-index: 9999;
  background-color: #0073aa;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border: none;
  transition: background-color 0.3s ease;
}

#floating-pdf-button:hover {
  background-color: #005a8c;
}


@media print {
  .custom-product-row,
  .simple-product-row,
  .custom-category {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  #floating-pdf-button {
    display: none;
  }
}
@media (max-width: 768px) {
  .variation-price,
  .variation-attr,
  .simple-left,
  .simple-right, 
  .product-attr,
  .custom-feature {
    font-size: 0.7em;
  }
  .product-title {
    font-size: 0.8em;
  }
  #floating-pdf-button {
    position: fixed;
    bottom: 5em;
    left: 1.3em;
  }
  }

