@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Vazirmatn:wght@400;500;600;700&display=swap');

:root{
  --bg:#fff;
  --text:#111;
  --muted:#6c6c6c;
  --line:#e8e8e8;
  --accent:#ff2a22;
  --max:1480px;
  --pad:clamp(20px,3vw,54px);
  --radius:2px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:"Inter",Arial,sans-serif;
  line-height:1.65;
}
body[dir="rtl"]{font-family:"Vazirmatn",Tahoma,Arial,sans-serif}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(var(--max),calc(100% - 2*var(--pad)));margin-inline:auto}
.site-header{
  height:96px;display:flex;align-items:center;border-bottom:1px solid transparent;
}
.header-inner{display:grid;grid-template-columns:140px 1fr 140px;align-items:center;width:100%}
.logo{font-weight:800;font-size:26px;letter-spacing:-2px}
.logo-mark{width:72px;height:28px;display:block;position:relative}
.logo-mark:before,.logo-mark:after{content:"";position:absolute;left:0;right:0;height:5px;background:#111;border-radius:50%}
.logo-mark:before{top:5px;transform:skewX(-28deg)}
.logo-mark:after{bottom:5px;width:42px;transform:skewX(-28deg)}
.main-nav{display:flex;justify-content:center;gap:clamp(28px,5vw,70px);font-weight:700;font-size:15px}
.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px}
.lang-switch{font-weight:700;font-size:14px}
.lang-switch .active{color:var(--accent)}
.menu-icon{width:32px;display:grid;gap:6px}
.menu-icon span{height:2px;background:#111}
.red-dot{color:var(--accent)}
.section-no{display:flex;align-items:center;gap:14px;color:var(--accent);font-weight:800;font-size:14px}
.section-no:after{content:"";width:30px;height:1px;background:var(--accent)}
.rule{border-top:1px solid var(--line)}
.btn-link{display:inline-flex;align-items:center;gap:18px;font-weight:700;border-bottom:2px solid #111;padding-bottom:5px}
.btn-link .arrow{font-size:28px;color:var(--accent);line-height:1}
.hero{padding:26px 0 48px}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:8vw;align-items:center}
.hero-copy h1{font-size:clamp(44px,5.4vw,82px);line-height:1.03;margin:18px 0 28px;letter-spacing:-2px}
body[dir="rtl"] .hero-copy h1{letter-spacing:0}
.hero-copy p{font-size:clamp(17px,1.25vw,22px);color:var(--muted);max-width:620px}
.hero-art{min-height:520px;display:flex;align-items:center;justify-content:center}
.stack-placeholder{
  width:min(640px,100%);aspect-ratio:1.45/1;display:grid;gap:4px;align-content:center;
}
.stack-placeholder span{height:36px;border-radius:4px;box-shadow:0 3px 8px #0002}
.stack-placeholder span:nth-child(1){background:#999}
.stack-placeholder span:nth-child(2){background:#d30000}
.stack-placeholder span:nth-child(3){background:#0a50a7}
.stack-placeholder span:nth-child(4){background:#5bc522}
.stack-placeholder span:nth-child(5){background:#d90061}
.stack-placeholder span:nth-child(6){background:#f7cb00}
.stack-placeholder span:nth-child(7){background:#ff4b0a}
.stack-placeholder span:nth-child(8){background:#45227f}
.stack-placeholder span:nth-child(9){background:#f0b091}
.stack-placeholder span:nth-child(10){background:#38c8d0}
.section{padding:34px 0 50px}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}
.section-head h2{font-size:30px;margin:4px 0}
.products-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:34px}
.product-card{text-align:center}
.product-card .thumb{
  aspect-ratio:.72;display:flex;align-items:flex-end;justify-content:center;margin-bottom:16px;
}
.product-card .book{
  width:74%;height:92%;border-radius:4px;box-shadow:0 12px 18px #0002;
  background:linear-gradient(#1b8610 0 78%,#fff 78% 100%);
}
.product-card:nth-child(2) .book{background:linear-gradient(#4a2779 0 78%,#fff 78% 100%)}
.product-card:nth-child(3) .book{background:linear-gradient(#ffb300 0 78%,#fff 78% 100%)}
.product-card:nth-child(4) .book{background:linear-gradient(#c80000 0 78%,#fff 78% 100%)}
.product-card:nth-child(5) .book{background:linear-gradient(#073559 0 78%,#fff 78% 100%)}
.product-card:nth-child(6) .book{background:linear-gradient(#e60056 0 78%,#fff 78% 100%)}
.product-card h3{font-size:16px;margin:0 0 4px}
.product-card p{font-size:13px;margin:0}
.people-wrap{display:grid;grid-template-columns:1.05fr 3fr;gap:34px;align-items:start}
body[dir="rtl"] .people-wrap{grid-template-columns:3fr 1.05fr}
.people-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.person .portrait{aspect-ratio:.77;background:linear-gradient(135deg,#222,#aaa);filter:grayscale(1)}
.person{text-align:center}
.person b{display:block;font-size:13px;margin-top:10px}
.person span{font-size:12px;color:#555}
.people-copy h2,.sound-copy h2{font-size:clamp(31px,3vw,50px);line-height:1.25;margin:18px 0}
.sound-grid{display:grid;grid-template-columns:1.1fr 2fr;gap:50px;align-items:center}
body[dir="rtl"] .sound-grid{grid-template-columns:2fr 1.1fr}
.sound-visual{text-align:center}
.wave{font-size:38px;letter-spacing:-8px;white-space:nowrap;overflow:hidden}
.play{width:66px;height:66px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 12px #0002;font-size:28px;margin:12px}
.qr{width:92px;height:92px;margin:12px auto;background:
  repeating-linear-gradient(45deg,#111 0 4px,#fff 4px 8px);
  border:8px solid #fff;outline:2px solid #111;
}
.contact-strip,.benefit-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.contact-strip-inner{display:grid;grid-template-columns:1.3fr repeat(4,1fr)}
.contact-strip-inner>div{padding:24px;text-align:center;border-inline-end:1px solid var(--line)}
.contact-strip-inner>div:first-child{text-align:start}
.site-footer{padding:28px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.2fr repeat(4,1fr) 1.5fr;gap:24px}
.footer-grid h4{margin:0 0 10px;font-size:14px}
.footer-grid a,.footer-grid p{font-size:13px;color:#444;margin:5px 0;display:block}
.newsletter input{width:100%;border:1px solid var(--line);padding:13px 14px}
.breadcrumb{font-size:14px;color:#666;margin:20px 0}
.collection-intro{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;padding:20px 0 40px}
.collection-intro h1,.page-title{font-size:clamp(44px,4.2vw,68px);line-height:1.05;margin:0 0 20px}
.filter-box{max-width:320px}
.filter-box select{width:100%;padding:16px;border:1px solid #ddd;background:white}
.collection-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:46px 34px}
.coming-card{border:1px dashed #ccc;display:grid;place-items:center;min-height:310px;text-align:center}
.coming-card strong{font-size:48px;font-weight:300}
.product-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;padding:25px 0 50px}
body[dir="rtl"] .product-layout{grid-template-columns:1.1fr 1fr}
.product-info h1{font-size:48px;line-height:1.1;margin:12px 0}
.meta-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:28px 0;border-block:1px solid var(--line);margin:28px 0}
.meta-icons div{text-align:center;font-size:13px}
.buy-row{display:grid;grid-template-columns:120px 1fr;gap:12px}
.buy-row button{min-height:56px}
.add-cart{background:#050505;color:#fff;border:0}
.qty{border:1px solid #ddd;background:#fff}
.gallery{display:grid;grid-template-columns:100px 1fr;gap:26px}
.main-product-img{min-height:650px;display:grid;place-items:center}
.main-book{width:55%;aspect-ratio:.72;background:linear-gradient(#1c8a10 0 78%,#fff 78%);box-shadow:0 18px 30px #0002;border-radius:7px}
.thumbs{display:grid;gap:16px;align-content:start}
.thumbs div{aspect-ratio:1;border:1px solid #eee;background:#f7f7f7}
.tabs{display:flex;justify-content:space-between;border-block:1px solid var(--line);padding:0 30px}
.tabs a{padding:18px 10px}
.tabs a.active{color:var(--accent);border-bottom:2px solid var(--accent)}
.product-details-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:70px;padding:38px 0}
.quote-box{background:#fafafa;padding:28px;margin-top:20px;font-size:20px}
.benefit-strip-inner{display:grid;grid-template-columns:repeat(4,1fr)}
.benefit-strip-inner>div{padding:24px;text-align:center;border-inline-end:1px solid var(--line)}
.split-hero,.content-split{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
body[dir="rtl"] .split-hero,body[dir="rtl"] .content-split{grid-template-columns:.9fr 1.1fr}
.image-placeholder{background:linear-gradient(135deg,#e9dfcf,#c8b99e);aspect-ratio:1.34;min-height:420px}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fafafa;margin:40px 0}
.value-grid article{padding:34px;text-align:center;border-inline-end:1px solid #ddd}
.value-grid .symbol{font-size:48px}
.designer{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}
.quote-banner{background:#f8f1e8;padding:34px;margin:35px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.philosophy-grid{display:grid;grid-template-columns:1fr 1fr}
.philosophy-grid .block{padding:34px;border-bottom:1px solid #ddd;min-height:300px}
.philosophy-grid .block.image{padding:0;background:linear-gradient(135deg,#ddd4c6,#b8aa94)}
.contact-cards{display:grid;grid-template-columns:repeat(4,1fr);background:#fafafa;margin:35px 0}
.contact-cards article{padding:34px;text-align:center;border-inline-end:1px solid #ddd}
.contact-main{display:grid;grid-template-columns:1fr 1.15fr;gap:50px;align-items:stretch}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-grid input,.form-grid textarea{width:100%;padding:14px;border:1px solid #ddd}
.form-grid .full{grid-column:1/-1}
.form-grid textarea{min-height:150px}
.form-grid button{background:#050505;color:#fff;border:0;padding:14px 18px}
.mobile-nav{display:none}
@media(max-width:1100px){
  .products-grid,.collection-grid{grid-template-columns:repeat(3,1fr)}
  .people-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(3,1fr)}
  .hero-grid,.split-hero,.product-layout,.designer,.contact-main{gap:35px}
}
@media(max-width:760px){
  .site-header{height:76px}
  .header-inner{grid-template-columns:1fr auto}
  .main-nav{display:none}
  .logo{grid-column:1}
  .header-actions{grid-column:2}
  .hero{padding-top:10px}
  .hero-grid,.split-hero,.content-split,.product-layout,.designer,.contact-main,
  .collection-intro,.product-details-grid,.sound-grid,.people-wrap,
  body[dir="rtl"] .hero-grid,body[dir="rtl"] .split-hero,body[dir="rtl"] .content-split,
  body[dir="rtl"] .product-layout,body[dir="rtl"] .sound-grid,body[dir="rtl"] .people-wrap{
    grid-template-columns:1fr
  }
  .hero-copy h1{font-size:44px}
  .hero-art{min-height:340px}
  .products-grid,.collection-grid{grid-template-columns:repeat(2,1fr);gap:28px 18px}
  .people-grid{grid-template-columns:repeat(2,1fr)}
  .contact-strip-inner,.benefit-strip-inner,.value-grid,.contact-cards{grid-template-columns:1fr 1fr}
  .contact-strip-inner>div,.benefit-strip-inner>div,.value-grid article,.contact-cards article{border-bottom:1px solid var(--line)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:1fr}
  .thumbs{grid-template-columns:repeat(5,1fr);order:2}
  .main-product-img{min-height:420px}
  .tabs{overflow:auto;gap:28px;justify-content:flex-start;padding-inline:0}
  .tabs a{white-space:nowrap}
  .meta-icons{grid-template-columns:repeat(2,1fr)}
  .philosophy-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .quote-banner{grid-template-columns:1fr}
}
@media(max-width:480px){
  .products-grid,.collection-grid{grid-template-columns:1fr 1fr}
  .contact-strip-inner,.benefit-strip-inner,.value-grid,.contact-cards,.footer-grid{grid-template-columns:1fr}
  .hero-copy h1,.page-title,.collection-intro h1{font-size:38px}
  .product-info h1{font-size:38px}
}


.main-nav a.active{color:var(--accent)}
.product-card-link{display:block}
.product-card-link:hover .book{transform:translateY(-4px)}
.product-card .book{transition:transform .2s ease}

/* Keep product thumbnails beside the main product image in both FA and EN */
.gallery{direction:ltr}
body[dir="rtl"] .gallery{direction:ltr}
.gallery .thumbs{grid-column:1}
.gallery .main-product-img{grid-column:2}

@media(max-width:760px){
  .gallery{grid-template-columns:76px 1fr;gap:16px}
  .gallery .thumbs{grid-template-columns:1fr;order:initial}
  .gallery .main-product-img{min-height:360px}
}
@media(max-width:520px){
  .gallery{grid-template-columns:60px 1fr;gap:12px}
}

.breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.breadcrumb a{color:#555;transition:color .18s ease}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span:last-child{color:#999}


/* Product EN: thumbnails must sit on the outer right side, matching the locked LTR reference */
body[dir="ltr"] .gallery-en{
  display:grid;
  grid-template-columns:1fr 100px;
  gap:26px;
  direction:ltr;
}
body[dir="ltr"] .gallery-en .main-product-img{
  grid-column:1;
  grid-row:1;
}
body[dir="ltr"] .gallery-en .thumbs{
  grid-column:2;
  grid-row:1;
  display:grid;
  gap:16px;
  align-content:start;
}
@media(max-width:760px){
  body[dir="ltr"] .gallery-en{
    grid-template-columns:1fr 76px;
    gap:16px;
  }
  body[dir="ltr"] .gallery-en .main-product-img{grid-column:1;grid-row:1}
  body[dir="ltr"] .gallery-en .thumbs{grid-column:2;grid-row:1;grid-template-columns:1fr}
}
@media(max-width:520px){
  body[dir="ltr"] .gallery-en{
    grid-template-columns:1fr 60px;
    gap:12px;
  }
}


/* V5 definitive EN product gallery placement */
body[dir="ltr"] .product-layout .gallery-en{
  position:relative !important;
  display:block !important;
  direction:ltr !important;
  padding-right:118px !important;
  min-width:0;
}
body[dir="ltr"] .product-layout .gallery-en .main-product-img{
  display:grid !important;
  grid-column:auto !important;
  grid-row:auto !important;
  width:100% !important;
  min-height:650px;
}
body[dir="ltr"] .product-layout .gallery-en .thumbs{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  left:auto !important;
  width:92px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}
body[dir="ltr"] .product-layout .gallery-en .thumbs > div{
  width:92px !important;
  height:92px !important;
  aspect-ratio:1/1 !important;
}
@media(max-width:760px){
  body[dir="ltr"] .product-layout .gallery-en{padding-right:86px !important}
  body[dir="ltr"] .product-layout .gallery-en .main-product-img{min-height:420px}
  body[dir="ltr"] .product-layout .gallery-en .thumbs{width:68px !important;gap:10px !important}
  body[dir="ltr"] .product-layout .gallery-en .thumbs > div{width:68px !important;height:68px !important}
}
@media(max-width:480px){
  body[dir="ltr"] .product-layout .gallery-en{padding-right:68px !important}
  body[dir="ltr"] .product-layout .gallery-en .thumbs{width:54px !important}
  body[dir="ltr"] .product-layout .gallery-en .thumbs > div{width:54px !important;height:54px !important}
}


/* V6 FIX — dir is on HTML, so target html[dir="ltr"] */
html[dir="ltr"] .product-layout .gallery-en{
  position:relative !important;
  display:block !important;
  direction:ltr !important;
  padding-right:118px !important;
  min-width:0 !important;
}
html[dir="ltr"] .product-layout .gallery-en .main-product-img{
  display:grid !important;
  place-items:center !important;
  width:100% !important;
  min-height:650px !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
html[dir="ltr"] .product-layout .gallery-en .thumbs{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  left:auto !important;
  width:92px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
html[dir="ltr"] .product-layout .gallery-en .thumbs > div{
  width:92px !important;
  height:92px !important;
  aspect-ratio:1/1 !important;
}
@media(max-width:760px){
  html[dir="ltr"] .product-layout .gallery-en{padding-right:86px !important}
  html[dir="ltr"] .product-layout .gallery-en .main-product-img{min-height:420px !important}
  html[dir="ltr"] .product-layout .gallery-en .thumbs{
    width:68px !important;
    gap:10px !important;
  }
  html[dir="ltr"] .product-layout .gallery-en .thumbs > div{
    width:68px !important;
    height:68px !important;
  }
}
@media(max-width:480px){
  html[dir="ltr"] .product-layout .gallery-en{padding-right:68px !important}
  html[dir="ltr"] .product-layout .gallery-en .thumbs{width:54px !important}
  html[dir="ltr"] .product-layout .gallery-en .thumbs > div{
    width:54px !important;
    height:54px !important;
  }
}

:root{--pad:clamp(28px,4.2vw,68px)}
@media(min-width:1200px){.container{width:min(var(--max),calc(100% - 136px))}}
@media(max-width:760px){:root{--pad:22px}.container{width:calc(100% - 44px)}}

.logo{display:flex;align-items:center;min-width:94px}
.brand-logo-svg{width:78px;height:auto;display:block}
.site-footer .brand-logo-svg{width:72px}
.header-inner{grid-template-columns:150px 1fr 150px}
@media(max-width:760px){.brand-logo-svg{width:64px}.header-inner{grid-template-columns:1fr auto}}

.hero-slider{position:relative;width:100%;min-height:520px;overflow:hidden}
.hero-track{position:relative;min-height:520px}
.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;display:flex;align-items:center;justify-content:center;transition:opacity .6s ease}
.hero-slide.is-active{opacity:1;pointer-events:auto}
.hero-slide-placeholder{width:min(640px,100%);aspect-ratio:1.45/1;display:grid;place-items:center;background:#f7f7f7;border:1px solid #eee;color:#aaa}
.carousel-arrow{position:absolute;bottom:18px;z-index:5;width:38px;height:38px;border:0;background:transparent;font-size:42px;line-height:1;color:#111;cursor:pointer}
.hero-prev{left:4px}.hero-next{left:48px}
html[dir="rtl"] .hero-prev{left:auto;right:48px} html[dir="rtl"] .hero-next{left:auto;right:4px}
.hero-counter{position:absolute;z-index:5;inset-inline-end:0;bottom:18px;display:grid;gap:7px;font-size:13px;font-weight:700;text-align:center}
.hero-counter i{display:block;width:18px;height:1px;background:var(--accent);margin:auto}
@media(max-width:760px){.hero-slider,.hero-track{min-height:340px}.carousel-arrow{bottom:4px}.hero-counter{bottom:8px}}

.home-products-carousel,.people-carousel{position:relative}
.strip-arrow{position:absolute;top:50%;transform:translateY(-50%);inset-inline-end:-52px;width:44px;height:44px;border-radius:50%;border:1px solid #e5e5e5;background:#fff;box-shadow:0 4px 14px #00000012;font-size:24px;cursor:pointer;z-index:4}
.people-next{top:45%}
@media(max-width:1200px){.strip-arrow{inset-inline-end:-18px}}
@media(max-width:760px){.strip-arrow{inset-inline-end:-10px;width:38px;height:38px}}

.home-products-track{display:grid!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 5*34px)/6);grid-template-columns:none!important;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:4px}
.home-products-track::-webkit-scrollbar,.people-grid::-webkit-scrollbar{display:none}
.people-grid{display:grid!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 5*8px)/6);grid-template-columns:none!important;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}
@media(max-width:1100px){.home-products-track{grid-auto-columns:calc((100% - 2*24px)/3)}.people-grid{grid-auto-columns:calc((100% - 2*8px)/3)}}
@media(max-width:760px){.home-products-track{grid-auto-columns:calc((100% - 18px)/2)}.people-grid{grid-auto-columns:calc((100% - 8px)/2)}}

.wave-player{display:grid;grid-template-columns:1fr 72px 1fr;gap:14px;align-items:center;width:100%;max-width:760px;margin-inline:auto}
.wave-svg{width:100%;height:92px;display:block}
.wave-bars{fill:#111}
.wave-svg-right{transform:scaleX(-1)}
.wave-player .play{width:64px;height:64px;margin:0;border-radius:50%;background:#fff;box-shadow:0 4px 16px #00000018;border:1px solid #eee;display:grid;place-items:center;font-size:24px;padding-inline-start:4px}
.sound-visual p{max-width:430px;margin:4px auto 14px;color:#666}
.sound-visual .qr{margin-top:10px}
@media(max-width:760px){.wave-player{grid-template-columns:1fr 56px 1fr;gap:8px}.wave-svg{height:72px}.wave-player .play{width:52px;height:52px;font-size:20px}}

/* V8 waveform — thin vertical bars like approved reference */
.wave-player{
  grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr) !important;
  gap:18px !important;
  max-width:780px !important;
}
.wave-ref{
  height:78px !important;
  overflow:visible;
}
.wave-ref .wave-bars{
  fill:#111 !important;
}
.wave-ref rect{
  shape-rendering:geometricPrecision;
}
.wave-player .play{
  width:62px !important;
  height:62px !important;
}
@media(max-width:760px){
  .wave-player{
    grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) !important;
    gap:10px !important;
  }
  .wave-ref{height:62px !important}
  .wave-player .play{
    width:50px !important;
    height:50px !important;
  }
}

/* V9 — logo, arrows, 10s hero, contact repair */
.brand-logo-svg{display:none!important}
.brand-logo-img{display:block;width:74px;height:auto;object-fit:contain}
.site-footer .brand-logo-img{width:68px}
@media(max-width:760px){.brand-logo-img{width:62px}}

.nav-chevron{
  position:absolute;z-index:8;width:34px;height:42px;
  border:0!important;background:transparent!important;box-shadow:none!important;
  padding:0;cursor:pointer
}
.nav-chevron span{
  position:absolute;top:50%;left:50%;width:15px;height:15px;
  border-top:3px solid #111;border-right:3px solid #111
}
.hero-prev span,.strip-prev span,.people-prev span{transform:translate(-35%,-50%) rotate(-135deg)}
.hero-next span,.strip-next span,.people-next span{transform:translate(-65%,-50%) rotate(45deg)}

.hero-prev{bottom:16px;left:6px!important;right:auto!important}
.hero-next{bottom:16px;left:50px!important;right:auto!important}
html[dir="rtl"] .hero-prev{left:6px!important;right:auto!important}
html[dir="rtl"] .hero-next{left:50px!important;right:auto!important}

.home-products-carousel,.people-carousel{position:relative}
.strip-prev,.people-prev{top:45%;left:-46px;right:auto;transform:translateY(-50%)}
.strip-next,.people-next{top:45%;right:-46px;left:auto;transform:translateY(-50%)}
@media(max-width:1200px){
  .strip-prev,.people-prev{left:-24px}
  .strip-next,.people-next{right:-24px}
}
@media(max-width:760px){
  .strip-prev,.people-prev{left:-16px}
  .strip-next,.people-next{right:-16px}
  .nav-chevron{width:28px;height:36px}
  .nav-chevron span{width:12px;height:12px;border-width:2px}
}

.contact-page .contact-cards{
  width:min(var(--max),calc(100% - 2*var(--pad)));
  margin:38px auto;display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;background:#fafafa;overflow:hidden
}
.contact-page .contact-cards article{
  min-width:0;padding:34px 24px!important;margin:0!important;
  text-align:center;border-bottom:0!important;border-inline-end:1px solid #e1e1e1
}
.contact-page .contact-cards article:last-child{border-inline-end:0}

.contact-page .quote-banner{
  width:min(var(--max),calc(100% - 2*var(--pad)));
  margin:38px auto!important;min-height:116px;padding:24px 34px!important;
  display:grid!important;grid-template-columns:90px 1fr!important;
  align-items:center!important;gap:24px;background:#f8f1e8
}
html[dir="rtl"] .contact-page .quote-banner{grid-template-columns:1fr 90px!important}
.contact-page .quote-banner blockquote{margin:0!important;max-width:none;line-height:1.9}

@media(max-width:760px){
  .contact-page .contact-cards{grid-template-columns:1fr 1fr!important}
  .contact-page .contact-cards article{border-bottom:1px solid #e1e1e1!important}
  .contact-page .quote-banner,
  html[dir="rtl"] .contact-page .quote-banner{
    grid-template-columns:1fr!important;padding:24px!important
  }
}
@media(max-width:480px){.contact-page .contact-cards{grid-template-columns:1fr!important}}

/* V10 — brand name under logo */
.brand-lockup{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  line-height:1;
}
.brand-name-under-logo{
  display:block;
  font-family:"Inter",Arial,sans-serif;
  font-size:9px;
  font-weight:600;
  letter-spacing:1.9px;
  white-space:nowrap;
  color:#111;
  margin-left:1px;
}
html[dir="rtl"] .brand-lockup{
  align-items:flex-start;
}
.site-footer .brand-name-under-logo{
  font-size:8px;
  letter-spacing:1.5px;
}
@media(max-width:760px){
  .brand-name-under-logo{
    font-size:8px;
    letter-spacing:1.45px;
  }
}

/* V11 real content assets */
.real-product-img{width:78%;height:92%;object-fit:contain;display:block;margin:auto}
.real-person-img{width:100%;aspect-ratio:.77;object-fit:cover;display:block;filter:grayscale(1)}
.hero-real-image{width:min(650px,100%);height:100%;max-height:500px;object-fit:contain;display:block}
.product-main-real{width:62%;max-height:620px;object-fit:contain;display:block}
.thumbs img{width:100%;height:100%;object-fit:contain}

/* V12 requested content behavior */
.product-card .thumb{height:285px;display:grid;place-items:center}
.product-card .real-product-img{width:auto!important;height:245px!important;max-width:92%;object-fit:contain}
.product-card-link .thumb{transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.product-card-link:hover .thumb{transform:translateY(-7px);box-shadow:0 14px 30px rgba(0,0,0,.10);background:#fafafa}
.product-card-link:hover h3{text-decoration:underline;text-underline-offset:4px}
.portrait-frame{height:220px;overflow:hidden;background:#eee}
.portrait-frame img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transform:scale(1.18)}
.portrait-only b{display:block;margin-top:12px}
.qr-real{background:none!important;padding:0!important;width:88px!important;height:88px!important;overflow:hidden}
.qr-real img{width:100%;height:100%;object-fit:cover;object-position:center}
.dynamic-product-heading{margin-bottom:18px}
.dynamic-product-heading h1{font-size:clamp(30px,4vw,58px);margin:0 0 5px}
.dynamic-product-heading p{margin:0;color:#777}
@media(max-width:760px){.product-card .thumb{height:225px}.product-card .real-product-img{height:195px!important}.portrait-frame{height:180px}}


/* V13 — definitive Persian font fix */
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

/* Keep the Latin brand lockup in Inter */
html[dir="rtl"] .brand-name-under-logo {
  font-family: "Inter", Arial, sans-serif !important;
}

/* V14 — section 3 uses actual left biography pages */
.people-grid{display:flex!important;gap:12px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}
.people-grid::-webkit-scrollbar{display:none}
.bio-page-card{flex:0 0 235px}
.bio-page-frame{height:285px;overflow:hidden;background:#f5f2ed}
.bio-page-frame img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:filter .35s ease,transform .35s ease}
.bio-page-card:hover .bio-page-frame img{filter:grayscale(0);transform:scale(1.025)}
.bio-page-card b{display:block;margin-top:10px}
@media(max-width:760px){.bio-page-card{flex-basis:190px}.bio-page-frame{height:235px}}

/* V15 footer direct contact */
.footer-direct-contact{
  display:flex;flex-wrap:wrap;gap:10px 24px;
  padding:18px var(--page-pad,32px) 22px;
  border-top:1px solid #e8e8e8;font-size:13px;
}
.footer-direct-contact a{color:inherit;text-decoration:none}
.footer-direct-contact a:hover{text-decoration:underline}
[dir="rtl"] .footer-direct-contact{direction:ltr;justify-content:flex-end}

/* V17 visible contact strip above footer */
.footer-contact-strip{
  width:calc(100% - 64px); margin:24px auto 0; padding:20px 0;
  border-top:1px solid #dedede; border-bottom:1px solid #dedede;
  display:grid; grid-template-columns:repeat(4,1fr); direction:ltr;
}
.footer-contact-strip a{
  min-width:0; padding:4px 18px; text-align:center; color:#111;
  text-decoration:none; border-right:1px solid #e4e4e4;
  display:flex; flex-direction:column; gap:6px;
}
.footer-contact-strip a:last-child{border-right:0}
.footer-contact-strip strong{font-size:13px}
.footer-contact-strip span{font-size:12px;direction:ltr}
.footer-contact-strip a:hover strong{color:#e21}
@media(max-width:760px){
 .footer-contact-strip{width:calc(100% - 32px);grid-template-columns:1fr 1fr}
 .footer-contact-strip a{padding:12px 8px;border-bottom:1px solid #eee}
}

/* V20 — real contact details integrated into existing footer */
.footer-brand-contacts{
 display:flex;flex-wrap:wrap;gap:12px 28px;
 padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #e5e5e5;
 font-size:12px;align-items:center;
}
.footer-brand-contacts a{color:#111;text-decoration:none;display:flex;gap:7px;align-items:center}
.footer-brand-contacts span{direction:ltr}
.footer-brand-contacts a:hover{text-decoration:underline}
html[dir="rtl"] .footer-brand-contacts{justify-content:flex-start}
@media(max-width:760px){
 .footer-brand-contacts{display:grid;grid-template-columns:1fr;gap:10px}
}

/* V21 — Home footer cleanup */
.footer-brand-contacts{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 0 26px !important;
  padding:0 0 22px !important;
  border-bottom:1px solid #e6e6e6;
  align-items:start;
}
.footer-brand-contacts a{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:0 18px;
  border-inline-end:1px solid #ececec;
  text-decoration:none;
  color:#111;
  min-width:0;
}
.footer-brand-contacts a:last-child{border-inline-end:0}
.footer-brand-contacts span{
  direction:ltr;
  unicode-bidi:embed;
  font-size:12px;
  color:#555;
  overflow-wrap:anywhere;
}
.footer-brand-contacts a:hover{opacity:.68}

/* Kill any leftover empty newsletter boxes in Home footer */
footer form:empty,
footer .newsletter:empty,
footer .subscribe:empty,
footer .footer-form:empty,
footer .newsletter-box:empty,
footer .subscribe-box:empty{
  display:none !important;
}

/* Prevent footer contact info from escaping below the footer grid */
footer{
  overflow:hidden;
}
footer .container{
  position:relative;
}

@media(max-width:760px){
  .footer-brand-contacts{
    grid-template-columns:1fr 1fr;
    row-gap:18px;
  }
  .footer-brand-contacts a{
    border-inline-end:0;
    padding:0;
  }
}
@media(max-width:480px){
  .footer-brand-contacts{
    grid-template-columns:1fr;
  }
}

/* Product gallery thumbnail interaction */
#productThumbs > div{cursor:pointer;transition:border-color .18s ease,opacity .18s ease}
#productThumbs > div:hover{border-color:#999}
#productThumbs > div.active{border-color:#111}

/* Related products: use the real notebook assets */
.related-products-section .products-grid{
  align-items:start;
}
.related-products-section .product-card .thumb{
  height:230px;
  display:grid;
  place-items:center;
}
.related-products-section .real-product-img{
  width:auto !important;
  height:205px !important;
  max-width:92%;
  object-fit:contain;
  display:block;
  margin:auto;
}
.related-product-card:hover .thumb{
  transform:translateY(-5px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
@media(max-width:760px){
  .related-products-section .product-card .thumb{height:190px}
  .related-products-section .real-product-img{height:165px !important}
}

/* Approved Philosophy page */
.ph-new{max-width:1180px;margin:28px auto;display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:stretch}
.ph-photo{min-height:390px;background:#eee center/cover no-repeat;border-radius:2px}
.ph-photo-hero{background-image:url("../images/philosophy-approved-reference.png");background-position:6% 7%;background-size:205% auto}
.ph-photo-writing{background-image:url("../images/philosophy-approved-reference.png");background-position:94% 37%;background-size:205% auto}
.ph-copy{padding:48px 20px;display:flex;flex-direction:column;justify-content:center}
.ph-copy h1{font-size:38px;line-height:1.45;margin:8px 0 22px}
.red-dot{color:#f11}
.ph-copy>p{line-height:2;max-width:560px}
.ph-values{display:grid;grid-template-columns:repeat(3,1fr);margin-top:34px;border-top:1px solid #ddd}
.ph-values div{padding:24px 18px;text-align:center;border-inline-start:1px solid #ddd}
.ph-values div:first-child{border-inline-start:0}
.ph-values b,.ph-values span{display:block}.ph-values span{font-size:13px;line-height:1.8;margin-top:9px;color:#555}
.belief{margin-top:10px}
.ph-text-card{padding:38px 34px;background:#faf9f7;display:flex;flex-direction:column;justify-content:center}
.ph-text-card h2{font-size:27px;margin-bottom:20px}.ph-text-card p{margin:0;padding:12px 0;border-bottom:1px solid #e5e1dc;line-height:1.8}
.ph-quote{max-width:1180px;margin:18px auto;display:grid;grid-template-columns:1fr 2fr 1fr;min-height:190px;background:#f7f2eb;align-items:center}
.ph-quote .ph-photo{min-height:190px;border-radius:0}
.ph-photo-still{background-image:url("../images/philosophy-approved-reference.png");background-position:5% 70%;background-size:410% auto}
.ph-photo-stack{background-image:url("../images/philosophy-approved-reference.png");background-position:96% 70%;background-size:410% auto}
.ph-quote blockquote{text-align:center;font-size:24px;line-height:1.7;padding:25px}
.ph-closing{max-width:1180px;margin:18px auto 48px;padding:26px;text-align:center;background:#fafafa;font-size:18px;line-height:1.9}
html[dir="rtl"] .ph-copy,html[dir="rtl"] .ph-text-card{text-align:right}
@media(max-width:800px){
 .ph-new{grid-template-columns:1fr;margin:16px}.ph-copy{padding:25px 8px}.ph-copy h1{font-size:29px}
 .ph-values{grid-template-columns:1fr}.ph-values div{border-inline-start:0;border-bottom:1px solid #ddd}
 .ph-quote{margin:16px;grid-template-columns:1fr}.ph-quote .ph-photo{min-height:160px}.ph-closing{margin:16px}
}

/* Philosophy image fix: photo-only assets, exact frame fill */
.ph-photo{
  overflow:hidden;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:cover !important;
}
.ph-photo-hero{
  background-image:url("../images/philosophy-hero-photo.jpg") !important;
}
.ph-photo-writing{
  background-image:url("../images/philosophy-writing-photo.jpg") !important;
}
.ph-photo-still{
  background-image:url("../images/philosophy-writing-photo.jpg") !important;
}
.ph-photo-stack{
  background-image:url("../images/philosophy-stack-photo.jpg") !important;
}

.story-page span{color:#e21}
.story-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;padding:48px 0 78px}
.story-photo{min-height:540px;overflow:hidden}.story-photo img{width:100%;height:540px;object-fit:cover;display:block}
.story-copy h1,.story-text h2,.story-belief h2,.story-designer h2{font-size:clamp(32px,4vw,60px);line-height:1.15;margin:8px 0 24px}
.story-copy p,.story-text p,.story-belief p,.story-designer p{line-height:2;color:#444}
.story-kicker{font-size:12px;color:#777;margin:0 0 10px}.story-num{color:#e21;font:600 12px Inter,Arial}
.story-block{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:88px 0;border-top:1px solid #e6e6e6}
.story-four{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ddd;border-left:1px solid #ddd}
.story-four div{min-height:170px;padding:26px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;display:flex;flex-direction:column;justify-content:flex-end}
.story-four small,.story-pillars small{color:#e21;font:600 11px Inter,Arial;margin-bottom:auto}.story-four strong,.story-pillars strong{font-size:22px;margin:14px 0 6px}.story-four p,.story-pillars p{font-size:13px;color:#666;margin:0}
.story-manifesto{background:#111;color:#fff;text-align:center;padding:78px 0}.story-manifesto h2{font:600 clamp(28px,4vw,60px) Inter,Arial;letter-spacing:.08em;margin:0}.story-manifesto p{color:#aaa;margin-top:15px}
.story-pillars{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ddd;border-bottom:1px solid #ddd}.story-pillars div{padding:30px;min-height:190px;border-inline-start:1px solid #ddd}.story-pillars div:first-child{border-inline-start:0}
.story-belief{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;padding:88px 0;border-top:1px solid #e6e6e6}.story-belief p{padding:13px 0;margin:0;border-bottom:1px solid #e6e6e6}.story-belief blockquote{background:#f5efe6;margin:0;padding:46px;font-size:clamp(24px,2.6vw,38px);line-height:1.65;display:flex;align-items:center}
.story-designer{display:grid;grid-template-columns:.3fr .7fr;gap:70px;padding:78px 0;border-top:1px solid #e6e6e6}.story-designer strong,.story-designer small{display:block}.story-designer small{font:500 11px Inter,Arial;color:#777;margin-top:6px}
.story-end{background:#f5f5f3;text-align:center;padding:82px 0}.story-end p{font-size:clamp(24px,3vw,40px);line-height:1.7;margin:0 0 24px}.story-end small{font:600 11px Inter,Arial;letter-spacing:.14em;color:#777}
html[dir="rtl"] .story-copy h1,html[dir="rtl"] .story-text h2,html[dir="rtl"] .story-belief h2,html[dir="rtl"] .story-designer h2{line-height:1.45}
@media(max-width:900px){.story-hero,.story-block,.story-belief,.story-designer{grid-template-columns:1fr}.story-pillars{grid-template-columns:1fr}.story-photo,.story-photo img{height:420px;min-height:420px}}
@media(max-width:600px){.story-four{grid-template-columns:1fr}.story-manifesto h2{font-size:24px;letter-spacing:.03em}}

/* Contact page approved concept */
.contact-new{background:#f6f2ec;color:#111}
.contact-hero{display:grid;grid-template-columns:1.18fr .82fr;min-height:610px;background:#111;color:#fff}
.contact-hero-photo{overflow:hidden;min-height:610px}
.contact-hero-photo img{width:100%;height:100%;min-height:610px;object-fit:cover;display:block}
.contact-hero-copy{padding:90px 8vw 70px 7vw;display:flex;flex-direction:column;justify-content:center;background:#111}
.contact-hero-copy .contact-kicker{color:#aaa}
.contact-hero-copy h1{font-size:clamp(52px,6vw,92px);line-height:1.08;margin:12px 0 32px;font-weight:500;letter-spacing:-.035em}
html[dir="rtl"] .contact-hero-copy h1{line-height:1.35;letter-spacing:0}
.contact-hero-copy h1 span,.contact-form-wrap h2 span{color:#e21}
.contact-rule{width:64px;height:1px;background:#aaa;margin:6px 0 24px}
.contact-sub{font:500 13px/1.4 "Inter",Arial,sans-serif;letter-spacing:.18em;color:#ccc;margin:0}
.contact-panel{display:grid;grid-template-columns:.68fr 1.32fr;gap:0;padding:72px 0 64px}
.contact-info{padding:18px 52px 10px 0;border-inline-end:1px solid #d9d1c7}
html[dir="rtl"] .contact-info{padding:18px 0 10px 52px}
.contact-kicker{font-size:12px;color:#7d756d;margin:0 0 8px}
.contact-info h2,.contact-form-wrap h2{font-size:26px;margin:0 0 34px}
.contact-row{display:grid;grid-template-columns:58px 1fr;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #ded7cf;text-decoration:none;color:#111}
.contact-icon{width:52px;height:52px;border:1px solid #cfc8c0;display:grid;place-items:center;font-size:24px;background:#fff}
.contact-row b,.contact-row span{display:block}.contact-row b{font-size:14px;margin-bottom:5px}.contact-row span{font-size:13px;color:#444;direction:ltr;unicode-bidi:embed}
.contact-row:hover{opacity:.7}
.contact-form-wrap{padding:18px 0 10px 52px}
html[dir="rtl"] .contact-form-wrap{padding:18px 52px 10px 0}
.contact-form{display:flex;flex-direction:column;gap:18px}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-form label{font-size:12px;color:#555;display:flex;flex-direction:column;gap:8px}
.contact-form input,.contact-form textarea{width:100%;box-sizing:border-box;border:1px solid #cec7bf;background:#fff;padding:16px 17px;font:inherit;color:#111;outline:none}
.contact-form textarea{resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{border-color:#111}
.contact-form button{border:0;background:#111;color:#fff;padding:18px 24px;font:600 13px/1 "Inter",Arial,sans-serif;letter-spacing:.07em;cursor:pointer;display:flex;justify-content:center;gap:16px;align-items:center}
.contact-form button span{color:#fff;font-size:18px}
.contact-note{border-top:1px solid #d8d0c8;padding:44px 0 54px;text-align:center;background:#f6f2ec}
.contact-note-icon{font-size:28px;margin-bottom:15px}
.contact-note p{font-size:18px;margin:0 0 8px}
.contact-note small{font:500 10px/1.5 "Inter",Arial,sans-serif;letter-spacing:.12em;color:#777}
@media(max-width:900px){
  .contact-hero{grid-template-columns:1fr;min-height:0}
  .contact-hero-photo,.contact-hero-photo img{min-height:420px;height:420px}
  .contact-hero-copy{padding:48px 32px 52px}
  .contact-panel{grid-template-columns:1fr;padding:48px 0}
  .contact-info,.contact-form-wrap,html[dir="rtl"] .contact-info,html[dir="rtl"] .contact-form-wrap{padding:0}
  .contact-info{border-inline-end:0;border-bottom:1px solid #d9d1c7;padding-bottom:40px!important;margin-bottom:40px}
}
@media(max-width:600px){
  .contact-hero-photo,.contact-hero-photo img{min-height:340px;height:340px}
  .contact-hero-copy h1{font-size:48px}
  .form-pair{grid-template-columns:1fr}
  .contact-row{grid-template-columns:50px 1fr}
  .contact-icon{width:46px;height:46px}
}

/* Mobile navigation fix */
.mobile-menu-button{
  display:none;width:42px;height:42px;border:0;border-radius:4px;
  background:#e5e5e5;padding:9px;cursor:pointer;
}
.mobile-menu-button span{display:block;height:2px;background:#111;margin:4px 0;width:100%}
.mobile-nav-drawer{position:fixed;inset:0;z-index:9999;pointer-events:none;visibility:hidden}
.mobile-nav-drawer.is-open{pointer-events:auto;visibility:visible}
.mobile-nav-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:opacity .2s}
.mobile-nav-drawer.is-open .mobile-nav-backdrop{opacity:1}
.mobile-nav-panel{
  position:absolute;top:0;bottom:0;width:min(82vw,360px);background:#fff;
  padding:86px 28px 28px;display:flex;flex-direction:column;
  box-shadow:0 0 28px rgba(0,0,0,.15);transition:transform .24s ease;
  left:0;transform:translateX(-105%);
}
html[dir="rtl"] .mobile-nav-panel{left:auto;right:0;transform:translateX(105%)}
.mobile-nav-drawer.is-open .mobile-nav-panel{transform:translateX(0)}
.mobile-nav-panel a{padding:17px 0;border-bottom:1px solid #ececec;color:#111;text-decoration:none;font-size:18px}
.mobile-nav-close{position:absolute;top:24px;right:24px;border:0;background:transparent;font-size:34px;cursor:pointer}
html[dir="rtl"] .mobile-nav-close{right:auto;left:24px}
html.menu-open,html.menu-open body{overflow:hidden}
@media(max-width:900px){
  .mobile-menu-button{display:flex;flex-direction:column;justify-content:center}
  header nav:not(.mobile-nav-panel), .desktop-nav{display:none!important}
  .bottom-menu,.footer-menu-extra,.mobile-footer-menu{display:none!important}
}

/* v3: one mobile menu button + clean footer */
@media(max-width:900px){
.header-actions .menu-icon{display:none!important}
.site-header{position:relative}
.mobile-menu-button{position:absolute;top:50%;transform:translateY(-50%);z-index:5}
html[dir="rtl"] .mobile-menu-button{left:16px;right:auto}
html:not([dir="rtl"]) .mobile-menu-button{right:16px;left:auto}
}
.clean-footer{border-top:1px solid #e5e5e5;padding:28px 0;background:#fff}
.clean-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.clean-footer-brand{display:flex;align-items:center;gap:16px}
.clean-footer-brand .brand-logo-img{width:38px;height:auto}
.clean-footer-brand p{margin:0;font-size:12px;color:#666}
.clean-footer-nav{display:flex;align-items:center;gap:28px}
.clean-footer-nav a{color:#111;text-decoration:none;font-size:13px;margin:0}
.clean-footer-nav a:hover{opacity:.55}
@media(max-width:700px){
.clean-footer-inner{flex-direction:column;align-items:flex-start;gap:22px}
.clean-footer-nav{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #eee}
.clean-footer-nav a{padding:14px 0;border-bottom:1px solid #eee}
.clean-footer-brand{align-items:flex-start}
}

/* v4: mobile menu sits beside language switch, never on top of it */
@media(max-width:900px){
  .site-header .container,
  .site-header .header-inner,
  header .container{
    position:relative;
  }
  .mobile-menu-button{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:42px!important;
    height:42px!important;
  }
  /* Persian: language control is at left; menu moves inward beside it */
  html[dir="rtl"] .mobile-menu-button{
    left:72px!important;
    right:auto!important;
  }
  /* English: language control is at right; menu moves inward beside it */
  html:not([dir="rtl"]) .mobile-menu-button{
    right:72px!important;
    left:auto!important;
  }
}

/* v5 */
.contact-hero{align-items:stretch!important}
.contact-hero-photo,.contact-hero-copy{height:610px!important;min-height:610px!important;box-sizing:border-box!important}
.contact-hero-photo img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;display:block!important}
@media(max-width:900px){
.contact-hero-photo,.contact-hero-copy{min-height:0!important}
.contact-hero-photo{height:420px!important}.contact-hero-copy{height:auto!important}.contact-hero-photo img{height:100%!important}
.mobile-menu-button{padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.mobile-menu-button span{display:none!important}
.mobile-menu-button::after{content:"MENU";font:600 8px/1 "Inter",Arial,sans-serif;letter-spacing:.08em;color:#111}
html[dir="rtl"] .mobile-menu-button::after{content:"منو";font-family:inherit;font-size:10px;letter-spacing:0}
}
@media(max-width:600px){.contact-hero-photo{height:340px!important}}
