/*
Theme Name: Nobatvand | نوبت‌وند
Theme URI: https://nobatvand.ir/
Description: قالب و هسته یکپارچه نوبت‌وند برای معرفی خدمات و رزرو آنلاین؛ نیازمند ووکامرس.
Author: Nobatvand
Version: 0.5.0-beta.8.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nobatvand-theme
*/
:root{--nv-ink:#173b35;--nv-muted:#52665d;--nv-green:#145d4d;--nv-line:#dce7e2;--nv-bg:#f4f8f6;--nv-white:#fff;--nv-radius:22px}*{box-sizing:border-box}body{margin:0;color:var(--nv-ink);background:var(--nv-bg);font-family:Tahoma,Arial,sans-serif;font-size:15px;line-height:1.9;direction:rtl}a{color:var(--nv-green);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d68a24;outline-offset:3px}img{max-width:100%;height:auto}.nv-wrap{width:min(1160px,calc(100% - 32px));margin-inline:auto}.nv-skip{position:absolute;top:-100px;right:12px;background:white;padding:8px;z-index:100}.nv-skip:focus{top:12px}.nv-header{background:white;border-bottom:1px solid var(--nv-line)}.nv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:16px}.nv-brand{font-weight:bold;font-size:24px;color:var(--nv-ink);display:flex;align-items:center;gap:10px}.nv-mark{background:var(--nv-green);color:white;border-radius:12px;display:grid;place-items:center;width:42px;height:42px}.nv-brand .custom-logo{max-width:110px;max-height:52px;object-fit:contain}.nv-nav,.nv-nav ul,.nv-footer ul{display:flex;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:0;align-items:center}.nv-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:var(--nv-green);color:white;border:1px solid var(--nv-green);border-radius:11px;padding:8px 18px;font:inherit;cursor:pointer;text-align:center}.nv-btn:hover{background:var(--nv-ink);color:white;text-decoration:none}.nv-btn.nv-outline{background:white;color:var(--nv-green)}.nv-hero{margin-block:36px 24px;padding:clamp(24px,5vw,64px);border:1px solid var(--nv-line);border-radius:30px;background:linear-gradient(125deg,var(--nv-bg),#fff 75%);display:grid;grid-template-columns:1.4fr 1fr;gap:30px;align-items:center}.nv-hero h1{font-size:clamp(28px,4.6vw,48px);line-height:1.55;max-width:620px;margin:12px 0}.nv-kicker{color:var(--nv-green);font-size:13px;font-weight:bold}.nv-hero p,.nv-muted{color:var(--nv-muted)}.nv-search{background:white;border:1px solid var(--nv-line);border-radius:var(--nv-radius);padding:24px;display:grid;gap:14px}.nv-search h2{margin:0;font-size:20px}.nv-field{display:grid;gap:6px}.nv-field select,.nv-field input{width:100%;min-height:46px;font:inherit;color:var(--nv-ink);background:white;border:1px solid #aebfb7;border-radius:10px;padding:8px 12px}.nv-section{padding-block:26px}.nv-section h2{font-size:clamp(21px,3vw,29px);margin:0 0 12px}.nv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.nv-card{min-width:0;background:white;border:1px solid var(--nv-line);border-radius:var(--nv-radius);padding:24px;overflow-wrap:anywhere}.nv-card h3{margin:0 0 8px;font-size:18px}.nv-card p{color:var(--nv-muted);margin:0 0 16px}.nv-city-list{display:flex;flex-wrap:wrap;gap:10px}.nv-city-list a{background:white;padding:8px 16px;border:1px solid var(--nv-line);border-radius:9px}.nv-cta{margin-block:24px 44px;background:var(--nv-ink);color:white;border-radius:var(--nv-radius);padding:clamp(24px,4vw,48px);display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}.nv-cta h2,.nv-cta p{margin:0 0 8px}.nv-cta p{color:#fff}.nv-content{background:white;border:1px solid var(--nv-line);border-radius:var(--nv-radius);margin-block:28px;padding:clamp(18px,4vw,42px);overflow-wrap:anywhere}.nv-content h1{line-height:1.5}.nv-content .alignwide{max-width:100%}.nv-content table{max-width:100%;border-collapse:collapse}.nv-content td,.nv-content th{border:1px solid var(--nv-line);padding:8px}.nv-footer{border-top:1px solid var(--nv-line);background:#fff;margin-top:30px;padding:28px 0;color:var(--nv-muted)}.nv-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}.nv-post-list{display:grid;gap:12px}.nv-pagination{padding:18px 0}.nv-pagination .page-numbers{display:inline-block;padding:6px 12px}.woocommerce .button,.woocommerce button.button{min-height:40px}.nv-notice{border:1px solid var(--nv-line);background:#fff;padding:14px;border-radius:12px}.nv-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:760px){.nv-hero{grid-template-columns:1fr;margin-top:20px;padding:22px;gap:16px}.nv-grid{grid-template-columns:1fr}.nv-head{align-items:flex-start}.nv-nav,.nv-nav ul{gap:10px;font-size:13px}.nv-search{padding:16px}.nv-brand{font-size:21px}.nv-cta{margin-bottom:20px}.nv-content{padding:16px}.nv-wrap{width:calc(100% - 24px)}}

.nv-site-logo{border-radius:12px;object-fit:contain}.nv-hero{background:linear-gradient(130deg,var(--nv-bg),#fff);box-shadow:0 12px 40px rgba(0,0,0,.035)}.nv-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.nv-category-grid a{background:#fff;border:1px solid var(--nv-line);padding:16px;border-radius:14px;font-weight:bold}.nv-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.nv-comments input:not([type=checkbox]),.nv-comments textarea{max-width:100%;width:100%;padding:10px;border:1px solid var(--nv-line);border-radius:10px;font:inherit}.nv-comments .submit{background:var(--nv-green);color:#fff;cursor:pointer}.nv-comments .comment-list{padding-inline-start:24px}.nv-nav li ul{padding-inline-start:14px}.nv-cta .nv-outline{color:var(--nv-green)}.nv-card:focus-within{border-color:var(--nv-green)}.nv-content iframe{max-width:100%}.nv-blog-meta{font-size:.875rem;color:var(--nv-muted)}
@media(max-width:480px){.nv-head{gap:10px}.nv-nav{order:3;flex-basis:100%}.nv-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-category-grid a{padding:10px;font-size:13px}}
.nv-mobile-nav{display:none}.nv-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.875rem;padding:16px 0 0;color:var(--nv-muted)}.nv-breadcrumb span{overflow-wrap:anywhere;min-width:0}.nv-nav li{position:relative}.nv-nav li .sub-menu{display:block;position:absolute;min-width:180px;top:100%;right:0;background:white;z-index:20;border:1px solid var(--nv-line);border-radius:10px;padding:8px;visibility:hidden}.nv-nav li:hover>.sub-menu,.nv-nav li:focus-within>.sub-menu{visibility:visible}.nv-nav li .sub-menu li{padding:5px 8px}
@media(max-width:760px){.nv-mobile-nav{display:flex;justify-content:space-around;gap:4px;position:fixed;bottom:0;inset-inline:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--nv-line);z-index:30}.nv-mobile-nav a{min-height:44px;display:grid;place-items:center;flex:1;font-size:13px;font-weight:bold}.nv-footer{padding-bottom:85px}.nv-nav li .sub-menu{position:static;visibility:visible;border:0;padding:0 12px}.nv-nav li .sub-menu li{padding:2px 0}}

/* Public layout only. Native business templates keep their own style. */
body{font-family:var(--nv-font,Tahoma,Arial,sans-serif);font-size:var(--nv-font-size,15px)}.nv-wrap{width:min(var(--nv-content-width,1160px),calc(100% - 32px))}.nv-profession{min-width:0;background:#fff;border:1px solid var(--nv-line);border-radius:16px;padding:14px}.nv-profession h3{display:flex;align-items:center;gap:8px;margin:0;font-size:1em}.nv-profession-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;background:var(--nv-bg);border-radius:12px;color:var(--nv-green);font-size:1.35em}.nv-profession a{background:none;border:0;border-radius:0;padding:0;overflow-wrap:anywhere}.nv-profession details,.nv-province{margin-top:8px}.nv-profession summary,.nv-province summary{cursor:pointer;color:var(--nv-green);font-weight:bold;padding:8px 0}.nv-profession ul,.nv-province ul{padding-inline-start:20px;margin-block:6px;max-height:280px;overflow:auto}.nv-province-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;margin-top:16px;align-items:start}.nv-province{background:white;border:1px solid var(--nv-line);border-radius:12px;padding:8px 14px}.nv-province summary span{font-size:.85em;color:var(--nv-muted)}.nv-province li a{display:block;padding-block:4px}.nv-field select{max-width:100%}@media(max-width:760px){.nv-wrap{width:calc(100% - 24px)}.nv-profession{padding:10px}.nv-profession h3{flex-wrap:wrap}.nv-profession a{font-size:inherit;padding:0}.nv-footer.nv-no-mobile-nav{padding-bottom:28px}}

/* Public-site refinement; minisite styles are not touched. */
.nv-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#fff 5%,var(--nv-bg) 65%);border-radius:clamp(20px,3vw,34px);gap:clamp(18px,4vw,48px)}
.nv-hero::before{content:"";position:absolute;z-index:-1;inset:auto -80px -180px auto;width:370px;height:370px;border:44px solid var(--nv-line);border-radius:50%;opacity:.55;pointer-events:none}
.nv-hero-copy{min-width:0}.nv-hero-copy .nv-kicker{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border:1px solid var(--nv-line);border-radius:999px;background:#fff}.nv-hero-copy .nv-kicker::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--nv-green)}
.nv-hero h1{letter-spacing:-.025em;font-weight:800;text-wrap:balance}.nv-hero-copy>p{max-width:48ch}.nv-hero-points{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:22px;color:var(--nv-ink);font-size:.875em}.nv-hero-points span{display:inline-flex;align-items:center;gap:6px}.nv-hero-points span::before{content:"✓";font-weight:bold;color:var(--nv-green)}
.nv-search{box-shadow:0 12px 30px rgba(23,59,53,.08);border-radius:20px}.nv-search .nv-btn{width:100%;font-weight:700}.nv-section-heading{margin-bottom:14px}.nv-section-heading>h2{margin-bottom:0}.nv-profession,.nv-card{box-shadow:0 2px 8px rgba(23,59,53,.035)}.nv-profession h3{line-height:1.55}.nv-profession-icon{border:1px solid var(--nv-line)}.nv-btn{font-weight:600}.nv-blog-card{padding:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);align-items:stretch}.nv-blog-card:not(:has(.nv-blog-image)){grid-template-columns:1fr}.nv-blog-card-body{padding:24px}.nv-blog-picture{display:block;min-width:0;height:100%}.nv-blog-image{width:100%;height:100%;max-height:260px;object-fit:cover;display:block;aspect-ratio:4/3}.nv-blog-card h2{font-size:clamp(18px,2.4vw,24px);line-height:1.6;margin:0 0 10px}.nv-blog-card p{margin-bottom:0}.nv-footer{padding-block:32px}.nv-mobile-nav a:focus-visible{outline-offset:1px}
@media(max-width:760px){.nv-hero::before{width:260px;height:260px;inset:auto -110px -100px auto;border-width:30px}.nv-hero-points{margin-top:16px;gap:6px 12px}.nv-search{box-shadow:0 6px 18px rgba(23,59,53,.06)}.nv-blog-card{grid-template-columns:1fr}.nv-blog-image{max-height:220px}.nv-blog-card-body{padding:18px}}
@media(prefers-reduced-motion:no-preference){.nv-btn,.nv-profession,.nv-card{transition:border-color .15s,background-color .15s,box-shadow .15s}.nv-profession:hover,.nv-blog-card:hover{box-shadow:0 6px 20px rgba(23,59,53,.07)}}

/* Pastel 3 — editorial public homepage. No external assets, no business panel styling. */
.nv-home-editorial{--nv-pastel-mint:#e2f2e9;--nv-pastel-blue:#e3eff4;--nv-pastel-lilac:#ece7f6;--nv-pastel-peach:#f9e7da;--nv-pastel-rose:#f7e6ea;--nv-pastel-cream:#fdfbf8}
.nv-home-editorial .nv-hero{margin-block:36px 46px;min-height:360px;gap:clamp(24px,5vw,64px);padding:clamp(24px,5vw,64px);border:0;box-shadow:none;background:radial-gradient(ellipse at 92% 10%,#d1e8dcaa,transparent 58%),radial-gradient(ellipse at 0% 85%,#f4dfdfaa,transparent 48%),linear-gradient(120deg,#fdfbf8,#e3eff4)}
.nv-home-editorial .nv-hero::before{display:none}.nv-home-editorial .nv-hero h1{font-size:clamp(27px,3.8vw,43px);line-height:1.55}.nv-home-editorial .nv-hero h1 em{font-style:normal;color:var(--nv-green)}.nv-home-editorial .nv-search{border:1px solid #fff9;border-radius:26px;background:#ffffffed;box-shadow:0 12px 40px #173b350b}.nv-home-editorial .nv-section{padding-block:26px 36px}.nv-home-editorial .nv-section-heading h2{margin:4px 0 0}.nv-home-editorial .nv-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nv-home-editorial .nv-profession{padding:18px;border:0;border-radius:20px;box-shadow:none;background:radial-gradient(ellipse at 100% 0%,#ffffffa0,transparent 65%),var(--nv-pastel-mint)}.nv-home-editorial .nv-profession:nth-child(6n+2){background-color:var(--nv-pastel-lilac)}.nv-home-editorial .nv-profession:nth-child(6n+3){background-color:var(--nv-pastel-peach)}.nv-home-editorial .nv-profession:nth-child(6n+4){background-color:var(--nv-pastel-blue)}.nv-home-editorial .nv-profession:nth-child(6n+5){background-color:var(--nv-pastel-rose)}.nv-home-editorial .nv-profession:nth-child(6n+6){background-color:#ecefdf}.nv-home-editorial .nv-profession-icon{background:#ffffffb5;border:0;width:46px;height:46px;border-radius:16px}.nv-home-editorial .nv-profession h3{gap:12px}.nv-home-editorial .nv-more-groups{margin-top:16px}.nv-home-editorial .nv-more-groups>summary{cursor:pointer;color:var(--nv-green);font-weight:bold;padding:10px 0}.nv-home-editorial .nv-more-groups[open]>summary{margin-bottom:10px}.nv-home-editorial .nv-owner-story{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;background:radial-gradient(ellipse at 5% 90%,#eadff5,transparent 68%),radial-gradient(ellipse at 95% 0%,#dbece3,transparent 70%),#faf8f2;color:var(--nv-ink);border:1px solid #fff;padding:clamp(22px,4vw,48px);gap:30px}.nv-home-editorial .nv-owner-story p{color:var(--nv-muted);max-width:48ch}.nv-owner-story .nv-owner-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.nv-owner-tags span{background:#ffffffbc;border-radius:999px;padding:5px 12px;font-size:.88em;color:var(--nv-ink)}.nv-owner-trial{font-size:.875em}.nv-owner-illustration{min-width:0;position:relative;padding:16px 10px 36px}.nv-illustration-window{border:1px solid #fff;background:#fffffff0;border-radius:20px;box-shadow:0 18px 38px #173b3512;overflow:hidden}.nv-illustration-top{display:flex;gap:6px;padding:14px;background:#d9eae1}.nv-illustration-top span{width:7px;height:7px;border-radius:50%;background:#7ea69b}.nv-illustration-body{display:flex;gap:14px;padding:16px}.nv-illustration-sidebar{width:20%;display:grid;align-content:start;gap:14px;padding:8px 0}.nv-illustration-sidebar i{display:block;background:#dce7e2;height:8px;border-radius:9px}.nv-illustration-calendar{flex:1;min-width:0}.nv-illustration-calendar b{font-size:.8em}.nv-illustration-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:10px 0}.nv-illustration-days span{background:#f0f3f1;border-radius:6px;aspect-ratio:1}.nv-illustration-days span:nth-child(4n){background:#d6eadd}.nv-illustration-days span:nth-child(5n){background:#e8e0f2}.nv-illustration-days span:nth-child(7n){background:#f5e1d6}.nv-illustration-label{position:absolute;bottom:17px;left:0;background:#fff;border-radius:14px;padding:8px 15px;color:var(--nv-green);font-weight:bold;box-shadow:0 8px 20px #173b3515;font-size:.85em}.nv-home-editorial .nv-card{border:0;background:#fff;box-shadow:0 6px 24px #173b3508}.nv-home-editorial .nv-card h3{line-height:1.65}.nv-home-editorial .nv-city-list a{background:#fdfbf8;border-color:#e5e9e5}
@media(max-width:760px){.nv-home-editorial .nv-hero{min-height:0;margin-block:18px 24px;padding:22px;gap:24px}.nv-home-editorial .nv-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nv-home-editorial .nv-profession{padding:12px}.nv-home-editorial .nv-profession h3{flex-direction:column;align-items:flex-start;gap:8px}.nv-home-editorial .nv-profession h3 a{min-height:2.7em;line-height:1.5}.nv-home-editorial .nv-owner-story{grid-template-columns:1fr;gap:12px}.nv-home-editorial .nv-owner-illustration{max-width:340px;width:100%;margin-inline:auto}.nv-home-editorial .nv-section{padding-block:18px 24px}}

/* Graphic 4: local vector art, editable palette, public surfaces only. */
.nv-home-editorial{--nv-pastel-mint:#dff7f3;--nv-pastel-blue:#e1f3fc;--nv-pastel-lilac:#eee7fc;--nv-pastel-peach:#fff1df;--nv-pastel-rose:#fce7ee;--nv-pastel-cream:#fffbf6}
.nv-home-editorial .nv-hero{background:var(--nv-bg);border-radius:26px;gap:22px;padding:clamp(20px,4vw,48px);margin-block:24px 32px}
.nv-home-editorial .nv-hero.nv-hero-has-art{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.nv-graphic-hero-art{min-width:0;width:100%;max-width:520px;margin-inline:auto;line-height:0}.nv-graphic-hero-art svg{width:100%;height:auto;display:block}
.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search{grid-column:1/-1;box-shadow:none;background:#fff;border:1px solid var(--nv-line)}
.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px 12px;align-items:end}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field label{grid-row:1}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field :is(input:not([type=hidden]),select,button){grid-row:2;min-width:0;width:100%}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search input[type=hidden]{display:none}
.nv-home-editorial .nv-hero h1{font-size:clamp(29px,4.1vw,48px);font-weight:900;line-height:1.55}.nv-home-editorial .nv-hero h1 em{color:var(--nv-green);text-decoration:underline;text-decoration-color:var(--nv-graphic-yellow,#ffca28);text-decoration-thickness:5px;text-underline-offset:8px}.nv-home-editorial .nv-hero-copy .nv-kicker{background:var(--nv-pastel-lilac);border:0}.nv-home-editorial .nv-hero-points span::before{color:var(--nv-graphic-secondary,#007c7a)}
.nv-home-editorial .nv-profession{background:var(--nv-pastel-mint);background:color-mix(in srgb,var(--nv-graphic-secondary,#007c7a) 12%,#fff)}.nv-home-editorial .nv-profession:nth-child(6n+2){background:color-mix(in srgb,var(--nv-graphic-purple,#8056c9) 17%,#fff)}.nv-home-editorial .nv-profession:nth-child(6n+3){background:color-mix(in srgb,var(--nv-graphic-yellow,#ffca28) 25%,#fff)}.nv-home-editorial .nv-profession:nth-child(6n+4){background:color-mix(in srgb,var(--nv-graphic-blue,#58bce9) 22%,#fff)}.nv-home-editorial .nv-profession:nth-child(6n+5){background:color-mix(in srgb,var(--nv-green) 11%,#fff)}.nv-home-editorial .nv-profession:nth-child(6n+6){background:color-mix(in srgb,var(--nv-graphic-secondary,#007c7a) 9%,#fff)}.nv-home-editorial .nv-profession-icon{color:var(--nv-ink);background:#fff;border:1px solid #fff}.nv-home-editorial .nv-profession h3 a{color:var(--nv-ink)}
.nv-home-editorial .nv-owner-story{background:var(--nv-pastel-lilac);background:color-mix(in srgb,var(--nv-graphic-purple,#8056c9) 12%,white);border-radius:26px}.nv-home-editorial .nv-illustration-top{background:var(--nv-graphic-secondary,#007c7a)}.nv-home-editorial .nv-illustration-top span{background:#fff}.nv-home-editorial .nv-illustration-window{border:3px solid var(--nv-ink);box-shadow:8px 10px 0 var(--nv-graphic-yellow,#ffca28)}.nv-home-editorial .nv-illustration-days span:nth-child(4n){background:var(--nv-graphic-blue,#58bce9)}.nv-home-editorial .nv-illustration-days span:nth-child(5n){background:var(--nv-graphic-yellow,#ffca28)}.nv-home-editorial .nv-illustration-days span:nth-child(7n){background:var(--nv-green)}
@media(max-width:900px){.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field{grid-template-columns:1fr 1fr}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field :is(input:not([type=hidden]),select,button,label){grid-row:auto}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field label{grid-column:1/-1}.nv-home-editorial .nv-hero.nv-hero-has-art .nv-search .nv-field :is(input:not([type=hidden]),select,button){grid-column:1/-1}}
@media(max-width:760px){.nv-home-editorial .nv-hero.nv-hero-has-art{grid-template-columns:1fr}.nv-graphic-hero-art{max-width:330px}.nv-home-editorial .nv-hero h1{font-size:clamp(25px,6.8vw,36px)}.nv-home-editorial .nv-hero{padding:18px}}
