@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//penocore.com/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.1.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//penocore.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(86,86,86);
	--wd-text-font-size: 15px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(48,166,180);
	--wd-alternative-color: rgb(48,166,180);
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgb(221,153,51);
	--btn-default-bgcolor: rgb(48,166,180);
	--btn-default-bgcolor-hover: rgb(48,166,180);
	--btn-default-color: rgb(48,166,180);
	--btn-default-color-hover: rgb(48,166,180);
	--btn-accented-bgcolor: rgb(48,166,180);
	--btn-accented-bgcolor-hover: rgb(48,166,180);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgba(48,166,180,0.85);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post .wd-entities-title {
	font-size: 18px;
}
.page .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


:root {
  --data-display-border-line: #d8dde3;
  --data-display-header-fill: #f0f3f6;
  --data-display-header-font-color: #1c252e;
  --data-display-row-fill-primary: #ffffff;
  --data-display-row-fill-secondary: #f7f8fa;
  --data-display-row-font-color: #28333e;
  --data-display-row-hover-fill: #A6E0E0;
  --data-display-cell-pad-y: 12px;
  --data-display-cell-pad-x: 15px;
  --data-display-base-font-size: 0.95em;
  --data-display-caption-font-color: #424a53;
  --data-display-caption-size: 1.25em;
}

@keyframes pno-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes podFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =================================================================== */
/* ==                  ۲. استایل‌های کامپوننت‌ها                     == */
/* =================================================================== */

/* --- جداول --- */
.smc-gpt table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  text-align: left;
  background-color: #f9f9f9;
  display: block;
  overflow-x: auto;
}
.smc-gpt th {
  background-color: #007bff;
  color: #ffffff;
  font-weight: bold;
  padding: 10px;
  border: 1px solid #ddd;
}
.smc-gpt td {
  padding: 10px;
  border: 1px solid #ddd;
}
.smc-gpt tr:nth-child(even) {
  background-color: #f2f2f2;
}
.smc-gpt tr:hover {
  background-color: #e2e2e2;
}

.unique-table-scroll-container {
  width: 100%;
}
.styled-data-table-v2 {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--data-display-font-stack);
  font-size: var(--data-display-base-font-size);
  color: var(--data-display-row-font-color);
  margin-bottom: 1rem;
  background-color: var(--data-display-row-fill-primary);
}
.styled-data-table-v2 caption {
  padding-top: var(--data-display-cell-pad-y);
  padding-bottom: var(--data-display-cell-pad-y);
  font-size: var(--data-display-caption-size);
  font-weight: 600;
  text-align: right;
  color: var(--data-display-caption-font-color);
  caption-side: top;
}
.styled-data-table-v2 th,
.styled-data-table-v2 td {
  padding: var(--data-display-cell-pad-y) var(--data-display-cell-pad-x);
  text-align: right;
  vertical-align: middle;
  border: 1px solid var(--data-display-border-line);
}
.styled-data-table-v2 thead th {
  background-color: var(--data-display-header-fill);
  color: var(--data-display-header-font-color);
  font-weight: 600;
  vertical-align: middle;
  border-bottom-width: 2px;
  white-space: nowrap;
}
.styled-data-table-v2 tbody tr:nth-child(even) {
  background-color: var(--data-display-row-fill-secondary);
}
.styled-data-table-v2 tbody tr:hover {
  background-color: var(--data-display-row-hover-fill);
}

.table-wrapper {
  overflow-x: auto;
  direction: rtl;
  max-width: 100%;
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  min-width: 900px;
  width: 100%;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
}
th, td {
  padding: 10px 15px;
  border: 1px solid #ccc;
  text-align: center;
  white-space: nowrap;
}
th {
  background-color: #f0f0f0;
  font-weight: bold;
}
tr:nth-child(even) {
  background-color: #fafafa;
}

/* --- آکاردئون‌ها --- */
.pno-accordion {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background-color: #F6F4F0;
}
.pno-accordion-item {
  border-bottom: 1px solid #2E5077;
  margin-bottom: 10px;
}
.pno-accordion-header {
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #FFFFFF;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  letter-spacing: 1px;
  background-color: #4DA1A9;
}
.pno-accordion-header:hover {
  background-color: #79D7BE;
  transform: scale(1.05);
}
.pno-accordion-title {
  margin: 0;
  font-size: 1.2em;
  color: #FFFFFF;
}
.pno-accordion-content {
  display: none;
  padding: 20px;
  border-top: 1px solid #2E5077;
  animation: pno-fadeIn 0.3s ease-in-out;
  color: #2E5077;
  border-radius: 0 0 4px 4px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.pno-accordion-content p {
  margin: 0;
  font-size: 1.1em;
  color: #2E5077;
}
.pno-accordion-item.active .pno-accordion-content {
  display: block;
}
.pno-accordion-header.active {
  background-color: #2E5077;
  transform: scale(1.05);
  color: #FFFFFF;
}

.my-accordion {
  width: 100%;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.my-accordion-item {
  border-bottom: 1px solid #ccc;
}
.my-accordion-header,
.my-accordion-content {
  display: flex;
  align-items: center;
  padding: 10px;
}
.my-accordion-header {
  background-color: #f7f7f7;
  cursor: pointer;
}
.my-accordion-header .my-header-image {
  max-width: 150px;
  margin-left: 20px;
}
.accordionimage1 {
  max-width: 150px;
  margin-right: 20px;
}
.my-accordion-header .my-header-content,
.my-accordion-content .my-content-text {
  flex-grow: 1;
}
.my-accordion-header h2, .my-accordion-header h3, .my-accordion-header p,
.my-accordion-content h2, .my-accordion-content h3, .my-accordion-content p {
  margin: 0;
}
.my-accordion-content {
  display: none;
}
.my-accordion-content .my-content-text h2,
.my-accordion-content .my-content-text h3,
.my-accordion-content .my-content-text p {
  margin-bottom: 10px;
}
.my-accordion-header h3{
  font-size: 15px;
  color: gray;
}
.my-accordion-header h2{
  color: blue;
}

/* --- لیست‌های رنگی --- */
ul.ulg li strong {
  color: green;
}
ol.ulo li strong,
ul.ulo li strong {
  color: orange;
}
ul.ulr li strong {
  color: red;
}
.FAQ strong {
  color: #008218;
}
.abi strong {
  color: #1c3bbf;
}


/* --- سوالات متداول (FAQ) --- */
.pod-faq-container {
  max-width: 90%;
  margin: 20px auto;
  padding: 25px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.pod-faq-container h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 2em;
}
#pod-faq-search {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 30px;
  border: 1px solid #ccd1d9;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1.05em;
  font-family: 'Vazirmatn', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#pod-faq-search:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}
.pod-faq-item {
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 12px;
}
.pod-faq-item:last-child {
  border-bottom: none;
}
.pod-faq-question {
  display: block;
  padding: 18px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #154A8B;
  background-color: #F7F7F7;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1.1em;
  border-radius: 6px 6px 0 0;
}
.pod-faq-question:hover {
  background-color: #eeeeee;
}
details[open] > .pod-faq-question {
  color: #FB6A1A;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.pod-faq-question::marker,
.pod-faq-question::-webkit-details-marker {
  display: none;
}
.pod-faq-question::after {
  content: '▼';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  color: #154A8B;
  transition: transform 0.3s ease, color 0.2s ease;
}
details[open] > .pod-faq-question::after {
  transform: translateY(-50%) rotate(180deg);
  color: #FF9900;
}
.pod-faq-answer {
  padding: 20px 25px;
  background-color: white;
  border: 1px solid #e8ecf1;
  border-top: none;
  animation: podFadeIn 0.5s ease;
  color: black;
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
}
.pod-faq-answer strong {
  color: #30A6B4;
}
.pod-faq-answer p,
.pod-faq-answer ul,
.pod-faq-answer table {
  margin-bottom: 15px;
}
.pod-faq-answer ul {
  padding-right: 25px;
}
.pod-faq-answer ul li {
  margin-bottom: 8px;
}
.pod-faq-item.pod-hidden {
  display: none;
}
.pod-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 0.95em;
}
.pod-comparison-table th,
.pod-comparison-table td {
  border: 1px solid #dfe6e9;
  padding: 10px 12px;
  text-align: right;
}
.pod-comparison-table th {
  background-color: #e9f1f6;
  color: #2c3e50;
  font-weight: bold;
}
.pod-comparison-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}
.pod-comparison-table tbody tr:hover {
  background-color: #e0eaf1;
}
.pod-comparison-table strong {
  color: #34495e;
}

/* --- نظرات کاربران (Testimonials) --- */
.testimonial-box {
  max-width: 600px;
  margin: 20px auto;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-right: 5px solid #00b894;
  padding: 20px;
  border-radius: 10px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 15px;
  background: url('https://penocore.com/wp-content/uploads/2024/05/Webp-Logo-Penocore.webp') no-repeat center;
  background-size: cover;
}
.testimonial-name {
  font-weight: bold;
  font-size: 18px;
  color: #2d3436;
}
.testimonial-content {
  font-size: 15px;
  line-height: 1.8;
}
.highlight {
  color: #0984e3;
  font-weight: bold;
}

/* --- گالری محصولات (Valve Gallery) --- */
.page-title-container {
  text-align: center;
  margin-bottom: 30px;
  color: #683033;
}
.page-title-container h1 {
  font-size: 2em;
  border-bottom: 2px solid #3DB7B9;
  display: inline-block;
  padding-bottom: 10px;
}
.valve-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
}
.valve-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #D2D1D4;
}
.valve-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.valve-image-container {
  width: 100%;
  padding-top: 75%;
  position: relative;
  background-color: #D2D1D4;
  overflow: hidden;
}
.valve-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.valve-info {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.valve-name {
  font-size: 1.3em;
  color: #683033;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}
.valve-code {
  font-size: 0.8em;
  color: #8c5f61;
  font-weight: normal;
}
.valve-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: #683033;
  margin-bottom: 18px;
  flex-grow: 0;
  flex-shrink: 1;
  max-height: 9.6em;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 8px;
  scrollbar-width: thin;
  scrollbar-color: #3DB7B9 #D2D1D4;
}
.valve-description::-webkit-scrollbar {
  width: 8px;
}
.valve-description::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}
.valve-description::-webkit-scrollbar-thumb {
  background-color: #3DB7B9;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}
.valve-description::-webkit-scrollbar-thumb:hover {
  background-color: #2A8E8F;
}
.valve-catalog-link {
  display: inline-block;
  background-color: #3DB7B9;
  color: #ffffff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  margin-top: auto;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  border: none;
}
.valve-catalog-link:hover {
  background-color: #2A8E8F;
}
.valve-sizes-section h4 {
  font-size: 1.05em;
  color: #683033;
  margin-bottom: 10px;
  border-bottom: 1px solid #D2D1D4;
  padding-bottom: 8px;
}
.valve-size-select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #D2D1D4;
  border-radius: 6px;
  background-color: #fff;
  font-size: 0.95em;
  color: #683033;
  cursor: pointer;
  appearance: none;
  background-repeat: no-repeat;
  background-position: left 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  padding-left: 2.5em;
}
.valve-size-select:disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
  opacity: 0.7;
}
.valve-size-select::-ms-expand {
  display: none;
}
.valve-size-details {
  display: none;
  padding: 12px 15px;
  border: 1px solid #D2D1D4;
  border-radius: 6px;
  background-color: #f9f9f9;
  margin-top: 5px;
  animation: fadeIn 0.4s ease-in-out;
}
.valve-size-details h5 {
  font-size: 1em;
  color: #683033;
  margin-top: 0;
  margin-bottom: 10px;
}
.valve-size-details ul {
  list-style-type: disc;
  padding-right: 20px;
  margin: 0;
  font-size: 0.88em;
  color: #683033;
}
.valve-size-details ul li {
  margin-bottom: 7px;
  line-height: 1.5;
}
.sub-model-image {
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 6px;
  border: 1px solid #D2D1D4;
  padding: 5px;
  background-color: #fff;
}

/* --- گرید محصولات Norgren --- */
.norgren-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}
.norgren-product-card {
  border: 1px solid #ccc;
  overflow: hidden;
  text-align: center;
  font-family: sans-serif;
  background: #fff;
  transition: transform 0.3s ease;
}
.norgren-product-card:hover {
  transform: scale(1.02);
}
.norgren-product-card:hover .norgren-product-overlay {
  opacity: 1;
}
.norgren-product-card:hover img {
  opacity: 0.3;
}
.norgren-product-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.norgren-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.norgren-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.norgren-product-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  font-size: 14px;
}
.norgren-product-card h3 {
  font-size: 16px;
  margin: 10px 0 5px;
}
.norgren-product-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* --- استایل‌های متفرقه --- */
.post.blog-post-loop .post-title {
  font-size: 17px;
  min-height: 45px;
  max-height: 45px;
  overflow: hidden;
}
.mc4wp-form>div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start; /* Final value from cascade */
  margin-right: 17px;
  margin-left: 17px;
}
.mc4wp-form-fields p {
  margin-bottom: 0;
}
.mc4wp-form>div>p:first-child {
  flex: 1 1 200px;
  max-width: 560px; /* Final value from cascade */
  width: 100%;
  margin-bottom: 0;
}
body.home .wd-img-width .cat-design-alt .category-image-wrapp {
  border-radius: 100%;
  border: 4px solid #F0F0F1;
}
.submit-wd {
  background: var(--wd-primary-color);
  color: #fff;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
body.home .product-wrapper {
  /* max-height was empty, so it's removed */
}
.table-of-contents a {
  text-decoration: none;
  color: #007BFF;
}
.table-of-contents a:hover {
  text-decoration: underline;
}
.container2 > section {
  margin-bottom: 40px;
}

/* --- کارت محصول Peno (تعریف مجدد و ادغام شده) --- */
.peno-card-container {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 10px;
  flex-wrap: wrap;
  max-width: 700px; /* Final value from cascade */
  margin: 0 auto;
}
.peno-card {
  width: 32%;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.peno-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}
.peno-card:hover .peno-slider img:not(:first-child) {
  opacity: 1;
}
.peno-card:hover .peno-card-buttons {
  display: flex;
}
.peno-slider {
  position: relative;
  width: 100%;
  height: 250px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.peno-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.peno-slider img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.peno-card-content {
  padding: 15px;
}
.peno-card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.peno-card-content h4 {
  padding: 0; /* Corrected from -1px */
  margin: 0; /* Corrected from -1px */
}
.peno-card-buttons {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 10px;
}
.peno-card-buttons button {
  background: #fff;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.peno-card-buttons button:hover {
  background: #f0f0f0;
}
.peno-price-inquiry {
  display: block;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}
.peno-price-inquiry:hover {
  background: #0056b3;
}


/* =================================================================== */
/* ==         ۳. استایل‌های واکنش‌گرا (Consolidated Media Queries)   == */
/* =================================================================== */

@media (max-width: 820px) {
  .festo-valve-page-container {
    padding: 15px;
  }
  .valve-gallery {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
  .page-title-container h1 {
    font-size: 1.8em;
  }
  .valve-info {
    padding: 15px 20px;
  }
  .valve-name {
    font-size: 1.2em;
  }
  .valve-description {
    max-height: 8em;
  }
}

@media (max-width: 768px) {
  .unique-table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .styled-data-table-v2 {
    min-width: 800px;
  }
  .styled-data-table-v2 th,
  .styled-data-table-v2 td {
    padding: 10px 8px;
  }
  .styled-data-table-v2 caption {
    font-size: 1.1em;
  }
  .pod-faq-container {
    margin: 15px;
    padding: 20px;
  }
  .pod-faq-container h1 {
    font-size: 1.7em;
  }
  .pod-faq-question {
    font-size: 1em;
    padding: 15px 10px;
  }
  .pod-faq-answer {
    padding: 15px 20px;
  }
  .pod-comparison-table th,
  .pod-comparison-table td {
    font-size: 0.9em;
    padding: 8px;
  }
  .table-of-contents p {
    margin-bottom: 10px;
    border-bottom: 1px solid;
    max-width: 200px;
  }
  .table-of-contents li {
    margin-bottom: 15px;
    font-size: 15px;
  }
  .peno-card {
    width: calc(50% - 20px);
  }
  .my-accordion-header,
  .my-accordion-content {
    flex-direction: column;
    align-items: center;
  }
  .my-accordion-header .my-header-image {
    margin-left: 0;
    margin-top: 10px;
  }
  .my-accordion-content img {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .pod-faq-container {
    padding: 15px;
  }
  .pod-faq-container h1 {
    font-size: 1.5em;
  }
  #pod-faq-search {
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .pod-comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .pod-comparison-table th,
  .pod-comparison-table td {
    white-space: normal;
    min-width: 100px;
  }
  .testimonial-box {
    margin: 10px;
    padding: 15px;
  }
  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-avatar {
    margin: 0 0 10px 0;
  }
  .testimonial-name {
    font-size: 16px;
    text-align: right;
  }
  .testimonial-content {
    font-size: 14px;
    line-height: 1.6;
  }
  .festo-valve-page-container {
    padding: 10px;
  }
  .valve-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-title-container h1 {
    font-size: 1.5em;
  }
  .valve-card {
    border-radius: 10px;
  }
  .valve-info {
    padding: 15px;
  }
  .valve-name {
    font-size: 1.15em;
  }
  .valve-description {
    font-size: 0.85em;
    max-height: 7.5em;
  }
  .valve-catalog-link {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  .valve-sizes-section h4 {
    font-size: 1em;
  }
  .valve-size-select {
    padding: 9px 10px;
    font-size: 0.9em;
    padding-left: 2.2em;
  }
  .valve-size-details ul {
    font-size: 0.82em;
  }
  .norgren-product-grid {
    grid-template-columns: 1fr;
  }
  table {
    border: 0;
    min-width: unset;
  }
  thead {
    display: none;
  }
  tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }
  td {
    display: flex;
    justify-content: space-between;
    text-align: right;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }
  td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #444;
  }
  td:last-child {
    border-bottom: none;
  }
  .peno-card {
    width: 100%;
  }
}
/* =================================================================== */
/* بخش ۱: استایل‌های عمومی کامپوننت و هدر دسته بندی                    */
/* =================================================================== */

.pno3-component-wrapper {
    background-color: #f0f2f5;
    padding: 4.5rem;
}

.pno3-product-category {
    max-width: 1200px;
	    align-items: center;
}

.pno3-category-header {
    margin-bottom: 1.5rem;
}

.pno3-category-title {
    display: inline-flex;
    background-color: #ffffff;
    color: #37474f;
    font-size: 1.5rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pno3-category-title::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #14b8a6;
    border-radius: 50%;
    margin-right: 12px;
}

.pno3-category-description {
    background-color: #ffffff;
    color: #455a64;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: right;
}

/* =================================================================== */
/* بخش ۲: استایل‌های کارت محصول (pno3)                                 */
/* =================================================================== */

.pno3-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.pno3-product-card {
    background-color: #fff;
    border: 2px solid #b0cce3;
    border-radius: 16px;
    position: relative;
    transition: border-color 0.4s ease; /* فقط انیمیشن تغییر رنگ کادر باقی می‌ماند */
}

.pno3-card-content {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
}

.pno3-card-image {
    margin: 0 0 1rem 0;
}

.pno3-card-image img {
    max-width: 180px;
    height: auto;
}

.pno3-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #263238;
    margin: 0.5rem 0;
}

.pno3-card-description {
    color: #546e7a;
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: 60px; /* ارتفاع اولیه در حالت بسته */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out; /* انیمیشن نرم برای ارتفاع */
    text-align: center;
}

.pno3-frosted-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #ffffff 80%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease; /* انیمیشن نرم برای محو شدن */
}

.pno3-toggle-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 50px;
    height: 50px;
    background-color: #14b8a6;
    color: white;
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 300;
    line-height: 44px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s ease;
}

.pno3-btn-download {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.pno3-btn-download:hover {
    background-color: #0056b3;
}
@media (max-width: 768px) {
    /* کاهش پدینگ اصلی در موبایل */
    .pno3-component-wrapper {
        padding: 2rem 1rem; /* فاصله عمودی و افقی کمتر */
    }

    /* کاهش اندازه فونت عنوان برای جاگیری بهتر */
    .pno3-category-title {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }

    /* کاهش اندازه فونت توضیحات */
    .pno3-category-description {
        font-size: 0.95rem;
    }
}