/* Social shopping, October 2026. Shared with installed web application. */
:root{--social-blue:#1877f2;--social-ink:#172d4d;--social-line:#e5ebf3}
body{background:#f4f7fc;color:var(--social-ink)}[hidden]{display:none!important}
.layout{max-width:1390px;grid-template-columns:220px minmax(0,1fr)}main{grid-template-columns:minmax(0,650px) minmax(180px,240px);justify-content:center;gap:18px}
.topbar{background:#fff;box-shadow:none}.search{border-radius:30px;background:#f2f5fa}.search input{min-height:32px}.brand{color:var(--social-blue)}
.sidebar{border:0;background:transparent;padding:8px;scrollbar-width:thin}.filters button{background:transparent;font-size:14px;min-height:44px;padding:10px 12px}.filters button.chosen{background:#e4efff;color:#1261ca}.market-nav button{min-height:44px}
.social-feed-tabs{grid-column:1;display:flex;gap:8px;background:white;border:1px solid var(--social-line);border-radius:16px;padding:6px}.social-feed-tabs button{flex:1;padding:13px;font-size:16px;font-weight:700;border-radius:10px;color:#60718a}.social-feed-tabs button[aria-pressed=true]{background:#eaf2ff;color:#1264d5}
.profile{grid-row:auto;border-radius:16px;padding:16px}.composer-lead{border:0;padding:0}.composer-avatar{border-radius:50%;background:#edf4ff}.composer-lead h1{font-weight:700;color:#233b5a}.composer-lead p{margin-top:5px}.composer-actions{padding-top:12px}.composer-actions .primary{border-radius:10px}.composer-actions #join-seller{background:transparent}.feed-heading span{display:none}.feed-heading{padding:4px 5px}.info-column{grid-row:1 / span 5}.social-welcome{padding:18px 8px 28px}.social-welcome>span{color:#1877f2;font-size:12px;font-weight:700}.social-welcome h2{font-size:25px;line-height:1.6;margin:10px 0}.social-welcome p{line-height:1.9;color:#70829c;font-size:14px}
.card[data-post]{overflow:visible;border-radius:16px;box-shadow:0 4px 20px #21365d04;margin-bottom:22px}.post-head{padding:16px;gap:10px;align-items:center}.post-head>div:first-of-type{flex:1;min-width:0}.post-head small{display:block;font-size:11px;color:#71839a;margin-top:4px}.post-avatar{width:42px;height:42px}.post-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.shop-link{font-weight:700}.post-head .store-follow{margin:0;background:#edf4ff;color:#1767d3;border-radius:8px;min-height:38px;padding:8px 12px;font-size:12px}.post-options{margin:0}.post-options summary{min-width:32px;min-height:38px;display:grid;place-items:center;font-size:24px}.post-options-list{z-index:12;background:#fff;box-shadow:0 6px 25px #19345326;min-width:160px}.post-media{margin:0;border-radius:0;min-height:180px;background:#f0f3f7}.product-image{display:block;width:100%;max-height:660px;object-fit:contain;background:#f0f3f7}.post-copy{padding:14px 16px 4px}.post-copy h3{font-size:18px;margin:0 0 6px}.post-copy>p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.market-price{color:#1267de;font-size:22px;font-weight:750}.commerce-product-info p{font-size:12px}.commerce-card-actions{display:flex;flex-wrap:wrap}.commerce-card-actions button{min-height:34px;border-radius:8px}.social-actions{margin:6px 16px 0;padding:8px 0;display:flex;border-bottom:1px solid var(--social-line)}.social-actions button{flex:1;min-height:44px;font-size:14px;color:#3e5372}.social-actions button[aria-pressed=true]{color:#1877f2;background:#eff5ff;border-radius:9px}.social-purchase-row{display:flex;gap:10px;align-items:center;padding:12px 16px 16px}.social-purchase-row .market-whatsapp{flex:1;width:auto;margin:0;background:#1877f2;border-radius:11px;min-height:46px;font-size:15px;font-weight:700}.social-purchase-row .market-whatsapp:hover{background:#1261ca}.social-purchase-row .chat-store{margin:0;display:grid;place-items:center;width:48px;height:46px;border:1px solid #d5e1f2;border-radius:11px;color:#1877f2;background:white}.play-video{margin:0 16px;width:calc(100% - 32px);min-height:44px}.shop-brand-header{border:1px solid var(--social-line);border-radius:16px;overflow:hidden;background:#fff;margin-bottom:18px}.shop-cover-placeholder{height:190px;background:linear-gradient(120deg,#e6f0ff,#f0eaff)}.shop-cover{height:190px;width:100%;object-fit:cover}.shop-brand-info{display:flex;gap:14px;padding:0 18px 14px;align-items:center}.shop-brand-info .shop-logo{position:relative;margin-top:-24px;width:76px;height:76px;border:4px solid white;border-radius:50%;background:#e8f0ff;display:grid;place-items:center;flex-shrink:0;overflow:hidden;font-size:27px}.shop-logo img{width:100%;height:100%;object-fit:cover}.shop-brand-info h2{margin:10px 0 5px}.shop-brand-info p{font-size:13px;color:#687d98}.social-shop-actions{padding:0 16px}.social-shop-actions>p{font-size:13px;color:#718198}.social-shop-actions>div{display:flex;gap:10px}.social-shop-actions>div>button{flex:1;min-height:44px;border-radius:9px;background:#eef4fd;color:#1767d3}.social-shop-actions>div>.primary{background:#1877f2;color:#fff}.social-shop-actions nav{display:flex;margin-top:15px}.social-shop-actions nav button{flex:1;min-height:46px;border-bottom:3px solid transparent}.social-shop-actions nav button[aria-pressed=true]{border-color:#1877f2;color:#1877f2}.settings-shortcuts{display:grid;gap:8px;margin-top:12px}.settings-shortcuts button{background:#f1f5fc;padding:12px;border-radius:8px;text-align:start}
.discover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discover-grid .card[data-post]{margin:0;min-width:0;overflow:hidden}.discover-grid .post-head{padding:10px;flex-wrap:wrap}.discover-grid .post-head .post-avatar,.discover-grid .store-follow,.discover-grid .social-actions,.discover-grid .commerce-product-info,.discover-grid .post-copy>p{display:none}.discover-grid .post-media{min-height:100px}.discover-grid .product-image{height:230px;object-fit:contain}.discover-grid .post-copy{padding:10px}.discover-grid .post-copy h3{font-size:14px}.discover-grid .market-price{font-size:18px}.discover-grid .social-purchase-row{padding:8px;gap:5px}.discover-grid .market-whatsapp{font-size:12px}.discover-grid .chat-store{width:36px}.discover-grid .post-head small{font-size:10px}
body[data-social-surface=home] .commerce-search{display:none}
@media(max-width:980px){main{display:block}.social-feed-tabs{margin-bottom:12px}.profile{margin-bottom:14px}}
@media(max-width:650px){.topbar{padding:9px 14px;min-height:98px;gap:7px}.brand{font-size:27px}.market-account{margin-inline-start:auto}#settings-button{font-size:0;width:40px;height:40px;padding:0;border-radius:50%;background:#f0f4fa}#settings-button:before{content:'⚙';font-size:23px}.search{flex-basis:100%;padding:3px 12px}.search input{font-size:14px}.layout{padding:10px 0}.layout main{gap:0}.social-feed-tabs{margin:0 12px 10px;align-self:stretch;border-radius:12px}.social-feed-tabs button{padding:10px}.profile{width:calc(100% - 24px);margin:0 12px 14px;padding:12px}.composer-lead h1{font-size:14px}.composer-lead p{font-size:11px}.composer-actions{padding-top:10px}.feed-heading{padding:0 14px;margin:5px 0 12px}.feed-heading h2{font-size:14px;color:#6b7e97}.card[data-post]{border-radius:0;border-inline:0;margin-bottom:12px;box-shadow:none}.post-head{padding:12px 14px}.post-media{margin:0;border-radius:0}.product-image{max-height:530px}.post-copy{padding:13px 14px 4px}.post-copy h3{font-size:17px}.social-actions{margin:4px 14px 0}.social-actions button{font-size:13px}.social-purchase-row{padding:10px 14px 14px}.mobile-navigation{padding:8px 4px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #19345108}.mobile-navigation button{min-height:45px;gap:4px}.mobile-navigation button svg{width:24px;height:24px}.mobile-navigation button small{font-size:10px}.mobile-navigation button.active{background:transparent;color:#1877f2}.categories-toggle{margin:0 12px 10px;width:calc(100% - 24px);background:#fff;border:1px solid var(--social-line)}body[data-social-surface=home] .categories-toggle{display:none}body[data-social-surface=discover] .sidebar{display:flex;max-height:none;margin:0 12px 12px;width:calc(100% - 24px);padding:12px;background:#fff;border-radius:12px}body[data-social-surface=discover] .sidebar .market-nav{display:none}body[data-social-surface=discover] .sidebar .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body[data-social-surface=discover] .filters button{font-size:12px;gap:6px;padding:8px;min-height:44px}.commerce-search{margin:0 12px 12px}.discover-grid{padding:0 10px;gap:10px}.discover-grid .card[data-post]{border:1px solid var(--social-line);border-radius:12px}.discover-grid .product-image{height:185px}.discover-grid .post-head .shop-link{font-size:12px}.discover-grid .social-purchase-row{padding:8px}.shop-brand-header{border-radius:0;border-inline:0}.shop-cover-placeholder,.shop-cover{height:155px}.market-panel{margin:0 12px 12px;width:calc(100% - 24px)}.market-footer{padding:16px}.install-banner{width:calc(100% - 24px);margin:12px}.market-dialog{max-height:90dvh;overflow:auto}.social-feed-tabs[hidden],.profile[hidden]{display:none}}
/* Keep the main buying path visible; secondary information opens on demand. */
.product-more{margin:8px 16px;border-top:1px solid #e2e8f0}
.product-more>summary{cursor:pointer;padding:12px 0;color:#52647a;font-size:13px;min-height:44px}
.product-more .commerce-product-info{padding-bottom:8px}
