:root{--v3-bg:#f6f7f9;--v3-ink:#101114;--v3-muted:#6b7280;--v3-line:#e6e8ec;--v3-radius:18px}.v3hero{background:linear-gradient(135deg,#f4f7ff,#fff7ed);padding:54px 0 46px;border-bottom:1px solid var(--v3-line)}.v3hero-copy{max-width:820px}.v3hero h1{font-size:clamp(34px,6vw,68px);line-height:1.02;letter-spacing:-.045em;margin:10px 0 16px;color:var(--v3-ink)}.v3hero p{font-size:18px;color:var(--v3-muted);max-width:680px}.v3search{display:flex;gap:10px;background:white;padding:8px;border-radius:18px;box-shadow:0 14px 40px #1112;max-width:720px;margin-top:25px}.v3search input{border:0;outline:0;flex:1;font-size:17px;padding:14px}.v3search button{border:0;border-radius:13px;background:#111;color:#fff;font-weight:800;padding:0 24px}.v3trust{font-size:13px;color:var(--v3-muted);margin-top:15px}.v3trust span{margin:0 8px}.v3main{padding-top:28px;padding-bottom:50px}.v3main section{margin-bottom:40px}.v3sectionhead{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0 0 16px}.v3sectionhead h1,.v3sectionhead h2{margin:2px 0}.v3cats{display:grid;grid-template-columns:repeat(9,1fr);gap:10px}.v3cats a{background:#fff;border:1px solid var(--v3-line);border-radius:16px;padding:15px 8px;text-align:center;color:var(--v3-ink);text-decoration:none;min-width:0}.v3cats span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f3f4f6;margin:0 auto 8px;font-size:21px}.v3cats b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.v3rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);overflow-x:auto;gap:14px;padding-bottom:8px;scroll-snap-type:x proximity}.v3card{background:#fff;border:1px solid var(--v3-line);border-radius:var(--v3-radius);overflow:hidden;text-decoration:none;color:var(--v3-ink);min-width:0;box-shadow:0 4px 18px #11100008;scroll-snap-align:start}.v3card img,.v3ph{width:100%;aspect-ratio:1/1;object-fit:cover;background:#eef0f3;display:grid;place-items:center;font-size:28px;font-weight:900}.v3cardbody{padding:12px;display:grid;gap:6px}.v3cardbody strong{font-size:14px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v3price{font-size:17px}.v3card small{color:var(--v3-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3badge{font-size:10px;font-weight:900;width:max-content;background:#111;color:#fff;border-radius:99px;padding:4px 7px}.v3shophero{border-radius:24px;padding:30px;background:linear-gradient(135deg,#111827,#374151);color:#fff;margin-bottom:24px}.v3shophero h1{font-size:38px;margin:5px 0}.gallery{border-radius:20px;overflow:hidden}.sellerbox{border-radius:20px}.mobilebar{backdrop-filter:blur(14px)}@media(max-width:1000px){.v3cats{grid-template-columns:repeat(6,1fr)}.v3grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:720px){body{background:var(--v3-bg)}.v3hero{padding:30px 0 25px}.v3hero h1{font-size:38px}.v3hero p{font-size:15px}.v3search{border-radius:14px}.v3search input{min-width:0;font-size:15px;padding:11px}.v3search button{padding:0 14px}.v3trust{display:none}.v3main{padding-top:20px}.v3main section{margin-bottom:30px}.v3cats{display:flex;overflow-x:auto;gap:9px;margin-right:-16px;padding-right:16px}.v3cats a{min-width:88px}.v3grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v3rail{grid-auto-columns:44vw;gap:9px}.v3card{border-radius:13px}.v3cardbody{padding:9px}.v3price{font-size:15px}.v3sectionhead h2{font-size:21px}.v3shophero{border-radius:16px;padding:22px}.v3shophero h1{font-size:28px}.nav .search{display:none}}@media(max-width:360px){.v3hero h1{font-size:33px}.v3grid{gap:7px}.v3rail{grid-auto-columns:48vw}}
/* V3.1 Communication & Conversion */
.chat-shell{display:grid;grid-template-columns:minmax(260px,360px) 1fr;gap:18px;min-height:68vh}.chat-list,.chat-panel{min-width:0}.chat-thread{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:8px;text-decoration:none;color:inherit;background:#fff}.chat-thread.active{border-color:#111827;box-shadow:0 0 0 1px #111827}.chat-thread small,.chat-thread p,.chat-head small{display:block;color:#6b7280;margin:3px 0}.chat-unread{background:#111827;color:#fff;border-radius:999px;min-width:24px;height:24px;display:grid;place-items:center;font-size:12px}.chat-panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;display:flex;flex-direction:column;overflow:hidden}.chat-head{padding:14px 16px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-messages{padding:18px;display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:58vh;min-height:360px}.bubble{max-width:78%;padding:10px 13px;border-radius:16px;background:#f3f4f6}.bubble.mine{align-self:flex-end;background:#111827;color:#fff}.bubble p{margin:0}.bubble small{font-size:10px;opacity:.65}.chat-compose{display:flex;gap:10px;padding:12px;border-top:1px solid #eee}.chat-compose textarea{flex:1;min-height:48px;max-height:120px;resize:vertical}.chat-empty{margin:auto;text-align:center;padding:30px;color:#6b7280}@media(max-width:760px){.chat-shell{display:block;padding-bottom:84px}.chat-list{margin-bottom:12px}.chat-panel{min-height:60vh}.chat-messages{min-height:42vh}.chat-compose{position:sticky;bottom:68px;background:#fff}.bubble{max-width:88%}}

/* Seller & Shops Pro v3.2 */
.prostats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.prostats>div{background:#fff;border:1px solid #e8eaee;border-radius:16px;padding:16px}.prostats b{display:block;font-size:24px}.prostats span{font-size:12px;color:#6b7280}.proform{display:grid;grid-template-columns:1fr 1fr;gap:16px}.proform .full{grid-column:1/-1}.proshop{background:#fff;border:1px solid #e8eaee;border-radius:24px;overflow:hidden;margin-bottom:20px}.procover{width:100%;height:240px;object-fit:cover;display:block}.procover-empty{background:linear-gradient(120deg,#111827,#374151)}.proidentity{display:flex;gap:18px;align-items:flex-start;padding:0 24px 20px;margin-top:-42px;position:relative}.prologo{width:96px;height:96px;border-radius:22px;object-fit:cover;border:5px solid #fff;background:#fff;flex:0 0 auto}.prologo-empty{display:grid;place-items:center;font-size:28px;font-weight:900}.proidentity>div:last-child{padding-top:50px}.proidentity h1{margin:0 0 4px}.verified{font-size:13px;vertical-align:middle;background:#ecfdf5;color:#047857;padding:5px 8px;border-radius:999px}.protag{font-weight:700;margin:4px 0}.prometa{color:#6b7280;font-size:13px}.proactions{display:flex;gap:10px;flex-wrap:wrap;padding:0 24px 24px}.prostats.public{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px}
@media(max-width:700px){.prostats{grid-template-columns:repeat(2,minmax(0,1fr))}.proform{grid-template-columns:1fr}.proform .full{grid-column:auto}.procover{height:150px}.proidentity{padding:0 16px 16px;gap:12px;margin-top:-34px}.prologo{width:76px;height:76px;border-radius:18px}.proidentity>div:last-child{padding-top:38px}.proidentity h1{font-size:24px}.proactions{padding:0 16px 18px}.proactions .btn{flex:1}.prostats.public{grid-template-columns:repeat(3,1fr)}.prostats.public>div{padding:12px 8px;text-align:center}.prostats.public b{font-size:19px}}

/* V3.8.2 — publication flow */
.publish-page{max-width:920px}.publish-head{margin:0 0 18px}.publish-head h1{margin:.2rem 0}.publish-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.publish-form .full{grid-column:1/-1}.publish-form textarea{min-height:150px;resize:vertical}.publish-form input,.publish-form select,.publish-form textarea{width:100%;box-sizing:border-box}.publish-attrs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dynamic-fields h2{font-size:1.05rem;margin:6px 0 12px}.publish-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.publish-actions .btn.primary{min-width:190px}
@media(max-width:700px){.publish-page{padding-left:14px;padding-right:14px}.publish-form{grid-template-columns:1fr;gap:12px;padding:16px}.publish-form .full{grid-column:1}.publish-attrs{grid-template-columns:1fr}.publish-actions{position:sticky;bottom:74px;background:#fff;padding:10px 0 2px;z-index:5}.publish-actions .btn{flex:1;text-align:center}.publish-head p{margin-bottom:0}}
/* V3.8.5 — Contact & Media */
.listing-gallery{display:grid;grid-template-columns:2fr 1fr;grid-auto-rows:minmax(150px,260px);gap:10px;border-radius:20px;overflow:hidden;background:#eef0f3}.listing-photo{border:0;padding:0;margin:0;background:#eef0f3;cursor:zoom-in;overflow:hidden}.listing-photo.main{grid-row:span 2}.listing-photo img{width:100%;height:100%;object-fit:cover;display:block;image-rendering:auto}.listing-photo-empty{min-height:420px;display:grid;place-items:center;font-size:30px;font-weight:900}.image-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:10000;display:grid;place-items:center;padding:20px}.image-lightbox[hidden]{display:none}.image-lightbox img{max-width:96vw;max-height:92vh;object-fit:contain}.lightbox-close{position:fixed;right:18px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;font-size:28px;cursor:pointer}.btn.whatsapp{background:#128c7e;color:#fff;border-color:#128c7e;text-align:center}.contact-call{text-align:center}
@media(max-width:720px){.listing-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:14px;gap:8px;background:transparent}.listing-photo,.listing-photo.main{flex:0 0 92%;height:auto;aspect-ratio:4/3;scroll-snap-align:center;border-radius:14px}.listing-photo img{object-fit:contain;background:#f2f3f5}.listing-photo-empty{min-height:280px}.image-lightbox{padding:8px}}

/* oBeynet V3.8.7 — Gallery UI Fix */
.listing-gallery{grid-auto-rows:minmax(120px,210px);max-height:440px}
.listing-photo.main{max-height:440px}
.listing-photo img{object-fit:contain;background:#f4f5f7}
@media (min-width:721px) and (max-width:1100px){
  .listing-gallery{grid-auto-rows:minmax(110px,190px);max-height:390px}
  .listing-photo.main{max-height:390px}
}
@media(max-width:720px){
  .listing-gallery{max-height:none;align-items:center}
  .listing-photo,.listing-photo.main{flex-basis:88%;height:clamp(240px,72vw,330px);aspect-ratio:auto;max-height:330px}
  .listing-photo img{width:100%;height:100%;object-fit:contain;background:#f4f5f7}
}
@media(max-width:380px){
  .listing-photo,.listing-photo.main{height:260px;max-height:260px;flex-basis:90%}
}

/* V3.8.8 — guest account CTA */
.guest-auth{display:flex;align-items:center;gap:10px;white-space:nowrap}.guest-register{border-color:#d6dae1;background:#fff}.home-account-cta{display:flex;align-items:center;gap:16px;margin-top:18px}.home-login-link{font-weight:800;text-decoration:underline;text-underline-offset:3px}.auth-switch{margin-top:18px;padding-top:16px;border-top:1px solid #e6e8ec;color:#667085}.auth-switch a{font-weight:850;color:#2563eb}
@media(max-width:720px){.nav .wrap{gap:8px}.guest-auth{margin-left:auto;gap:7px}.guest-auth .guest-login{display:inline-flex}.guest-auth .btn{font-size:12px;padding:9px 10px}.guest-publish{display:none!important}.guest-register{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}.home-account-cta{align-items:stretch;flex-direction:column;gap:10px}.home-account-cta .btn{width:100%}.home-login-link{text-align:center}.form{margin:18px 14px;padding:20px}}
@media(max-width:360px){.guest-auth .btn{font-size:11px;padding:8px 9px}.logo{font-size:24px}}
