/*
Theme Name: Nafas Restaurant
Theme URI: https://nafas-salmas.ir
Author: Mohammad Latifi
Description: قالب اختصاصی سبک و ریسپانسیو رستوران و بیرون‌بر نفس
Version: 0.6.3
Text Domain: nafas
*/

:root{
  --nafas-yellow:#F6C700;
  --nafas-yellow-2:#FFD93D;
  --nafas-dark:#171717;
  --nafas-text:#222;
  --nafas-muted:#777;
  --nafas-bg:#FFFDF8;
  --nafas-card:#fff;
  --nafas-border:#ece7db;
  --nafas-radius:18px;
  --nafas-shadow:0 10px 30px rgba(0,0,0,.07);
}

@font-face{font-family:'Dana';src:url('assets/fonts/Dana-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Dana';src:url('assets/fonts/Dana-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Dana';src:url('assets/fonts/Dana-DemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Dana';src:url('assets/fonts/Dana-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--nafas-bg);color:var(--nafas-text);font-family:'Dana',Tahoma,sans-serif;direction:rtl;line-height:1.8}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.nafas-wrap{width:min(1180px,calc(100% - 32px));margin:auto}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.05)}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:24px}
.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--nafas-yellow);display:grid;place-items:center;font-size:22px}
.main-nav{display:flex;align-items:center;gap:26px;font-weight:600;font-size:14px}
.header-actions{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 18px;border:1px solid transparent;cursor:pointer;font-weight:700}
.btn-primary{background:var(--nafas-yellow);color:#111}
.btn-dark{background:var(--nafas-dark);color:#fff}
.btn-light{background:#fff;border-color:var(--nafas-border)}

.hero{padding:34px 0 24px}
.hero-card{min-height:430px;border-radius:28px;overflow:hidden;background:#111;display:grid;grid-template-columns:1.05fr .95fr;box-shadow:var(--nafas-shadow)}
.hero-copy{padding:64px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.eyebrow{color:var(--nafas-yellow-2);font-weight:700;margin-bottom:8px}
.hero h1{font-size:clamp(36px,5vw,68px);line-height:1.25;margin:0 0 14px}
.hero p{color:#ddd;max-width:560px;margin:0 0 24px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-media{background:linear-gradient(145deg,#2b2b2b,#111);min-height:430px;position:relative}
.hero-media:before{content:'تصویر ویژه غذا';position:absolute;inset:0;display:grid;place-items:center;color:#777;font-weight:700}

.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}
.feature{background:#fff;border:1px solid var(--nafas-border);border-radius:16px;padding:18px;display:flex;align-items:center;gap:12px}
.feature-icon{width:42px;height:42px;border-radius:12px;background:#fff7cc;display:grid;place-items:center}
.feature strong{display:block;font-size:14px}.feature small{color:var(--nafas-muted)}

.section{padding:46px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-title{margin:0;font-size:28px}.section-sub{color:var(--nafas-muted);margin:4px 0 0}
.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.category-card{background:#fff;border:1px solid var(--nafas-border);border-radius:18px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.03)}
.category-thumb{aspect-ratio:1/1;background:#eee;display:grid;place-items:center;color:#999}
.category-card h3{font-size:15px;margin:12px 14px 14px}

.food-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.food-card{background:var(--nafas-card);border:1px solid var(--nafas-border);border-radius:20px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.food-image{aspect-ratio:4/3;background:#eee;position:relative;display:grid;place-items:center;color:#999}
.badge{position:absolute;top:12px;right:12px;background:var(--nafas-yellow);padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;color:#111}
.food-body{padding:16px}.food-body h3{margin:0 0 6px;font-size:17px}.food-desc{color:var(--nafas-muted);font-size:13px;min-height:46px}
.food-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.price{font-weight:800}.price small{font-weight:500;color:var(--nafas-muted)}

.promo{background:linear-gradient(135deg,var(--nafas-yellow),#ffdf5e);border-radius:24px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.promo h3{margin:0;font-size:28px}.promo p{margin:4px 0 0;color:#5c4d00}

.site-footer{background:#151515;color:#ddd;margin-top:54px;padding:46px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}.site-footer h4{color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0;color:#aaa}
.footer-bottom{border-top:1px solid #2b2b2b;margin-top:30px;padding-top:18px;color:#777;font-size:13px}

.mobile-bottom-nav{display:none}

@media(max-width:980px){
  .main-nav{display:none}
  .hero-card{grid-template-columns:1fr}
  .hero-media{min-height:320px;order:-1}
  .hero-copy{padding:34px}
  .features{grid-template-columns:repeat(2,1fr)}
  .categories{grid-template-columns:repeat(3,1fr)}
  .food-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  body{padding-bottom:74px}
  .nafas-wrap{width:min(100% - 22px,1180px)}
  .header-inner{min-height:64px}.header-actions .btn-light{display:none}.brand{font-size:20px}
  .hero{padding-top:14px}.hero-card{border-radius:20px}.hero-media{min-height:250px}.hero-copy{padding:24px}.hero h1{font-size:34px}
  .features{grid-template-columns:1fr 1fr;gap:10px}.feature{padding:12px}.feature small{display:none}
  .section{padding:34px 0}.section-title{font-size:23px}
  .categories{grid-template-columns:repeat(3,1fr);gap:10px}.category-card h3{font-size:12px;margin:9px}
  .food-grid{grid-template-columns:1fr}.food-card{display:grid;grid-template-columns:120px 1fr}.food-image{aspect-ratio:1/1}.food-body{padding:13px}.food-desc{min-height:0}
  .promo{align-items:flex-start;flex-direction:column}.promo h3{font-size:22px}
  .footer-grid{grid-template-columns:1fr}
  .mobile-bottom-nav{position:fixed;z-index:60;bottom:0;left:0;right:0;height:66px;background:#fff;border-top:1px solid var(--nafas-border);display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 -8px 25px rgba(0,0,0,.08)}
  .mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;gap:2px}.mobile-bottom-nav a.active{color:#9c7c00;font-weight:800}
}

/* v0.3.0: real food imagery, hero slider, menu page and footer credit */
.hero-media:before{display:none!important;content:none!important}
.hero-slider{overflow:hidden;background:#0f0f0f}
.hero-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.22))}
.hero-slide figcaption{position:absolute;z-index:2;right:18px;bottom:18px;background:rgba(17,17,17,.78);backdrop-filter:blur(8px);color:#fff;padding:8px 13px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid rgba(255,255,255,.14)}
.hero-dots{position:absolute;z-index:5;left:18px;bottom:20px;display:flex;gap:7px;direction:ltr}
.hero-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;transition:.25s}
.hero-dot.is-active{width:25px;border-radius:999px;background:var(--nafas-yellow)}

.category-thumb{overflow:hidden;background:#ede9df}
.category-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.category-card:hover .category-thumb img{transform:scale(1.035)}
.section-link{font-size:13px;font-weight:700;color:#8c7100}

.food-image{overflow:hidden;background:#ece8df}
.food-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.food-card:hover .food-image img{transform:scale(1.025)}
.food-image .badge{z-index:2}

.menu-page{min-height:70vh}
.menu-hero{background:#171717;color:#fff;padding:55px 0 46px;border-bottom:5px solid var(--nafas-yellow)}
.menu-hero .eyebrow{margin:0 0 5px}
.menu-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.2;margin:0 0 8px}
.menu-hero p{max-width:720px;color:#cfcfcf;margin:0}
.menu-section{padding-top:28px}
.menu-toolbar{display:flex;align-items:center;gap:9px;overflow-x:auto;padding:2px 0 16px;margin-bottom:8px;scrollbar-width:thin}
.menu-chip{flex:0 0 auto;border:1px solid var(--nafas-border);background:#fff;color:#333;border-radius:999px;padding:9px 16px;cursor:pointer;font:inherit;font-weight:700;font-size:13px}
.menu-chip.is-active{background:var(--nafas-yellow);border-color:var(--nafas-yellow);color:#111}
.menu-food-item[hidden]{display:none!important}
.menu-food-grid .food-body h2{margin:0 0 6px;font-size:17px}
.food-category-label{position:absolute;top:12px;right:12px;background:rgba(17,17,17,.78);color:#fff;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(7px);padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700}

.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;direction:rtl}
.footer-credit{margin-right:auto;color:#777}
.footer-credit a{color:#aaa;font-weight:700;transition:color .2s ease}
.footer-credit a:hover{color:var(--nafas-yellow)}

@media(max-width:640px){
  .hero-slide figcaption{right:12px;bottom:12px;font-size:11px;padding:6px 10px}
  .hero-dots{left:12px;bottom:15px}
  .menu-hero{padding:34px 0 30px}.menu-hero h1{font-size:36px}.menu-hero p{font-size:13px}
  .menu-toolbar{margin-left:-11px;margin-right:-11px;padding-left:11px;padding-right:11px}
  .menu-food-grid .food-card{grid-template-columns:118px 1fr}
  .menu-food-grid .food-body h2{font-size:15px}
  .food-category-label{top:7px;right:7px;font-size:9px;padding:4px 7px}
  .footer-grid{gap:18px}
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:5px}
  .footer-credit{margin-right:0}
}

/* v0.4.0: hero framing fixes, real page links and first customer account flow */
.hero-card{grid-template-columns:.9fr 1.1fr;min-height:0}
.hero-copy{padding:48px 52px}
.hero-media{min-height:0;aspect-ratio:4/3}
.hero-slide img{object-fit:cover;object-position:center center}
.hero-copy .btn-light{color:#111;background:#fff}

.account-hero{background:#171717;color:#fff;padding:50px 0 42px;border-bottom:5px solid var(--nafas-yellow)}
.account-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.25;margin:0 0 8px}
.account-hero p{margin:0;color:#cfcfcf}
.account-section{padding-top:30px}
.account-alert{padding:13px 16px;border-radius:14px;margin-bottom:18px;font-weight:600}
.account-alert-error{background:#fff0f0;border:1px solid #ffd1d1;color:#9a2424}
.account-alert-success{background:#eefbf1;border:1px solid #c7efd1;color:#226d35}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.account-card{background:#fff;border:1px solid var(--nafas-border);border-radius:22px;padding:24px;box-shadow:0 8px 26px rgba(0,0,0,.04)}
.account-card-register{border-top:4px solid var(--nafas-yellow)}
.account-card-head span,.account-kicker{font-size:12px;font-weight:800;color:#957700}
.account-card-head h2{margin:3px 0 18px;font-size:24px}
.nafas-form{display:grid;gap:14px}
.nafas-form label{display:grid;gap:6px;font-size:13px;font-weight:700}
.nafas-form input[type=text],.nafas-form input[type=tel],.nafas-form input[type=password]{width:100%;height:48px;border:1px solid #ddd7c9;background:#fff;border-radius:12px;padding:0 13px;outline:none;transition:.2s}
.nafas-form input:focus{border-color:#d9ae00;box-shadow:0 0 0 3px rgba(246,199,0,.14)}
.check-row{display:flex!important;align-items:center;gap:8px;font-weight:500!important}
.check-row input{width:17px;height:17px;accent-color:var(--nafas-yellow)}
.btn-wide{width:100%;min-height:48px}
.form-note{display:block;color:var(--nafas-muted);line-height:1.8}
.account-dashboard-card{background:#171717;color:#fff;border-radius:22px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.account-dashboard-card h2{font-size:28px;margin:3px 0 4px}
.account-dashboard-card p{margin:0;color:#cfcfcf}
.account-dashboard-card .btn-light{color:#111}
.account-placeholder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}
.account-mini-card{background:#fff;border:1px solid var(--nafas-border);border-radius:17px;padding:18px;display:grid;gap:5px}
.account-mini-card strong{font-size:16px}.account-mini-card span{font-size:12px;color:var(--nafas-muted)}

@media(max-width:980px){
  .hero-card{grid-template-columns:1fr}
  .hero-media{aspect-ratio:16/9;order:-1}
  .hero-copy{padding:34px}
}
@media(max-width:640px){
  .hero-media{aspect-ratio:4/3;min-height:0}
  .hero-slide img{object-fit:cover}
  .hero-copy{padding:24px}
  .hero-actions .btn{min-width:0}
  .account-hero{padding:32px 0 28px}.account-hero h1{font-size:34px}.account-hero p{font-size:13px}
  .account-grid{grid-template-columns:1fr}
  .account-card{padding:18px}
  .account-dashboard-card{align-items:flex-start;flex-direction:column}
  .account-placeholder-grid{grid-template-columns:1fr}
}

/* v0.5.0: redesigned header and hero */
.site-header-v2{
  background:rgba(255,253,248,.92);
  border-bottom:1px solid rgba(27,27,27,.07);
  box-shadow:0 5px 24px rgba(31,24,5,.035);
}
.header-inner-v2{min-height:72px;display:grid;grid-template-columns:auto 1fr auto;gap:34px}
.brand-v2{min-width:max-content;gap:11px;font-size:inherit}
.brand-mark-v2{width:40px;height:40px;border-radius:12px;background:#171717;color:var(--nafas-yellow);font-size:21px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.brand-text{display:flex;flex-direction:column;gap:0;line-height:1.2}
.brand-text strong{font-size:22px;font-weight:800;color:#181818}
.brand-text small{font-size:10px;font-weight:600;color:#8b8579;margin-top:4px}
.main-nav-v2{justify-content:center;gap:30px;font-size:13px;color:#3d3a34}
.main-nav-v2 a{position:relative;padding:25px 0 23px;transition:color .2s ease}
.main-nav-v2 a:after{content:'';position:absolute;right:50%;bottom:15px;width:0;height:2px;border-radius:10px;background:var(--nafas-yellow);transform:translateX(50%);transition:width .2s ease}
.main-nav-v2 a:hover{color:#111}.main-nav-v2 a:hover:after{width:18px}
.header-actions-v2{gap:7px;direction:rtl}
.header-icon-link{height:40px;min-width:40px;border:1px solid #e7e1d6;background:#fff;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;font-size:11px;font-weight:700;color:#444;transition:.2s}
.header-icon-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.header-icon-link:hover{border-color:#d2c9b7;background:#fffaf0;color:#111}
.header-order-btn{height:40px;border-radius:11px;padding:0 16px;font-size:12px;box-shadow:0 7px 16px rgba(246,199,0,.18)}
.mobile-menu-toggle{display:none;width:40px;height:40px;padding:0;border:1px solid #e7e1d6;background:#fff;border-radius:11px;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}
.mobile-menu-toggle span{width:18px;height:1.5px;background:#222;border-radius:3px;transition:.2s}
.mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}

.hero-v2{padding:28px 0 18px}
.hero-stage{position:relative;min-height:555px;border-radius:26px;overflow:hidden;background:#161616;box-shadow:0 24px 60px rgba(34,27,8,.10)}
.hero-visual{position:absolute;inset:0;overflow:hidden;background:#1a1a1a}
.hero-visual .hero-slide{position:absolute;inset:0}
.hero-visual .hero-slide img{width:100%;height:100%;object-fit:cover;object-position:center center}
.hero-visual:after{content:'';position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(14,14,14,.08) 0%,rgba(14,14,14,.12) 35%,rgba(14,14,14,.55) 66%,rgba(14,14,14,.94) 100%);pointer-events:none}
.hero-content-v2{position:relative;z-index:4;width:min(520px,46%);margin-right:auto;margin-left:0;padding:74px 64px 60px;color:#fff;min-height:555px;display:flex;flex-direction:column;justify-content:center}
.hero-kicker{display:inline-flex;align-items:center;width:max-content;max-width:100%;gap:8px;color:#f7d84b;font-size:12px;font-weight:700;margin-bottom:13px}
.hero-kicker:before{content:'';width:28px;height:2px;border-radius:10px;background:var(--nafas-yellow)}
.hero-content-v2 h1{font-size:clamp(47px,5.2vw,72px);line-height:1.13;margin:0 0 16px;letter-spacing:-1.8px;font-weight:800}
.hero-content-v2 p{margin:0 0 26px;color:#e6e4df;font-size:15px;line-height:2;max-width:430px}
.hero-actions-v2{gap:9px}
.hero-main-cta{min-width:132px;height:48px;border-radius:12px}
.hero-secondary-cta{min-width:126px;height:48px;border-radius:12px;color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.06);backdrop-filter:blur(8px)}
.hero-secondary-cta:hover{background:#fff;color:#171717}
.hero-service-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:25px;color:#bbb7ae;font-size:10px;font-weight:600}
.hero-service-line i{width:4px;height:4px;border-radius:50%;background:var(--nafas-yellow)}
.hero-dots-v2{z-index:6;left:26px;bottom:25px}
.hero-slide-name{position:absolute;z-index:6;left:83px;bottom:20px;color:#fff;background:rgba(15,15,15,.55);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(8px);padding:7px 12px;border-radius:9px;font-size:11px;font-weight:700}
.features-v2{margin-top:14px}
.features-v2 .feature{border-radius:14px;box-shadow:none;background:rgba(255,255,255,.78)}

@media(max-width:1080px){
  .header-inner-v2{gap:20px}
  .main-nav-v2{gap:20px}
  .header-icon-link span{display:none}.header-icon-link{padding:0;width:40px}
  .hero-content-v2{width:50%;padding:62px 42px}
}

@media(max-width:860px){
  .header-inner-v2{display:flex;min-height:64px;gap:12px;position:relative}
  .brand-v2{margin-left:auto}.brand-text small{display:none}.brand-text strong{font-size:20px}.brand-mark-v2{width:37px;height:37px;border-radius:10px}
  .main-nav-v2{display:none;position:absolute;top:calc(100% + 1px);right:0;left:0;background:#fffdf8;border:1px solid #ebe5d9;border-top:0;border-radius:0 0 18px 18px;padding:10px 16px 16px;box-shadow:0 18px 35px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;gap:0;z-index:70}
  .main-nav-v2.is-open{display:flex}
  .main-nav-v2 a{padding:12px 6px;border-bottom:1px solid #f1ece2;font-size:13px}.main-nav-v2 a:last-child{border-bottom:0}.main-nav-v2 a:after{display:none}
  .header-order-btn{display:none}.account-link{display:none}.cart-link{width:40px;padding:0}.cart-link span{display:none}
  .mobile-menu-toggle{display:flex}
  .hero-stage{min-height:500px}
  .hero-content-v2{width:54%;min-height:500px;padding:48px 34px}
  .hero-content-v2 h1{font-size:48px}
}

@media(max-width:640px){
  .site-header-v2{background:rgba(255,253,248,.97)}
  .header-inner-v2{min-height:60px}
  .brand-v2{gap:8px}.brand-text strong{font-size:19px}.brand-mark-v2{width:35px;height:35px;font-size:18px}
  .hero-v2{padding:12px 0 12px}
  .hero-stage{min-height:0;border-radius:20px;background:#fff;border:1px solid #ebe5d9;box-shadow:0 15px 35px rgba(34,27,8,.07);overflow:hidden}
  .hero-visual{position:relative;inset:auto;aspect-ratio:16/10;background:#171717}
  .hero-visual:after{background:linear-gradient(180deg,rgba(0,0,0,.02) 52%,rgba(0,0,0,.42) 100%)}
  .hero-visual .hero-slide img{object-fit:cover;object-position:center center}
  .hero-content-v2{width:100%;min-height:0;padding:24px 22px 25px;color:#171717;background:#fff;display:block}
  .hero-kicker{font-size:10px;color:#8d7200;margin-bottom:8px}.hero-kicker:before{width:20px}
  .hero-content-v2 h1{font-size:34px;line-height:1.22;letter-spacing:-.7px;margin-bottom:10px}
  .hero-content-v2 h1 br{display:none}
  .hero-content-v2 p{font-size:12.5px;line-height:1.9;color:#69645b;margin-bottom:17px;max-width:none}
  .hero-actions-v2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .hero-main-cta,.hero-secondary-cta{height:44px;min-width:0;border-radius:11px;font-size:12px}
  .hero-secondary-cta{color:#222;border-color:#ddd6c9;background:#fff}
  .hero-service-line{margin-top:17px;color:#8b857a;font-size:9px;gap:7px;justify-content:center}
  .hero-dots-v2{left:14px;bottom:13px}
  .hero-slide-name{left:auto;right:14px;bottom:10px;font-size:9px;padding:5px 8px;border-radius:7px}
  .features-v2{grid-template-columns:repeat(2,1fr)}
}


/* v0.5.1: separated hero image and copy; no text overlay */
@media (min-width: 641px){
  .hero-stage{
    display:grid;
    grid-template-columns:minmax(0,1.38fr) minmax(380px,.82fr);
    min-height:520px;
    background:#171717;
    direction:ltr;
  }
  .hero-visual{
    position:relative;
    inset:auto;
    grid-column:1;
    grid-row:1;
    min-width:0;
    height:100%;
    background:#efe8dc;
    direction:rtl;
  }
  .hero-visual .hero-slide{position:absolute;inset:0;margin:0;background:#efe8dc}
  .hero-visual .hero-slide img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    display:block;
  }
  .hero-visual:after{display:none!important;content:none!important}
  .hero-content-v2{
    position:relative;
    z-index:4;
    grid-column:2;
    grid-row:1;
    width:auto;
    margin:0;
    padding:58px 46px;
    min-height:520px;
    background:#171717;
    color:#fff;
    direction:rtl;
  }
  .hero-content-v2 h1{font-size:clamp(42px,4.4vw,64px);line-height:1.2;letter-spacing:-1.2px}
  .hero-content-v2 p{font-size:14px;line-height:2;max-width:410px}
  .hero-dots-v2{left:20px;bottom:20px}
  .hero-slide-name{left:76px;right:auto;bottom:15px}
}

@media (min-width: 861px) and (max-width: 1180px){
  .hero-stage{grid-template-columns:minmax(0,1.22fr) minmax(355px,.88fr);min-height:490px}
  .hero-content-v2{min-height:490px;padding:48px 34px}
  .hero-content-v2 h1{font-size:46px}
}

@media (max-width: 640px){
  .hero-visual:after{display:none!important;content:none!important}
  .hero-visual .hero-slide img{object-fit:contain;background:#efe8dc}
  .hero-content-v2{background:#fff;color:#171717}
}

/* v0.6.0 — food-first home and 3:4 catalog cards */
.nafas-home-v3{overflow:hidden}
.food-first-hero{padding:34px 0 16px;background:linear-gradient(180deg,#fffdf8 0%,#fffaf0 100%)}
.food-first-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:44px;align-items:center;min-height:610px}
.food-first-copy{padding:18px 0 22px;max-width:470px}
.food-first-eyebrow,.section-kicker{display:inline-flex;align-items:center;gap:8px;color:#8b7000;font-size:12px;font-weight:800;margin-bottom:10px}
.food-first-eyebrow:before,.section-kicker:before{content:'';width:28px;height:3px;border-radius:99px;background:var(--nafas-yellow)}
.food-first-copy h1{font-size:clamp(54px,6vw,82px);line-height:1.08;margin:0 0 18px;letter-spacing:-2.2px;color:#171717}
.food-first-copy p{margin:0 0 24px;color:#686157;font-size:15px;line-height:2.1}
.food-first-actions{display:flex;gap:10px;flex-wrap:wrap}
.food-first-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.food-first-tags a{border:1px solid #e8e0cf;background:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700;color:#4c463d;transition:.2s}
.food-first-tags a:hover{background:#171717;color:#fff;border-color:#171717}

.hero-food-gallery{position:relative;height:560px;direction:ltr}
.hero-food-card{position:absolute;display:block;background:#fff;border:1px solid #e8e0d2;border-radius:24px;padding:10px;box-shadow:0 24px 60px rgba(58,42,0,.11);transition:transform .25s ease,box-shadow .25s ease}
.hero-food-card:hover{transform:translateY(-7px) rotate(0)!important;box-shadow:0 30px 68px rgba(58,42,0,.16)}
.hero-food-card-1{width:260px;right:20px;top:28px;transform:rotate(4deg);z-index:3}
.hero-food-card-2{width:230px;left:74px;top:2px;transform:rotate(-5deg);z-index:2}
.hero-food-card-3{width:214px;left:20px;bottom:8px;transform:rotate(3deg);z-index:4}
.hero-food-photo{aspect-ratio:3/4;border-radius:17px;overflow:hidden;background:#eee6d6}
.hero-food-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-food-caption{direction:rtl;padding:10px 4px 3px;display:grid;gap:2px}
.hero-food-caption strong{font-size:14px;color:#171717}
.hero-food-caption span{font-size:11px;color:#7c7468;font-weight:700}

.home-taste-section{padding-top:58px}
.home-section-head{align-items:center}
.home-section-head .section-title{font-size:32px}
.section-link{font-size:12px;font-weight:800;color:#8d7100;border-bottom:1px solid #d4ad00;padding-bottom:2px}

.food-grid-portrait{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.food-card-portrait{display:block!important;grid-template-columns:none!important;border-radius:22px;overflow:hidden;background:#fff;border:1px solid #ece4d5;box-shadow:0 8px 28px rgba(0,0,0,.045);transition:transform .22s ease,box-shadow .22s ease}
.food-card-portrait:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.075)}
.food-card-portrait .food-image{display:block;aspect-ratio:3/4!important;overflow:hidden;background:#eee6d6;position:relative}
.food-card-portrait .food-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.food-card-portrait .food-body{padding:14px 14px 15px}
.food-card-portrait .food-body h2,.food-card-portrait .food-body h3{font-size:16px;margin:0 0 5px;line-height:1.6}
.food-card-portrait .food-desc{font-size:11px;line-height:1.8;color:#7a7368;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.food-card-portrait .food-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}
.food-card-portrait .price{font-size:14px;font-weight:800;color:#171717}.food-card-portrait .price small{font-size:9px;color:#777;font-weight:600}
.food-add-btn{width:34px;height:34px;border-radius:11px;background:var(--nafas-yellow);color:#111;display:grid;place-items:center;font-size:22px;font-weight:600;line-height:1;flex:0 0 auto}
.food-category-label{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.75);padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;color:#302c25;z-index:3}
.food-unavailable{position:absolute;left:10px;top:10px;background:#222;color:#fff;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;z-index:3}
.food-disabled-dot{width:34px;height:34px;border-radius:11px;background:#eee9df;color:#948b7c;display:grid;place-items:center;font-weight:800}

.daily-food-section{padding-top:28px;padding-bottom:28px}
.daily-food-card{display:grid;grid-template-columns:1.05fr .95fr;min-height:470px;border-radius:28px;overflow:hidden;background:#171717;color:#fff;box-shadow:0 24px 60px rgba(26,20,2,.10)}
.daily-food-content{padding:58px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.daily-badge{display:inline-flex;background:var(--nafas-yellow);color:#111;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:800;margin-bottom:16px}
.daily-food-content h2{font-size:clamp(34px,4vw,54px);line-height:1.25;margin:0 0 12px}
.daily-food-content p{font-size:14px;color:#cfcac0;line-height:2;max-width:470px;margin:0 0 18px}
.daily-food-price{font-size:25px;font-weight:800;color:#fff;margin-bottom:20px}.daily-food-price small{font-size:11px;color:#c9c2b5}
.daily-food-actions{display:flex;gap:9px;flex-wrap:wrap}.daily-food-actions .btn-light{background:#fff;color:#171717}
.daily-food-media{background:#ede4d4;overflow:hidden;min-height:470px}
.daily-food-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.popular-food-section{padding-top:34px}
.compact-food-card .food-desc{display:none}.compact-food-card .food-body{padding-bottom:13px}

.menu-hero-v2{background:#fffaf0;color:#171717;border-bottom:1px solid #eee5d6;padding:48px 0 38px}
.menu-hero-v2 .eyebrow{color:#967800}.menu-hero-v2 p{color:#70695f}
.menu-page-v2 .menu-toolbar{position:sticky;top:82px;z-index:20;background:rgba(255,253,248,.92);backdrop-filter:blur(10px);padding-top:10px;padding-bottom:12px}
.menu-page-v2 .menu-chip{border-radius:12px}
.menu-page-v2 .menu-chip.is-active{box-shadow:0 5px 14px rgba(246,199,0,.18)}

.product-single-card{display:grid;grid-template-columns:minmax(300px,430px) 1fr;gap:42px;background:#fff;border:1px solid var(--nafas-border);border-radius:28px;padding:22px;align-items:center}
.product-single-media{aspect-ratio:3/4;border-radius:20px;overflow:hidden;background:#eee6d6}.product-single-media img{width:100%;height:100%;object-fit:cover}
.product-single-content{padding:20px 30px}.product-single-content h1{font-size:42px;line-height:1.3;margin:5px 0 14px}.product-single-text{color:#686157;line-height:2}.product-single-price{font-size:26px;font-weight:800;margin:20px 0}.product-single-price small{font-size:11px;color:#777}

@media(max-width:1040px){
  .food-first-grid{grid-template-columns:1fr 1fr;gap:24px;min-height:560px}
  .food-first-copy h1{font-size:58px}
  .hero-food-gallery{height:510px}
  .hero-food-card-1{width:230px}.hero-food-card-2{width:204px;left:42px}.hero-food-card-3{width:190px}
  .food-grid-portrait{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
  .food-first-hero{padding-top:18px}
  .food-first-grid{grid-template-columns:1fr;gap:18px;min-height:0}
  .food-first-copy{max-width:none;order:2;padding:0 2px 14px}
  .food-first-copy h1{font-size:44px;letter-spacing:-1px}.food-first-copy h1 br{display:none}
  .food-first-copy p{font-size:13px;line-height:2}
  .food-first-actions{display:grid;grid-template-columns:1fr 1fr}.food-first-actions .btn{width:100%}
  .hero-food-gallery{order:1;height:auto;display:flex;gap:12px;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:4px 16px 18px;scroll-snap-type:x mandatory;direction:rtl}
  .hero-food-card,.hero-food-card-1,.hero-food-card-2,.hero-food-card-3{position:relative!important;inset:auto!important;transform:none!important;width:58vw;max-width:225px;min-width:190px;scroll-snap-align:start;padding:8px;border-radius:18px}
  .hero-food-photo{border-radius:13px}
  .hero-food-caption{padding:8px 3px 1px}.hero-food-caption strong{font-size:12px}.hero-food-caption span{font-size:10px}
  .food-grid-portrait,.menu-food-grid.food-grid-portrait{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px}
  .food-card-portrait,.menu-food-grid .food-card-portrait{display:block!important;grid-template-columns:none!important}
  .food-card-portrait .food-body{padding:10px}
  .food-card-portrait .food-body h2,.food-card-portrait .food-body h3{font-size:13px}
  .food-card-portrait .food-desc{font-size:9.5px;min-height:34px;-webkit-line-clamp:2}
  .food-card-portrait .price{font-size:11px}.food-card-portrait .price small{font-size:8px}
  .food-add-btn,.food-disabled-dot{width:30px;height:30px;border-radius:9px;font-size:19px}
  .daily-food-card{grid-template-columns:1fr;min-height:0}.daily-food-media{order:-1;min-height:0;aspect-ratio:3/4;max-height:520px}.daily-food-content{padding:28px 22px}.daily-food-content h2{font-size:34px}
  .menu-page-v2 .menu-toolbar{top:64px;margin-bottom:10px}
  .product-single-card{grid-template-columns:1fr;padding:12px;gap:8px}.product-single-content{padding:15px 10px 20px}.product-single-content h1{font-size:30px}.product-single-media{max-height:620px}
}

@media(max-width:410px){
  .food-grid-portrait,.menu-food-grid.food-grid-portrait{gap:9px}
  .food-card-portrait .food-body{padding:9px 8px}
  .food-category-label{top:7px;right:7px;font-size:8px;padding:4px 6px}
  .food-first-tags{gap:6px}.food-first-tags a{font-size:10px;padding:6px 10px}
}


/* v0.6.3 — structured footer branches and contact cards */
.footer-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:34px}
.footer-brand-block{max-width:470px}.footer-brand{color:#fff}.footer-brand-block p{margin:12px 0 0;color:#a9a9a9;line-height:2}
.footer-quick-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-start}
.footer-quick-links a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #303030;border-radius:11px;color:#bbb;background:#1b1b1b;font-size:12px;font-weight:700;transition:.2s}
.footer-quick-links a:hover{border-color:#5a4a00;color:#171717;background:var(--nafas-yellow)}
.footer-info-grid{display:grid;grid-template-columns:1fr 1fr .78fr;gap:14px;margin-top:28px}
.footer-info-card{display:flex;align-items:flex-start;gap:14px;min-height:166px;padding:20px;border:1px solid #2d2d2d;border-radius:18px;background:linear-gradient(145deg,#1a1a1a,#171717);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.footer-info-icon{width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:var(--nafas-yellow);color:#171717;display:grid;place-items:center}
.footer-card-kicker{display:block;color:#d2aa00;font-size:10px;font-weight:800;margin-bottom:4px}.footer-info-card h4{margin:0 0 8px;font-size:16px}.footer-info-card p{margin:0;color:#aaa;line-height:2;font-size:12px}
.footer-phone-list{display:flex;flex-direction:column;gap:8px;margin-top:4px}.footer-phone-list a{display:block;width:max-content;color:#fff;font-weight:800;font-size:16px;letter-spacing:.3px;transition:.2s}.footer-phone-list a:hover{color:var(--nafas-yellow)}
.site-footer .footer-bottom{margin-top:24px}
@media(max-width:980px){.footer-info-grid{grid-template-columns:1fr 1fr}.footer-phone-card{grid-column:1/-1}.footer-phone-card .footer-phone-list{flex-direction:row;flex-wrap:wrap;gap:10px 22px}}
@media(max-width:700px){.footer-topline{flex-direction:column;gap:20px}.footer-quick-links{width:100%;display:grid;grid-template-columns:1fr 1fr}.footer-quick-links a{justify-content:center}.footer-info-grid{grid-template-columns:1fr}.footer-phone-card{grid-column:auto}.footer-info-card{min-height:auto;padding:16px}.footer-info-icon{width:40px;height:40px;flex-basis:40px}.footer-phone-list{flex-direction:column!important}.footer-phone-list a{font-size:15px}}
