:root{--ink:#241613;--muted:#806f68;--espresso:#2c1710;--coffee:#684532;--caramel:#c98247;--cream:#fbf7f1;--paper:#fffdf9;--line:#eadfd5;--mint:#dce7dc;--shadow:0 18px 50px #2c171012;--radius:24px}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Vazirmatn,Arial,sans-serif;line-height:1.8}button,input{font:inherit}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}.container{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{background:var(--espresso);color:#f9eee6;padding:9px 0;font-size:12px}.topbar .container{display:flex;justify-content:space-between}.nav{height:84px;background:rgba(251,247,241,.9);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10;border-bottom:1px solid #eadfd580}.nav-inner{height:100%;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-1px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--espresso);color:#e6a26a;font-size:22px;box-shadow:0 8px 20px #2c171025}.nav-links{display:flex;gap:26px;color:#56443d;font-size:14px}.nav-links a{transition:.2s}.nav-links a:hover{color:var(--caramel)}.nav-actions{display:flex;align-items:center;gap:10px;margin-right:auto}.icon-btn{width:42px;height:42px;border-radius:14px;background:#fff;border:1px solid var(--line);color:var(--espresso);position:relative}.count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:20px;background:var(--caramel);color:white;font-size:10px;display:grid;place-items:center}.hero{padding:45px 0 32px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:stretch}.hero-copy{background:var(--espresso);border-radius:32px;padding:58px 56px;color:white;position:relative;overflow:hidden}.hero-copy:after{content:"";position:absolute;width:290px;height:290px;border-radius:50%;border:1px solid #ffffff1c;left:-80px;bottom:-110px;box-shadow:0 0 0 35px #ffffff09,0 0 0 70px #ffffff05}.eyebrow{color:#eab281;font-size:13px;font-weight:700;margin-bottom:15px;display:inline-flex;align-items:center;gap:8px}.eyebrow:before{content:"";width:22px;height:2px;background:var(--caramel)}h1{font-size:clamp(36px,5vw,66px);line-height:1.23;letter-spacing:-2px;margin:0 0 20px;max-width:520px}.hero-copy p{color:#dfcfc5;max-width:450px;margin:0 0 28px;font-size:16px}.btn{padding:13px 20px;border-radius:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn-primary{background:var(--caramel);color:white;box-shadow:0 10px 25px #c9824740}.btn-primary:hover{transform:translateY(-2px);background:#d89157}.btn-ghost{background:#ffffff15;color:white;border:1px solid #ffffff30;margin-right:8px}.hero-visual{min-height:430px;border-radius:32px;background:linear-gradient(145deg,#dbc1a7,#8b5b43 60%,#3b2118);position:relative;overflow:hidden;padding:28px}.hero-visual:before{content:"";position:absolute;inset:0;background:url('https://coffilo.com/wp-content/uploads/2024/04/colombia01.webp') center/cover;mix-blend-mode:multiply;opacity:.62}.hero-badge{position:absolute;top:28px;right:28px;background:#fffdf9dd;border-radius:18px;padding:12px 16px;font-size:12px;z-index:1}.hero-card{position:absolute;bottom:26px;left:26px;background:#fffdf9e8;border-radius:20px;padding:16px 19px;width:215px;z-index:1}.hero-card strong{font-size:21px;display:block}.section{padding:42px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-head h2{font-size:26px;margin:0;letter-spacing:-1px}.section-head p{color:var(--muted);margin:0;font-size:13px}.text-link{color:var(--caramel);font-weight:700;font-size:13px}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.quick-card{background:var(--paper);border:1px solid var(--line);padding:18px 14px;border-radius:20px;display:flex;align-items:center;gap:12px;transition:.2s}.quick-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d6b49a}.quick-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:#f4e8db;font-size:21px}.quick-card small{display:block;color:var(--muted);font-size:11px}.quick-card strong{font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:hidden;position:relative;transition:.2s}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-image{height:205px;background:#f1e7dc;position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .product-image img{transform:scale(1.05)}.pill{position:absolute;top:13px;right:13px;background:var(--mint);color:#426348;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:700}.wish{position:absolute;top:12px;left:12px;background:#fffdf9dc;width:32px;height:32px;border-radius:11px;color:#a47b68}.product-body{padding:15px}.product-body h3{font-size:14px;margin:0 0 8px}.meta{color:var(--muted);font-size:11px}.price-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.price{font-weight:800;font-size:15px}.old{color:#b8a9a0;text-decoration:line-through;font-size:11px;margin-right:5px;font-weight:400}.add-btn{width:36px;height:36px;border-radius:12px;background:var(--espresso);color:white;font-size:20px}.feature{background:#efe4d7;border-radius:28px;padding:28px;display:grid;grid-template-columns:1.1fr 1fr;gap:25px;align-items:center}.feature h2{font-size:29px;line-height:1.35;margin:0 0 10px}.feature p{color:var(--muted);margin:0 0 17px}.feature-visual{min-height:230px;border-radius:21px;background:url('https://coffilo.com/wp-content/uploads/2024/04/coffe-tools-final-1.webp') center/cover}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.step{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px}.step-no{width:36px;height:36px;background:var(--espresso);color:#eab281;border-radius:12px;display:grid;place-items:center;font-weight:800;margin-bottom:15px}.step h3{margin:0 0 6px;font-size:15px}.step p{margin:0;color:var(--muted);font-size:12px}.footer{background:var(--espresso);color:#eaded5;padding:42px 0 25px;margin-top:35px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}.footer h3{color:white;margin-top:0}.footer p,.footer a{color:#bfaea4;font-size:12px;display:block}.footer-bottom{border-top:1px solid #ffffff18;margin-top:30px;padding-top:16px;color:#9d8c82;font-size:11px;display:flex;justify-content:space-between}.page{padding:42px 0 70px}.page-title{font-size:34px;margin:0 0 7px}.breadcrumb{color:var(--muted);font-size:12px;margin-bottom:26px}.shop-layout{display:grid;grid-template-columns:220px 1fr;gap:26px;align-items:start}.filter{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px;position:sticky;top:105px}.filter h3{font-size:14px;margin:0 0 18px}.filter label{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee5dc;font-size:12px;color:#5f514b}.filter label span{color:var(--muted)}.shop-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.search{background:white;border:1px solid var(--line);padding:11px 14px;border-radius:14px;min-width:240px;outline:none}.admin{background:#f4f0eb;min-height:100vh}.admin-shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.admin-side{background:var(--espresso);color:white;padding:26px 17px}.admin-side .brand{color:white;margin-bottom:35px}.admin-menu a{display:flex;gap:11px;align-items:center;padding:12px 13px;border-radius:13px;color:#cdbdb4;font-size:13px;margin:4px 0}.admin-menu a.active,.admin-menu a:hover{background:#ffffff14;color:#fff}.admin-main{padding:34px 38px}.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.admin-head h1{font-size:27px;margin:0;letter-spacing:-1px}.admin-date{color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{background:white;border:1px solid var(--line);padding:18px;border-radius:18px}.stat small{color:var(--muted);font-size:11px}.stat strong{display:block;font-size:26px;margin-top:7px}.stat em{font-style:normal;color:#4a8a5c;font-size:11px}.admin-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;margin-top:18px}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:19px}.panel h2{font-size:15px;margin:0 0 18px}.order{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee5dc;padding:13px 0;font-size:12px}.status{background:#fff1d9;color:#a5661f;padding:4px 8px;border-radius:8px;font-size:10px}.status.green{background:#e4f1e4;color:#47734c}.task{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #eee5dc}.task i{width:28px;height:28px;border-radius:10px;background:#f2e3d6;display:grid;place-items:center;font-style:normal}.drawer{position:fixed;inset:0;background:#2c171066;z-index:30;display:none}.drawer.open{display:block}.drawer-panel{position:absolute;left:0;top:0;bottom:0;width:min(400px,100%);background:var(--paper);padding:25px;box-shadow:20px 0 60px #2c171025}.drawer-head{display:flex;justify-content:space-between;align-items:center}.cart-item{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.cart-item img{width:58px;height:58px;border-radius:14px;object-fit:cover}.cart-total{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-weight:800}.empty{padding:55px;text-align:center;color:var(--muted)}.toast{position:fixed;bottom:25px;right:25px;background:var(--espresso);color:white;padding:12px 16px;border-radius:13px;opacity:0;transform:translateY(10px);transition:.25s;z-index:50;font-size:12px}.toast.show{opacity:1;transform:translateY(0)}.mobile-nav{display:none}@media(max-width:900px){.nav-links{display:none}.hero-grid,.feature,.admin-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.shop-layout{grid-template-columns:1fr}.filter{display:none}.stats{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.admin-side{display:none}.admin-main{padding:22px 18px}.footer-grid{grid-template-columns:repeat(2,1fr)}.mobile-nav{display:flex;position:fixed;bottom:0;right:0;left:0;background:#fffdf9f2;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:20;justify-content:space-around;padding:8px}.mobile-nav a{font-size:10px;color:var(--muted);display:grid;gap:2px;place-items:center}.mobile-nav a.active{color:var(--caramel)}}@media(max-width:560px){.container{width:min(100% - 28px,1180px)}.topbar{display:none}.nav{height:70px}.nav-inner{gap:12px}.brand{font-size:20px}.brand-mark{width:36px;height:36px}.nav-actions{gap:5px}.icon-btn{width:36px;height:36px}.hero{padding-top:20px}.hero-copy{padding:34px 26px}.hero-visual{min-height:280px}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-card{padding:12px 10px}.product-image{height:170px}.section{padding:28px 0}.section-head h2{font-size:22px}.hero-card{left:15px;bottom:15px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.page-title{font-size:28px}.shop-top{display:block}.search{width:100%;margin-top:14px}.admin-head{display:block}.admin-date{display:block;margin-top:7px}}
/* Coffilo visual system: generated editorial assets, aligned with espresso / caramel / cream palette. */
.hero-visual:before{background-image:url('/assets/coffilo-hero.png');opacity:.84;mix-blend-mode:normal;background-position:center;background-size:cover}
.feature-visual{background-image:url('/assets/coffilo-brew-guide.png')}
.admin-order-row{gap:10px;flex-wrap:wrap}.admin-order-row>span:first-child{min-width:145px}.status-control{margin-right:auto;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:10px;padding:6px 8px;font-size:11px;min-width:145px}
@media(max-width:900px){.shop-layout .filter{display:flex;position:static;gap:8px;align-items:center;overflow-x:auto;white-space:nowrap;padding:10px;margin-bottom:14px}.shop-layout .filter h3{display:none}.shop-layout .filter label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:999px;padding:7px 10px;background:var(--paper);flex:0 0 auto}.shop-layout .filter label span{color:var(--ink)}.shop-layout .filter label input{margin:0}}

/* Coffilo typography and fit pass: one readable Persian system across every surface. */
:root{--font-ui:"Vazirmatn","IRANSansX","Tahoma","Segoe UI",Arial,sans-serif;--font-display:"Playfair Display","Vazirmatn","Tahoma",serif}
html{font-size:16px;overflow-x:hidden}
body{font-family:var(--font-ui);font-size:15px;line-height:1.75;letter-spacing:0;text-rendering:optimizeLegibility;overflow-x:hidden}
h1,h2,h3,h4,p,small,button,input,textarea,select{font-family:var(--font-ui)}
h1,h2,h3,h4{line-height:1.4;overflow-wrap:anywhere}
p{overflow-wrap:anywhere}
img{display:block;max-width:100%}
.container,.nav-inner,.admin-head,.section-head,.shop-top,.order,.cart-total,.cart-item{min-width:0}
.brand{min-width:0;white-space:nowrap;line-height:1;letter-spacing:-.5px}
.brand-mark{flex:0 0 42px;line-height:1;display:grid;place-items:center}
.nav-actions,.nav-links,.btn,.icon-btn,.wish,.add-btn{flex-shrink:0}
.btn,.icon-btn,.wish,.add-btn{line-height:1.25}
.btn{min-height:44px}
.icon-btn{display:grid;place-items:center}
.panel,.quick-card,.product-card,.stat,.step,.filter,.hero-card,.hero-badge{min-width:0}
.quick-card>span:last-child,.product-body,.product-body h3,.meta,.price,.order>span{min-width:0}
.product-body h3,.meta,.price,.order>span{overflow-wrap:anywhere}
.product-image{height:auto;aspect-ratio:1/1}
.product-image img{width:100%;height:100%;object-fit:cover}
.hero-copy,.hero-visual,.feature,.feature-visual,.drawer-panel{min-width:0}
.hero-badge,.hero-card{max-width:calc(100% - 30px);overflow-wrap:anywhere}
.hero-card{width:min(215px,calc(100% - 52px))}
.search,input,textarea,select{font-family:var(--font-ui);font-size:14px;line-height:1.6;min-height:44px;max-width:100%}
textarea{min-height:100px;resize:vertical}
input::placeholder,textarea::placeholder{color:#a39188;opacity:1}
.article-content{overflow-wrap:anywhere;word-break:normal}
.article-content img,.feature-visual img{max-width:100%;height:auto}
.status-control{font-family:var(--font-ui);line-height:1.35}
.cart-controls{display:flex;align-items:center;gap:7px;margin-top:9px;flex-wrap:wrap}
.cart-controls b{min-width:22px;text-align:center}
.product-card>.add-btn{position:absolute;left:15px;bottom:15px;z-index:2}
.product-card>.wish{position:absolute;top:12px;left:12px;z-index:2}
.product-card .price-row{padding-left:48px}
.footer .brand{color:inherit}
@media(max-width:900px){
  .admin-main{min-width:0}
  .admin-grid,.hero-grid,.feature{min-width:0}
  .quick-card{align-items:flex-start}
  .quick-card strong{display:block;overflow-wrap:anywhere}
  .product-grid{gap:12px}
}
@media(max-width:560px){
  .brand{font-size:18px;gap:7px}
  .brand-mark{width:34px;height:34px;flex-basis:34px;font-size:18px;border-radius:11px}
  .icon-btn{width:36px;height:36px}
  .hero-copy{padding:30px 22px;border-radius:24px}
  .hero-copy h1{font-size:clamp(30px,9vw,44px);letter-spacing:-1px}
  .hero-visual{min-height:280px;border-radius:24px}
  .hero-badge{top:18px;right:18px;padding:9px 11px;font-size:11px}
  .hero-card{left:16px;bottom:16px;padding:13px 14px}
  .btn{padding:11px 14px}
  .quick-card{border-radius:16px}
  .product-card{border-radius:18px}
  .product-image{aspect-ratio:1/1}
  .product-body{padding:12px}
  .product-body h3{font-size:13px}
  .price{font-size:13px}
  .add-btn{width:34px;height:34px}
  .product-card>.add-btn{left:12px;bottom:12px}
  .product-card>.wish{top:12px;left:12px}
  .product-card .price-row{padding-left:44px}
  .panel,.stat,.step{border-radius:17px}
  .shop-top{min-width:0}
}

/* Final responsive fit pass: preserve proportions inside every branded frame. */
*,*::before,*::after{box-sizing:border-box}
button,input,textarea,select{font:inherit;color:inherit}
.brand,.brand-mark,.logo,.logo img,.site-logo,.site-logo img{max-width:100%;overflow:hidden}
.brand img,.logo img,.site-logo img{width:auto;height:auto;max-height:42px;object-fit:contain}
.brand-mark img{width:100%;height:100%;object-fit:contain;padding:5px}
.product-card,.quick-card,.panel,.stat,.step,.hero-card,.hero-badge,.filter,.drawer-panel{overflow:hidden}
.product-body,.quick-card>span,.panel,.stat,.step,.order,.cart-item,.cart-total{overflow-wrap:anywhere;word-break:break-word}
.product-image img,.cart-item img,.article-content img,.feature-visual img,.hero-visual img{object-fit:cover;object-position:center}
.article-content iframe,.article-content video,.article-content table{max-width:100%}
.article-content table{display:block;overflow-x:auto}
.btn,.icon-btn,.wish,.add-btn{white-space:normal;text-align:center}
.nav-inner,.nav-actions,.shop-top,.section-head{flex-wrap:wrap}
@media(max-width:560px){
  .nav-inner{flex-wrap:nowrap}
  .nav-actions{flex-wrap:nowrap}
  .brand img,.logo img,.site-logo img{max-height:34px}
  .section-head{align-items:flex-start;gap:8px}
  .section-head h2{font-size:20px}
  .feature{padding:18px}
  .feature-visual{min-height:210px!important}
  .product-image{aspect-ratio:1/1;min-height:0}
  .product-body h3{line-height:1.55;min-height:3.1em}
  .price-row{align-items:flex-end;gap:8px}
}
/* Local visual assets override migrated WordPress backgrounds. */.hero-visual:before{background-image:url('/assets/coffilo-hero.png')}.feature-visual{background-image:url('/assets/coffilo-brew-guide.png')}
