/* 41.84 — small, component-scoped spacing and readability corrections.
   Keep the existing Zagros palette, desktop header and page compositions. */

/* Long Persian names and Latin model codes must shrink within their own grid. */
body .pa-site-main :is(.pa-section__heading-copy,.pa-section__heading-text,.pa-news-head__copy,.pa-product-summary,.pa-product-summary__header,.pa-product-section){min-width:0}
body .pa-product-page--premium .pa-product-summary h1{overflow-wrap:anywhere;word-break:normal}
body .pa-product-page--premium .pa-product-short{min-width:0;overflow-wrap:anywhere;line-height:1.9}

/* Product detail actions follow the same compact rhythm as the catalog. */
body .pa-product-page--premium .pa-product-actions{gap:8px!important}
body .pa-product-page--premium .pa-product-actions .pa-product-action{min-height:44px!important;height:auto!important;padding:7px 10px!important;font-size:12px!important;line-height:1.6!important;border-radius:12px!important;white-space:normal!important}
body .pa-product-page--premium .pa-product-price-card .pa-inquiry-btn--single{min-height:44px!important;height:auto!important;padding:7px 12px!important;font-size:15px!important;line-height:1.7!important;border-radius:12px!important}

/* Keep magazine cards airy without the older oversized inner padding. */
body.home .pa-news-home .pa-post-slider--latest .pa-news-card .pa-news-card__body{min-width:0!important;gap:8px!important;padding:14px!important}
body.home .pa-news-home .pa-post-slider--latest .pa-news-card .pa-news-card__excerpt{font-size:13px!important;line-height:1.9!important}
body .pa-news-card .pa-news-card__meta{min-width:0;gap:8px;flex-wrap:wrap}
body .pa-news-card :is(.pa-news-card__author,.pa-news-card__meta-item){min-width:0}
body .pa-news-card .pa-news-card__author span{overflow-wrap:anywhere}

/* The existing inquiry form keeps its own scroll area and RTL field geometry. */
body .pa-inquiry-modal [data-pa-inquiry-form],
body .pa-inquiry-modal [data-pa-aftermarket-order-form],
body .pa-inquiry-modal .pa-inquiry-grid,
body .pa-inquiry-modal .pa-inquiry-grid>label{min-width:0;max-width:100%}
body .pa-inquiry-modal .pa-inquiry-grid :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
body .pa-inquiry-modal .pa-form-trap{position:absolute!important;inset:0!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important;white-space:nowrap!important}
body .pa-inquiry-modal .pa-inquiry-modal__head :is(strong,span){overflow-wrap:anywhere}

@media(max-width:600px){
  /* Move section actions onto their own row instead of squeezing headings,
     arrows and labels into a 320px viewport. No control is removed. */
  body.home .pa-site-main :is(.pa-home-products,.pa-vehicle-slider-section,.pa-customer-videos) .pa-section__head,
  body.home .pa-site-main .pa-news-home .pa-news-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:12px!important}
  body.home .pa-site-main .pa-section__head>.pa-section__heading-copy,
  body.home .pa-site-main .pa-news-home .pa-news-head__copy{grid-column:1!important;min-width:0!important;width:100%!important}
  body.home .pa-site-main .pa-news-home .pa-news-head__actions,
  body.home .pa-site-main .pa-vehicle-slider-section .pa-section__actions{grid-column:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important;gap:8px!important}
  body.home .pa-site-main .pa-section__head>.pa-all-link{grid-column:1!important;justify-self:start!important}
  body.home .pa-site-main .pa-section__head .pa-all-link{min-height:44px!important;padding:7px 12px!important;font-size:12px!important;line-height:1.6!important;white-space:normal!important}
  body.home .pa-site-main .pa-news-home .pa-slider-control,
  body.home .pa-site-main .pa-vehicle-slider__control{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:11px!important}
  body.home .pa-site-main .pa-news-home .pa-slider-control i{font-size:12px!important}
  body.home .pa-site-main .pa-vehicle-slider__control svg{width:17px!important;height:17px!important}
  body.home .pa-site-main .pa-section__heading-text{min-width:0!important}
  body.home .pa-site-main .pa-section__title{line-height:1.55!important;overflow-wrap:anywhere}
  body.home .pa-news-home .pa-post-slider--latest .pa-news-card .pa-news-card__body{padding:13px!important}
  body .pa-product-page--premium .pa-product-actions .pa-product-action{padding:7px 8px!important;font-size:12px!important}
  body .pa-inquiry-modal .pa-inquiry-modal__close{width:44px!important;height:44px!important;min-height:44px!important}
  body .pa-inquiry-modal .pa-inquiry-modal__head{padding-inline-end:50px!important}
  body .pa-vehicle-order .pa-vehicle-order__close{flex-basis:44px;width:44px;height:44px;min-height:44px}
}

@media(prefers-reduced-motion:reduce){
  body .pa-product-page--premium .pa-product-actions .pa-product-action{transition:none!important}
}
