/*
Theme Name: Pargar Kavenet Final
Author: کافی نت پرگار
Version: 3.0.0
Description: قالب موبایل‌محور کافی نت پرگار، بازسازی شده بر اساس طرح مرجع.
*/
:root{
 --green:#09a968;--green2:#16b777;--greenDark:#078754;--pale:#eefaf4;
 --text:#151918;--muted:#737a78;--line:#e8ecea;--bg:#fbfcfb;--white:#fff;
 --shadow:0 4px 18px rgba(26,51,42,.07);--radius:22px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.85}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}img{max-width:100%;height:auto}
.container{width:min(1110px,calc(100% - 36px));margin-inline:auto}.main{min-height:70vh;padding-bottom:108px}
.site-top{background:#fff;padding:14px 0 0}.top-row{height:63px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:22px}.avatar{width:49px;height:49px;border-radius:50%;background:#dff3e9;display:grid;place-items:center;color:#079b60;font-size:30px}.hello{display:flex;align-items:center;gap:9px}.hello small{display:block;color:#333;font-size:14px}.hello strong{font-size:21px}.top-actions{display:flex;gap:10px;direction:ltr}.top-support{min-height:49px;padding:0 16px;border:1px solid #dce7e2;border-radius:16px;background:#eaf8f1;color:#078754;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:900;font-size:14px;white-space:nowrap}.top-support span{display:inline}.top-btn{width:49px;height:49px;border:1px solid #e6eae8;border-radius:16px;background:#fff;display:grid;place-items:center;color:#555;font-size:22px;position:relative}.top-btn .dot{position:absolute;width:10px;height:10px;background:#12a86b;border-radius:50%;right:8px;top:7px;border:2px solid #fff}
.searchbar{height:70px;background:#fff;border:1px solid #dfe5e2;border-radius:19px;display:flex;align-items:center;padding:0 20px;margin:18px 0 28px;color:#777;box-shadow:0 2px 8px rgba(0,0,0,.02)}.searchbar span{font-size:29px;line-height:1}.searchbar input{border:0;outline:0;flex:1;background:transparent;margin-right:12px;font-size:16px;color:#222}.searchbar input::placeholder{color:#858b89}
.hero{height:255px;border-radius:25px;background:linear-gradient(100deg,#0ca466,#16b879);color:#fff;overflow:hidden;position:relative;box-shadow:0 9px 28px rgba(10,169,103,.12)}.hero-content{height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 35px}.hero-copy{width:54%;text-align:right}.hero h1{font-size:32px;margin:0 0 5px;font-weight:900}.hero p{font-size:18px;margin:0 0 19px}.hero-btn{display:inline-flex;background:#fff;color:#08945b;border-radius:13px;padding:12px 25px;font-weight:900;font-size:17px}.headset{width:45%;height:100%;position:relative;display:grid;place-items:center}.headset .ear{width:170px;height:105px;border:17px solid #233d35;border-bottom-color:transparent;border-radius:100px 100px 45px 45px;transform:translateY(4px)}.headset .mic{width:78px;height:11px;background:#233d35;border-radius:10px;position:absolute;bottom:62px;right:67px;transform:rotate(-10deg)}.bubble{position:absolute;background:#fff;color:#555;border-radius:18px;padding:10px 17px;font-size:22px;box-shadow:0 10px 18px rgba(0,0,0,.13)}.bubble:after{content:"";position:absolute;bottom:-9px;right:20px;border-width:10px 8px 0 8px;border-style:solid;border-color:#fff transparent transparent transparent}.hero-dots{position:absolute;bottom:12px;left:0;right:0;text-align:center}.hero-dots i{display:inline-block;width:11px;height:11px;border-radius:50%;background:#79d7b3;margin:0 5px}.hero-dots i:first-child{width:28px;border-radius:9px;background:#fff}
.section{margin-top:35px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-head h2{margin:0;font-size:21px;font-weight:900}.seeall{color:#08a366;font-weight:900;font-size:15px}.seeall:before{content:"‹";font-size:25px;vertical-align:-2px;margin-left:4px}
.services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{background:#fff;border:1px solid #e7ebe9;border-radius:21px;box-shadow:var(--shadow);padding:12px;text-align:center;min-height:224px;transition:transform .18s}.service-card:hover{transform:translateY(-3px)}.service-img{height:132px;border-radius:17px;background:linear-gradient(180deg,#f6f8f7,#f0f3f1);display:grid;place-items:center;font-size:58px}.service-card h3{font-size:16px;margin:9px 0 1px}.service-price{font-weight:900;color:#12885d;font-size:14px}
.categories{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.category{background:var(--pale);border-radius:20px;padding:12px 6px;text-align:center;color:#216d52;font-weight:900}.category .cat-icon{height:76px;display:grid;place-items:center;font-size:43px}.category span{display:block;padding-bottom:4px}
.other-list{background:#fff;border:1px solid var(--line);border-radius:23px;overflow:hidden;box-shadow:var(--shadow)}.other-item{display:flex;align-items:center;gap:17px;padding:16px 19px;border-bottom:1px solid #edf0ef}.other-item:last-child{border-bottom:0}.other-icon{width:72px;height:72px;border-radius:17px;background:#f5f8f6;display:grid;place-items:center;font-size:43px;flex:none}.other-body{flex:1}.other-body h3{font-size:18px;margin:0 0 3px}.other-body p{margin:0;color:#777;font-size:14px}.chev{font-size:30px;color:#777}
.page-title{padding:28px 0 17px}.page-title h1{margin:0;font-size:29px}.page-title p{margin:2px 0;color:var(--muted)}.card{background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:var(--shadow);padding:22px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field label{display:block;font-weight:900;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3e0;border-radius:14px;padding:11px 13px;outline:0;background:#fff}.field textarea{min-height:130px;resize:vertical}.btn{border:0;border-radius:14px;padding:12px 21px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.btn-green{background:var(--green);color:#fff}.btn-light{background:#fff;border:1px solid var(--line)}.notice{padding:13px 16px;border-radius:14px;background:#edf9f3;color:#206a4e;margin-bottom:15px}.notice.err{background:#fff0f0;color:#a44242}
.print-upload{border:2px dashed #b8e3d0;border-radius:20px;background:#f9fffc;text-align:center;padding:26px}.print-upload .file-icon{font-size:51px}.print-upload input{margin-top:13px}
.price-box{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:17px}.price-item{background:#f7faf8;border-radius:16px;padding:14px}.price-item b{display:block;font-size:13px;color:#6c7471}.price-item strong{font-size:19px;color:#0a8758}.grand{margin-top:16px;background:var(--pale);border-radius:18px;padding:16px;display:flex;align-items:center;justify-content:space-between}.grand strong{font-size:26px;color:var(--greenDark)}
.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:13px;box-shadow:var(--shadow)}.product-photo{height:185px;background:#f5f7f6;border-radius:17px;display:grid;place-items:center;font-size:65px}.product-card h3{margin:9px 0 0;font-size:16px}.stock{color:#777;font-size:13px}.product-price{color:var(--greenDark);font-weight:900;margin-top:2px}.product-card .btn{width:100%;margin-top:9px}
.auth{width:min(500px,100%);margin:35px auto}.auth-logo{margin:auto auto 13px;width:67px;height:67px;border-radius:21px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:35px}.auth h1{text-align:center;margin:0 0 22px}.auth .card{padding:27px}
.requests{display:grid;gap:11px}.request{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;justify-content:space-between;align-items:center}.badge{background:#eaf8f1;color:#087f54;border-radius:10px;padding:4px 9px;font-size:12px;font-weight:900}
.bottom-nav{position:fixed;z-index:99;bottom:14px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 18px));background:rgba(255,255,255,.97);border:1px solid #e8ecea;border-radius:28px;box-shadow:0 12px 40px rgba(0,0,0,.12);display:flex;justify-content:space-around;padding:7px 4px;backdrop-filter:blur(15px)}.bottom-nav a{min-width:75px;text-align:center;color:#707774;border-radius:20px;padding:5px 8px;font-size:12px}.bottom-nav a span{display:block;font-size:22px;line-height:1.25}.bottom-nav a.active{background:#eaf8f1;color:#0a9c61;font-weight:900}
.footer{background:#fff;border-top:1px solid var(--line);padding:35px 0;margin-top:20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer h3{margin-top:0}
@media(max-width:900px){.services{grid-template-columns:repeat(2,1fr)}.shop-grid{grid-template-columns:repeat(2,1fr)}.hero-content{padding:0 25px}.headset{width:42%}.categories{gap:9px}}
@media(max-width:600px){
.site-top{display:block!important;position:relative;z-index:100}
.top-row{display:flex!important;visibility:visible!important}
.top-actions{gap:6px;align-items:center;display:flex;flex-wrap:nowrap}
.top-support{min-height:44px;height:44px;padding:0 10px;border-radius:14px;font-size:12px}
.top-support span{display:inline}
#tawkchat-container,#tawkchat-minified-container{bottom:125px !important;}
.container{width:calc(100% - 20px)}.top-row{height:58px}.brand{font-size:18px}.avatar,.top-btn{width:44px;height:44px}.hello small{font-size:11px}.hello strong{font-size:17px}.searchbar{height:62px;margin:14px 0 19px}.hero{height:225px;border-radius:22px}.hero-content{padding:0 20px}.hero-copy{width:100%}.hero h1{font-size:26px}.hero p{font-size:15px}.hero-btn{font-size:15px;padding:10px 19px}.headset{display:none}.services{gap:9px}.service-card{min-height:201px;padding:9px;border-radius:19px}.service-img{height:111px;font-size:47px}.service-card h3{font-size:14px}.categories{grid-template-columns:repeat(5,1fr);gap:5px}.category{border-radius:16px;padding:8px 2px;font-size:11px}.category .cat-icon{height:57px;font-size:30px}.other-item{padding:13px 12px}.other-icon{width:57px;height:57px;font-size:34px}.other-body h3{font-size:15px}.other-body p{font-size:12px}.grid2,.price-box{grid-template-columns:1fr}.shop-grid{gap:9px}.product-photo{height:145px;font-size:50px}.bottom-nav a{min-width:57px;font-size:10px}.bottom-nav a span{font-size:19px}.footer-grid{grid-template-columns:1fr}.page-title h1{font-size:25px}}

/* === Pargar profile: Digikala-inspired mobile layout; scoped to account only === */
.pargar-account-only{width:100%;max-width:100%;padding:0 0 112px}
.pargar-account-only > .woocommerce{margin:0}
.pargar-account-only .woocommerce-notices-wrapper{padding:0 17px}
.pargar-account-only .woocommerce-MyAccount-navigation{display:none!important}
.pargar-account-only .woocommerce-MyAccount-content{width:100%!important;float:none!important;margin:0!important}
.pargar-account-only .woocommerce-MyAccount-content > p:not(.woocommerce-info){display:none}
.pargar-dk-profile{width:100%;max-width:760px;margin:0 auto;background:#fff;color:#222}
.pargar-dk-head-actions{height:64px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;direction:ltr;border-bottom:1px solid #f1f2f2}
.pargar-dk-head-actions a{width:50px;height:50px;border:1px solid #e5e8e7;border-radius:17px;display:grid;place-items:center;color:#4d5552;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.02)}
.pargar-dk-head-actions a span{font-size:25px;line-height:1}
.pargar-dk-user{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:13px;padding:25px 20px 30px;min-height:115px}
.pargar-dk-avatar{width:66px;height:66px;flex:none;border-radius:50%;display:grid;place-items:center;background:#e3f7ee;color:#079b60;font-size:27px;font-weight:900}
.pargar-dk-user-text{text-align:right;flex:1}.pargar-dk-user-text h1{font-size:22px;line-height:1.5;margin:0;font-weight:900}.pargar-dk-user-text p{font-size:13px;color:#999;margin:1px 0 0;direction:ltr;text-align:right}
.pargar-dk-edit{position:absolute;left:20px;top:31px;color:#197bc0;font-size:29px}
.pargar-dk-block{padding:0 0 26px}
.pargar-dk-title{display:flex;align-items:center;justify-content:space-between;padding:0 20px 12px;direction:rtl}
.pargar-dk-title h2{font-size:20px;margin:0;font-weight:900;position:relative;padding-bottom:10px}.pargar-dk-title h2:after{content:"";position:absolute;right:0;bottom:0;width:70px;height:3px;border-radius:4px;background:#ef4056}
.pargar-dk-title a{color:#197bc0;font-size:13px;font-weight:800}
.pargar-dk-orders{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
.pargar-dk-orders a{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #eee;gap:1px;text-align:center}.pargar-dk-orders a:last-child{border-left:0}
.pargar-dk-orders i{font-style:normal;width:68px;height:68px;border-radius:20px;display:grid;place-items:center;font-size:35px;font-weight:900;margin-bottom:5px}.pargar-dk-orders .wallet{background:#e3f3ff;color:#2196df}.pargar-dk-orders .done{background:#e3f8e9;color:#40bd6c}.pargar-dk-orders .back{background:#fff1d3;color:#e6b43e}
.pargar-dk-orders b{font-size:14px}.pargar-dk-orders span{font-size:12px;font-weight:800;color:#555}
.pargar-dk-quick{padding-top:5px}.pargar-dk-list{border-top:1px solid #eee;border-bottom:1px solid #eee}
.pargar-dk-list a{min-height:78px;display:flex;align-items:center;gap:12px;padding:11px 20px;border-bottom:1px solid #eee;direction:rtl}.pargar-dk-list a:last-child{border-bottom:0}.pargar-dk-list .qicon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:23px;flex:none}.qstore{background:#fff0dc;color:#d89a22}.qreq{background:#e3f8e9;color:#3ab66a}.qmsg{background:#e4f3ff;color:#2196df}.quser{background:#f3eaff;color:#9464d8}
.pargar-dk-list strong{font-size:14px;display:block}.pargar-dk-list small{font-size:11px;color:#999;display:block}.pargar-dk-list em{font-style:normal;color:#aaa;font-size:28px;margin-right:auto}
.pargar-dk-account-links{margin-top:2px;border-top:8px solid #f5f5f5}.pargar-dk-account-links a{height:62px;display:flex;align-items:center;gap:13px;padding:0 20px;border-bottom:1px solid #eee;font-size:14px;font-weight:800}.pargar-dk-account-links a span{font-size:22px}.pargar-dk-account-links a b{margin-right:auto;color:#aaa;font-size:27px;font-weight:400}.pargar-dk-account-links .logout{color:#d04e60}
@media(max-width:600px){.pargar-dk-profile{max-width:none}.pargar-dk-head-actions{height:64px;padding:0 17px}.pargar-dk-user{padding:23px 17px 27px}.pargar-dk-user-text h1{font-size:21px}.pargar-dk-title{padding-left:17px;padding-right:17px}.pargar-dk-orders a{min-height:154px}.pargar-dk-orders i{width:61px;height:61px;font-size:32px}.pargar-dk-list a{padding-left:17px;padding-right:17px}.pargar-dk-account-links a{padding-left:17px;padding-right:17px}}

/* Homepage slider controls */
.pk-slider{position:relative}.pk-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease}.pk-slide.is-active{opacity:1;visibility:visible}.pk-slider .hero-content{position:relative;z-index:1}.hero-dots i{cursor:pointer}.hero-dots i.is-active{width:28px;border-radius:9px;background:#fff}

/* Homepage-only horizontal slider and configurable service rows. */
.pk-slider{touch-action:pan-y;user-select:none}
.pk-slides-track{position:absolute;inset:0;overflow:hidden}
.pk-slider .pk-slide{z-index:1}
.pk-slider .pk-slide.is-active{z-index:2}
.pk-slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#159768;font-size:34px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.14)}
.pk-slider-arrow.pk-prev{left:14px}.pk-slider-arrow.pk-next{right:14px}
.pk-service-carousel-wrap{position:relative}
.pk-service-carousel{display:flex;gap:14px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:2px 4px 8px}
.pk-service-carousel::-webkit-scrollbar{display:none}
.pk-row-card{flex:0 0 190px;min-height:218px}
.pk-row-card .service-img img{width:100%;height:100%;object-fit:cover;border-radius:17px;display:block}
.pk-row-arrow{position:absolute;z-index:4;top:43%;transform:translateY(-50%);width:40px;height:40px;border:1px solid #e2e7e5;background:#fff;border-radius:50%;font-size:30px;line-height:1;color:#263b34;box-shadow:0 6px 18px rgba(0,0,0,.10);cursor:pointer}
.pk-row-prev{left:-12px}.pk-row-next{right:-12px}
@media(max-width:600px){.pk-slider-arrow{width:36px;height:36px;font-size:29px}.pk-slider-arrow.pk-prev{left:8px}.pk-slider-arrow.pk-next{right:8px}.pk-row-card{flex-basis:145px;min-height:190px}.pk-service-carousel{gap:9px;padding-left:2px;padding-right:2px}.pk-row-arrow{width:34px;height:34px;font-size:26px}.pk-row-prev{left:-5px}.pk-row-next{right:-5px}}
