/* Protein Shop v2.7 — exact reference composition */
@font-face{font-family:DanaFaNum;src:url('../fonts/DanaFaNum-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:DanaFaNum;src:url('../fonts/DanaFaNum-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:DanaFaNum;src:url('../fonts/DanaFaNum-DemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root{
  --ps-ref-red:#c62828;
  --ps-ref-peach:#fa9884;
  --ps-ref-navy:#0d354f;
  --ps-ref-cream:#ffe8d1;
  --ps-ref-page:#fafafa;
  --ps-ref-gray:#f3f3f3;
  --ps-ref-line:#ececec;
}

body.home{background:var(--ps-ref-page)}
.ps-reference-home{--ps-red:var(--ps-ref-red);--ps-red-2:#ad1f22;--ps-navy:var(--ps-ref-navy);background:var(--ps-ref-page)}
.ps-reference-home,.ps-reference-home button,.ps-reference-home input,.ps-footer{font-family:DanaFaNum,Vazirmatn,Tahoma,sans-serif}
.ps-reference-home h1,.ps-reference-home h2,.ps-reference-home h3,.ps-reference-home strong,.ps-reference-home .ps-tabs button,.ps-footer h4,.ps-footer strong{font-family:Pelak,DanaFaNum,Vazirmatn,Tahoma,sans-serif}
.ps-reference-home .ps-container,
.home .ps-header-main,
.home .ps-footer .ps-container{width:min(1360px,calc(100% - 40px));margin-inline:auto}

/* Header — white navigation capsule plus a separate hanging logo */
.ps-header-search-inline{display:flex;align-items:center;margin:0}
body:not(.home) .ps-header-search-inline input{display:none}
.home .ps-header{position:absolute;inset:0 0 auto;height:163px;background:transparent;border:0;z-index:100}
.home .ps-header-main{position:relative;height:163px;display:grid;grid-template-columns:160px minmax(0,1fr) 480px;gap:20px;padding:0;background:transparent;border-radius:0;box-shadow:none;direction:rtl}
.home .ps-header-main:before{content:"";position:absolute;z-index:0;right:170px;left:0;top:48px;height:65px;background:#fff;border-radius:10px;box-shadow:0 0 15px rgba(0,0,0,.04)}
.home .ps-logo-slot,.home .ps-nav,.home .ps-header-actions{position:relative;z-index:1}
.home .ps-logo-slot{grid-column:1;height:163px}
.home .ps-logo{top:0;right:0;width:149px;height:162px;border-radius:0 0 60px 60px;padding:16px 15px 21px;background:var(--ps-ref-navy);box-shadow:0 10px 15px rgba(0,0,0,.05);justify-content:flex-start;gap:5px}
.home .ps-logo .ps-brand-emblem{width:70px;height:70px;margin:0;flex:0 0 70px}
.home .ps-logo .ps-brand-emblem img{width:100%;height:100%;object-fit:contain}
.home .ps-logo-copy{line-height:1.45;gap:2px}
.home .ps-logo-copy strong{font-size:11px;color:#fff;font-weight:700}
.home .ps-logo-copy small{font-size:13px;color:#fff;font-weight:800}
.home .ps-nav{grid-column:2;height:65px;align-self:start;margin-top:48px;min-width:0}
.home .ps-nav ul{width:100%;justify-content:flex-start;gap:48px;padding:0 26px}
.home .ps-nav a{padding:20px 0 18px;font-family:Pelak,Vazirmatn,Tahoma,sans-serif;font-size:15px;line-height:27px;font-weight:600;color:#444}
.home .ps-nav a:after{display:none}
.home .ps-nav a:hover,.home .ps-nav .current-menu-item>a,.home .ps-nav .current_page_item>a{color:var(--ps-ref-red)}
.home .ps-header-actions{grid-column:3;grid-row:1;height:65px;align-self:start;margin-top:48px;padding-left:16px;display:flex;align-items:center;justify-content:flex-start;gap:10px;direction:ltr}
.home .ps-head-icon,.home .ps-cart-icon{width:44px;height:44px;flex:0 0 44px;border-radius:50%;border:0;background:var(--ps-ref-navy);color:#fff;display:grid;place-items:center;padding:0;box-shadow:none}
.home .ps-head-icon svg,.home .ps-cart-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65}
.home .ps-cart-link{display:block;width:44px;height:44px}
.home .ps-cart-text{display:none}
.home .ps-cart-count{width:16px;height:16px;right:auto;left:-3px;top:-4px;border:2px solid #fff;background:var(--ps-ref-red);font-size:8px}
.home .ps-header-search-inline{height:44px;width:365px;display:flex;align-items:center;direction:ltr}
.home .ps-inline-search-button{order:1;background:var(--ps-ref-peach);position:relative;z-index:2}
.home .ps-header-search-inline input[type=search]{order:2;width:320px;height:44px;margin-left:-7px;border:0!important;outline:0;background:var(--ps-ref-gray);border-radius:0 30px 30px 0;padding:0 22px 0 14px;font-size:12px;color:#777;direction:rtl;text-align:right;box-shadow:none}

/* Hero */
.ps-reference-home .ps-home-hero{height:max(850px,85vh);min-height:850px;padding:0;background-color:#fff;background-image:url('../images/reference/hero-bg-min.jpg');background-position:bottom center;background-repeat:no-repeat;background-size:cover}
.ps-reference-home .ps-home-hero-inner{height:100%;position:relative}
.ps-reference-home .ps-hero-panel{position:absolute;right:0;left:auto;top:auto;bottom:140px;width:625px;min-height:350px;padding:31px;background:var(--ps-ref-navy) url('../images/reference/bgtr.webp') center/auto repeat;border-radius:20px;overflow:hidden;box-shadow:none;display:block}
.ps-reference-home .ps-hero-panel:before{display:none}
.ps-reference-home .ps-hero-text{width:100%;height:288px;margin:0;padding:42px 50px 38px;display:flex;flex-direction:column;justify-content:center;background:var(--ps-ref-navy);border-radius:16px;color:#fff;text-align:right;position:relative;z-index:1}
.ps-reference-home .ps-hero-text>span{font-size:20px;line-height:1.6;font-weight:600;color:#fff}
.ps-reference-home .ps-hero-text em{font-style:normal;color:var(--ps-ref-peach)}
.ps-reference-home .ps-hero-text h1{font-size:28px;line-height:1.55;font-weight:900;color:#fff;margin:2px 0 10px;letter-spacing:0}
.ps-reference-home .ps-hero-text p{max-width:470px;margin:0;color:#fff;font-size:12px;line-height:2;font-weight:500}
.ps-reference-home .ps-hero-buttons{display:flex;justify-content:flex-start;gap:16px;margin-top:18px}
.ps-reference-home .ps-red-btn,.ps-reference-home .ps-white-btn{height:42px;min-height:42px;padding:0 23px;border-radius:7px;font-size:12px;font-weight:600;position:relative;overflow:hidden}
.ps-reference-home .ps-red-btn{background:var(--ps-ref-red)}
.ps-reference-home .ps-red-btn:after,.ps-reference-home .ps-white-btn:after{content:"";position:absolute;right:-7px;bottom:-7px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.25s}
.ps-reference-home .ps-white-btn:after{background:var(--ps-ref-navy)}
.ps-reference-home .ps-red-btn:hover,.ps-reference-home .ps-white-btn:hover{transform:translateY(-3px);box-shadow:0 9px 18px rgba(0,0,0,.16)}

/* Shared vertical card — used by sale, tabs, shop and Elementor */
.ps-product-card--default{border:1px solid var(--ps-ref-line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:none;min-width:0}
.ps-product-card--default .ps-product-media{height:205px;padding:16px 18px 10px;background:#fff}
.ps-product-card--default .ps-product-media img{object-fit:contain}
.ps-product-card--default .ps-sale-badge{right:auto;left:14px;top:14px;min-width:38px;height:28px;padding:0 7px;border-radius:6px;background:var(--ps-ref-peach);color:#5f4b47;font-size:10px}
.ps-product-card--default .ps-product-body{padding:9px 13px 0}
.ps-product-card--default .ps-product-body h3{height:46px;min-height:46px;margin:0;display:flex;align-items:center;font-size:14px;line-height:1.65;font-weight:700;color:var(--ps-ref-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-product-card--default .ps-product-body h3 a{overflow:hidden;text-overflow:ellipsis}
.ps-product-card--default .ps-product-bottom{height:51px;margin-inline:-13px;padding:0 13px 0 0;border:0;background:linear-gradient(90deg,#fff 0,#fff 16%,#fafafa 16%,#fafafa 100%);align-items:center;direction:rtl}
.ps-product-card--default .ps-price{justify-content:flex-start;min-height:0;gap:5px;direction:rtl}
.ps-product-card--default .ps-price .woocommerce-Price-amount,.ps-product-card--default .ps-price ins{font-size:13px;color:#444;font-weight:700}
.ps-product-card--default .ps-price del,.ps-product-card--default .ps-price del .woocommerce-Price-amount{font-size:10px;color:#999}
.ps-product-card--default .ps-price span,.ps-product-card--default .ps-price .woocommerce-Price-currencySymbol{font-size:9px;color:var(--ps-ref-red)}
.ps-product-card--default .ps-add-btn{align-self:stretch;width:45px;height:51px;border-radius:0 22px 0 0;background:var(--ps-ref-red);display:grid;place-items:center}
.ps-product-card--default .ps-add-btn svg{width:18px;height:18px}
.ps-product-card--default:hover{transform:translateY(-6px);border-color:rgba(198,40,40,.35);box-shadow:0 18px 40px rgba(13,53,79,.11)}
.ps-product-card--default:hover .ps-product-media img{transform:scale(1.055)}
.woocommerce .ps-shop-results ul.products li.product .ps-product-card--default,
.woocommerce .ps-related-wrap ul.products li.product .ps-product-card--default{height:279px;border-radius:16px}
.woocommerce .ps-shop-results ul.products li.product .ps-product-card--default .ps-product-media,
.woocommerce .ps-related-wrap ul.products li.product .ps-product-card--default .ps-product-media{height:181px;padding:13px 16px 7px}
.woocommerce .ps-shop-results ul.products li.product .ps-product-card--default .ps-product-body,
.woocommerce .ps-related-wrap ul.products li.product .ps-product-card--default .ps-product-body{padding:4px 13px 0}
.woocommerce .ps-shop-results ul.products li.product .ps-product-card--default h3,
.woocommerce .ps-related-wrap ul.products li.product .ps-product-card--default h3{height:43px;min-height:43px;font-size:13px}

/* Sale carousel */
.ps-reference-home .ps-sale-block{padding:68px 0 48px;background:var(--ps-ref-page)}
.ps-reference-home .ps-sale-shell{height:347px;display:grid;grid-template-columns:303px minmax(0,1fr);direction:rtl;align-items:stretch}
.ps-reference-home .ps-sale-promo{min-height:347px;padding:17px 34px 20px;border-radius:0 20px 20px 0;background:var(--ps-ref-red);color:#fff}
.ps-reference-home .ps-sale-promo>img{width:190px;height:100px;object-fit:contain;filter:none;margin:0 0 4px}
.ps-reference-home .ps-sale-promo h2{font-size:20px;line-height:1.6;margin:0 0 8px;color:#fff}
.ps-reference-home .ps-sale-promo p{max-width:250px;font-size:11px;line-height:2;margin:0 0 14px;color:#fff}
.ps-reference-home .ps-sale-time{gap:10px;direction:rtl}
.ps-reference-home .ps-sale-time>span{width:62px;height:57px;background:#fff;border:0;border-radius:7px}
.ps-reference-home .ps-sale-time b{font-size:16px;color:#555}.ps-reference-home .ps-sale-time small{font-size:9px;color:#555}
.ps-reference-home .ps-sale-time i{font-size:24px;color:#fff}
.ps-reference-home .ps-sale-products{min-width:0;height:347px;padding:34px 14px 19px;border:1px solid var(--ps-ref-line);border-right:0;border-radius:20px 0 0 20px;background:#fff url('../images/reference/bg_xi.webp') center/256px 223px repeat}
.ps-reference-home .ps-sale-block .ps-product-slider{height:100%;padding:0}
.ps-reference-home .ps-sale-block .ps-slider-viewport{height:100%;padding:0}
.ps-reference-home .ps-sale-block .ps-slider-track{height:100%;gap:20px}
.ps-reference-home .ps-sale-block .ps-slider-slide{height:279px;flex-basis:calc((100% - 60px)/4)}
.ps-reference-home .ps-sale-block .ps-product-card{height:279px;border-radius:16px}
.ps-reference-home .ps-sale-block .ps-product-card--default .ps-product-media{height:181px;padding:13px 16px 7px}
.ps-reference-home .ps-sale-block .ps-product-card--default .ps-product-body{padding-top:4px}
.ps-reference-home .ps-sale-block .ps-product-card--default .ps-product-body h3{height:43px;min-height:43px;font-size:13px}
.ps-reference-home .ps-sale-block .ps-product-card--default .ps-product-bottom{height:50px}
.ps-reference-home .ps-slider-dots{top:-22px;bottom:auto;left:2px;right:auto;transform:none;gap:5px}
.ps-reference-home .ps-slider-dots button{width:6px;height:6px;border:1px solid var(--ps-ref-navy);background:transparent}
.ps-reference-home .ps-slider-dots button.active{background:var(--ps-ref-navy)}
.ps-reference-home .ps-slider-arrow{opacity:0;top:50%;bottom:auto;width:34px;height:34px;border-radius:50%;transition:.2s}
.ps-reference-home .ps-product-slider:hover .ps-slider-arrow{opacity:1}
.ps-reference-home .ps-slider-prev{right:4px}.ps-reference-home .ps-slider-next{left:4px;right:auto}

/* Section titles and circular categories */
.ps-reference-home .ps-icon-title{justify-content:center;margin:0 0 30px}
.ps-reference-home .ps-icon-title h2{font-size:24px;line-height:1.5;font-weight:700;color:var(--ps-ref-navy);display:flex;align-items:center;gap:10px}
.ps-reference-home .ps-icon-title h2:before{content:"";display:block;flex:0 0 38px;width:38px;height:38px;margin:0;background:url('../images/reference/logo-icon1.svg') center/contain no-repeat}
.ps-reference-home .ps-categories-block{padding:42px 0 50px;background:var(--ps-ref-page)}
.ps-reference-home .ps-category-row{grid-template-columns:repeat(7,1fr);gap:35px}
.ps-reference-home .ps-category-card{gap:14px}
.ps-reference-home .ps-category-image{width:146px;height:146px;padding:8px;border:7px solid var(--ps-ref-peach);background:#fff;box-shadow:none}
.ps-reference-home .ps-category-image:before,.ps-reference-home .ps-category-image:after{width:24px;height:24px;border:6px solid var(--ps-ref-peach);top:-13px;background:var(--ps-ref-page)}
.ps-reference-home .ps-category-image:before{right:-10px}.ps-reference-home .ps-category-image:after{left:-10px;top:auto;bottom:-13px}
.ps-reference-home .ps-category-card strong{font-size:15px;color:var(--ps-ref-navy);font-weight:600}
.ps-reference-home .ps-category-card:hover .ps-category-image{transform:translateY(-6px) rotate(2deg);border-color:var(--ps-ref-red);box-shadow:0 16px 32px rgba(13,53,79,.13)}
.ps-reference-home .ps-category-card:hover strong{color:var(--ps-ref-red)}

/* Horizontal bestseller card */
.ps-reference-home .ps-bestsellers{padding:46px 0 78px;background:var(--ps-ref-page)}
.ps-reference-home .ps-bestsellers .ps-products-grid,
.ps-elementor-products--detail>.ps-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ps-product-card--detail{height:184px;min-height:184px;display:grid;grid-template-columns:110px minmax(0,1fr);direction:ltr;border:1px solid var(--ps-ref-line);border-radius:15px;background:#fff;overflow:hidden}
.ps-product-card--detail .ps-product-media{height:183px;padding:15px 12px;border:0;background:#fff}
.ps-product-card--detail .ps-sale-badge{right:auto;left:10px;top:10px;min-width:38px;height:27px;border-radius:6px;background:var(--ps-ref-peach);color:#5f4b47}
.ps-product-card--detail .ps-product-body{min-width:0;height:183px;padding:20px 14px 11px;direction:rtl;display:flex;flex-direction:column}
.ps-product-card--detail .ps-product-body h3{height:28px;min-height:28px;margin:0;font-size:14px;line-height:1.7;color:var(--ps-ref-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-product-card--detail .ps-product-excerpt{height:46px;margin:5px 0 9px;font-size:10px;line-height:2;color:#969696}
.ps-product-card--detail .ps-product-bottom{height:48px;margin-top:auto;padding:0 0 0 0;border:0;border-radius:8px;background:var(--ps-ref-page);align-items:center;direction:rtl}
.ps-product-card--detail .ps-price{padding-right:12px;direction:rtl;min-height:0}
.ps-product-card--detail .ps-price .woocommerce-Price-amount,.ps-product-card--detail .ps-price ins{font-size:13px;color:#444}
.ps-product-card--detail .ps-price span,.ps-product-card--detail .ps-price .woocommerce-Price-currencySymbol{font-size:9px;color:var(--ps-ref-red)}
.ps-product-card--detail .ps-add-btn{width:auto;min-width:110px;height:38px;margin-left:0;padding:0 14px;border-radius:8px;background:var(--ps-ref-red);display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl}
.ps-product-card--detail .ps-add-btn svg{width:17px;height:17px}.ps-product-card--detail .ps-add-label{font-size:10px;font-weight:700}
.ps-product-card--detail .ps-add-btn:after{display:none}
.ps-product-card--detail:hover{transform:translateY(-5px);border-color:rgba(198,40,40,.35);box-shadow:0 16px 34px rgba(13,53,79,.1)}
.ps-reference-home .ps-bestsellers .ps-product-card--detail,
.ps-elementor-products--detail .ps-product-card--detail{height:184px;min-height:184px;grid-template-columns:110px minmax(0,1fr)}
.ps-reference-home .ps-bestsellers .ps-product-card--detail .ps-product-media,
.ps-elementor-products--detail .ps-product-card--detail .ps-product-media{height:183px;padding:15px 12px;border:0}
.ps-reference-home .ps-bestsellers .ps-product-card--detail .ps-product-body,
.ps-elementor-products--detail .ps-product-card--detail .ps-product-body{height:183px;padding:20px 14px 11px}
.ps-reference-home .ps-bestsellers .ps-product-card--detail h3,
.ps-elementor-products--detail .ps-product-card--detail h3{height:28px;min-height:28px;margin:0;font-size:14px}
.ps-reference-home .ps-bestsellers .ps-product-card--detail .ps-product-excerpt,
.ps-elementor-products--detail .ps-product-card--detail .ps-product-excerpt{height:46px;margin:5px 0 9px;font-size:10px;line-height:2}
.ps-reference-home .ps-bestsellers .ps-product-card--detail .ps-product-bottom,
.ps-elementor-products--detail .ps-product-card--detail .ps-product-bottom{height:48px;margin-top:auto;padding:0;border:0}
.ps-reference-home .ps-bestsellers .ps-product-card--detail .ps-add-btn,
.ps-elementor-products--detail .ps-product-card--detail .ps-add-btn{width:auto;min-width:110px;height:38px;padding:0 14px;display:flex;gap:7px}

/* Farm-to-fork process */
.ps-reference-home .ps-process-block{height:290px;padding:0;background:var(--ps-ref-cream) url('../images/reference/bg-pattern.webp') center/cover no-repeat;color:#444}
.ps-reference-home .ps-process-layout{height:290px;display:grid;grid-template-columns:330px minmax(0,1fr);direction:rtl;align-items:center}
.ps-reference-home .ps-process-head{height:100%;padding:0 36px 0 10px;margin:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:right}
.ps-reference-home .ps-process-head h2{margin:0 0 15px;font-size:22px;line-height:1.55;color:#444}
.ps-reference-home .ps-process-head .ps-red-btn{height:40px;min-height:40px;border-radius:22px;padding:0 23px}
.ps-reference-home .ps-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;direction:rtl}
.ps-reference-home .ps-process-grid article{height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;color:#444}
.ps-reference-home .ps-step-art{width:185px;height:135px;margin:0;background:transparent;overflow:visible}
.ps-reference-home .ps-step-art img{width:185px;height:125px;max-width:185px;max-height:125px;object-fit:contain}
.ps-reference-home .ps-step-art b{right:-42px;left:auto;top:42px;width:auto;height:auto;border:0;background:transparent;color:#fff;font-size:46px;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.05)}
.ps-reference-home .ps-process-grid h3{margin:0;font-size:15px;line-height:1.6;color:var(--ps-ref-navy)}
.ps-reference-home .ps-process-grid p{grid-column:auto;max-width:270px;margin:0;font-size:11px;line-height:1.9;color:#858585}

/* Category tabs */
.ps-reference-home .ps-category-tabs{padding:95px 0 92px;background:var(--ps-ref-page)}
.ps-reference-home .ps-tabs-title{display:flex;flex-direction:column;align-items:center;gap:17px;margin-bottom:24px}
.ps-reference-home .ps-tabs{display:flex;gap:14px;border:0;overflow:visible}
.ps-reference-home .ps-tabs button{position:relative;min-width:102px;height:40px;padding:0 20px;border:0;border-radius:5px;background:var(--ps-ref-gray);color:#555;font-size:12px;font-weight:600;transition:.25s;overflow:hidden}
.ps-reference-home .ps-tabs button:after{content:"";position:absolute;left:-1px;bottom:-1px;border-style:solid;border-width:0 0 12px 12px;border-color:transparent transparent var(--ps-ref-red) transparent}
.ps-reference-home .ps-tabs button.active{background:var(--ps-ref-red);color:#fff;box-shadow:0 8px 18px rgba(198,40,40,.18)}
.ps-reference-home .ps-tabs button.active:after{border-bottom-color:#fff}
.ps-reference-home .ps-tabs button:hover{transform:translateY(-4px);background:var(--ps-ref-peach);color:#fff;box-shadow:0 10px 20px rgba(13,53,79,.1)}
.ps-reference-home .ps-category-tabs .ps-products-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.ps-reference-home .ps-category-tabs .ps-product-card--default{height:279px}
.ps-reference-home .ps-category-tabs .ps-product-card--default .ps-product-media{height:181px}
.ps-reference-home .ps-category-tabs .ps-product-card--default .ps-product-body{padding-top:4px}
.ps-reference-home .ps-category-tabs .ps-product-card--default .ps-product-body h3{height:43px;min-height:43px;font-size:13px}

/* CTA banner */
.ps-reference-home .ps-home-cta{padding:20px 0 72px;background:var(--ps-ref-page)}
.ps-reference-home .ps-home-cta-inner{height:202px;min-height:202px;display:grid;grid-template-columns:42% 58%;align-items:center;border-radius:25px;overflow:visible;background:#111 url('../images/reference/banner-1-min-2.jpg') center right/cover no-repeat;color:#fff;isolation:isolate}
.ps-reference-home .ps-home-cta-inner:before,.ps-reference-home .ps-home-cta-inner:after{content:"";position:absolute;z-index:-1;width:91px;height:91px;border:11px solid var(--ps-ref-peach)}
.ps-reference-home .ps-home-cta-inner:before{right:-10px;top:-10px;left:auto;border-left:0;border-bottom:0;border-radius:0 15px 0 0}
.ps-reference-home .ps-home-cta-inner:after{left:-10px;bottom:-10px;border-right:0;border-top:0;border-radius:0 0 0 15px}
.ps-reference-home .ps-home-cta-inner img{width:100%;height:255px;object-fit:contain;align-self:end;overflow:visible;position:relative;z-index:2}
.ps-reference-home .ps-home-cta-inner>div{padding:28px 48px;position:relative;z-index:2;text-align:right}
.ps-reference-home .ps-home-cta h2{margin:0 0 8px;font-size:27px;line-height:1.55;color:#fff}
.ps-reference-home .ps-home-cta p{max-width:610px;margin:0 0 15px;font-size:11px;line-height:1.9;color:#fff}
.ps-reference-home .ps-home-cta .ps-red-btn{height:40px;min-height:40px;border-radius:22px}

/* Blog cards */
.ps-reference-home .ps-home-blog{padding:24px 0 88px;background:var(--ps-ref-page)}
.ps-reference-home .ps-home-post-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ps-reference-home .ps-blog-card.is-compact{height:345px;border:1px solid var(--ps-ref-line);border-radius:15px;background:#fff;overflow:hidden}
.ps-reference-home .ps-blog-card.is-compact .ps-blog-card-media{height:186px;margin:10px;border-radius:11px;overflow:hidden}
.ps-reference-home .ps-blog-card.is-compact .ps-blog-card-body{height:139px;padding:1px 13px 10px;display:flex;flex-direction:column}
.ps-reference-home .ps-blog-card .ps-blog-cat{display:none}
.ps-reference-home .ps-blog-card h3{height:27px;margin:1px 0 3px;font-size:14px;line-height:1.8;color:#444;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-reference-home .ps-blog-card p{height:45px;margin:0;font-size:10px;line-height:2;color:#8c8c8c;overflow:hidden}
.ps-blog-card-footer{height:42px;margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;direction:rtl}
.ps-reference-home .ps-blog-meta{display:flex;gap:9px;padding:0;border:0;color:#8f8f8f;font-size:8px;white-space:nowrap}
.ps-reference-home .ps-blog-meta span{display:flex;align-items:center;gap:3px}
.ps-reference-home .ps-blog-meta svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
.ps-reference-home .ps-blog-more{height:31px;margin:0;padding:0 11px;display:flex;align-items:center;gap:5px;border-radius:6px;background:var(--ps-ref-red);color:#fff!important;font-size:9px;font-weight:600;white-space:nowrap}
.ps-reference-home .ps-blog-more svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.ps-reference-home .ps-blog-card:hover{transform:translateY(-6px);border-color:rgba(198,40,40,.3);box-shadow:0 16px 35px rgba(13,53,79,.1)}

/* Footer — image background and protruding red contact card */
.ps-footer{margin:0;padding-top:56px;background:var(--ps-ref-page);overflow:visible}
.ps-footer-main{position:relative;overflow:visible;margin:0;padding:35px 0 0;background:var(--ps-ref-navy) url('../images/reference/footer-bg.jpg') bottom center/cover no-repeat;color:#fff}
.ps-footer-main:before{content:"";position:absolute;inset:0;background:rgba(13,53,79,.85)}
.ps-footer-grid,.ps-footer-bottom{position:relative;z-index:1}
.ps-footer-grid{display:grid;grid-template-columns:35% 30% 17.5% 17.5%;gap:30px;align-items:start;direction:rtl;padding:0 0 27px}
.ps-footer-about{padding-top:0}
.ps-footer-brandmark{display:flex;align-items:center;justify-content:flex-start;gap:10px}
.ps-footer-brandmark .ps-brand-emblem{width:55px;height:55px;margin:0;background:transparent}
.ps-footer-brandmark .ps-brand-emblem img{width:100%;height:100%;object-fit:contain}
.ps-footer-brandmark strong{font-size:14px;color:#fff}.ps-footer-brandmark span{font-size:10px;color:#e2eaee}
.ps-footer-about p{max-width:430px;margin:10px 0 8px;font-size:10px;line-height:2.4;color:#e0e8ec}
.ps-social-title{font-size:14px;color:#fff}.ps-socials{gap:13px;margin-top:6px}
.ps-socials a{width:24px;height:24px;border:0;background:transparent;color:#ed552f}
.ps-socials svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
.ps-footer-contact-card{min-height:286px;margin-top:-81px;padding:18px 20px;display:grid;grid-template-columns:1.12fr .88fr;gap:18px;direction:rtl;border-radius:20px;background:var(--ps-ref-red) url('../images/reference/footer-card-pattern.png') center/auto 100% no-repeat;color:#fff}
.ps-footer-contact-card>.ps-footer-contact-info{display:flex;grid-template-columns:none;flex-direction:column;gap:4px;padding:0;border:0}
.ps-footer-contact-info>div{display:grid;grid-template-columns:35px 1fr;gap:8px;padding:5px 0;border:0}
.ps-footer-contact-icon{width:32px;height:32px;display:grid;place-items:center;color:#fff}
.ps-footer-contact-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.5}
.ps-footer-contact-info p{display:grid;margin:0}
.ps-footer-contact-info b,.ps-footer-contact-card h4{margin:0 0 2px;font-size:13px;color:#fff}
.ps-footer-contact-info a,.ps-footer-contact-info small{font-size:9px;line-height:1.75;color:#fff}
.ps-footer-contact-card>.ps-footer-hours{display:block;grid-template-columns:none;gap:0;padding:0;border:0;min-width:0}
.ps-footer-contact-card .ps-footer-hours h4:after,.ps-footer-grid>div>h4:after{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#0d354f;vertical-align:middle}
.ps-footer-contact-card .ps-footer-hours ul{margin:0;padding:0;list-style:none}
.ps-footer-contact-card .ps-footer-hours li{padding:7px 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:8.5px;line-height:1.3;color:#fff;white-space:nowrap}
.ps-footer-links,.ps-trust{padding-top:0}
.ps-footer-grid>div>h4{margin:0 0 14px;font-size:14px;color:#fff}
.ps-footer-grid>div>h4:after{background:var(--ps-ref-red)}
.ps-footer-links li{margin-bottom:12px}.ps-footer-links a{font-size:11px;line-height:1.8;color:#e5ecef}
.ps-footer-links a:hover{color:var(--ps-ref-peach);padding-right:4px}
.ps-trust>div{display:grid;grid-template-columns:repeat(2,68px);gap:10px}
.ps-trust img{width:68px;height:68px;padding:5px;border-radius:5px;background:#fff;object-fit:contain}
.ps-footer-bottom{padding:13px 0 10px;border-top:1px solid rgba(255,255,255,.18);background:transparent;color:#e0e8ec;font-size:10px;text-align:center}

/* Elementor reusable product widgets */
.ps-elementor-products{font-family:Pelak,Vazirmatn,Tahoma,sans-serif;--ps-red:var(--ps-ref-red);--ps-navy:var(--ps-ref-navy)}
.ps-elementor-products>.ps-products-grid{display:grid}
.ps-elementor-products--default .ps-product-card--default{height:279px}
.ps-elementor-products--default .ps-product-card--default .ps-product-media{height:181px}
.ps-elementor-products .ps-product-slider{direction:rtl}

@media(max-width:1200px){
  .home .ps-header-main{grid-template-columns:135px minmax(0,1fr) 390px}.home .ps-header-main:before{right:145px}.home .ps-logo{width:126px}.home .ps-nav ul{gap:25px;padding-inline:18px}.home .ps-nav a{font-size:13px}.home .ps-header-search-inline{width:278px}.home .ps-header-search-inline input[type=search]{width:235px}
  .ps-reference-home .ps-category-row{gap:18px}.ps-reference-home .ps-category-image{width:122px;height:122px}
  .ps-reference-home .ps-process-layout{grid-template-columns:280px 1fr}.ps-reference-home .ps-process-grid{gap:12px}
  .ps-footer-grid{grid-template-columns:31% 34% 17.5% 17.5%;gap:18px}
}

@media(max-width:768px){
  .home .ps-header{height:90px;top:0}.home .ps-header-main{height:90px;grid-template-columns:54px minmax(0,1fr) 130px;gap:8px;background:#fff}.home .ps-header-main:before{display:none}.home .ps-logo-slot{grid-column:2;grid-row:1;height:90px}.home .ps-logo{position:relative;top:auto;right:auto;width:auto;height:78px;padding:5px;background:transparent;border-radius:0;box-shadow:none;color:var(--ps-ref-navy)}.home .ps-logo .ps-brand-emblem{width:52px;height:52px;flex-basis:52px}.home .ps-logo-copy{display:none}.home .ps-mobile-toggle{display:grid;grid-column:1;grid-row:1}.home .ps-nav{position:fixed;grid-column:auto;height:100vh;margin:0}.home .ps-header-actions{grid-column:3;height:90px;margin:0;padding:0;gap:6px}.home .ps-header-search-inline{width:40px}.home .ps-header-search-inline input{display:none}.home .ps-head-icon,.home .ps-cart-icon{width:38px;height:38px;flex-basis:38px}.home .ps-account-icon{display:none}.home .ps-cart-link{width:38px;height:38px}
  .ps-reference-home .ps-home-hero{height:690px;min-height:690px;background-position:37% top}.ps-reference-home .ps-hero-panel{right:14px;left:14px;bottom:54px;width:auto;min-height:320px;padding:20px}.ps-reference-home .ps-hero-text{height:280px;padding:34px 28px;text-align:center}.ps-reference-home .ps-hero-buttons{justify-content:center}
  .ps-reference-home .ps-sale-shell{height:auto;grid-template-columns:1fr}.ps-reference-home .ps-sale-promo{min-height:260px;border-radius:20px 20px 0 0}.ps-reference-home .ps-sale-products{height:340px;border:1px solid var(--ps-ref-line);border-top:0;border-radius:0 0 20px 20px}.ps-reference-home .ps-sale-block .ps-slider-slide{flex-basis:calc((100% - 40px)/3)}
  .ps-reference-home .ps-category-row{grid-template-columns:repeat(4,1fr);gap:25px}.ps-reference-home .ps-category-image{width:110px;height:110px}
  .ps-reference-home .ps-bestsellers .ps-products-grid,.ps-elementor-products--detail>.ps-products-grid{grid-template-columns:repeat(2,1fr)}
  .ps-reference-home .ps-process-block{height:auto}.ps-reference-home .ps-process-layout{height:auto;grid-template-columns:1fr;padding:28px 0}.ps-reference-home .ps-process-head{padding:0 0 25px;align-items:center;text-align:center}.ps-reference-home .ps-process-grid article{height:225px}
  .ps-reference-home .ps-category-tabs .ps-products-grid{grid-template-columns:repeat(3,1fr)}
  .ps-reference-home .ps-home-cta-inner{grid-template-columns:1fr;height:auto;min-height:430px;text-align:center}.ps-reference-home .ps-home-cta-inner>div{grid-row:1;padding:30px 28px 5px;text-align:center}.ps-reference-home .ps-home-cta-inner img{grid-row:2;height:230px}
  .ps-reference-home .ps-home-post-grid{grid-template-columns:repeat(2,1fr)}
  .ps-footer-grid{grid-template-columns:repeat(2,1fr);gap:25px}.ps-footer-contact-card{margin-top:-75px}.ps-footer-about{grid-column:1/-1}.ps-footer-contact-card{grid-template-columns:1fr 1fr}.ps-trust>div{grid-template-columns:repeat(4,60px)}
}

@media(max-width:560px){
  .ps-reference-home .ps-container,.home .ps-header-main,.home .ps-footer .ps-container{width:calc(100% - 24px)}
  .ps-reference-home .ps-home-hero{height:625px;min-height:625px;background-position:35% top}.ps-reference-home .ps-hero-panel{right:0;left:0;bottom:30px;padding:14px;min-height:315px}.ps-reference-home .ps-hero-text{height:287px;padding:28px 20px}.ps-reference-home .ps-hero-text>span{font-size:17px}.ps-reference-home .ps-hero-text h1{font-size:24px}.ps-reference-home .ps-hero-text p{font-size:10px}.ps-reference-home .ps-hero-buttons{gap:8px;flex-wrap:wrap}.ps-reference-home .ps-red-btn,.ps-reference-home .ps-white-btn{height:38px;min-height:38px;padding-inline:16px;font-size:10px}
  .ps-reference-home .ps-sale-block{padding-top:48px}.ps-reference-home .ps-sale-products{height:335px;padding-inline:10px}.ps-reference-home .ps-sale-block .ps-slider-slide{flex-basis:78%;max-width:240px}
  .ps-reference-home .ps-icon-title h2{font-size:20px}.ps-reference-home .ps-icon-title h2:before{width:32px;height:32px;flex-basis:32px}
  .ps-reference-home .ps-category-row{grid-template-columns:repeat(3,1fr);gap:22px 7px}.ps-reference-home .ps-category-image{width:86px;height:86px;border-width:5px}.ps-reference-home .ps-category-image:before,.ps-reference-home .ps-category-image:after{width:16px;height:16px;border-width:4px}.ps-reference-home .ps-category-card strong{font-size:10px}
  .ps-reference-home .ps-bestsellers .ps-products-grid,.ps-elementor-products--detail>.ps-products-grid{grid-template-columns:1fr}.ps-product-card--detail{grid-template-columns:100px 1fr}.ps-product-card--detail .ps-add-btn{min-width:92px;padding-inline:9px}
  .ps-reference-home .ps-process-grid{grid-template-columns:1fr}.ps-reference-home .ps-process-grid article{height:auto;min-height:220px}.ps-reference-home .ps-step-art b{right:-28px}
  .ps-reference-home .ps-category-tabs{padding-block:65px}.ps-reference-home .ps-tabs{width:100%;justify-content:flex-start;overflow-x:auto;padding:5px 0 8px}.ps-reference-home .ps-tabs button{min-width:88px}.ps-reference-home .ps-category-tabs .ps-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ps-reference-home .ps-category-tabs .ps-product-card--default{height:250px}.ps-reference-home .ps-category-tabs .ps-product-card--default .ps-product-media{height:153px}.ps-product-card--default .ps-product-body h3{font-size:11px}
  .ps-reference-home .ps-home-cta h2{font-size:21px}.ps-reference-home .ps-home-post-grid{grid-template-columns:1fr}.ps-reference-home .ps-blog-card.is-compact{height:auto;min-height:345px}.ps-blog-card-footer{align-items:center}
  .ps-footer{padding-top:75px}.ps-footer-grid{grid-template-columns:1fr}.ps-footer-about{grid-column:auto}.ps-footer-contact-card{grid-template-columns:1fr;margin-top:-95px}.ps-footer-links,.ps-trust{padding-top:10px}.ps-trust>div{grid-template-columns:repeat(4,55px)}.ps-trust img{width:55px;height:55px}
}
