/* ==========================
PTH Highlights
========================== */

/* ==========================
PTH single-row site header
========================== */
html,
body{
max-width:100%;
overflow-x:hidden;
}

.site-header#masthead{
display:none !important;
}

.pth-site-header{
position:relative;
z-index:100;
width:100%;
max-width:100vw;
border-bottom:1px solid #edf0f4;
background:#fff;
box-shadow:0 3px 14px rgba(16,48,84,.05);
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
}

.pth-site-header__inner{
display:grid;
grid-template-columns:180px minmax(0,1fr) auto;
align-items:center;
gap:34px;
width:min(100% - 40px,1500px);
min-height:88px;
margin:0 auto;
}

.pth-site-header__brand{
display:flex;
align-items:center;
justify-content:flex-start;
flex:0 0 auto;
}

.pth-site-header__brand .custom-logo-link{
display:block;
line-height:0;
visibility:visible !important;
opacity:1 !important;
}

.pth-site-header__brand .custom-logo{
display:block;
width:auto;
max-width:156px;
height:auto;
max-height:62px;
object-fit:contain;
visibility:visible !important;
opacity:1 !important;
}

.pth-site-header__wordmark{
display:flex;
align-items:center;
flex-direction:column;
color:#0877bd !important;
line-height:.85;
text-decoration:none !important;
}

.pth-site-header__wordmark b{
font-size:36px;
font-weight:900;
}

.pth-site-header__wordmark span{
font-size:18px;
font-weight:700;
}

.pth-site-header__nav{
position:relative;
display:flex;
align-items:center;
justify-content:center;
gap:0;
}

.pth-site-header__nav a{
position:relative;
display:flex;
align-items:center;
gap:8px;
padding:10px 22px;
color:#26354b !important;
font-size:14px;
font-weight:700;
white-space:nowrap;
text-decoration:none !important;
transition:color .2s ease;
}

.pth-site-header__nav a + a::before{
content:"";
position:absolute;
right:0;
top:50%;
width:1px;
height:22px;
background:#e3e7ec;
transform:translateY(-50%);
}

.pth-site-header__nav a::after{
content:"";
position:absolute;
right:22px;
bottom:2px;
width:0;
height:2px;
border-radius:2px;
background:#0877bd;
transition:width .2s ease;
}

.pth-site-header__nav a:hover{
color:#0877bd !important;
}

.pth-site-header__nav a:hover::after{
width:calc(100% - 44px);
}

.pth-header-categories{
position:static;
}

.pth-header-categories__trigger{
cursor:pointer;
}

.pth-site-header__nav .pth-header-categories__chevron{
width:15px;
height:15px;
transition:transform .2s ease;
}

.pth-header-mega{
position:absolute;
right:50%;
top:100%;
width:min(920px,calc(100vw - 48px));
padding-top:15px;
opacity:0;
visibility:hidden;
pointer-events:none;
transform:translate(50%,10px);
transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
}

.pth-header-categories:hover .pth-header-mega,
.pth-header-categories:focus-within .pth-header-mega,
.pth-header-categories.is-open .pth-header-mega{
opacity:1;
visibility:visible;
pointer-events:auto;
transform:translate(50%,0);
}

.pth-header-categories:hover .pth-header-categories__chevron,
.pth-header-categories:focus-within .pth-header-categories__chevron,
.pth-header-categories.is-open .pth-header-categories__chevron{
transform:rotate(180deg);
}

.pth-header-mega__panel{
padding:20px;
border:1px solid #e2e8ef;
border-radius:18px;
background:#fff;
box-shadow:0 20px 48px rgba(17,45,76,.16);
}

.pth-header-mega__heading{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:0 4px 14px;
margin-bottom:14px;
border-bottom:1px solid #edf1f5;
}

.pth-header-mega__heading strong{
color:#102f58;
font-size:16px;
font-weight:900;
}

.pth-site-header__nav .pth-header-mega__heading a{
padding:4px 0;
color:#0877bd !important;
font-size:12px;
font-weight:800;
}

.pth-header-mega__grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:10px;
}

.pth-header-mega__group{
min-height:82px;
padding:12px;
border:1px solid #e7edf3;
border-radius:13px;
background:#fbfdff;
transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.pth-header-mega__group:hover{
border-color:#cfe2f1;
background:#f6fbff;
transform:translateY(-1px);
}

.pth-site-header__nav .pth-header-mega__parent{
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
padding:0;
color:#173558 !important;
font-size:13px;
font-weight:900;
}

.pth-header-mega__parent span{
color:#0877bd;
font-size:16px;
}

.pth-header-mega__children{
display:flex;
align-items:stretch;
flex-direction:column;
flex-wrap:nowrap;
gap:6px;
margin-top:9px;
}

.pth-site-header__nav .pth-header-mega__children a{
display:block;
padding:1px 9px 1px 0;
border-right:2px solid #dce7f0;
color:#6c7887 !important;
font-size:11px;
font-weight:600;
white-space:normal;
}

.pth-site-header__nav .pth-header-mega__children a:hover{
color:#0877bd !important;
}

.pth-site-header__nav .pth-header-mega a::before,
.pth-site-header__nav .pth-header-mega a::after{
display:none !important;
}

.pth-site-header__nav svg,
.pth-site-header__actions svg{
width:21px;
height:21px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.65;
}

.pth-site-header__actions{
display:flex;
align-items:center;
justify-content:flex-end;
gap:10px;
direction:ltr;
}

.pth-header-action,
.pth-header-cart{
display:flex;
align-items:center;
justify-content:center;
gap:8px;
min-height:48px;
border-radius:11px;
font-size:13px;
font-weight:800;
text-decoration:none !important;
direction:rtl;
}

.pth-header-action{
padding:9px 17px;
}

.pth-header-action--login{
border:1px solid #172d59;
background:#172d59;
color:#fff !important;
}

.pth-header-action:hover{
transform:translateY(-1px);
}

.pth-header-cart{
position:relative;
width:48px;
height:48px;
min-height:48px;
border:1px solid #d9e0e7;
border-radius:13px;
background:#fff;
color:#465362 !important;
transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.pth-header-cart:hover{
border-color:#bfcbd7;
box-shadow:0 5px 14px rgba(29,55,82,.08);
transform:translateY(-1px);
}

.pth-site-header__actions .pth-header-cart svg{
width:24px;
height:24px;
stroke-width:1.45;
}

.pth-header-cart > span{
position:absolute;
right:-7px;
top:-7px;
display:flex;
align-items:center;
justify-content:center;
box-sizing:border-box;
width:20px;
min-width:20px;
height:20px;
padding:1px 0 0;
border:2px solid #fff;
border-radius:50%;
background:#0877bd;
color:#fff;
font-family:Tahoma,Arial,sans-serif;
font-size:10px;
font-weight:700;
line-height:1;
text-align:center;
}

.pth-site-header__toggle{
display:none;
width:44px;
height:44px;
padding:10px;
border:1px solid #dfe5eb;
border-radius:10px;
background:#fff;
}

.pth-site-header__toggle span{
display:block;
width:100%;
height:2px;
margin:4px 0;
border-radius:2px;
background:#18304f;
transition:transform .2s ease,opacity .2s ease;
}

@media (max-width:1100px){
.pth-site-header__inner{
grid-template-columns:150px minmax(0,1fr) auto;
gap:15px;
}

.pth-header-mega__grid{
grid-template-columns:repeat(3,minmax(0,1fr));
}

.pth-site-header__nav a{
padding-inline:12px;
font-size:12px;
}

.pth-header-action{
padding-inline:12px;
font-size:11px;
}
}

@media (max-width:921px), (any-hover:none) and (any-pointer:coarse){
.pth-site-header__inner{
position:relative;
display:grid;
grid-template-columns:44px auto minmax(12px,1fr) 112px;
grid-template-areas:"toggle actions spacer brand";
align-items:center;
column-gap:8px;
direction:ltr;
min-height:72px;
width:100vw;
max-width:100vw;
margin:0 !important;
padding:0 12px;
box-sizing:border-box;
}

.pth-site-header__brand{
grid-area:brand;
direction:rtl;
position:static;
width:112px;
margin:0;
transform:none;
justify-self:end;
overflow:visible;
}

.pth-site-header__brand .custom-logo-link{
float:none !important;
display:block !important;
width:112px !important;
margin:0 !important;
padding:0 !important;
}

.pth-site-header__brand .custom-logo{
display:block !important;
width:112px !important;
max-width:112px !important;
height:auto !important;
max-height:48px;
}

.pth-site-header__toggle{
grid-area:toggle;
display:block;
}

.pth-site-header.is-menu-open .pth-site-header__toggle span:nth-child(1){
transform:translateY(6px) rotate(45deg);
}

.pth-site-header.is-menu-open .pth-site-header__toggle span:nth-child(2){
opacity:0;
}

.pth-site-header.is-menu-open .pth-site-header__toggle span:nth-child(3){
transform:translateY(-6px) rotate(-45deg);
}

.pth-site-header__nav{
position:absolute;
right:0;
top:calc(100% + 1px);
display:none;
align-items:stretch;
flex-direction:column;
width:min(330px,calc(100vw - 24px));
padding:10px;
border:1px solid #e2e8ee;
border-radius:0 0 15px 15px;
background:#fff;
box-shadow:0 16px 30px rgba(16,48,84,.14);
direction:rtl;
}

.pth-site-header.is-menu-open .pth-site-header__nav{
display:flex;
}

.pth-site-header__nav a{
padding:13px 12px;
font-size:13px;
}

.pth-header-categories{
width:100%;
}

.pth-site-header__nav .pth-header-categories__trigger{
justify-content:flex-start;
width:100%;
}

.pth-site-header__nav .pth-header-categories__trigger .pth-header-categories__chevron{
margin-right:auto;
}

.pth-header-mega{
position:static;
display:none;
width:100%;
padding:0 8px 10px;
opacity:1;
visibility:visible;
pointer-events:auto;
transform:none;
transition:none;
}

.pth-header-categories.is-open .pth-header-mega{
display:block;
transform:none;
}

.pth-header-mega__panel{
max-height:56vh;
padding:12px;
overflow-y:auto;
border-radius:12px;
box-shadow:none;
}

.pth-header-mega__heading{
padding-bottom:10px;
margin-bottom:10px;
}

.pth-header-mega__grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:7px;
}

.pth-header-mega__group{
min-height:0;
padding:10px;
}

.pth-site-header__nav a + a::before,
.pth-site-header__nav a::after{
display:none;
}

.pth-site-header__actions{
grid-area:actions;
margin:0;
justify-self:start;
}

.pth-header-action--login span{
display:none;
}

.pth-header-action--login{
width:44px;
min-height:44px;
padding:0;
}

.pth-header-cart{
width:44px;
height:44px;
min-height:44px;
}
}

@media (max-width:480px){
.pth-site-header__inner{
grid-template-columns:44px auto minmax(8px,1fr) 94px;
column-gap:6px;
}

.pth-header-mega__grid{
grid-template-columns:1fr;
}

.pth-header-mega__panel{
max-height:62vh;
padding:10px;
}

.pth-site-header__brand,
.pth-site-header__brand .custom-logo-link{
width:94px !important;
}

.pth-site-header__brand .custom-logo{
width:94px !important;
max-width:94px !important;
}

.pth-site-header__actions{
gap:6px;
}
}

.pth-highlights{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:12px;

margin:25px 0;

}

.pth-highlight-item{

background:#f7fbfd;

border:1px solid #dbeaf2;

border-radius:10px;

padding:14px;

transition:.25s;

}

.pth-highlight-item:hover{

transform:translateY(-3px);

box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.pth-title{

display:block;

font-weight:700;

color:#032f60;

margin-bottom:8px;

}

.pth-value{

color:#444;

font-size:15px;

}

/* ==========================
"See more" buttons (uagb-buttons-child) - keep text on one line by
shrinking to fit their own space instead of expanding into it
(expanding caused overlap with the adjacent heading text).
========================== */

.uagb-button__link{

white-space:nowrap !important;

font-size:13px !important;

padding:2px 6px !important;

}

@media (max-width:600px){

.uagb-button__link{

font-size:10px !important;

padding:1px 4px !important;

letter-spacing:normal !important;

}

}

/* Root cause of the overlap: on mobile, UAGB/Spectra keeps the heading
and the "See more" button as a centered row instead of stacking them,
so they render on top of each other. Force a column layout for any
uagb-container row that holds a buttons block next to the heading. */

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){

.wp-block-uagb-container > .uagb-container-inner-blocks-wrap:has(> .wp-block-uagb-buttons){

flex-direction:column !important;

align-items:flex-start !important;

row-gap:6px !important;

}

}

/* ==========================
Circle-categories gallery (wp-block-gallery-1): some images were inserted
at "Large" (1024px) instead of "Medium" like the rest, so they render as
huge disproportionate banners instead of small square icons. Force every
image in this gallery to the same square ratio and scale the caption text
with the viewport so image + text shrink together on small screens.
========================== */

.wp-block-gallery-1 .wp-block-image img{

aspect-ratio:1/1 !important;

object-fit:cover !important;

width:100% !important;

height:auto !important;

}

.wp-block-gallery-1 .wp-element-caption{

font-size:clamp(11px,3vw,16px) !important;

}

/* ==========================
Homepage category chart
========================== */
.pth-home-categories{
padding:64px 24px 72px;
background:linear-gradient(180deg,#f7fbfe 0%,#fff 100%);
}

.pth-home-categories__inner{
max-width:1240px;
margin:0 auto;
}

.pth-home-categories__header{
margin-bottom:30px;
text-align:center;
}

.pth-home-categories__header span{
display:inline-block;
margin-bottom:7px;
color:#0877bd;
font-size:13px;
font-weight:800;
}

.pth-home-categories__header h2{
margin:0;
color:#102b50;
font-size:clamp(25px,3vw,36px);
font-weight:900;
line-height:1.5;
}

.pth-home-categories__header p{
margin:5px 0 0;
color:#758398;
font-size:14px;
}

.pth-home-categories__grid{
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:18px;
max-width:1080px;
margin:0 auto;
}

.pth-home-category-card{
position:relative;
display:flex;
align-items:center;
flex-direction:column;
min-width:0;
padding:13px 12px 16px;
overflow:hidden;
border:1px solid #e1edf5;
border-radius:24px;
background:#fff;
box-shadow:0 9px 28px rgba(14,77,125,.07);
color:#173355 !important;
text-align:center;
text-decoration:none !important;
transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.pth-home-category-card::before{
content:"";
position:absolute;
inset:0 0 auto;
height:4px;
background:linear-gradient(90deg,#086ab0,#20c4ef);
opacity:0;
transition:opacity .25s ease;
}

.pth-home-category-card:hover{
border-color:#b8def3;
box-shadow:0 18px 42px rgba(11,87,145,.14);
transform:translateY(-7px);
}

.pth-home-category-card:hover::before{
opacity:1;
}

.pth-home-category-card__image{
display:block;
width:64%;
max-width:150px;
overflow:hidden;
border-radius:18px;
background:#eef9ff;
aspect-ratio:1/1;
}

.pth-home-category-card__image img{
display:block;
width:100%;
height:100%;
object-fit:cover;
transition:transform .4s ease;
}

.pth-home-category-card:hover img{
transform:scale(1.045);
}

.pth-home-category-card strong{
display:block;
margin-top:14px;
color:#102c51;
font-size:17px;
font-weight:900;
line-height:1.7;
}

.pth-home-category-card small{
display:flex;
align-items:center;
gap:6px;
margin-top:4px;
color:#8190a4;
font-size:11px;
font-weight:600;
}

.pth-home-category-card small i{
color:#0877bd;
font-size:15px;
font-style:normal;
transition:transform .2s ease;
}

.pth-home-category-card:hover small i{
transform:translateX(-4px);
}

@media (max-width:921px), (any-hover:none) and (any-pointer:coarse){
.pth-home-categories__grid{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:16px;
}

.pth-home-category-card__image{
width:72%;
}
}

@media (max-width:520px){
.pth-home-categories{
padding:42px 12px 50px;
}

.pth-home-categories__header{
margin-bottom:22px;
}

.pth-home-categories__header p{
font-size:12px;
}

.pth-home-categories__grid{
gap:10px;
}

.pth-home-category-card{
padding:8px 8px 13px;
border-radius:17px;
}

.pth-home-category-card__image{
width:78%;
border-radius:13px;
}

.pth-home-category-card strong{
margin-top:9px;
font-size:13px;
}

.pth-home-category-card small{
font-size:9px;
}
}

/* ==========================
"دستگیره دیجیتال / مینی گیت سه اهرمی / تشخیص چهره" highlight boxes.
The teal box (uagb-block-df1e8879) has a hard-coded min-height:390px
that the purple/cream boxes (uagb-block-51da9583 / 6d7f7bda) don't have,
and each image has a different pull-up margin - that mismatch is what
makes them different sizes. Equalize all three on small screens.
========================== */

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){

.uagb-block-df1e8879,

.uagb-block-51da9583,

.uagb-block-6d7f7bda{

min-height:220px !important;

}

.uagb-block-f716059c,

.uagb-block-797fed75,

.uagb-block-e7c892c7{

margin-top:0 !important;

}

.uagb-block-f716059c img,

.uagb-block-797fed75 img,

.uagb-block-e7c892c7 img{

max-height:120px !important;

width:auto !important;

height:auto !important;

object-fit:contain !important;

display:block !important;

margin-left:auto !important;

margin-right:auto !important;

}

.uagb-block-f716059c .wp-block-uagb-image__figure,

.uagb-block-797fed75 .wp-block-uagb-image__figure,

.uagb-block-e7c892c7 .wp-block-uagb-image__figure{

display:flex !important;

justify-content:center !important;

width:100% !important;

}

}

/* ==========================
PTH homepage product-search hero
========================== */

.pth-search-hero,
.pth-search-hero *{
box-sizing:border-box;
}

.pth-search-hero{
position:relative;
isolation:isolate;
overflow:hidden;
width:100%;
background:
radial-gradient(circle at 13% 25%,rgba(0,203,255,.23),transparent 25%),
linear-gradient(125deg,#042a59 0%,#07589d 55%,#06366d 100%);
color:#fff;
}

.pth-search-hero::before,
.pth-search-hero::after{
content:"";
position:absolute;
z-index:-1;
border:1px solid rgba(255,255,255,.09);
border-radius:28px;
transform:rotate(34deg);
}

.pth-search-hero::before{
width:420px;
height:420px;
right:-170px;
top:-245px;
}

.pth-search-hero::after{
width:300px;
height:300px;
left:18%;
bottom:-235px;
}

.pth-search-hero__inner{
position:relative;
display:flex;
align-items:center;
justify-content:center;
min-height:380px;
max-width:1240px;
margin:0 auto;
padding:34px 28px 30px;
}

.pth-search-hero__content{
position:relative;
z-index:2;
width:min(820px,72%);
max-width:100%;
min-width:0;
margin-inline:auto;
text-align:center;
transform:translateX(40px);
}

.pth-search-hero__eyebrow{
display:inline-flex;
align-items:center;
gap:7px;
margin:0 0 5px;
padding:5px 14px;
border:1px solid rgba(255,255,255,.18);
border-radius:999px;
background:rgba(255,255,255,.08);
color:#bfefff;
font-size:13px;
font-weight:700;
}

.pth-search-hero h1{
margin:0;
color:#fff;
font-size:clamp(28px,3.2vw,45px);
font-weight:900;
line-height:1.45;
}

.pth-search-hero__subtitle{
margin:2px 0 20px;
color:#dceeff;
font-size:clamp(14px,1.4vw,18px);
}

.pth-product-search{
position:relative;
z-index:2;
display:flex;
align-items:center;
width:100%;
height:74px;
overflow:hidden;
border:1px solid rgba(255,255,255,.75);
border-radius:22px;
background:#fff;
box-shadow:0 16px 38px rgba(0,20,52,.24);
}

.pth-product-search input[type="search"]{
min-width:0;
width:100%;
height:100%;
margin:0;
padding:0 28px 0 86px;
border:0 !important;
outline:0 !important;
background:transparent;
box-shadow:none !important;
color:#102f54;
font-size:16px;
text-align:right;
}

.pth-product-search input[type="search"]::placeholder{
color:#7a8a9d;
opacity:1;
}

.pth-product-search button{
position:absolute;
left:10px;
display:grid;
place-items:center;
width:54px;
height:54px;
padding:0;
border:0;
border-radius:16px;
background:#0877bd;
color:#fff;
cursor:pointer;
transition:transform .2s ease,background .2s ease;
}

.pth-product-search button:hover,
.pth-product-search button:focus-visible{
background:#005b9d;
transform:scale(1.04);
}

.pth-product-search button svg{
width:25px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-width:2;
}

.pth-search-suggestions{
display:flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:9px;
width:calc(100% + 120px);
margin:15px -60px 0;
}

.pth-search-suggestions a{
display:inline-flex;
align-items:center;
gap:5px;
padding:8px 13px;
border:1px solid rgba(255,255,255,.5);
border-radius:11px;
background:rgba(255,255,255,.95);
box-shadow:0 5px 14px rgba(0,22,56,.12);
color:#12345b;
font-size:13px;
font-weight:700;
line-height:1.35;
text-decoration:none !important;
transition:transform .2s ease,background .2s ease;
}

.pth-search-suggestions a:hover,
.pth-search-suggestions a:focus-visible{
background:#fff;
color:#006aad;
transform:translateY(-2px);
}

.pth-search-suggestions svg{
width:15px;
fill:none;
stroke:#ff5e68;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.8;
}

.pth-search-stage{
position:relative;
}

.pth-search-hero__mascot{
position:absolute;
z-index:3;
left:-75px;
bottom:67px;
width:205px;
height:auto;
filter:drop-shadow(0 16px 20px rgba(0,14,44,.28));
pointer-events:none;
user-select:none;
}

@media (max-width:920px), (any-hover:none) and (any-pointer:coarse){
.pth-search-hero__inner{
min-height:345px;
padding-left:20px;
padding-right:20px;
}

.pth-search-hero__content{
width:78%;
margin-right:auto;
margin-left:auto;
transform:translateX(18px);
}

.pth-search-hero__mascot{
left:-44px;
bottom:50px;
width:178px;
}

.pth-search-suggestions{
width:100%;
margin:15px 0 0;
}
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
.pth-search-hero__inner{
display:block;
min-height:0;
padding:24px clamp(12px,4vw,20px) 20px;
}

}

/* Paya floating support widget. */
.pth-support-widget{
position:fixed;
right:auto;
left:22px;
bottom:22px;
z-index:10020;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
}

.pth-support-widget__trigger{
position:relative;
display:flex;
align-items:center;
justify-content:center;
width:60px;
height:60px;
padding:0;
overflow:visible;
border:0;
border-radius:50%;
background:linear-gradient(145deg,#1597df,#0877bd);
box-shadow:0 10px 28px rgba(8,119,189,.35);
color:#fff;
cursor:pointer;
transition:transform .22s ease,box-shadow .22s ease,background .22s ease;
}

.pth-support-widget__trigger::before{
content:'';
position:absolute;
inset:-6px;
z-index:-1;
border:1px solid rgba(8,119,189,.25);
border-radius:inherit;
animation:pth-support-pulse 2.2s ease-out infinite;
}

.pth-support-widget__trigger:hover{
background:linear-gradient(145deg,#0877bd,#065f99);
box-shadow:0 13px 32px rgba(8,119,189,.42);
transform:translateY(-2px);
}

.pth-support-widget__trigger svg{
width:27px;
height:27px;
fill:none;
stroke:currentColor;
stroke-width:1.9;
stroke-linecap:round;
stroke-linejoin:round;
transition:opacity .18s ease,transform .22s ease;
}

.pth-support-widget__x{
position:absolute;
opacity:0;
transform:rotate(-70deg) scale(.7);
}

.pth-support-widget:not(.is-open) .pth-support-widget__phone{
animation:pth-support-headset 3.4s ease-in-out infinite;
transform-origin:center;
}

.pth-support-widget.is-open .pth-support-widget__phone{
opacity:0;
transform:rotate(70deg) scale(.7);
}

.pth-support-widget.is-open .pth-support-widget__x{
opacity:1;
transform:rotate(0) scale(1);
}

.pth-support-widget__panel{
position:absolute;
right:auto;
left:0;
bottom:78px;
width:340px;
max-width:calc(100vw - 28px);
padding:20px 22px 24px;
visibility:hidden;
border:1px solid #e1edf5;
border-radius:22px;
background:#fff;
box-shadow:0 18px 55px rgba(11,46,76,.2);
color:#0c3154;
text-align:center;
opacity:0;
transform:translateY(14px) scale(.96);
transform-origin:bottom left;
transition:opacity .2s ease,transform .25s ease,visibility .25s;
}

.pth-support-widget__panel::after{
content:'';
position:absolute;
right:auto;
left:21px;
bottom:-8px;
width:16px;
height:16px;
border-right:1px solid #e1edf5;
border-bottom:1px solid #e1edf5;
background:#fff;
transform:rotate(45deg);
}

.pth-support-widget.is-open .pth-support-widget__panel{
visibility:visible;
opacity:1;
transform:translateY(0) scale(1);
}

.pth-support-widget__close{
position:absolute;
top:12px;
left:12px;
z-index:3;
display:flex;
align-items:center;
justify-content:center;
width:32px;
height:32px;
padding:0;
border:0;
border-radius:10px;
background:#f1f7fb;
color:#537087;
cursor:pointer;
}

.pth-support-widget__close svg{
width:18px;
height:18px;
fill:none;
stroke:currentColor;
stroke-width:2;
stroke-linecap:round;
}

.pth-support-widget__image-wrap{
width:156px;
height:156px;
margin:0 auto 12px;
overflow:hidden;
border:5px solid #e8f5fc;
border-radius:50%;
background:#f5fbff;
box-shadow:0 8px 24px rgba(8,119,189,.13);
}

.pth-support-widget__image-wrap img{
display:block;
width:100%;
height:100%;
object-fit:cover;
}

.pth-support-widget__panel h2{
margin:0 0 7px;
color:#083d6b;
font-family:inherit;
font-size:22px;
font-weight:800;
line-height:1.7;
}

.pth-support-widget__panel p{
margin:0;
color:#536b7e;
font-family:inherit;
font-size:14px;
font-weight:500;
line-height:2;
}

.pth-support-widget [hidden]{
display:none !important;
}

.pth-support-widget__choices{
display:grid;
gap:10px;
margin-top:18px;
}

.pth-support-widget__choices button{
display:grid;
grid-template-columns:36px 1fr 18px;
align-items:center;
gap:10px;
width:100%;
min-height:54px;
padding:8px 12px;
border:1px solid #d7e9f4;
border-radius:14px;
background:#f7fbfe;
color:#0a466f;
font-family:inherit;
font-size:14px;
font-weight:700;
text-align:right;
cursor:pointer;
transition:border-color .18s ease,background .18s ease,transform .18s ease;
}

.pth-support-widget__choices button:hover{
border-color:#7cc1e8;
background:#edf8fe;
transform:translateY(-1px);
}

.pth-support-widget__choices button:first-child{
border-color:#8bcbed;
background:#eef9ff;
}

.pth-support-widget__choices button i{
font-size:25px;
font-style:normal;
font-weight:400;
line-height:1;
text-align:left;
}

.pth-support-widget__choice-icon{
display:flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
border-radius:11px;
background:#0877bd;
color:#fff;
font-size:18px;
}

.pth-support-widget__choice-icon svg{
width:20px;
height:20px;
fill:none;
stroke:currentColor;
stroke-width:1.8;
stroke-linecap:round;
stroke-linejoin:round;
}

.pth-support-chat{
margin:-4px -6px -8px;
}

.pth-support-chat__header{
display:grid;
grid-template-columns:36px 48px 1fr;
align-items:center;
gap:10px;
padding:2px 38px 15px 0;
border-bottom:1px solid #e6eef4;
text-align:right;
}

.pth-support-chat__back{
display:flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
padding:0;
border:0;
border-radius:11px;
background:#eff7fc;
color:#0a6fae;
cursor:pointer;
}

.pth-support-chat__back svg{
width:20px;
height:20px;
fill:none;
stroke:currentColor;
stroke-width:2;
stroke-linecap:round;
stroke-linejoin:round;
}

.pth-support-chat__avatar{
display:block;
width:48px;
height:48px;
border:2px solid #d9effc;
border-radius:50%;
background:#f0faff;
object-fit:cover;
}

.pth-support-chat__title,
.pth-support-chat__status{
display:block;
font-family:inherit;
}

.pth-support-chat__title{
color:#083d6b;
font-size:15px;
font-weight:800;
line-height:1.8;
}

.pth-support-chat__status{
color:#6f8495;
font-size:10px;
font-weight:500;
line-height:1.8;
}

.pth-support-chat__status-dots{
display:inline-flex;
gap:3px;
margin-right:4px;
vertical-align:middle;
}

.pth-support-chat__status-dots i,
.pth-support-chat__typing i{
display:block;
width:5px;
height:5px;
border-radius:50%;
background:#38a7db;
animation:pth-chat-dot 1.2s ease-in-out infinite;
}

.pth-support-chat__status-dots i:nth-child(2),
.pth-support-chat__typing i:nth-child(2){animation-delay:.16s}

.pth-support-chat__status-dots i:nth-child(3),
.pth-support-chat__typing i:nth-child(3){animation-delay:.32s}

.pth-support-chat__messages{
display:flex;
flex-direction:column;
gap:9px;
height:278px;
margin:0 -16px;
padding:16px;
overflow-y:auto;
background:linear-gradient(180deg,#f8fbfd 0%,#fff 100%);
scrollbar-width:thin;
scrollbar-color:#bad9e9 transparent;
}

.pth-support-chat__message{
width:fit-content;
max-width:86%;
padding:9px 12px;
border-radius:14px;
font-family:inherit;
font-size:12px;
font-weight:500;
line-height:1.9;
text-align:right;
white-space:pre-line;
}

.pth-support-chat__message--agent{
align-self:flex-start;
border-bottom-right-radius:4px;
background:#eaf6fd;
color:#174b6c;
}

.pth-support-chat__message--user{
align-self:flex-end;
border-bottom-left-radius:4px;
background:#0877bd;
color:#fff;
}

.pth-support-chat__message--system{
align-self:center;
background:#eaf8f1;
color:#16704b;
font-size:11px;
text-align:center;
}

.pth-support-chat__message--error{
align-self:center;
background:#fff0f0;
color:#b43737;
font-size:11px;
text-align:center;
}

.pth-support-chat__typing{
display:flex;
align-items:center;
gap:4px;
min-width:48px;
min-height:34px;
}

.pth-support-chat__composer{
display:grid;
grid-template-columns:1fr 44px;
align-items:end;
gap:8px;
padding-top:13px;
border-top:1px solid #e6eef4;
}

.pth-support-chat__composer textarea{
box-sizing:border-box;
width:100%;
min-height:44px;
max-height:96px;
margin:0;
padding:10px 12px;
resize:none;
border:1px solid #d5e2eb;
border-radius:13px;
outline:0;
background:#fff;
color:#173a55;
font-family:inherit;
font-size:12px;
line-height:1.8;
}

.pth-support-chat__composer textarea:focus{
border-color:#5cb2df;
box-shadow:0 0 0 3px rgba(8,119,189,.08);
}

.pth-support-chat__composer button{
display:flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
padding:0;
border:0;
border-radius:13px;
background:#0877bd;
color:#fff;
cursor:pointer;
}

.pth-support-chat__composer button:disabled{
cursor:wait;
opacity:.6;
}

.pth-support-chat__composer button svg{
width:21px;
height:21px;
fill:none;
stroke:currentColor;
stroke-width:1.8;
stroke-linecap:round;
stroke-linejoin:round;
}

@keyframes pth-support-pulse{
0%{opacity:.8;transform:scale(.9)}
70%,100%{opacity:0;transform:scale(1.25)}
}

@keyframes pth-support-headset{
0%,76%,100%{transform:rotate(0) translateY(0)}
82%{transform:rotate(-8deg) translateY(-1px)}
88%{transform:rotate(7deg) translateY(-2px)}
94%{transform:rotate(-4deg) translateY(-1px)}
}

@keyframes pth-chat-dot{
0%,60%,100%{opacity:.35;transform:translateY(0)}
30%{opacity:1;transform:translateY(-3px)}
}

/* Swap the support and back-to-top controls. */
#ast-scroll-top{
right:30px !important;
left:auto !important;
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
#ast-scroll-top{
right:14px !important;
bottom:16px !important;
}

body.single-product #ast-scroll-top{
bottom:90px !important;
}

.pth-support-widget{
right:auto;
left:14px;
bottom:16px;
}

.single-product .pth-support-widget{
bottom:90px;
}

.pth-support-widget__trigger{
width:54px;
height:54px;
}

.pth-support-widget__trigger svg{
width:24px;
height:24px;
}

.pth-support-widget__panel{
position:fixed;
right:auto;
left:14px;
bottom:82px;
width:calc(100vw - 28px);
padding:18px 20px 22px;
transform-origin:bottom left;
}

.single-product .pth-support-widget__panel{
bottom:156px;
}

.pth-support-widget__image-wrap{
width:132px;
height:132px;
}

.pth-support-widget__panel h2{
font-size:20px;
}

.pth-support-chat__messages{
height:min(278px,34vh);
}
}

@media (prefers-reduced-motion:reduce){
.pth-support-widget__trigger::before{
animation:none;
}

.pth-support-widget:not(.is-open) .pth-support-widget__phone{
animation:none;
}

.pth-support-chat__status-dots i,
.pth-support-chat__typing i{
animation:none;
}

.pth-support-widget__trigger,
.pth-support-widget__trigger svg,
.pth-support-widget__panel{
transition:none;
}
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){

.pth-search-hero__content{
width:100%;
transform:none;
}

.pth-search-hero__subtitle{
max-width:310px;
margin:4px auto 16px;
}

.pth-search-stage{
margin-top:52px;
}

.pth-product-search{
height:62px;
border-radius:17px;
}

.pth-product-search input[type="search"]{
padding-right:18px;
padding-left:69px;
font-size:14px;
}

.pth-product-search button{
left:7px;
width:48px;
height:48px;
border-radius:13px;
}

.pth-search-suggestions{
position:relative;
z-index:2;
flex-wrap:nowrap;
justify-content:flex-start;
max-width:100%;
padding:2px 0 8px;
overflow-x:auto;
overscroll-behavior-inline:contain;
scroll-snap-type:x proximity;
-webkit-overflow-scrolling:touch;
scrollbar-width:none;
}

.pth-search-suggestions::-webkit-scrollbar{
display:none;
}

.pth-search-suggestions a{
flex:0 0 auto;
scroll-snap-align:start;
font-size:12px;
}

.pth-search-hero__mascot{
display:block;
z-index:3;
top:auto;
bottom:49px;
left:5px;
width:120px;
opacity:1;
filter:drop-shadow(0 8px 10px rgba(0,14,44,.2));
}
}

@media (max-width:480px){
.pth-search-hero__eyebrow{
padding:4px 11px;
font-size:11px;
}

.pth-search-hero h1{
font-size:clamp(24px,8vw,30px);
line-height:1.35;
}

.pth-search-hero__subtitle{
max-width:290px;
font-size:13px;
line-height:1.8;
}

.pth-search-stage{
margin-top:48px;
}

.pth-product-search{
height:58px;
border-radius:15px;
}

.pth-product-search input[type="search"]{
padding-right:14px;
padding-left:62px;
font-size:13px;
text-overflow:ellipsis;
}

.pth-product-search button{
left:6px;
width:46px;
height:46px;
border-radius:12px;
}

.pth-product-search button svg{
width:22px;
}

.pth-search-hero__mascot{
left:2px;
bottom:46px;
width:108px;
}

.pth-search-suggestions{
gap:7px;
margin-top:11px;
}

.pth-search-suggestions a{
padding:7px 10px;
font-size:11px;
}
}

@media (max-width:350px){
.pth-search-hero__inner{
padding-inline:10px;
}

.pth-search-hero__subtitle{
max-width:260px;
}

.pth-product-search input[type="search"]{
padding-right:12px;
padding-left:57px;
font-size:12px;
}

.pth-product-search button{
width:43px;
height:43px;
}

.pth-search-hero__mascot{
width:98px;
}
}

@media (prefers-reduced-motion:reduce){
.pth-product-search button,
.pth-search-suggestions a{
transition:none;
}
}

/* ==========================
PTH commerce product page
========================== */

@font-face{
font-family:'PTH IRANSans';
src:url('/wp-content/uploads/2026/05/IRANSansWebFaNum.woff2') format('woff2');
font-style:normal;
font-weight:400;
font-display:swap;
}

@font-face{
font-family:'PTH IRANSans';
src:url('/wp-content/uploads/2026/05/IRANSansWebFaNum_Medium.woff2') format('woff2');
font-style:normal;
font-weight:500;
font-display:swap;
}

@font-face{
font-family:'PTH IRANSans';
src:url('/wp-content/uploads/2026/05/IRANSansWebFaNum_Bold.woff2') format('woff2');
font-style:normal;
font-weight:700 800;
font-display:swap;
}

@font-face{
font-family:'PTH IRANSans';
src:url('/wp-content/uploads/2026/05/IRANSansWebFaNum_Black.woff2') format('woff2');
font-style:normal;
font-weight:900;
font-display:swap;
}

.single-product .summary.entry-summary > .price,
.single-product .summary.entry-summary > .ast-shipping-text,
.single-product .summary.entry-summary > form.cart,
.single-product .summary.entry-summary > .product_meta{
display:none !important;
}

.single-product .site-content{
background:#f7f8fa;
}

.single-product .site-content,
.single-product .site-content button,
.single-product .site-content input,
.single-product .site-content textarea,
.single-product .site-content select{
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif !important;
}

.single-product .ast-container{
max-width:1240px;
}

.single-product div.product{
padding:26px;
border:1px solid #e6e8ed;
border-radius:22px;
background:#fff;
box-shadow:0 12px 34px rgba(8,42,76,.06);
}

.single-product div.product .woocommerce-product-gallery{
position:relative;
padding:22px;
border:1px solid #edf0f3;
border-radius:18px;
background:#fff;
}

.single-product div.product .woocommerce-product-gallery__image{
overflow:hidden;
border-radius:14px;
}

.single-product div.product .woocommerce-product-gallery__image a{
display:block;
cursor:zoom-in;
}

.single-product div.product .woocommerce-product-gallery img{
opacity:1 !important;
border-radius:14px;
transition:transform .28s ease;
}

@media (hover:hover) and (pointer:fine){
.single-product div.product .woocommerce-product-gallery__image:hover img{
transform:scale(1.055);
}
}

.single-product div.product .woocommerce-product-gallery::after{
content:"برای بزرگ‌نمایی روی تصویر کلیک کنید";
position:absolute;
right:18px;
bottom:16px;
z-index:3;
padding:7px 10px;
border:1px solid #e2e7ec;
border-radius:9px;
background:rgba(255,255,255,.94);
box-shadow:0 5px 16px rgba(15,45,75,.08);
color:#536273;
font-size:10px;
font-weight:700;
pointer-events:none;
}

.single-product .woocommerce-product-gallery__trigger{
display:grid !important;
place-items:center;
width:42px !important;
height:42px !important;
border:1px solid #dfe5eb !important;
border-radius:12px !important;
background:#fff !important;
box-shadow:0 7px 18px rgba(18,49,82,.09);
}

.single-product div.product .summary{
padding:4px 8px;
}

.single-product div.product .product_title{
margin:8px 0 12px;
color:#172b4d;
font-size:clamp(25px,2.2vw,36px);
font-weight:900;
line-height:1.5;
}

.pth-product-meta-line{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
padding-bottom:14px;
border-bottom:1px solid #eef0f3;
font-size:13px;
}

.pth-product-meta-line a{
text-decoration:none !important;
}

.pth-product-category a{
color:#0877bd;
}

.pth-product-rating-link{
display:flex;
align-items:center;
gap:5px;
color:#425466;
}

.pth-product-rating-link > span{
color:#f9a825;
font-size:18px;
}

.pth-product-rating-link small{
color:#7a8491;
}

.pth-product-lead{
margin:18px 0;
}

.pth-product-lead h2{
margin:0 0 7px;
color:#253858;
font-size:16px;
font-weight:800;
}

.pth-product-lead p{
display:-webkit-box;
overflow:hidden;
margin:0;
color:#5d6877;
font-size:14px;
line-height:2;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
}

.pth-buy-box{
position:relative;
display:grid;
grid-template-columns:1fr auto;
gap:14px;
margin-top:20px;
padding:20px;
border:1px solid #dfe3e8;
border-radius:18px;
background:#f6f7f8;
}

.pth-buy-box__seller{
display:flex;
align-items:center;
gap:11px;
}

.pth-buy-box__store-icon{
display:grid;
place-items:center;
width:43px;
height:43px;
border-radius:13px;
background:#0675bf;
color:#fff;
font-size:12px;
font-weight:900;
}

.pth-buy-box__seller strong,
.pth-buy-box__seller small{
display:block;
}

.pth-buy-box__seller strong{
color:#253858;
font-size:14px;
font-weight:700;
}

.pth-buy-box__seller small{
margin-top:4px;
color:#768394;
font-size:11px;
}

.pth-buy-box__availability{
align-self:center;
padding:6px 10px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.pth-buy-box__availability.is-in-stock{
background:#e5f7ef;
color:#087a55;
}

.pth-buy-box__availability.is-out-of-stock{
background:#fde8e8;
color:#bb2a33;
}

.pth-buy-box__price{
grid-column:1/-1;
display:flex;
align-items:baseline;
justify-content:flex-end;
gap:6px;
padding-top:14px;
border-top:1px solid #e0e4e8;
color:#192e4d;
}

.pth-buy-box__price > span{
margin-left:auto;
color:#5f6b7a;
font-size:13px;
}

.pth-buy-box__price strong{
font-size:25px;
font-weight:900;
letter-spacing:0;
}

.pth-buy-box__price small{
font-size:13px;
font-weight:700;
}

.pth-buy-box__cart{
grid-column:1/-1;
}

.pth-buy-box__cart form.cart{
display:grid !important;
grid-template-columns:auto 1fr;
gap:10px;
margin:0 !important;
}

.pth-buy-box__cart .quantity .qty{
height:52px;
border:1px solid #d9dee5;
border-radius:12px;
background:#fff;
}

.pth-buy-box__cart .single_add_to_cart_button,
.pth-consult-button{
width:100%;
min-height:52px;
border-radius:13px !important;
background:#ef4056 !important;
box-shadow:none !important;
color:#fff !important;
font-weight:700 !important;
}

.pth-buy-box__cart .single_add_to_cart_button:hover,
.pth-consult-button:hover{
background:#d92f44 !important;
}

.pth-catalog-button{
grid-column:1/-1;
display:flex;
align-items:center;
justify-content:center;
gap:9px;
min-height:50px;
padding:10px 16px;
border:1px solid #0877bd;
border-radius:13px;
background:#fff;
color:#086da9 !important;
font-size:13px;
font-weight:700;
text-decoration:none !important;
transition:background .2s ease,color .2s ease,transform .2s ease;
}

.pth-catalog-button svg{
width:21px;
height:21px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.7;
}

.pth-catalog-button:hover,
.pth-catalog-button:focus-visible{
background:#0877bd;
color:#fff !important;
transform:translateY(-1px);
}

.pth-product-services{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:8px;
margin-top:14px;
}

.pth-product-services > div{
display:grid;
grid-template-columns:32px 1fr;
align-items:center;
padding:10px;
border:1px solid #edf0f3;
border-radius:13px;
}

.pth-product-services > div > span{
grid-row:1/3;
display:grid;
place-items:center;
width:27px;
height:27px;
border-radius:9px;
background:#edf8fe;
color:#0877bd;
font-weight:700;
}

.pth-product-services > div > span svg{
width:18px;
height:18px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.75;
}

.pth-product-services strong,
.pth-product-services small{
display:block;
}

.pth-product-services strong{
color:#253858;
font-size:11.5px;
font-weight:700;
}

.pth-product-services small{
color:#8590a0;
font-size:9.5px;
font-weight:400;
}

.single-product .summary.entry-summary > a.compare.checkbox{
display:inline-flex;
align-items:center;
gap:7px;
width:max-content;
margin-top:8px;
color:#29415f !important;
font-size:12px;
font-weight:500;
text-decoration:none !important;
}

.single-product .summary.entry-summary > a.compare.checkbox input{
width:16px;
height:16px;
margin:0;
accent-color:#0877bd;
}

/* Technolife-inspired purchase card, adapted to PTH data and colors. */
.pth-buy-box.pth-techno-card{
display:flex;
flex-direction:column;
gap:14px;
padding:23px;
border:0;
border-radius:20px;
background:#fff;
box-shadow:0 8px 30px rgba(21,42,70,.11);
}

.pth-assurance-card{
padding:15px;
border:1px solid #edf0f4;
border-radius:10px;
background:#fff;
box-shadow:0 3px 12px rgba(24,48,77,.08);
}

.pth-assurance-card__head,
.pth-assurance-card__foot{
display:flex;
align-items:center;
gap:8px;
}

.pth-assurance-card__head{
padding-bottom:13px;
}

.pth-assurance-card__head svg{
width:21px;
height:21px;
fill:none;
stroke:#14a05a;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.7;
}

.pth-assurance-card__head strong{
color:#223652;
font-size:11.5px;
font-weight:700;
}

.pth-assurance-card__head a{
margin-right:auto;
color:#075da3;
font-size:10.5px;
font-weight:500;
text-decoration:none !important;
}

.pth-assurance-card__foot{
justify-content:space-between;
padding-top:12px;
border-top:1px solid #edf0f4;
color:#526174;
font-size:10.5px;
}

.pth-assurance-card__foot b{
padding:5px 9px;
border-radius:7px;
background:#e9f9f1;
color:#078254;
font-size:10px;
font-weight:700;
}

.pth-seller-panel{
padding:15px;
border-radius:9px;
background:#f0f6fd;
color:#1c3150;
}

.pth-seller-panel__heading{
display:flex;
align-items:center;
gap:9px;
}

.pth-seller-panel__heading small,
.pth-seller-panel__heading strong{
display:block;
}

.pth-seller-panel__heading small{
margin-bottom:2px;
color:#6e7f94;
font-size:9.5px;
}

.pth-seller-panel__heading strong{
font-size:12.5px;
font-weight:700;
}

.pth-seller-panel__icon,
.pth-seller-panel__row > svg{
flex:0 0 auto;
width:22px;
height:22px;
color:#315d9a;
}

.pth-seller-panel__icon svg{
width:100%;
height:100%;
}

.pth-seller-panel__icon svg,
.pth-seller-panel__row > svg{
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.55;
}

.pth-seller-panel__stock{
display:flex;
align-items:center;
gap:6px;
margin:9px 31px 12px 0;
color:#385372;
font-size:9.5px;
line-height:1.7;
}

.pth-seller-panel__stock > span{
width:6px;
height:6px;
border-radius:50%;
background:#11a66a;
box-shadow:0 0 0 3px rgba(17,166,106,.12);
}

.pth-seller-panel__stock.is-out-of-stock > span{
background:#d73548;
box-shadow:0 0 0 3px rgba(215,53,72,.12);
}

.pth-seller-panel__row{
display:flex;
align-items:center;
gap:8px;
min-height:47px;
border-top:1px solid #dce6f2;
font-size:10.5px;
}

.pth-seller-panel__row strong{
font-weight:700;
}

.pth-organization-box{
display:flex;
align-items:center;
gap:8px;
min-height:55px;
padding:10px 13px;
border:1px dashed #1c5ed0;
border-radius:9px;
color:#174481 !important;
font-size:10.5px;
font-weight:700;
text-decoration:none !important;
}

.pth-organization-box > svg{
width:20px;
height:20px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.55;
}

.pth-organization-box > b{
display:grid;
place-items:center;
width:17px;
height:17px;
margin-right:auto;
border-radius:50%;
background:#1c5ed0;
color:#fff;
font-size:10px;
}

.pth-organization-box > i{
font-size:22px;
font-style:normal;
line-height:1;
}

.pth-techno-card .pth-buy-box__price{
display:grid;
grid-template-columns:1fr auto;
align-items:end;
gap:2px 5px;
padding:4px 8px 0;
border:0;
}

.pth-techno-card .pth-buy-box__price > span{
grid-column:1/-1;
margin:0;
color:#6a7788;
font-size:9.5px;
}

.pth-techno-card .pth-buy-box__price strong{
justify-self:end;
color:#172d50;
font-size:23px;
font-weight:900;
line-height:1.25;
}

.pth-techno-card .pth-buy-box__price small{
align-self:end;
padding-bottom:2px;
color:#172d50;
font-size:10px;
font-weight:700;
}

.pth-techno-card .pth-buy-box__cart form.cart{
display:block !important;
float:none !important;
width:100% !important;
margin:0 !important;
}

.pth-techno-card .pth-buy-box__cart .quantity{
display:none !important;
}

.pth-techno-card .pth-buy-box__cart .single_add_to_cart_button{
position:relative;
display:flex !important;
align-items:center;
justify-content:center;
gap:9px;
float:none !important;
width:100% !important;
min-height:53px;
border-radius:10px !important;
background:#263f7c !important;
font-size:13px;
font-weight:700 !important;
}

.pth-techno-card .pth-buy-box__cart .single_add_to_cart_button::before{
content:"";
position:absolute;
left:18px;
width:19px;
height:19px;
background:currentColor;
-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2 11h10l3-7H6M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2 11h10l3-7H6M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pth-techno-card .pth-buy-box__cart .single_add_to_cart_button:hover{
background:#193267 !important;
}

.pth-techno-card .pth-catalog-button{
min-height:45px;
border-color:#b9d7ee;
border-radius:9px;
background:#eef8ff;
font-size:10.5px;
}

.pth-product-services{
display:block;
margin-top:14px;
}

.pth-product-services > .pth-delivery-card{
display:grid;
grid-template-columns:31px 1fr auto;
align-items:center;
gap:4px 9px;
padding:14px;
border:1px solid #d5e9f5;
border-radius:12px;
background:#effaff;
}

.pth-product-services > .pth-delivery-card > span{
grid-row:1/3;
display:grid;
place-items:center;
width:31px;
height:31px;
border-radius:8px;
background:#fff;
color:#0877bd;
}

.pth-product-services > .pth-delivery-card > i{
grid-column:3;
grid-row:1/3;
font-size:22px;
font-style:normal;
}

.pth-product-services > .pth-delivery-card strong{
font-size:10.5px;
font-weight:700;
}

.pth-product-services > .pth-delivery-card small{
color:#718196;
font-size:9px;
font-weight:400;
}

/* Digikala-style product information and seller card. */
.pth-digi-summary-main{
min-width:0;
}

.pth-digi-product-info{
margin-top:20px;
}

.pth-digi-product-info h2{
margin:0 0 12px;
color:#181c24;
font-size:16px;
font-weight:700;
}

.pth-digi-feature-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:8px;
}

.pth-digi-feature-grid > div{
min-width:0;
padding:12px;
border-radius:8px;
background:#f0f0f1;
}

.pth-digi-feature-grid span,
.pth-digi-feature-grid strong{
display:block;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.pth-digi-feature-grid span{
margin-bottom:5px;
color:#81858b;
font-size:10px;
}

.pth-digi-feature-grid strong{
color:#3f4349;
font-size:11px;
font-weight:700;
}

.pth-show-all-features{
display:inline-flex;
align-items:center;
gap:16px;
min-height:39px;
margin-top:10px;
padding:7px 16px;
border:1px solid #d6d8dc;
border-radius:8px;
color:#30343b !important;
font-size:11px;
font-weight:700;
text-decoration:none !important;
}

.pth-show-all-features span{
font-size:20px;
line-height:1;
}

.pth-product-policy{
display:flex !important;
align-items:flex-start;
gap:7px;
margin:14px 0 !important;
padding-top:13px;
border-top:1px solid #e5e7ea;
color:#686d75 !important;
font-size:10px !important;
line-height:1.9 !important;
}

.pth-product-policy > span{
display:grid;
flex:0 0 auto;
place-items:center;
width:16px;
height:16px;
margin-top:2px;
border-radius:50%;
background:#81858b;
color:#fff;
font-family:Arial,sans-serif;
font-size:10px;
font-weight:700;
}

.pth-digi-info-cards{
display:grid;
gap:8px;
}

.pth-digi-info-cards a{
position:relative;
display:block;
padding:13px 14px 13px 35px;
border:1px solid #e0e2e5;
border-radius:9px;
color:#232832 !important;
text-decoration:none !important;
}

.pth-digi-info-cards strong,
.pth-digi-info-cards small{
display:block;
}

.pth-digi-info-cards strong{
font-size:11.5px;
font-weight:700;
}

.pth-digi-info-cards small{
margin-top:5px;
color:#777d86;
font-size:9.5px;
}

.pth-digi-info-cards i{
position:absolute;
left:14px;
top:50%;
font-size:22px;
font-style:normal;
transform:translateY(-50%);
}

.pth-buy-box.pth-digi-buy-card{
display:flex;
flex-direction:column;
gap:0;
padding:17px;
border:1px solid #d8dade;
border-radius:9px;
background:#f7f7f8;
box-shadow:none;
}

.pth-digi-buy-card__head{
display:flex;
align-items:center;
justify-content:space-between;
padding-bottom:14px;
border-bottom:1px solid #dedfe2;
color:#23262d;
font-size:12px;
}

.pth-digi-buy-card__head strong{
font-weight:700;
}

.pth-digi-buy-card__head span{
color:#0877bd;
font-size:10px;
}

.pth-digi-seller{
display:flex;
align-items:center;
gap:9px;
padding:15px 0 4px;
}

.pth-digi-seller svg,
.pth-digi-buy-card__row > svg{
flex:0 0 auto;
width:21px;
height:21px;
fill:none;
stroke:#43474e;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.55;
}

.pth-digi-seller strong{
font-size:12px;
font-weight:700;
}

.pth-digi-stock{
display:flex;
align-items:center;
gap:7px;
padding:7px 30px 14px 0;
border-bottom:1px solid #dedfe2;
color:#62666d;
font-size:10px;
}

.pth-digi-stock span{
width:7px;
height:7px;
border-radius:50%;
background:#10a66a;
}

.pth-digi-stock.is-out-of-stock span{
background:#ef4056;
}

.pth-digi-buy-card .pth-buy-box__price{
display:grid;
grid-template-columns:1fr auto;
align-items:end;
gap:2px 5px;
padding:22px 0 14px;
border:0;
}

.pth-digi-buy-card .pth-buy-box__price > span{
grid-column:1/-1;
margin:0 0 4px;
color:#777b82;
font-size:9px;
}

.pth-digi-buy-card .pth-buy-box__price strong{
justify-self:end;
color:#071f49;
font-size:23px;
font-weight:900;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
font-variant-numeric:tabular-nums;
letter-spacing:0;
white-space:nowrap;
unicode-bidi:isolate;
}

.pth-digi-buy-card .pth-buy-box__price small{
padding-bottom:3px;
color:#071f49;
font-size:9.5px;
}

.pth-digi-buy-card .pth-buy-box__cart form.cart{
display:block !important;
float:none !important;
width:100% !important;
margin:0 !important;
}

.pth-digi-buy-card .pth-buy-box__cart .quantity{
display:none !important;
}

.pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button{
display:flex !important;
align-items:center;
justify-content:center;
float:none !important;
width:100% !important;
min-height:45px;
border-radius:8px !important;
background:#0877bd !important;
font-size:12px;
font-weight:700 !important;
}

.pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button:hover{
background:#065f99 !important;
}

.pth-digi-buy-card__row{
display:flex;
align-items:center;
gap:9px;
min-height:51px;
border-bottom:1px solid #dedfe2;
color:#383c43;
font-size:10.5px;
}

.pth-digi-buy-card__row strong,
.pth-digi-buy-card__row small{
display:block;
}

.pth-digi-buy-card__row strong{
font-weight:700;
}

.pth-digi-buy-card__row small{
margin-top:4px;
color:#787d84;
font-size:9px;
}

.pth-digi-buy-card__row i{
margin-right:auto;
font-size:21px;
font-style:normal;
}

.pth-digi-buy-card .pth-catalog-button{
min-height:42px;
margin-top:13px;
border-color:#d6d8dc;
border-radius:8px;
background:#fff;
color:#0877bd !important;
font-size:10px;
}

.pth-gallery-tools{
position:absolute;
top:68px;
right:12px;
z-index:6;
display:flex;
flex-direction:column;
gap:9px;
}

.pth-gallery-tools button{
display:grid;
place-items:center;
width:38px;
height:38px;
padding:0;
border:0;
border-radius:10px;
background:#fff;
box-shadow:0 3px 12px rgba(15,30,50,.1);
color:#4a4e55;
cursor:pointer;
}

.pth-gallery-tools button:hover,
.pth-gallery-tools button.is-active{
color:#ef4056;
}

.pth-gallery-tools svg{
width:21px;
height:21px;
fill:none;
stroke:currentColor;
stroke-linecap:round;
stroke-linejoin:round;
stroke-width:1.65;
}

.pth-product-services.pth-digi-services{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:10px;
padding:20px 10px;
border-top:1px solid #eceef0;
border-bottom:1px solid #eceef0;
}

.pth-digi-services > div{
display:grid;
grid-template-columns:38px 1fr;
align-items:center;
gap:2px 9px;
padding:4px;
border:0;
border-radius:0;
}

.pth-digi-services > div > span{
grid-row:1/3;
display:grid;
place-items:center;
width:38px;
height:38px;
border:0;
border-radius:0;
background:transparent;
color:#8c9198;
}

.pth-digi-services > div > span svg{
width:30px;
height:30px;
stroke-width:1.25;
}

.pth-digi-services strong{
color:#6d7279;
font-size:10px;
font-weight:500;
}

.pth-digi-services small{
color:#9a9ea4;
font-size:8.5px;
}

.single-product .summary.entry-summary > a.compare.checkbox{
display:none !important;
}

.pth-product-section-nav{
position:sticky;
z-index:8;
top:0;
display:flex;
gap:30px;
clear:both;
margin:36px 0 0;
padding:16px 4px 12px;
border-bottom:1px solid #e7e9ed;
background:#fff;
}

.pth-product-section-nav a{
position:relative;
color:#3f4b5c;
font-size:14px;
font-weight:800;
text-decoration:none !important;
}

.pth-product-section-nav a::after{
content:"";
position:absolute;
right:0;
bottom:-13px;
width:0;
height:3px;
border-radius:3px;
background:#ef4056;
transition:width .2s ease;
}

.pth-product-section-nav a:hover,
.pth-product-section-nav a.is-active{
color:#0b315a;
}

.pth-product-section-nav a.is-active::after{
width:100%;
}

.single-product .woocommerce-tabs{
clear:both;
padding-top:22px;
}

.single-product .woocommerce-tabs ul.tabs{
display:none !important;
}

.single-product .woocommerce-tabs .panel{
display:none !important;
margin:0 0 30px !important;
padding:25px 0 30px !important;
border-bottom:1px solid #e8ebef;
scroll-margin-top:95px;
}

.single-product .woocommerce-tabs #tab-description,
.single-product .woocommerce-tabs #tab-reviews{
display:block !important;
}

.single-product .woocommerce-tabs #tab-description.is-pth-hidden{
display:none !important;
}

.single-product .woocommerce-tabs #tab-pth_specs.is-pth-active{
display:block !important;
}

.single-product .woocommerce-tabs .panel > h2,
.single-product .woocommerce-Reviews-title,
.pth-specifications h2{
position:relative;
margin:0 0 22px;
padding-right:14px;
color:#172b4d;
font-size:22px;
font-weight:900;
}

.single-product .woocommerce-tabs .panel > h2::before,
.single-product .woocommerce-Reviews-title::before,
.pth-specifications h2::before{
content:"";
position:absolute;
right:0;
top:5px;
width:4px;
height:24px;
border-radius:4px;
background:#ef4056;
}

.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li{
color:#424d5c;
font-size:15px;
line-height:2.15;
}

.pth-specifications > p{
margin-top:-12px !important;
color:#778291 !important;
font-size:13px !important;
}

.pth-specifications dl{
margin:22px 0 0;
}

.pth-specifications dl > div{
display:grid;
grid-template-columns:minmax(150px,25%) 1fr;
gap:14px;
margin-bottom:8px;
}

.pth-specifications dt,
.pth-specifications dd{
margin:0;
padding:13px 16px;
border-radius:9px;
}

.pth-specifications dt{
background:#f1f3f5;
color:#697586;
font-weight:700;
}

.pth-specifications dd{
background:#fafbfc;
color:#27364c;
font-weight:600;
}

.single-product #reviews{
display:grid;
grid-template-columns:minmax(0,1fr) minmax(320px,38%);
gap:32px;
scroll-margin-top:95px;
}

.single-product #review_form_wrapper{
padding:20px;
border:1px solid #e3e6ea;
border-radius:16px;
background:#f8f9fa;
}

.single-product #review_form_wrapper .comment-reply-title{
color:#253858;
font-size:17px;
font-weight:900;
}

.single-product #review_form_wrapper textarea,
.single-product #review_form_wrapper input:not([type="submit"]){
border:1px solid #dfe3e8;
border-radius:10px;
background:#fff;
}

.single-product #review_form_wrapper .submit{
border-radius:10px !important;
background:#0877bd !important;
color:#fff !important;
}

/* Product reviews: full-width store-style layout. */
.single-product #tab-reviews{
padding-top:10px !important;
}

.single-product #reviews{
display:block;
width:100%;
min-height:0;
}

.pth-reviews-header{
display:flex;
align-items:flex-start;
justify-content:space-between;
gap:24px;
padding:8px 0 22px;
border-bottom:1px solid #e7e9ed;
}

.pth-reviews-header__title h2{
margin:0 0 12px;
color:#172b4d;
font-size:22px;
font-weight:900;
line-height:1.5;
}

.pth-reviews-header__meta{
display:flex;
align-items:center;
gap:14px;
color:#7b8492;
font-size:14px;
}

.pth-reviews-header__meta i{
width:1px;
height:24px;
background:#e2e5e9;
}

.pth-reviews-score{
display:flex;
align-items:center;
gap:7px;
}

.pth-reviews-score b{
color:#ff9f32;
font-size:23px;
line-height:1;
}

.pth-review-toggle{
min-width:144px;
min-height:48px;
padding:10px 21px;
border:1px solid #0877bd;
border-radius:8px;
background:#fff;
color:#0877bd;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
font-size:14px;
font-weight:800;
cursor:pointer;
transition:background .2s ease,color .2s ease;
}

.pth-review-toggle:hover,
.pth-review-toggle[aria-expanded="true"]{
background:#0877bd;
color:#fff;
}

.single-product #comments{
width:100%;
}

.single-product #comments > .woocommerce-Reviews-title{
display:none;
}

.single-product #comments .woocommerce-noreviews{
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
gap:7px;
min-height:190px;
margin:0 !important;
padding:35px 20px;
border-bottom:1px solid #e7e9ed;
color:#667085;
text-align:center;
}

.single-product #comments .woocommerce-noreviews span{
display:grid;
place-items:center;
width:52px;
height:52px;
border-radius:50%;
background:#edf7fd;
font-size:24px;
}

.single-product #comments .woocommerce-noreviews strong,
.single-product #comments .woocommerce-noreviews small{
display:block;
}

.single-product #comments .woocommerce-noreviews strong{
color:#263750;
font-size:16px;
font-weight:800;
}

.single-product #comments .woocommerce-noreviews small{
color:#8a93a0;
font-size:13px;
}

.single-product #comments ol.commentlist{
margin:0;
padding:0;
list-style:none;
}

.single-product #comments ol.commentlist > li.review{
margin:0 !important;
padding:26px 8px !important;
border-bottom:1px solid #e7e9ed;
}

.single-product #comments ol.commentlist li .comment_container{
display:grid;
grid-template-columns:52px minmax(0,1fr);
gap:0 16px;
}

.single-product #comments ol.commentlist li img.avatar{
position:static !important;
float:none !important;
width:48px !important;
height:48px !important;
margin:0 !important;
padding:0 !important;
border:0 !important;
border-radius:50%;
grid-row:1/5;
}

.single-product #comments ol.commentlist li .comment-text{
margin:0 !important;
padding:0 !important;
border:0 !important;
}

.single-product #comments .star-rating{
float:left;
color:#ff9f32;
font-size:14px;
}

.single-product #comments .meta{
margin:0 0 13px !important;
color:#8a93a0 !important;
font-size:13px !important;
}

.single-product #comments .woocommerce-review__author{
color:#27364c;
font-size:15px;
font-weight:800;
}

.single-product #comments .woocommerce-review__verified{
display:inline-flex;
margin-right:8px;
padding:3px 9px;
border-radius:6px;
background:#e9f8f0;
color:#16865b;
font-size:11px;
font-style:normal;
}

.single-product #comments .description p{
margin:0 !important;
color:#3e4b5d;
font-size:15px;
line-height:2.1;
}

.single-product #review_form_wrapper{
display:none;
width:min(100%,820px);
margin:24px 0 0 auto;
padding:26px 28px;
border:1px solid #dfe4e9;
border-radius:14px;
background:#f8fafc;
box-shadow:0 8px 24px rgba(20,45,75,.06);
}

.single-product #review_form_wrapper.is-pth-open{
display:block;
}

.single-product #review_form_wrapper .comment-reply-title{
display:block;
margin-bottom:8px;
font-size:18px;
}

.single-product #review_form_wrapper .comment-notes{
margin:0 0 20px;
color:#7c8797;
font-size:12px;
}

.single-product #review_form_wrapper form.comment-form{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:16px;
}

.single-product #review_form_wrapper form.comment-form > p,
.single-product #review_form_wrapper .comment-form-rating{
margin:0;
}

.single-product #review_form_wrapper .comment-notes,
.single-product #review_form_wrapper .comment-form-rating,
.single-product #review_form_wrapper .comment-form-comment,
.single-product #review_form_wrapper .comment-form-cookies-consent,
.single-product #review_form_wrapper .form-submit{
grid-column:1/-1;
}

.single-product #review_form_wrapper label{
display:block;
margin:0 0 7px;
color:#334155;
font-size:13px;
font-weight:700;
}

.single-product #review_form_wrapper textarea{
min-height:130px;
resize:vertical;
}

.single-product #review_form_wrapper input:not([type="submit"]):not([type="checkbox"]),
.single-product #review_form_wrapper textarea{
width:100%;
padding:12px 14px;
}

.single-product #review_form_wrapper .comment-form-cookies-consent{
display:flex;
align-items:flex-start;
gap:8px;
}

.single-product #review_form_wrapper .comment-form-cookies-consent label{
margin:0;
font-weight:500;
}

.single-product #review_form_wrapper .submit{
min-width:140px;
min-height:44px;
padding:10px 22px !important;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
font-weight:800 !important;
}

.single-product .related,
.single-product .up-sells,
.pth-recommended-products{
clear:both;
margin-top:34px;
padding:25px;
border:1px solid #e5e8ec;
border-radius:18px;
background:#fff;
}

.single-product .related > h2,
.single-product .up-sells > h2,
.pth-section-heading h2{
margin:4px 0 20px;
color:#172b4d;
font-size:22px;
font-weight:900;
}

.pth-section-heading > span{
color:#ef4056;
font-size:12px;
font-weight:800;
}

.single-product ul.products li.product{
overflow:hidden;
padding:12px !important;
border:1px solid #edf0f3;
border-radius:14px;
background:#fff;
transition:transform .2s ease,box-shadow .2s ease;
}

.single-product ul.products li.product:hover{
transform:translateY(-4px);
box-shadow:0 10px 24px rgba(13,49,85,.09);
}

.single-product ul.products li.product img{
border-radius:10px;
}

.single-product ul.products li.product .woocommerce-loop-product__title{
color:#253858;
font-size:14px !important;
line-height:1.8;
}

/* ==========================
PTH magazine
========================== */

.pth-magazine{
background:#f6f8fb;
}

.pth-magazine-hero{
position:relative;
overflow:hidden;
padding:72px 20px;
background:
radial-gradient(circle at 15% 20%,rgba(0,203,255,.2),transparent 25%),
linear-gradient(125deg,#042a59,#0872b5);
color:#fff;
text-align:center;
}

.pth-magazine-hero::after{
content:"PTH";
position:absolute;
left:8%;
top:50%;
color:rgba(255,255,255,.04);
font-size:180px;
font-weight:900;
line-height:1;
transform:translateY(-50%);
}

.pth-magazine-hero__inner{
position:relative;
z-index:1;
max-width:760px;
margin:auto;
}

.pth-magazine-hero span{
display:inline-block;
margin-bottom:8px;
color:#aee8ff;
font-size:13px;
font-weight:800;
}

.pth-magazine-hero h1{
margin:0;
color:#fff;
font-size:clamp(32px,4vw,52px);
font-weight:900;
}

.pth-magazine-hero p{
margin:10px auto 24px;
color:#dceeff;
font-size:16px;
line-height:2;
}

.pth-magazine-hero form{
display:flex;
max-width:620px;
height:58px;
margin:auto;
overflow:hidden;
border-radius:15px;
background:#fff;
box-shadow:0 14px 30px rgba(0,20,50,.2);
}

.pth-magazine-hero input[type="search"]{
flex:1;
height:100%;
padding:0 20px;
border:0;
outline:0;
background:transparent;
box-shadow:none;
}

.pth-magazine-hero button{
width:100px;
border:0;
background:#ef4056;
color:#fff;
font-weight:800;
}

.pth-magazine-categories{
display:flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:9px;
max-width:1180px;
margin:0 auto;
padding:25px 20px 0;
}

.pth-magazine-categories a{
padding:8px 14px;
border:1px solid #e0e5eb;
border-radius:999px;
background:#fff;
color:#3f4c5f;
font-size:13px;
font-weight:700;
text-decoration:none !important;
}

.pth-magazine-categories a:hover,
.pth-magazine-categories a.is-active{
border-color:#0877bd;
background:#0877bd;
color:#fff;
}

.pth-magazine-content{
max-width:1180px;
margin:0 auto;
padding:45px 20px 70px;
}

.pth-article-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:22px;
}

.pth-article-card{
overflow:hidden;
margin:0 !important;
border:1px solid #e5e9ee;
border-radius:18px;
background:#fff;
box-shadow:0 8px 24px rgba(11,45,79,.05);
transition:transform .2s ease,box-shadow .2s ease;
}

.pth-article-card:hover{
transform:translateY(-5px);
box-shadow:0 16px 34px rgba(11,45,79,.1);
}

.pth-article-card__image{
display:block;
height:210px;
overflow:hidden;
background:linear-gradient(135deg,#075899,#08a9d6);
text-decoration:none !important;
}

.pth-article-card__image img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .35s ease;
}

.pth-article-card:hover .pth-article-card__image img{
transform:scale(1.04);
}

.pth-article-card__image > span{
display:grid;
place-items:center;
height:100%;
color:rgba(255,255,255,.85);
font-size:55px;
font-weight:900;
}

.pth-article-card__body{
padding:18px;
}

.pth-article-card__meta{
display:flex;
justify-content:space-between;
gap:10px;
color:#8792a2;
font-size:11px;
}

.pth-article-card h2{
margin:10px 0 8px;
font-size:18px;
line-height:1.75;
}

.pth-article-card h2 a{
color:#1c304f;
text-decoration:none !important;
}

.pth-article-card p{
margin:0 0 14px;
color:#687486;
font-size:13px;
line-height:1.9;
}

.pth-article-card__more{
color:#0877bd;
font-size:13px;
font-weight:800;
text-decoration:none !important;
}

.pth-magazine-empty{
padding:70px 20px;
border:1px dashed #ccd4de;
border-radius:18px;
background:#fff;
text-align:center;
}

.pth-magazine-pagination{
display:flex;
justify-content:center;
gap:6px;
margin-top:30px;
}

.pth-magazine-pagination .page-numbers{
display:grid;
place-items:center;
min-width:38px;
height:38px;
padding:0 10px;
border-radius:9px;
background:#fff;
color:#3f4b5b;
text-decoration:none;
}

.pth-magazine-pagination .current{
background:#0877bd;
color:#fff;
}

/* Wide product layout: information, gallery and purchase card in three columns. */
@media (min-width:1100px){
.single-product .ast-container{
max-width:1540px;
}

.single-product div.product{
display:grid;
grid-template-columns:minmax(280px,.88fr) minmax(390px,1.22fr) minmax(300px,.9fr);
grid-template-rows:auto auto auto auto auto auto auto;
align-items:start;
align-content:start;
column-gap:30px;
padding:30px;
}

.single-product div.product > .woocommerce-product-gallery{
grid-column:2;
grid-row:1/7;
float:none !important;
width:100% !important;
margin:0 !important;
min-height:0;
}

.single-product div.product > .summary.entry-summary{
display:contents;
float:none !important;
width:auto !important;
}

.single-product .summary.entry-summary > .pth-digi-summary-main{
grid-column:1;
grid-row:1/7;
min-width:0;
}

.single-product .summary.entry-summary > .woocommerce-breadcrumb{
grid-column:1;
grid-row:1;
margin:0 0 15px;
}

.single-product .summary.entry-summary > .pth-product-meta-line{
grid-column:1;
grid-row:2;
}

.single-product .summary.entry-summary > .product_title{
grid-column:1;
grid-row:3;
}

.single-product .summary.entry-summary > .pth-product-lead{
grid-column:1;
grid-row:4/7;
}

.single-product .summary.entry-summary > .pth-buy-box{
grid-column:3;
grid-row:1/5;
align-self:start;
margin:0;
padding:22px;
box-shadow:0 10px 30px rgba(18,49,82,.07);
}

.single-product .summary.entry-summary > .pth-product-services{
grid-column:3;
grid-row:5;
}

.single-product .summary.entry-summary > .pth-product-services.pth-digi-services{
grid-column:1/-1;
grid-row:7;
margin-top:28px;
}

.single-product .summary.entry-summary > .compare{
grid-column:3;
grid-row:6;
justify-self:start;
}

.single-product div.product > .pth-product-section-nav,
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .up-sells,
.single-product div.product > .pth-recommended-products{
grid-column:1/-1;
width:100%;
}

.single-product div.product > .pth-product-section-nav{
grid-row:8;
}

.single-product div.product > .woocommerce-tabs{
grid-row:9;
}

.single-product div.product > .up-sells{
grid-row:10;
}

.single-product div.product > .related{
grid-row:11;
}

.single-product div.product > .pth-recommended-products{
grid-row:12;
}
}

@media (max-width:921px), (any-hover:none) and (any-pointer:coarse){
.pth-product-services{
grid-template-columns:1fr;
}

.pth-product-services.pth-digi-services{
grid-template-columns:repeat(3,minmax(0,1fr));
}

.single-product #reviews{
grid-template-columns:1fr;
}

.pth-article-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
.pth-reviews-header{
align-items:stretch;
flex-direction:column;
gap:14px;
}

.pth-review-toggle{
width:100%;
}

.single-product #comments ol.commentlist li .comment_container{
grid-template-columns:40px minmax(0,1fr);
gap:0 10px;
}

.single-product #comments ol.commentlist li img.avatar{
width:38px !important;
height:38px !important;
}

.single-product #review_form_wrapper{
padding:20px 16px;
}

.single-product #review_form_wrapper form.comment-form{
grid-template-columns:1fr;
}

.single-product #review_form_wrapper form.comment-form > *{
grid-column:1 !important;
}

.single-product div.product{
padding:14px;
border-radius:15px;
}

.single-product div.product .woocommerce-product-gallery{
padding:10px;
}

.pth-buy-box{
grid-template-columns:1fr;
padding:15px;
}

.pth-buy-box__availability{
justify-self:start;
}

.pth-buy-box__cart form.cart{
grid-template-columns:minmax(0,1fr) 90px;
}

.pth-buy-box__cart form.cart > .quantity{
grid-column:2;
}

.pth-buy-box__cart form.cart > .single_add_to_cart_button{
grid-column:1;
}

.pth-product-section-nav{
gap:18px;
overflow-x:auto;
white-space:nowrap;
}

.pth-digi-feature-grid{
grid-template-columns:1fr;
}

.pth-gallery-tools{
top:58px;
right:8px;
gap:6px;
}

.pth-gallery-tools button{
width:34px;
height:34px;
}

.pth-product-services.pth-digi-services{
display:flex;
gap:8px;
overflow-x:auto;
scrollbar-width:none;
}

.pth-product-services.pth-digi-services::-webkit-scrollbar{
display:none;
}

.pth-digi-services > div{
flex:0 0 155px;
}

.pth-specifications dl > div{
grid-template-columns:1fr;
gap:3px;
}

.pth-specifications dt,
.pth-specifications dd{
padding:10px 12px;
}

.single-product .related,
.single-product .up-sells,
.pth-recommended-products{
padding:15px;
}

.pth-magazine-hero{
padding:50px 16px;
}

.pth-magazine-hero form{
height:54px;
}

.pth-magazine-hero button{
width:82px;
}

.pth-article-grid{
grid-template-columns:1fr;
}
}

/* ==========================
Homepage Payafar offer strip
========================== */
.pth-payafar{
padding:0 24px 76px;
background:#fff;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
}

.pth-payafar__inner{
display:flex;
max-width:1240px;
min-height:326px;
margin:0 auto;
padding:14px;
overflow:hidden;
border-radius:28px;
background:linear-gradient(135deg,#0877bd 0%,#075591 100%);
box-shadow:0 18px 50px rgba(7,83,142,.16);
}

.pth-payafar__promo{
display:flex;
align-items:center;
flex:0 0 260px;
flex-direction:column;
justify-content:center;
padding:16px 22px;
color:#fff;
text-align:center;
}

.pth-payafar__promo > img{
display:block;
width:112px;
height:112px;
margin:-5px auto -2px;
object-fit:contain;
filter:drop-shadow(0 9px 16px rgba(0,30,65,.2));
}

.pth-payafar__promo h2{
margin:0;
color:#fff;
font-size:32px;
font-weight:950;
line-height:1.35;
}

.pth-payafar__promo p{
margin:2px 0 12px;
color:rgba(255,255,255,.78);
font-size:11px;
font-weight:700;
}

.pth-payafar__clock-wrap > span{
display:block;
margin-bottom:6px;
color:rgba(255,255,255,.82);
font-size:10px;
font-weight:700;
}

.pth-payafar__clock{
display:flex;
align-items:center;
direction:ltr;
gap:5px;
}

.pth-payafar__clock b{
display:grid;
place-items:center;
width:39px;
height:34px;
border:1px solid rgba(255,255,255,.28);
border-radius:8px;
background:rgba(255,255,255,.16);
color:#fff;
font-family:Tahoma,Arial,sans-serif;
font-size:14px;
font-weight:800;
line-height:1;
backdrop-filter:blur(6px);
}

.pth-payafar__clock i{
color:#fff;
font-size:14px;
font-style:normal;
font-weight:900;
}

.pth-payafar__all{
display:inline-flex;
align-items:center;
gap:8px;
margin-top:14px;
padding:9px 17px;
border-radius:10px;
background:#fff;
color:#075b99 !important;
font-size:11px;
font-weight:900;
text-decoration:none !important;
transition:transform .2s ease,box-shadow .2s ease;
}

.pth-payafar__all:hover{
box-shadow:0 7px 18px rgba(0,31,68,.18);
transform:translateY(-2px);
}

.pth-payafar-product{
display:flex;
align-items:stretch;
flex:1 1 auto;
min-width:0;
overflow:hidden;
border-radius:20px;
background:#fff;
color:#172f51 !important;
text-decoration:none !important;
}

.pth-payafar-product__image{
display:grid;
place-items:center;
flex:0 0 43%;
min-width:260px;
padding:20px;
background:linear-gradient(145deg,#fff 0%,#f5f9fc 100%);
}

.pth-payafar-product__image img{
display:block;
width:100%;
height:260px;
object-fit:contain;
transition:transform .35s ease;
}

.pth-payafar-product:hover .pth-payafar-product__image img{
transform:scale(1.035);
}

.pth-payafar-product__content{
display:flex;
align-items:flex-start;
flex:1;
flex-direction:column;
justify-content:center;
min-width:0;
padding:30px 34px;
}

.pth-payafar-product__badge{
display:inline-flex;
padding:6px 11px;
border-radius:999px;
background:#e9f6ff;
color:#0877bd;
font-size:11px;
font-weight:900;
}

.pth-payafar-product h3{
margin:13px 0 7px;
color:#102d51;
font-size:clamp(20px,2.1vw,28px);
font-weight:950;
line-height:1.65;
}

.pth-payafar-product__content > p{
margin:0 0 20px;
color:#758398;
font-size:12px;
}

.pth-payafar-product__price{
display:flex;
align-items:baseline;
gap:8px;
margin-top:auto;
color:#102e54;
}

.pth-payafar-product__price strong{
font-family:Tahoma,Arial,sans-serif;
font-size:27px;
font-weight:900;
letter-spacing:.4px;
}

.pth-payafar-product__price small{
font-size:11px;
font-weight:800;
}

.pth-payafar-product__cta{
display:inline-flex;
align-items:center;
gap:7px;
margin-top:14px;
color:#0877bd;
font-size:12px;
font-weight:900;
}

.pth-payafar-product__cta i{
font-size:17px;
font-style:normal;
transition:transform .2s ease;
}

.pth-payafar-product:hover .pth-payafar-product__cta i{
transform:translateX(-4px);
}

@media (max-width:800px), (any-hover:none) and (any-pointer:coarse){
.pth-payafar__inner{
flex-direction:column;
}

.pth-payafar__promo{
display:grid;
grid-template-columns:90px 1fr auto;
grid-template-rows:auto auto;
flex-basis:auto;
gap:0 14px;
padding:15px 18px 18px;
text-align:right;
}

.pth-payafar__promo > img{
grid-row:1/3;
width:84px;
height:84px;
margin:0;
}

.pth-payafar__promo h2{
align-self:end;
font-size:27px;
}

.pth-payafar__promo p{
align-self:start;
margin:0;
}

.pth-payafar__clock-wrap{
grid-column:3;
grid-row:1/3;
align-self:center;
}

.pth-payafar__all{
grid-column:1/4;
justify-self:center;
margin-top:10px;
}
}

@media (max-width:560px){
.pth-payafar{
padding:0 12px 52px;
}

.pth-payafar__inner{
padding:9px;
border-radius:21px;
}

.pth-payafar__promo{
grid-template-columns:72px 1fr;
padding:11px 10px 15px;
}

.pth-payafar__promo > img{
width:68px;
height:68px;
}

.pth-payafar__promo h2{
font-size:23px;
}

.pth-payafar__clock-wrap{
grid-column:1/3;
grid-row:3;
justify-self:center;
margin-top:11px;
}

.pth-payafar__all{
grid-column:1/3;
grid-row:4;
}

.pth-payafar-product{
flex-direction:column;
}

.pth-payafar-product__image{
flex-basis:auto;
min-width:0;
padding:14px;
}

.pth-payafar-product__image img{
height:210px;
}

.pth-payafar-product__content{
padding:19px 18px 23px;
}

.pth-payafar-product h3{
font-size:18px;
}

.pth-payafar-product__price strong{
font-size:23px;
}
}

/* Compact single-product Payafar card. */
.pth-payafar__inner{
align-items:stretch;
justify-content:flex-start;
min-height:340px;
}

.pth-payafar__promo{
flex-basis:250px;
}

.pth-payafar-product{
position:relative;
align-self:stretch;
flex:0 0 238px;
flex-direction:column;
width:238px;
border-radius:16px;
}

.pth-payafar-product__image{
display:block;
flex:0 0 190px;
min-width:0;
padding:10px 10px 4px;
background:#fff;
}

.pth-payafar-product__image img{
width:100%;
height:180px;
object-fit:contain;
}

.pth-payafar-product__content{
display:block;
padding:10px 15px 14px;
}

.pth-payafar-product__badge{
padding:4px 8px;
font-size:9px;
}

.pth-payafar-product h3{
display:-webkit-box;
min-height:47px;
margin:8px 0 9px;
overflow:hidden;
font-size:14px;
font-weight:800;
line-height:1.75;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
}

.pth-payafar-product__price{
justify-content:flex-end;
gap:5px;
margin-top:0;
}

.pth-payafar-product__price strong{
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
font-size:22px;
font-weight:950;
font-variant-numeric:tabular-nums;
letter-spacing:0;
}

.pth-payafar-product__price small{
font-size:9px;
}

.pth-payafar-product__cta{
position:absolute;
right:13px;
top:166px;
display:grid;
place-items:center;
width:43px;
height:43px;
margin:0;
border:1px solid #dfe6ed;
border-radius:50%;
background:#fff;
box-shadow:0 4px 12px rgba(26,51,78,.08);
font-size:0;
}

.pth-payafar-product__cta i{
color:#68788b;
font-size:21px;
}

.pth-header-cart > span{
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
font-variant-numeric:tabular-nums;
}

@media (max-width:800px), (any-hover:none) and (any-pointer:coarse){
.pth-payafar__inner{
align-items:center;
min-height:0;
}

.pth-payafar__promo{
display:flex;
flex-basis:auto;
flex-direction:column;
padding:16px 14px 18px;
text-align:center;
}

.pth-payafar__promo > img{
width:84px;
height:84px;
margin:0 auto;
}

.pth-payafar__all{
margin-top:12px;
}

.pth-payafar-product{
align-self:center;
flex:0 0 auto;
width:min(238px,100%);
border-radius:16px;
}
}

/* Smaller Payafar strip and card. */
.pth-payafar{
padding-bottom:58px;
}

.pth-payafar__inner{
max-width:1080px;
min-height:286px;
padding:11px;
border-radius:23px;
}

.pth-payafar__promo{
flex-basis:215px;
padding:12px 16px;
}

.pth-payafar__promo > img{
width:84px;
height:84px;
}

.pth-payafar__promo h2{
font-size:27px;
}

.pth-payafar__promo p{
margin-bottom:9px;
font-size:10px;
}

.pth-payafar__clock b{
width:34px;
height:30px;
font-size:12px;
}

.pth-payafar__all{
margin-top:10px;
padding:8px 14px;
}

.pth-payafar-product{
flex-basis:205px;
width:205px;
}

.pth-payafar-product__image{
flex-basis:151px;
padding:7px 8px 2px;
}

.pth-payafar-product__image img{
height:145px;
}

.pth-payafar-product__content{
padding:8px 12px 11px;
}

.pth-payafar-product__badge{
padding:3px 7px;
font-size:8px;
}

.pth-payafar-product h3{
min-height:41px;
margin:6px 0;
font-size:12.5px;
}

.pth-payafar-product__price strong{
font-size:19px;
}

.pth-payafar-product__cta{
display:none !important;
}

@media (max-width:800px), (any-hover:none) and (any-pointer:coarse){
.pth-payafar__promo{
flex-basis:auto;
}

.pth-payafar-product{
flex-basis:auto;
width:min(205px,100%);
}
}

/* Mobile product experience: gallery first, concise details and fixed checkout bar. */
@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
body.single-product{
padding-bottom:calc(82px + env(safe-area-inset-bottom));
}

.single-product .site-content{
overflow:visible;
}

.single-product .site-content > .ast-container{
width:100%;
max-width:none;
padding:0 !important;
}

.single-product div.product{
display:flex;
flex-direction:column;
width:100%;
margin:0;
padding:0 0 18px;
overflow:visible;
border:0;
border-radius:0;
box-shadow:none;
}

.single-product div.product > .summary.entry-summary{
display:contents;
}

.single-product div.product > .woocommerce-product-gallery{
order:1;
width:100% !important;
margin:0 !important;
padding:12px;
border:0;
border-bottom:1px solid #eceff2;
border-radius:0;
background:#fff;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image a{
width:100%;
min-height:0;
aspect-ratio:1/1;
}

.single-product div.product .woocommerce-product-gallery__image{
border-radius:13px;
background:#fff;
}

.single-product div.product .woocommerce-product-gallery img{
width:100% !important;
height:100% !important;
object-fit:contain;
}

.single-product div.product .woocommerce-product-gallery::after{
right:18px;
bottom:17px;
padding:6px 9px;
font-size:8px;
}

.single-product .summary.entry-summary > .pth-digi-summary-main{
order:2;
display:flex;
flex-direction:column;
padding:14px 16px 18px;
border-bottom:8px solid #f3f4f6;
background:#fff;
}

.single-product .pth-digi-summary-main .woocommerce-breadcrumb{
order:1;
display:block;
margin:0 -2px 12px;
padding:2px 0 7px;
overflow-x:auto;
color:#747b85;
font-size:10px;
white-space:nowrap;
scrollbar-width:none;
}

.single-product .pth-digi-summary-main .woocommerce-breadcrumb::-webkit-scrollbar{
display:none;
}

.single-product .pth-digi-summary-main .pth-product-meta-line{
order:2;
padding-bottom:10px;
font-size:10px;
}

.single-product .pth-digi-summary-main .product_title{
order:3;
margin:12px 0 2px;
font-size:20px;
line-height:1.65;
}

.single-product .pth-digi-summary-main .pth-product-lead{
display:none !important;
}

.single-product .summary.entry-summary > .pth-buy-box.pth-digi-buy-card{
position:fixed !important;
right:0;
bottom:0;
left:0;
z-index:9998;
display:grid !important;
grid-template-columns:minmax(105px,.72fr) minmax(185px,1.5fr);
grid-template-areas:"price cart";
gap:12px;
width:100%;
max-width:none;
margin:0 !important;
padding:10px 14px calc(10px + env(safe-area-inset-bottom));
border:0;
border-top:1px solid #e1e4e8;
border-radius:0;
background:rgba(255,255,255,.98);
box-shadow:0 -8px 25px rgba(16,37,61,.12);
direction:ltr;
backdrop-filter:blur(12px);
}

.single-product .pth-digi-buy-card__head,
.single-product .pth-digi-buy-card > .pth-digi-seller,
.single-product .pth-digi-buy-card > .pth-digi-stock,
.single-product .pth-digi-buy-card > .pth-digi-buy-card__row,
.single-product .pth-digi-buy-card > .pth-catalog-button{
display:none !important;
}

.single-product .pth-digi-buy-card .pth-buy-box__price{
grid-area:price;
display:flex !important;
align-items:baseline;
align-self:center;
justify-content:center;
gap:4px;
margin:0;
padding:0;
border:0;
direction:rtl;
}

.single-product .pth-digi-buy-card .pth-buy-box__price > span{
display:none;
}

.single-product .pth-digi-buy-card .pth-buy-box__price strong{
font-size:18px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price small{
padding:0;
font-size:8px;
}

.single-product .pth-digi-buy-card .pth-buy-box__cart{
grid-area:cart;
align-self:center;
direction:rtl;
}

.single-product .pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button{
min-height:52px;
border-radius:10px !important;
font-size:13px;
}

.single-product .summary.entry-summary > .pth-product-services,
.single-product .summary.entry-summary > .compare{
order:4;
margin-inline:14px;
}

.single-product div.product > .pth-product-section-nav{
order:5;
}

.single-product div.product > .woocommerce-tabs{
order:6;
}

.single-product div.product > .up-sells{
order:7;
}

.single-product div.product > .related{
order:8;
}

.single-product div.product > .pth-recommended-products{
order:9;
}
}

@media (max-width:380px){
.single-product .summary.entry-summary > .pth-buy-box.pth-digi-buy-card{
grid-template-columns:100px minmax(165px,1fr);
gap:8px;
padding-inline:10px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price strong{
font-size:16px;
}

.single-product .pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button{
font-size:11px;
}
}

/* Unified PTH-blue actions and typography on product pages. */
.single-product .pth-buy-box__cart .single_add_to_cart_button,
.single-product .pth-consult-button,
.single-product .pth-catalog-button,
.single-product .pth-show-all-features,
.single-product .pth-review-toggle,
.single-product #review_form_wrapper .submit{
display:flex !important;
align-items:center;
justify-content:center;
border-color:#0877bd !important;
background:#0877bd !important;
box-shadow:none !important;
color:#fff !important;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif !important;
font-weight:700 !important;
line-height:1.7 !important;
text-align:center !important;
}

.single-product .pth-buy-box__cart .single_add_to_cart_button:hover,
.single-product .pth-consult-button:hover,
.single-product .pth-catalog-button:hover,
.single-product .pth-show-all-features:hover,
.single-product .pth-review-toggle:hover,
.single-product #review_form_wrapper .submit:hover{
border-color:#065f99 !important;
background:#065f99 !important;
color:#fff !important;
}

.single-product .pth-product-section-nav{
justify-content:center;
}

.single-product .pth-product-section-nav a{
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif !important;
text-align:center;
}

.single-product .pth-product-section-nav a::after,
.single-product .woocommerce-tabs .panel > h2::before,
.single-product .woocommerce-Reviews-title::before,
.single-product .pth-specifications h2::before{
background:#0877bd;
}

.single-product .pth-gallery-tools button:hover,
.single-product .pth-gallery-tools button.is-active{
color:#0877bd;
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
.single-product .summary.entry-summary > .pth-buy-box.pth-digi-buy-card > .pth-consult-button{
grid-area:cart;
align-self:center;
width:100%;
min-height:52px;
margin:0;
border-radius:10px !important;
direction:rtl;
font-size:13px;
}

.single-product .pth-product-section-nav{
gap:20px;
padding-inline:12px;
}
}

/* Wide homepage banner carousel below Payafar. */
.pth-home-banner{
position:relative;
padding:16px 0 48px;
overflow:hidden;
background:#fff;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
}

.pth-home-banner__viewport{
width:100%;
max-width:1440px;
margin:0 auto;
overflow:hidden !important;
clip-path:inset(0);
contain:paint;
isolation:isolate;
}

.pth-home-banner__track{
display:flex;
align-items:center;
gap:28px;
width:100%;
box-sizing:border-box;
padding-inline:calc((100% - min(1100px,calc(100vw - 240px)))/2);
overflow-x:auto;
overscroll-behavior-x:contain;
scroll-behavior:smooth;
scroll-snap-type:x mandatory;
scrollbar-width:none;
}

.pth-home-banner__track::-webkit-scrollbar{
display:none;
}

.pth-home-banner__slide{
position:relative;
display:block;
flex:0 0 min(1100px,calc(100vw - 240px));
overflow:hidden;
border-radius:9px;
background:#edf5fb;
box-shadow:0 10px 28px rgba(8,55,92,.12);
scroll-snap-align:center;
aspect-ratio:2.8/1;
}

.pth-home-banner__slide img{
display:block;
width:100%;
height:100%;
object-fit:cover;
object-position:center;
transition:transform .45s ease;
}

.pth-home-banner__slide:hover img{
transform:scale(1.012);
}

.pth-home-banner__arrow{
position:absolute;
top:calc(50% - 25px);
z-index:3;
display:flex;
align-items:center;
justify-content:center;
width:52px;
height:52px;
padding:0;
border:1px solid rgba(255,255,255,.8);
border-radius:13px;
background:rgba(255,255,255,.82);
box-shadow:0 7px 22px rgba(6,48,82,.18);
color:#173c5e;
cursor:pointer;
backdrop-filter:blur(7px);
transition:background .2s ease,transform .2s ease;
}

.pth-home-banner__arrow:hover{
background:#fff;
transform:translateY(-2px);
}

.pth-home-banner__arrow svg{
width:25px;
height:25px;
fill:none;
stroke:currentColor;
stroke-width:2;
stroke-linecap:round;
stroke-linejoin:round;
}

.pth-home-banner__arrow--prev{
left:max(18px,calc(50% - 702px));
}

.pth-home-banner__arrow--next{
right:max(18px,calc(50% - 702px));
}

.pth-home-banner__dots{
position:absolute;
right:50%;
bottom:18px;
z-index:3;
display:flex;
gap:7px;
padding:6px 9px;
border-radius:20px;
background:rgba(9,48,78,.18);
transform:translateX(50%);
backdrop-filter:blur(5px);
}

.pth-home-banner__dots button{
width:8px;
height:8px;
padding:0;
border:0;
border-radius:20px;
background:rgba(255,255,255,.68);
cursor:pointer;
transition:width .2s ease,background .2s ease;
}

.pth-home-banner__dots button.is-active{
width:25px;
background:#fff;
}

@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
.pth-home-banner{
padding:12px 0 42px;
}

.pth-home-banner__track{
gap:12px;
padding-inline:6vw;
}

.pth-home-banner__slide{
flex-basis:88vw;
border-radius:8px;
aspect-ratio:2.8/1;
}

.pth-home-banner__arrow{
top:calc(50% - 20px);
width:39px;
height:39px;
border-radius:10px;
}

.pth-home-banner__arrow svg{
width:20px;
height:20px;
}

.pth-home-banner__arrow--prev{
left:3vw;
}

.pth-home-banner__arrow--next{
right:3vw;
}

.pth-home-banner__dots{
bottom:15px;
}
}

@media (prefers-reduced-motion:reduce){
.pth-home-banner__track{
scroll-behavior:auto;
}

.pth-home-banner__slide img,
.pth-home-banner__arrow,
.pth-home-banner__dots button{
transition:none;
}
}

/* Digikala-style responsive Payafar rail. */
.pth-payafar__products{
display:flex;
align-items:stretch;
flex:1 1 auto;
min-width:0;
}

@media (max-width:767px){
.pth-payafar{
padding:0 8px 30px;
}

.pth-payafar__inner{
display:block;
width:100%;
min-height:0;
padding:0 0 8px;
overflow:hidden;
border-radius:20px;
}

.pth-payafar__promo{
display:grid;
grid-template-columns:48px minmax(86px,1fr) auto;
grid-template-rows:32px 30px;
gap:0 9px;
width:100%;
min-height:76px;
padding:7px 11px;
text-align:right;
}

.pth-payafar__promo > img{
grid-column:1;
grid-row:1/3;
align-self:center;
width:46px;
height:46px;
margin:0;
}

.pth-payafar__promo h2{
grid-column:2;
grid-row:1;
align-self:end;
margin:0;
font-size:19px;
line-height:1.25;
}

.pth-payafar__promo p{
display:none;
}

.pth-payafar__clock-wrap{
grid-column:2;
grid-row:2;
align-self:start;
justify-self:start;
margin:1px 0 0;
}

.pth-payafar__clock{
gap:3px;
}

.pth-payafar__clock b{
width:25px;
height:25px;
border-radius:6px;
font-size:10px;
}

.pth-payafar__clock i{
font-size:11px;
}

.pth-payafar__all{
grid-column:3;
grid-row:1/3;
align-self:center;
justify-self:end;
margin:0;
padding:8px 9px;
border:1px solid rgba(255,255,255,.4);
border-radius:8px;
background:rgba(255,255,255,.12);
color:#fff !important;
font-size:9px;
white-space:nowrap;
}

.pth-payafar__products{
display:flex;
gap:3px;
width:100%;
padding:0 8px 3px;
overflow-x:auto;
overflow-y:hidden;
direction:rtl;
scroll-snap-type:x proximity;
scrollbar-width:none;
-webkit-overflow-scrolling:touch;
}

.pth-payafar__products::-webkit-scrollbar{
display:none;
}

.pth-payafar-product{
align-self:stretch;
flex:0 0 168px;
width:168px;
min-height:238px;
overflow:hidden;
border-radius:12px;
scroll-snap-align:start;
}

.pth-payafar-product__image{
display:grid;
place-items:center;
flex:0 0 128px;
height:128px;
padding:8px 8px 2px;
}

.pth-payafar-product__image img{
width:100%;
height:118px;
object-fit:contain;
}

.pth-payafar-product__content{
display:block;
padding:7px 10px 10px;
}

.pth-payafar-product__badge{
padding:3px 6px;
font-size:7.5px;
}

.pth-payafar-product h3{
min-height:36px;
margin:5px 0;
font-size:10.5px;
line-height:1.7;
}

.pth-payafar-product__price{
justify-content:flex-end;
gap:4px;
margin:0;
}

.pth-payafar-product__price strong{
font-size:16px;
}

.pth-payafar-product__price small{
font-size:8px;
}

.pth-payafar-product__cta{
display:none !important;
}
}

/* Branded WooCommerce login / registration panel. */
body.woocommerce-account:not(.logged-in){
min-height:100vh;
background:linear-gradient(145deg,#f8fbff 0%,#fff 48%,#eef7ff 100%);
}

body.woocommerce-account:not(.logged-in) .pth-site-header,
body.woocommerce-account:not(.logged-in) #masthead,
body.woocommerce-account:not(.logged-in) .site-footer,
body.woocommerce-account:not(.logged-in) footer,
body.woocommerce-account:not(.logged-in) .pth-support-widget{
display:none !important;
}

body.woocommerce-account:not(.logged-in) .site-content,
body.woocommerce-account:not(.logged-in) .site-content > .ast-container,
body.woocommerce-account:not(.logged-in) #primary,
body.woocommerce-account:not(.logged-in) .entry-content{
width:100%;
max-width:none;
min-height:100vh;
margin:0 !important;
padding:0 !important;
}

body.woocommerce-account:not(.logged-in) article,
body.woocommerce-account:not(.logged-in) .entry-header{
margin:0 !important;
padding:0 !important;
}

body.woocommerce-account:not(.logged-in) #primary,
body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) article,
body.woocommerce-account:not(.logged-in) .ast-article-single{
border:0 !important;
background:transparent !important;
box-shadow:none !important;
}

body.woocommerce-account:not(.logged-in) .entry-header{
display:none;
}

body.woocommerce-account:not(.logged-in) #secondary,
body.woocommerce-account:not(.logged-in) .widget-area{
display:none !important;
}

body.woocommerce-account:not(.logged-in) .site-content > .ast-container{
display:block !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce{
display:flex;
align-items:center;
justify-content:center;
box-sizing:border-box;
width:100%;
max-width:none;
min-height:100vh;
padding:40px 18px;
font-family:'PTH IRANSans',Tahoma,Arial,sans-serif;
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper{
position:fixed;
top:18px;
right:50%;
z-index:10;
width:min(500px,calc(100% - 32px));
transform:translateX(50%);
}

.pth-auth-shell{
width:min(500px,100%);
padding:28px 40px 30px;
border:1px solid #dce5ee;
border-radius:18px;
background:rgba(255,255,255,.96);
box-shadow:0 22px 70px rgba(7,72,125,.11);
color:#102d51;
direction:rtl;
}

.pth-auth-brand{
display:grid;
grid-template-columns:42px 1fr 42px;
align-items:center;
margin-bottom:30px;
}

.pth-auth-logo{
grid-column:2;
display:flex;
align-items:center;
justify-content:center;
min-height:58px;
color:#0877bd !important;
text-decoration:none !important;
}

.pth-auth-logo img{
display:block;
width:auto;
max-width:172px;
height:58px;
object-fit:contain;
}

.pth-auth-logo strong{
font-family:Arial,sans-serif;
font-size:42px;
font-weight:900;
line-height:.8;
}

.pth-auth-logo span{
align-self:flex-end;
margin:0 6px 4px 0;
font-family:Arial,sans-serif;
font-size:17px;
}

.pth-auth-back{
grid-column:3;
grid-row:1;
display:grid;
place-items:center;
width:42px;
height:42px;
border-radius:12px;
color:#102d51 !important;
text-decoration:none !important;
transition:background .2s ease,color .2s ease;
}

.pth-auth-back:hover{
background:#eef7ff;
color:#0877bd !important;
}

.pth-auth-back svg{
width:26px;
height:26px;
fill:none;
stroke:currentColor;
stroke-width:2;
stroke-linecap:round;
stroke-linejoin:round;
}

.pth-auth-heading h1{
margin:0 0 9px;
color:#102d51;
font-size:20px;
font-weight:950;
line-height:1.7;
}

.pth-auth-heading p{
margin:0 0 21px;
color:#7a8797;
font-size:12px;
line-height:1.9;
}

.pth-auth-tabs{
display:grid;
grid-template-columns:1fr 1fr;
gap:4px;
margin-bottom:20px;
padding:4px;
border-radius:12px;
background:#eef5fa;
}

.pth-auth-tabs button{
min-height:42px;
padding:8px 12px;
border:0;
border-radius:9px;
background:transparent;
color:#6c7a8b;
font-family:inherit;
font-size:13px;
font-weight:900;
cursor:pointer;
transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}

.pth-auth-tabs button.is-active{
background:#fff;
box-shadow:0 4px 15px rgba(8,83,142,.1);
color:#0877bd;
}

.pth-auth-shell #customer_login{
display:block;
width:100%;
margin:0;
}

.pth-auth-shell #customer_login::before,
.pth-auth-shell #customer_login::after{
display:none;
}

.pth-auth-shell #customer_login > div{
float:none;
width:100%;
padding:0;
}

.pth-auth-shell:not(.is-register) #customer_login .u-column2,
.pth-auth-shell.is-register #customer_login .u-column1,
.pth-auth-shell #customer_login > div > h2{
display:none !important;
}

.pth-auth-shell:not(.is-register) #customer_login > .u-column1,
.pth-auth-shell.is-register #customer_login > .u-column2{
display:block !important;
}

.pth-auth-shell form.woocommerce-form{
margin:0;
padding:0;
border:0;
}

.pth-auth-shell form p{
margin:0 0 15px;
}

.pth-auth-shell form label{
display:block;
margin:0 0 7px;
color:#42546a;
font-size:11px;
font-weight:800;
}

.pth-auth-shell form .required{
color:#0a84cf;
}

.pth-auth-shell form input.input-text{
width:100%;
height:52px;
padding:0 14px;
border:1px solid #cfd9e3;
border-radius:10px;
background:#fff;
box-shadow:none;
color:#102d51;
font-family:inherit;
font-size:13px;
outline:none;
transition:border-color .2s ease,box-shadow .2s ease;
}

.pth-auth-shell form input.input-text:focus{
border-color:#0877bd;
box-shadow:0 0 0 3px rgba(8,119,189,.1);
}

.pth-auth-shell form .show-password-input{
top:17px;
}

.pth-auth-shell form button.button{
width:100%;
min-height:54px;
margin:4px 0 0;
border:0;
border-radius:10px;
background:linear-gradient(135deg,#0a88d5 0%,#086bae 100%);
box-shadow:0 9px 24px rgba(8,119,189,.2);
color:#fff;
font-family:inherit;
font-size:14px;
font-weight:950;
cursor:pointer;
}

.pth-auth-shell form button.button:hover{
background:linear-gradient(135deg,#087bc2 0%,#075d98 100%);
}

.pth-auth-shell .woocommerce-form-login__rememberme{
display:flex;
align-items:center;
gap:7px;
margin:2px 0 13px;
}

.pth-auth-shell .woocommerce-form-login__rememberme input{
accent-color:#0877bd;
}

.pth-auth-shell .lost_password{
margin:14px 0 0;
text-align:center;
}

.pth-auth-shell .ast-woo-form-actions{
display:none !important;
}

.pth-auth-shell .woocommerce-form-register > p:not(.form-row),
.pth-auth-shell .woocommerce-privacy-policy-text{
color:#778698;
font-size:10px;
line-height:1.9;
}

.pth-auth-shell .lost_password a,
.pth-auth-terms a{
color:#0877bd !important;
text-decoration:none !important;
}

.pth-auth-terms{
margin:22px 0 0;
color:#7f8b99;
font-size:10px;
line-height:2;
text-align:center;
}

@media (max-width:600px){
body.woocommerce-account:not(.logged-in) .woocommerce{
align-items:flex-start;
padding:18px 12px;
}

.pth-auth-shell{
padding:22px 20px 24px;
border-radius:15px;
}

.pth-auth-brand{
margin-bottom:22px;
}

.pth-auth-logo img{
max-width:145px;
height:50px;
}

.pth-auth-heading h1{
font-size:18px;
}
}

/*
 * Responsive hardening for touch devices that request a desktop-sized
 * layout viewport. Some Android browsers keep a 768-1024px CSS viewport
 * and scale the whole page down; these rules keep the important commerce
 * screens readable in that mode without changing desktop mouse layouts.
 */
@media (min-width:768px) and (max-width:1024px) and (any-pointer:coarse){
.pth-site-header__inner{
min-height:88px;
padding-inline:22px;
}

.pth-site-header__brand,
.pth-site-header__brand .custom-logo-link{
width:150px !important;
}

.pth-site-header__brand .custom-logo{
width:150px !important;
max-width:150px !important;
max-height:62px;
}

.pth-site-header__toggle,
.pth-header-action--login,
.pth-header-cart{
width:54px;
height:54px;
min-height:54px;
}

.pth-search-hero__inner{
padding-block:36px 30px;
}

.pth-search-hero h1{
font-size:42px;
}

.pth-search-hero__eyebrow,
.pth-search-hero__subtitle,
.pth-product-search input[type="search"]{
font-size:18px;
}

.pth-search-suggestions a{
padding:11px 16px;
font-size:16px;
}

.pth-home-categories__header span,
.pth-home-categories__header p{
font-size:18px;
}

.pth-home-categories__header h2{
font-size:38px;
}

.pth-home-category-card strong{
font-size:24px;
}

.pth-home-category-card small{
font-size:16px;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image a{
aspect-ratio:16/10;
}

.single-product .summary.entry-summary > .pth-digi-summary-main{
padding:24px 28px 28px;
}

.single-product .pth-digi-summary-main .woocommerce-breadcrumb,
.single-product .pth-digi-summary-main .pth-product-meta-line{
font-size:16px;
}

.single-product .pth-digi-summary-main .product_title{
font-size:32px;
}

.single-product .pth-product-section-nav a,
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li{
font-size:18px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price strong{
font-size:26px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price small{
font-size:13px;
}

.single-product .pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button,
.single-product .summary.entry-summary > .pth-buy-box.pth-digi-buy-card > .pth-consult-button{
min-height:62px;
font-size:18px;
}

body.woocommerce-account:not(.logged-in) .woocommerce{
align-items:flex-start;
padding:32px 24px;
}

.pth-auth-shell{
width:calc(100% - 24px);
max-width:900px;
padding:42px 56px 46px;
}

.pth-auth-logo img{
max-width:220px;
height:76px;
}

.pth-auth-heading h1{
font-size:30px;
}

.pth-auth-heading p,
.pth-auth-tabs button,
.pth-auth-shell form input.input-text,
.pth-auth-shell form button.button{
font-size:18px;
}

.pth-auth-shell form label{
font-size:16px;
}

.pth-auth-shell form input.input-text,
.pth-auth-shell form button.button{
min-height:66px;
}

.pth-auth-shell .woocommerce-form-register > p:not(.form-row),
.pth-auth-shell .woocommerce-privacy-policy-text,
.pth-auth-terms{
font-size:14px;
}
}

@media (max-width:520px){
.pth-header-action--login span{
display:inline !important;
white-space:nowrap;
}

.pth-header-action--login{
width:auto;
min-width:124px;
padding:0 11px;
font-size:12px;
}

.pth-home-categories{
padding:34px 8px 42px;
}

.pth-home-categories__grid{
grid-template-columns:repeat(4,minmax(0,1fr));
gap:6px;
}

.pth-home-category-card{
padding:5px 4px 9px;
border-radius:13px;
}

.pth-home-category-card__image{
width:88%;
border-radius:10px;
}

.pth-home-category-card strong{
margin-top:6px;
font-size:10px;
line-height:1.55;
}

.pth-home-category-card small{
display:none;
}

.pth-auth-shell{
width:100%;
}

.pth-support-widget__trigger{
width:66px;
height:66px;
}

.pth-support-widget__trigger svg{
width:31px;
height:31px;
}

.single-product .pth-gallery-tools button{
width:48px;
height:48px;
}

.single-product .pth-gallery-tools svg{
width:23px;
height:23px;
}
}

/* Large touch viewport: compensate for Android "desktop site" scaling. */
@media (min-width:768px) and (max-width:1024px) and (any-pointer:coarse){
body{
font-size:22px;
}

.pth-site-header__inner{
min-height:116px;
grid-template-columns:72px auto minmax(16px,1fr) 200px;
padding-inline:28px;
}

.pth-site-header__brand,
.pth-site-header__brand .custom-logo-link{
width:200px !important;
}

.pth-site-header__brand .custom-logo{
width:200px !important;
max-width:200px !important;
max-height:82px;
}

.pth-site-header__toggle,
.pth-header-cart{
width:72px;
height:72px;
min-height:72px;
border-radius:18px;
}

.pth-header-action--login{
width:auto;
min-width:218px;
height:72px;
min-height:72px;
padding:0 22px;
border-radius:18px;
font-size:21px;
}

.pth-header-action--login span{
display:inline !important;
white-space:nowrap;
}

.pth-site-header__toggle{
padding:17px;
}

.pth-site-header__actions svg,
.pth-site-header__actions .pth-header-cart svg{
width:34px;
height:34px;
}

.pth-header-cart > span{
right:-9px;
top:-9px;
width:30px;
min-width:30px;
height:30px;
font-size:15px;
}

.pth-site-header__nav{
width:min(680px,calc(100vw - 36px));
padding:18px;
}

.pth-site-header__nav a{
padding:19px 16px;
font-size:21px;
}

.pth-search-hero__inner{
padding-block:46px 38px;
}

.pth-search-hero h1{
font-size:54px;
}

.pth-search-hero__eyebrow,
.pth-search-hero__subtitle,
.pth-product-search input[type="search"]{
font-size:24px;
}

.pth-product-search{
height:92px;
border-radius:26px;
}

.pth-product-search button{
width:70px;
height:70px;
border-radius:20px;
}

.pth-search-suggestions a{
padding:15px 20px;
font-size:21px;
}

.pth-home-categories{
padding:58px 24px 70px;
}

.pth-home-categories__grid{
grid-template-columns:repeat(4,minmax(0,1fr));
gap:14px;
max-width:940px;
}

.pth-home-categories__header span,
.pth-home-categories__header p{
font-size:23px;
}

.pth-home-categories__header h2{
font-size:48px;
}

.pth-home-category-card{
padding:12px 10px 18px;
}

.pth-home-category-card__image{
width:82%;
}

.pth-home-category-card strong{
font-size:24px;
}

.pth-home-category-card small{
font-size:17px;
}

.pth-payafar{
padding:0 18px 50px;
}

.pth-payafar__inner{
display:block;
width:100%;
max-width:1080px;
min-height:0;
padding:0 0 14px;
overflow:hidden;
border-radius:28px;
}

.pth-payafar__promo{
display:grid;
grid-template-columns:100px minmax(180px,1fr) auto;
grid-template-rows:52px 48px;
gap:0 16px;
width:100%;
min-height:128px;
padding:14px 22px;
text-align:right;
}

.pth-payafar__promo > img{
grid-column:1;
grid-row:1/3;
align-self:center;
width:92px;
height:92px;
margin:0;
}

.pth-payafar__promo h2{
grid-column:2;
grid-row:1;
align-self:end;
font-size:34px;
}

.pth-payafar__promo p{
display:none;
}

.pth-payafar__clock-wrap{
grid-column:2;
grid-row:2;
align-self:start;
justify-self:start;
margin:2px 0 0;
}

.pth-payafar__clock b{
width:44px;
height:42px;
font-size:19px;
}

.pth-payafar__clock i{
font-size:19px;
}

.pth-payafar__all{
grid-column:3;
grid-row:1/3;
align-self:center;
justify-self:end;
margin:0;
padding:14px 18px;
font-size:17px;
}

.pth-payafar__products{
display:flex;
align-items:stretch;
gap:7px;
width:100%;
padding:0 14px 4px;
overflow-x:auto;
overflow-y:hidden;
direction:rtl;
scroll-snap-type:x proximity;
scrollbar-width:none;
}

.pth-payafar__products::-webkit-scrollbar{
display:none;
}

.pth-payafar-product{
align-self:stretch;
flex:0 0 300px;
width:300px;
min-height:400px;
border-radius:18px;
scroll-snap-align:start;
}

.pth-payafar-product__image{
display:grid;
place-items:center;
flex:0 0 250px;
height:250px;
padding:12px 12px 4px;
}

.pth-payafar-product__image img{
width:100%;
height:232px;
object-fit:contain;
}

.pth-payafar-product__content{
display:block;
padding:12px 16px 17px;
}

.pth-payafar-product__badge{
padding:5px 10px;
font-size:13px;
}

.pth-payafar-product h3{
min-height:64px;
margin:9px 0;
font-size:20px;
}

.pth-payafar-product__price strong{
font-size:30px;
}

.pth-payafar-product__price small{
font-size:14px;
}

.single-product .summary.entry-summary > .pth-digi-summary-main{
padding:32px 38px 36px;
}

.single-product .pth-digi-summary-main .woocommerce-breadcrumb,
.single-product .pth-digi-summary-main .pth-product-meta-line{
font-size:21px;
}

.single-product .pth-digi-summary-main .product_title{
font-size:42px;
}

.single-product .pth-product-section-nav a,
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li,
.single-product .pth-specifications,
.single-product .pth-product-copy{
font-size:25px;
line-height:2;
}

.single-product .pth-gallery-tools{
gap:10px;
}

.single-product .pth-gallery-tools button{
width:68px;
height:68px;
border-radius:18px;
}

.single-product .pth-gallery-tools svg{
width:32px;
height:32px;
}

.pth-digi-services > div > span,
.pth-product-services > div > span{
width:68px;
height:68px;
}

.pth-digi-services > div > span svg,
.pth-product-services > div > span svg{
width:34px;
height:34px;
}

.pth-digi-services strong,
.pth-product-services strong{
font-size:18px;
}

.pth-digi-services small,
.pth-product-services small{
font-size:15px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price strong{
font-size:34px;
}

.single-product .pth-digi-buy-card .pth-buy-box__price small{
font-size:17px;
}

.single-product .pth-digi-buy-card .pth-buy-box__cart .single_add_to_cart_button,
.single-product .summary.entry-summary > .pth-buy-box.pth-digi-buy-card > .pth-consult-button{
min-height:76px;
font-size:23px;
}

.pth-support-widget__trigger{
width:86px;
height:86px;
}

.pth-support-widget__trigger svg{
width:41px;
height:41px;
}

#ast-scroll-top{
width:70px !important;
height:70px !important;
font-size:28px !important;
}

.pth-support-widget__panel h2{
font-size:32px;
}

.pth-support-widget__panel p,
.pth-support-widget__choices button,
.pth-support-chat__title{
font-size:21px;
}

.pth-support-chat__message,
.pth-support-chat__composer textarea{
font-size:18px;
}

.pth-auth-shell{
padding:54px 68px 60px;
}

.pth-auth-logo img{
max-width:270px;
height:92px;
}

.pth-auth-heading h1{
font-size:38px;
}

.pth-auth-heading p,
.pth-auth-tabs button,
.pth-auth-shell form input.input-text,
.pth-auth-shell form button.button{
font-size:24px;
}

.pth-auth-shell form label{
font-size:21px;
}

.pth-auth-shell form input.input-text,
.pth-auth-shell form button.button{
min-height:80px;
}

.pth-auth-shell .woocommerce-form-register > p:not(.form-row),
.pth-auth-shell .woocommerce-privacy-policy-text,
.pth-auth-terms{
font-size:18px;
}
}

@media (max-width:360px){
.pth-site-header__inner{
grid-template-columns:40px auto minmax(4px,1fr) 82px;
padding-inline:7px;
}

.pth-site-header__brand,
.pth-site-header__brand .custom-logo-link{
width:82px !important;
}

.pth-site-header__brand .custom-logo{
width:82px !important;
max-width:82px !important;
}

.pth-site-header__toggle,
.pth-header-cart{
width:40px;
height:40px;
min-height:40px;
}

.pth-header-action--login{
min-width:102px;
height:40px;
min-height:40px;
padding-inline:7px;
font-size:10px;
}

.pth-header-action--login svg{
display:none;
}
}

/* Mobile commerce flow inspired by the compact Digikala product journey. */
@media (max-width:767px), (any-hover:none) and (any-pointer:coarse){
.single-product .summary.entry-summary > .woocommerce-product-details__short-description{
display:none !important;
}

.single-product div.product > .woocommerce-breadcrumb.pth-mobile-breadcrumb{
order:0;
display:block;
width:100%;
margin:0;
padding:13px 14px 9px;
overflow-x:auto;
border-bottom:1px solid #eceff2;
background:#fff;
color:#747b85;
font-size:11px;
white-space:nowrap;
scrollbar-width:none;
}

.single-product div.product > .woocommerce-breadcrumb.pth-mobile-breadcrumb::-webkit-scrollbar{
display:none;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image a{
aspect-ratio:4/3;
}

.single-product .pth-digi-summary-main{
border-radius:0;
}

.single-product .related ul.products,
.single-product .up-sells ul.products,
.single-product .pth-recommended-products ul.products{
display:flex !important;
align-items:stretch;
gap:10px;
width:100%;
margin:0 !important;
padding:2px 0 10px !important;
overflow-x:auto;
overflow-y:hidden;
scroll-snap-type:x proximity;
scrollbar-width:none;
}

.single-product .related ul.products::-webkit-scrollbar,
.single-product .up-sells ul.products::-webkit-scrollbar,
.single-product .pth-recommended-products ul.products::-webkit-scrollbar{
display:none;
}

.single-product .related ul.products li.product,
.single-product .up-sells ul.products li.product,
.single-product .pth-recommended-products ul.products li.product{
float:none !important;
flex:0 0 170px;
width:170px !important;
min-width:170px;
margin:0 !important;
scroll-snap-align:start;
}

body.woocommerce-shop .site-content > .ast-container,
body.tax-product_cat .site-content > .ast-container,
body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-checkout .site-content > .ast-container,
body.blog .site-content > .ast-container,
body.archive .site-content > .ast-container,
body.page:not(.home):not(.woocommerce-account) .site-content > .ast-container{
width:100%;
max-width:none;
padding:18px 12px 42px !important;
}

body.woocommerce-shop #primary,
body.tax-product_cat #primary,
body.woocommerce-cart #primary,
body.woocommerce-checkout #primary,
body.blog #primary,
body.archive #primary,
body.page:not(.home):not(.woocommerce-account) #primary{
width:100%;
margin:0;
padding:0;
}

body.woocommerce-shop #secondary,
body.tax-product_cat #secondary,
body.woocommerce-cart #secondary,
body.woocommerce-checkout #secondary,
body.blog #secondary,
body.archive #secondary,
body.page:not(.home):not(.woocommerce-account) #secondary{
display:none !important;
}

.woocommerce .woocommerce-products-header h1,
.woocommerce .page-title,
body:not(.home):not(.single-product) .entry-title{
margin:8px 0 18px;
font-size:24px;
line-height:1.6;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count{
float:none;
width:100%;
margin:0 0 12px;
}

.woocommerce .woocommerce-ordering select{
width:100%;
min-height:48px;
border-radius:10px;
}

body.woocommerce-shop ul.products,
body.tax-product_cat ul.products{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:10px;
}

body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after{
display:none !important;
}

body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product{
float:none !important;
width:100% !important;
margin:0 !important;
padding:10px;
border:1px solid #e7ecf1;
border-radius:14px;
background:#fff;
}

body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img{
aspect-ratio:1/1;
object-fit:contain;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
min-height:48px;
font-size:13px !important;
line-height:1.85;
}

body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
font-size:15px !important;
}

body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button{
display:flex;
align-items:center;
justify-content:center;
width:100%;
min-height:44px;
margin-top:9px;
border-radius:9px;
background:#0877bd;
color:#fff;
font-size:11px;
text-align:center;
}

.woocommerce-cart-form,
.woocommerce-checkout form.checkout{
width:100%;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-checkout .woocommerce-checkout-review-order{
border-radius:14px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order{
display:flex;
align-items:center;
justify-content:center;
width:100%;
min-height:52px;
border-radius:10px;
background:#0877bd !important;
font-size:15px;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2{
float:none;
width:100%;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-cart input.input-text{
min-height:50px;
border-radius:9px;
font-size:14px;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content{
font-size:15px;
line-height:2;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content h2{
font-size:21px;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content h3{
font-size:18px;
}

.pth-magazine-hero h1{
font-size:29px;
}

.pth-magazine-hero p,
.pth-article-card p{
font-size:14px;
}

.pth-article-card h2{
font-size:19px;
}
}

@media (min-width:768px) and (max-width:1024px) and (any-pointer:coarse){
.single-product div.product > .woocommerce-breadcrumb.pth-mobile-breadcrumb{
padding:20px 28px 15px;
font-size:20px;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image a{
aspect-ratio:16/10;
}

.single-product .related ul.products li.product,
.single-product .up-sells ul.products li.product,
.single-product .pth-recommended-products ul.products li.product{
flex-basis:290px;
width:290px !important;
min-width:290px;
}

body.woocommerce-shop .site-content > .ast-container,
body.tax-product_cat .site-content > .ast-container,
body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-checkout .site-content > .ast-container,
body.blog .site-content > .ast-container,
body.archive .site-content > .ast-container,
body.page:not(.home):not(.woocommerce-account) .site-content > .ast-container{
padding:30px 26px 70px !important;
}

.woocommerce .woocommerce-products-header h1,
.woocommerce .page-title,
body:not(.home):not(.single-product) .entry-title{
font-size:42px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
font-size:22px !important;
}

body.woocommerce-shop ul.products,
body.tax-product_cat ul.products{
gap:18px;
}

body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product{
padding:18px;
border-radius:20px;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
min-height:78px;
}

body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button{
min-height:68px;
font-size:20px;
}

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-cart table,
.woocommerce-checkout table,
.woocommerce-cart input,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea{
font-size:22px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order{
min-height:76px;
font-size:24px;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content,
.pth-magazine-hero p,
.pth-article-card p{
font-size:23px;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content h2,
.pth-article-card h2{
font-size:31px;
}

body:not(.home):not(.single-product):not(.woocommerce-account) .entry-content h3{
font-size:27px;
}

.pth-magazine-hero h1{
font-size:48px;
}

.pth-magazine-categories a,
.pth-article-card__more,
.pth-article-card__meta{
font-size:20px;
}
}
