/* GreenLand — e-commerce B2B no layout made-in-china.com */
:root {
  --green: #15613b;
  --green-dark: #0e4a2c;
  --green-light: #e8f3ed;
  --accent: #1e7a4b;
  --ink: #333;
  --muted: #777;
  --line: #e5e5e5;
  --bg: #f5f5f5;
  --price: #cc4400;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-size: 14px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- topbar ---------- */
.topbar { background: #f7f7f7; border-bottom: 1px solid var(--line); font-size: 12px; color: #666; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.tb-right { display: flex; gap: 18px; }
.tb-right a:hover { color: var(--green); }

/* ---------- header ---------- */
.site-header { background: #fff; }
.header-row { display: flex; align-items: center; gap: 28px; padding: 16px 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.searchbox { flex: 1; position: relative; max-width: 620px; }
.searchbox .sb-row { display: flex; border: 2px solid var(--green); border-radius: 4px; overflow: hidden; }
.searchbox input { flex: 1; border: 0; outline: 0; padding: 10px 14px; font-size: 14px; }
.searchbox button { background: var(--green); color: #fff; border: 0; padding: 0 26px; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.searchbox button:hover { background: var(--green-dark); }
.sugg { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-top: 0; z-index: 60; display: none; max-height: 380px; overflow-y: auto; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.sugg a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.sugg a:hover { background: var(--green-light); }
.sugg a .s-cat { color: var(--muted); font-size: 12px; white-space: nowrap; }
.header-cta { flex-shrink: 0; text-align: right; }
.badge-verified { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: bold; font-size: 13px; border: 1px solid var(--green); border-radius: 4px; padding: 7px 12px; background: var(--green-light); }

/* ---------- nav ---------- */
.mainnav { background: var(--green); color: #fff; }
.nav-row { display: flex; align-items: stretch; height: 42px; }
.cat-btn { position: relative; background: var(--green-dark); padding: 0 20px; display: flex; align-items: center; gap: 10px; font-weight: bold; cursor: pointer; min-width: 220px; }
.cat-btn:hover .cat-drop { display: block; }
.cat-drop { display: none; position: absolute; top: 100%; left: 0; width: 260px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 0; z-index: 50; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.cat-drop a { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid #f1f1f1; font-weight: normal; font-size: 13px; }
.cat-drop a:hover { background: var(--green-light); color: var(--green); }
.cat-drop a .cnt { color: #aaa; font-size: 12px; }
.nav-links { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 0 15px; line-height: 42px; font-size: 13.5px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { background: rgba(255,255,255,.14); }

/* ---------- home top ---------- */
.home-top { display: grid; grid-template-columns: 220px 1fr 250px; gap: 14px; margin-top: 14px; }
.cat-side { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.cat-side h3 { background: var(--green-light); color: var(--green); font-size: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cat-side ul { list-style: none; }
.cat-side li a { display: flex; align-items: center; gap: 9px; padding: 9.5px 14px; font-size: 13px; border-bottom: 1px solid #f4f4f4; }
.cat-side li a:hover { background: var(--green-light); color: var(--green); }
.cat-side li a .cnt { margin-left: auto; color: #aaa; font-size: 12px; }
.hero { border-radius: 4px; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, #2a8a58 100%); color: #fff; padding: 34px 34px 28px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 27px; line-height: 1.25; margin-bottom: 10px; }
.hero p { font-size: 14.5px; opacity: .92; max-width: 520px; margin-bottom: 20px; }
.hero-stats { display: flex; gap: 34px; margin-bottom: 22px; }
.hero-stats b { display: block; font-size: 23px; }
.hero-stats span { font-size: 12.5px; opacity: .85; }
.hero .btn { align-self: flex-start; }
.btn { display: inline-block; background: #fff; color: var(--green); font-weight: bold; padding: 10px 22px; border-radius: 4px; font-size: 14px; }
.btn:hover { background: #eaf5ef; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-line { border: 1px solid var(--green); color: var(--green); background: #fff; }
.btn-line:hover { background: var(--green-light); }
.company-card { border: 1px solid var(--line); border-radius: 4px; padding: 18px 16px; text-align: center; }
.company-card .cc-logo { margin: 4px auto 10px; }
.company-card h3 { font-size: 14.5px; margin-bottom: 4px; }
.company-card .loc { color: var(--muted); font-size: 12.5px; margin-bottom: 12px; }
.company-card .cc-badges { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.company-card .cc-badges span { background: var(--green-light); color: var(--green); font-size: 12px; padding: 5px 8px; border-radius: 3px; }
.company-card .btn { display: block; }

/* ---------- section / product grid ---------- */
.sec { margin-top: 30px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--green); padding-bottom: 8px; margin-bottom: 14px; }
.sec-head h2 { font-size: 19px; color: #222; }
.sec-head a { color: var(--green); font-size: 13px; }
.sec-head a:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.13); transform: translateY(-2px); }
.card-img { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; background: #fff; padding: 8px; }
.card-img img { max-height: 100%; object-fit: contain; }
.card-body { padding: 10px 12px 12px; border-top: 1px solid #f2f2f2; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-t { font-size: 13px; line-height: 1.35; height: 35px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card:hover .card-t { color: var(--green); }
.card-price { color: var(--price); font-weight: bold; font-size: 15px; margin-top: auto; }
.card-price span { color: var(--muted); font-weight: normal; font-size: 12px; }
.card-moq { color: var(--muted); font-size: 12px; }

/* ---------- listing (category / search) ---------- */
.pagewrap { background: var(--bg); padding: 14px 0 30px; }
.crumb { font-size: 12.5px; color: #888; margin: 12px 0; }
.crumb a:hover { color: var(--green); text-decoration: underline; }
.listing { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: start; }
.side-block { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.side-block h3 { background: #fafafa; font-size: 13.5px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.side-block ul { list-style: none; }
.side-block li a { display: flex; padding: 8.5px 14px; font-size: 13px; border-bottom: 1px solid #f4f4f4; }
.side-block li a:hover { color: var(--green); background: var(--green-light); }
.side-block li a.on { color: var(--green); font-weight: bold; background: var(--green-light); }
.side-block li a .cnt { margin-left: auto; color: #aaa; font-size: 12px; }
.results { min-width: 0; }
.res-head { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 12px; }
.res-head b { color: var(--green); }
.lcard { display: grid; grid-template-columns: 190px 1fr 210px; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px; margin-bottom: 12px; transition: box-shadow .15s; }
.lcard:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.lcard-img { width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; border: 1px solid #f0f0f0; border-radius: 4px; padding: 6px; background: #fff; }
.lcard-img img { max-height: 100%; object-fit: contain; }
.lcard-mid { min-width: 0; }
.lcard-t { font-size: 16px; font-weight: bold; line-height: 1.35; margin-bottom: 8px; }
.lcard-t a:hover { color: var(--green); text-decoration: underline; }
.lprops { font-size: 12.5px; color: #555; display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; margin-bottom: 8px; }
.lprops dt { color: #999; white-space: nowrap; }
.lprops dd { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsnippet { font-size: 12.5px; color: #888; line-height: 1.5; max-height: 56px; overflow: hidden; }
.lcard-right { border-left: 1px dashed var(--line); padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.lprice { color: var(--price); font-weight: bold; font-size: 19px; }
.lprice span { color: var(--muted); font-weight: normal; font-size: 12px; }
.lmoq, .lqty { font-size: 12.5px; color: #666; }
.lcard-right .btn-green, .lcard-right .btn-line { text-align: center; padding: 8px 10px; font-size: 13px; margin-top: 4px; }
.lcard-right .spacer { flex: 1; }

/* ---------- product page ---------- */
.pd-top { display: grid; grid-template-columns: 400px 1fr 240px; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.pd-gallery { border: 1px solid #eee; border-radius: 4px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; padding: 10px; }
.pd-gallery img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.pd-th { width: 58px; height: 58px; object-fit: contain; border: 2px solid #e5e5e5; border-radius: 4px; cursor: pointer; padding: 2px; background: #fff; }
.pd-th:hover { border-color: var(--accent); }
.pd-th.on { border-color: var(--green); }
.pd-info { min-width: 0; }
.pd-info h1 { font-size: 20px; line-height: 1.35; margin-bottom: 4px; }
.pd-sub { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.pd-pricebox { background: #fafaf8; border: 1px solid #eee; border-radius: 4px; padding: 12px 16px; display: flex; gap: 40px; margin-bottom: 14px; }
.pd-pricebox .lab { font-size: 12px; color: #999; margin-bottom: 2px; }
.pd-pricebox .val { color: var(--price); font-size: 21px; font-weight: bold; }
.pd-pricebox .val small { font-size: 12px; color: var(--muted); font-weight: normal; }
.pd-pricebox .val2 { font-size: 15px; font-weight: bold; color: #333; padding-top: 4px; }
.pd-props { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-props td { border: 1px solid #eee; padding: 7.5px 12px; }
.pd-props td:first-child { background: #fafafa; color: #777; width: 160px; white-space: nowrap; }
.pd-side { border-left: 1px solid var(--line); padding-left: 20px; }
.pd-side .cc-logo { margin-bottom: 8px; }
.pd-side h3 { font-size: 14px; margin-bottom: 4px; }
.pd-side .loc { color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.pd-side .cc-badges { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pd-side .cc-badges span { background: var(--green-light); color: var(--green); font-size: 12px; padding: 5px 8px; border-radius: 3px; }
.pd-side .btn-green { display: block; text-align: center; margin-bottom: 8px; }
.pd-side .btn-line { display: block; text-align: center; }
.pd-body { display: grid; grid-template-columns: 1fr 240px; gap: 14px; margin-top: 14px; align-items: start; }
.pd-desc { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.pd-desc-head { border-bottom: 1px solid var(--line); display: flex; }
.pd-desc-head span { padding: 12px 22px; font-size: 14px; font-weight: bold; color: var(--green); border-bottom: 2px solid var(--green); }
.pd-desc-content { padding: 20px 24px; font-size: 13.5px; line-height: 1.65; color: #444; }
.pd-desc-content h4 { color: var(--green); font-size: 14.5px; margin: 18px 0 6px; }
.pd-desc-content h4:first-child { margin-top: 0; }
.pd-desc-content p { margin-bottom: 6px; }
.proc-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.proc-badges span { background: #f0f0f0; border-radius: 3px; padding: 4px 9px; font-size: 12px; color: #666; }
.rel-side { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.rel-side h3 { background: #fafafa; font-size: 13.5px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.rel-item { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f4f4f4; align-items: center; }
.rel-item:hover { background: var(--green-light); }
.rel-item img { width: 58px; height: 58px; object-fit: contain; border: 1px solid #f0f0f0; border-radius: 3px; background: #fff; flex-shrink: 0; }
.rel-item .t { font-size: 12.5px; line-height: 1.3; max-height: 33px; overflow: hidden; }
.rel-item .p { color: var(--price); font-size: 12.5px; font-weight: bold; margin-top: 3px; }

/* ---------- topbar user/basket ---------- */
.tb-right a.tb-join { color: var(--green); font-weight: bold; }
.tb-user b { color: var(--green); }
.tb-basket { position: relative; }
.tb-basket .bkt { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px; background: var(--price); color: #fff; border-radius: 8px; font-size: 10.5px; font-weight: bold; }

/* ---------- sort bar ---------- */
.sortbar { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 9px 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; flex-wrap: wrap; }
.sortbar button { border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; color: #555; }
.sortbar button:hover { border-color: var(--green); color: var(--green); }
.sortbar button.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- list card actions ---------- */
.lcard-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-s { padding: 7px 14px !important; font-size: 12.5px !important; }
.lcard-actions button { cursor: pointer; font-family: inherit; }
.lcny { color: #999; font-size: 12px; }
.supplier-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #eee; font-size: 12px; color: #777; }
.supplier-row .vs { color: var(--green); font-weight: bold; }

/* ---------- auth ---------- */
.auth-wrap { max-width: 460px; margin: 30px auto 50px; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); }
.auth-tab { flex: 1; text-align: center; padding: 14px; font-size: 15px; font-weight: bold; color: #888; cursor: pointer; background: #fafafa; }
.auth-tab.on { color: var(--green); background: #fff; border-bottom: 2px solid var(--green); }
.auth-pane { padding: 26px 30px 30px; }
.auth-pane label { display: block; font-size: 12.5px; color: #666; margin: 14px 0 4px; }
.auth-pane input { width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 10px 12px; font-size: 14px; }
.auth-pane input:focus { outline: none; border-color: var(--green); }
.auth-pane .btn { width: 100%; text-align: center; margin-top: 20px; border: 0; cursor: pointer; font-size: 15px; padding: 12px; }
.auth-err { display: none; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; border-radius: 4px; padding: 9px 12px; font-size: 12.5px; margin-top: 14px; }
.auth-note { font-size: 11.5px; color: #999; margin-top: 14px; line-height: 1.5; }

/* ---------- inquiry basket page ---------- */
.bk-row { display: grid; grid-template-columns: 84px 1fr 130px 110px 34px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin-bottom: 10px; }
.bk-img { width: 84px; height: 84px; border: 1px solid #f0f0f0; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.bk-img img { max-height: 100%; object-fit: contain; }
.bk-t { font-size: 14px; font-weight: bold; line-height: 1.35; }
.bk-t:hover { color: var(--green); }
.bk-code { color: #999; font-size: 12px; margin-top: 4px; }
.bk-qty { display: flex; align-items: center; gap: 8px; justify-content: center; }
.bk-qty button { width: 26px; height: 26px; border: 1px solid #ccc; background: #fff; border-radius: 3px; cursor: pointer; font-size: 15px; line-height: 1; }
.bk-qty button:hover { border-color: var(--green); color: var(--green); }
.bk-qty span { min-width: 40px; text-align: center; font-weight: bold; }
.bk-sub { color: var(--price); font-weight: bold; text-align: right; }
.bk-rm { border: 0; background: none; color: #bbb; cursor: pointer; font-size: 15px; }
.bk-rm:hover { color: #b3261e; }
.bk-total { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; display: flex; justify-content: flex-end; align-items: baseline; gap: 12px; font-size: 14px; margin-bottom: 16px; }
.bk-total b { color: var(--price); font-size: 21px; }

/* ---------- inquiry / contact form ---------- */
.iq-form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; max-width: 720px; }
.iq-form h3 { font-size: 16px; margin-bottom: 6px; color: #222; }
.iq-form .iq-to { font-size: 12.5px; color: #777; margin-bottom: 14px; }
.iq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.iq-form label { display: block; font-size: 12.5px; color: #666; margin: 12px 0 4px; }
.iq-form input, .iq-form textarea { width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 9px 12px; font-size: 13.5px; font-family: inherit; }
.iq-form input:focus, .iq-form textarea:focus { outline: none; border-color: var(--green); }
.iq-form .btn { border: 0; cursor: pointer; margin-top: 18px; font-size: 14.5px; padding: 11px 26px; }
.iq-ok { display: none; background: var(--green-light); border: 1px solid var(--green); color: var(--green); border-radius: 6px; padding: 18px 22px; font-size: 14.5px; max-width: 720px; }
.contact-product { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; max-width: 720px; margin-bottom: 14px; }
.contact-product img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #f0f0f0; border-radius: 4px; }

/* ---------- about ---------- */
.about-hero { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: 6px; padding: 28px 30px; margin-bottom: 16px; }
.about-hero h1 { font-size: 25px; margin-bottom: 6px; }
.about-tag { font-size: 13.5px; opacity: .9; }
.about-block { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px; margin-bottom: 14px; }
.about-block h2 { color: var(--green); font-size: 17px; margin-bottom: 8px; }
.about-block p { font-size: 14px; line-height: 1.7; color: #444; }
.about-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-vh { color: var(--green); font-size: 17px; margin: 6px 0 12px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.val-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 6px; padding: 16px 14px; }
.val-card h4 { font-size: 14.5px; margin-bottom: 6px; color: #222; }
.val-card p { font-size: 12.5px; color: #666; line-height: 1.55; }
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } .about-mv { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } .about-hero { flex-direction: column; text-align: center; padding: 20px; } }

/* ---------- agente de cotacao (widget) ---------- */
.ag-fab { position: fixed; right: 18px; bottom: 18px; z-index: 200; background: var(--green); color: #fff; border: 0; border-radius: 26px; padding: 13px 20px 13px 16px; font-size: 14px; font-weight: bold; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; font-family: inherit; }
.ag-fab:hover { background: var(--green-dark); }
.ag-panel { position: fixed; right: 18px; bottom: 18px; z-index: 210; width: 360px; max-width: calc(100vw - 24px); height: 520px; max-height: calc(100vh - 40px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.3); display: none; flex-direction: column; overflow: hidden; }
.ag-panel.open { display: flex; }
.ag-head { background: var(--green); color: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; font-weight: bold; font-size: 14.5px; }
.ag-head button { background: none; border: 0; color: #fff; font-size: 17px; cursor: pointer; }
.ag-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f9f8; }
.ag-m { max-width: 85%; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.ag-m.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 3px; }
.ag-m.user { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.ag-prod { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; gap: 9px; align-items: center; align-self: stretch; }
.ag-prod img { width: 44px; height: 44px; object-fit: contain; border: 1px solid #f0f0f0; border-radius: 4px; flex-shrink: 0; }
.ag-prod .t { font-size: 12px; line-height: 1.3; max-height: 31px; overflow: hidden; }
.ag-prod .pr { font-size: 12px; color: var(--price); font-weight: bold; }
.ag-prod button { margin-left: auto; background: var(--green); color: #fff; border: 0; border-radius: 4px; padding: 6px 11px; font-size: 12px; cursor: pointer; flex-shrink: 0; }
.ag-prod button:disabled { background: #9dbfae; }
.ag-quote { background: var(--green-light); border-top: 1px solid var(--line); padding: 8px 14px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.ag-quote b { color: var(--green); }
.ag-quote button { margin-left: auto; background: var(--price); color: #fff; border: 0; border-radius: 4px; padding: 7px 12px; font-size: 12px; font-weight: bold; cursor: pointer; }
.ag-inrow { display: flex; border-top: 1px solid var(--line); }
.ag-inrow input { flex: 1; border: 0; outline: 0; padding: 12px 14px; font-size: 13.5px; }
.ag-inrow button { background: var(--green); color: #fff; border: 0; padding: 0 18px; font-size: 13.5px; font-weight: bold; cursor: pointer; }
.ag-contact input { width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 8px 10px; font-size: 13px; margin-top: 6px; }
.ag-contact button { margin-top: 8px; width: 100%; background: var(--green); color: #fff; border: 0; border-radius: 4px; padding: 9px; font-size: 13px; font-weight: bold; cursor: pointer; }
.ag-typing { font-size: 12px; color: #999; align-self: flex-start; }

/* ---------- lang switch ---------- */
.tb-lang a { color: #666; }
.tb-lang a.on { color: var(--green); font-weight: bold; }
.tb-lang span.sep { margin: 0 4px; color: #ccc; }

/* ---------- footer ---------- */
footer { margin-top: 36px; }
.foot-main { background: #f2f2f2; border-top: 1px solid var(--line); padding: 30px 0 24px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; }
.foot-cols h4 { font-size: 13.5px; margin-bottom: 12px; color: #333; }
.foot-cols ul { list-style: none; }
.foot-cols li { margin-bottom: 7px; font-size: 12.5px; color: #666; }
.foot-cols li a:hover { color: var(--green); text-decoration: underline; }
.foot-about { font-size: 12.5px; color: #666; line-height: 1.6; }
.foot-bottom { background: var(--green-dark); color: #cfe6d9; font-size: 12px; }
.foot-bottom .container { display: flex; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .home-top { grid-template-columns: 1fr; }
  .cat-side, .company-card { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .listing aside { display: none; }
  .lcard { grid-template-columns: 130px 1fr; }
  .lcard-img { width: 130px; height: 130px; }
  .lcard-right { border-left: 0; padding-left: 0; grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .pd-top { grid-template-columns: 1fr; }
  .pd-side { border-left: 0; padding-left: 0; }
  .pd-body { grid-template-columns: 1fr; }
  .header-row { flex-wrap: wrap; gap: 12px; }
  .searchbox { order: 3; max-width: 100%; flex-basis: 100%; }
  .header-cta { display: none; }
  .cat-btn { min-width: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .topbar .container { height: auto; flex-wrap: wrap; padding-top: 5px; padding-bottom: 5px; gap: 4px 14px; }
  .tb-right { flex-wrap: wrap; gap: 10px 14px; }
  .pd-pricebox { flex-wrap: wrap; gap: 14px 30px; }
  .iq-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .hero { padding: 24px 20px 22px; }
  .hero h1 { font-size: 21px; }
  .hero-stats { gap: 20px; }
  .cat-btn { display: none; }
  .tb-left { display: none; }
  .topbar .container { justify-content: flex-end; }
  .header-row { padding: 12px; gap: 10px; }
  .logo svg { width: 38px; height: 38px; }
  .logo span span:first-child { font-size: 17px !important; }
  .sec-head h2 { font-size: 16.5px; }
  .lcard { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .lcard-img { width: 96px; height: 96px; }
  .lcard-t { font-size: 14px; }
  .lprops { grid-template-columns: auto 1fr; font-size: 12px; }
  .lsnippet { display: none; }
  .lcard-actions { flex-wrap: wrap; }
  .supplier-row { flex-wrap: wrap; gap: 4px 8px; }
  .sortbar { padding: 8px 10px; gap: 6px; font-size: 12px; }
  .sortbar button { padding: 5px 9px; font-size: 12px; }
  .pd-top { padding: 14px; gap: 14px; }
  .pd-info h1 { font-size: 17px; }
  .pd-props td:first-child { width: 110px; white-space: normal; }
  .pd-desc-content { padding: 14px 16px; overflow-x: auto; }
  .bk-row { grid-template-columns: 64px 1fr; grid-template-areas: "img mid" "img qty" "sub sub"; row-gap: 8px; }
  .bk-img { grid-area: img; width: 64px; height: 64px; }
  .bk-mid { grid-area: mid; }
  .bk-qty { grid-area: qty; justify-content: flex-start; }
  .bk-sub { grid-area: sub; text-align: right; border-top: 1px dashed #eee; padding-top: 8px; }
  .bk-rm { position: absolute; }
  .bk-row { position: relative; }
  .bk-rm { top: 8px; right: 10px; }
  .iq-form { padding: 16px 16px 20px; }
  .auth-wrap { margin: 16px auto 30px; }
  .auth-pane { padding: 18px 18px 22px; }
  .foot-cols { grid-template-columns: 1fr; gap: 18px; }
  .foot-bottom .container { flex-direction: column; gap: 4px; }
}

/* ===================== v3 — cotacao + WeChat ===================== */
/* modo cotacao: sem somatorio, sem checkout */
.bk-mode { background: var(--green-light); color: var(--green); border: 1px solid var(--green);
  border-radius: 4px; padding: 10px 14px; font-weight: bold; font-size: 13px; margin-bottom: 12px; }
.bk-count { display: flex; justify-content: flex-end; align-items: baseline; gap: 8px;
  padding: 12px 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bk-count b { color: var(--ink); font-size: 16px; }
.bk-sub { min-width: 90px; text-align: right; color: var(--muted); font-size: 13px; }
.iq-hint { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 6px 0 14px; }

/* bloco WeChat inline (cesta e contato) */
.wx-box { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--green);
  background: var(--green-light); border-radius: 6px; padding: 16px 18px; margin: 16px 0; }
.wx-ic { font-size: 26px; line-height: 1; }
.wx-txt { display: flex; flex-direction: column; gap: 4px; }
.wx-txt b { color: var(--green); font-size: 15px; }
.wx-txt span { color: var(--ink); font-size: 13px; }
.wx-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.wx-id code { background: #fff; border: 1px solid var(--green); border-radius: 4px;
  padding: 6px 12px; font-family: "Courier New", monospace; font-weight: bold;
  color: var(--green); font-size: 14px; letter-spacing: .4px; }
.wx-id.big code { font-size: 17px; padding: 9px 16px; }

/* botao flutuante */
.wx-fab { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex;
  align-items: center; gap: 9px; background: var(--green); color: #fff; border: 0;
  border-radius: 999px; padding: 13px 20px; font-size: 14px; font-weight: bold;
  cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.22); font-family: inherit; }
.wx-fab:hover { background: var(--green-dark); }
.wx-fab-ic { font-size: 17px; }

/* modal */
.wx-modal { position: fixed; inset: 0; z-index: 950; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.wx-modal[hidden] { display: none; }
.wx-modal-in { position: relative; background: #fff; border-radius: 8px; padding: 34px 30px 28px;
  max-width: 420px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.wx-modal-in h3 { color: var(--green); font-size: 19px; margin-bottom: 8px; }
.wx-modal-in p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.wx-modal-in .btn { margin-top: 6px; }
.wx-ic-lg { font-size: 42px; margin-bottom: 10px; }
.wx-id.big { justify-content: center; margin-bottom: 16px; }
.wx-or { color: var(--muted); font-size: 12px; margin: 18px 0 10px; position: relative; }
.wx-or::before, .wx-or::after { content: ""; position: absolute; top: 50%; width: 28%;
  height: 1px; background: var(--line); }
.wx-or::before { left: 0; } .wx-or::after { right: 0; }
.wx-x { position: absolute; top: 10px; right: 14px; background: none; border: 0;
  font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.wx-x:hover { color: var(--ink); }

@media (max-width: 600px) {
  .wx-fab-t { display: none; }
  .wx-fab { padding: 15px; border-radius: 50%; }
  .wx-box { flex-direction: column; gap: 8px; }
}
