.elementor-143 .elementor-element.elementor-element-ff1c823{--display:flex;--margin-top:010px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta .elementor-cta__bg, .elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta .elementor-cta__bg-overlay{transition-duration:300ms;}.elementor-143 .elementor-element.elementor-element-3f76ec2 > .elementor-widget-container{border-style:none;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__content{min-height:50px;justify-content:flex-start;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .skeleton-item{min-height:50px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .skeleton-item:before{padding-top:50px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__bg-wrapper{border-radius:19px 19px 19px 19px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__title{font-size:25px;line-height:25px;color:#FFFFFF;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-content-item.elementor-cta__title{margin-bottom:13px;padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__subtitle{font-weight:200;color:var( --e-global-color-border );}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__subtitle span:before{background-color:var( --e-global-color-border );}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__bg{filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}.elementor-143 .elementor-element.elementor-element-c65f7d7{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-ziggy-heading .elementor-heading-title span{color:var( --e-global-color-primary );}.elementor-widget-ziggy-heading .elementor-heading-title a span{color:var( --e-global-color-primary );}.elementor-143 .elementor-element.elementor-element-9c0d6e8{text-align:right;}.elementor-143 .elementor-element.elementor-element-9c0d6e8 > .elementor-widget-container{margin:20px 0px 20px 0px;padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-9c0d6e8 .elementor-heading-title span{color:var( --e-global-color-dark );}.elementor-143 .elementor-element.elementor-element-9c0d6e8 .elementor-heading-title a span{color:var( --e-global-color-dark );}.elementor-143 .elementor-element.elementor-element-9c0d6e8 .elementor-heading-title{font-size:27px;line-height:40px;}.elementor-143 .elementor-element.elementor-element-65a4254{--display:grid;--e-con-grid-template-columns:repeat(4, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--gap:30px 30px;--row-gap:30px;--column-gap:30px;--grid-auto-flow:row;--justify-items:center;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-143 .elementor-element.elementor-element-65a4254.e-con{--flex-grow:1;--flex-shrink:0;}.elementor-143 .elementor-element.elementor-element-8dba46a{--display:flex;--min-height:180px;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--border-radius:19px 19px 19px 19px;--margin-top:0px;--margin-bottom:0px;--margin-left:30px;--margin-right:030px;}.elementor-143 .elementor-element.elementor-element-8dba46a:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-8dba46a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EDEBEB;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-143 .elementor-element.elementor-element-3a2a8f2 .elementor-heading-title{font-size:25px;color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-9af5f60{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--border-radius:19px 19px 19px 19px;--margin-top:0px;--margin-bottom:0px;--margin-left:30px;--margin-right:030px;}.elementor-143 .elementor-element.elementor-element-9af5f60:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-9af5f60 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EDEBEB;}.elementor-143 .elementor-element.elementor-element-4ef1fd1 .elementor-heading-title{font-size:25px;color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-537af77{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--border-radius:19px 19px 19px 19px;--margin-top:0px;--margin-bottom:0px;--margin-left:30px;--margin-right:030px;}.elementor-143 .elementor-element.elementor-element-537af77:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-537af77 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EDEBEB;}.elementor-143 .elementor-element.elementor-element-b42d803 .elementor-heading-title{font-size:25px;color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-9928329{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--border-radius:19px 19px 19px 19px;--margin-top:0px;--margin-bottom:0px;--margin-left:30px;--margin-right:030px;}.elementor-143 .elementor-element.elementor-element-9928329:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-9928329 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EDEBEB;}.elementor-143 .elementor-element.elementor-element-7e3aef5 .elementor-heading-title{font-size:25px;color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-b933db8{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;}.elementor-143 .elementor-element.elementor-element-9b195e6 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-9b195e6 .elementor-heading-title span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-9b195e6 .elementor-heading-title a span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-9b195e6 .elementor-heading-title{font-size:27px;}.elementor-143 .elementor-element.elementor-element-449a78f.elementor-widget-button .elementor-button .elementor-align-icon-after{margin-right:-5px;}.elementor-143 .elementor-element.elementor-element-449a78f .elementor-button{font-size:15px;font-weight:800;}.elementor-143 .elementor-element.elementor-element-ee36a4b{--display:flex;}.elementor-143 .elementor-element.elementor-element-e9dc0c0{--display:flex;}.elementor-143 .elementor-element.elementor-element-7494508{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;}.elementor-143 .elementor-element.elementor-element-781b015 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title a span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title{font-size:27px;}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title i{font-size:20px;}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title a i{font-size:20px;}.elementor-143 .elementor-element.elementor-element-c00e490.elementor-widget-button .elementor-button .elementor-align-icon-after{margin-right:-5px;}.elementor-143 .elementor-element.elementor-element-c00e490 .elementor-button{font-size:15px;font-weight:800;}.elementor-143 .elementor-element.elementor-element-95bbfc8{--display:flex;}.elementor-143 .elementor-element.elementor-element-7d9a697{--display:flex;--border-radius:20px 20px 20px 20px;}.elementor-143 .elementor-element.elementor-element-7d9a697:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-7d9a697 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-border );}.elementor-143 .elementor-element.elementor-element-246d4c5 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-246d4c5 .elementor-heading-title span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-246d4c5 .elementor-heading-title a span{color:var( --e-global-color-secondary );}.elementor-143 .elementor-element.elementor-element-246d4c5 .elementor-heading-title{font-size:27px;}.elementor-143 .elementor-element.elementor-element-07692cb{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-143 .elementor-element.elementor-element-2be40e5{--display:flex;}.elementor-143 .elementor-element.elementor-element-2be40e5:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-2be40e5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-143 .elementor-element.elementor-element-8f5c2e9{--display:flex;}.elementor-143 .elementor-element.elementor-element-8f5c2e9:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-8f5c2e9 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-143 .elementor-element.elementor-element-671c3f5{--display:flex;}.elementor-143 .elementor-element.elementor-element-671c3f5:not(.elementor-motion-effects-element-type-background), .elementor-143 .elementor-element.elementor-element-671c3f5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}@media(max-width:1366px){.elementor-143 .elementor-element.elementor-element-ff1c823{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-143 .elementor-element.elementor-element-65a4254{--grid-auto-flow:row;}.elementor-143 .elementor-element.elementor-element-07692cb{--gap:10px 10px;--row-gap:10px;--column-gap:10px;}.elementor-143 .elementor-element.elementor-element-2be40e5{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--border-radius:20px 20px 20px 20px;}.elementor-143 .elementor-element.elementor-element-8f5c2e9{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--border-radius:20px 20px 20px 20px;}.elementor-143 .elementor-element.elementor-element-671c3f5{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--border-radius:20px 20px 20px 20px;}}@media(max-width:1200px){.elementor-143 .elementor-element.elementor-element-65a4254{--grid-auto-flow:row;}}@media(max-width:1024px){.elementor-143 .elementor-element.elementor-element-65a4254{--grid-auto-flow:row;}}@media(max-width:880px){.elementor-143 .elementor-element.elementor-element-65a4254{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-143 .elementor-element.elementor-element-ff1c823{--margin-top:-17px;--margin-bottom:-17px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-143 .elementor-element.elementor-element-3f76ec2{width:100%;max-width:100%;}.elementor-143 .elementor-element.elementor-element-3f76ec2 > .elementor-widget-container{margin:5px 10px -20px 10px;padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-3f76ec2.elementor-element{--align-self:stretch;--flex-grow:1;--flex-shrink:0;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__content{min-height:20px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .skeleton-item{min-height:20px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .skeleton-item:before{padding-top:20px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__title{font-size:20px;line-height:0px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-cta__subtitle{line-height:25px;}.elementor-143 .elementor-element.elementor-element-3f76ec2 .elementor-content-item.elementor-cta__subtitle{margin-bottom:0px;}.elementor-143 .elementor-element.elementor-element-9c0d6e8 > .elementor-widget-container{margin:15px 20px 20px 0px;padding:20px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-9c0d6e8 .elementor-heading-title{font-size:19px;}.elementor-143 .elementor-element.elementor-element-65a4254{--content-width:93%;--min-height:0px;--e-con-grid-template-columns:repeat(4, 1fr);--gap:10px 10px;--row-gap:10px;--column-gap:10px;--grid-auto-flow:row;--align-items:center;--margin-top:10px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;}.elementor-143 .elementor-element.elementor-element-65a4254.e-con{--align-self:center;}.elementor-143 .elementor-element.elementor-element-8dba46a{--min-height:50px;--margin-top:0px;--margin-bottom:0px;--margin-left:10px;--margin-right:10px;}.elementor-143 .elementor-element.elementor-element-3a2a8f2 .elementor-heading-title{font-size:13px;}.elementor-143 .elementor-element.elementor-element-9af5f60{--margin-top:0px;--margin-bottom:0px;--margin-left:010px;--margin-right:010px;}.elementor-143 .elementor-element.elementor-element-4ef1fd1 .elementor-heading-title{font-size:13px;}.elementor-143 .elementor-element.elementor-element-537af77{--margin-top:0px;--margin-bottom:0px;--margin-left:10px;--margin-right:10px;}.elementor-143 .elementor-element.elementor-element-b42d803 .elementor-heading-title{font-size:13px;}.elementor-143 .elementor-element.elementor-element-9928329{--margin-top:0px;--margin-bottom:0px;--margin-left:010px;--margin-right:10px;}.elementor-143 .elementor-element.elementor-element-7e3aef5 .elementor-heading-title{font-size:13px;}.elementor-143 .elementor-element.elementor-element-b933db8{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:15px;}.elementor-143 .elementor-element.elementor-element-9b195e6{text-align:right;}.elementor-143 .elementor-element.elementor-element-9b195e6 > .elementor-widget-container{margin:0px 7px 0px 0px;}.elementor-143 .elementor-element.elementor-element-9b195e6 .elementor-heading-title{font-size:19px;}.elementor-143 .elementor-element.elementor-element-ee36a4b{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:15px;}.elementor-143 .elementor-element.elementor-element-03cb901 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-7494508{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:15px;}.elementor-143 .elementor-element.elementor-element-781b015{text-align:right;}.elementor-143 .elementor-element.elementor-element-781b015 > .elementor-widget-container{margin:0px 7px 0px 0px;}.elementor-143 .elementor-element.elementor-element-781b015 .elementor-heading-title{font-size:19px;}.elementor-143 .elementor-element.elementor-element-95bbfc8{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:15px;}.elementor-143 .elementor-element.elementor-element-76fdecf > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-143 .elementor-element.elementor-element-246d4c5{text-align:right;}.elementor-143 .elementor-element.elementor-element-246d4c5 > .elementor-widget-container{margin:0px 7px 0px 0px;}.elementor-143 .elementor-element.elementor-element-246d4c5 .elementor-heading-title{font-size:19px;}.elementor-143 .elementor-element.elementor-element-07692cb{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}}@media(min-width:768px){.elementor-143 .elementor-element.elementor-element-65a4254{--content-width:1290px;}}/* Start custom CSS for shortcode, class: .elementor-element-03cb901 */:root {
  --pettori-navy: #1B154A;
  --pettori-coral: #F05650;
  --pettori-lavender: #CBBBD8;
  --pettori-lavender-light: #F1ECF6;
  --pettori-text-muted: #8A87A0;
  --pettori-border: #EDEAF2;
}

/* --- تب‌های دسته‌بندی --- */
.pettori-tab-btn {
  background-color: #FFFFFF !important;
  color: var(--pettori-text-muted) !important;
  border: 1px solid var(--pettori-border) !important;
  font-weight: 500 !important;
}
.pettori-tab-btn.active {
  background-color: var(--pettori-navy) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

/* --- کارت محصول: پس‌زمینه رنگی چرخشی برای ناحیه تصویر --- */
#pettori-products-container ul.products li.product {
  background: #FFFFFF !important;
  border: 1px solid var(--pettori-border) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* ناحیه تصویر هر کارت: پس‌زمینه رنگی، نه سفید خالی */
.pettori-img-wrap {
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 160px !important;
  padding: 10px !important;
}

.pettori-img-wrap img {
  margin: 0 !important;
  border-radius: 10px !important;

}

/* محتوای زیر تصویر (عنوان، قیمت، موجودی، دکمه) padding داخلی بگیرد */
.pettori-card-footer,
.pettori-product-title {
  padding: 0 14px !important;
}
.pettori-product-title {
  padding-top: 12px !important;
  color: var(--pettori-navy) !important;
  font-size: 13px !important;
}
.pettori-card-footer {
  padding-bottom: 14px !important;
}

/* --- قیمت: رنگ مرجانی پروتوتایپ، نه نارنجی --- */
.pettori-product-price,
.pettori-product-price ins {
  color: var(--pettori-coral) !important;
  font-weight: 700 !important;
}
.pettori-product-price del {
  color: var(--pettori-text-muted) !important;
}
.pettori-product-price .woocommerce-Price-currencySymbol {
  color: var(--pettori-text-muted) !important;
}

/* --- موجودی انبار: خاکستری ملایم، عدد سبز --- */
.pettori-product-stock {
  color: var(--pettori-text-muted) !important;
  font-size: 11px !important;
}
.pettori-product-stock .stock-num {
  color: #1E8A55 !important; /* سبز، نشانه موجود بودن - نه نیوی */
  font-weight: 600 !important;
}

/* --- دکمه سبد خرید: مربع نیوی گوشه‌گرد --- */
.pettori-cart-btn {
  background-color: var(--pettori-navy) !important;
  border-radius: 10px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pettori-cart-btn svg {
  stroke: #FFFFFF !important;
}/* ===== اصلاح گرید: تعریف قوی‌تر برای جلوگیری از تداخل با استایل پیش‌فرض ووکامرس ===== */

#pettori-products-container ul.products.pettori-custom-products,
ul.products.columns-4.pettori-custom-products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  #pettori-products-container ul.products.pettori-custom-products,
  ul.products.columns-4.pettori-custom-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* هر کارت باید دقیقاً عرض ستون خودش را بگیرد، نه عرض ذاتی خودش */
#pettori-products-container ul.products.pettori-custom-products li.product,
ul.products.columns-4.pettori-custom-products li.product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  grid-column: span 1 !important;
}

/* ردیف قیمت/موجودی و دکمه کنار هم */
.pettori-price-stock-wrap {
  display: flex !important;
  flex-direction: column !important;
}
.pettori-card-footer {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
/* ===== افزودن: ارتفاع یکسان کارت‌ها (برای هم‌تراز شدن دکمه‌ها) + رنگ فقط برای محصولات بی‌عکس ===== */

/* کارت‌ها باید ارتفاع یکسان بگیرند تا دکمه‌ها هم‌خط بیفتند */
#pettori-products-container ul.products.pettori-custom-products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
#pettori-products-container ul.products.pettori-custom-products li.product .pettori-card-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  height: 100% !important;
}
.pettori-product-title {
  flex-grow: 0 !important;
}
.pettori-card-footer {
  margin-top: auto !important; /* همیشه فوتر (قیمت+دکمه) را به ته کارت می‌چسباند */
}

/* رنگ پس‌زمینه چرخشی، فقط وقتی تصویر محصول placeholder ووکامرس است (یعنی محصول عکس واقعی ندارد) */
#pettori-products-container ul.products.pettori-custom-products li.product:has(img[src*="placeholder"]):nth-of-type(4n+1) .pettori-img-wrap {
  background-color: var(--pettori-lavender) !important;
}
#pettori-products-container ul.products.pettori-custom-products li.product:has(img[src*="placeholder"]):nth-of-type(4n+2) .pettori-img-wrap {
  background-color: #DCEBF7 !important;
}
#pettori-products-container ul.products.pettori-custom-products li.product:has(img[src*="placeholder"]):nth-of-type(4n+3) .pettori-img-wrap {
  background-color: #F5D9C8 !important;
}
#pettori-products-container ul.products.pettori-custom-products li.product:has(img[src*="placeholder"]):nth-of-type(4n+4) .pettori-img-wrap {
  background-color: #EFE3D0 !important;
}
/* اگر کارت چهارم نبود و باقی مانده مثلاً پنجم بود، همان چرخه ۴تایی ادامه پیدا می‌کند خودکار *//* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-76fdecf *//* استایل کلی بخش تب‌ها */
.pettori-tabs-wrapper {
    width: 100%;
    margin: 15px 0;
    direction: rtl !important;
    font-family: 'Vazirmatn', 'Vazir', tahoma, sans-serif !important;
}

/* چیدمان دکمه‌ها در دسکتاپ */
.pettori-tabs-buttons {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    direction: rtl !important;
}

/* استایل عمومی دکمه‌ها */
.pettori-tab-btn {
    font-family: 'Vazirmatn', 'Vazir', tahoma, sans-serif !important;
    background-color: #f2f3f8;
    color: #777777;
    border: none;
    outline: none;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap; /* جلوگیری از شکستن متن دکمه */
    transition: all 0.25s ease-in-out;
    flex-shrink: 0; /* جلوگیری از جمع شدن دکمه‌ها */
}

/* دکمه فعال */
.pettori-tab-btn.active {
    background-color: #1b1464 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(27, 20, 100, 0.2);
}

/* ------------------------------------ */
/* تنظیمات ویژه موبایل و تبلت (Responsive) */
/* ------------------------------------ */
@media (max-width: 768px) {
    /* اسکرول افقی دکمه‌ها در یک خط */
    .pettori-tabs-buttons {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch; /* اسکرول نرم در آیفون */
        scrollbar-width: none; /* مخفی کردن اسکرول‌بار در فایرفاکس */
    }

    /* مخفی کردن اسکرول‌بار در کروم و سافاری */
    .pettori-tabs-buttons::-webkit-scrollbar {
        display: none;
    }

    /* نمایش محصولات به‌صورت ۲ ستونه در موبایل */
    #pettori-products-container ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    #pettori-products-container ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
    }
}



/* ۱. حذف خط‌چین و استایل کلی کارت محصول */
#pettori-products-container ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* راست‌چین کردن کل محتوا */
    text-align: right !important;       /* راست‌چین کردن متن‌ها */
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 12px !important;
}

#pettori-products-container ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
    text-align: right !important;
    outline: none !important;
    border: none !important;
}

/* تصویر محصول در بالاترین قسمت */
#pettori-products-container ul.products li.product img {
    order: 1 !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

/* ۲. عنوان محصول (اولین متن زیر عکس - راست‌چین) */
#pettori-products-container ul.products li.product .woocommerce-loop-product__title {
    order: 2 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2b2b2b !important;
    margin: 6px 0 8px 0 !important;
    line-height: 1.5 !important;
    text-align: right !important;
    width: 100% !important;
}

/* ۳. قیمت محصول (دومین بخش - زیر عنوان و راست‌چین) */
#pettori-products-container ul.products li.product .price {
    order: 3 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ff5252 !important; /* رنگ سرخ قیمت */
    margin: 4px 0 !important;
    text-align: right !important;
    width: 100% !important;
    display: block !important;
}

#pettori-products-container ul.products li.product .price .woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    color: #888888 !important;
    font-weight: normal !important;
}

/* ۴. تعداد موجودی در انبار (پایین‌ترین بخش - راست‌چین و کمرنگ) */
#pettori-products-container ul.products li.product .stock,
#pettori-products-container ul.products li.product .inventory-status {
    order: 4 !important;
    font-size: 11px !important;
    color: #a0a0a0 !important; /* رنگ طوسی کمرنگ */
    margin-top: 6px !important;
    text-align: right !important;
    width: 100% !important;
    display: block !important;
}

/* ------------------------------------ */
/* تنظیمات سایز فونت برای موبایل */
/* ------------------------------------ */
@media (max-width: 768px) {
    #pettori-products-container ul.products li.product .woocommerce-loop-product__title {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    
    #pettori-products-container ul.products li.product .price {
        font-size: 12px !important;
    }

    #pettori-products-container ul.products li.product .stock {
        font-size: 10px !important;
    }
}/* ۱. حذف خط‌چین و استایل کلی کارت محصول */
#pettori-products-container ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* راست‌چین کردن کل محتوا */
    text-align: right !important;       /* راست‌چین کردن متن‌ها */
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 12px !important;
}

#pettori-products-container ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
    text-align: right !important;
    outline: none !important;
    border: none !important;
}

/* تصویر محصول در بالاترین قسمت */
#pettori-products-container ul.products li.product img {
    order: 1 !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

/* ۲. عنوان محصول (اولین متن زیر عکس - راست‌چین) */
#pettori-products-container ul.products li.product .woocommerce-loop-product__title {
    order: 2 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2b2b2b !important;
    margin: 6px 0 8px 0 !important;
    line-height: 1.5 !important;
    text-align: right !important;
    width: 100% !important;
}

/* ۳. قیمت محصول (دومین بخش - زیر عنوان و راست‌چین) */
#pettori-products-container ul.products li.product .price {
    order: 3 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ff5252 !important; /* رنگ سرخ قیمت */
    margin: 4px 0 !important;
    text-align: right !important;
    width: 100% !important;
    display: block !important;
}

#pettori-products-container ul.products li.product .price .woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    color: #888888 !important;
    font-weight: normal !important;
}

/* ۴. تعداد موجودی در انبار (پایین‌ترین بخش - راست‌چین و کمرنگ) */
#pettori-products-container ul.products li.product .stock,
#pettori-products-container ul.products li.product .inventory-status {
    order: 4 !important;
    font-size: 11px !important;
    color: #a0a0a0 !important; /* رنگ طوسی کمرنگ */
    margin-top: 6px !important;
    text-align: right !important;
    width: 100% !important;
    display: block !important;
}

/* ------------------------------------ */
/* تنظیمات سایز فونت برای موبایل */
/* ------------------------------------ */
@media (max-width: 768px) {
    #pettori-products-container ul.products li.product .woocommerce-loop-product__title {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    
    #pettori-products-container ul.products li.product .price {
        font-size: 12px !important;
    }

    #pettori-products-container ul.products li.product .stock {
        font-size: 10px !important;
    }
}

/* ثابت نگه داشتن استایل متن و جلوگیری از تغییر رنگ در حالت هوور */
.pettori-card-link:hover .pettori-product-title,
.pettori-card-link:hover .pettori-product-price,
.pettori-card-link:hover .pettori-product-stock {
    color: inherit !important;
}

/* استایل متن موجودی */
.pettori-product-stock {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    color: #888888 !important; /* رنگ طوسی کمرنگ مطابق نمونه */
    margin-top: 6px !important;
    direction: rtl !important;
}

/* ضخیم و سبز کردن خود عدد (مشابه نمونه پروتوتایپ) */
.pettori-product-stock .stock-num {
    font-weight: 800 !important;
    color: #1b1464 !important; /* یا #1b1464 متناسب با تم شما */
    margin-left: 2px !important;
}

/* تنظیم رنگ نارنجی و ضخامت مدیوم برای قیمت */
.pettori-product-price {
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important; /* ضخامت مدیوم */
    color: #ff6a00 !important;  /* رنگ نارنجی جذاب */
    margin: 4px 0 !important;
    text-align: right !important;
    width: 100% !important;
    display: block !important;
}

/* برای قیمت‌های دارای تخفیف (قیمت اصلی و تخفیف‌خورده) */
.pettori-product-price ins {
    text-decoration: none !important;
    color: #ff6a00 !important;
    font-weight: 500 !important;
}

.pettori-product-price del {
    color: #a0a0a0 !important;
    font-size: 11px !important;
    font-weight: normal !important;
    margin-left: 5px !important;
}

/* رنگ کلمه «تومان» */
.pettori-product-price .woocommerce-Price-currencySymbol {
    font-size: 11px !important;
    color: #888888 !important;
    font-weight: 400 !important;
}

/* جلوگیری از تغییر رنگ قیمت هنگام هوور موس */
.pettori-card-link:hover .pettori-product-price,
.pettori-card-link:hover .pettori-product-price ins {
    color: #ff6a00 !important;
}
/* ایجاد فاصله داخلی از راست و چپ برای شبکه محصولات */
.pettori-custom-products {
    padding-right: 12px !important;
    padding-left: 12px !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-7d9a697 *//* ۱. کانتینر اصلی با پس‌زمینه طوسی ملایم */
.elementor-143 .elementor-element.elementor-element-7d9a697 {
    background-color: #f0f0f5 !important;
    border-radius: 20px !important;
    padding: 24px !important;
}

/* ۲. کانتینر نگهدارنده ۳ کارت */
.elementor-143 .elementor-element.elementor-element-7d9a697 .info-cards-wrapper {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

/* ۳. استایل کارت آدرس (پس‌زمینه بنفش ملایم طبق پروتوتایپ) */
.elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-address {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

/* ۴. دکمه مسیریابی داخل کارت آدرس (پس‌زمینه سفید) */
.elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-address .route-btn {
    background-color: #ffffff !important;
    color: #e53e3e !important;
    border-radius: 10px !important;
    padding: 8px 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    display: inline-block !important;
    margin-top: 12px !important;
    border: none !important;
    align-self: flex-start !important;
}

/* ۵. استایل کارت‌های تلفن و ساعت کاری (پس‌زمینه سفید) */
.elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-small {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

/* ۶. تنظیمات دسکتاپ */
@media (min-width: 768px) {
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-cards-wrapper {
        flex-direction: row !important;
    }
    
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-address {
        flex: 2 !important;
    }
    
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-small {
        flex: 1 !important;
        justify-content: flex-start !important;
    }
}

/* ۷. تنظیمات موبایل */
@media (max-width: 767px) {
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-cards-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-address,
    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-small {
        width: 100% !important;
    }

    .elementor-143 .elementor-element.elementor-element-7d9a697 .info-card-small {
        text-align: center !important;
        align-items: center !important;
    }
}/* End custom CSS */