/*
Theme Name: Kaghaz Rangi Pro
Author: Custom
Description: قالب فروشگاهی حرفه‌ای و مینیمال فارسی، الهام‌گرفته از چیدمان فروشگاه لوازم‌التحریر مرجع کاربر و آماده WooCommerce.
Version: 2.0.0
Text Domain: kaghaz-rangi-pro
*/
:root{
 --pink:#f22f83;--pink2:#ff4c95;--ink:#25242a;--muted:#77747b;--line:#eeeef2;
 --bg:#fff;--soft:#faf8fc;--lav:#f1e8fb;--radius:16px;
}
*{box-sizing:border-box}
html{direction:rtl;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.8}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
button,input{font:inherit}
.krp-container{width:min(1250px,92%);margin:auto}
.krp-top{height:38px;border-bottom:1px solid #f3f3f5;color:#777;font-size:12px}
.krp-top-in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.krp-top-items{display:flex;gap:34px;align-items:center}
.krp-header{background:#fff;border-bottom:1px solid #f0f0f2;position:sticky;top:0;z-index:1000}
.krp-head{min-height:92px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px}
.krp-logo{justify-self:start;display:flex;align-items:center;gap:10px;font-size:26px;font-weight:900}
.krp-logo img{max-height:52px;width:auto}
.krp-logo-mark{font-size:30px}
.krp-nav{display:flex;justify-content:center;align-items:center;gap:27px;font-weight:600}
.krp-nav a{padding:31px 0;position:relative;white-space:nowrap}
.krp-nav a:hover,.krp-nav .current-menu-item>a{color:var(--pink)}
.krp-nav .current-menu-item>a:after{content:"";position:absolute;right:0;left:0;bottom:15px;height:2px;background:var(--pink);border-radius:2px}
.krp-actions{justify-self:end;display:flex;align-items:center;gap:11px}
.krp-search{display:flex;width:300px;height:48px;border:1px solid #e7e7eb;border-radius:9px;overflow:hidden;background:#fff}
.krp-search input{border:0;outline:0;flex:1;padding:0 16px;color:#777}
.krp-search button{width:55px;border:0;background:var(--pink);color:#fff;font-size:19px;cursor:pointer}
.krp-action{width:42px;height:42px;display:flex;align-items:center;justify-content:center;font-size:22px;position:relative}
.krp-badge{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:var(--pink);color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center}
.krp-hero{padding:20px 0 22px}
.krp-hero-box{min-height:350px;border-radius:18px;overflow:hidden;background:#eadcf5;position:relative;display:flex;align-items:center}
.krp-hero-image{position:absolute;inset:0;background-size:cover;background-position:center}
.krp-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.08))}
.krp-hero-content{position:relative;z-index:2;width:48%;margin-right:7%;text-align:right}
.krp-hero h1{font-size:42px;line-height:1.35;margin:0 0 10px;font-weight:900}
.krp-hero h1 strong{color:var(--pink)}
.krp-hero p{font-size:17px;color:#666;margin:0 0 22px}
.krp-btn{display:inline-flex;align-items:center;gap:14px;background:var(--pink);color:#fff;padding:13px 26px;border-radius:10px;font-weight:800;box-shadow:0 10px 25px rgba(242,47,131,.18)}
.krp-btn:hover{background:#db1d6d;color:#fff}
.krp-dots{display:flex;gap:8px;margin-top:25px}
.krp-dot{width:10px;height:10px;border-radius:50%;background:#fff;border:1px solid #ddd}
.krp-dot.active{background:var(--pink);border-color:var(--pink)}
.krp-benefits{background:#fff;border:1px solid #f0f0f3;border-radius:15px;box-shadow:0 8px 25px rgba(40,30,60,.06);margin-top:0}
.krp-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.krp-benefit{min-height:80px;display:flex;align-items:center;justify-content:center;gap:15px;border-left:1px solid #eee;padding:12px}
.krp-benefit:last-child{border-left:0}
.krp-benefit-icon{font-size:30px;color:#9d5ee5}
.krp-benefit b{display:block;font-size:14px}
.krp-benefit span{display:block;color:#aaa;font-size:11px}
.krp-section{padding:30px 0 8px}
.krp-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.krp-section-head h2{margin:0;font-size:20px}
.krp-more{color:#a458e2;font-size:13px;font-weight:700}
.krp-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}
.krp-cat{min-height:125px;border-radius:13px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.krp-cat:nth-child(6n+1){background:#f6e9ef}.krp-cat:nth-child(6n+2){background:#f5e7f4}.krp-cat:nth-child(6n+3){background:#f9e5ec}.krp-cat:nth-child(6n+4){background:#f7f0df}.krp-cat:nth-child(6n+5){background:#e9f0f8}.krp-cat:nth-child(6n){background:#f1e9f7}
.krp-cat-title{font-weight:800;font-size:14px}
.krp-cat-sub{font-size:11px;color:#777}
.krp-cat-img{position:absolute;left:6px;bottom:-3px;width:95px;max-height:100px;object-fit:contain}
.krp-products .products{margin:0!important;display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:14px!important}
.krp-products ul.products:before,.krp-products ul.products:after{display:none!important}
.krp-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid #eeeef1;border-radius:13px;padding:11px!important;position:relative;overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.02)}
.krp-products li.product img{border-radius:9px!important;margin-bottom:4px!important}
.krp-products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.7!important;padding:3px 0!important;min-height:42px}
.krp-products li.product .price{color:var(--ink)!important;font-size:13px!important;font-weight:800}
.krp-products li.product .price del{color:#aaa!important;font-weight:400}
.krp-products li.product .price ins{text-decoration:none;color:var(--pink)!important}
.krp-products li.product a.button{width:100%;text-align:center;background:#fff0f6;color:var(--pink);border-radius:9px;font-size:12px;padding:8px 5px;margin-top:8px}
.krp-products li.product a.button:hover{background:var(--pink);color:#fff}
.krp-chat{position:fixed;right:28px;bottom:25px;z-index:999;background:linear-gradient(135deg,#a856ee,#6e3cd6);color:#fff;border-radius:14px;padding:10px 16px;box-shadow:0 12px 30px rgba(100,50,170,.25);display:flex;align-items:center;gap:9px;font-weight:700}
.krp-chat i{font-style:normal;font-size:19px}
.krp-footer{margin-top:45px;background:#fbf9fc;border-top:1px solid #eee}
.krp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding:40px 0}
.krp-footer h3{font-size:15px;margin:0 0 13px}
.krp-footer p,.krp-footer a{color:#777;font-size:12px}
.krp-copy{text-align:center;border-top:1px solid #eee;padding:15px;color:#999;font-size:11px}
.krp-watermark{position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.06;overflow:hidden}
.krp-watermark img{position:absolute;width:145px;height:145px;object-fit:contain}
.woocommerce .site-main,.woocommerce-page .site-main{padding:35px 0}
.woocommerce div.product,.woocommerce .cart-collaterals,.woocommerce form.checkout,.woocommerce .woocommerce-checkout-review-order{background:#fff}
.woocommerce ul.products li.product a img{object-fit:contain}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--pink);color:#fff;border-radius:9px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#db1d6d;color:#fff}
.woocommerce-message,.woocommerce-info{border-top-color:var(--pink)!important}
@media(max-width:1100px){
 .krp-head{grid-template-columns:auto 1fr auto}.krp-nav{display:none}.krp-search{width:220px}
 .krp-cats{grid-template-columns:repeat(3,1fr)}.krp-products .products{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:760px){
 .krp-top-items{display:none}.krp-top-in{justify-content:center}
 .krp-head{min-height:72px}.krp-logo{font-size:20px}.krp-search{width:190px;height:42px}
 .krp-hero-box{min-height:390px}.krp-hero-content{width:80%;margin-right:8%}.krp-hero h1{font-size:30px}
 .krp-benefit-grid{grid-template-columns:repeat(2,1fr)}.krp-benefit:nth-child(2){border-left:0}.krp-benefit:nth-child(-n+2){border-bottom:1px solid #eee}
 .krp-cats{grid-template-columns:repeat(2,1fr)}.krp-products .products{grid-template-columns:repeat(2,1fr)!important}
 .krp-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
 .krp-logo-mark{display:none}.krp-search{width:145px}.krp-search input{font-size:11px}
 .krp-hero-content{width:88%;margin:auto;text-align:center}.krp-hero h1{font-size:27px}.krp-hero p{font-size:13px}
 .krp-dots{justify-content:center}.krp-benefit{gap:8px}.krp-benefit-icon{font-size:24px}.krp-benefit b{font-size:12px}
 .krp-footer-grid{grid-template-columns:1fr}.krp-chat{right:12px;bottom:12px}
}

/* v3 refinements */
.krp-dots button{appearance:none;border:0;cursor:pointer;padding:0}
.krp-promo-strip{padding:18px 0 4px}
.krp-promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.krp-promo-grid>div{background:#fff;border:1px solid #eeeef2;border-radius:13px;padding:14px 18px;display:flex;align-items:center;gap:12px;box-shadow:0 5px 18px rgba(40,30,60,.035)}
.krp-promo-grid span{font-size:25px}.krp-promo-grid b{font-size:13px}.krp-promo-grid small{color:#999;font-size:10px;margin-right:auto}
@media(max-width:760px){.krp-promo-grid{grid-template-columns:1fr}.krp-promo-grid small{font-size:9px}}
