/*
Theme Name: Coffeey Review Hub
Author: Coffeey
Description: Arabic block theme for cafe equipment reviews and planning. Includes an optional independently installed Coffeey Core plugin.
Version: 1.3.1
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coffeey-review-hub
Tags: full-site-editing, block-patterns, rtl-language-support, custom-colors, custom-logo, blog
*/
*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:.23em}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #95723d;outline-offset:5px}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.cfh-site-header{padding:22px max(25px,calc((100vw - 1220px)/2));border-bottom:1px solid #dbe1da;gap:25px!important}.cfh-site-brand{gap:16px}.cfh-site-brand .wp-block-site-title{font-size:1.45rem;font-weight:700}.cfh-site-brand:has(.custom-logo-link) .wp-block-site-title{display:none}.wp-block-site-title a{text-decoration:none}.cfh-site-header .wp-block-navigation{font-size:.9rem}.cfh-site-header .wp-block-navigation__container{gap:22px}.cfh-header-search{max-width:190px}.cfh-header-search input{min-width:60px}.cfh-site-footer{background:var(--wp--preset--color--forest,#183d32);color:#fff;padding:50px max(25px,calc((100vw - 1220px)/2))}.cfh-site-footer a{color:#fff}.cfh-site-footer .wp-block-site-title{font-size:2rem}.cfh-footer-note{font-size:.8rem;opacity:.85;border-top:1px solid #6a8277;padding-block-start:20px}.cfh-content{max-width:1280px!important;margin:auto;padding:50px 30px 80px;min-height:55vh}.cfh-content>*{max-width:1220px!important}.cfh-content>.wp-block-post-content{max-width:860px!important;margin-block:35px}.cfh-content>.wp-block-post-title{font-size:clamp(2rem,4vw,3.7rem)}.cfh-front{padding:30px;max-width:1280px!important;margin:auto}.cfh-front>*{max-width:1220px!important}.cfh-native-hero{background:var(--wp--preset--color--ivory,#f5f2ea);padding:65px;border-radius:8px}.cfh-native-hero h1{max-width:900px!important}.cfh-native-hero p{max-width:650px!important;margin-inline:0!important}.cfh-native-hero .wp-block-buttons{max-width:900px!important;margin-block:30px}.cfh-post-card{border:1px solid #dbe1da;padding:25px;border-radius:6px}.cfh-post-card h2{font-size:1.4rem}.wp-block-query-pagination{margin-block:30px;gap:20px}.wp-block-search__input{border:1px solid #96a69b;border-radius:4px;padding:12px;font:inherit}.wp-block-search__button{background:var(--wp--preset--color--forest,#183d32);color:white;border:0;border-radius:4px;padding:12px;font:inherit}.wp-block-navigation__responsive-container.is-menu-open{padding:30px!important}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px}.wp-block-button__link{min-height:48px;display:inline-flex;align-items:center}.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--wp--preset--color--forest,#183d32);border:1px solid currentColor}@media(max-width:1000px){.cfh-header-search{display:none}}@media(max-width:700px){.cfh-front,.cfh-content{padding:25px 20px}.cfh-native-hero{padding:30px}.cfh-site-header{padding-block:15px}.wp-block-post-template.is-layout-grid{grid-template-columns:1fr!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@font-face{font-family:CoffeeyArabic;src:url(assets/arabic.ttf) format("truetype");font-weight:100 900;font-display:swap}body{font-family:CoffeeyArabic,Tahoma,Arial,sans-serif}

/* Coffeey 1.1: service-led, editable native block homepage. */
body{background:var(--wp--preset--color--ivory,#f5f2ea)}.cfh-front{padding:28px 30px 0}.cfh-service-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;margin-bottom:65px}.cfh-hero-copy h1{font-size:clamp(2.5rem,5.6vw,5rem);line-height:1.38;margin:12px 0 22px}.cfh-hero-copy>p:not(.cfh-eyebrow){font-size:1.16rem;color:#46554e}.cfh-hero-copy .wp-block-buttons{gap:12px}.cfh-hero-photo{position:relative}.cfh-hero-photo figure{margin:0}.cfh-hero-photo img{display:block;width:100%;height:550px;object-fit:cover;border-radius:80px 10px 10px 10px}.cfh-photo-note{font-size:.78rem;background:#fff8ed;padding:9px 15px;border-radius:8px;position:absolute;bottom:15px;inset-inline:18px;width:fit-content;max-width:calc(100% - 36px)}.cfh-home-section{margin:65px 0}.cfh-home-section>h2,.cfh-home-section>p{text-align:center}.cfh-home-section>p{color:#58695f}.cfh-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}.cfh-stage-card,.cfh-service-card{background:#fffdf8;border:1px solid #e5dfd3;border-radius:15px;padding:25px}.cfh-stage-card h3,.cfh-service-card h3{font-size:1.18rem}.cfh-stage-card p,.cfh-service-card p{font-size:.95rem}.cfh-step-number{background:#eee3d0;color:#5b4328;width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-top:0}.cfh-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:30px}.cfh-service-card{padding:22px 18px}.cfh-help{background:var(--wp--preset--color--forest,#183d32);color:white;border-radius:28px;padding:45px}.cfh-help>h2{color:white}.cfh-help>p{color:var(--wp--preset--color--ivory,#f5f2ea)}.cfh-help .cfh-form{margin:25px auto}.cfh-help .cfh-submit{background:var(--wp--preset--color--ivory,#f5f2ea);color:var(--wp--preset--color--forest,#183d32)}.cfh-help .cfh-form .consent{color:white}.cfh-help a{color:white}.cfh-help .cfh-notice{color:var(--wp--preset--color--forest,#183d32)}.cfh-brand-fallback img{width:145px;height:auto;display:block}.cfh-site-brand .wp-block-site-title{display:none}.cfh-preview-main{background:transparent}.cfh-preview-main>.cfh-home-section{max-width:1220px}.cfh-contact-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:25px 0}.cfh-preview-header{background:var(--wp--preset--color--ivory,#f5f2ea)}.cfh-brand-fallback{display:inline-block}.cfh-site-header .wp-block-navigation-item__content{padding-block:8px}.cfh-preview-footer{margin-top:45px}main:focus{outline:none}
@media(max-width:1000px){.cfh-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cfh-service-hero{gap:28px}.cfh-hero-photo img{height:460px}}
@media(max-width:700px){.cfh-service-hero{grid-template-columns:1fr;gap:25px}.cfh-hero-photo img{height:330px;border-radius:45px 10px 10px 10px}.cfh-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cfh-stage-grid{grid-template-columns:1fr}.cfh-help{padding:25px 20px}.cfh-front{padding:20px}.cfh-home-section{margin-block:45px}.cfh-hero-copy h1{font-size:2.75rem}}
@media(max-width:390px){.cfh-service-grid{grid-template-columns:1fr}}

/* 1.2: a search-led editorial portal, independently implemented for Coffeey. */
body{background:#fff}.cfh-front{padding:20px 30px 0;max-width:1280px!important}.cfh-portal-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:55px;align-items:center;padding:40px 0 65px;min-height:620px}.cfh-portal-eyebrow{color:#70532d;font-size:.82rem;font-weight:700;letter-spacing:.03em;margin-bottom:12px}.cfh-portal-copy h1{font-size:clamp(2.6rem,4.4vw,4.4rem);line-height:1.35;letter-spacing:-.02em;margin:12px 0 20px}.cfh-portal-accent{color:#80603b}.cfh-portal-lead{font-size:1.05rem;color:#526158;max-width:610px}.cfh-portal-art{position:relative;padding:22px 30px}.cfh-portal-art figure{margin:0;background:#e9e5d9;border:12px solid var(--wp--preset--color--forest,#183d32);border-radius:200px 200px 18px 18px;overflow:hidden;box-shadow:0 18px 60px #183d3212}.cfh-portal-art img{display:block;width:100%;height:400px;object-fit:cover}.cfh-float-card{background:#fff;border:1px solid #e4e9e4;border-radius:12px;padding:16px 20px;box-shadow:0 8px 30px #183d3212;position:absolute;max-width:235px;z-index:1}.cfh-float-card p{margin:0}.cfh-float-card-top{inset-inline-end:-5px;top:40px;border-top:3px solid var(--wp--preset--color--latte,#c5aa86);font-size:.95rem;font-weight:700}.cfh-float-card-bottom{inset-inline-start:0;bottom:22px;font-size:.9rem}.cfh-float-card-bottom .cfh-muted{font-size:.73rem;margin-top:4px}.cfh-portal-photo-caption{font-size:.72rem;text-align:center;color:#66756c;margin-bottom:0}.cfh-portal-finder{margin-top:28px}.cfh-portal-finder .cfh-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#fff;border:1px solid #d7dfd7;box-shadow:0 8px 28px #183d3209;border-radius:12px;padding:15px;margin:0}.cfh-portal-finder .cfh-filters label{min-width:0;font-size:.78rem}.cfh-portal-finder .cfh-filters label:nth-of-type(3){grid-column:1/-1;grid-row:1}.cfh-portal-finder .cfh-filters button{padding:10px 15px;font-size:.85rem}.cfh-portal-finder .cfh-filters>a{font-size:.78rem;justify-self:center;align-self:center}.cfh-portal-finder input,.cfh-portal-finder select{font-size:.88rem;padding:10px;min-width:0}.cfh-portal-general-search{display:flex;flex-direction:column;gap:10px;padding:15px;border:1px solid #d7dfd7;border-radius:12px;background:white}.cfh-portal-search-row{display:flex;gap:8px}.cfh-portal-search-row input{flex:1;width:0;min-width:0;border:1px solid #a3b1a8;border-radius:7px;font:inherit;padding:10px}.cfh-portal-search-row button{border-radius:7px;border:0;background:var(--wp--preset--color--forest,#183d32);color:white;font:inherit;padding:10px 20px;cursor:pointer}.cfh-portal-search-label{font-size:.8rem;font-weight:700}.cfh-portal-chips{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.cfh-portal-chips>span{font-size:.76rem;color:#66756c}.cfh-portal-chips a{font-size:.75rem;background:#f4f6ef;border:1px solid #e0e5dc;border-radius:100px;padding:5px 12px;text-decoration:none}.cfh-portal-metrics{display:flex;gap:24px;margin:22px 0 0;padding-top:18px;border-top:1px solid #e2e7e0}.cfh-portal-metrics>div{flex:1}.cfh-portal-metrics strong{font-size:1.5rem;display:block;line-height:1.3;color:var(--wp--preset--color--forest,#183d32)}.cfh-portal-metrics span{font-size:.75rem;color:#66756c}.cfh-portal-section,.cfh-section{margin:60px auto!important}.cfh-portal-section h2,.cfh-section h2{font-size:clamp(1.6rem,2.6vw,2.3rem);line-height:1.5}.cfh-portal-section>h2{margin-top:8px}.cfh-portal-section-head{max-width:720px}.cfh-portal-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}.cfh-portal-stage,.cfh-portal-guide,.cfh-portal-trust-card{border:1px solid #e0e5de;border-radius:13px;padding:25px;background:white}.cfh-portal-stage h3,.cfh-portal-guide h3,.cfh-portal-trust-card h3{font-size:1.15rem;margin-block:12px}.cfh-portal-stage p,.cfh-portal-guide p,.cfh-portal-trust-card p{font-size:.9rem;color:#526158}.cfh-portal-stage a,.cfh-portal-guide a{text-decoration:none;font-weight:700;font-size:.85rem}.cfh-portal-card-index{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#f2eadc;border-radius:12px;color:#70532d!important;font-weight:700;margin-top:0}.cfh-portal-tint{background:#f5f2ea;border-radius:20px;padding:35px}.cfh-portal-trust{background:#f3f6f2;border-radius:20px;padding:35px}.cfh-portal-trust-card{background:transparent;border:0;padding:10px}.cfh-portal-faq-list{max-width:850px;margin-top:25px}.cfh-portal-faq-list details{border:1px solid #e0e5de;border-radius:10px;padding:17px 22px;background:#fff;margin:12px 0}.cfh-portal-faq-list summary{cursor:pointer;font-weight:700;font-size:.95rem}.cfh-portal-faq-list details p{color:#526158;font-size:.9rem}.cfh-portal-contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:45px;background:var(--wp--preset--color--forest,#183d32);border-radius:20px;padding:40px;color:#fff}.cfh-portal-contact h2,.cfh-portal-contact a{color:#fff}.cfh-portal-contact .cfh-portal-eyebrow{color:#e6d2ae}.cfh-portal-contact .cfh-form label{font-size:.86rem;margin-top:15px}.cfh-portal-contact .cfh-submit{background:#f5f2ea;color:#183d32;border-radius:8px}.cfh-portal-contact .cfh-notice{color:#183d32;font-size:.8rem}.cfh-portal-contact .cfh-form textarea{min-height:125px}.cfh-portal-about{max-width:750px;padding:0 0 25px;font-size:.9rem;color:#526158}.cfh-portal-mobilebar{display:none}.cfh-section-heading{margin-bottom:22px}.cfh-section-heading .cfh-eyebrow{display:none}.cfh-section-heading>a{font-weight:700}.cfh-categories{gap:14px}.cfh-categories a{background:#fff;border:1px solid #dfe5dd;border-radius:13px;padding:20px 15px}.cfh-categories img{height:95px;object-fit:contain}.cfh-categories span{display:block;font-size:1rem}.cfh-brands{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cfh-brands a{padding:20px;border-radius:12px;background:#f7f8f3}.cfh-brands span{font-size:1.05rem}.cfh-brands small{font-size:.75rem}.cfh-card{border-radius:13px;border-color:#e0e5de;box-shadow:0 4px 18px #183d3205}.cfh-card-body{padding:20px}.cfh-card .cfh-image-link{background:#f3f6ef}.cfh-card .cfh-image-link img{aspect-ratio:16/10;padding:18px}.cfh-card .cfh-eyebrow{font-size:.73rem}.cfh-card h3{font-size:1.12rem;line-height:1.65}.cfh-card-body>p{font-size:.85rem}.cfh-card-bottom{font-size:.78rem}.cfh-site-header{position:relative;background:white;padding-block:12px;gap:18px!important}.cfh-site-header .cfh-brand-fallback img{width:120px}.cfh-site-header .wp-block-navigation{font-size:.84rem}.cfh-site-header .wp-block-navigation__container{gap:20px}.cfh-header-search{max-width:160px}.cfh-header-cta .wp-block-button__link{font-size:.8rem;padding:10px 16px;min-height:42px}.cfh-site-footer{margin-top:30px;padding-block:38px}.cfh-site-footer .wp-block-site-title{font-size:1.6rem}.cfh-portal-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.cfh-portal-footer-grid h3{color:#f5f2ea;font-size:1rem}.cfh-portal-footer-grid p{font-size:.85rem}.cfh-portal-footer-links a{display:block;margin:10px 0;text-decoration:none}.cfh-preview{background:white}.cfh-preview-main{padding-top:20px}
@media(max-width:1050px){.cfh-portal-hero{gap:25px;grid-template-columns:1.4fr 1fr}.cfh-portal-art{padding:18px}.cfh-float-card{padding:12px;max-width:190px}.cfh-brands{grid-template-columns:repeat(3,minmax(0,1fr))}.cfh-header-search{display:none}}
@media(max-width:780px){.cfh-portal-hero{grid-template-columns:1fr;padding-top:15px;gap:30px}.cfh-portal-art{max-width:380px;margin:auto;width:100%}.cfh-portal-art img{height:340px}.cfh-portal-copy h1{font-size:clamp(2.6rem,8vw,3.5rem)}.cfh-portal-stage-grid{grid-template-columns:1fr}.cfh-portal-contact{grid-template-columns:1fr;gap:12px;padding:25px}.cfh-portal-tint,.cfh-portal-trust{padding:25px}.cfh-brands{grid-template-columns:repeat(2,minmax(0,1fr))}.cfh-portal-footer-grid{grid-template-columns:1fr;gap:15px}.cfh-header-cta{display:none}.cfh-site-header{padding-inline:20px}.cfh-portal-metrics{gap:15px}.cfh-portal-metrics strong{font-size:1.3rem}}
@media(max-width:700px){body{padding-bottom:65px}.cfh-portal-mobilebar{display:block;position:fixed;bottom:0;inset-inline:0;background:#fff;border-top:1px solid #dfe5dd;z-index:30;padding:10px 12px}.cfh-portal-mobilebar p{display:flex;justify-content:space-around;gap:8px;margin:0}.cfh-portal-mobilebar a{font-size:.78rem;font-weight:700;text-decoration:none;padding:7px}.cfh-portal-finder .cfh-filters label{min-width:0}.cfh-portal-section,.cfh-section{margin-block:42px!important}.cfh-portal-copy .cfh-portal-lead{font-size:.96rem}.cfh-portal-art{margin-bottom:20px}.cfh-portal-hero{margin-bottom:25px}.cfh-portal-contact .cfh-form{min-width:0}}
@media(prefers-reduced-motion:no-preference){.cfh-portal-stage,.cfh-card,.cfh-categories a{transition:box-shadow .18s ease,border-color .18s ease}.cfh-portal-stage:hover,.cfh-card:hover,.cfh-categories a:hover{border-color:#a8b7aa;box-shadow:0 8px 24px #183d320c}}
