/* GLG Market basic styles */
:root{ --glg-green:#10b981; --glg-green-dark:#059669; --glg-gray:#6b7280; --glg-bg:#f8fafc; }
.glg-market-wrap{max-width:1200px;margin:0 auto;padding:20px;}
.glg-market-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.glg-market-filter input[type="text"], .glg-market-filter select{padding:10px;border:1px solid #e5e7eb;border-radius:10px;min-width:240px}
.glg-btn{background:var(--glg-green);color:#fff;border:none;padding:10px 14px;border-radius:12px;cursor:pointer;text-decoration:none;display:inline-block}
.glg-btn:hover{background:var(--glg-green-dark)}
.glg-btn.outline{background:#fff;color:var(--glg-green);border:1px solid var(--glg-green)}
.glg-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:16px}
@media(min-width:640px){.glg-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(min-width:1024px){.glg-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
.glg-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.glg-card .thumb img{width:100%;height:200px;object-fit:cover;display:block}
.glg-card .body{padding:14px}
.glg-card .title{font-size:18px;margin:0 0 6px}
.glg-card .meta{display:flex;gap:10px;align-items:center;color:var(--glg-gray);margin-bottom:10px}
.glg-card .price{font-weight:700;color:#111827;background:#ecfdf5;border-radius:999px;padding:4px 10px}
.glg-card .province{font-size:13px}
.glg-card .actions{display:flex;justify-content:space-between;align-items:center}
.glg-card .share a{margin-left:6px;text-decoration:none}
.glg-pagination{margin-top:16px}
.glg-pagination ul{display:flex;gap:6px;list-style:none;padding:0}
.glg-pagination a, .glg-pagination span{padding:8px 12px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;text-decoration:none}
/* single */
.glg-single .glg-container{max-width:1100px;margin:0 auto;padding:20px}
.glg-single-card{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:900px){.glg-single-card{grid-template-columns:1.2fr .8fr}}
.glg-single-card .media .hero{width:100%;height:420px;object-fit:cover;border-radius:16px;border:1px solid #e5e7eb}
.glg-single-card .thumbs{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.glg-single-card .thumbs img{width:80px;height:80px;object-fit:cover;border-radius:10px;border:1px solid #e5e7eb}
.glg-single-card h1{margin:0 0 8px}
.glg-single-card .meta{display:flex;gap:10px;align-items:center;color:var(--glg-gray);margin-bottom:10px}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
/* form */
.glg-form{max-width:780px;margin:0 auto;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.glg-form h2{margin-top:0}
.glg-form label{display:block;margin:12px 0 6px}
.glg-form input[type="text"], .glg-form input[type="number"], .glg-form textarea, .glg-form select{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:10px}
.glg-form .glg-btn{margin-top:14px}
.glg-alert{padding:14px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa}
.glg-order-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
