/* ParsTempo header styles — extracted (auto build) */
@media (min-width: 769px) {
.site-header .container { max-width: 100%; padding: 0 28px; }
}
.site-header {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1000;
background: #ffffff;
backdrop-filter: blur(10px);
border-bottom: 1px solid #eee9df;
box-shadow: 0 6px 22px rgba(107, 94, 69, .16);
transform: translateY(-110%);
transition: transform .35s ease, box-shadow .3s ease;
}
.site-header.pt-shown { transform: translateY(0); }
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 176px;
gap: 24px;
}
.logo { display: flex; align-items: center; height: 100%; }
.logo .logo-img {
height: 148px !important;
width: auto !important;
max-height: none !important;
max-width: 720px !important;
min-height: 0 !important;
object-fit: contain;
display: block;
margin-top: 24px;
}
.logo .logo-text { font-weight: 800; font-size: 22px; color: #1f1b16; letter-spacing: -.3px; }
.logo .logo-text .logo-accent { color: #c9a24b; }
.main-nav ul { display: flex; gap: 42px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
font-weight: 600;
font-size: 1.25rem;
padding: 10px 6px;
position: relative;
transition: color .2s;
}
.main-nav a::after {
content: '';
position: absolute;
bottom: 0; right: 0;
width: 0; height: 2px;
background: #c9a24b;
border-radius: 2px;
transition: width .25s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: #8a6a2f; }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 66px; height: 66px;
border-radius: 18px;
border: 1px solid #eee9df;
background: #faf8f4;
color: #2e2a24;
cursor: pointer;
transition: all .25s ease;
}
.icon-btn:hover {
background: #f1e8d8;
border-color: #e8c987;
color: #8a6a2f;
transform: translateY(-2px);
}
.icon-btn svg { width: 32px; height: 32px; }
.icon-btn .count {
position: absolute;
top: -6px; left: -6px;
min-width: 26px; height: 26px;
padding: 0 7px;
border-radius: 50px;
background: #c9a24b;
color: #fffdf7;
font-size: .95rem;
font-weight: 700;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 6px rgba(201,162,75,.45);
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #2e2a24; cursor: pointer; padding: 8px; }
.marquee { background: #1f1b16; overflow: hidden; white-space: nowrap; }
.marquee-track span { color: #fff; }
@media (max-width: 768px) {
.site-header { display: none !important; }
body { padding-bottom: 90px; }
.header-inner { height: 72px; gap: 8px; }
.logo .logo-img { height: 52px !important; margin-top: 0 !important; }
.main-nav a { font-size: 1rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { min-width: 18px; height: 18px; font-size: .7rem; top: -4px; left: -4px; }
.nav-toggle { display: block; }
.main-nav {
position: fixed;
top: 72px; right: 0; left: 0;
background: #ffffff;
border-bottom: 1px solid #eee9df;
box-shadow: 0 12px 24px rgba(107,94,69,.12);
max-height: 0; overflow: hidden;
transition: max-height .35s ease;
z-index: 999;
}
.main-nav.open { max-height: 420px; }
.main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 14px; }
.main-nav li { border-bottom: 1px solid #f4efe6; }
.main-nav li:last-child { border-bottom: none; }
.main-nav a { display: block; padding: 13px 0; }
.main-nav a::after { display: none; }
}
@media (max-width: 768px) {
.logo img, .logo .custom-logo { height: 52px !important; width: auto !important; max-height: none !important; margin-top: 0 !important; }
}
.header-search-btn {
padding: 0;
appearance: none;
-webkit-appearance: none;
font: inherit;
}
.header-search-btn svg { width: 33px; height: 33px; }
.header-search-btn:focus-visible {
outline: 2px solid #c9a24b;
outline-offset: 3px;
}
.site-header .main-nav ul {
gap: clamp(12px, 2vw, 38px);
align-items: center;
}
.site-header .main-nav ul li > a.pt-nav-strong {
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
padding: 11px clamp(8px, .7vw, 13px);
border-radius: 12px;
font-family: 'IRANYekanX', sans-serif !important;
font-size: clamp(21px, 1.35vw, 23px) !important;
font-weight: 950 !important;
line-height: 1.8;
letter-spacing: -0.35px;
white-space: nowrap;
background: transparent;
transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.site-header .main-nav ul li > a.pt-nav-strong::after {
right: 18px;
bottom: 5px;
width: 0;
height: 2px;
border-radius: 3px;
background: linear-gradient(90deg, #d9bb76, #a77b35);
}
.site-header .main-nav ul li > a.pt-nav-strong:hover,
.site-header .main-nav ul li.current-menu-item > a.pt-nav-strong,
.site-header .main-nav ul li.current_page_item > a.pt-nav-strong {
color: #856329;
background: linear-gradient(135deg, #fbf8f1 0%, #f5eddd 100%);
box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .20), 0 3px 10px rgba(107, 94, 69, .06);
transform: translateY(-1px);
}
.site-header .main-nav ul li > a.pt-nav-strong:hover::after,
.site-header .main-nav ul li.current-menu-item > a.pt-nav-strong::after,
.site-header .main-nav ul li.current_page_item > a.pt-nav-strong::after {
width: calc(100% - 36px);
}
@media (min-width: 769px) and (max-width: 1100px) {
.site-header .main-nav ul { gap: 10px; }
.site-header .main-nav ul li > a.pt-nav-strong {
padding: 9px 6px;
font-size: 18px !important;
}
}
.pt-mnav{display:none}
.pt-top-btn{display:none}
@media (min-width:769px){
.pt-top-btn{
display:flex;align-items:center;justify-content:center;
position:fixed;right:22px;bottom:22px;
width:60px;height:60px;padding:0;
border:1px solid rgba(255,255,255,.78);
border-radius:50%;
background:linear-gradient(145deg,#dfc47e 0%,#c9a24b 54%,#a98031 100%);
color:#fffdf7;cursor:pointer;
box-shadow:0 6px 18px rgba(117,84,27,.24),inset 0 1px 0 rgba(255,255,255,.42);
opacity:1;visibility:visible;pointer-events:auto;
z-index:150;
transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.pt-top-btn svg{width:27px;height:27px;display:block}
.pt-top-btn:hover{
transform:translateY(-3px);
box-shadow:0 9px 22px rgba(117,84,27,.3),inset 0 1px 0 rgba(255,255,255,.48);
filter:brightness(1.04);
}
.pt-top-btn:active{transform:translateY(-1px) scale(.97)}
.pt-top-btn:focus-visible{outline:3px solid rgba(201,162,75,.38);outline-offset:4px}
}
@media (max-width:767px){
.pt-mnav{
display:flex;position:fixed;
bottom:calc(10px + env(safe-area-inset-bottom,0px));
left:50%;transform:translateX(-50%);
z-index:99990;gap:14px;padding:10px 16px;
background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.15);
}
.pt-mnav__item{display:block;text-decoration:none;color:#111}
.pt-mnav__item.pt-back{background:none;border:none;padding:0;margin:0;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;outline:none}
.pt-mnav__circle{
position:relative;display:flex;align-items:center;justify-content:center;
width:46px;height:46px;border-radius:50%;background:#fffdf7;
border:1px solid #eee9df;box-shadow:0 2px 8px rgba(107,94,69,.12);
transition:box-shadow .2s,transform .2s;
}
.pt-mnav__circle svg{width:22px;height:22px;transition:color .2s}
.pt-c-home svg{color:#c9a24b}
.pt-c-shop svg{color:#e8762a}
.pt-c-search svg{color:#8a6a2f}
.pt-c-heart svg{color:#c96b8a}
.pt-c-cart svg{color:#c9a24b}
.pt-c-back svg{color:#b3543f}
.pt-mnav__item.active .pt-mnav__circle{transform:translateY(-2px)}
.pt-mnav__item.active.pt-c-home .pt-mnav__circle{box-shadow:0 0 0 2px #c9a24b,0 4px 12px rgba(201,162,75,.3)}
.pt-mnav__item.active.pt-c-home svg{color:#c9a24b}
.pt-mnav__item.active.pt-c-shop .pt-mnav__circle{box-shadow:0 0 0 2px #e8762a,0 4px 12px rgba(232,118,42,.3)}
.pt-mnav__item.active.pt-c-shop svg{color:#e8762a}
.pt-mnav__item.active.pt-c-search .pt-mnav__circle{box-shadow:0 0 0 2px #8a6a2f,0 4px 12px rgba(138,106,47,.3)}
.pt-mnav__item.active.pt-c-search svg{color:#8a6a2f}
.pt-mnav__item.active.pt-c-heart .pt-mnav__circle{box-shadow:0 0 0 2px #c96b8a,0 4px 12px rgba(201,107,138,.3)}
.pt-mnav__item.active.pt-c-cart .pt-mnav__circle{box-shadow:0 0 0 2px #c9a24b,0 4px 12px rgba(201,162,75,.3)}
.pt-mnav__item.active.pt-c-heart svg{color:#c96b8a}
.pt-mnav__item.active.pt-c-cart svg{color:#c9a24b}
.pt-c-cart svg{color:#c9a24b}
.pt-mnav__item.active.pt-c-back .pt-mnav__circle{box-shadow:0 0 0 2px #b3543f,0 4px 12px rgba(179,84,63,.3)}
.pt-mnav__item.active.pt-c-back svg{color:#b3543f}
.pt-mnav__item:active .pt-mnav__circle{box-shadow:0 0 0 2px #c9a24b}
.pt-mnav__item:active svg{color:#c9a24b}
.pt-mnav__badge{
position:absolute;top:-4px;left:-4px;min-width:18px;height:18px;
background:#c9a24b;color:#fff;
font-size:11px;font-weight:700;line-height:18px;text-align:center;border-radius:50%;
}
.pt-top-btn{
display:flex;align-items:center;justify-content:center;
position:fixed;bottom:calc(86px + env(safe-area-inset-bottom,0px));
left:14px;z-index:99989;width:50px;height:50px;
border:1px solid rgba(255,255,255,.78);border-radius:14px;
background:linear-gradient(145deg,#e5cf91 0%,#c9a24b 56%,#a98031 100%);
color:#fffdf7;cursor:pointer;
box-shadow:0 5px 16px rgba(117,84,27,.28),inset 0 1px 0 rgba(255,255,255,.4);
opacity:0;pointer-events:none;
transition:opacity .25s,transform .2s ease,box-shadow .2s ease;
}
.pt-top-btn svg{width:23px;height:23px}
.pt-top-btn:active{transform:scale(.96)}
.pt-top-btn:focus-visible{outline:3px solid rgba(201,162,75,.38);outline-offset:3px}
}
