/* ===== CONTENEDOR ===== */
.gcse-search {
    width: 100%;
    max-width: 100%;
}

/* El wrapper que Google crea din¨¢micamente */
.gsc-control-wrapper-cse {
    width: 100% !important;
}

/* La tabla interna que fija el ancho */
.gsc-search-box table {
    width: 100% !important;
}

/* Celda del input */
.gsc-input {
    width: 100% !important;
}

/* Caja real del input */
.gsc-input-box {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
}

/* Input */
input.gsc-input {
    width: 100% !important;
    height: 40px !important;
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px 0 0 6px !important;
}

/* Bot¨®n */
.gsc-search-button {
    height: 40px !important;
    padding: 0 18px !important;
    background: #0056b3 !important;
    border-radius: 0 6px 6px 0 !important;
    border: none !important;
}
/* Sobrescribir el form interno de Google */
.gcse-search form.gsc-search-box,
.gsc-control-cse form.gsc-search-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}


/* Contenedor general de resultados */
.gsc-results,
.gsc-webResult {
    width: 100% !important;
}

/* Cada resultado */
.gsc-result {
    width: 100% !important;
    display: block !important;
    padding: 20px !important;
    margin: 0 0 20px 0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

/* Eliminar margen interno raro */
.gsc-result .gs-title,
.gsc-result .gs-snippet,
.gsc-result .gs-visibleUrl {
    width: 100% !important;
}

/* Quitar padding lateral del contenedor interno */
.gsc-result .gs-webResult {
    padding: 0 !important;
}

.gsc-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}