/* Farzatshi social storefront — blue/white, RTL and mobile first. */
:root{color:#182b49;background:#f0f2f5}body{background:#f0f2f5}.topbar{height:72px;padding:0 max(24px,calc((100vw - 1440px)/2));gap:28px;box-shadow:0 2px 8px #172b4d08;border-bottom:1px solid #e0e6ef}.brand{font-size:30px;letter-spacing:-1px}.brand span{display:none}.search{width:min(36vw,440px);border-radius:9px;padding:9px 16px}.search input{font-size:14px}.topnav{gap:8px;margin-inline-start:auto;margin-inline-end:0}.topnav button{width:58px;font-size:29px}.market-account{gap:7px}.market-account button{background:#f0f3f8;color:#304d74;padding:9px 12px}.layout{max-width:1440px;grid-template-columns:230px minmax(0,1fr);gap:24px;padding:24px}.sidebar{background:#fff;border:1px solid #e2e7ef;border-radius:12px;top:96px;height:auto;max-height:calc(100dvh - 120px);overflow:auto;align-self:start;padding:20px 12px;display:flex}.sidebar h2{font-size:19px;margin:0 12px 15px}.sidebar .filters{margin:0;gap:7px}.filters button{display:flex;align-items:center;gap:15px;padding:13px 15px;border-radius:8px;font-weight:600;background:white;color:#263e5f;min-height:50px}.filters button.chosen{background:#1877f2;color:white}.category-icon{width:24px;text-align:center;font:25px Arial}.market-nav{display:grid;border-top:1px solid #e9edf4;padding-top:16px;margin:18px 0 0;gap:6px}.market-nav button{background:transparent;text-align:right;color:#526681;padding:10px;font-size:13px}.market-nav button:hover{background:#eff5ff;color:#1877f2}main{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:18px 24px;align-items:start}.cover,.profile-top,.profile-tabs{display:none}.profile{grid-column:1;grid-row:1;border:1px solid #e1e6ed;border-radius:12px;padding:20px;background:#fff}.composer-lead{display:flex;align-items:center;gap:13px;padding-bottom:18px;border-bottom:1px solid #edf0f5}.composer-avatar{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:50%;background:#e7f0ff;color:#1877f2;font:700 27px Georgia}.composer-lead h1{font-size:16px;color:#526782;font-weight:500;margin:0 0 3px}.composer-lead p{font-size:12px;color:#7b8798;margin:0}.composer-actions{display:flex;align-items:center;gap:12px;padding-top:15px}.composer-actions .primary{margin:0;min-height:42px;padding:9px 20px;font-size:14px}.composer-actions #join-seller{background:#edf4ff;color:#1877f2;margin-inline-start:auto}.content-columns{display:contents}.feed{grid-column:1;min-width:0}.info-column{grid-column:2;grid-row:1 / span 3;position:sticky;top:96px;min-width:0;display:block}.info-column .card{padding:20px;margin:0 0 18px;border-color:#e1e6ed}.info-column h2{font-size:17px;margin:0 0 13px}.info-column p{font-size:13px;color:#718097;line-height:1.9}.followed-card button{width:100%;background:#edf4ff;color:#1877f2;font-weight:600;padding:11px 5px;border-radius:8px;font-size:13px}.how-card b{display:inline-grid;place-items:center;width:24px;height:24px;background:#eff4fc;color:#1877f2;border-radius:50%;margin-left:5px}.how-card small{display:block;border-top:1px solid #edf0f5;padding-top:14px;color:#8994a5;font-size:11px;line-height:1.9}.feed-heading{margin:0 2px 12px}.feed-heading h2{font-size:17px}.commerce-search{padding:12px 16px;margin:0 0 16px}.commerce-search summary{font-size:13px;color:#536985}.card{border-color:#e0e6ee;border-radius:12px;box-shadow:0 2px 4px #172b4d03}.post-head{padding:18px 20px 4px}.post-avatar{background:#e8f0ff;color:#1877f2;width:44px;height:44px}.shop-link{color:#203857;font-size:15px}.post-copy{padding:0 20px 12px}.post-copy h3{font-size:17px;margin:6px 0}.market-price{font-size:21px;line-height:1.4}.commerce-product-info{margin-top:8px}.commerce-product-info p{font-size:12px;color:#77849a;line-height:1.8}.commerce-card-actions{gap:5px;margin-top:9px}.commerce-card-actions button{font-size:11px;padding:6px 9px;border:0;background:#f0f4fa;color:#526982}.post-media{margin:0 14px;overflow:hidden;border-radius:8px;background:#f4f6fa}.product-image{height:auto;max-height:620px;object-fit:contain;background:#f4f6fa}.social-actions{margin:8px 14px 0;padding:7px 0;border-top:0;gap:3px;border-bottom:1px solid #eef1f5}.social-actions button{min-height:40px;font-size:13px;color:#566b88}.market-whatsapp{width:calc(100% - 28px);margin:10px 14px 16px;background:#16a34a;color:white;border-radius:7px;padding:12px;font-size:14px}.market-whatsapp:hover{background:#12883e}.market-panel{grid-column:1 / -1;margin:0;min-width:0}.market-footer{grid-column:1 / -1;font-size:11px;line-height:1.9;padding:10px 0 25px;color:#8894a5}.install-banner{grid-column:1 / -1;grid-row:5;padding:10px 16px;margin:0;background:#e8f1ff;border-radius:10px}.install-banner strong{font-size:14px}.install-banner span{font-size:12px}.install-banner button{padding:8px 12px;font-size:12px;width:auto}.categories-toggle,.mobile-navigation{display:none}.market-pagination button{min-height:42px}#toast{z-index:100;background:#1d3760}.market-dialog button:not(.dialog-close){min-height:40px}.market-form{width:100%}.market-form input,.market-form select{min-width:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #84b5fc;outline-offset:3px}
@media(max-width:1150px){.layout{grid-template-columns:200px minmax(0,1fr);gap:18px;padding:18px}main{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.topbar{gap:18px;padding:0 20px}.brand{font-size:25px}.info-column .card{padding:16px}.market-account button{font-size:12px}.search{width:30vw}}
@media(max-width:980px){main{display:block}.profile{margin-bottom:18px}.content-columns{display:block;margin:0}.info-column{display:none}.market-panel{margin-bottom:18px}.install-banner{margin-top:18px}.sidebar{display:flex}.market-footer{padding:18px 0}.topnav{display:none}.search{flex:1;width:auto}.market-account{margin-inline-start:auto}.layout{max-width:950px}}
@media(max-width:650px){body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.topbar{padding:10px 14px;gap:9px 14px;min-height:106px;height:auto;display:flex;flex-wrap:wrap;z-index:20}.brand{font-size:27px;order:0}.market-account{order:1;gap:5px}.market-account button{font-size:11px;padding:7px 9px;min-height:35px}.search{order:2;flex:1 0 100%;padding:5px 12px;border-radius:8px}.search input{font-size:13px}.search span{font-size:25px}.layout{display:flex;flex-direction:column;padding:12px 10px;gap:0}.layout main{width:100%;display:flex;flex-direction:column;gap:0}.sidebar{display:none;position:static;max-height:none;width:100%;margin:0 0 12px;padding:14px;order:0}.sidebar.mobile-open{display:flex}.sidebar h2{font-size:17px}.sidebar .filters{gap:4px}.sidebar .filters button{padding:9px 13px;min-height:44px}.categories-toggle{display:block;width:100%;text-align:center;background:#e5eaf2;border-radius:8px;padding:10px;margin:0 0 12px;font-size:13px;font-weight:600;color:#405877}.profile{width:100%;padding:14px;margin-bottom:15px;border-radius:10px}.composer-lead{gap:10px;padding-bottom:12px}.composer-lead h1{font-size:14px}.composer-lead p{font-size:11px}.composer-avatar{width:38px;height:38px;font-size:23px}.composer-actions{gap:8px;padding-top:12px}.composer-actions .primary{flex:1;padding:8px;font-size:13px;min-height:40px}.content-columns{display:block;width:100%}.feed-heading{margin-bottom:10px}.feed-heading h2{font-size:15px}.feed-heading span{font-size:10px}.commerce-search{padding:10px 13px}.post-head{padding:14px 14px 3px}.post-copy{padding:0 14px 11px}.post-copy h3{font-size:16px}.market-price{font-size:19px}.post-media{margin:0 10px;border-radius:6px}.product-image{height:auto;max-height:520px;width:100%;object-fit:contain}.commerce-card-actions button{font-size:10px;padding:6px}.social-actions{margin:6px 10px 0;flex-wrap:nowrap}.social-actions button{font-size:11px;padding:7px 3px;min-width:0}.market-whatsapp{width:calc(100% - 20px);margin:8px 10px 12px;font-size:13px;padding:11px}.card{margin-bottom:14px}.mobile-navigation{position:fixed;bottom:0;inset-inline:0;z-index:30;display:flex;align-items:center;justify-content:space-around;background:#fff;border-top:1px solid #e0e6ed;padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 15px #1b365b08}.mobile-navigation button{display:flex;flex-direction:column;align-items:center;gap:1px;flex:1;color:#60738d;padding:3px;border-radius:8px}.mobile-navigation button span{font:26px Arial;line-height:28px}.mobile-navigation button small{font-size:10px}.mobile-navigation button.active{color:#1877f2;background:#f0f6ff}.market-panel{width:100%;padding:16px}.market-footer{width:100%;font-size:10px}.install-banner{width:100%;margin-top:5px;order:5;flex-wrap:nowrap;padding:10px;gap:8px}.install-banner strong{font-size:12px}.install-banner span{display:none}.install-banner button{width:auto;font-size:11px;padding:8px}.market-dialog{padding:18px;width:calc(100% - 24px)}#toast{bottom:90px;width:max-content;max-width:90vw;text-align:center;font-size:13px}.gallery{grid-template-columns:1fr}.gallery .product-image{height:auto}.gallery .post-head{display:flex}}
@media(min-width:651px) and (max-width:980px){.layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;padding:16px}.sidebar{height:auto;padding:16px 10px}.sidebar .filters button{padding:10px;font-size:13px}.market-nav button{font-size:12px}.topbar{gap:12px}.market-account button{padding:8px;font-size:11px}}

.settings-dialog select{display:block;width:100%;padding:12px;margin:10px 0 20px;border:1px solid #ccd3dc;border-radius:8px;background:white;font-size:16px}.settings-account{display:grid;gap:10px}.settings-account button{padding:12px;background:#edf4ff;color:#165ab3;border-radius:8px}.settings-account [hidden]{display:none!important}#settings-button{min-height:44px}.settings-dialog label{font-weight:600}@media(max-width:650px){.market-account .desktop-notifications{display:none!important}}

.market-form label[hidden]{display:none!important}.video-preview{position:relative;display:block;width:100%;padding:0;background:#142338}.video-preview span{position:absolute;inset-inline:15%;top:45%;background:#172b4ddd;color:white;padding:15px;border-radius:12px;font-weight:700}.product-video{display:block;width:100%;max-height:650px;background:#111}

.post-type-choices{display:flex;gap:14px}.post-type-choices button{flex:1;padding:22px 12px;background:#edf4ff;color:#1877f2;border-radius:12px;font-size:18px}.product-video{max-height:60vh}.market-form input[type=search]{font-size:16px}
