@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Vazirmatn:wght@300;400;500&display=swap');
:root{--ink:#171412;--muted:#756c66;--paper:#fbf9f6;--warm:#efe4dc;--line:#d9cec7;--cream:#f5eee9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Vazirmatn,Arial,sans-serif;font-weight:300}body.en{font-family:Vazirmatn,Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.site-header{position:fixed;z-index:50;top:0;left:0;right:0;height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5vw;background:rgba(251,249,246,.72);backdrop-filter:blur(18px);border-bottom:1px solid rgba(23,20,18,.08);transition:.3s}.site-header.scrolled{background:rgba(251,249,246,.94)}.brand img{width:145px;display:block}.desktop-nav{display:flex;align-items:center;gap:27px;font-size:10px;letter-spacing:.11em}.desktop-nav a{position:relative}.desktop-nav a:not(.nav-appointment):after{content:'';position:absolute;left:0;right:0;bottom:-8px;height:1px;background:var(--ink);transform:scaleX(0);transform-origin:center;transition:.25s}.desktop-nav a:hover:after{transform:scaleX(1)}.nav-appointment{border:1px solid var(--ink);padding:11px 16px}.menu-toggle{display:none;background:none;border:0;font-size:24px}.mobile-nav{display:none}.hero-v2{height:100vh;min-height:720px;position:relative;color:#fff;overflow:hidden}.hero-media,.statement-media,.bespoke-image,.look-card,.product-image-v2,.journal-image{background-position:center;background-size:cover}.hero-media{position:absolute;inset:0;background-image:none;filter:saturate(.72)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.66),rgba(0,0,0,.16) 72%),linear-gradient(0deg,rgba(0,0,0,.34),transparent 55%)}.hero-content{position:absolute;left:9vw;bottom:15vh;max-width:700px}.luxury[dir=rtl] .hero-content{right:9vw;left:auto}.eyebrow{font-size:9px;letter-spacing:.22em;text-transform:uppercase}.eyebrow.dark{color:#706761}.hero-content h1{font:500 clamp(70px,9.5vw,145px)/.78 'Cormorant Garamond',Georgia,serif;letter-spacing:-.045em;margin:24px 0 28px;max-width:850px}.hero-content p{font-size:13px;line-height:2;max-width:520px}.hero-actions{display:flex;align-items:center;gap:26px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 23px;border:1px solid var(--ink);font-size:9px;letter-spacing:.12em;text-transform:uppercase;transition:.3s}.button-light{background:#fff;color:var(--ink);border-color:#fff}.button-dark{background:var(--ink);color:#fff}.button:hover{transform:translateY(-2px)}.text-link{font-size:9px;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:7px}.text-link.light{color:#fff}.hero-scroll{position:absolute;right:4.5vw;bottom:35px;font-size:8px;letter-spacing:.18em;display:flex;gap:12px;align-items:center}.hero-scroll span{font-size:16px}.intro-v2{padding:150px 9vw;display:grid;grid-template-columns:.8fr 1.2fr;gap:9vw;align-items:center}.intro-mark{font:500 clamp(110px,17vw,240px)/.7 'Cormorant Garamond';color:rgba(23,20,18,.06);letter-spacing:-.08em}.intro-copy{max-width:760px}.intro-copy h2,.section-heading h2,.bespoke-copy h2,.signature-copy h2,.appointment-copy h2,.about-copy h2{font:500 clamp(52px,6vw,90px)/.9 'Cormorant Garamond',Georgia,serif;letter-spacing:-.035em;margin:18px 0 28px}.intro-copy p,.section-heading p,.bespoke-copy>p,.signature-copy p,.appointment-copy p,.about-copy p{font-size:13px;line-height:2.2;color:var(--muted);max-width:620px}.collections-v2,.lookbook-v2,.products-v2{padding:120px 6vw}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-bottom:45px}.section-heading>div{flex:1}.section-heading p{max-width:360px;margin:0}.collection-grid-v2{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-template-rows:390px 390px;gap:15px}.collection-card{position:relative;overflow:hidden;color:#fff;display:flex;align-items:end;padding:30px;background:#d8cec8}.collection-card:before{content:'';position:absolute;inset:0;background:var(--bg),linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72));background-image:var(--bg)}.collection-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72))}.collection-card>div,.card-index{position:relative;z-index:2}.card-index{position:absolute;top:25px;right:27px;font:400 16px 'Cormorant Garamond'}.collection-card>div{width:100%}.card-kicker{font-size:8px;letter-spacing:.16em;text-transform:uppercase}.collection-card h3{font:500 45px/1 'Cormorant Garamond';margin:9px 0}.card-arrow{font-size:22px}.bridal{grid-row:span 2;--bg:none;background-image:var(--bg)}.evening{--bg:none;background-image:var(--bg)}.engagement{--bg:none;background-image:var(--bg)}.bespoke{--bg:none;background-image:var(--bg)}.collection-card{background-size:cover;background-position:center}.collection-card:hover{transform:translateY(-3px);transition:.4s}.statement-v2{height:78vh;min-height:600px;position:relative;display:grid;place-items:center;color:#fff;text-align:center;overflow:hidden}.statement-media{position:absolute;inset:0;background-image:none;filter:saturate(.65)}.statement-overlay{position:absolute;inset:0;background:rgba(0,0,0,.47)}.statement-copy{position:relative;z-index:2}.statement-copy h2{font:500 clamp(60px,8.8vw,130px)/.8 'Cormorant Garamond';letter-spacing:-.045em;margin:24px 0 42px}.bespoke-v2{padding:140px 9vw;display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:center}.bespoke-image{height:760px;background-image:none;position:relative;overflow:hidden}.image-note{position:absolute;left:20px;bottom:20px;color:#fff;font-size:8px;letter-spacing:.2em}.steps{margin:42px 0}.steps>div{display:grid;grid-template-columns:45px 130px 1fr;gap:10px;align-items:center;border-top:1px solid var(--line);padding:17px 0}.steps b{font:500 23px 'Cormorant Garamond'}.steps strong{font-size:12px}.steps span{font-size:10px;color:var(--muted);line-height:1.8}.signature-v2{padding:140px 9vw;background:var(--cream);display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:center}.signature-frame{height:650px;position:relative;background:#e3d6ce;overflow:hidden}.signature-dress{position:absolute;width:48%;height:76%;left:50%;top:12%;transform:translateX(-50%);background:linear-gradient(100deg,rgba(255,255,255,.78),rgba(205,195,188,.8) 55%,rgba(255,255,255,.92));clip-path:polygon(38% 0,62% 0,65% 12%,79% 34%,90% 99%,60% 96%,50% 100%,40% 96%,10% 99%,21% 34%,35% 12%);filter:drop-shadow(0 30px 30px rgba(0,0,0,.12))}.signature-dress:before{content:'';position:absolute;left:38%;top:0;width:24%;height:25%;background:#eee7e2;border-radius:40% 40% 55% 55%}.signature-dress span{position:absolute;bottom:25px;left:0;right:0;text-align:center;font:500 15px/1 'Cormorant Garamond';letter-spacing:.16em;color:#403b37}.lookbook-grid{display:grid;grid-template-columns:1.05fr .95fr;grid-template-rows:480px 650px;gap:15px}.look-card{position:relative;overflow:hidden}.look-card span{position:absolute;left:18px;top:18px;color:#fff;font:400 16px 'Cormorant Garamond';z-index:2}.look-a{background-image:none}.look-b{background-image:none}.look-c{background-image:none}.look-d{background-image:none}.look-a{grid-row:span 2}.product-grid-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-card-v2{display:block}.product-image-v2{height:530px;background-color:#e8ded8;position:relative;overflow:hidden}.product-image-v2:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.5));opacity:0;transition:.35s}.product-image-v2 span{position:absolute;bottom:20px;left:20px;color:#fff;font-size:8px;letter-spacing:.16em;z-index:2;opacity:0;transform:translateY(7px);transition:.35s}.product-card-v2:hover .product-image-v2:after,.product-card-v2:hover .product-image-v2 span{opacity:1}.product-card-v2 small{display:block;font:500 24px 'Cormorant Garamond';margin-top:14px}.product-card-v2 em{display:block;font-style:normal;font-size:8px;letter-spacing:.12em;color:#8a807a;margin-top:4px}.journal-v2{padding:120px 6vw;background:#eee4dd}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.journal-image{height:430px;margin-bottom:22px}.journal-placeholder{background:linear-gradient(135deg,#e2d6cf,#c9bdb5);display:grid;place-items:center}.journal-placeholder span{font:500 35px/1 'Cormorant Garamond';text-align:center;letter-spacing:.08em;color:#fff}.journal-card h3{font:500 34px/1.05 'Cormorant Garamond';margin:14px 0 24px;max-width:400px}.appointment-v2{padding:140px 9vw;display:grid;grid-template-columns:1fr 1fr;gap:10vw;background:#f5ede8}.appointment-copy h2{margin-bottom:28px}.contact-line{display:flex;gap:30px;border-top:1px solid var(--line);padding-top:20px;margin-top:45px;font-size:10px;color:#6d625b}.appointment-form{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px}.appointment-form label{font-size:9px;color:#544b46}.appointment-form input,.appointment-form select,.appointment-form textarea{width:100%;border:0;border-bottom:1px solid #bdb0a8;background:transparent;padding:13px 0;outline:0;margin-top:7px}.jalali-date-field{position:relative}.jalali-date-field input[type=text]{direction:rtl;text-align:right}.jalali-date-field small{display:block;margin-top:6px;font-size:8px;color:#8b817b}.jalali-date-field.invalid input{border-bottom-color:#9a4a42}.jalali-date-field small.error{color:#9a4a42}.appointment-form textarea{resize:vertical}.full-field{grid-column:1/-1}.form-success{font-size:11px;padding:14px;border:1px solid #9db69a;background:#e9f0e7}.about-v2{padding:120px 9vw;display:grid;grid-template-columns:1fr 1fr;gap:10vw;align-items:center}.about-logo{background:#fff;padding:70px}.about-logo img{width:100%;display:block}.site-footer{background:#171412;color:#f5eee9;padding:80px 6vw 25px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-brand img{width:210px;filter:invert(1)}.footer-label{font-size:8px;letter-spacing:.2em;margin-bottom:18px}.site-footer a,.site-footer p{display:block;color:#bdb4ae;font-size:10px;line-height:2.1;margin:7px 0}.footer-bottom{grid-column:1/-1;border-top:1px solid #3b3531;padding-top:20px;display:flex;justify-content:space-between;color:#817871;font-size:8px;letter-spacing:.12em}.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}.reveal.is-visible{opacity:1;transform:none}@media(max-width:900px){.site-header{height:70px;padding:0 20px}.brand img{width:125px}.desktop-nav{display:none}.menu-toggle{display:block}.mobile-nav{position:fixed;z-index:45;top:70px;left:0;right:0;background:rgba(251,249,246,.98);backdrop-filter:blur(18px);padding:25px 22px;display:none;flex-direction:column;gap:20px;border-bottom:1px solid var(--line)}.mobile-nav.open{display:flex}.mobile-nav a{font-size:12px}.hero-content{left:24px;right:24px;bottom:12vh}.luxury[dir=rtl] .hero-content{right:24px;left:24px}.hero-content h1{font-size:68px}.hero-actions{flex-wrap:wrap}.intro-v2,.bespoke-v2,.signature-v2,.appointment-v2,.about-v2{grid-template-columns:1fr;padding:90px 22px;gap:50px}.intro-mark{font-size:130px}.collections-v2,.lookbook-v2,.products-v2{padding:90px 22px}.section-heading{display:block}.section-heading p{margin-top:18px}.collection-grid-v2{grid-template-columns:1fr 1fr;grid-template-rows:340px 340px}.bridal{grid-row:span 2}.bespoke-image{height:560px}.signature-frame{height:560px}.lookbook-grid{grid-template-columns:1fr 1fr;grid-template-rows:400px 500px}.look-a{grid-row:span 2}.product-grid-v2,.journal-grid{grid-template-columns:1fr}.product-image-v2{height:560px}.site-footer{grid-template-columns:1fr 1fr;padding:60px 22px}.footer-bottom{flex-direction:column;gap:10px}}
@media(max-width:560px){.hero-v2{min-height:650px}.hero-content h1{font-size:58px}.hero-content p{font-size:11px}.collection-grid-v2,.lookbook-grid,.appointment-form{display:block}.collection-card{height:500px;margin-bottom:14px}.look-card{height:500px;margin-bottom:14px}.look-a{height:560px}.appointment-form label{display:block;margin-bottom:22px}.full-field{width:100%}.signature-frame{height:480px}.site-footer{grid-template-columns:1fr}.footer-bottom{grid-column:auto}.hero-scroll{display:none}}

.product-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.product-gallery>div{height:150px;background-size:cover;background-position:center}.product-page{padding:150px 9vw 100px;display:grid;grid-template-columns:1.05fr .95fr;gap:10vw;align-items:start}.product-main-image{height:720px;background-size:cover;background-position:center;background-color:#e8ded8}.product-page h1{font:500 clamp(60px,7vw,100px)/.85 "Cormorant Garamond",Georgia,serif;letter-spacing:-.04em;margin:18px 0 30px}.product-page p,.product-page .details{font-size:13px;line-height:2.1;color:var(--muted);max-width:620px;margin:0 0 25px}.product-page strong{font-size:12px}.product-page .button{margin-top:30px}@media(max-width:900px){.product-page{grid-template-columns:1fr;padding:120px 22px 80px;gap:45px}.product-main-image{height:560px}.product-gallery>div{height:110px}}
/* BITA MAISON V4 — editorial Instagram-style collection feed */
.hero-v4{min-height:92vh;padding:150px 8vw 90px;display:flex;align-items:center;position:relative;background:linear-gradient(135deg,#f7f2ee,#ebe3dd);overflow:hidden}.hero-v4:before{content:'BM';position:absolute;right:4vw;bottom:-7vw;font:500 35vw/.7 'Cormorant Garamond';color:rgba(23,20,18,.035);letter-spacing:-.08em}.hero-v4-inner{max-width:920px;position:relative;z-index:2}.hero-v4-logo img{width:210px;max-width:42vw;display:block;margin-bottom:55px}.hero-v4 h1{font:500 clamp(62px,9vw,132px)/.78 'Cormorant Garamond',Georgia,serif;letter-spacing:-.045em;margin:22px 0 30px}.hero-v4 p{max-width:580px;color:var(--muted);font-size:13px;line-height:2.2}.hero-v4-note{position:absolute;right:5vw;bottom:38px;font-size:8px;letter-spacing:.18em;color:#8a807a}.feed-section{padding:120px 6vw;background:var(--paper)}.collection-tabs{display:flex;justify-content:center;gap:8px;border-bottom:1px solid var(--line);margin:0 auto 55px;max-width:900px}.collection-tab{appearance:none;border:0;background:none;padding:18px 28px 16px;cursor:pointer;font-size:11px;color:#8a807a;position:relative}.collection-tab:after{content:'';position:absolute;bottom:-1px;left:20%;right:20%;height:1px;background:var(--ink);transform:scaleX(0);transition:.25s}.collection-tab.active{color:var(--ink)}.collection-tab.active:after{transform:scaleX(1)}.feed-panel{display:none}.feed-panel.active{display:block}.feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:46px 20px}.feed-post{min-width:0}.post-media{position:relative;overflow:hidden;background:#e8ded8;aspect-ratio:4/5;touch-action:pan-y;cursor:grab}.post-media.dragging{cursor:grabbing}.post-track{display:flex;height:100%;width:100%;transition:transform .42s cubic-bezier(.2,.7,.2,1)}.post-slide{flex:0 0 100%;height:100%;position:relative}.post-slide img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}.placeholder-slide{display:grid;place-items:center;background:linear-gradient(145deg,#eee5df,#d8ccc4)}.placeholder-slide>div{text-align:center;color:rgba(23,20,18,.55);font:500 55px/.75 'Cormorant Garamond';letter-spacing:.05em}.placeholder-slide small{display:block;font:300 8px Vazirmatn;letter-spacing:.22em;margin-top:14px}.post-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.78);color:#171412;font-size:25px;line-height:1;z-index:3;cursor:pointer;opacity:.9}.post-arrow.prev{left:13px}.post-arrow.next{right:13px}html[dir="rtl"] .post-arrow.prev{left:auto;right:13px}html[dir="rtl"] .post-arrow.next{right:auto;left:13px}.post-counter{position:absolute;top:13px;right:13px;background:rgba(23,20,18,.72);color:#fff;padding:5px 8px;font-size:8px;letter-spacing:.08em;z-index:3}.post-dots{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:3}.dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.6);border:1px solid rgba(23,20,18,.12)}.dot.active{background:#fff}.post-meta{padding:17px 2px 0}.post-meta h3{font:500 28px/1 'Cormorant Garamond';margin:0 0 10px}.post-meta p{font-size:11px;line-height:2;color:var(--muted);margin:0;white-space:normal}.empty-feed{padding:100px 20px;text-align:center;border:1px solid var(--line);background:#f6f1ed}.empty-mark{font:500 100px/.7 'Cormorant Garamond';color:rgba(23,20,18,.1)}.empty-feed h3{font:500 34px 'Cormorant Garamond';margin:30px 0 8px}.empty-feed p{font-size:11px;color:var(--muted)}.statement-v4{padding:150px 8vw;background:var(--ink);color:#f7f1ec;text-align:center}.statement-v4-inner h2{font:500 clamp(62px,8vw,120px)/.82 'Cormorant Garamond';letter-spacing:-.045em;margin:22px 0 42px}.placeholder-photo{background:linear-gradient(145deg,#e9dfd9,#d1c3bb)!important;display:grid;place-items:center}.photo-placeholder{text-align:center;font:500 70px/.75 'Cormorant Garamond';color:rgba(23,20,18,.25)}.photo-placeholder small{display:block;font:300 8px Vazirmatn;letter-spacing:.2em;margin-top:16px}.about-v2{background:#fff}.admin-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.admin-gallery-item img{width:100%;height:180px;object-fit:cover;background:#eee}.admin-gallery-item form{margin-top:7px}.small-btn{padding:7px 10px!important;font-size:10px!important}.help{display:block;color:#888;font-size:10px;margin-top:6px}.subhead{font-size:18px;margin:0 0 18px}@media(max-width:900px){.hero-v4{min-height:78vh;padding:130px 22px 80px}.hero-v4-logo img{width:170px;margin-bottom:38px}.hero-v4 h1{font-size:65px}.hero-v4-note{right:22px;font-size:7px}.feed-section{padding:90px 22px}.collection-tabs{justify-content:flex-start;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.collection-tabs::-webkit-scrollbar{display:none}.collection-tab{padding:17px 20px}.feed-grid{grid-template-columns:1fr 1fr;gap:35px 14px}.post-media{aspect-ratio:4/5}.post-meta h3{font-size:25px}.admin-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.hero-v4 h1{font-size:55px}.hero-v4-logo img{width:145px}.feed-grid{grid-template-columns:1fr}.feed-post{max-width:520px;margin:0 auto;width:100%}.post-media{aspect-ratio:4/5}.statement-v4{padding:110px 22px}.statement-v4-inner h2{font-size:60px}.admin-gallery{grid-template-columns:1fr}.collection-tab{font-size:10px;padding-left:15px;padding-right:15px}}

/* BITA MAISON V4.1 defensive layout + cache-safe overrides */
html,body{width:100%;max-width:100%;overflow-x:hidden}main{width:100%;display:block}.hero-v4{width:100%;box-sizing:border-box}.hero-v4-inner{width:min(920px,100%)}.hero-v4-logo{width:100%;display:block}.hero-v4-logo img{display:block!important;width:210px!important;max-width:42vw!important;height:auto!important;max-height:110px!important;object-fit:contain!important;object-position:left center!important}.feed-section{width:100%;box-sizing:border-box}.feed-grid{width:100%}.post-media{width:100%}.post-slide img{max-width:100%;object-fit:cover}.about-logo img{max-width:100%;height:auto}.site-footer{width:100%;box-sizing:border-box}@media(max-width:560px){.hero-v4-logo img{width:145px!important;max-width:145px!important;max-height:90px!important}}

/* BITA MAISON V4.4 — native Persian/Jalali calendar picker */
.jalali-picker{position:relative;width:100%}.jalali-input-wrap{position:relative;display:flex;align-items:center}.jalali-input-wrap input{padding-left:44px!important}.jalali-picker-toggle{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;border-radius:50%;font-size:14px;line-height:1}.jalali-calendar{position:absolute;z-index:100;top:calc(100% + 8px);right:0;width:min(330px,100%);padding:16px;background:#fff;border:1px solid var(--line);box-shadow:0 18px 45px rgba(23,20,18,.13);direction:rtl}.jalali-calendar-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;margin-bottom:12px}.jalali-calendar-head strong{text-align:center;font-size:12px;font-weight:500}.jalali-calendar-head button{width:34px;height:34px;border:1px solid var(--line);background:#faf7f4;cursor:pointer;font-size:20px;line-height:1}.jalali-weekdays,.jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.jalali-weekdays span{font-size:9px;color:#8a807a;padding:7px 0}.jalali-day{height:34px;border:0;background:transparent;color:var(--ink);font-family:inherit;font-size:10px;cursor:pointer;border-radius:50%}.jalali-day:hover{background:#eee5df}.jalali-day.selected{background:var(--ink);color:#fff}.jalali-day.today{box-shadow:inset 0 0 0 1px #9a8f88}.jalali-date-field small{display:block}.jalali-date-field.invalid .jalali-input-wrap input{border-color:#9a4a42!important}.jalali-picker [hidden]{display:none!important}@media(max-width:560px){.jalali-calendar{width:100%;right:0}.jalali-day{height:38px}}

/* V4.5 — force the Persian picker and prevent native browser date UI */
.jalali-picker{position:relative}
.jalali-input-wrap{display:flex;align-items:center;position:relative}
.jalali-input-wrap input{flex:1}
.jalali-picker-toggle{width:44px;height:44px;border:0;background:transparent;cursor:pointer;font-size:18px;line-height:1;position:absolute;left:0;top:0}
.jalali-calendar[hidden]{display:none!important}
.jalali-calendar{position:absolute;z-index:9999;top:calc(100% + 8px);right:0;width:320px;padding:16px;background:#fff;border:1px solid #ddd3cc;box-shadow:0 18px 45px rgba(23,20,18,.12);direction:rtl}
.jalali-calendar-head{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;margin-bottom:12px}
.jalali-calendar-head button{border:0;background:none;font-size:24px;cursor:pointer}
.jalali-weekdays,.jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.jalali-weekdays span{font-size:11px;color:#8b817b;padding:7px 0}
.jalali-days>span{height:38px}
.jalali-day{height:38px;border:0;background:transparent;border-radius:50%;cursor:pointer;font-family:inherit}
.jalali-day:hover{background:#f1e9e3}
.jalali-day.selected{background:#171412;color:#fff}
.jalali-day.today{box-shadow:inset 0 0 0 1px #9d9188}
@media(max-width:560px){.jalali-calendar{width:min(320px,calc(100vw - 44px));right:0}}

/* V4.7 — explicit RTL gallery arrow positioning */
html[dir="rtl"] .post-arrow.rtl-prev{right:13px!important;left:auto!important;}
html[dir="rtl"] .post-arrow.rtl-next{left:13px!important;right:auto!important;}
html[dir="ltr"] .post-arrow.prev{left:13px!important;right:auto!important;}
html[dir="ltr"] .post-arrow.next{right:13px!important;left:auto!important;}
.post-arrow{z-index:10;}
.intro-mark img{display:block;width:min(100%,260px);max-height:260px;object-fit:contain;object-position:center;opacity:.12}
.hero-v4-mark{position:absolute;right:4vw;bottom:-7vw;width:min(30vw,520px);max-height:55vh;object-fit:contain;opacity:.10;z-index:0;pointer-events:none}
.hero-v4:has(.hero-v4-mark):before{display:none}
@media(max-width:900px){.intro-mark img{max-width:180px;max-height:180px}.hero-v4-mark{width:48vw;right:1vw;bottom:-5vw}}

/* V6 Visual CMS section ordering */
.site-sections{display:flex!important;flex-direction:column!important;min-width:0}
.site-sections>[data-v6-section]{width:100%}
