/* "View Contact" box on the vendor page (partials/vendor-contact-gate.blade.php) */
.cg h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #2d3142; }
.cg p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #5b6070; }
.cg [hidden] { display: none !important; }

.cg label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #2d3142; }
.cg label span { font-weight: 400; color: #8a8f9c; }
.cg input[type=text], .cg input[type=tel], .cg input[type=email], .cg textarea {
    width: 100%; margin: 0 0 12px; padding: 11px 12px; font-size: 15px; color: #2d3142;
    background: #fff; border: 1px solid #d9dce4; border-radius: 10px; box-sizing: border-box;
}
.cg input:focus, .cg textarea:focus { outline: 2px solid rgba(244, 84, 76, .35); border-color: #f4544c; }
.cg #cgCode { font-size: 22px; letter-spacing: 6px; text-align: center; font-weight: 700; }

.cg .cg-consent { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 14px; font-weight: 400; }
.cg .cg-consent input { margin-top: 3px; flex: 0 0 auto; }
.cg .cg-consent span { font-size: 12.5px; line-height: 1.5; color: #5b6070; }
.cg .cg-consent a { color: #f4544c; }

.cg-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 13px 18px; font-size: 16px; font-weight: 700; color: #fff; background: #f4544c;
    border: 0; border-radius: 999px; cursor: pointer; transition: background .15s;
}
.cg-btn:hover { background: #e2433b; }
.cg-btn:disabled { opacity: .6; cursor: default; }

.cg-link {
    display: block; width: 100%; margin-top: 10px; padding: 4px; font-size: 13.5px; font-weight: 600;
    color: #f4544c; background: none; border: 0; text-align: center; cursor: pointer; text-decoration: none;
}
.cg-link:hover { text-decoration: underline; color: #e2433b; }

.cg .cg-note { margin: 12px 0 0; font-size: 12.5px; color: #8a8f9c; }
.cg .cg-sub { margin: 4px 0 10px; font-weight: 600; color: #2d3142; }
.cg .cg-error { margin: 0 0 12px; padding: 9px 12px; font-size: 13px; color: #a12622; background: #fdecea; border-radius: 8px; }

.cg-contact { display: grid; gap: 8px; margin: 10px 0 4px; }
.cg-line {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600;
    color: #2d3142; background: #f8f9fb; border: 1px solid #eef0f4; border-radius: 12px; text-decoration: none;
    word-break: break-word;
}
.cg-line:hover { border-color: #f4544c; color: #2d3142; text-decoration: none; }
.cg-line i { width: 20px; text-align: center; color: #f4544c; font-size: 16px; }
.cg-line.cg-phone { font-size: 18px; }
.cg-line.cg-wa i { color: #1fa855; }

.cg-suggest { display: grid; gap: 8px; margin-bottom: 6px; }
.cg-vendor {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #f8f9fb;
    border: 1px solid #eef0f4; border-radius: 12px; text-decoration: none;
}
.cg-vendor:hover { border-color: #f4544c; text-decoration: none; }
.cg-vendor-badge {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; display: flex;
    align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: #fff; background: #f4544c;
}
.cg-vendor-badge img { width: 100%; height: 100%; object-fit: cover; }
.cg-vendor-text { display: flex; flex-direction: column; min-width: 0; }
.cg-vendor-text strong { font-size: 14.5px; color: #2d3142; }
.cg-vendor-text small { font-size: 12.5px; color: #6b7080; }
